@shoplflow/base 0.42.3 → 0.42.4
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 +68 -14
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +69 -15
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1212,10 +1212,25 @@ exports.Modal = {
|
|
|
1212
1212
|
Bottom: ModalBottom,
|
|
1213
1213
|
Footer: ModalFooter_default
|
|
1214
1214
|
};
|
|
1215
|
+
var getContainerStylesBySizeVar = (sizeVar) => {
|
|
1216
|
+
switch (sizeVar) {
|
|
1217
|
+
case "S":
|
|
1218
|
+
return react$1.css`
|
|
1219
|
+
width: 24px;
|
|
1220
|
+
height: 24px;
|
|
1221
|
+
border-radius: ${exports.borderRadiusTokens.borderRadius04};
|
|
1222
|
+
`;
|
|
1223
|
+
case "M":
|
|
1224
|
+
return react$1.css`
|
|
1225
|
+
border-radius: ${exports.borderRadiusTokens.borderRadius06};
|
|
1226
|
+
width: 32px;
|
|
1227
|
+
height: 32px;
|
|
1228
|
+
`;
|
|
1229
|
+
}
|
|
1230
|
+
};
|
|
1215
1231
|
var SwitchContainer = styled6__default.default.div`
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
border-radius: 6px;
|
|
1232
|
+
${({ sizeVar }) => getContainerStylesBySizeVar(sizeVar)}
|
|
1233
|
+
|
|
1219
1234
|
display: flex;
|
|
1220
1235
|
align-items: center;
|
|
1221
1236
|
justify-content: center;
|
|
@@ -1225,12 +1240,42 @@ var SwitchContainer = styled6__default.default.div`
|
|
|
1225
1240
|
background: ${({ isDisabled }) => !isDisabled && exports.colorTokens.neutral400_5};
|
|
1226
1241
|
}
|
|
1227
1242
|
`;
|
|
1243
|
+
var getCircleStylesBySizeVar = (sizeVar) => {
|
|
1244
|
+
switch (sizeVar) {
|
|
1245
|
+
case "S":
|
|
1246
|
+
return react$1.css`
|
|
1247
|
+
width: 12px;
|
|
1248
|
+
height: 12px;
|
|
1249
|
+
aspect-ratio: 1/1;
|
|
1250
|
+
border-radius: ${exports.borderRadiusTokens.borderRadius04};
|
|
1251
|
+
`;
|
|
1252
|
+
case "M":
|
|
1253
|
+
return react$1.css`
|
|
1254
|
+
width: 14px;
|
|
1255
|
+
height: 14px;
|
|
1256
|
+
border-radius: 50%;
|
|
1257
|
+
`;
|
|
1258
|
+
}
|
|
1259
|
+
};
|
|
1260
|
+
var getSwitchStylesBySizeVar = (sizeVar) => {
|
|
1261
|
+
switch (sizeVar) {
|
|
1262
|
+
case "S":
|
|
1263
|
+
return react$1.css`
|
|
1264
|
+
border-radius: ${exports.borderRadiusTokens.borderRadius06};
|
|
1265
|
+
width: 24px;
|
|
1266
|
+
height: 16px;
|
|
1267
|
+
`;
|
|
1268
|
+
case "M":
|
|
1269
|
+
return react$1.css`
|
|
1270
|
+
border-radius: 12px;
|
|
1271
|
+
width: 28px;
|
|
1272
|
+
height: 18px;
|
|
1273
|
+
`;
|
|
1274
|
+
}
|
|
1275
|
+
};
|
|
1228
1276
|
var StyledSwitch = styled6__default.default.input`
|
|
1229
1277
|
appearance: none;
|
|
1230
1278
|
border: none;
|
|
1231
|
-
border-radius: 12px;
|
|
1232
|
-
width: 28px;
|
|
1233
|
-
height: 18px;
|
|
1234
1279
|
cursor: pointer;
|
|
1235
1280
|
position: relative;
|
|
1236
1281
|
display: flex;
|
|
@@ -1239,16 +1284,16 @@ var StyledSwitch = styled6__default.default.input`
|
|
|
1239
1284
|
padding: 2px;
|
|
1240
1285
|
margin: 0;
|
|
1241
1286
|
|
|
1287
|
+
${({ sizeVar }) => getSwitchStylesBySizeVar(sizeVar)}
|
|
1288
|
+
|
|
1242
1289
|
// slider
|
|
1243
1290
|
&:before {
|
|
1244
1291
|
content: '';
|
|
1245
1292
|
left: 2px;
|
|
1246
1293
|
display: block;
|
|
1247
1294
|
position: absolute;
|
|
1248
|
-
|
|
1249
|
-
height: 14px;
|
|
1295
|
+
${({ sizeVar }) => getCircleStylesBySizeVar(sizeVar)}
|
|
1250
1296
|
background: ${exports.colorTokens.neutral0};
|
|
1251
|
-
border-radius: 50%;
|
|
1252
1297
|
transition: left 0.2s ease-in-out;
|
|
1253
1298
|
}
|
|
1254
1299
|
|
|
@@ -1256,7 +1301,7 @@ var StyledSwitch = styled6__default.default.input`
|
|
|
1256
1301
|
&:checked {
|
|
1257
1302
|
background: ${({ activeColor }) => exports.colorTokens[activeColor]};
|
|
1258
1303
|
&:before {
|
|
1259
|
-
left: 12px;
|
|
1304
|
+
left: ${({ sizeVar }) => sizeVar === "S" ? "10px" : "12px"};
|
|
1260
1305
|
}
|
|
1261
1306
|
}
|
|
1262
1307
|
|
|
@@ -1289,27 +1334,30 @@ var Switch = (_a) => {
|
|
|
1289
1334
|
isSelected,
|
|
1290
1335
|
disabled = false,
|
|
1291
1336
|
activeColor = "primary300",
|
|
1292
|
-
defaultSelected = false
|
|
1337
|
+
defaultSelected = false,
|
|
1338
|
+
sizeVar = "M"
|
|
1293
1339
|
} = _b, rest = __objRest(_b, [
|
|
1294
1340
|
"onChange",
|
|
1295
1341
|
"isSelected",
|
|
1296
1342
|
"disabled",
|
|
1297
1343
|
"activeColor",
|
|
1298
|
-
"defaultSelected"
|
|
1344
|
+
"defaultSelected",
|
|
1345
|
+
"sizeVar"
|
|
1299
1346
|
]);
|
|
1300
1347
|
const [isToggled, handleToggle] = useOnToggle(isSelected, defaultSelected);
|
|
1301
1348
|
const handleOnChange = (e) => {
|
|
1302
1349
|
handleToggle();
|
|
1303
1350
|
onChange && onChange(e);
|
|
1304
1351
|
};
|
|
1305
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SwitchContainer, { isDisabled: disabled, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1352
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SwitchContainer, { isDisabled: disabled, sizeVar, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1306
1353
|
StyledSwitch,
|
|
1307
1354
|
__spreadProps(__spreadValues({
|
|
1308
1355
|
type: "checkbox",
|
|
1309
1356
|
checked: isToggled,
|
|
1310
1357
|
disabled,
|
|
1311
1358
|
onChange: handleOnChange,
|
|
1312
|
-
activeColor
|
|
1359
|
+
activeColor,
|
|
1360
|
+
sizeVar
|
|
1313
1361
|
}, rest), {
|
|
1314
1362
|
"data-shoplflow": "Switch"
|
|
1315
1363
|
})
|
|
@@ -1317,6 +1365,12 @@ var Switch = (_a) => {
|
|
|
1317
1365
|
};
|
|
1318
1366
|
exports.Switch = Switch;
|
|
1319
1367
|
|
|
1368
|
+
// src/components/Switch/Switch.types.ts
|
|
1369
|
+
exports.SwitchSizeVariants = {
|
|
1370
|
+
S: "S",
|
|
1371
|
+
M: "M"
|
|
1372
|
+
};
|
|
1373
|
+
|
|
1320
1374
|
// src/components/Chips/ChipToggle/ChipToggle.types.ts
|
|
1321
1375
|
exports.ChipToggleStyleVariants = {
|
|
1322
1376
|
SOLID: "SOLID"
|
package/dist/index.d.cts
CHANGED
|
@@ -559,13 +559,18 @@ interface BackDropProps extends ChildrenProps, BackDropOptionProps {
|
|
|
559
559
|
interface BackDropOptionProps {
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
|
|
562
|
+
declare const SwitchSizeVariants: {
|
|
563
|
+
readonly S: "S";
|
|
564
|
+
readonly M: "M";
|
|
565
|
+
};
|
|
566
|
+
declare type SwitchSizeVariantType = $Values<typeof SwitchSizeVariants>;
|
|
567
|
+
interface SwitchProps extends SwitchOptionProps, DisableProps, SelectedProps, DefaultSelectedProps, SizeVariantProps<SwitchSizeVariantType>, HTMLAttributes<HTMLInputElement> {
|
|
563
568
|
}
|
|
564
569
|
interface SwitchOptionProps {
|
|
565
570
|
activeColor: ColorTokens;
|
|
566
571
|
}
|
|
567
572
|
|
|
568
|
-
declare const Switch: ({ onChange, isSelected, disabled, activeColor, defaultSelected, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
573
|
+
declare const Switch: ({ onChange, isSelected, disabled, activeColor, defaultSelected, sizeVar, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
569
574
|
|
|
570
575
|
declare const ChipToggleStyleVariants: {
|
|
571
576
|
readonly SOLID: "SOLID";
|
|
@@ -1694,4 +1699,4 @@ interface MemoizedSearchBarComponent extends React.MemoExoticComponent<SearchBar
|
|
|
1694
1699
|
|
|
1695
1700
|
declare const SearchBar: MemoizedSearchBarComponent;
|
|
1696
1701
|
|
|
1697
|
-
export { AnnualDatepicker, AnnualDatepickerProps, AsProp, Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, Checkbox, CheckboxOptionProps, CheckboxProps, CheckboxStyleVariantType, CheckboxStyleVariants, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, DangerouslySetInnerHTML, DayCalendarType, DayDatepicker, DayDatepickerHeaderCustomProps, DayDatepickerOptionProps, DayDatepickerProps, DayDatepickerSizeVariantType, DayDatepickerSizeVariants, DomainType, Dropdown, DropdownButton, DropdownButtonContext, DropdownButtonContextType, DropdownButtonOptionProps, DropdownButtonProps, DropdownButtonSizeVariantType, DropdownButtonSizeVariants, DropdownButtonStyleVariantType, DropdownButtonStyleVariants, DropdownContentProps, DropdownItem, DropdownOptionProps, DropdownOptionVariantType, DropdownOptionVariants, DropdownProps, DropdownSizeVariantType, DropdownTriggerButtonProps, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, InputSizeVariantType, InputSizeVariants, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MemoizedSearchBarComponent, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalBottomProps, ModalContainerOptionProps, ModalContainerProps, ModalContext, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHandlerContext, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, ModalStateType, ModalTopProps, MonthClickDateInfo, MonthDatepicker, MonthDatepickerProps, MonthDatepickerStyleType, MotionStack, MotionStackComponentType, MotionStackContainer, MotionStackContainerComponentType, NumberCombobox, NumberComboboxErrorType, NumberComboboxInputType, NumberComboboxOptionProps, NumberComboboxProps, NumberComboboxSizeVariantType, NumberComboboxSizeVariants, Pagination, PaginationOptionProps, PaginationProps, PaginationSizeSelectorProps, PolymorphicComponentProps, PolymorphicRef, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, RADIO_SYMBOL_KEY, Radio, RadioOptionProps, RadioProps, RemoveModalProps, SLIDER_Z_INDEX, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ScrollbarRefType, SearchBar, SearchBarBaseProps, SearchBarCategoryProps, SearchBarComponent, SearchBarInputProps, SearchBarProps, SearchType, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, Skeleton, SkeletonProps, Slider, SliderBounds, SliderProps, SpacingTokens, SplitButton, SplitButtonContext, SplitButtonContextType, SplitButtonOptionProps, SplitButtonProps, SplitButtonSizeVariantType, SplitButtonSizeVariants, SplitButtonStyleVariantType, SplitButtonStyleVariants, Stack, StackComponentType, StackContainer, StackContainerComponentType, StackContainerGenericProps, StackContainerOptionProps, StackContainerProps, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledStack, StyledStackContainer, Switch, SwitchOptionProps, SwitchProps, TREE_SYMBOL_KEY, TabOptionProps, TabProps, TabSizeVariantType, TabSizeVariants, TabStyleVariantType, TabStyleVariants, TabStyledProps, TabTextStyledProps, Tabs, TabsContext, TabsContextType, TabsOptionProps, TabsProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, ToggleButton, ToggleButtonInnerRadioOptionProps, ToggleButtonInnerRadioProps, ToggleButtonOptionProps, ToggleButtonProps, ToggleButtonSizeVariantType, ToggleButtonSizeVariants, Tooltip, TooltipContentProps, TooltipOptionProps, TooltipProps, Tree, TreeItem, TreeItemOptionProps, TreeItemProps, TreeOptionProps, TreeProps, TypographyTokens, WeekClickDateInfo, WeekDatepicker, WeekDatepickerProps, WeekDatepickerStyleType, YearSelectProps, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
|
1702
|
+
export { AnnualDatepicker, AnnualDatepickerProps, AsProp, Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, Checkbox, CheckboxOptionProps, CheckboxProps, CheckboxStyleVariantType, CheckboxStyleVariants, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, DangerouslySetInnerHTML, DayCalendarType, DayDatepicker, DayDatepickerHeaderCustomProps, DayDatepickerOptionProps, DayDatepickerProps, DayDatepickerSizeVariantType, DayDatepickerSizeVariants, DomainType, Dropdown, DropdownButton, DropdownButtonContext, DropdownButtonContextType, DropdownButtonOptionProps, DropdownButtonProps, DropdownButtonSizeVariantType, DropdownButtonSizeVariants, DropdownButtonStyleVariantType, DropdownButtonStyleVariants, DropdownContentProps, DropdownItem, DropdownOptionProps, DropdownOptionVariantType, DropdownOptionVariants, DropdownProps, DropdownSizeVariantType, DropdownTriggerButtonProps, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, InputSizeVariantType, InputSizeVariants, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MemoizedSearchBarComponent, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalBottomProps, ModalContainerOptionProps, ModalContainerProps, ModalContext, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHandlerContext, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, ModalStateType, ModalTopProps, MonthClickDateInfo, MonthDatepicker, MonthDatepickerProps, MonthDatepickerStyleType, MotionStack, MotionStackComponentType, MotionStackContainer, MotionStackContainerComponentType, NumberCombobox, NumberComboboxErrorType, NumberComboboxInputType, NumberComboboxOptionProps, NumberComboboxProps, NumberComboboxSizeVariantType, NumberComboboxSizeVariants, Pagination, PaginationOptionProps, PaginationProps, PaginationSizeSelectorProps, PolymorphicComponentProps, PolymorphicRef, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, RADIO_SYMBOL_KEY, Radio, RadioOptionProps, RadioProps, RemoveModalProps, SLIDER_Z_INDEX, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ScrollbarRefType, SearchBar, SearchBarBaseProps, SearchBarCategoryProps, SearchBarComponent, SearchBarInputProps, SearchBarProps, SearchType, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, Skeleton, SkeletonProps, Slider, SliderBounds, SliderProps, SpacingTokens, SplitButton, SplitButtonContext, SplitButtonContextType, SplitButtonOptionProps, SplitButtonProps, SplitButtonSizeVariantType, SplitButtonSizeVariants, SplitButtonStyleVariantType, SplitButtonStyleVariants, Stack, StackComponentType, StackContainer, StackContainerComponentType, StackContainerGenericProps, StackContainerOptionProps, StackContainerProps, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledStack, StyledStackContainer, Switch, SwitchOptionProps, SwitchProps, SwitchSizeVariantType, SwitchSizeVariants, TREE_SYMBOL_KEY, TabOptionProps, TabProps, TabSizeVariantType, TabSizeVariants, TabStyleVariantType, TabStyleVariants, TabStyledProps, TabTextStyledProps, Tabs, TabsContext, TabsContextType, TabsOptionProps, TabsProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, ToggleButton, ToggleButtonInnerRadioOptionProps, ToggleButtonInnerRadioProps, ToggleButtonOptionProps, ToggleButtonProps, ToggleButtonSizeVariantType, ToggleButtonSizeVariants, Tooltip, TooltipContentProps, TooltipOptionProps, TooltipProps, Tree, TreeItem, TreeItemOptionProps, TreeItemProps, TreeOptionProps, TreeProps, TypographyTokens, WeekClickDateInfo, WeekDatepicker, WeekDatepickerProps, WeekDatepickerStyleType, YearSelectProps, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
package/dist/index.d.ts
CHANGED
|
@@ -559,13 +559,18 @@ interface BackDropProps extends ChildrenProps, BackDropOptionProps {
|
|
|
559
559
|
interface BackDropOptionProps {
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
|
|
562
|
+
declare const SwitchSizeVariants: {
|
|
563
|
+
readonly S: "S";
|
|
564
|
+
readonly M: "M";
|
|
565
|
+
};
|
|
566
|
+
declare type SwitchSizeVariantType = $Values<typeof SwitchSizeVariants>;
|
|
567
|
+
interface SwitchProps extends SwitchOptionProps, DisableProps, SelectedProps, DefaultSelectedProps, SizeVariantProps<SwitchSizeVariantType>, HTMLAttributes<HTMLInputElement> {
|
|
563
568
|
}
|
|
564
569
|
interface SwitchOptionProps {
|
|
565
570
|
activeColor: ColorTokens;
|
|
566
571
|
}
|
|
567
572
|
|
|
568
|
-
declare const Switch: ({ onChange, isSelected, disabled, activeColor, defaultSelected, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
573
|
+
declare const Switch: ({ onChange, isSelected, disabled, activeColor, defaultSelected, sizeVar, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
569
574
|
|
|
570
575
|
declare const ChipToggleStyleVariants: {
|
|
571
576
|
readonly SOLID: "SOLID";
|
|
@@ -1694,4 +1699,4 @@ interface MemoizedSearchBarComponent extends React.MemoExoticComponent<SearchBar
|
|
|
1694
1699
|
|
|
1695
1700
|
declare const SearchBar: MemoizedSearchBarComponent;
|
|
1696
1701
|
|
|
1697
|
-
export { AnnualDatepicker, AnnualDatepickerProps, AsProp, Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, Checkbox, CheckboxOptionProps, CheckboxProps, CheckboxStyleVariantType, CheckboxStyleVariants, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, DangerouslySetInnerHTML, DayCalendarType, DayDatepicker, DayDatepickerHeaderCustomProps, DayDatepickerOptionProps, DayDatepickerProps, DayDatepickerSizeVariantType, DayDatepickerSizeVariants, DomainType, Dropdown, DropdownButton, DropdownButtonContext, DropdownButtonContextType, DropdownButtonOptionProps, DropdownButtonProps, DropdownButtonSizeVariantType, DropdownButtonSizeVariants, DropdownButtonStyleVariantType, DropdownButtonStyleVariants, DropdownContentProps, DropdownItem, DropdownOptionProps, DropdownOptionVariantType, DropdownOptionVariants, DropdownProps, DropdownSizeVariantType, DropdownTriggerButtonProps, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, InputSizeVariantType, InputSizeVariants, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MemoizedSearchBarComponent, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalBottomProps, ModalContainerOptionProps, ModalContainerProps, ModalContext, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHandlerContext, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, ModalStateType, ModalTopProps, MonthClickDateInfo, MonthDatepicker, MonthDatepickerProps, MonthDatepickerStyleType, MotionStack, MotionStackComponentType, MotionStackContainer, MotionStackContainerComponentType, NumberCombobox, NumberComboboxErrorType, NumberComboboxInputType, NumberComboboxOptionProps, NumberComboboxProps, NumberComboboxSizeVariantType, NumberComboboxSizeVariants, Pagination, PaginationOptionProps, PaginationProps, PaginationSizeSelectorProps, PolymorphicComponentProps, PolymorphicRef, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, RADIO_SYMBOL_KEY, Radio, RadioOptionProps, RadioProps, RemoveModalProps, SLIDER_Z_INDEX, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ScrollbarRefType, SearchBar, SearchBarBaseProps, SearchBarCategoryProps, SearchBarComponent, SearchBarInputProps, SearchBarProps, SearchType, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, Skeleton, SkeletonProps, Slider, SliderBounds, SliderProps, SpacingTokens, SplitButton, SplitButtonContext, SplitButtonContextType, SplitButtonOptionProps, SplitButtonProps, SplitButtonSizeVariantType, SplitButtonSizeVariants, SplitButtonStyleVariantType, SplitButtonStyleVariants, Stack, StackComponentType, StackContainer, StackContainerComponentType, StackContainerGenericProps, StackContainerOptionProps, StackContainerProps, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledStack, StyledStackContainer, Switch, SwitchOptionProps, SwitchProps, TREE_SYMBOL_KEY, TabOptionProps, TabProps, TabSizeVariantType, TabSizeVariants, TabStyleVariantType, TabStyleVariants, TabStyledProps, TabTextStyledProps, Tabs, TabsContext, TabsContextType, TabsOptionProps, TabsProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, ToggleButton, ToggleButtonInnerRadioOptionProps, ToggleButtonInnerRadioProps, ToggleButtonOptionProps, ToggleButtonProps, ToggleButtonSizeVariantType, ToggleButtonSizeVariants, Tooltip, TooltipContentProps, TooltipOptionProps, TooltipProps, Tree, TreeItem, TreeItemOptionProps, TreeItemProps, TreeOptionProps, TreeProps, TypographyTokens, WeekClickDateInfo, WeekDatepicker, WeekDatepickerProps, WeekDatepickerStyleType, YearSelectProps, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
|
1702
|
+
export { AnnualDatepicker, AnnualDatepickerProps, AsProp, Avatar, AvatarOptionProps, AvatarProps, AvatarSizeVariantType, AvatarSizeVariants, BackDropOptionProps, BackDropProps, BorderRadiusTokens, BoxShadowTokens, Button, ButtonComponent, ButtonOptionProps, ButtonProps, ButtonSizeVariantType, ButtonSizeVariants, ButtonStyleVariantType, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout, CalloutOptionProps, CalloutProps, CalloutType, CalloutTypes, Checkbox, CheckboxOptionProps, CheckboxProps, CheckboxStyleVariantType, CheckboxStyleVariants, ChipButton, ChipButtonOptionProps, ChipButtonProps, ChipButtonSizeVariantType, ChipButtonSizeVariants, ChipButtonStyleVariantType, ChipButtonStyleVariants, ChipToggle, ChipToggleOptionProps, ChipToggleProps, ChipToggleSizeVariantType, ChipToggleSizeVariants, ChipToggleStyleVariantType, ChipToggleStyleVariants, ColorTokens, DangerouslySetInnerHTML, DayCalendarType, DayDatepicker, DayDatepickerHeaderCustomProps, DayDatepickerOptionProps, DayDatepickerProps, DayDatepickerSizeVariantType, DayDatepickerSizeVariants, DomainType, Dropdown, DropdownButton, DropdownButtonContext, DropdownButtonContextType, DropdownButtonOptionProps, DropdownButtonProps, DropdownButtonSizeVariantType, DropdownButtonSizeVariants, DropdownButtonStyleVariantType, DropdownButtonStyleVariants, DropdownContentProps, DropdownItem, DropdownOptionProps, DropdownOptionVariantType, DropdownOptionVariants, DropdownProps, DropdownSizeVariantType, DropdownTriggerButtonProps, FontWeightTokens, Icon, IconButton, IconButtonComponent, IconButtonOptionProps, IconButtonProps, IconButtonSizeVariantType, IconButtonSizeVariants, IconButtonStyleVariantType, IconButtonStyleVariants, IconOptionProps, IconProps, IconSizeVariants, IconSizeVariantsType, Input, InputButton, InputButtonOptionProps, InputButtonProps, InputOptionProps, InputProps, InputSizeVariantType, InputSizeVariants, List, ListContent2ColumnsProps, ListOptionProps, ListProps, ListText2RowsProps, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, MemoizedSearchBarComponent, Menu, MenuOptionProps, MenuProps, MenuSizeVariantType, MenuSizeVariants, MinusBoxOptionProps, MinusBoxProps, MinusButton, Modal, ModalBodyOptionProps, ModalBodyProps, ModalBottomProps, ModalContainerOptionProps, ModalContainerProps, ModalContext, ModalFooterOptionProps, ModalFooterProps, ModalFooterType, ModalHandlerContext, ModalHeaderOptionProps, ModalHeaderProps, ModalHeaderType, ModalPortal as ModalProvider, ModalSize, ModalSizeType, ModalStateType, ModalTopProps, MonthClickDateInfo, MonthDatepicker, MonthDatepickerProps, MonthDatepickerStyleType, MotionStack, MotionStackComponentType, MotionStackContainer, MotionStackContainerComponentType, NumberCombobox, NumberComboboxErrorType, NumberComboboxInputType, NumberComboboxOptionProps, NumberComboboxProps, NumberComboboxSizeVariantType, NumberComboboxSizeVariants, Pagination, PaginationOptionProps, PaginationProps, PaginationSizeSelectorProps, PolymorphicComponentProps, PolymorphicRef, Popper, PopperOptionProps, PopperPortal, PopperPortalProps, PopperProps, PopperTrigger, PopperTriggerProps, RADIO_SYMBOL_KEY, Radio, RadioOptionProps, RadioProps, RemoveModalProps, SLIDER_Z_INDEX, ScrollArea, ScrollAreaOptionProps, ScrollAreaProps, ScrollbarRefType, SearchBar, SearchBarBaseProps, SearchBarCategoryProps, SearchBarComponent, SearchBarInputProps, SearchBarProps, SearchType, SelectInputButton, SelectInputButtonOptionProps, SelectInputButtonProps, ShoplflowProvider, ShoplflowProviderProps, Skeleton, SkeletonProps, Slider, SliderBounds, SliderProps, SpacingTokens, SplitButton, SplitButtonContext, SplitButtonContextType, SplitButtonOptionProps, SplitButtonProps, SplitButtonSizeVariantType, SplitButtonSizeVariants, SplitButtonStyleVariantType, SplitButtonStyleVariants, Stack, StackComponentType, StackContainer, StackContainerComponentType, StackContainerGenericProps, StackContainerOptionProps, StackContainerProps, StackGenericProps, StackOptionProps, StackProps, StyledIcon, StyledStack, StyledStackContainer, Switch, SwitchOptionProps, SwitchProps, SwitchSizeVariantType, SwitchSizeVariants, TREE_SYMBOL_KEY, TabOptionProps, TabProps, TabSizeVariantType, TabSizeVariants, TabStyleVariantType, TabStyleVariants, TabStyledProps, TabTextStyledProps, Tabs, TabsContext, TabsContextType, TabsOptionProps, TabsProps, Tag, TagOptionProps, TagProps, TagSizeVariantType, TagSizeVariants, TagStyleVariantType, TagStyleVariants, Text, Text2Rows, TextArea, TextAreaOptionProps, TextAreaProps, TextOptionProps, TextProps, ToggleButton, ToggleButtonInnerRadioOptionProps, ToggleButtonInnerRadioProps, ToggleButtonOptionProps, ToggleButtonProps, ToggleButtonSizeVariantType, ToggleButtonSizeVariants, Tooltip, TooltipContentProps, TooltipOptionProps, TooltipProps, Tree, TreeItem, TreeItemOptionProps, TreeItemProps, TreeOptionProps, TreeProps, TypographyTokens, WeekClickDateInfo, WeekDatepicker, WeekDatepickerProps, WeekDatepickerStyleType, YearSelectProps, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
package/dist/index.js
CHANGED
|
@@ -1185,10 +1185,25 @@ var Modal = {
|
|
|
1185
1185
|
Bottom: ModalBottom,
|
|
1186
1186
|
Footer: ModalFooter_default
|
|
1187
1187
|
};
|
|
1188
|
+
var getContainerStylesBySizeVar = (sizeVar) => {
|
|
1189
|
+
switch (sizeVar) {
|
|
1190
|
+
case "S":
|
|
1191
|
+
return css`
|
|
1192
|
+
width: 24px;
|
|
1193
|
+
height: 24px;
|
|
1194
|
+
border-radius: ${borderRadiusTokens.borderRadius04};
|
|
1195
|
+
`;
|
|
1196
|
+
case "M":
|
|
1197
|
+
return css`
|
|
1198
|
+
border-radius: ${borderRadiusTokens.borderRadius06};
|
|
1199
|
+
width: 32px;
|
|
1200
|
+
height: 32px;
|
|
1201
|
+
`;
|
|
1202
|
+
}
|
|
1203
|
+
};
|
|
1188
1204
|
var SwitchContainer = styled6.div`
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
border-radius: 6px;
|
|
1205
|
+
${({ sizeVar }) => getContainerStylesBySizeVar(sizeVar)}
|
|
1206
|
+
|
|
1192
1207
|
display: flex;
|
|
1193
1208
|
align-items: center;
|
|
1194
1209
|
justify-content: center;
|
|
@@ -1198,12 +1213,42 @@ var SwitchContainer = styled6.div`
|
|
|
1198
1213
|
background: ${({ isDisabled }) => !isDisabled && colorTokens.neutral400_5};
|
|
1199
1214
|
}
|
|
1200
1215
|
`;
|
|
1216
|
+
var getCircleStylesBySizeVar = (sizeVar) => {
|
|
1217
|
+
switch (sizeVar) {
|
|
1218
|
+
case "S":
|
|
1219
|
+
return css`
|
|
1220
|
+
width: 12px;
|
|
1221
|
+
height: 12px;
|
|
1222
|
+
aspect-ratio: 1/1;
|
|
1223
|
+
border-radius: ${borderRadiusTokens.borderRadius04};
|
|
1224
|
+
`;
|
|
1225
|
+
case "M":
|
|
1226
|
+
return css`
|
|
1227
|
+
width: 14px;
|
|
1228
|
+
height: 14px;
|
|
1229
|
+
border-radius: 50%;
|
|
1230
|
+
`;
|
|
1231
|
+
}
|
|
1232
|
+
};
|
|
1233
|
+
var getSwitchStylesBySizeVar = (sizeVar) => {
|
|
1234
|
+
switch (sizeVar) {
|
|
1235
|
+
case "S":
|
|
1236
|
+
return css`
|
|
1237
|
+
border-radius: ${borderRadiusTokens.borderRadius06};
|
|
1238
|
+
width: 24px;
|
|
1239
|
+
height: 16px;
|
|
1240
|
+
`;
|
|
1241
|
+
case "M":
|
|
1242
|
+
return css`
|
|
1243
|
+
border-radius: 12px;
|
|
1244
|
+
width: 28px;
|
|
1245
|
+
height: 18px;
|
|
1246
|
+
`;
|
|
1247
|
+
}
|
|
1248
|
+
};
|
|
1201
1249
|
var StyledSwitch = styled6.input`
|
|
1202
1250
|
appearance: none;
|
|
1203
1251
|
border: none;
|
|
1204
|
-
border-radius: 12px;
|
|
1205
|
-
width: 28px;
|
|
1206
|
-
height: 18px;
|
|
1207
1252
|
cursor: pointer;
|
|
1208
1253
|
position: relative;
|
|
1209
1254
|
display: flex;
|
|
@@ -1212,16 +1257,16 @@ var StyledSwitch = styled6.input`
|
|
|
1212
1257
|
padding: 2px;
|
|
1213
1258
|
margin: 0;
|
|
1214
1259
|
|
|
1260
|
+
${({ sizeVar }) => getSwitchStylesBySizeVar(sizeVar)}
|
|
1261
|
+
|
|
1215
1262
|
// slider
|
|
1216
1263
|
&:before {
|
|
1217
1264
|
content: '';
|
|
1218
1265
|
left: 2px;
|
|
1219
1266
|
display: block;
|
|
1220
1267
|
position: absolute;
|
|
1221
|
-
|
|
1222
|
-
height: 14px;
|
|
1268
|
+
${({ sizeVar }) => getCircleStylesBySizeVar(sizeVar)}
|
|
1223
1269
|
background: ${colorTokens.neutral0};
|
|
1224
|
-
border-radius: 50%;
|
|
1225
1270
|
transition: left 0.2s ease-in-out;
|
|
1226
1271
|
}
|
|
1227
1272
|
|
|
@@ -1229,7 +1274,7 @@ var StyledSwitch = styled6.input`
|
|
|
1229
1274
|
&:checked {
|
|
1230
1275
|
background: ${({ activeColor }) => colorTokens[activeColor]};
|
|
1231
1276
|
&:before {
|
|
1232
|
-
left: 12px;
|
|
1277
|
+
left: ${({ sizeVar }) => sizeVar === "S" ? "10px" : "12px"};
|
|
1233
1278
|
}
|
|
1234
1279
|
}
|
|
1235
1280
|
|
|
@@ -1262,27 +1307,30 @@ var Switch = (_a) => {
|
|
|
1262
1307
|
isSelected,
|
|
1263
1308
|
disabled = false,
|
|
1264
1309
|
activeColor = "primary300",
|
|
1265
|
-
defaultSelected = false
|
|
1310
|
+
defaultSelected = false,
|
|
1311
|
+
sizeVar = "M"
|
|
1266
1312
|
} = _b, rest = __objRest(_b, [
|
|
1267
1313
|
"onChange",
|
|
1268
1314
|
"isSelected",
|
|
1269
1315
|
"disabled",
|
|
1270
1316
|
"activeColor",
|
|
1271
|
-
"defaultSelected"
|
|
1317
|
+
"defaultSelected",
|
|
1318
|
+
"sizeVar"
|
|
1272
1319
|
]);
|
|
1273
1320
|
const [isToggled, handleToggle] = useOnToggle(isSelected, defaultSelected);
|
|
1274
1321
|
const handleOnChange = (e) => {
|
|
1275
1322
|
handleToggle();
|
|
1276
1323
|
onChange && onChange(e);
|
|
1277
1324
|
};
|
|
1278
|
-
return /* @__PURE__ */ jsx(SwitchContainer, { isDisabled: disabled, children: /* @__PURE__ */ jsx(
|
|
1325
|
+
return /* @__PURE__ */ jsx(SwitchContainer, { isDisabled: disabled, sizeVar, children: /* @__PURE__ */ jsx(
|
|
1279
1326
|
StyledSwitch,
|
|
1280
1327
|
__spreadProps(__spreadValues({
|
|
1281
1328
|
type: "checkbox",
|
|
1282
1329
|
checked: isToggled,
|
|
1283
1330
|
disabled,
|
|
1284
1331
|
onChange: handleOnChange,
|
|
1285
|
-
activeColor
|
|
1332
|
+
activeColor,
|
|
1333
|
+
sizeVar
|
|
1286
1334
|
}, rest), {
|
|
1287
1335
|
"data-shoplflow": "Switch"
|
|
1288
1336
|
})
|
|
@@ -1290,6 +1338,12 @@ var Switch = (_a) => {
|
|
|
1290
1338
|
};
|
|
1291
1339
|
var Switch_default = Switch;
|
|
1292
1340
|
|
|
1341
|
+
// src/components/Switch/Switch.types.ts
|
|
1342
|
+
var SwitchSizeVariants = {
|
|
1343
|
+
S: "S",
|
|
1344
|
+
M: "M"
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1293
1347
|
// src/components/Chips/ChipToggle/ChipToggle.types.ts
|
|
1294
1348
|
var ChipToggleStyleVariants = {
|
|
1295
1349
|
SOLID: "SOLID"
|
|
@@ -7275,4 +7329,4 @@ classnames/index.js:
|
|
|
7275
7329
|
*)
|
|
7276
7330
|
*/
|
|
7277
7331
|
|
|
7278
|
-
export { AnnualDatepicker_default as AnnualDatepicker, Avatar_default as Avatar, AvatarSizeVariants, Button_default as Button, ButtonSizeVariants, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout_default as Callout, CalloutTypes, Checkbox_default as Checkbox, CheckboxStyleVariants, ChipButton_default as ChipButton, ChipButtonSizeVariants, ChipButtonStyleVariants, ChipToggle_default as ChipToggle, ChipToggleSizeVariants, ChipToggleStyleVariants, DayDatepicker_default as DayDatepicker, DayDatepickerSizeVariants, Dropdown_default as Dropdown, DropdownButton_default as DropdownButton, DropdownButtonContext, DropdownButtonSizeVariants, DropdownButtonStyleVariants, DropdownOptionVariants, Icon_default as Icon, IconButton_default as IconButton, IconButtonSizeVariants, IconButtonStyleVariants, IconSizeVariants, Input_default as Input, InputButton_default as InputButton, InputSizeVariants, List_default as List, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu_default as Menu, MenuSizeVariants, MinusButton_default as MinusButton, Modal, ModalContext, ModalHandlerContext, ModalPortal_default as ModalProvider, ModalSize, MonthDatepicker_default as MonthDatepicker, MotionStack, MotionStackContainer, NumberCombobox_default as NumberCombobox, NumberComboboxSizeVariants, Pagination_default as Pagination, Popper_default as Popper, PopperPortal, PopperTrigger, RADIO_SYMBOL_KEY, Radio_default as Radio, SLIDER_Z_INDEX, ScrollArea_default as ScrollArea, SearchBar2 as SearchBar, SelectInputButton_default as SelectInputButton, ShoplflowProvider_default as ShoplflowProvider, Skeleton_default as Skeleton, Slider_default as Slider, SplitButton_default as SplitButton, SplitButtonContext, SplitButtonSizeVariants, SplitButtonStyleVariants, Stack_default as Stack, StackContainer_default as StackContainer, StyledIcon, StyledStack, StyledStackContainer, Switch_default as Switch, TREE_SYMBOL_KEY, TabSizeVariants, TabStyleVariants, Tabs_default as Tabs, TabsContext, Tag_default as Tag, TagSizeVariants, TagStyleVariants, Text_default as Text, Text2Rows, TextArea_default as TextArea, ToggleButton_default as ToggleButton, ToggleButtonSizeVariants, Tooltip_default as Tooltip, Tree_default as Tree, TreeItem, WeekDatepicker_default as WeekDatepicker, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|
|
7332
|
+
export { AnnualDatepicker_default as AnnualDatepicker, Avatar_default as Avatar, AvatarSizeVariants, Button_default as Button, ButtonSizeVariants, ButtonStyleVariants, CHECKBOX_SYMBOL_KEY, Callout_default as Callout, CalloutTypes, Checkbox_default as Checkbox, CheckboxStyleVariants, ChipButton_default as ChipButton, ChipButtonSizeVariants, ChipButtonStyleVariants, ChipToggle_default as ChipToggle, ChipToggleSizeVariants, ChipToggleStyleVariants, DayDatepicker_default as DayDatepicker, DayDatepickerSizeVariants, Dropdown_default as Dropdown, DropdownButton_default as DropdownButton, DropdownButtonContext, DropdownButtonSizeVariants, DropdownButtonStyleVariants, DropdownOptionVariants, Icon_default as Icon, IconButton_default as IconButton, IconButtonSizeVariants, IconButtonStyleVariants, IconSizeVariants, Input_default as Input, InputButton_default as InputButton, InputSizeVariants, List_default as List, MODAL_FOOTER_KEY, MODAL_HEADER_KEY, Menu_default as Menu, MenuSizeVariants, MinusButton_default as MinusButton, Modal, ModalContext, ModalHandlerContext, ModalPortal_default as ModalProvider, ModalSize, MonthDatepicker_default as MonthDatepicker, MotionStack, MotionStackContainer, NumberCombobox_default as NumberCombobox, NumberComboboxSizeVariants, Pagination_default as Pagination, Popper_default as Popper, PopperPortal, PopperTrigger, RADIO_SYMBOL_KEY, Radio_default as Radio, SLIDER_Z_INDEX, ScrollArea_default as ScrollArea, SearchBar2 as SearchBar, SelectInputButton_default as SelectInputButton, ShoplflowProvider_default as ShoplflowProvider, Skeleton_default as Skeleton, Slider_default as Slider, SplitButton_default as SplitButton, SplitButtonContext, SplitButtonSizeVariants, SplitButtonStyleVariants, Stack_default as Stack, StackContainer_default as StackContainer, StyledIcon, StyledStack, StyledStackContainer, Switch_default as Switch, SwitchSizeVariants, TREE_SYMBOL_KEY, TabSizeVariants, TabStyleVariants, Tabs_default as Tabs, TabsContext, Tag_default as Tag, TagSizeVariants, TagStyleVariants, Text_default as Text, Text2Rows, TextArea_default as TextArea, ToggleButton_default as ToggleButton, ToggleButtonSizeVariants, Tooltip_default as Tooltip, Tree_default as Tree, TreeItem, WeekDatepicker_default as WeekDatepicker, borderRadiusTokens, boxShadowTokens, colorTokens, fontWeightTokens, getDomain, spacingTokens, typographyTokens, useDomain, useDropdownButtonContext, useHandleModal, useModalValue, useSplitButtonContext, useTabs };
|