@homebound/beam 3.60.0 → 3.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24853,7 +24853,8 @@ function StepperTab(props) {
|
|
|
24853
24853
|
completed,
|
|
24854
24854
|
onClick,
|
|
24855
24855
|
disabled = false,
|
|
24856
|
-
collapsed = false
|
|
24856
|
+
collapsed = false,
|
|
24857
|
+
__storyState
|
|
24857
24858
|
} = props;
|
|
24858
24859
|
const ariaProps = {
|
|
24859
24860
|
onPress: () => onClick(value),
|
|
@@ -24864,13 +24865,15 @@ function StepperTab(props) {
|
|
|
24864
24865
|
buttonProps
|
|
24865
24866
|
} = (0, import_react_aria63.useButton)(ariaProps, ref);
|
|
24866
24867
|
const {
|
|
24867
|
-
isFocusVisible,
|
|
24868
|
+
isFocusVisible: isFocusVisibleFromEvents,
|
|
24868
24869
|
focusProps
|
|
24869
24870
|
} = (0, import_react_aria63.useFocusRing)();
|
|
24870
24871
|
const {
|
|
24871
24872
|
hoverProps,
|
|
24872
|
-
isHovered
|
|
24873
|
+
isHovered: isHoveredFromEvents
|
|
24873
24874
|
} = (0, import_react_aria63.useHover)(ariaProps);
|
|
24875
|
+
const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
|
|
24876
|
+
const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
|
|
24874
24877
|
const tid = useTestIds(props, "stepperTab");
|
|
24875
24878
|
return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("button", { ref, ...(0, import_react_aria63.mergeProps)(buttonProps, focusProps, hoverProps), "aria-label": label, ...(0, import_runtime114.trussProps)({
|
|
24876
24879
|
...stepperTabStyles.baseStyles,
|
|
@@ -24924,7 +24927,7 @@ function getCollapsedStyles(active, completed) {
|
|
|
24924
24927
|
paddingTop: "pt0",
|
|
24925
24928
|
paddingBottom: "pb0"
|
|
24926
24929
|
},
|
|
24927
|
-
...
|
|
24930
|
+
...active || completed ? {
|
|
24928
24931
|
borderColor: "bcBlue600"
|
|
24929
24932
|
} : {
|
|
24930
24933
|
borderColor: "bcGray300"
|
|
@@ -26165,7 +26168,7 @@ function WorkflowActions(props) {
|
|
|
26165
26168
|
primaryDisabled
|
|
26166
26169
|
} = props;
|
|
26167
26170
|
return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { className: "df aic jcsb sm_w100", children: [
|
|
26168
|
-
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { className: "df aic", children: !isFirstStep &&
|
|
26171
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { className: "df aic", children: !isFirstStep && isMobile && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
|
|
26169
26172
|
/* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { className: "df aic gap1", children: [
|
|
26170
26173
|
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
|
|
26171
26174
|
onSaveAndExit && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
|