@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
|
@@ -16,9 +16,10 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
|
|
|
16
16
|
hover: string;
|
|
17
17
|
}, {
|
|
18
18
|
colors: {
|
|
19
|
-
|
|
19
|
+
textBold: any;
|
|
20
|
+
textRegular: any;
|
|
20
21
|
textSubtle: any;
|
|
21
|
-
|
|
22
|
+
textMinimal: any;
|
|
22
23
|
background: any;
|
|
23
24
|
backgroundAccent: any;
|
|
24
25
|
grey100: any;
|
|
@@ -165,11 +166,6 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
|
|
|
165
166
|
alpha200: any;
|
|
166
167
|
alpha250: any;
|
|
167
168
|
alpha600: any;
|
|
168
|
-
primaryLight: any;
|
|
169
|
-
primary: any;
|
|
170
|
-
primaryMid: any;
|
|
171
|
-
primaryDark: any;
|
|
172
|
-
secondary: any;
|
|
173
169
|
brandRed: any;
|
|
174
170
|
brandRedAccent: any;
|
|
175
171
|
brandGreen: any;
|
|
@@ -178,6 +174,10 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
|
|
|
178
174
|
brandPurpleAccent: any;
|
|
179
175
|
brandYellow: any;
|
|
180
176
|
brandYellowAccent: any;
|
|
177
|
+
infoLight: any;
|
|
178
|
+
info: any;
|
|
179
|
+
infoMid: any;
|
|
180
|
+
infoDark: any;
|
|
181
181
|
successLight: any;
|
|
182
182
|
success: any;
|
|
183
183
|
successMid: any;
|
|
@@ -201,6 +201,18 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
|
|
|
201
201
|
glBlueLight: any;
|
|
202
202
|
glBluePrimary: any;
|
|
203
203
|
glBlueDark: any;
|
|
204
|
+
primary100: any;
|
|
205
|
+
primary200: any;
|
|
206
|
+
primary300: any;
|
|
207
|
+
primary400: any;
|
|
208
|
+
primary500: any;
|
|
209
|
+
primary600: any;
|
|
210
|
+
primary700: any;
|
|
211
|
+
primary800: any;
|
|
212
|
+
primary900: any;
|
|
213
|
+
primary1000: any;
|
|
214
|
+
primary1100: any;
|
|
215
|
+
primary1200: any;
|
|
204
216
|
};
|
|
205
217
|
space: {
|
|
206
218
|
"0": any;
|
|
@@ -16,9 +16,10 @@ export declare const TableFooter: import("@stitches/react/types/styled-component
|
|
|
16
16
|
hover: string;
|
|
17
17
|
}, {
|
|
18
18
|
colors: {
|
|
19
|
-
|
|
19
|
+
textBold: any;
|
|
20
|
+
textRegular: any;
|
|
20
21
|
textSubtle: any;
|
|
21
|
-
|
|
22
|
+
textMinimal: any;
|
|
22
23
|
background: any;
|
|
23
24
|
backgroundAccent: any;
|
|
24
25
|
grey100: any;
|
|
@@ -165,11 +166,6 @@ export declare const TableFooter: import("@stitches/react/types/styled-component
|
|
|
165
166
|
alpha200: any;
|
|
166
167
|
alpha250: any;
|
|
167
168
|
alpha600: any;
|
|
168
|
-
primaryLight: any;
|
|
169
|
-
primary: any;
|
|
170
|
-
primaryMid: any;
|
|
171
|
-
primaryDark: any;
|
|
172
|
-
secondary: any;
|
|
173
169
|
brandRed: any;
|
|
174
170
|
brandRedAccent: any;
|
|
175
171
|
brandGreen: any;
|
|
@@ -178,6 +174,10 @@ export declare const TableFooter: import("@stitches/react/types/styled-component
|
|
|
178
174
|
brandPurpleAccent: any;
|
|
179
175
|
brandYellow: any;
|
|
180
176
|
brandYellowAccent: any;
|
|
177
|
+
infoLight: any;
|
|
178
|
+
info: any;
|
|
179
|
+
infoMid: any;
|
|
180
|
+
infoDark: any;
|
|
181
181
|
successLight: any;
|
|
182
182
|
success: any;
|
|
183
183
|
successMid: any;
|
|
@@ -201,6 +201,18 @@ export declare const TableFooter: import("@stitches/react/types/styled-component
|
|
|
201
201
|
glBlueLight: any;
|
|
202
202
|
glBluePrimary: any;
|
|
203
203
|
glBlueDark: any;
|
|
204
|
+
primary100: any;
|
|
205
|
+
primary200: any;
|
|
206
|
+
primary300: any;
|
|
207
|
+
primary400: any;
|
|
208
|
+
primary500: any;
|
|
209
|
+
primary600: any;
|
|
210
|
+
primary700: any;
|
|
211
|
+
primary800: any;
|
|
212
|
+
primary900: any;
|
|
213
|
+
primary1000: any;
|
|
214
|
+
primary1100: any;
|
|
215
|
+
primary1200: any;
|
|
204
216
|
};
|
|
205
217
|
space: {
|
|
206
218
|
"0": any;
|
|
@@ -16,9 +16,10 @@ export declare const TableFooterCell: import("@stitches/react/types/styled-compo
|
|
|
16
16
|
hover: string;
|
|
17
17
|
}, {
|
|
18
18
|
colors: {
|
|
19
|
-
|
|
19
|
+
textBold: any;
|
|
20
|
+
textRegular: any;
|
|
20
21
|
textSubtle: any;
|
|
21
|
-
|
|
22
|
+
textMinimal: any;
|
|
22
23
|
background: any;
|
|
23
24
|
backgroundAccent: any;
|
|
24
25
|
grey100: any;
|
|
@@ -165,11 +166,6 @@ export declare const TableFooterCell: import("@stitches/react/types/styled-compo
|
|
|
165
166
|
alpha200: any;
|
|
166
167
|
alpha250: any;
|
|
167
168
|
alpha600: any;
|
|
168
|
-
primaryLight: any;
|
|
169
|
-
primary: any;
|
|
170
|
-
primaryMid: any;
|
|
171
|
-
primaryDark: any;
|
|
172
|
-
secondary: any;
|
|
173
169
|
brandRed: any;
|
|
174
170
|
brandRedAccent: any;
|
|
175
171
|
brandGreen: any;
|
|
@@ -178,6 +174,10 @@ export declare const TableFooterCell: import("@stitches/react/types/styled-compo
|
|
|
178
174
|
brandPurpleAccent: any;
|
|
179
175
|
brandYellow: any;
|
|
180
176
|
brandYellowAccent: any;
|
|
177
|
+
infoLight: any;
|
|
178
|
+
info: any;
|
|
179
|
+
infoMid: any;
|
|
180
|
+
infoDark: any;
|
|
181
181
|
successLight: any;
|
|
182
182
|
success: any;
|
|
183
183
|
successMid: any;
|
|
@@ -201,6 +201,18 @@ export declare const TableFooterCell: import("@stitches/react/types/styled-compo
|
|
|
201
201
|
glBlueLight: any;
|
|
202
202
|
glBluePrimary: any;
|
|
203
203
|
glBlueDark: any;
|
|
204
|
+
primary100: any;
|
|
205
|
+
primary200: any;
|
|
206
|
+
primary300: any;
|
|
207
|
+
primary400: any;
|
|
208
|
+
primary500: any;
|
|
209
|
+
primary600: any;
|
|
210
|
+
primary700: any;
|
|
211
|
+
primary800: any;
|
|
212
|
+
primary900: any;
|
|
213
|
+
primary1000: any;
|
|
214
|
+
primary1100: any;
|
|
215
|
+
primary1200: any;
|
|
204
216
|
};
|
|
205
217
|
space: {
|
|
206
218
|
"0": any;
|
|
@@ -25,9 +25,10 @@ declare const StyledTableHeader: import("@stitches/react/types/styled-component"
|
|
|
25
25
|
hover: string;
|
|
26
26
|
}, {
|
|
27
27
|
colors: {
|
|
28
|
-
|
|
28
|
+
textBold: any;
|
|
29
|
+
textRegular: any;
|
|
29
30
|
textSubtle: any;
|
|
30
|
-
|
|
31
|
+
textMinimal: any;
|
|
31
32
|
background: any;
|
|
32
33
|
backgroundAccent: any;
|
|
33
34
|
grey100: any;
|
|
@@ -174,11 +175,6 @@ declare const StyledTableHeader: import("@stitches/react/types/styled-component"
|
|
|
174
175
|
alpha200: any;
|
|
175
176
|
alpha250: any;
|
|
176
177
|
alpha600: any;
|
|
177
|
-
primaryLight: any;
|
|
178
|
-
primary: any;
|
|
179
|
-
primaryMid: any;
|
|
180
|
-
primaryDark: any;
|
|
181
|
-
secondary: any;
|
|
182
178
|
brandRed: any;
|
|
183
179
|
brandRedAccent: any;
|
|
184
180
|
brandGreen: any;
|
|
@@ -187,6 +183,10 @@ declare const StyledTableHeader: import("@stitches/react/types/styled-component"
|
|
|
187
183
|
brandPurpleAccent: any;
|
|
188
184
|
brandYellow: any;
|
|
189
185
|
brandYellowAccent: any;
|
|
186
|
+
infoLight: any;
|
|
187
|
+
info: any;
|
|
188
|
+
infoMid: any;
|
|
189
|
+
infoDark: any;
|
|
190
190
|
successLight: any;
|
|
191
191
|
success: any;
|
|
192
192
|
successMid: any;
|
|
@@ -210,6 +210,18 @@ declare const StyledTableHeader: import("@stitches/react/types/styled-component"
|
|
|
210
210
|
glBlueLight: any;
|
|
211
211
|
glBluePrimary: any;
|
|
212
212
|
glBlueDark: any;
|
|
213
|
+
primary100: any;
|
|
214
|
+
primary200: any;
|
|
215
|
+
primary300: any;
|
|
216
|
+
primary400: any;
|
|
217
|
+
primary500: any;
|
|
218
|
+
primary600: any;
|
|
219
|
+
primary700: any;
|
|
220
|
+
primary800: any;
|
|
221
|
+
primary900: any;
|
|
222
|
+
primary1000: any;
|
|
223
|
+
primary1100: any;
|
|
224
|
+
primary1200: any;
|
|
213
225
|
};
|
|
214
226
|
space: {
|
|
215
227
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import m from"react";import{styled as l}from"../../stitches.js";import{TableHeaderCell as r}from"./TableHeaderCell.js";const e={PRIMARY:"primary",PRIMARY_DARK:"primaryDark",LIGHT:"light"},p=l("thead",{variants:{theme:{[e.PRIMARY]:{[`${r}`]:{bg:"$
|
|
1
|
+
import m from"react";import{styled as l}from"../../stitches.js";import{TableHeaderCell as r}from"./TableHeaderCell.js";const e={PRIMARY:"primary",PRIMARY_DARK:"primaryDark",LIGHT:"light"},p=l("thead",{variants:{theme:{[e.PRIMARY]:{[`${r}`]:{bg:"$primary800"}},[e.PRIMARY_DARK]:{[`${r}`]:{bg:"$primary1000"}},[e.LIGHT]:{[`${r}`]:{bg:"$tonal50",color:"$tonal600"}}},isSticky:{true:{position:"sticky",top:0,zIndex:3}}}}),t=({theme:a="primaryDark",isSticky:i=!1,...o})=>m.createElement(p,{theme:a,isSticky:i,...o});t.displayName="TableHeader";export{e as TABLE_HEADER_THEMES,t as TableHeader};
|
|
2
2
|
//# sourceMappingURL=TableHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.js","sources":["../../../src/components/table/TableHeader.tsx"],"sourcesContent":["import React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { TableHeaderCell } from './TableHeaderCell'\n\nexport const TABLE_HEADER_THEMES = {\n PRIMARY: 'primary',\n PRIMARY_DARK: 'primaryDark',\n LIGHT: 'light'\n}\n\nconst StyledTableHeader = styled('thead', {\n variants: {\n theme: {\n [TABLE_HEADER_THEMES.PRIMARY]: {\n [`${TableHeaderCell}`]: {\n bg: '$
|
|
1
|
+
{"version":3,"file":"TableHeader.js","sources":["../../../src/components/table/TableHeader.tsx"],"sourcesContent":["import React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { TableHeaderCell } from './TableHeaderCell'\n\nexport const TABLE_HEADER_THEMES = {\n PRIMARY: 'primary',\n PRIMARY_DARK: 'primaryDark',\n LIGHT: 'light'\n}\n\nconst StyledTableHeader = styled('thead', {\n variants: {\n theme: {\n [TABLE_HEADER_THEMES.PRIMARY]: {\n [`${TableHeaderCell}`]: {\n bg: '$primary800'\n }\n },\n [TABLE_HEADER_THEMES.PRIMARY_DARK]: {\n [`${TableHeaderCell}`]: {\n bg: '$primary1000'\n }\n },\n [TABLE_HEADER_THEMES.LIGHT]: {\n [`${TableHeaderCell}`]: {\n bg: '$tonal50',\n color: '$tonal600'\n }\n }\n },\n isSticky: {\n true: {\n position: 'sticky',\n top: 0,\n zIndex: 3\n }\n }\n }\n})\n\ntype TableHeaderProps = React.ComponentProps<typeof StyledTableHeader>\n\nexport const TableHeader: React.FC<TableHeaderProps> = ({\n theme = 'primaryDark',\n isSticky = false,\n ...rest\n}: TableHeaderProps) => {\n return <StyledTableHeader theme={theme} isSticky={isSticky} {...rest} />\n}\n\nTableHeader.displayName = 'TableHeader'\n"],"names":["TABLE_HEADER_THEMES","StyledTableHeader","styled","TableHeaderCell","TableHeader","theme","isSticky","rest","React"],"mappings":"uHAMO,MAAMA,EAAsB,CACjC,QAAS,UACT,aAAc,cACd,MAAO,OACT,EAEMC,EAAoBC,EAAO,QAAS,CACxC,SAAU,CACR,MAAO,CACL,CAACF,EAAoB,SAAU,CAC7B,CAAC,GAAGG,KAAoB,CACtB,GAAI,aACN,CACF,EACA,CAACH,EAAoB,cAAe,CAClC,CAAC,GAAGG,KAAoB,CACtB,GAAI,cACN,CACF,EACA,CAACH,EAAoB,OAAQ,CAC3B,CAAC,GAAGG,KAAoB,CACtB,GAAI,WACJ,MAAO,WACT,CACF,CACF,EACA,SAAU,CACR,KAAM,CACJ,SAAU,SACV,IAAK,EACL,OAAQ,CACV,CACF,CACF,CACF,CAAC,EAIYC,EAA0C,CAAC,CACtD,MAAAC,EAAQ,cACR,SAAAC,EAAW,MACRC,CACL,IACSC,EAAA,cAACP,EAAA,CAAkB,MAAOI,EAAO,SAAUC,EAAW,GAAGC,CAAAA,CAAM,EAGxEH,EAAY,YAAc"}
|
|
@@ -16,9 +16,10 @@ export declare const TableHeaderCell: import("@stitches/react/types/styled-compo
|
|
|
16
16
|
hover: string;
|
|
17
17
|
}, {
|
|
18
18
|
colors: {
|
|
19
|
-
|
|
19
|
+
textBold: any;
|
|
20
|
+
textRegular: any;
|
|
20
21
|
textSubtle: any;
|
|
21
|
-
|
|
22
|
+
textMinimal: any;
|
|
22
23
|
background: any;
|
|
23
24
|
backgroundAccent: any;
|
|
24
25
|
grey100: any;
|
|
@@ -165,11 +166,6 @@ export declare const TableHeaderCell: import("@stitches/react/types/styled-compo
|
|
|
165
166
|
alpha200: any;
|
|
166
167
|
alpha250: any;
|
|
167
168
|
alpha600: any;
|
|
168
|
-
primaryLight: any;
|
|
169
|
-
primary: any;
|
|
170
|
-
primaryMid: any;
|
|
171
|
-
primaryDark: any;
|
|
172
|
-
secondary: any;
|
|
173
169
|
brandRed: any;
|
|
174
170
|
brandRedAccent: any;
|
|
175
171
|
brandGreen: any;
|
|
@@ -178,6 +174,10 @@ export declare const TableHeaderCell: import("@stitches/react/types/styled-compo
|
|
|
178
174
|
brandPurpleAccent: any;
|
|
179
175
|
brandYellow: any;
|
|
180
176
|
brandYellowAccent: any;
|
|
177
|
+
infoLight: any;
|
|
178
|
+
info: any;
|
|
179
|
+
infoMid: any;
|
|
180
|
+
infoDark: any;
|
|
181
181
|
successLight: any;
|
|
182
182
|
success: any;
|
|
183
183
|
successMid: any;
|
|
@@ -201,6 +201,18 @@ export declare const TableHeaderCell: import("@stitches/react/types/styled-compo
|
|
|
201
201
|
glBlueLight: any;
|
|
202
202
|
glBluePrimary: any;
|
|
203
203
|
glBlueDark: any;
|
|
204
|
+
primary100: any;
|
|
205
|
+
primary200: any;
|
|
206
|
+
primary300: any;
|
|
207
|
+
primary400: any;
|
|
208
|
+
primary500: any;
|
|
209
|
+
primary600: any;
|
|
210
|
+
primary700: any;
|
|
211
|
+
primary800: any;
|
|
212
|
+
primary900: any;
|
|
213
|
+
primary1000: any;
|
|
214
|
+
primary1100: any;
|
|
215
|
+
primary1200: any;
|
|
204
216
|
};
|
|
205
217
|
space: {
|
|
206
218
|
"0": any;
|
|
@@ -17,9 +17,10 @@ export declare const StyledRow: import("@stitches/react/types/styled-component")
|
|
|
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 StyledRow: import("@stitches/react/types/styled-component")
|
|
|
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 StyledRow: import("@stitches/react/types/styled-component")
|
|
|
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 StyledRow: import("@stitches/react/types/styled-component")
|
|
|
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;
|
|
@@ -339,9 +351,10 @@ export declare const TableRow: React.ForwardRefExoticComponent<Pick<Omit<Pick<Re
|
|
|
339
351
|
hover: string;
|
|
340
352
|
}, {
|
|
341
353
|
colors: {
|
|
342
|
-
|
|
354
|
+
textBold: any;
|
|
355
|
+
textRegular: any;
|
|
343
356
|
textSubtle: any;
|
|
344
|
-
|
|
357
|
+
textMinimal: any;
|
|
345
358
|
background: any;
|
|
346
359
|
backgroundAccent: any;
|
|
347
360
|
grey100: any;
|
|
@@ -488,11 +501,6 @@ export declare const TableRow: React.ForwardRefExoticComponent<Pick<Omit<Pick<Re
|
|
|
488
501
|
alpha200: any;
|
|
489
502
|
alpha250: any;
|
|
490
503
|
alpha600: any;
|
|
491
|
-
primaryLight: any;
|
|
492
|
-
primary: any;
|
|
493
|
-
primaryMid: any;
|
|
494
|
-
primaryDark: any;
|
|
495
|
-
secondary: any;
|
|
496
504
|
brandRed: any;
|
|
497
505
|
brandRedAccent: any;
|
|
498
506
|
brandGreen: any;
|
|
@@ -501,6 +509,10 @@ export declare const TableRow: React.ForwardRefExoticComponent<Pick<Omit<Pick<Re
|
|
|
501
509
|
brandPurpleAccent: any;
|
|
502
510
|
brandYellow: any;
|
|
503
511
|
brandYellowAccent: any;
|
|
512
|
+
infoLight: any;
|
|
513
|
+
info: any;
|
|
514
|
+
infoMid: any;
|
|
515
|
+
infoDark: any;
|
|
504
516
|
successLight: any;
|
|
505
517
|
success: any;
|
|
506
518
|
successMid: any;
|
|
@@ -524,6 +536,18 @@ export declare const TableRow: React.ForwardRefExoticComponent<Pick<Omit<Pick<Re
|
|
|
524
536
|
glBlueLight: any;
|
|
525
537
|
glBluePrimary: any;
|
|
526
538
|
glBlueDark: any;
|
|
539
|
+
primary100: any;
|
|
540
|
+
primary200: any;
|
|
541
|
+
primary300: any;
|
|
542
|
+
primary400: any;
|
|
543
|
+
primary500: any;
|
|
544
|
+
primary600: any;
|
|
545
|
+
primary700: any;
|
|
546
|
+
primary800: any;
|
|
547
|
+
primary900: any;
|
|
548
|
+
primary1000: any;
|
|
549
|
+
primary1100: any;
|
|
550
|
+
primary1200: any;
|
|
527
551
|
};
|
|
528
552
|
space: {
|
|
529
553
|
"0": any;
|
|
@@ -21,9 +21,10 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
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 StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
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 StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
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 StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
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;
|
|
@@ -17,9 +17,10 @@ export declare const TabsContent: import("@stitches/react/types/styled-component
|
|
|
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 TabsContent: import("@stitches/react/types/styled-component
|
|
|
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 TabsContent: import("@stitches/react/types/styled-component
|
|
|
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 TabsContent: import("@stitches/react/types/styled-component
|
|
|
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;
|
|
@@ -17,9 +17,10 @@ declare const StyledTabsTrigger: import("@stitches/react/types/styled-component"
|
|
|
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 @@ declare const StyledTabsTrigger: import("@stitches/react/types/styled-component"
|
|
|
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 @@ declare const StyledTabsTrigger: import("@stitches/react/types/styled-component"
|
|
|
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 @@ declare const StyledTabsTrigger: import("@stitches/react/types/styled-component"
|
|
|
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;
|
|
@@ -18,9 +18,10 @@ declare const StyledTriggerList: 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 @@ declare const StyledTriggerList: 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 @@ declare const StyledTriggerList: 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 @@ declare const StyledTriggerList: 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;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ChevronLeft as y,ChevronRight as C}from"@atom-learning/icons";import{List as k}from"@radix-ui/react-tabs";import t from"react";import{ColorScheme as v}from"../../experiments/color-scheme/ColorScheme.js";import{styled as i}from"../../stitches.js";import{useCallbackRefState as x}from"../../utilities/hooks/useCallbackRef.js";import{useScrollPosition as E}from"../../utilities/hooks/useScrollPosition.js";import{useSize as S}from"../../utilities/hooks/useSize.js";import{ActionIcon as W}from"../action-icon/ActionIcon.js";import{Icon as s}from"../icon/Icon.js";const w=i(v,{position:"relative",borderBottom:"1px solid $base4",width:"100%"}),I=i(k,{flexShrink:0,display:"flex",width:"100%",overflowX:"auto","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"}),a=i(W,{height:"100% !important",position:"absolute",top:"50%",transform:"translateY(-50%)",cursor:"pointer",background:"$base1 !important",color:"$interactive1 !important",borderRadius:0,opacity:.9}),n=.8,c=({children:m,colorScheme:d={},...h})=>{const[e,
|
|
1
|
+
import{ChevronLeft as y,ChevronRight as C}from"@atom-learning/icons";import{List as k}from"@radix-ui/react-tabs";import t from"react";import{ColorScheme as v}from"../../experiments/color-scheme/ColorScheme.js";import{styled as i}from"../../stitches.js";import{useCallbackRefState as x}from"../../utilities/hooks/useCallbackRef.js";import{useScrollPosition as E}from"../../utilities/hooks/useScrollPosition.js";import{useSize as S}from"../../utilities/hooks/useSize.js";import{ActionIcon as W}from"../action-icon/ActionIcon.js";import{Icon as s}from"../icon/Icon.js";const w=i(v,{position:"relative",borderBottom:"1px solid $base4",width:"100%"}),I=i(k,{flexShrink:0,display:"flex",width:"100%",overflowX:"auto","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"}),a=i(W,{height:"100% !important",position:"absolute",top:"50%",transform:"translateY(-50%)",cursor:"pointer",background:"$base1 !important",color:"$interactive1 !important",borderRadius:0,opacity:.9}),n=.8,c=({children:m,colorScheme:d={},...h})=>{const[e,p]=x(),{width:f}=S({element:e,delay:500}),{left:o}=E({element:e,delay:100,delayMethod:"debounce"}),r=t.useMemo(()=>e?e.scrollWidth>e.clientWidth:!1,[f,e]),b=t.useMemo(()=>r?o>0:!1,[o,r]),u=t.useMemo(()=>!e||!r?!1:e.scrollWidth-o-e.clientWidth>1,[e,o,r]),l=t.useCallback(g=>{!e||e.scroll({left:e.scrollLeft+e.clientWidth*g,behavior:"smooth"})},[e]);return t.createElement(w,{base:"grey1",accent:"primary1",interactive:"hiContrast",...d,...h},t.createElement(I,{ref:p},m),b&&t.createElement(a,{label:"scroll left",size:"md",css:{left:0},onClick:()=>l(-n),tabIndex:-1},t.createElement(s,{is:y})),u&&t.createElement(a,{label:"scroll right",size:"md",css:{right:0},onClick:()=>l(n),tabIndex:-1},t.createElement(s,{is:C})))};c.displayName="TabsTriggerList";export{c as TabsTriggerList};
|
|
2
2
|
//# sourceMappingURL=TabsTriggerList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsTriggerList.js","sources":["../../../src/components/tabs/TabsTriggerList.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight } from '@atom-learning/icons'\nimport { List } from '@radix-ui/react-tabs'\nimport React from 'react'\n\nimport { ColorScheme, TcolorScheme } from '~/experiments/color-scheme'\nimport { styled } from '~/stitches'\nimport { useCallbackRefState } from '~/utilities/hooks/useCallbackRef'\nimport { useScrollPosition } from '~/utilities/hooks/useScrollPosition'\nimport { useSize } from '~/utilities/hooks/useSize'\n\nimport { ActionIcon } from '../action-icon'\nimport { Icon } from '../icon'\n\nconst StyledContainer = styled(ColorScheme, {\n position: 'relative',\n borderBottom: '1px solid $base4',\n width: '100%'\n})\n\nconst StyledTriggerList = styled(List, {\n flexShrink: 0,\n display: 'flex',\n width: '100%',\n overflowX: 'auto',\n '&::-webkit-scrollbar': { display: 'none' },\n scrollbarWidth: 'none'\n})\n\nconst StyledChevronActionIcon = styled(ActionIcon, {\n height: '100% !important',\n position: 'absolute',\n top: '50%',\n transform: 'translateY(-50%)',\n cursor: 'pointer',\n background: '$base1 !important',\n color: '$interactive1 !important',\n borderRadius: 0,\n opacity: 0.9\n})\n\nconst SCROLL_STEP = 0.8 // Used to scroll 80% of clientWidth\n\nexport const TabsTriggerList: React.FC<\n React.ComponentProps<typeof StyledTriggerList> & {\n colorScheme?: TcolorScheme\n }\n> = ({ children, colorScheme = {}, ...rest }) => {\n const [listRef, setListRefCallback] = useCallbackRefState()\n\n const { width } = useSize({ element: listRef, delay: 500 })\n const { left } = useScrollPosition({\n element: listRef,\n delay: 100,\n delayMethod: 'debounce'\n })\n\n const canScrollXAxis = React.useMemo(() => {\n if (!listRef) return false\n return listRef.scrollWidth > listRef.clientWidth\n }, [width, listRef])\n\n const canScrollLeft = React.useMemo(() => {\n if (!canScrollXAxis) return false\n return left > 0\n }, [left, canScrollXAxis])\n\n const canScrollRight = React.useMemo(() => {\n if (!listRef || !canScrollXAxis) return false\n return listRef.scrollWidth - left - listRef.clientWidth > 1 // 1 rather than 0 to account for sub-pixel widths and calculations\n }, [listRef, left, canScrollXAxis])\n\n const scrollList = React.useCallback(\n (stepModifier) => {\n if (!listRef) return\n listRef.scroll({\n left: listRef.scrollLeft + listRef.clientWidth * stepModifier,\n behavior: 'smooth'\n })\n },\n [listRef]\n )\n\n return (\n <StyledContainer\n base=\"grey1\"\n accent=\"
|
|
1
|
+
{"version":3,"file":"TabsTriggerList.js","sources":["../../../src/components/tabs/TabsTriggerList.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight } from '@atom-learning/icons'\nimport { List } from '@radix-ui/react-tabs'\nimport React from 'react'\n\nimport { ColorScheme, TcolorScheme } from '~/experiments/color-scheme'\nimport { styled } from '~/stitches'\nimport { useCallbackRefState } from '~/utilities/hooks/useCallbackRef'\nimport { useScrollPosition } from '~/utilities/hooks/useScrollPosition'\nimport { useSize } from '~/utilities/hooks/useSize'\n\nimport { ActionIcon } from '../action-icon'\nimport { Icon } from '../icon'\n\nconst StyledContainer = styled(ColorScheme, {\n position: 'relative',\n borderBottom: '1px solid $base4',\n width: '100%'\n})\n\nconst StyledTriggerList = styled(List, {\n flexShrink: 0,\n display: 'flex',\n width: '100%',\n overflowX: 'auto',\n '&::-webkit-scrollbar': { display: 'none' },\n scrollbarWidth: 'none'\n})\n\nconst StyledChevronActionIcon = styled(ActionIcon, {\n height: '100% !important',\n position: 'absolute',\n top: '50%',\n transform: 'translateY(-50%)',\n cursor: 'pointer',\n background: '$base1 !important',\n color: '$interactive1 !important',\n borderRadius: 0,\n opacity: 0.9\n})\n\nconst SCROLL_STEP = 0.8 // Used to scroll 80% of clientWidth\n\nexport const TabsTriggerList: React.FC<\n React.ComponentProps<typeof StyledTriggerList> & {\n colorScheme?: TcolorScheme\n }\n> = ({ children, colorScheme = {}, ...rest }) => {\n const [listRef, setListRefCallback] = useCallbackRefState()\n\n const { width } = useSize({ element: listRef, delay: 500 })\n const { left } = useScrollPosition({\n element: listRef,\n delay: 100,\n delayMethod: 'debounce'\n })\n\n const canScrollXAxis = React.useMemo(() => {\n if (!listRef) return false\n return listRef.scrollWidth > listRef.clientWidth\n }, [width, listRef])\n\n const canScrollLeft = React.useMemo(() => {\n if (!canScrollXAxis) return false\n return left > 0\n }, [left, canScrollXAxis])\n\n const canScrollRight = React.useMemo(() => {\n if (!listRef || !canScrollXAxis) return false\n return listRef.scrollWidth - left - listRef.clientWidth > 1 // 1 rather than 0 to account for sub-pixel widths and calculations\n }, [listRef, left, canScrollXAxis])\n\n const scrollList = React.useCallback(\n (stepModifier) => {\n if (!listRef) return\n listRef.scroll({\n left: listRef.scrollLeft + listRef.clientWidth * stepModifier,\n behavior: 'smooth'\n })\n },\n [listRef]\n )\n\n return (\n <StyledContainer\n base=\"grey1\"\n accent=\"primary1\"\n interactive=\"hiContrast\"\n {...colorScheme}\n {...rest}\n >\n <StyledTriggerList ref={setListRefCallback}>{children}</StyledTriggerList>\n\n {canScrollLeft && (\n <StyledChevronActionIcon\n label=\"scroll left\"\n size=\"md\"\n css={{\n left: 0\n }}\n onClick={() => scrollList(-SCROLL_STEP)}\n tabIndex={-1}\n >\n <Icon is={ChevronLeft} />\n </StyledChevronActionIcon>\n )}\n\n {canScrollRight && (\n <StyledChevronActionIcon\n label=\"scroll right\"\n size=\"md\"\n css={{\n right: 0\n }}\n onClick={() => scrollList(SCROLL_STEP)}\n tabIndex={-1}\n >\n <Icon is={ChevronRight} />\n </StyledChevronActionIcon>\n )}\n </StyledContainer>\n )\n}\n\nTabsTriggerList.displayName = 'TabsTriggerList'\n"],"names":["StyledContainer","styled","ColorScheme","StyledTriggerList","List","StyledChevronActionIcon","ActionIcon","SCROLL_STEP","TabsTriggerList","children","colorScheme","rest","listRef","setListRefCallback","useCallbackRefState","width","useSize","left","useScrollPosition","canScrollXAxis","React","canScrollLeft","canScrollRight","scrollList","stepModifier","Icon","ChevronLeft","ChevronRight"],"mappings":"sjBAaA,MAAMA,EAAkBC,EAAOC,EAAa,CAC1C,SAAU,WACV,aAAc,mBACd,MAAO,MACT,CAAC,EAEKC,EAAoBF,EAAOG,EAAM,CACrC,WAAY,EACZ,QAAS,OACT,MAAO,OACP,UAAW,OACX,uBAAwB,CAAE,QAAS,MAAO,EAC1C,eAAgB,MAClB,CAAC,EAEKC,EAA0BJ,EAAOK,EAAY,CACjD,OAAQ,kBACR,SAAU,WACV,IAAK,MACL,UAAW,mBACX,OAAQ,UACR,WAAY,oBACZ,MAAO,2BACP,aAAc,EACd,QAAS,EACX,CAAC,EAEKC,EAAc,GAEPC,EAIT,CAAC,CAAE,SAAAC,EAAU,YAAAC,EAAc,CAAA,KAAOC,CAAK,IAAM,CAC/C,KAAM,CAACC,EAASC,CAAkB,EAAIC,IAEhC,CAAE,MAAAC,CAAM,EAAIC,EAAQ,CAAE,QAASJ,EAAS,MAAO,GAAI,CAAC,EACpD,CAAE,KAAAK,CAAK,EAAIC,EAAkB,CACjC,QAASN,EACT,MAAO,IACP,YAAa,UACf,CAAC,EAEKO,EAAiBC,EAAM,QAAQ,IAC9BR,EACEA,EAAQ,YAAcA,EAAQ,YADhB,GAEpB,CAACG,EAAOH,CAAO,CAAC,EAEbS,EAAgBD,EAAM,QAAQ,IAC7BD,EACEF,EAAO,EADc,GAE3B,CAACA,EAAME,CAAc,CAAC,EAEnBG,EAAiBF,EAAM,QAAQ,IAC/B,CAACR,GAAW,CAACO,EAAuB,GACjCP,EAAQ,YAAcK,EAAOL,EAAQ,YAAc,EACzD,CAACA,EAASK,EAAME,CAAc,CAAC,EAE5BI,EAAaH,EAAM,YACtBI,GAAiB,CACZ,CAACZ,GACLA,EAAQ,OAAO,CACb,KAAMA,EAAQ,WAAaA,EAAQ,YAAcY,EACjD,SAAU,QACZ,CAAC,CACH,EACA,CAACZ,CAAO,CACV,EAEA,OACEQ,EAAA,cAACpB,EAAA,CACC,KAAK,QACL,OAAO,WACP,YAAY,aACX,GAAGU,EACH,GAAGC,CAAAA,EAEJS,EAAA,cAACjB,EAAA,CAAkB,IAAKU,GAAqBJ,CAAS,EAErDY,GACCD,EAAA,cAACf,EAAA,CACC,MAAM,cACN,KAAK,KACL,IAAK,CACH,KAAM,CACR,EACA,QAAS,IAAMkB,EAAW,CAAChB,CAAW,EACtC,SAAU,EAAA,EAEVa,EAAA,cAACK,EAAA,CAAK,GAAIC,CAAa,CAAA,CACzB,EAGDJ,GACCF,EAAA,cAACf,EAAA,CACC,MAAM,eACN,KAAK,KACL,IAAK,CACH,MAAO,CACT,EACA,QAAS,IAAMkB,EAAWhB,CAAW,EACrC,SAAU,EAAA,EAEVa,EAAA,cAACK,EAAA,CAAK,GAAIE,EAAc,CAC1B,CAEJ,CAEJ,EAEAnB,EAAgB,YAAc"}
|