@atom-learning/components 3.10.1 → 3.11.1
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 +2 -2
- 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/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 +136 -52
- 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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const toastVariants: {
|
|
3
|
-
readonly blank: {
|
|
4
|
-
readonly bg: "$primary";
|
|
5
|
-
};
|
|
6
|
-
readonly error: {
|
|
7
|
-
readonly bg: "$danger";
|
|
8
|
-
};
|
|
9
3
|
readonly loading: {
|
|
10
|
-
readonly bg: "$
|
|
4
|
+
readonly bg: "$info";
|
|
5
|
+
};
|
|
6
|
+
readonly blank: {
|
|
7
|
+
readonly bg: "$info";
|
|
11
8
|
};
|
|
12
9
|
readonly success: {
|
|
13
10
|
readonly bg: "$success";
|
|
14
11
|
};
|
|
12
|
+
readonly error: {
|
|
13
|
+
readonly bg: "$danger";
|
|
14
|
+
};
|
|
15
15
|
};
|
|
16
16
|
export declare const StyledToast: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
17
17
|
direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | "revert-layer" | undefined;
|
|
@@ -37,9 +37,10 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
37
37
|
hover: string;
|
|
38
38
|
}, {
|
|
39
39
|
colors: {
|
|
40
|
-
|
|
40
|
+
textBold: any;
|
|
41
|
+
textRegular: any;
|
|
41
42
|
textSubtle: any;
|
|
42
|
-
|
|
43
|
+
textMinimal: any;
|
|
43
44
|
background: any;
|
|
44
45
|
backgroundAccent: any;
|
|
45
46
|
grey100: any;
|
|
@@ -186,11 +187,6 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
186
187
|
alpha200: any;
|
|
187
188
|
alpha250: any;
|
|
188
189
|
alpha600: any;
|
|
189
|
-
primaryLight: any;
|
|
190
|
-
primary: any;
|
|
191
|
-
primaryMid: any;
|
|
192
|
-
primaryDark: any;
|
|
193
|
-
secondary: any;
|
|
194
190
|
brandRed: any;
|
|
195
191
|
brandRedAccent: any;
|
|
196
192
|
brandGreen: any;
|
|
@@ -199,6 +195,10 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
199
195
|
brandPurpleAccent: any;
|
|
200
196
|
brandYellow: any;
|
|
201
197
|
brandYellowAccent: any;
|
|
198
|
+
infoLight: any;
|
|
199
|
+
info: any;
|
|
200
|
+
infoMid: any;
|
|
201
|
+
infoDark: any;
|
|
202
202
|
successLight: any;
|
|
203
203
|
success: any;
|
|
204
204
|
successMid: any;
|
|
@@ -222,6 +222,18 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
222
222
|
glBlueLight: any;
|
|
223
223
|
glBluePrimary: any;
|
|
224
224
|
glBlueDark: any;
|
|
225
|
+
primary100: any;
|
|
226
|
+
primary200: any;
|
|
227
|
+
primary300: any;
|
|
228
|
+
primary400: any;
|
|
229
|
+
primary500: any;
|
|
230
|
+
primary600: any;
|
|
231
|
+
primary700: any;
|
|
232
|
+
primary800: any;
|
|
233
|
+
primary900: any;
|
|
234
|
+
primary1000: any;
|
|
235
|
+
primary1100: any;
|
|
236
|
+
primary1200: any;
|
|
225
237
|
};
|
|
226
238
|
space: {
|
|
227
239
|
"0": any;
|
|
@@ -357,9 +369,10 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
357
369
|
hover: string;
|
|
358
370
|
}, {
|
|
359
371
|
colors: {
|
|
360
|
-
|
|
372
|
+
textBold: any;
|
|
373
|
+
textRegular: any;
|
|
361
374
|
textSubtle: any;
|
|
362
|
-
|
|
375
|
+
textMinimal: any;
|
|
363
376
|
background: any;
|
|
364
377
|
backgroundAccent: any;
|
|
365
378
|
grey100: any;
|
|
@@ -506,11 +519,6 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
506
519
|
alpha200: any;
|
|
507
520
|
alpha250: any;
|
|
508
521
|
alpha600: any;
|
|
509
|
-
primaryLight: any;
|
|
510
|
-
primary: any;
|
|
511
|
-
primaryMid: any;
|
|
512
|
-
primaryDark: any;
|
|
513
|
-
secondary: any;
|
|
514
522
|
brandRed: any;
|
|
515
523
|
brandRedAccent: any;
|
|
516
524
|
brandGreen: any;
|
|
@@ -519,6 +527,10 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
519
527
|
brandPurpleAccent: any;
|
|
520
528
|
brandYellow: any;
|
|
521
529
|
brandYellowAccent: any;
|
|
530
|
+
infoLight: any;
|
|
531
|
+
info: any;
|
|
532
|
+
infoMid: any;
|
|
533
|
+
infoDark: any;
|
|
522
534
|
successLight: any;
|
|
523
535
|
success: any;
|
|
524
536
|
successMid: any;
|
|
@@ -542,6 +554,18 @@ export declare const StyledToast: import("@stitches/react/types/styled-component
|
|
|
542
554
|
glBlueLight: any;
|
|
543
555
|
glBluePrimary: any;
|
|
544
556
|
glBlueDark: any;
|
|
557
|
+
primary100: any;
|
|
558
|
+
primary200: any;
|
|
559
|
+
primary300: any;
|
|
560
|
+
primary400: any;
|
|
561
|
+
primary500: any;
|
|
562
|
+
primary600: any;
|
|
563
|
+
primary700: any;
|
|
564
|
+
primary800: any;
|
|
565
|
+
primary900: any;
|
|
566
|
+
primary1000: any;
|
|
567
|
+
primary1100: any;
|
|
568
|
+
primary1200: any;
|
|
545
569
|
};
|
|
546
570
|
space: {
|
|
547
571
|
"0": any;
|
|
@@ -686,9 +710,10 @@ export declare const Toast: {
|
|
|
686
710
|
hover: string;
|
|
687
711
|
}, {
|
|
688
712
|
colors: {
|
|
689
|
-
|
|
713
|
+
textBold: any;
|
|
714
|
+
textRegular: any;
|
|
690
715
|
textSubtle: any;
|
|
691
|
-
|
|
716
|
+
textMinimal: any;
|
|
692
717
|
background: any;
|
|
693
718
|
backgroundAccent: any;
|
|
694
719
|
grey100: any;
|
|
@@ -835,11 +860,6 @@ export declare const Toast: {
|
|
|
835
860
|
alpha200: any;
|
|
836
861
|
alpha250: any;
|
|
837
862
|
alpha600: any;
|
|
838
|
-
primaryLight: any;
|
|
839
|
-
primary: any;
|
|
840
|
-
primaryMid: any;
|
|
841
|
-
primaryDark: any;
|
|
842
|
-
secondary: any;
|
|
843
863
|
brandRed: any;
|
|
844
864
|
brandRedAccent: any;
|
|
845
865
|
brandGreen: any;
|
|
@@ -848,6 +868,10 @@ export declare const Toast: {
|
|
|
848
868
|
brandPurpleAccent: any;
|
|
849
869
|
brandYellow: any;
|
|
850
870
|
brandYellowAccent: any;
|
|
871
|
+
infoLight: any;
|
|
872
|
+
info: any;
|
|
873
|
+
infoMid: any;
|
|
874
|
+
infoDark: any;
|
|
851
875
|
successLight: any;
|
|
852
876
|
success: any;
|
|
853
877
|
successMid: any;
|
|
@@ -871,6 +895,18 @@ export declare const Toast: {
|
|
|
871
895
|
glBlueLight: any;
|
|
872
896
|
glBluePrimary: any;
|
|
873
897
|
glBlueDark: any;
|
|
898
|
+
primary100: any;
|
|
899
|
+
primary200: any;
|
|
900
|
+
primary300: any;
|
|
901
|
+
primary400: any;
|
|
902
|
+
primary500: any;
|
|
903
|
+
primary600: any;
|
|
904
|
+
primary700: any;
|
|
905
|
+
primary800: any;
|
|
906
|
+
primary900: any;
|
|
907
|
+
primary1000: any;
|
|
908
|
+
primary1100: any;
|
|
909
|
+
primary1200: any;
|
|
874
910
|
};
|
|
875
911
|
space: {
|
|
876
912
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as s from"react";import{styled as
|
|
1
|
+
import*as s from"react";import{styled as n}from"../../stitches.js";import{Flex as a}from"../flex/Flex.js";import{ToastCloseButton as i}from"./ToastCloseButton.js";import{ToastIcon as m}from"./ToastIcon.js";import{useToastContext as c}from"./ToastProvider.js";const p={loading:{bg:"$info"},blank:{bg:"$info"},success:{bg:"$success"},error:{bg:"$danger"}},e=n(a,{pointerEvents:"auto",borderRadius:"$0",boxShadow:"$1",boxSizing:"border-box",color:"white",minHeight:"$5",position:"relative",px:"$4",py:"$1",transition:"background-color 50ms ease-out","@allowMotion":{transition:"background-color 50ms ease-out, transform 150ms ease-out"},variants:{type:p}}),o=t=>{const{type:r}=c();return s.createElement(e,{align:"center",type:t.type||r,...t})};o.Icon=m,o.Close=i;export{e as StyledToast,o as Toast};
|
|
2
2
|
//# sourceMappingURL=Toast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.js","sources":["../../../src/components/toast/Toast.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { Flex } from '../flex'\nimport { ToastCloseButton } from './ToastCloseButton'\nimport { ToastIcon } from './ToastIcon'\nimport { useToastContext } from './ToastProvider'\n\nconst toastVariants = {\n
|
|
1
|
+
{"version":3,"file":"Toast.js","sources":["../../../src/components/toast/Toast.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { Flex } from '../flex'\nimport { ToastCloseButton } from './ToastCloseButton'\nimport { ToastIcon } from './ToastIcon'\nimport { useToastContext } from './ToastProvider'\n\nconst toastVariants = {\n loading: { bg: '$info' },\n blank: { bg: '$info' },\n success: { bg: '$success' },\n error: { bg: '$danger' }\n} as const\n\nexport const StyledToast = styled(Flex, {\n pointerEvents: 'auto',\n borderRadius: '$0',\n boxShadow: '$1',\n boxSizing: 'border-box',\n color: 'white',\n minHeight: '$5',\n position: 'relative',\n px: '$4',\n py: '$1',\n transition: 'background-color 50ms ease-out',\n '@allowMotion': {\n transition: 'background-color 50ms ease-out, transform 150ms ease-out'\n },\n variants: {\n type: toastVariants\n }\n})\n\ntype ToastProps = Omit<React.ComponentProps<typeof StyledToast>, 'type'> & {\n type?: keyof typeof toastVariants\n}\n\nexport const Toast = (props: ToastProps): JSX.Element => {\n const { type } = useToastContext()\n return <StyledToast align=\"center\" type={props.type || type} {...props} />\n}\n\nToast.Icon = ToastIcon\nToast.Close = ToastCloseButton\n"],"names":["toastVariants","StyledToast","styled","Flex","Toast","props","type","useToastContext","React","ToastIcon","ToastCloseButton"],"mappings":"mQASA,MAAMA,EAAgB,CACpB,QAAS,CAAE,GAAI,OAAQ,EACvB,MAAO,CAAE,GAAI,OAAQ,EACrB,QAAS,CAAE,GAAI,UAAW,EAC1B,MAAO,CAAE,GAAI,SAAU,CACzB,EAEaC,EAAcC,EAAOC,EAAM,CACtC,cAAe,OACf,aAAc,KACd,UAAW,KACX,UAAW,aACX,MAAO,QACP,UAAW,KACX,SAAU,WACV,GAAI,KACJ,GAAI,KACJ,WAAY,iCACZ,eAAgB,CACd,WAAY,0DACd,EACA,SAAU,CACR,KAAMH,CACR,CACF,CAAC,EAMYI,EAASC,GAAmC,CACvD,KAAM,CAAE,KAAAC,CAAK,EAAIC,EACjB,EAAA,OAAOC,EAAA,cAACP,EAAY,CAAA,MAAM,SAAS,KAAMI,EAAM,MAAQC,EAAO,GAAGD,CAAAA,CAAO,CAC1E,EAEAD,EAAM,KAAOK,EACbL,EAAM,MAAQM"}
|
|
@@ -17,9 +17,10 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
17
17
|
hover: string;
|
|
18
18
|
}, {
|
|
19
19
|
colors: {
|
|
20
|
-
|
|
20
|
+
textBold: any;
|
|
21
|
+
textRegular: any;
|
|
21
22
|
textSubtle: any;
|
|
22
|
-
|
|
23
|
+
textMinimal: any;
|
|
23
24
|
background: any;
|
|
24
25
|
backgroundAccent: any;
|
|
25
26
|
grey100: any;
|
|
@@ -166,11 +167,6 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
166
167
|
alpha200: any;
|
|
167
168
|
alpha250: any;
|
|
168
169
|
alpha600: any;
|
|
169
|
-
primaryLight: any;
|
|
170
|
-
primary: any;
|
|
171
|
-
primaryMid: any;
|
|
172
|
-
primaryDark: any;
|
|
173
|
-
secondary: any;
|
|
174
170
|
brandRed: any;
|
|
175
171
|
brandRedAccent: any;
|
|
176
172
|
brandGreen: any;
|
|
@@ -179,6 +175,10 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
179
175
|
brandPurpleAccent: any;
|
|
180
176
|
brandYellow: any;
|
|
181
177
|
brandYellowAccent: any;
|
|
178
|
+
infoLight: any;
|
|
179
|
+
info: any;
|
|
180
|
+
infoMid: any;
|
|
181
|
+
infoDark: any;
|
|
182
182
|
successLight: any;
|
|
183
183
|
success: any;
|
|
184
184
|
successMid: any;
|
|
@@ -202,6 +202,18 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
202
202
|
glBlueLight: any;
|
|
203
203
|
glBluePrimary: any;
|
|
204
204
|
glBlueDark: any;
|
|
205
|
+
primary100: any;
|
|
206
|
+
primary200: any;
|
|
207
|
+
primary300: any;
|
|
208
|
+
primary400: any;
|
|
209
|
+
primary500: any;
|
|
210
|
+
primary600: any;
|
|
211
|
+
primary700: any;
|
|
212
|
+
primary800: any;
|
|
213
|
+
primary900: any;
|
|
214
|
+
primary1000: any;
|
|
215
|
+
primary1100: any;
|
|
216
|
+
primary1200: any;
|
|
205
217
|
};
|
|
206
218
|
space: {
|
|
207
219
|
"0": any;
|
|
@@ -338,9 +350,10 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
338
350
|
hover: string;
|
|
339
351
|
}, {
|
|
340
352
|
colors: {
|
|
341
|
-
|
|
353
|
+
textBold: any;
|
|
354
|
+
textRegular: any;
|
|
342
355
|
textSubtle: any;
|
|
343
|
-
|
|
356
|
+
textMinimal: any;
|
|
344
357
|
background: any;
|
|
345
358
|
backgroundAccent: any;
|
|
346
359
|
grey100: any;
|
|
@@ -487,11 +500,6 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
487
500
|
alpha200: any;
|
|
488
501
|
alpha250: any;
|
|
489
502
|
alpha600: any;
|
|
490
|
-
primaryLight: any;
|
|
491
|
-
primary: any;
|
|
492
|
-
primaryMid: any;
|
|
493
|
-
primaryDark: any;
|
|
494
|
-
secondary: any;
|
|
495
503
|
brandRed: any;
|
|
496
504
|
brandRedAccent: any;
|
|
497
505
|
brandGreen: any;
|
|
@@ -500,6 +508,10 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
500
508
|
brandPurpleAccent: any;
|
|
501
509
|
brandYellow: any;
|
|
502
510
|
brandYellowAccent: any;
|
|
511
|
+
infoLight: any;
|
|
512
|
+
info: any;
|
|
513
|
+
infoMid: any;
|
|
514
|
+
infoDark: any;
|
|
503
515
|
successLight: any;
|
|
504
516
|
success: any;
|
|
505
517
|
successMid: any;
|
|
@@ -523,6 +535,18 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
523
535
|
glBlueLight: any;
|
|
524
536
|
glBluePrimary: any;
|
|
525
537
|
glBlueDark: any;
|
|
538
|
+
primary100: any;
|
|
539
|
+
primary200: any;
|
|
540
|
+
primary300: any;
|
|
541
|
+
primary400: any;
|
|
542
|
+
primary500: any;
|
|
543
|
+
primary600: any;
|
|
544
|
+
primary700: any;
|
|
545
|
+
primary800: any;
|
|
546
|
+
primary900: any;
|
|
547
|
+
primary1000: any;
|
|
548
|
+
primary1100: any;
|
|
549
|
+
primary1200: any;
|
|
526
550
|
};
|
|
527
551
|
space: {
|
|
528
552
|
"0": any;
|
|
@@ -18,9 +18,10 @@ export declare const StyledItem: import("@stitches/react/types/styled-component"
|
|
|
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 StyledItem: import("@stitches/react/types/styled-component"
|
|
|
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 StyledItem: import("@stitches/react/types/styled-component"
|
|
|
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 StyledItem: import("@stitches/react/types/styled-component"
|
|
|
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;
|
|
@@ -337,9 +349,10 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
|
|
|
337
349
|
hover: string;
|
|
338
350
|
}, {
|
|
339
351
|
colors: {
|
|
340
|
-
|
|
352
|
+
textBold: any;
|
|
353
|
+
textRegular: any;
|
|
341
354
|
textSubtle: any;
|
|
342
|
-
|
|
355
|
+
textMinimal: any;
|
|
343
356
|
background: any;
|
|
344
357
|
backgroundAccent: any;
|
|
345
358
|
grey100: any;
|
|
@@ -486,11 +499,6 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
|
|
|
486
499
|
alpha200: any;
|
|
487
500
|
alpha250: any;
|
|
488
501
|
alpha600: any;
|
|
489
|
-
primaryLight: any;
|
|
490
|
-
primary: any;
|
|
491
|
-
primaryMid: any;
|
|
492
|
-
primaryDark: any;
|
|
493
|
-
secondary: any;
|
|
494
502
|
brandRed: any;
|
|
495
503
|
brandRedAccent: any;
|
|
496
504
|
brandGreen: any;
|
|
@@ -499,6 +507,10 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
|
|
|
499
507
|
brandPurpleAccent: any;
|
|
500
508
|
brandYellow: any;
|
|
501
509
|
brandYellowAccent: any;
|
|
510
|
+
infoLight: any;
|
|
511
|
+
info: any;
|
|
512
|
+
infoMid: any;
|
|
513
|
+
infoDark: any;
|
|
502
514
|
successLight: any;
|
|
503
515
|
success: any;
|
|
504
516
|
successMid: any;
|
|
@@ -522,6 +534,18 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
|
|
|
522
534
|
glBlueLight: any;
|
|
523
535
|
glBluePrimary: any;
|
|
524
536
|
glBlueDark: any;
|
|
537
|
+
primary100: any;
|
|
538
|
+
primary200: any;
|
|
539
|
+
primary300: any;
|
|
540
|
+
primary400: any;
|
|
541
|
+
primary500: any;
|
|
542
|
+
primary600: any;
|
|
543
|
+
primary700: any;
|
|
544
|
+
primary800: any;
|
|
545
|
+
primary900: any;
|
|
546
|
+
primary1000: any;
|
|
547
|
+
primary1100: any;
|
|
548
|
+
primary1200: any;
|
|
525
549
|
};
|
|
526
550
|
space: {
|
|
527
551
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as t from"@radix-ui/react-toggle-group";import{styled as e}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as o}from"../../utilities/style/focus-visible-style-block.js";import"../../utilities/style/keyframe-animations.js";const r=e(t.Item,{bg:"white",color:"$tonal400",border:"1px solid $tonal200",cursor:"pointer","&::before":{background:"$tonal200"},"&:not([disabled])":{'&:hover, &:focus-visible, &[data-state="on"]':{"&::before":{background:"none"}},"&:hover":{borderColor:"currentColor !important",color:"$
|
|
1
|
+
import*as t from"@radix-ui/react-toggle-group";import{styled as e}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as o}from"../../utilities/style/focus-visible-style-block.js";import"../../utilities/style/keyframe-animations.js";const r=e(t.Item,{bg:"white",color:"$tonal400",border:"1px solid $tonal200",cursor:"pointer","&::before":{background:"$tonal200"},"&:not([disabled])":{'&:hover, &:focus-visible, &[data-state="on"]':{"&::before":{background:"none"}},"&:hover":{borderColor:"currentColor !important",color:"$primary900"},"&:focus-visible":{...o(),'&[data-state="off"]':{borderColor:"$tonal200 !important"},'&[data-state="on"]':{boxShadow:`inset currentColor 0px 0px 0px 1px, ${o().boxShadow}`}}},"&[disabled]":{opacity:.3,cursor:"not-allowed"},'&[data-state="on"]':{color:"$primary800",borderColor:"currentColor !important",boxShadow:"inset currentColor 0px 0px 0px 1px"}}),a=r;export{r as StyledItem,a as ToggleGroupItem};
|
|
2
2
|
//# sourceMappingURL=ToggleGroupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroupItem.js","sources":["../../../src/components/toggle-group/ToggleGroupItem.tsx"],"sourcesContent":["import * as ToggleGroup from '@radix-ui/react-toggle-group'\n\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nexport const StyledItem = styled(ToggleGroup.Item, {\n bg: 'white',\n color: '$tonal400',\n border: '1px solid $tonal200',\n cursor: 'pointer',\n '&::before': {\n background: '$tonal200'\n },\n '&:not([disabled])': {\n '&:hover, &:focus-visible, &[data-state=\"on\"]': {\n '&::before': {\n background: 'none'\n }\n },\n '&:hover': {\n borderColor: 'currentColor !important',\n color: '$
|
|
1
|
+
{"version":3,"file":"ToggleGroupItem.js","sources":["../../../src/components/toggle-group/ToggleGroupItem.tsx"],"sourcesContent":["import * as ToggleGroup from '@radix-ui/react-toggle-group'\n\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nexport const StyledItem = styled(ToggleGroup.Item, {\n bg: 'white',\n color: '$tonal400',\n border: '1px solid $tonal200',\n cursor: 'pointer',\n '&::before': {\n background: '$tonal200'\n },\n '&:not([disabled])': {\n '&:hover, &:focus-visible, &[data-state=\"on\"]': {\n '&::before': {\n background: 'none'\n }\n },\n '&:hover': {\n borderColor: 'currentColor !important',\n color: '$primary900'\n },\n '&:focus-visible': {\n ...focusVisibleStyleBlock(),\n '&[data-state=\"off\"]': {\n borderColor: '$tonal200 !important'\n },\n '&[data-state=\"on\"]': {\n boxShadow: `inset currentColor 0px 0px 0px 1px, ${\n focusVisibleStyleBlock().boxShadow\n }`\n }\n }\n },\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed'\n },\n '&[data-state=\"on\"]': {\n color: '$primary800',\n borderColor: 'currentColor !important',\n boxShadow: 'inset currentColor 0px 0px 0px 1px'\n }\n})\n\nexport const ToggleGroupItem = StyledItem\n"],"names":["StyledItem","styled","ToggleGroup","focusVisibleStyleBlock","ToggleGroupItem"],"mappings":"8WAKO,MAAMA,EAAaC,EAAOC,EAAY,KAAM,CACjD,GAAI,QACJ,MAAO,YACP,OAAQ,sBACR,OAAQ,UACR,YAAa,CACX,WAAY,WACd,EACA,oBAAqB,CACnB,+CAAgD,CAC9C,YAAa,CACX,WAAY,MACd,CACF,EACA,UAAW,CACT,YAAa,0BACb,MAAO,aACT,EACA,kBAAmB,CACjB,GAAGC,EAAAA,EACH,sBAAuB,CACrB,YAAa,sBACf,EACA,qBAAsB,CACpB,UAAW,uCACTA,IAAyB,WAE7B,CACF,CACF,EACA,cAAe,CACb,QAAS,GACT,OAAQ,aACV,EACA,qBAAsB,CACpB,MAAO,cACP,YAAa,0BACb,UAAW,oCACb,CACF,CAAC,EAEYC,EAAkBJ"}
|
|
@@ -28,9 +28,10 @@ export declare const StyledRoot: import("@stitches/react/types/styled-component"
|
|
|
28
28
|
hover: string;
|
|
29
29
|
}, {
|
|
30
30
|
colors: {
|
|
31
|
-
|
|
31
|
+
textBold: any;
|
|
32
|
+
textRegular: any;
|
|
32
33
|
textSubtle: any;
|
|
33
|
-
|
|
34
|
+
textMinimal: any;
|
|
34
35
|
background: any;
|
|
35
36
|
backgroundAccent: any;
|
|
36
37
|
grey100: any;
|
|
@@ -177,11 +178,6 @@ export declare const StyledRoot: import("@stitches/react/types/styled-component"
|
|
|
177
178
|
alpha200: any;
|
|
178
179
|
alpha250: any;
|
|
179
180
|
alpha600: any;
|
|
180
|
-
primaryLight: any;
|
|
181
|
-
primary: any;
|
|
182
|
-
primaryMid: any;
|
|
183
|
-
primaryDark: any;
|
|
184
|
-
secondary: any;
|
|
185
181
|
brandRed: any;
|
|
186
182
|
brandRedAccent: any;
|
|
187
183
|
brandGreen: any;
|
|
@@ -190,6 +186,10 @@ export declare const StyledRoot: import("@stitches/react/types/styled-component"
|
|
|
190
186
|
brandPurpleAccent: any;
|
|
191
187
|
brandYellow: any;
|
|
192
188
|
brandYellowAccent: any;
|
|
189
|
+
infoLight: any;
|
|
190
|
+
info: any;
|
|
191
|
+
infoMid: any;
|
|
192
|
+
infoDark: any;
|
|
193
193
|
successLight: any;
|
|
194
194
|
success: any;
|
|
195
195
|
successMid: any;
|
|
@@ -213,6 +213,18 @@ export declare const StyledRoot: import("@stitches/react/types/styled-component"
|
|
|
213
213
|
glBlueLight: any;
|
|
214
214
|
glBluePrimary: any;
|
|
215
215
|
glBlueDark: any;
|
|
216
|
+
primary100: any;
|
|
217
|
+
primary200: any;
|
|
218
|
+
primary300: any;
|
|
219
|
+
primary400: any;
|
|
220
|
+
primary500: any;
|
|
221
|
+
primary600: any;
|
|
222
|
+
primary700: any;
|
|
223
|
+
primary800: any;
|
|
224
|
+
primary900: any;
|
|
225
|
+
primary1000: any;
|
|
226
|
+
primary1100: any;
|
|
227
|
+
primary1200: any;
|
|
216
228
|
};
|
|
217
229
|
space: {
|
|
218
230
|
"0": any;
|