@easypost/easy-ui 1.0.0-alpha.111 → 1.0.0-alpha.113
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/AlertBadge/AlertBadge.d.ts +1 -1
- package/AlertBadge/AlertBadge.d.ts.map +1 -1
- package/AlertBadge/index.js +20 -16
- package/AlertBadge/index.mjs +20 -16
- package/Badge/index.js +29 -19
- package/Badge/index.mjs +29 -19
- package/Banner/index.js +19 -12
- package/Banner/index.mjs +19 -12
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +13 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +33 -24
- package/CheckableCard/index.mjs +33 -24
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/CodeBlock/context.d.ts +2 -1
- package/CodeBlock/context.d.ts.map +1 -1
- package/CodeBlock/index.js +81 -59
- package/CodeBlock/index.mjs +81 -59
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/ColorPicker/index.js +71 -54
- package/ColorPicker/index.mjs +71 -54
- package/CustomerPortalLayout/index.js +101 -72
- package/CustomerPortalLayout/index.mjs +101 -72
- package/DataGrid/index.js +229 -173
- package/DataGrid/index.mjs +229 -173
- package/DatePicker/index.js +10 -8
- package/DatePicker/index.mjs +10 -8
- package/DateRangePicker/index.js +10 -8
- package/DateRangePicker/index.mjs +10 -8
- package/Drawer/context.d.ts +2 -2
- package/Drawer/context.d.ts.map +1 -1
- package/Drawer/index.js +99 -78
- package/Drawer/index.mjs +99 -78
- package/Drawer/useIntersectionDetection.d.ts +1 -1
- package/Drawer/useIntersectionDetection.d.ts.map +1 -1
- package/DropdownButton/index.js +15 -7
- package/DropdownButton/index.mjs +16 -8
- package/EmptyStateCard/index.js +53 -33
- package/EmptyStateCard/index.mjs +53 -33
- package/FocusedProductLayout/index.js +104 -76
- package/FocusedProductLayout/index.mjs +104 -76
- package/ForgeLayout/index.js +283 -217
- package/ForgeLayout/index.mjs +283 -217
- package/FormLayout/index.js +38 -24
- package/FormLayout/index.mjs +38 -24
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +16 -9
- package/IconButton/index.mjs +17 -10
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/MenuTrigger.d.ts +1 -1
- package/Menu/MenuTrigger.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/context.d.ts +3 -3
- package/Modal/context.d.ts.map +1 -1
- package/Modal/index.js +124 -93
- package/Modal/index.mjs +124 -93
- package/Modal/useIntersectionDetection.d.ts +1 -1
- package/Modal/useIntersectionDetection.d.ts.map +1 -1
- package/MultiSelect/MultiSelectDropdown.d.ts +2 -2
- package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -1
- package/MultiSelect/index.js +106 -83
- package/MultiSelect/index.mjs +107 -84
- package/MultiSelect/utilities.d.ts +1 -1
- package/MultiSelect/utilities.d.ts.map +1 -1
- package/MultipageSection/index.js +94 -71
- package/MultipageSection/index.mjs +94 -71
- package/NexusLayout/index.js +136 -102
- package/NexusLayout/index.mjs +136 -102
- package/Notification/NotificationTransition.d.ts +1 -1
- package/Notification/NotificationTransition.d.ts.map +1 -1
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +62 -50
- package/Pagination/index.mjs +63 -51
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/illustrations/Building01/index.js +532 -531
- package/PlanCard/illustrations/Building01/index.mjs +532 -531
- package/PlanCard/illustrations/Building02/index.js +206 -205
- package/PlanCard/illustrations/Building02/index.mjs +206 -205
- package/PlanCard/illustrations/Building03/index.js +773 -772
- package/PlanCard/illustrations/Building03/index.mjs +773 -772
- package/PlanCard/illustrations/Building04/index.js +1528 -1527
- package/PlanCard/illustrations/Building04/index.mjs +1528 -1527
- package/PlanCard/index.js +59 -36
- package/PlanCard/index.mjs +60 -37
- package/ProductLayout/index.js +132 -91
- package/ProductLayout/index.mjs +132 -91
- package/Provider/index.js +18 -14
- package/Provider/index.mjs +18 -14
- package/RadioButtonGroup/index.js +14 -10
- package/RadioButtonGroup/index.mjs +14 -10
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/CondensedSearchNav.d.ts.map +1 -1
- package/SearchNav/index.js +197 -141
- package/SearchNav/index.mjs +197 -141
- package/SearchNav/utilities.d.ts +3 -3
- package/SearchNav/utilities.d.ts.map +1 -1
- package/SectionCard/index.js +43 -25
- package/SectionCard/index.mjs +43 -25
- package/Select/index.js +74 -62
- package/Select/index.mjs +74 -62
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +22 -16
- package/SplitToggleCard/index.mjs +22 -16
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +22 -16
- package/TabPanels/index.mjs +24 -18
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +3 -3
- package/Textarea/index.mjs +3 -3
- package/Theme/index.js +1 -1
- package/Theme/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +20 -15
- package/ToggleCard/index.mjs +21 -16
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +115 -88
- package/VerticalNav/index.mjs +115 -88
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-5AuHgwU3.js → Button-C3vDXJsJ.js} +15 -12
- package/__chunks__/{Button-BsGH6vGC.mjs → Button-Dexauftx.mjs} +16 -13
- package/__chunks__/{Calendar-D09mdpmC.js → Calendar-BEbdigVB.js} +3 -2
- package/__chunks__/{Calendar-BGZysoV0.mjs → Calendar-BOxw8lwX.mjs} +3 -2
- package/__chunks__/{CalendarBase-Bn9o8BdD.mjs → CalendarBase-3a9i7QNo.mjs} +86 -64
- package/__chunks__/{CalendarBase-DHxad3N9.js → CalendarBase-Bx8bdXeT.js} +86 -64
- package/__chunks__/{Card-CJug4GMX.mjs → Card-8778avMv.mjs} +21 -12
- package/__chunks__/{Card-BM2DKiVA.js → Card-DIZFYg6E.js} +21 -12
- package/__chunks__/{Checkbox-BWfY9XqH.mjs → Checkbox-C-NlI-Ym.mjs} +36 -28
- package/__chunks__/{Checkbox-D2-8vvdr.js → Checkbox-DFWhjlaO.js} +36 -28
- package/__chunks__/{CodeSnippet-CIijbclb.js → CodeSnippet-BCOMwE07.js} +16 -12
- package/__chunks__/{CodeSnippet-QpCpkoXv.mjs → CodeSnippet-CWnMHdVu.mjs} +16 -12
- package/__chunks__/{DatePickerBase-CFB0JDQA.mjs → DatePickerBase-C4PwUr9x.mjs} +80 -62
- package/__chunks__/{DatePickerBase-DSPIErms.js → DatePickerBase-XoRply_u.js} +80 -62
- package/__chunks__/EasyPostLogo-D3WNdZ29.js +22 -0
- package/__chunks__/EasyPostLogo-tf6CCEAq.mjs +23 -0
- package/__chunks__/{HelpMenu-CO6kYktc.mjs → HelpMenu-8r0cjx5z.mjs} +30 -21
- package/__chunks__/{HelpMenu-nihaGEVy.js → HelpMenu-DBo_fklD.js} +30 -20
- package/__chunks__/{HorizontalGrid-CAwv7zKY.js → HorizontalGrid-BAvSeg39.js} +5 -3
- package/__chunks__/{HorizontalGrid-Dz8EFgmu.mjs → HorizontalGrid-C4MBFEH-.mjs} +6 -4
- package/__chunks__/{HorizontalStack-CxE8tPx_.mjs → HorizontalStack-BkE82C73.mjs} +6 -4
- package/__chunks__/{HorizontalStack-CXpjASZi.js → HorizontalStack-DidoI4Ks.js} +5 -3
- package/__chunks__/{Icon-W8F9w-jS.js → Icon-BVa5ddiD.js} +11 -10
- package/__chunks__/{Icon-0SN9dbwU.mjs → Icon-DzTns8u5.mjs} +11 -10
- package/__chunks__/{InputCaption-BJO9_Tby.mjs → InputCaption-B8bZH6sX.mjs} +19 -15
- package/__chunks__/{InputCaption-C3Hf9Hvt.js → InputCaption-Dkyn1sg6.js} +19 -15
- package/__chunks__/{InputField-dq5XIhr1.mjs → InputField-BTrYBVAD.mjs} +77 -66
- package/__chunks__/{InputField-CDHznUZd.js → InputField-Dvkk5R1K.js} +77 -66
- package/__chunks__/{InputIcon-Bpg4lyQx.mjs → InputIcon-BLJ6dx_5.mjs} +9 -8
- package/__chunks__/{InputIcon-DdcvN3A4.js → InputIcon-BSIAXX9k.js} +9 -8
- package/__chunks__/{KebabButton-DdzHU7is.js → KebabButton-3FnxY-Fz.js} +15 -8
- package/__chunks__/{KebabButton-Bf1OdC5_.mjs → KebabButton-DSK0ISAn.mjs} +15 -8
- package/__chunks__/{Menu-DHwqwFlg.mjs → Menu-C2F4fvhd.mjs} +88 -70
- package/__chunks__/{Menu-Kfc6nxFP.js → Menu-Du8SsMeJ.js} +88 -70
- package/__chunks__/{Notification-vF_YGVIP.js → Notification-CeJn5Qq1.js} +62 -48
- package/__chunks__/{Notification-BoT3Hm0B.mjs → Notification-CgUT2gv6.mjs} +64 -50
- package/__chunks__/{PillGroup-DjLJ4wVb.mjs → PillGroup-EJ8t8SrT.mjs} +41 -27
- package/__chunks__/{PillGroup-CAHVIlU0.js → PillGroup-rTS853Rr.js} +41 -27
- package/__chunks__/{RadioGroup-CGQKZwDU.js → RadioGroup-BFqH1Csi.js} +58 -40
- package/__chunks__/{RadioGroup-DUu5GEpn.mjs → RadioGroup-DBgIqOkZ.mjs} +58 -40
- package/__chunks__/{RangeCalendar-LPcJB19o.mjs → RangeCalendar-BSsmX9l4.mjs} +3 -2
- package/__chunks__/{RangeCalendar-Ckqj2J9L.js → RangeCalendar-Do2nei5A.js} +3 -2
- package/__chunks__/{SelectOverlay-DptO7xtn.mjs → SelectOverlay-DUIIhF4t.mjs} +62 -51
- package/__chunks__/{SelectOverlay-CmbC4zrD.js → SelectOverlay-DjiJHthj.js} +62 -51
- package/__chunks__/{SelectorErrorTooltip-Dw1Fvd_q.mjs → SelectorErrorTooltip-BC-1JoX3.mjs} +19 -12
- package/__chunks__/{SelectorErrorTooltip-_D8DSBKs.js → SelectorErrorTooltip-BMxbuFiM.js} +19 -11
- package/__chunks__/{Spinner-DOmPV59I.mjs → Spinner-2PFCOK3I.mjs} +17 -13
- package/__chunks__/{Spinner-D0ifPtVV.js → Spinner-Dd68v9QX.js} +16 -12
- package/__chunks__/{Stepper-CX0Mu37p.js → Stepper-BZ90AIx0.js} +47 -36
- package/__chunks__/{Stepper-BEyDIPNJ.mjs → Stepper-q3YNLglj.mjs} +48 -37
- package/__chunks__/{TabNav-vCt_zTvE.mjs → TabNav-BnpNl7tj.mjs} +10 -8
- package/__chunks__/{TabNav-B8aEzVyr.js → TabNav-CLVG0bL2.js} +10 -8
- package/__chunks__/{Tabs-BL8odO0p.js → Tabs-5_61DIBw.js} +46 -37
- package/__chunks__/{Tabs-DJ4aKu11.mjs → Tabs-CtyYEye0.mjs} +47 -38
- package/__chunks__/{Text-CSESKR_s.js → Text-C4CEsglh.js} +5 -4
- package/__chunks__/{Text-YOL3isF4.mjs → Text-u9mYLeWj.mjs} +5 -4
- package/__chunks__/{TextField-D2QhDAdD.mjs → TextField-D1JGaTQv.mjs} +3 -3
- package/__chunks__/{TextField-94cCP805.js → TextField-DE1vPtQm.js} +3 -3
- package/__chunks__/{Theme-BAFk7BvV.mjs → Theme-CyUCrGdN.mjs} +28 -18
- package/__chunks__/{Theme-DqbmY4wy.js → Theme-unLHjjnm.js} +27 -17
- package/__chunks__/{Toggle-D2ucsFxO.js → Toggle-BHzAGPDh.js} +43 -37
- package/__chunks__/{Toggle-CxjLdmzW.mjs → Toggle-DioYP2KQ.mjs} +43 -37
- package/__chunks__/{Tooltip-DAyUY3na.mjs → Tooltip-BKGkKnOx.mjs} +25 -17
- package/__chunks__/{Tooltip-DqpxBjpa.js → Tooltip-COjtKErw.js} +25 -17
- package/__chunks__/{UnstyledButton-DpQ5Ic9D.mjs → UnstyledButton-BCg7eEyP.mjs} +6 -4
- package/__chunks__/{UnstyledButton-BFpQ2Irc.js → UnstyledButton-_YQekhlm.js} +5 -3
- package/__chunks__/{VerticalStack-C2yDQVHD.mjs → VerticalStack-Cbdpucbh.mjs} +6 -4
- package/__chunks__/{VerticalStack-Dzpv3O67.js → VerticalStack-CunLpHRv.js} +5 -3
- package/__chunks__/index-CqNUlUoB.js +217 -0
- package/__chunks__/index-ee-P7jQr.mjs +218 -0
- package/__chunks__/jsx-runtime-CH1d66I3.js +320 -0
- package/__chunks__/jsx-runtime-DTpFD6nx.mjs +321 -0
- package/__chunks__/{useEdgeInterceptors-D_DARZZd.mjs → useEdgeInterceptors-BBmo6MI4.mjs} +17 -14
- package/__chunks__/{useEdgeInterceptors-Ihk8NfjJ.js → useEdgeInterceptors-BLxn3eUi.js} +16 -13
- package/package.json +5 -7
- package/types.d.ts +1 -1
- package/types.d.ts.map +1 -1
- package/utilities/Noop.d.ts +1 -1
- package/utilities/Noop.d.ts.map +1 -1
- package/utilities/react.d.ts +1 -1
- package/utilities/react.d.ts.map +1 -1
- package/utilities/react.js +1 -1
- package/utilities/react.mjs +1 -1
- package/utilities/test.d.ts +1 -0
- package/utilities/test.d.ts.map +1 -1
- package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +0 -22
- package/__chunks__/EasyPostLogo-DQt5KlFX.js +0 -21
- package/__chunks__/index-CUcRN4NO.js +0 -311
- package/__chunks__/index-Izk6uvQC.mjs +0 -312
|
@@ -30,8 +30,9 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
+
const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
|
|
33
34
|
const React = require("react");
|
|
34
|
-
const CalendarBase = require("./CalendarBase-
|
|
35
|
+
const CalendarBase = require("./CalendarBase-Bx8bdXeT.js");
|
|
35
36
|
const context = require("./context-DJdNiOsb.js");
|
|
36
37
|
const useControlledState = require("./useControlledState-CcM4H_K0.js");
|
|
37
38
|
const useEvent = require("./useEvent-D3eKExds.js");
|
|
@@ -218,7 +219,7 @@ function RangeCalendar(props) {
|
|
|
218
219
|
createCalendar: CalendarBase.$64244302c3013299$export$dd0bbc9b26defe37
|
|
219
220
|
}));
|
|
220
221
|
const rangeCalendarProps = $46a4342aab3d8076$export$87e0539f600c24e5(props, state, calendarRef);
|
|
221
|
-
return
|
|
222
|
+
return jsxRuntime.jsxRuntimeExports.jsx(CalendarBase.CalendarBase, __spreadProps(__spreadValues(__spreadValues({}, props), rangeCalendarProps), {
|
|
222
223
|
state,
|
|
223
224
|
calendarRef
|
|
224
225
|
}));
|
|
@@ -32,7 +32,8 @@ import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-C5BKH
|
|
|
32
32
|
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-e_p0x3OT.mjs";
|
|
33
33
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DjC42YuS.mjs";
|
|
34
34
|
import { $ as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-BrpRPZGD.mjs";
|
|
35
|
-
import {
|
|
35
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
|
|
36
|
+
import { T as Text } from "./Text-u9mYLeWj.mjs";
|
|
36
37
|
import { $ as $293f70390ea03370$export$497855f14858aa34, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, b as $c132121280ec012d$export$50eacbbf140a3141 } from "./useListBoxSection-BdO_lWyz.mjs";
|
|
37
38
|
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-FD89BR0i.mjs";
|
|
38
39
|
import { g as getUnmergedPopoverStyles, D as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, a as DEFAULT_WIDTH, b as DEFAULT_PLACEMENT, O as OVERLAY_OFFSET, c as OVERLAY_PADDING_FROM_CONTAINER, I as ITEM_HEIGHT, Y as Y_PADDING_INSIDE_OVERLAY } from "./utilities-CBYsZn-t.mjs";
|
|
@@ -447,18 +448,21 @@ function SelectOptionContent({ item, state }) {
|
|
|
447
448
|
const { optionProps, isSelected, isFocused, isDisabled } = $293f70390ea03370$export$497855f14858aa34({
|
|
448
449
|
key: item.key
|
|
449
450
|
}, state, ref);
|
|
450
|
-
return
|
|
451
|
+
return jsxRuntimeExports.jsx("li", __spreadProps(__spreadValues({}, optionProps), {
|
|
451
452
|
ref,
|
|
452
453
|
className: styles.option,
|
|
453
454
|
"data-is-disabled": isDisabled,
|
|
454
455
|
"data-is-focused": isFocused,
|
|
455
|
-
"data-is-selected": isSelected
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
456
|
+
"data-is-selected": isSelected,
|
|
457
|
+
children: jsxRuntimeExports.jsx("div", {
|
|
458
|
+
className: styles.optionContent,
|
|
459
|
+
children: jsxRuntimeExports.jsx(Text, {
|
|
460
|
+
variant: "body1",
|
|
461
|
+
truncate: true,
|
|
462
|
+
children: item.rendered
|
|
463
|
+
})
|
|
464
|
+
})
|
|
465
|
+
}));
|
|
462
466
|
}
|
|
463
467
|
function SelectSection(_props) {
|
|
464
468
|
return null;
|
|
@@ -471,24 +475,28 @@ function SelectSectionContent({ section, state }) {
|
|
|
471
475
|
const { separatorProps } = $f4b273590fab9f93$export$52210f68a14655d0({
|
|
472
476
|
elementType: "li"
|
|
473
477
|
});
|
|
474
|
-
return
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
478
|
+
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
479
|
+
children: [section.key !== state.collection.getFirstKey() && jsxRuntimeExports.jsx("li", __spreadProps(__spreadValues({}, separatorProps), {
|
|
480
|
+
className: styles.separator
|
|
481
|
+
})), jsxRuntimeExports.jsx("li", __spreadProps(__spreadValues({}, itemProps), {
|
|
482
|
+
children: section.hasChildNodes && jsxRuntimeExports.jsx("ul", __spreadProps(__spreadValues({}, groupProps), {
|
|
483
|
+
className: styles.sectionList,
|
|
484
|
+
children: [...section.childNodes].map((item) => {
|
|
485
|
+
return jsxRuntimeExports.jsx(SelectOptionContent, {
|
|
486
|
+
item,
|
|
487
|
+
state
|
|
488
|
+
}, item.key);
|
|
489
|
+
})
|
|
490
|
+
}))
|
|
491
|
+
}))]
|
|
492
|
+
});
|
|
485
493
|
}
|
|
486
494
|
function SelectOverlay() {
|
|
487
495
|
const { selectState, triggerWidth } = useInternalSelectContext();
|
|
488
496
|
if (!selectState.isOpen || triggerWidth === null) {
|
|
489
497
|
return null;
|
|
490
498
|
}
|
|
491
|
-
return
|
|
499
|
+
return jsxRuntimeExports.jsx(SelectOverlayContent, {});
|
|
492
500
|
}
|
|
493
501
|
function SelectOverlayContent() {
|
|
494
502
|
const { selectState, triggerRef, listBoxPropsFromSelect, triggerWidth } = useInternalSelectContext();
|
|
@@ -506,36 +514,39 @@ function SelectOverlayContent() {
|
|
|
506
514
|
const { listBoxProps } = $c132121280ec012d$export$50eacbbf140a3141(listBoxPropsFromSelect, selectState, listBoxRef);
|
|
507
515
|
useScrollbar(listBoxRef, "ezui-os-theme-overlay");
|
|
508
516
|
const style = __spreadValues(__spreadValues({}, popoverProps.style), getUnmergedPopoverStyles(DEFAULT_WIDTH, triggerWidth));
|
|
509
|
-
return
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
517
|
+
return jsxRuntimeExports.jsxs($337b884510726a0d$export$c6fdb837b070b4ff, {
|
|
518
|
+
children: [jsxRuntimeExports.jsx("div", __spreadProps(__spreadValues({}, underlayProps), {
|
|
519
|
+
className: styles.underlay
|
|
520
|
+
})), jsxRuntimeExports.jsxs("div", __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(popoverProps, {
|
|
521
|
+
style
|
|
522
|
+
})), {
|
|
523
|
+
ref: popoverRef,
|
|
524
|
+
className: styles.listboxRoot,
|
|
525
|
+
children: [jsxRuntimeExports.jsx($86ea4cb521eb2e37$export$2317d149ed6f78c4, {
|
|
526
|
+
onDismiss: selectState.close
|
|
527
|
+
}), jsxRuntimeExports.jsx("div", __spreadProps(__spreadValues({}, listBoxProps), {
|
|
528
|
+
ref: listBoxRef,
|
|
529
|
+
className: styles.listbox,
|
|
530
|
+
"data-width": DEFAULT_WIDTH,
|
|
531
|
+
"data-max-items-until-scroll": DEFAULT_MAX_ITEMS_UNTIL_SCROLL,
|
|
532
|
+
"data-overlayscrollbars-initialize": true,
|
|
533
|
+
children: jsxRuntimeExports.jsx("ul", {
|
|
534
|
+
className: styles.listboxList,
|
|
535
|
+
children: [...selectState.collection].map((item) => {
|
|
536
|
+
return item.type === "section" ? jsxRuntimeExports.jsx(SelectSectionContent, {
|
|
537
|
+
section: item,
|
|
538
|
+
state: selectState
|
|
539
|
+
}, item.key) : jsxRuntimeExports.jsx(SelectOptionContent, {
|
|
540
|
+
item,
|
|
541
|
+
state: selectState
|
|
542
|
+
}, item.key);
|
|
543
|
+
})
|
|
544
|
+
})
|
|
545
|
+
})), jsxRuntimeExports.jsx($86ea4cb521eb2e37$export$2317d149ed6f78c4, {
|
|
546
|
+
onDismiss: selectState.close
|
|
547
|
+
})]
|
|
548
|
+
}))]
|
|
549
|
+
});
|
|
539
550
|
}
|
|
540
551
|
export {
|
|
541
552
|
$bdd25dc72710631f$export$cbd84cdb2e668835 as $,
|
|
@@ -33,7 +33,8 @@ const useField = require("./useField-CsvcuQrg.js");
|
|
|
33
33
|
const useMenuTrigger = require("./useMenuTrigger-DQl6sBWY.js");
|
|
34
34
|
const useFormReset = require("./useFormReset-D6l7xmN8.js");
|
|
35
35
|
const VisuallyHidden = require("./VisuallyHidden-CIjowwM_.js");
|
|
36
|
-
const
|
|
36
|
+
const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
|
|
37
|
+
const Text = require("./Text-C4CEsglh.js");
|
|
37
38
|
const useListBoxSection = require("./useListBoxSection-Cf0YWwDY.js");
|
|
38
39
|
const Item = require("./Item-h_oPjYVR.js");
|
|
39
40
|
const utilities = require("./utilities-Q88aR_Y9.js");
|
|
@@ -448,18 +449,21 @@ function SelectOptionContent({ item, state }) {
|
|
|
448
449
|
const { optionProps, isSelected, isFocused, isDisabled } = useListBoxSection.$293f70390ea03370$export$497855f14858aa34({
|
|
449
450
|
key: item.key
|
|
450
451
|
}, state, ref);
|
|
451
|
-
return
|
|
452
|
+
return jsxRuntime.jsxRuntimeExports.jsx("li", __spreadProps(__spreadValues({}, optionProps), {
|
|
452
453
|
ref,
|
|
453
454
|
className: styles.option,
|
|
454
455
|
"data-is-disabled": isDisabled,
|
|
455
456
|
"data-is-focused": isFocused,
|
|
456
|
-
"data-is-selected": isSelected
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
457
|
+
"data-is-selected": isSelected,
|
|
458
|
+
children: jsxRuntime.jsxRuntimeExports.jsx("div", {
|
|
459
|
+
className: styles.optionContent,
|
|
460
|
+
children: jsxRuntime.jsxRuntimeExports.jsx(Text.Text, {
|
|
461
|
+
variant: "body1",
|
|
462
|
+
truncate: true,
|
|
463
|
+
children: item.rendered
|
|
464
|
+
})
|
|
465
|
+
})
|
|
466
|
+
}));
|
|
463
467
|
}
|
|
464
468
|
function SelectSection(_props) {
|
|
465
469
|
return null;
|
|
@@ -472,24 +476,28 @@ function SelectSectionContent({ section, state }) {
|
|
|
472
476
|
const { separatorProps } = useTriggerWidth.$f4b273590fab9f93$export$52210f68a14655d0({
|
|
473
477
|
elementType: "li"
|
|
474
478
|
});
|
|
475
|
-
return
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
479
|
+
return jsxRuntime.jsxRuntimeExports.jsxs(jsxRuntime.jsxRuntimeExports.Fragment, {
|
|
480
|
+
children: [section.key !== state.collection.getFirstKey() && jsxRuntime.jsxRuntimeExports.jsx("li", __spreadProps(__spreadValues({}, separatorProps), {
|
|
481
|
+
className: styles.separator
|
|
482
|
+
})), jsxRuntime.jsxRuntimeExports.jsx("li", __spreadProps(__spreadValues({}, itemProps), {
|
|
483
|
+
children: section.hasChildNodes && jsxRuntime.jsxRuntimeExports.jsx("ul", __spreadProps(__spreadValues({}, groupProps), {
|
|
484
|
+
className: styles.sectionList,
|
|
485
|
+
children: [...section.childNodes].map((item) => {
|
|
486
|
+
return jsxRuntime.jsxRuntimeExports.jsx(SelectOptionContent, {
|
|
487
|
+
item,
|
|
488
|
+
state
|
|
489
|
+
}, item.key);
|
|
490
|
+
})
|
|
491
|
+
}))
|
|
492
|
+
}))]
|
|
493
|
+
});
|
|
486
494
|
}
|
|
487
495
|
function SelectOverlay() {
|
|
488
496
|
const { selectState, triggerWidth } = useInternalSelectContext();
|
|
489
497
|
if (!selectState.isOpen || triggerWidth === null) {
|
|
490
498
|
return null;
|
|
491
499
|
}
|
|
492
|
-
return
|
|
500
|
+
return jsxRuntime.jsxRuntimeExports.jsx(SelectOverlayContent, {});
|
|
493
501
|
}
|
|
494
502
|
function SelectOverlayContent() {
|
|
495
503
|
const { selectState, triggerRef, listBoxPropsFromSelect, triggerWidth } = useInternalSelectContext();
|
|
@@ -507,36 +515,39 @@ function SelectOverlayContent() {
|
|
|
507
515
|
const { listBoxProps } = useListBoxSection.$c132121280ec012d$export$50eacbbf140a3141(listBoxPropsFromSelect, selectState, listBoxRef);
|
|
508
516
|
utilities_useScrollbar.useScrollbar(listBoxRef, "ezui-os-theme-overlay");
|
|
509
517
|
const style = __spreadValues(__spreadValues({}, popoverProps.style), utilities.getUnmergedPopoverStyles(utilities.DEFAULT_WIDTH, triggerWidth));
|
|
510
|
-
return
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
518
|
+
return jsxRuntime.jsxRuntimeExports.jsxs(Overlay.$337b884510726a0d$export$c6fdb837b070b4ff, {
|
|
519
|
+
children: [jsxRuntime.jsxRuntimeExports.jsx("div", __spreadProps(__spreadValues({}, underlayProps), {
|
|
520
|
+
className: styles.underlay
|
|
521
|
+
})), jsxRuntime.jsxRuntimeExports.jsxs("div", __spreadProps(__spreadValues({}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(popoverProps, {
|
|
522
|
+
style
|
|
523
|
+
})), {
|
|
524
|
+
ref: popoverRef,
|
|
525
|
+
className: styles.listboxRoot,
|
|
526
|
+
children: [jsxRuntime.jsxRuntimeExports.jsx(usePopover.$86ea4cb521eb2e37$export$2317d149ed6f78c4, {
|
|
527
|
+
onDismiss: selectState.close
|
|
528
|
+
}), jsxRuntime.jsxRuntimeExports.jsx("div", __spreadProps(__spreadValues({}, listBoxProps), {
|
|
529
|
+
ref: listBoxRef,
|
|
530
|
+
className: styles.listbox,
|
|
531
|
+
"data-width": utilities.DEFAULT_WIDTH,
|
|
532
|
+
"data-max-items-until-scroll": utilities.DEFAULT_MAX_ITEMS_UNTIL_SCROLL,
|
|
533
|
+
"data-overlayscrollbars-initialize": true,
|
|
534
|
+
children: jsxRuntime.jsxRuntimeExports.jsx("ul", {
|
|
535
|
+
className: styles.listboxList,
|
|
536
|
+
children: [...selectState.collection].map((item) => {
|
|
537
|
+
return item.type === "section" ? jsxRuntime.jsxRuntimeExports.jsx(SelectSectionContent, {
|
|
538
|
+
section: item,
|
|
539
|
+
state: selectState
|
|
540
|
+
}, item.key) : jsxRuntime.jsxRuntimeExports.jsx(SelectOptionContent, {
|
|
541
|
+
item,
|
|
542
|
+
state: selectState
|
|
543
|
+
}, item.key);
|
|
544
|
+
})
|
|
545
|
+
})
|
|
546
|
+
})), jsxRuntime.jsxRuntimeExports.jsx(usePopover.$86ea4cb521eb2e37$export$2317d149ed6f78c4, {
|
|
547
|
+
onDismiss: selectState.close
|
|
548
|
+
})]
|
|
549
|
+
}))]
|
|
550
|
+
});
|
|
540
551
|
}
|
|
541
552
|
exports.$2bc3a590c5373a4e$export$5159ec8b34d4ec12 = $2bc3a590c5373a4e$export$5159ec8b34d4ec12;
|
|
542
553
|
exports.$58aed456727eb0f3$export$e64b2f635402ca43 = $58aed456727eb0f3$export$e64b2f635402ca43;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,11 +16,12 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
|
|
17
21
|
import * as React from "react";
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import { T as
|
|
21
|
-
import { T as Tooltip } from "./Tooltip-DAyUY3na.mjs";
|
|
22
|
+
import { I as Icon } from "./Icon-DzTns8u5.mjs";
|
|
23
|
+
import { T as Text } from "./Text-u9mYLeWj.mjs";
|
|
24
|
+
import { T as Tooltip } from "./Tooltip-BKGkKnOx.mjs";
|
|
22
25
|
var __defProp2 = Object.defineProperty;
|
|
23
26
|
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
24
27
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
@@ -61,14 +64,18 @@ const styles = {
|
|
|
61
64
|
SelectorErrorTooltip: SelectorErrorTooltip$1
|
|
62
65
|
};
|
|
63
66
|
function SelectorErrorTooltip(props) {
|
|
64
|
-
return
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
return jsxRuntimeExports.jsx(Tooltip, __spreadProps(__spreadValues({}, props), {
|
|
68
|
+
children: jsxRuntimeExports.jsxs("span", {
|
|
69
|
+
tabIndex: 0,
|
|
70
|
+
className: styles.SelectorErrorTooltip,
|
|
71
|
+
children: [jsxRuntimeExports.jsx(Text, {
|
|
72
|
+
visuallyHidden: true,
|
|
73
|
+
children: "Error"
|
|
74
|
+
}), jsxRuntimeExports.jsx(Icon, {
|
|
75
|
+
symbol: ErrorFill
|
|
76
|
+
})]
|
|
77
|
+
})
|
|
78
|
+
}));
|
|
72
79
|
}
|
|
73
80
|
export {
|
|
74
81
|
SelectorErrorTooltip as S
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3
5
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -15,10 +17,12 @@ var __spreadValues = (a, b) => {
|
|
|
15
17
|
}
|
|
16
18
|
return a;
|
|
17
19
|
};
|
|
20
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
+
const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
|
|
18
22
|
const React = require("react");
|
|
19
|
-
const Icon = require("./Icon-
|
|
20
|
-
const Text = require("./Text-
|
|
21
|
-
const Tooltip = require("./Tooltip-
|
|
23
|
+
const Icon = require("./Icon-BVa5ddiD.js");
|
|
24
|
+
const Text = require("./Text-C4CEsglh.js");
|
|
25
|
+
const Tooltip = require("./Tooltip-COjtKErw.js");
|
|
22
26
|
function _interopNamespaceDefault(e) {
|
|
23
27
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
24
28
|
if (e) {
|
|
@@ -78,13 +82,17 @@ const styles = {
|
|
|
78
82
|
SelectorErrorTooltip: SelectorErrorTooltip$1
|
|
79
83
|
};
|
|
80
84
|
function SelectorErrorTooltip(props) {
|
|
81
|
-
return
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
return jsxRuntime.jsxRuntimeExports.jsx(Tooltip.Tooltip, __spreadProps(__spreadValues({}, props), {
|
|
86
|
+
children: jsxRuntime.jsxRuntimeExports.jsxs("span", {
|
|
87
|
+
tabIndex: 0,
|
|
88
|
+
className: styles.SelectorErrorTooltip,
|
|
89
|
+
children: [jsxRuntime.jsxRuntimeExports.jsx(Text.Text, {
|
|
90
|
+
visuallyHidden: true,
|
|
91
|
+
children: "Error"
|
|
92
|
+
}), jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, {
|
|
93
|
+
symbol: ErrorFill
|
|
94
|
+
})]
|
|
95
|
+
})
|
|
96
|
+
}));
|
|
89
97
|
}
|
|
90
98
|
exports.SelectorErrorTooltip = SelectorErrorTooltip;
|
|
@@ -17,8 +17,9 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
20
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
|
|
21
|
+
import { useId } from "react";
|
|
22
|
+
import { T as Text } from "./Text-u9mYLeWj.mjs";
|
|
22
23
|
import { getComponentToken, getComponentDesignToken, getComponentThemeToken } from "../utilities/css.mjs";
|
|
23
24
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-COnPag8r.mjs";
|
|
24
25
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.mjs";
|
|
@@ -72,20 +73,23 @@ const Spinner = (props) => {
|
|
|
72
73
|
const id = useId();
|
|
73
74
|
const degrees = !isIndeterminate && value && value * 360 / 100;
|
|
74
75
|
const style = __spreadValues(__spreadValues(__spreadValues({}, getComponentThemeToken("spinner", "color", "color", color)), getComponentDesignToken("spinner", "size", "size.icon", size)), degrees && __spreadValues({}, getComponentToken("spinner", "degrees", `${degrees}deg`)));
|
|
75
|
-
return
|
|
76
|
+
return jsxRuntimeExports.jsxs("div", __spreadProps(__spreadValues({}, progressBarProps), {
|
|
76
77
|
className: styles.spinner,
|
|
77
78
|
style,
|
|
78
79
|
role: isIndeterminate ? "status" : progressBarProps.role,
|
|
79
|
-
"aria-labelledby": (_a = progressBarProps["aria-labelledby"]) != null ? _a : id
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
"aria-labelledby": (_a = progressBarProps["aria-labelledby"]) != null ? _a : id,
|
|
81
|
+
children: [isIndeterminate ? jsxRuntimeExports.jsxs("div", {
|
|
82
|
+
className: styles.indeterminate,
|
|
83
|
+
children: [jsxRuntimeExports.jsx("div", {}), jsxRuntimeExports.jsx("div", {}), jsxRuntimeExports.jsx("div", {})]
|
|
84
|
+
}) : jsxRuntimeExports.jsx("div", {
|
|
85
|
+
className: styles.progress
|
|
86
|
+
}), jsxRuntimeExports.jsx(Text, __spreadProps(__spreadValues({}, labelProps), {
|
|
87
|
+
id: (_b = labelProps.id) != null ? _b : id,
|
|
88
|
+
visuallyHidden: !children,
|
|
89
|
+
variant: "subtitle2",
|
|
90
|
+
children: children ? children : "Loading"
|
|
91
|
+
}))]
|
|
92
|
+
}));
|
|
89
93
|
};
|
|
90
94
|
export {
|
|
91
95
|
Spinner as S
|
|
@@ -18,8 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
+
const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
|
|
21
22
|
const React = require("react");
|
|
22
|
-
const Text = require("./Text-
|
|
23
|
+
const Text = require("./Text-C4CEsglh.js");
|
|
23
24
|
const utilities_css = require("../utilities/css.js");
|
|
24
25
|
const mergeProps = require("./mergeProps-DLPcevok.js");
|
|
25
26
|
const filterDOMProps = require("./filterDOMProps-p6wKN-SS.js");
|
|
@@ -73,19 +74,22 @@ const Spinner = (props) => {
|
|
|
73
74
|
const id = React.useId();
|
|
74
75
|
const degrees = !isIndeterminate && value && value * 360 / 100;
|
|
75
76
|
const style = __spreadValues(__spreadValues(__spreadValues({}, utilities_css.getComponentThemeToken("spinner", "color", "color", color)), utilities_css.getComponentDesignToken("spinner", "size", "size.icon", size)), degrees && __spreadValues({}, utilities_css.getComponentToken("spinner", "degrees", `${degrees}deg`)));
|
|
76
|
-
return
|
|
77
|
+
return jsxRuntime.jsxRuntimeExports.jsxs("div", __spreadProps(__spreadValues({}, progressBarProps), {
|
|
77
78
|
className: styles.spinner,
|
|
78
79
|
style,
|
|
79
80
|
role: isIndeterminate ? "status" : progressBarProps.role,
|
|
80
|
-
"aria-labelledby": (_a = progressBarProps["aria-labelledby"]) != null ? _a : id
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
"aria-labelledby": (_a = progressBarProps["aria-labelledby"]) != null ? _a : id,
|
|
82
|
+
children: [isIndeterminate ? jsxRuntime.jsxRuntimeExports.jsxs("div", {
|
|
83
|
+
className: styles.indeterminate,
|
|
84
|
+
children: [jsxRuntime.jsxRuntimeExports.jsx("div", {}), jsxRuntime.jsxRuntimeExports.jsx("div", {}), jsxRuntime.jsxRuntimeExports.jsx("div", {})]
|
|
85
|
+
}) : jsxRuntime.jsxRuntimeExports.jsx("div", {
|
|
86
|
+
className: styles.progress
|
|
87
|
+
}), jsxRuntime.jsxRuntimeExports.jsx(Text.Text, __spreadProps(__spreadValues({}, labelProps), {
|
|
88
|
+
id: (_b = labelProps.id) != null ? _b : id,
|
|
89
|
+
visuallyHidden: !children,
|
|
90
|
+
variant: "subtitle2",
|
|
91
|
+
children: children ? children : "Loading"
|
|
92
|
+
}))]
|
|
93
|
+
}));
|
|
90
94
|
};
|
|
91
95
|
exports.Spinner = Spinner;
|