@atom-learning/components 3.10.0 → 3.11.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/CHANGELOG.md +9 -3
- package/dist/components/accordion/Accordion.d.ts +19 -7
- package/dist/components/accordion/AccordionContent.d.ts +19 -7
- package/dist/components/accordion/AccordionItem.d.ts +19 -7
- package/dist/components/accordion/AccordionTrigger.d.ts +19 -7
- package/dist/components/action-icon/ActionIcon.d.ts +20 -8
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +19 -7
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +19 -7
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +38 -14
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +38 -14
- package/dist/components/badge/BadgeIcon.d.ts +38 -14
- package/dist/components/badge/BadgeText.d.ts +38 -14
- package/dist/components/badge/stitches.badge.colorscheme.config.js +1 -1
- package/dist/components/badge/stitches.badge.colorscheme.config.js.map +1 -1
- package/dist/components/banner/BannerContainer.d.ts +38 -14
- package/dist/components/banner/banner-regular/BannerRegularActions.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +38 -14
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +40 -16
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +19 -7
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +38 -14
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +40 -16
- package/dist/components/box/Box.d.ts +19 -7
- package/dist/components/button/Button.d.ts +20 -8
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +19 -7
- package/dist/components/calendar/Day.js +1 -1
- package/dist/components/calendar/Day.js.map +1 -1
- package/dist/components/carousel/CarouselArrows.js +1 -1
- package/dist/components/carousel/CarouselArrows.js.map +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +19 -7
- package/dist/components/carousel/CarouselPagination.js +1 -1
- package/dist/components/carousel/CarouselPagination.js.map +1 -1
- package/dist/components/carousel/CarouselSlide.d.ts +19 -7
- package/dist/components/carousel/CarouselSlider.d.ts +19 -7
- package/dist/components/checkbox/Checkbox.d.ts +19 -7
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +57 -21
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +76 -28
- package/dist/components/chip/Chip.d.ts +95 -35
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +76 -28
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +76 -28
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js.map +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +38 -14
- package/dist/components/combobox/Combobox.d.ts +19 -7
- package/dist/components/combobox/ComboboxInput.d.ts +19 -7
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxInput.js.map +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +19 -7
- package/dist/components/combobox/ComboboxOption.d.ts +19 -7
- package/dist/components/combobox/ComboboxOption.js +1 -1
- package/dist/components/combobox/ComboboxOption.js.map +1 -1
- package/dist/components/combobox/ComboboxPopover.d.ts +19 -7
- package/dist/components/create-password-field/CreatePasswordField.js +1 -1
- package/dist/components/data-table/DataTableBulkActions.js +1 -1
- package/dist/components/data-table/DataTableBulkActions.js.map +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +19 -7
- package/dist/components/data-table/DataTableRow.js +1 -1
- package/dist/components/data-table/DataTableRow.js.map +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +19 -7
- package/dist/components/dialog/Dialog.d.ts +19 -7
- package/dist/components/dialog/DialogBackground.d.ts +38 -14
- package/dist/components/dialog/DialogClose.d.ts +19 -7
- package/dist/components/dialog/DialogContent.d.ts +19 -7
- package/dist/components/dismissible/DismissibleRoot.d.ts +3 -4
- package/dist/components/dismissible/DismissibleRoot.js +1 -1
- package/dist/components/dismissible/DismissibleRoot.js.map +1 -1
- package/dist/components/divider/Divider.d.ts +19 -7
- package/dist/components/drawer/Drawer.d.ts +116 -44
- package/dist/components/drawer/DrawerContent.d.ts +19 -7
- package/dist/components/drawer/DrawerContent.js +1 -1
- package/dist/components/drawer/DrawerContent.js.map +1 -1
- package/dist/components/drawer/DrawerFooter.d.ts +19 -7
- package/dist/components/drawer/DrawerHeader.d.ts +19 -7
- package/dist/components/drawer/DrawerMain.d.ts +19 -7
- package/dist/components/drawer/DrawerOverlay.d.ts +19 -7
- package/dist/components/drawer/DrawerTrigger.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +19 -7
- package/dist/components/empty-state/EmptyState.d.ts +38 -14
- package/dist/components/empty-state/EmptyStateBody.d.ts +38 -14
- package/dist/components/empty-state/EmptyStateImage.d.ts +38 -14
- package/dist/components/empty-state/EmptyStateTitle.d.ts +19 -7
- package/dist/components/flex/Flex.d.ts +19 -7
- package/dist/components/form/Form.d.ts +19 -7
- package/dist/components/form/Form.js +1 -1
- package/dist/components/grid/Grid.d.ts +19 -7
- package/dist/components/heading/Heading.d.ts +19 -7
- package/dist/components/icon/Icon.d.ts +19 -7
- package/dist/components/image/Image.d.ts +19 -7
- package/dist/components/inline-message/InlineMessage.config.js +1 -1
- package/dist/components/inline-message/InlineMessage.config.js.map +1 -1
- package/dist/components/inline-message/InlineMessage.d.ts +38 -14
- package/dist/components/input/Input.d.ts +19 -7
- package/dist/components/input/Input.js +1 -1
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/label/Label.d.ts +19 -7
- package/dist/components/link/Link.d.ts +19 -7
- package/dist/components/link/Link.js +1 -1
- package/dist/components/link/Link.js.map +1 -1
- package/dist/components/list/List.d.ts +38 -14
- package/dist/components/list/List.js +1 -1
- package/dist/components/list/List.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +19 -7
- package/dist/components/navigation/NavigationMenu.d.ts +19 -7
- package/dist/components/navigation/NavigationMenu.styles.js +1 -1
- package/dist/components/navigation/NavigationMenu.styles.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +19 -7
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +38 -14
- package/dist/components/navigation/NavigationMenuLink.js +1 -1
- package/dist/components/navigation/NavigationMenuLink.js.map +1 -1
- package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.js +1 -1
- package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +38 -14
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +38 -14
- package/dist/components/notification-badge/NotificationBadge.d.ts +38 -14
- package/dist/components/notification-badge/NotificationBadge.js +1 -1
- package/dist/components/notification-badge/NotificationBadge.js.map +1 -1
- package/dist/components/pagination/Pagination.js +1 -1
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/PaginationNextButton.d.ts +40 -16
- package/dist/components/pagination/PaginationPreviousButton.d.ts +40 -16
- package/dist/components/popover/Popover.d.ts +19 -7
- package/dist/components/popover/PopoverContent.d.ts +19 -7
- package/dist/components/progress-bar/ProgressBar.d.ts +20 -8
- package/dist/components/progress-bar/ProgressBar.js +1 -1
- package/dist/components/progress-bar/ProgressBar.js.map +1 -1
- package/dist/components/radio-button/RadioButton.d.ts +19 -7
- package/dist/components/radio-button/RadioButton.js +1 -1
- package/dist/components/radio-button/RadioButton.js.map +1 -1
- package/dist/components/radio-button/RadioButtonGroup.d.ts +19 -7
- package/dist/components/radio-card/RadioCard.d.ts +19 -7
- package/dist/components/radio-card/RadioCard.js +1 -1
- package/dist/components/radio-card/RadioCard.js.map +1 -1
- package/dist/components/section-message/SectionMessage.d.ts +137 -53
- package/dist/components/section-message/SectionMessage.js +1 -1
- package/dist/components/section-message/SectionMessage.js.map +1 -1
- package/dist/components/select/Select.d.ts +19 -7
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/side-bar/SideBar.d.ts +152 -56
- package/dist/components/side-bar/SideBarComponents.d.ts +133 -49
- package/dist/components/slider/Slider.d.ts +19 -7
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/sortable/Handle.d.ts +40 -16
- package/dist/components/stack/Stack.d.ts +19 -7
- package/dist/components/stack-content/StackContent.d.ts +19 -7
- package/dist/components/stepper/StepperStepBullet.d.ts +38 -14
- package/dist/components/stepper/StepperStepBullet.js +1 -1
- package/dist/components/stepper/StepperStepBullet.js.map +1 -1
- package/dist/components/stepper/StepperStepContainer.d.ts +38 -14
- package/dist/components/stepper/StepperStepContainer.js +1 -1
- package/dist/components/stepper/StepperStepContainer.js.map +1 -1
- package/dist/components/stepper/StepperStepLabel.d.ts +38 -14
- package/dist/components/stepper/StepperStepLabel.js +1 -1
- package/dist/components/stepper/StepperStepLabel.js.map +1 -1
- package/dist/components/switch/Switch.d.ts +19 -7
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/table/Table.d.ts +19 -7
- package/dist/components/table/TableBody.d.ts +19 -7
- package/dist/components/table/TableCell.d.ts +19 -7
- package/dist/components/table/TableFooter.d.ts +19 -7
- package/dist/components/table/TableFooterCell.d.ts +19 -7
- package/dist/components/table/TableHeader.d.ts +19 -7
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeader.js.map +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +19 -7
- package/dist/components/table/TableRow.d.ts +38 -14
- package/dist/components/tabs/Tabs.d.ts +19 -7
- package/dist/components/tabs/TabsContent.d.ts +19 -7
- package/dist/components/tabs/TabsTrigger.d.ts +19 -7
- package/dist/components/tabs/TabsTriggerList.d.ts +19 -7
- package/dist/components/tabs/TabsTriggerList.js +1 -1
- package/dist/components/tabs/TabsTriggerList.js.map +1 -1
- package/dist/components/text/Text.d.ts +20 -8
- package/dist/components/textarea/Textarea.d.ts +19 -7
- package/dist/components/textarea/Textarea.js +1 -1
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/tile/Tile.d.ts +19 -7
- package/dist/components/tile/Tile.js +1 -1
- package/dist/components/tile/Tile.js.map +1 -1
- package/dist/components/tile/TileGroup.d.ts +19 -7
- package/dist/components/tile-interactive/TileInteractive.d.ts +38 -14
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +57 -21
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +38 -14
- package/dist/components/toast/Toast.d.ts +64 -28
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +38 -14
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +38 -14
- package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +19 -7
- package/dist/components/toggle-group/index.d.ts +95 -35
- package/dist/components/tooltip/TooltipContent.d.ts +19 -7
- package/dist/components/top-bar/TopBar.d.ts +19 -7
- package/dist/components/top-bar/TopBarBrand.d.ts +57 -21
- package/dist/components/tree/Tree.d.ts +228 -84
- package/dist/components/tree/TreeCollapsible.d.ts +19 -7
- package/dist/components/tree/TreeCollapsibleContent.d.ts +38 -14
- package/dist/components/tree/TreeIcon.d.ts +38 -14
- package/dist/components/tree/TreeItemContent.d.ts +19 -7
- package/dist/components/tree/TreeListItem.d.ts +19 -7
- package/dist/components/video/Video.d.ts +38 -14
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +19 -7
- package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +14 -0
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -1
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/stitches.d.ts +209 -77
- package/dist/stitches.js +1 -1
- package/dist/stitches.js.map +1 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +20 -8
- package/dist/utilities/create-theme-variants/createThemeVariants.js.map +1 -1
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +38 -14
- package/package.json +4 -4
|
@@ -23,9 +23,10 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
23
23
|
hover: string;
|
|
24
24
|
}, {
|
|
25
25
|
colors: {
|
|
26
|
-
|
|
26
|
+
textBold: any;
|
|
27
|
+
textRegular: any;
|
|
27
28
|
textSubtle: any;
|
|
28
|
-
|
|
29
|
+
textMinimal: any;
|
|
29
30
|
background: any;
|
|
30
31
|
backgroundAccent: any;
|
|
31
32
|
grey100: any;
|
|
@@ -172,11 +173,6 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
172
173
|
alpha200: any;
|
|
173
174
|
alpha250: any;
|
|
174
175
|
alpha600: any;
|
|
175
|
-
primaryLight: any;
|
|
176
|
-
primary: any;
|
|
177
|
-
primaryMid: any;
|
|
178
|
-
primaryDark: any;
|
|
179
|
-
secondary: any;
|
|
180
176
|
brandRed: any;
|
|
181
177
|
brandRedAccent: any;
|
|
182
178
|
brandGreen: any;
|
|
@@ -185,6 +181,10 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
185
181
|
brandPurpleAccent: any;
|
|
186
182
|
brandYellow: any;
|
|
187
183
|
brandYellowAccent: any;
|
|
184
|
+
infoLight: any;
|
|
185
|
+
info: any;
|
|
186
|
+
infoMid: any;
|
|
187
|
+
infoDark: any;
|
|
188
188
|
successLight: any;
|
|
189
189
|
success: any;
|
|
190
190
|
successMid: any;
|
|
@@ -208,6 +208,18 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
208
208
|
glBlueLight: any;
|
|
209
209
|
glBluePrimary: any;
|
|
210
210
|
glBlueDark: any;
|
|
211
|
+
primary100: any;
|
|
212
|
+
primary200: any;
|
|
213
|
+
primary300: any;
|
|
214
|
+
primary400: any;
|
|
215
|
+
primary500: any;
|
|
216
|
+
primary600: any;
|
|
217
|
+
primary700: any;
|
|
218
|
+
primary800: any;
|
|
219
|
+
primary900: any;
|
|
220
|
+
primary1000: any;
|
|
221
|
+
primary1100: any;
|
|
222
|
+
primary1200: any;
|
|
211
223
|
};
|
|
212
224
|
space: {
|
|
213
225
|
"0": any;
|
|
@@ -346,9 +358,10 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
346
358
|
hover: string;
|
|
347
359
|
}, {
|
|
348
360
|
colors: {
|
|
349
|
-
|
|
361
|
+
textBold: any;
|
|
362
|
+
textRegular: any;
|
|
350
363
|
textSubtle: any;
|
|
351
|
-
|
|
364
|
+
textMinimal: any;
|
|
352
365
|
background: any;
|
|
353
366
|
backgroundAccent: any;
|
|
354
367
|
grey100: any;
|
|
@@ -495,11 +508,6 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
495
508
|
alpha200: any;
|
|
496
509
|
alpha250: any;
|
|
497
510
|
alpha600: any;
|
|
498
|
-
primaryLight: any;
|
|
499
|
-
primary: any;
|
|
500
|
-
primaryMid: any;
|
|
501
|
-
primaryDark: any;
|
|
502
|
-
secondary: any;
|
|
503
511
|
brandRed: any;
|
|
504
512
|
brandRedAccent: any;
|
|
505
513
|
brandGreen: any;
|
|
@@ -508,6 +516,10 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
508
516
|
brandPurpleAccent: any;
|
|
509
517
|
brandYellow: any;
|
|
510
518
|
brandYellowAccent: any;
|
|
519
|
+
infoLight: any;
|
|
520
|
+
info: any;
|
|
521
|
+
infoMid: any;
|
|
522
|
+
infoDark: any;
|
|
511
523
|
successLight: any;
|
|
512
524
|
success: any;
|
|
513
525
|
successMid: any;
|
|
@@ -531,6 +543,18 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
531
543
|
glBlueLight: any;
|
|
532
544
|
glBluePrimary: any;
|
|
533
545
|
glBlueDark: any;
|
|
546
|
+
primary100: any;
|
|
547
|
+
primary200: any;
|
|
548
|
+
primary300: any;
|
|
549
|
+
primary400: any;
|
|
550
|
+
primary500: any;
|
|
551
|
+
primary600: any;
|
|
552
|
+
primary700: any;
|
|
553
|
+
primary800: any;
|
|
554
|
+
primary900: any;
|
|
555
|
+
primary1000: any;
|
|
556
|
+
primary1100: any;
|
|
557
|
+
primary1200: any;
|
|
534
558
|
};
|
|
535
559
|
space: {
|
|
536
560
|
"0": any;
|
|
@@ -18,9 +18,10 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
|
|
|
18
18
|
hover: string;
|
|
19
19
|
}, {
|
|
20
20
|
colors: {
|
|
21
|
-
|
|
21
|
+
textBold: any;
|
|
22
|
+
textRegular: any;
|
|
22
23
|
textSubtle: any;
|
|
23
|
-
|
|
24
|
+
textMinimal: any;
|
|
24
25
|
background: any;
|
|
25
26
|
backgroundAccent: any;
|
|
26
27
|
grey100: any;
|
|
@@ -167,11 +168,6 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
|
|
|
167
168
|
alpha200: any;
|
|
168
169
|
alpha250: any;
|
|
169
170
|
alpha600: any;
|
|
170
|
-
primaryLight: any;
|
|
171
|
-
primary: any;
|
|
172
|
-
primaryMid: any;
|
|
173
|
-
primaryDark: any;
|
|
174
|
-
secondary: any;
|
|
175
171
|
brandRed: any;
|
|
176
172
|
brandRedAccent: any;
|
|
177
173
|
brandGreen: any;
|
|
@@ -180,6 +176,10 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
|
|
|
180
176
|
brandPurpleAccent: any;
|
|
181
177
|
brandYellow: any;
|
|
182
178
|
brandYellowAccent: any;
|
|
179
|
+
infoLight: any;
|
|
180
|
+
info: any;
|
|
181
|
+
infoMid: any;
|
|
182
|
+
infoDark: any;
|
|
183
183
|
successLight: any;
|
|
184
184
|
success: any;
|
|
185
185
|
successMid: any;
|
|
@@ -203,6 +203,18 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
|
|
|
203
203
|
glBlueLight: any;
|
|
204
204
|
glBluePrimary: any;
|
|
205
205
|
glBlueDark: any;
|
|
206
|
+
primary100: any;
|
|
207
|
+
primary200: any;
|
|
208
|
+
primary300: any;
|
|
209
|
+
primary400: any;
|
|
210
|
+
primary500: any;
|
|
211
|
+
primary600: any;
|
|
212
|
+
primary700: any;
|
|
213
|
+
primary800: any;
|
|
214
|
+
primary900: any;
|
|
215
|
+
primary1000: any;
|
|
216
|
+
primary1100: any;
|
|
217
|
+
primary1200: any;
|
|
206
218
|
};
|
|
207
219
|
space: {
|
|
208
220
|
"0": any;
|
|
@@ -22,9 +22,10 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
|
|
|
22
22
|
hover: string;
|
|
23
23
|
}, {
|
|
24
24
|
colors: {
|
|
25
|
-
|
|
25
|
+
textBold: any;
|
|
26
|
+
textRegular: any;
|
|
26
27
|
textSubtle: any;
|
|
27
|
-
|
|
28
|
+
textMinimal: any;
|
|
28
29
|
background: any;
|
|
29
30
|
backgroundAccent: any;
|
|
30
31
|
grey100: any;
|
|
@@ -171,11 +172,6 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
|
|
|
171
172
|
alpha200: any;
|
|
172
173
|
alpha250: any;
|
|
173
174
|
alpha600: any;
|
|
174
|
-
primaryLight: any;
|
|
175
|
-
primary: any;
|
|
176
|
-
primaryMid: any;
|
|
177
|
-
primaryDark: any;
|
|
178
|
-
secondary: any;
|
|
179
175
|
brandRed: any;
|
|
180
176
|
brandRedAccent: any;
|
|
181
177
|
brandGreen: any;
|
|
@@ -184,6 +180,10 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
|
|
|
184
180
|
brandPurpleAccent: any;
|
|
185
181
|
brandYellow: any;
|
|
186
182
|
brandYellowAccent: any;
|
|
183
|
+
infoLight: any;
|
|
184
|
+
info: any;
|
|
185
|
+
infoMid: any;
|
|
186
|
+
infoDark: any;
|
|
187
187
|
successLight: any;
|
|
188
188
|
success: any;
|
|
189
189
|
successMid: any;
|
|
@@ -207,6 +207,18 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
|
|
|
207
207
|
glBlueLight: any;
|
|
208
208
|
glBluePrimary: any;
|
|
209
209
|
glBlueDark: any;
|
|
210
|
+
primary100: any;
|
|
211
|
+
primary200: any;
|
|
212
|
+
primary300: any;
|
|
213
|
+
primary400: any;
|
|
214
|
+
primary500: any;
|
|
215
|
+
primary600: any;
|
|
216
|
+
primary700: any;
|
|
217
|
+
primary800: any;
|
|
218
|
+
primary900: any;
|
|
219
|
+
primary1000: any;
|
|
220
|
+
primary1100: any;
|
|
221
|
+
primary1200: any;
|
|
210
222
|
};
|
|
211
223
|
space: {
|
|
212
224
|
"0": any;
|
|
@@ -18,9 +18,10 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
|
|
|
18
18
|
hover: string;
|
|
19
19
|
}, {
|
|
20
20
|
colors: {
|
|
21
|
-
|
|
21
|
+
textBold: any;
|
|
22
|
+
textRegular: any;
|
|
22
23
|
textSubtle: any;
|
|
23
|
-
|
|
24
|
+
textMinimal: any;
|
|
24
25
|
background: any;
|
|
25
26
|
backgroundAccent: any;
|
|
26
27
|
grey100: any;
|
|
@@ -167,11 +168,6 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
|
|
|
167
168
|
alpha200: any;
|
|
168
169
|
alpha250: any;
|
|
169
170
|
alpha600: any;
|
|
170
|
-
primaryLight: any;
|
|
171
|
-
primary: any;
|
|
172
|
-
primaryMid: any;
|
|
173
|
-
primaryDark: any;
|
|
174
|
-
secondary: any;
|
|
175
171
|
brandRed: any;
|
|
176
172
|
brandRedAccent: any;
|
|
177
173
|
brandGreen: any;
|
|
@@ -180,6 +176,10 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
|
|
|
180
176
|
brandPurpleAccent: any;
|
|
181
177
|
brandYellow: any;
|
|
182
178
|
brandYellowAccent: any;
|
|
179
|
+
infoLight: any;
|
|
180
|
+
info: any;
|
|
181
|
+
infoMid: any;
|
|
182
|
+
infoDark: any;
|
|
183
183
|
successLight: any;
|
|
184
184
|
success: any;
|
|
185
185
|
successMid: any;
|
|
@@ -203,6 +203,18 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
|
|
|
203
203
|
glBlueLight: any;
|
|
204
204
|
glBluePrimary: any;
|
|
205
205
|
glBlueDark: any;
|
|
206
|
+
primary100: any;
|
|
207
|
+
primary200: any;
|
|
208
|
+
primary300: any;
|
|
209
|
+
primary400: any;
|
|
210
|
+
primary500: any;
|
|
211
|
+
primary600: any;
|
|
212
|
+
primary700: any;
|
|
213
|
+
primary800: any;
|
|
214
|
+
primary900: any;
|
|
215
|
+
primary1000: any;
|
|
216
|
+
primary1100: any;
|
|
217
|
+
primary1200: any;
|
|
206
218
|
};
|
|
207
219
|
space: {
|
|
208
220
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import w from"invariant";import*as m from"react";import{useForm as S,FormProvider as E}from"react-hook-form";import g from"react-hook-form-persist";import{styled as F}from"../../stitches.js";import{StorageEnum as V}from"./Form.types.js";const v=F("form",{}),
|
|
1
|
+
import w from"invariant";import*as m from"react";import{useForm as S,FormProvider as E}from"react-hook-form";import g from"react-hook-form-persist";import{styled as F}from"../../stitches.js";import{StorageEnum as V}from"./Form.types.js";const v=F("form",{}),x=({persist:r,watch:o,setValue:n,children:l})=>{const{id:i,...e}=r;let t={...e,storage:e.storage===V.LOCAL?window.localStorage:window.sessionStorage};if(e.exclude){const{exclude:h,...a}=t,u=o(),c=Object.keys(u).filter(s=>{var d;if(!((d=e.exclude)!=null&&d.includes(s)))return s});t={...a,include:c}}return g(i,{watch:o,setValue:n},t),l},b=({formMethods:r,handleSubmit:o,onSubmit:n,onError:l,children:i,...e})=>m.createElement(E,{...r},m.createElement(v,{"aria-label":"form",...e,onSubmit:o(n,l)},i)),p=({children:r,defaultValues:o={},onSubmit:n,onError:l,validationMode:i="onBlur",render:e,persist:t,...h})=>{w(!(r&&e),"`Form` should only be given one of `children` or `render`. When both are provided, `render` will be used and `children` will be ignored.");const a=S({defaultValues:o,mode:i}),{handleSubmit:u,watch:c,setValue:s}=a,d=e?e(a):r,f={formMethods:a,handleSubmit:u,onSubmit:n,onError:l,...h};return t?m.createElement(x,{persist:t,watch:c,setValue:s},m.createElement(b,{...f},d)):m.createElement(b,{...f},d)};p.displayName="Form";export{p as Form};
|
|
2
2
|
//# sourceMappingURL=Form.js.map
|
|
@@ -20,9 +20,10 @@ declare const GridContainer: import("@stitches/react/types/styled-component").St
|
|
|
20
20
|
hover: string;
|
|
21
21
|
}, {
|
|
22
22
|
colors: {
|
|
23
|
-
|
|
23
|
+
textBold: any;
|
|
24
|
+
textRegular: any;
|
|
24
25
|
textSubtle: any;
|
|
25
|
-
|
|
26
|
+
textMinimal: any;
|
|
26
27
|
background: any;
|
|
27
28
|
backgroundAccent: any;
|
|
28
29
|
grey100: any;
|
|
@@ -169,11 +170,6 @@ declare const GridContainer: import("@stitches/react/types/styled-component").St
|
|
|
169
170
|
alpha200: any;
|
|
170
171
|
alpha250: any;
|
|
171
172
|
alpha600: any;
|
|
172
|
-
primaryLight: any;
|
|
173
|
-
primary: any;
|
|
174
|
-
primaryMid: any;
|
|
175
|
-
primaryDark: any;
|
|
176
|
-
secondary: any;
|
|
177
173
|
brandRed: any;
|
|
178
174
|
brandRedAccent: any;
|
|
179
175
|
brandGreen: any;
|
|
@@ -182,6 +178,10 @@ declare const GridContainer: import("@stitches/react/types/styled-component").St
|
|
|
182
178
|
brandPurpleAccent: any;
|
|
183
179
|
brandYellow: any;
|
|
184
180
|
brandYellowAccent: any;
|
|
181
|
+
infoLight: any;
|
|
182
|
+
info: any;
|
|
183
|
+
infoMid: any;
|
|
184
|
+
infoDark: any;
|
|
185
185
|
successLight: any;
|
|
186
186
|
success: any;
|
|
187
187
|
successMid: any;
|
|
@@ -205,6 +205,18 @@ declare const GridContainer: import("@stitches/react/types/styled-component").St
|
|
|
205
205
|
glBlueLight: any;
|
|
206
206
|
glBluePrimary: any;
|
|
207
207
|
glBlueDark: any;
|
|
208
|
+
primary100: any;
|
|
209
|
+
primary200: any;
|
|
210
|
+
primary300: any;
|
|
211
|
+
primary400: any;
|
|
212
|
+
primary500: any;
|
|
213
|
+
primary600: any;
|
|
214
|
+
primary700: any;
|
|
215
|
+
primary800: any;
|
|
216
|
+
primary900: any;
|
|
217
|
+
primary1000: any;
|
|
218
|
+
primary1100: any;
|
|
219
|
+
primary1200: any;
|
|
208
220
|
};
|
|
209
221
|
space: {
|
|
210
222
|
"0": any;
|
|
@@ -21,9 +21,10 @@ export declare const StyledHeading: import("@stitches/react/types/styled-compone
|
|
|
21
21
|
hover: string;
|
|
22
22
|
}, {
|
|
23
23
|
colors: {
|
|
24
|
-
|
|
24
|
+
textBold: any;
|
|
25
|
+
textRegular: any;
|
|
25
26
|
textSubtle: any;
|
|
26
|
-
|
|
27
|
+
textMinimal: any;
|
|
27
28
|
background: any;
|
|
28
29
|
backgroundAccent: any;
|
|
29
30
|
grey100: any;
|
|
@@ -170,11 +171,6 @@ export declare const StyledHeading: import("@stitches/react/types/styled-compone
|
|
|
170
171
|
alpha200: any;
|
|
171
172
|
alpha250: any;
|
|
172
173
|
alpha600: any;
|
|
173
|
-
primaryLight: any;
|
|
174
|
-
primary: any;
|
|
175
|
-
primaryMid: any;
|
|
176
|
-
primaryDark: any;
|
|
177
|
-
secondary: any;
|
|
178
174
|
brandRed: any;
|
|
179
175
|
brandRedAccent: any;
|
|
180
176
|
brandGreen: any;
|
|
@@ -183,6 +179,10 @@ export declare const StyledHeading: import("@stitches/react/types/styled-compone
|
|
|
183
179
|
brandPurpleAccent: any;
|
|
184
180
|
brandYellow: any;
|
|
185
181
|
brandYellowAccent: any;
|
|
182
|
+
infoLight: any;
|
|
183
|
+
info: any;
|
|
184
|
+
infoMid: any;
|
|
185
|
+
infoDark: any;
|
|
186
186
|
successLight: any;
|
|
187
187
|
success: any;
|
|
188
188
|
successMid: any;
|
|
@@ -206,6 +206,18 @@ export declare const StyledHeading: import("@stitches/react/types/styled-compone
|
|
|
206
206
|
glBlueLight: any;
|
|
207
207
|
glBluePrimary: any;
|
|
208
208
|
glBlueDark: any;
|
|
209
|
+
primary100: any;
|
|
210
|
+
primary200: any;
|
|
211
|
+
primary300: any;
|
|
212
|
+
primary400: any;
|
|
213
|
+
primary500: any;
|
|
214
|
+
primary600: any;
|
|
215
|
+
primary700: any;
|
|
216
|
+
primary800: any;
|
|
217
|
+
primary900: any;
|
|
218
|
+
primary1000: any;
|
|
219
|
+
primary1100: any;
|
|
220
|
+
primary1200: any;
|
|
209
221
|
};
|
|
210
222
|
space: {
|
|
211
223
|
"0": any;
|
|
@@ -20,9 +20,10 @@ export declare const StyledIcon: import("@stitches/react/types/styled-component"
|
|
|
20
20
|
hover: string;
|
|
21
21
|
}, {
|
|
22
22
|
colors: {
|
|
23
|
-
|
|
23
|
+
textBold: any;
|
|
24
|
+
textRegular: any;
|
|
24
25
|
textSubtle: any;
|
|
25
|
-
|
|
26
|
+
textMinimal: any;
|
|
26
27
|
background: any;
|
|
27
28
|
backgroundAccent: any;
|
|
28
29
|
grey100: any;
|
|
@@ -169,11 +170,6 @@ export declare const StyledIcon: import("@stitches/react/types/styled-component"
|
|
|
169
170
|
alpha200: any;
|
|
170
171
|
alpha250: any;
|
|
171
172
|
alpha600: any;
|
|
172
|
-
primaryLight: any;
|
|
173
|
-
primary: any;
|
|
174
|
-
primaryMid: any;
|
|
175
|
-
primaryDark: any;
|
|
176
|
-
secondary: any;
|
|
177
173
|
brandRed: any;
|
|
178
174
|
brandRedAccent: any;
|
|
179
175
|
brandGreen: any;
|
|
@@ -182,6 +178,10 @@ export declare const StyledIcon: import("@stitches/react/types/styled-component"
|
|
|
182
178
|
brandPurpleAccent: any;
|
|
183
179
|
brandYellow: any;
|
|
184
180
|
brandYellowAccent: any;
|
|
181
|
+
infoLight: any;
|
|
182
|
+
info: any;
|
|
183
|
+
infoMid: any;
|
|
184
|
+
infoDark: any;
|
|
185
185
|
successLight: any;
|
|
186
186
|
success: any;
|
|
187
187
|
successMid: any;
|
|
@@ -205,6 +205,18 @@ export declare const StyledIcon: import("@stitches/react/types/styled-component"
|
|
|
205
205
|
glBlueLight: any;
|
|
206
206
|
glBluePrimary: any;
|
|
207
207
|
glBlueDark: any;
|
|
208
|
+
primary100: any;
|
|
209
|
+
primary200: any;
|
|
210
|
+
primary300: any;
|
|
211
|
+
primary400: any;
|
|
212
|
+
primary500: any;
|
|
213
|
+
primary600: any;
|
|
214
|
+
primary700: any;
|
|
215
|
+
primary800: any;
|
|
216
|
+
primary900: any;
|
|
217
|
+
primary1000: any;
|
|
218
|
+
primary1100: any;
|
|
219
|
+
primary1200: any;
|
|
208
220
|
};
|
|
209
221
|
space: {
|
|
210
222
|
"0": any;
|
|
@@ -20,9 +20,10 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
20
20
|
hover: string;
|
|
21
21
|
}, {
|
|
22
22
|
colors: {
|
|
23
|
-
|
|
23
|
+
textBold: any;
|
|
24
|
+
textRegular: any;
|
|
24
25
|
textSubtle: any;
|
|
25
|
-
|
|
26
|
+
textMinimal: any;
|
|
26
27
|
background: any;
|
|
27
28
|
backgroundAccent: any;
|
|
28
29
|
grey100: any;
|
|
@@ -169,11 +170,6 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
169
170
|
alpha200: any;
|
|
170
171
|
alpha250: any;
|
|
171
172
|
alpha600: any;
|
|
172
|
-
primaryLight: any;
|
|
173
|
-
primary: any;
|
|
174
|
-
primaryMid: any;
|
|
175
|
-
primaryDark: any;
|
|
176
|
-
secondary: any;
|
|
177
173
|
brandRed: any;
|
|
178
174
|
brandRedAccent: any;
|
|
179
175
|
brandGreen: any;
|
|
@@ -182,6 +178,10 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
182
178
|
brandPurpleAccent: any;
|
|
183
179
|
brandYellow: any;
|
|
184
180
|
brandYellowAccent: any;
|
|
181
|
+
infoLight: any;
|
|
182
|
+
info: any;
|
|
183
|
+
infoMid: any;
|
|
184
|
+
infoDark: any;
|
|
185
185
|
successLight: any;
|
|
186
186
|
success: any;
|
|
187
187
|
successMid: any;
|
|
@@ -205,6 +205,18 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
205
205
|
glBlueLight: any;
|
|
206
206
|
glBluePrimary: any;
|
|
207
207
|
glBlueDark: any;
|
|
208
|
+
primary100: any;
|
|
209
|
+
primary200: any;
|
|
210
|
+
primary300: any;
|
|
211
|
+
primary400: any;
|
|
212
|
+
primary500: any;
|
|
213
|
+
primary600: any;
|
|
214
|
+
primary700: any;
|
|
215
|
+
primary800: any;
|
|
216
|
+
primary900: any;
|
|
217
|
+
primary1000: any;
|
|
218
|
+
primary1100: any;
|
|
219
|
+
primary1200: any;
|
|
208
220
|
};
|
|
209
221
|
space: {
|
|
210
222
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{OkCircle as o,Danger as n,Info as r,Error as c}from"@atom-learning/icons";const e={success:{color:"$success"},warning:{color:"$warningText","& svg":{color:"$warningDark"}},info:{color:"$
|
|
1
|
+
import{OkCircle as o,Danger as n,Info as r,Error as c}from"@atom-learning/icons";const e={success:{color:"$success"},warning:{color:"$warningText","& svg":{color:"$warningDark"}},info:{color:"$info"},neutral:{color:"$tonal400"},error:{color:"$danger"}},s={success:o,warning:n,info:r,neutral:r,error:c};export{s as INLINE_MESSAGE_ICONS,e as INLINE_MESSAGE_THEMES};
|
|
2
2
|
//# sourceMappingURL=InlineMessage.config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineMessage.config.js","sources":["../../../src/components/inline-message/InlineMessage.config.ts"],"sourcesContent":["import { Danger, Error, Info, OkCircle } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport type { CSS } from '~/stitches'\n\nimport { InlineMessageTheme } from './InlineMessage.types'\n\nexport const INLINE_MESSAGE_THEMES: Record<InlineMessageTheme, CSS> = {\n success: { color: '$success' },\n warning: { color: '$warningText', '& svg': { color: '$warningDark' } },\n info: { color: '$
|
|
1
|
+
{"version":3,"file":"InlineMessage.config.js","sources":["../../../src/components/inline-message/InlineMessage.config.ts"],"sourcesContent":["import { Danger, Error, Info, OkCircle } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport type { CSS } from '~/stitches'\n\nimport { InlineMessageTheme } from './InlineMessage.types'\n\nexport const INLINE_MESSAGE_THEMES: Record<InlineMessageTheme, CSS> = {\n success: { color: '$success' },\n warning: { color: '$warningText', '& svg': { color: '$warningDark' } },\n info: { color: '$info' },\n neutral: { color: '$tonal400' },\n error: { color: '$danger' }\n}\n\nexport const INLINE_MESSAGE_ICONS: Record<\n InlineMessageTheme,\n React.FC<React.SVGProps<SVGSVGElement>>\n> = {\n success: OkCircle,\n warning: Danger,\n info: Info,\n neutral: Info,\n error: Error\n}\n"],"names":["INLINE_MESSAGE_THEMES","INLINE_MESSAGE_ICONS","OkCircle","Danger","Info","Error"],"mappings":"iFAOO,MAAMA,EAAyD,CACpE,QAAS,CAAE,MAAO,UAAW,EAC7B,QAAS,CAAE,MAAO,eAAgB,QAAS,CAAE,MAAO,cAAe,CAAE,EACrE,KAAM,CAAE,MAAO,OAAQ,EACvB,QAAS,CAAE,MAAO,WAAY,EAC9B,MAAO,CAAE,MAAO,SAAU,CAC5B,EAEaC,EAGT,CACF,QAASC,EACT,QAASC,EACT,KAAMC,EACN,QAASA,EACT,MAAOC,CACT"}
|
|
@@ -24,9 +24,10 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
24
24
|
hover: string;
|
|
25
25
|
}, {
|
|
26
26
|
colors: {
|
|
27
|
-
|
|
27
|
+
textBold: any;
|
|
28
|
+
textRegular: any;
|
|
28
29
|
textSubtle: any;
|
|
29
|
-
|
|
30
|
+
textMinimal: any;
|
|
30
31
|
background: any;
|
|
31
32
|
backgroundAccent: any;
|
|
32
33
|
grey100: any;
|
|
@@ -173,11 +174,6 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
173
174
|
alpha200: any;
|
|
174
175
|
alpha250: any;
|
|
175
176
|
alpha600: any;
|
|
176
|
-
primaryLight: any;
|
|
177
|
-
primary: any;
|
|
178
|
-
primaryMid: any;
|
|
179
|
-
primaryDark: any;
|
|
180
|
-
secondary: any;
|
|
181
177
|
brandRed: any;
|
|
182
178
|
brandRedAccent: any;
|
|
183
179
|
brandGreen: any;
|
|
@@ -186,6 +182,10 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
186
182
|
brandPurpleAccent: any;
|
|
187
183
|
brandYellow: any;
|
|
188
184
|
brandYellowAccent: any;
|
|
185
|
+
infoLight: any;
|
|
186
|
+
info: any;
|
|
187
|
+
infoMid: any;
|
|
188
|
+
infoDark: any;
|
|
189
189
|
successLight: any;
|
|
190
190
|
success: any;
|
|
191
191
|
successMid: any;
|
|
@@ -209,6 +209,18 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
209
209
|
glBlueLight: any;
|
|
210
210
|
glBluePrimary: any;
|
|
211
211
|
glBlueDark: any;
|
|
212
|
+
primary100: any;
|
|
213
|
+
primary200: any;
|
|
214
|
+
primary300: any;
|
|
215
|
+
primary400: any;
|
|
216
|
+
primary500: any;
|
|
217
|
+
primary600: any;
|
|
218
|
+
primary700: any;
|
|
219
|
+
primary800: any;
|
|
220
|
+
primary900: any;
|
|
221
|
+
primary1000: any;
|
|
222
|
+
primary1100: any;
|
|
223
|
+
primary1200: any;
|
|
212
224
|
};
|
|
213
225
|
space: {
|
|
214
226
|
"0": any;
|
|
@@ -344,9 +356,10 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
344
356
|
hover: string;
|
|
345
357
|
}, {
|
|
346
358
|
colors: {
|
|
347
|
-
|
|
359
|
+
textBold: any;
|
|
360
|
+
textRegular: any;
|
|
348
361
|
textSubtle: any;
|
|
349
|
-
|
|
362
|
+
textMinimal: any;
|
|
350
363
|
background: any;
|
|
351
364
|
backgroundAccent: any;
|
|
352
365
|
grey100: any;
|
|
@@ -493,11 +506,6 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
493
506
|
alpha200: any;
|
|
494
507
|
alpha250: any;
|
|
495
508
|
alpha600: any;
|
|
496
|
-
primaryLight: any;
|
|
497
|
-
primary: any;
|
|
498
|
-
primaryMid: any;
|
|
499
|
-
primaryDark: any;
|
|
500
|
-
secondary: any;
|
|
501
509
|
brandRed: any;
|
|
502
510
|
brandRedAccent: any;
|
|
503
511
|
brandGreen: any;
|
|
@@ -506,6 +514,10 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
506
514
|
brandPurpleAccent: any;
|
|
507
515
|
brandYellow: any;
|
|
508
516
|
brandYellowAccent: any;
|
|
517
|
+
infoLight: any;
|
|
518
|
+
info: any;
|
|
519
|
+
infoMid: any;
|
|
520
|
+
infoDark: any;
|
|
509
521
|
successLight: any;
|
|
510
522
|
success: any;
|
|
511
523
|
successMid: any;
|
|
@@ -529,6 +541,18 @@ declare const InlineMessageContainer: import("@stitches/react/types/styled-compo
|
|
|
529
541
|
glBlueLight: any;
|
|
530
542
|
glBluePrimary: any;
|
|
531
543
|
glBlueDark: any;
|
|
544
|
+
primary100: any;
|
|
545
|
+
primary200: any;
|
|
546
|
+
primary300: any;
|
|
547
|
+
primary400: any;
|
|
548
|
+
primary500: any;
|
|
549
|
+
primary600: any;
|
|
550
|
+
primary700: any;
|
|
551
|
+
primary800: any;
|
|
552
|
+
primary900: any;
|
|
553
|
+
primary1000: any;
|
|
554
|
+
primary1100: any;
|
|
555
|
+
primary1200: any;
|
|
532
556
|
};
|
|
533
557
|
space: {
|
|
534
558
|
"0": any;
|
|
@@ -21,9 +21,10 @@ declare const StyledInput: import("@stitches/react/types/styled-component").Styl
|
|
|
21
21
|
hover: string;
|
|
22
22
|
}, {
|
|
23
23
|
colors: {
|
|
24
|
-
|
|
24
|
+
textBold: any;
|
|
25
|
+
textRegular: any;
|
|
25
26
|
textSubtle: any;
|
|
26
|
-
|
|
27
|
+
textMinimal: any;
|
|
27
28
|
background: any;
|
|
28
29
|
backgroundAccent: any;
|
|
29
30
|
grey100: any;
|
|
@@ -170,11 +171,6 @@ declare const StyledInput: import("@stitches/react/types/styled-component").Styl
|
|
|
170
171
|
alpha200: any;
|
|
171
172
|
alpha250: any;
|
|
172
173
|
alpha600: any;
|
|
173
|
-
primaryLight: any;
|
|
174
|
-
primary: any;
|
|
175
|
-
primaryMid: any;
|
|
176
|
-
primaryDark: any;
|
|
177
|
-
secondary: any;
|
|
178
174
|
brandRed: any;
|
|
179
175
|
brandRedAccent: any;
|
|
180
176
|
brandGreen: any;
|
|
@@ -183,6 +179,10 @@ declare const StyledInput: import("@stitches/react/types/styled-component").Styl
|
|
|
183
179
|
brandPurpleAccent: any;
|
|
184
180
|
brandYellow: any;
|
|
185
181
|
brandYellowAccent: any;
|
|
182
|
+
infoLight: any;
|
|
183
|
+
info: any;
|
|
184
|
+
infoMid: any;
|
|
185
|
+
infoDark: any;
|
|
186
186
|
successLight: any;
|
|
187
187
|
success: any;
|
|
188
188
|
successMid: any;
|
|
@@ -206,6 +206,18 @@ declare const StyledInput: import("@stitches/react/types/styled-component").Styl
|
|
|
206
206
|
glBlueLight: any;
|
|
207
207
|
glBluePrimary: any;
|
|
208
208
|
glBlueDark: any;
|
|
209
|
+
primary100: any;
|
|
210
|
+
primary200: any;
|
|
211
|
+
primary300: any;
|
|
212
|
+
primary400: any;
|
|
213
|
+
primary500: any;
|
|
214
|
+
primary600: any;
|
|
215
|
+
primary700: any;
|
|
216
|
+
primary800: any;
|
|
217
|
+
primary900: any;
|
|
218
|
+
primary1000: any;
|
|
219
|
+
primary1100: any;
|
|
220
|
+
primary1200: any;
|
|
209
221
|
};
|
|
210
222
|
space: {
|
|
211
223
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{styled as l}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{disabledStyle as d}from"../../utilities/style/disabledStyle.js";const n=l("input",{appearance:"none",border:"1px solid $tonal400",borderRadius:"$0",boxShadow:"none",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",px:"$3",transition:"all 100ms ease-out",width:"100%","&:focus":{borderColor:"$
|
|
1
|
+
import*as e from"react";import{styled as l}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{disabledStyle as d}from"../../utilities/style/disabledStyle.js";const n=l("input",{appearance:"none",border:"1px solid $tonal400",borderRadius:"$0",boxShadow:"none",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",px:"$3",transition:"all 100ms ease-out",width:"100%","&:focus":{borderColor:"$primary800",outline:"none"},"&[disabled]":d,"&::placeholder":{color:"$tonal300",opacity:1},variants:{size:{sm:{height:"$3",fontSize:"$sm",lineHeight:1.7},md:{height:"$4",fontSize:"$md",lineHeight:2},lg:{height:"$5",fontSize:"$md",lineHeight:2}},state:{error:{border:"1px solid $danger"}}}}),a=e.forwardRef(({type:t="text",size:o="md",...i},r)=>t==="number"?e.createElement(n,{type:"text",inputMode:"numeric",pattern:"[0-9]*",size:o,...i,ref:r}):e.createElement(n,{type:t,size:o,...i,ref:r}));a.displayName="Input";export{a as Input};
|
|
2
2
|
//# sourceMappingURL=Input.js.map
|