- {this.prefixText ? prefixText : null}
-
- {childEl}
- {this.isClearable ? inputClearButton : null}
- {this.requestedIcon ? iconEl : null}
- {this.loading ? loader : null}
+
+
+ {this.prefixText ? prefixText : null}
+
+ {childEl}
+ {this.isClearable ? inputClearButton : null}
+ {this.requestedIcon ? iconEl : null}
+ {this.loading ? loader : null}
+
+
+
+
+ {this.suffixText ? suffixText : null}
+
-
-
-
- {this.suffixText ? suffixText : null}
-
-
- {this.validationMessage ? (
-
- ) : null}
+ {this.validationMessage ? (
+
+ ) : null}
+
);
}
diff --git a/packages/calcite-components/src/components/input-time-picker/input-time-picker.tsx b/packages/calcite-components/src/components/input-time-picker/input-time-picker.tsx
index 58a5eefe603..00b52463c79 100644
--- a/packages/calcite-components/src/components/input-time-picker/input-time-picker.tsx
+++ b/packages/calcite-components/src/components/input-time-picker/input-time-picker.tsx
@@ -24,6 +24,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { numberKeys } from "../../utils/key";
@@ -976,63 +977,65 @@ export class InputTimePicker
const { disabled, messages, readOnly, dialogId } = this;
return (
-
-
-
-
-
- {this.validationMessage ? (
-
- ) : null}
+ ref={this.setCalcitePopoverEl}
+ >
+
+
+
+ {this.validationMessage ? (
+
+ ) : null}
+
);
}
diff --git a/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx b/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx
index f07bb140caf..f0208a3a06d 100644
--- a/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx
+++ b/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx
@@ -12,7 +12,11 @@ import {
Watch,
} from "@stencil/core";
import { connectLabel, disconnectLabel, LabelableComponent } from "../../utils/label";
-import { InteractiveComponent, updateHostInteraction } from "../../utils/interactive";
+import {
+ InteractiveComponent,
+ InteractiveContainer,
+ updateHostInteraction,
+} from "../../utils/interactive";
import {
connectLocalized,
disconnectLocalized,
@@ -375,43 +379,45 @@ export class InputTimeZone
render(): VNode {
return (
-
- {this.timeZoneItems.map((group) => {
- const selected = this.selectedTimeZoneItem === group;
- const { label, value } = group;
-
- return (
-
- );
- })}
-
-
+
+
+ {this.timeZoneItems.map((group) => {
+ const selected = this.selectedTimeZoneItem === group;
+ const { label, value } = group;
+
+ return (
+
+ );
+ })}
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/input/input.tsx b/packages/calcite-components/src/components/input/input.tsx
index 2d8ff74b838..53d2ee4a8b2 100644
--- a/packages/calcite-components/src/components/input/input.tsx
+++ b/packages/calcite-components/src/components/input/input.tsx
@@ -30,6 +30,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { numberKeys } from "../../utils/key";
@@ -1202,38 +1203,40 @@ export class Input
return (
-
- {this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
- ? numberButtonsHorizontalDown
- : null}
- {this.prefixText ? prefixText : null}
-
- {localeNumberInput}
- {childEl}
- {this.isClearable ? inputClearButton : null}
- {this.requestedIcon ? iconEl : null}
- {this.loading ? loader : null}
+
+
+ {this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
+ ? numberButtonsHorizontalDown
+ : null}
+ {this.prefixText ? prefixText : null}
+
+ {localeNumberInput}
+ {childEl}
+ {this.isClearable ? inputClearButton : null}
+ {this.requestedIcon ? iconEl : null}
+ {this.loading ? loader : null}
+
+
+
+
+ {this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
+ ? numberButtonsVertical
+ : null}
+ {this.suffixText ? suffixText : null}
+ {this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
+ ? numberButtonsHorizontalUp
+ : null}
+
-
-
-
- {this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
- ? numberButtonsVertical
- : null}
- {this.suffixText ? suffixText : null}
- {this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
- ? numberButtonsHorizontalUp
- : null}
-
-
- {this.validationMessage ? (
-
- ) : null}
+ {this.validationMessage ? (
+
+ ) : null}
+
);
}
diff --git a/packages/calcite-components/src/components/link/link.tsx b/packages/calcite-components/src/components/link/link.tsx
index c72cbb24321..5b568372a99 100644
--- a/packages/calcite-components/src/components/link/link.tsx
+++ b/packages/calcite-components/src/components/link/link.tsx
@@ -4,6 +4,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import {
@@ -114,26 +115,28 @@ export class Link implements InteractiveComponent, LoadableComponent {
return (
-
+
- {this.iconStart ? iconStartEl : null}
-
- {this.iconEnd ? iconEndEl : null}
-
+ download={Tag === "a" && (download === "" || download) ? download : null}
+ href={Tag === "a" && this.href}
+ onClick={this.childElClickHandler}
+ rel={Tag === "a" && this.rel}
+ role={role}
+ tabIndex={tabIndex}
+ target={Tag === "a" && this.target}
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
+ ref={this.storeTagRef}
+ >
+ {this.iconStart ? iconStartEl : null}
+
+ {this.iconEnd ? iconEndEl : null}
+
+
);
}
diff --git a/packages/calcite-components/src/components/list-item-group/list-item-group.tsx b/packages/calcite-components/src/components/list-item-group/list-item-group.tsx
index 328590d20ae..ed464630cfe 100644
--- a/packages/calcite-components/src/components/list-item-group/list-item-group.tsx
+++ b/packages/calcite-components/src/components/list-item-group/list-item-group.tsx
@@ -13,6 +13,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { MAX_COLUMNS } from "../list-item/resources";
@@ -93,18 +94,20 @@ export class ListItemGroup implements InteractiveComponent {
// --------------------------------------------------------------------------
render(): VNode {
- const { heading, visualLevel } = this;
+ const { disabled, heading, visualLevel } = this;
return (
-
-
- {heading}
-
-
-
+
+
+
+ {heading}
+
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/list-item/list-item.tsx b/packages/calcite-components/src/components/list-item/list-item.tsx
index 60a2455adb2..2f1fdbcd594 100644
--- a/packages/calcite-components/src/components/list-item/list-item.tsx
+++ b/packages/calcite-components/src/components/list-item/list-item.tsx
@@ -22,6 +22,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { SelectionMode } from "../interfaces";
@@ -630,36 +631,38 @@ export class ListItem
return (
- (this.containerEl = el)}
- >
- {this.renderDragHandle()}
- {this.renderSelected()}
- {this.renderOpen()}
- {this.renderActionsStart()}
- {this.renderContentContainer()}
- {this.renderActionsEnd()}
-
- {this.renderContentBottom()}
- {this.renderDefaultContainer()}
+
+ (this.containerEl = el)}
+ >
+ {this.renderDragHandle()}
+ {this.renderSelected()}
+ {this.renderOpen()}
+ {this.renderActionsStart()}
+ {this.renderContentContainer()}
+ {this.renderActionsEnd()}
+
+ {this.renderContentBottom()}
+ {this.renderDefaultContainer()}
+
);
}
diff --git a/packages/calcite-components/src/components/list/list.tsx b/packages/calcite-components/src/components/list/list.tsx
index 5b602769b6c..7c44db7d64c 100755
--- a/packages/calcite-components/src/components/list/list.tsx
+++ b/packages/calcite-components/src/components/list/list.tsx
@@ -18,6 +18,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { createObserver } from "../../utils/observers";
@@ -492,56 +493,58 @@ export class List
hasFilterActionsEnd,
} = this;
return (
-
- {this.dragEnabled ? (
-
- {this.assistiveText}
-
- ) : null}
- {this.renderItemAriaLive()}
- {loading ?
: null}
-
- {filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {this.dragEnabled ? (
+
+ {this.assistiveText}
+
) : null}
-
-
-
-
-
+ {this.renderItemAriaLive()}
+ {loading ?
: null}
+
+ {filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (
+
+
+
+
+
+
+
+
+
+
+
+ ) : null}
+
+
+
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/panel/panel.tsx b/packages/calcite-components/src/components/panel/panel.tsx
index 4dda36e6d97..acb98b1732f 100644
--- a/packages/calcite-components/src/components/panel/panel.tsx
+++ b/packages/calcite-components/src/components/panel/panel.tsx
@@ -3,7 +3,6 @@ import {
Element,
Event,
EventEmitter,
- Fragment,
h,
Method,
Prop,
@@ -21,6 +20,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import {
@@ -583,7 +583,7 @@ export class Panel
}
render(): VNode {
- const { loading, panelKeyDownHandler, closed, closable } = this;
+ const { disabled, loading, panelKeyDownHandler, closed, closable } = this;
const panelNode = (
+
{loading ? : null}
{panelNode}
-
+
);
}
}
diff --git a/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx b/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx
index ba1b309291a..3d6ab74bb32 100644
--- a/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx
+++ b/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx
@@ -3,7 +3,6 @@ import {
Element,
Event,
EventEmitter,
- Fragment,
h,
Method,
Prop,
@@ -21,6 +20,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import {
@@ -219,7 +219,7 @@ export class PickListItem
}
componentDidRender(): void {
- updateHostInteraction(this, this.el.closest("calcite-pick-list") ? "managed" : false);
+ updateHostInteraction(this);
}
// --------------------------------------------------------------------------
@@ -381,7 +381,7 @@ export class PickListItem
const { description, label } = this;
return (
-
+
{this.renderIcon()}
{this.renderActionsStart()}
{this.renderActionsEnd()}
-
+
);
}
}
diff --git a/packages/calcite-components/src/components/pick-list/shared-list-render.tsx b/packages/calcite-components/src/components/pick-list/shared-list-render.tsx
index 1154c42d7c9..96ca51124d3 100644
--- a/packages/calcite-components/src/components/pick-list/shared-list-render.tsx
+++ b/packages/calcite-components/src/components/pick-list/shared-list-render.tsx
@@ -4,6 +4,7 @@ import { toAriaBoolean } from "../../utils/dom";
import { CSS, SLOTS } from "./resources";
import { handleFilter, handleFilterEvent } from "./shared-list-logic";
import DOMAttributes = JSXBase.DOMAttributes;
+import { InteractiveContainer } from "../../utils/interactive";
interface ListProps extends DOMAttributes {
disabled: boolean;
@@ -41,33 +42,35 @@ export const List: FunctionalComponent<{ props: ListProps } & DOMAttributes
const defaultSlot = ;
return (
-
- {dragEnabled ? (
-
- ) : null}
-
- {filterEnabled ? (
-
+
+ {dragEnabled ? (
+
) : null}
-
-
- {loading ? : null}
- {defaultSlot}
-
+
+ {filterEnabled ? (
+
+ ) : null}
+
+
+ {loading ? : null}
+ {defaultSlot}
+
+
);
};
diff --git a/packages/calcite-components/src/components/radio-button/radio-button.tsx b/packages/calcite-components/src/components/radio-button/radio-button.tsx
index 9339bcab7a3..93d27b1b0b7 100644
--- a/packages/calcite-components/src/components/radio-button/radio-button.tsx
+++ b/packages/calcite-components/src/components/radio-button/radio-button.tsx
@@ -25,6 +25,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from "../../utils/label";
@@ -499,20 +500,22 @@ export class RadioButton
const tabIndex = this.getTabIndex();
return (
-
-
+
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/rating/rating.tsx b/packages/calcite-components/src/components/rating/rating.tsx
index 7320634554c..24d1152d504 100644
--- a/packages/calcite-components/src/components/rating/rating.tsx
+++ b/packages/calcite-components/src/components/rating/rating.tsx
@@ -16,6 +16,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { connectLabel, disconnectLabel, LabelableComponent } from "../../utils/label";
@@ -227,65 +228,77 @@ export class Rating
onPointerOut={this.handleRatingPointerOut}
onPointerOver={this.handleRatingPointerOver}
>
-
-
- {this.messages.rating}
- {this.starsMap.map(
- ({ average, checked, fraction, hovered, id, partial, selected, value, tabIndex }) => {
- return (
-
-
-
- {partial && (
-
-
-
- )}
-
- {this.messages.stars.replace("{num}", `${value}`)}
-
-
- );
- }
- )}
-
- {(this.count || this.average) && this.showChip ? (
-
- {!!this.average && {this.average.toString()} }
- {!!this.count && ({this.count?.toString()}) }
-
- ) : null}
-
-
-
+
+
+
+ {this.messages.rating}
+ {this.starsMap.map(
+ ({
+ average,
+ checked,
+ fraction,
+ hovered,
+ id,
+ partial,
+ selected,
+ value,
+ tabIndex,
+ }) => {
+ return (
+
+
+
+ {partial && (
+
+
+
+ )}
+
+ {this.messages.stars.replace("{num}", `${value}`)}
+
+
+ );
+ }
+ )}
+
+ {(this.count || this.average) && this.showChip ? (
+
+ {!!this.average && {this.average.toString()} }
+ {!!this.count && ({this.count?.toString()}) }
+
+ ) : null}
+
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/segmented-control/segmented-control.tsx b/packages/calcite-components/src/components/segmented-control/segmented-control.tsx
index 5ae0e820b8b..393641bf613 100644
--- a/packages/calcite-components/src/components/segmented-control/segmented-control.tsx
+++ b/packages/calcite-components/src/components/segmented-control/segmented-control.tsx
@@ -25,6 +25,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { connectLabel, disconnectLabel, LabelableComponent } from "../../utils/label";
@@ -173,8 +174,10 @@ export class SegmentedControl
render(): VNode {
return (
-
-
+
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/select/select.tsx b/packages/calcite-components/src/components/select/select.tsx
index 7b2ab752b6d..4c85e3181d7 100644
--- a/packages/calcite-components/src/components/select/select.tsx
+++ b/packages/calcite-components/src/components/select/select.tsx
@@ -23,6 +23,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from "../../utils/label";
@@ -385,30 +386,34 @@ export class Select
}
render(): VNode {
+ const { disabled } = this;
+
return (
-
-
-
-
- {this.renderChevron()}
-
-
- {this.validationMessage ? (
-
- ) : null}
+
+
+
+
+
+ {this.renderChevron()}
+
+
+ {this.validationMessage ? (
+
+ ) : null}
+
);
}
diff --git a/packages/calcite-components/src/components/slider/slider.tsx b/packages/calcite-components/src/components/slider/slider.tsx
index ae5bd1275e1..83b95ea5aa3 100644
--- a/packages/calcite-components/src/components/slider/slider.tsx
+++ b/packages/calcite-components/src/components/slider/slider.tsx
@@ -26,6 +26,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { isActivationKey } from "../../utils/key";
@@ -656,81 +657,83 @@ export class Slider
return (
-
- {this.renderGraph()}
+
+ {this.renderGraph()}
this.pointerDownDragStart(event, "minMaxValue")}
- style={{
- left: `${mirror ? 100 - maxInterval : minInterval}%`,
- right: `${mirror ? minInterval : 100 - maxInterval}%`,
- }}
- />
-
- {this.tickValues.map((tick) => {
- const tickOffset = `${this.getUnitInterval(tick) * 100}%`;
- let activeTicks = tick >= min && tick <= value;
- if (useMinValue) {
- activeTicks = tick >= this.minValue && tick <= this.maxValue;
- }
-
- return (
-
- {this.renderTickLabel(tick)}
-
- );
- })}
+ class="track"
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
+ ref={this.storeTrackRef}
+ >
+
this.pointerDownDragStart(event, "minMaxValue")}
+ style={{
+ left: `${mirror ? 100 - maxInterval : minInterval}%`,
+ right: `${mirror ? minInterval : 100 - maxInterval}%`,
+ }}
+ />
+
+ {this.tickValues.map((tick) => {
+ const tickOffset = `${this.getUnitInterval(tick) * 100}%`;
+ let activeTicks = tick >= min && tick <= value;
+ if (useMinValue) {
+ activeTicks = tick >= this.minValue && tick <= this.maxValue;
+ }
+
+ return (
+
+ {this.renderTickLabel(tick)}
+
+ );
+ })}
+
+
+
+ {!this.precise && !this.labelHandles && valueIsRange && minHandle}
+ {!this.hasHistogram &&
+ !this.precise &&
+ this.labelHandles &&
+ valueIsRange &&
+ minLabeledHandle}
+ {this.precise && !this.labelHandles && valueIsRange && minPreciseHandle}
+ {this.precise && this.labelHandles && valueIsRange && minLabeledPreciseHandle}
+ {this.hasHistogram &&
+ !this.precise &&
+ this.labelHandles &&
+ valueIsRange &&
+ minHistogramLabeledHandle}
+
+ {!this.precise && !this.labelHandles && handle}
+ {!this.hasHistogram && !this.precise && this.labelHandles && labeledHandle}
+ {!this.hasHistogram && this.precise && !this.labelHandles && preciseHandle}
+ {this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle}
+ {!this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle}
+ {this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle}
+ {this.hasHistogram &&
+ this.precise &&
+ this.labelHandles &&
+ histogramLabeledPreciseHandle}
+
-
- {!this.precise && !this.labelHandles && valueIsRange && minHandle}
- {!this.hasHistogram &&
- !this.precise &&
- this.labelHandles &&
- valueIsRange &&
- minLabeledHandle}
- {this.precise && !this.labelHandles && valueIsRange && minPreciseHandle}
- {this.precise && this.labelHandles && valueIsRange && minLabeledPreciseHandle}
- {this.hasHistogram &&
- !this.precise &&
- this.labelHandles &&
- valueIsRange &&
- minHistogramLabeledHandle}
-
- {!this.precise && !this.labelHandles && handle}
- {!this.hasHistogram && !this.precise && this.labelHandles && labeledHandle}
- {!this.hasHistogram && this.precise && !this.labelHandles && preciseHandle}
- {this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle}
- {!this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle}
- {this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle}
- {this.hasHistogram &&
- this.precise &&
- this.labelHandles &&
- histogramLabeledPreciseHandle}
-
-
-
+
);
}
diff --git a/packages/calcite-components/src/components/sortable-list/sortable-list.tsx b/packages/calcite-components/src/components/sortable-list/sortable-list.tsx
index 85720792418..bf232da70a1 100644
--- a/packages/calcite-components/src/components/sortable-list/sortable-list.tsx
+++ b/packages/calcite-components/src/components/sortable-list/sortable-list.tsx
@@ -4,6 +4,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import { createObserver } from "../../utils/observers";
@@ -233,19 +234,21 @@ export class SortableList implements InteractiveComponent, SortableComponent {
// --------------------------------------------------------------------------
render(): VNode {
- const { layout } = this;
+ const { disabled, layout } = this;
const horizontal = layout === "horizontal" || false;
return (
-
-
-
+
+
+
+
+
);
}
}
diff --git a/packages/calcite-components/src/components/split-button/split-button.tsx b/packages/calcite-components/src/components/split-button/split-button.tsx
index cba41764055..c0ad5bc5949 100644
--- a/packages/calcite-components/src/components/split-button/split-button.tsx
+++ b/packages/calcite-components/src/components/split-button/split-button.tsx
@@ -13,7 +13,7 @@ import { OverlayPositioning } from "../../utils/floating-ui";
import {
connectInteractive,
disconnectInteractive,
- InteractiveComponent,
+ InteractiveComponent, InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import {
@@ -182,50 +182,52 @@ export class SplitButton implements InteractiveComponent, LoadableComponent {
const buttonWidth = this.width === "auto" ? "auto" : "full";
return (
-
-
- {this.primaryText}
-
-
-
+
+
-
-
-
+ width={buttonWidth}
+ >
+ {this.primaryText}
+
+
+
+
+
+
+
+
);
}
diff --git a/packages/calcite-components/src/components/stepper-item/stepper-item.tsx b/packages/calcite-components/src/components/stepper-item/stepper-item.tsx
index 505b1f68102..04276937b43 100644
--- a/packages/calcite-components/src/components/stepper-item/stepper-item.tsx
+++ b/packages/calcite-components/src/components/stepper-item/stepper-item.tsx
@@ -17,6 +17,7 @@ import {
connectInteractive,
disconnectInteractive,
InteractiveComponent,
+ InteractiveContainer,
updateHostInteraction,
} from "../../utils/interactive";
import {
@@ -241,7 +242,7 @@ export class StepperItem
}
componentDidRender(): void {
- updateHostInteraction(this, true);
+ updateHostInteraction(this);
}
disconnectedCallback(): void {
@@ -256,35 +257,38 @@ export class StepperItem
aria-current={this.selected ? "step" : "false"}
onClick={this.handleItemClick}
onKeyDown={this.keyDownHandler}
+ tabIndex={this.disabled ? -1 : 0}
>
-
- {this.complete && (
-
- {this.messages.complete}
-
- )}
-