@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.js","sources":["../../../src/components/pagination/Pagination.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { ColorScheme } from '../../experiments/color-scheme'\nimport { Flex } from '../flex'\nimport { VisibleElementsAmount } from './pagination.constants'\nimport { PaginationProvider } from './pagination-context/PaginationContext'\nimport { PaginationItems } from './PaginationItems'\nimport type { PaginationProps } from './types'\n\nexport const Pagination: React.FC<PaginationProps> = ({\n colorScheme,\n onSelectedPageChange,\n selectedPage,\n visibleElementsCount = VisibleElementsAmount.LESS,\n pagesCount,\n indicatedPages = [],\n disabledPages = [],\n onItemHover = () => null,\n labels = {},\n ...rest\n}) => {\n if (!pagesCount) return null\n\n const paginationProviderProps = {\n onSelectedPageChange,\n selectedPage,\n visibleElementsCount,\n pagesCount,\n indicatedPages,\n disabledPages,\n onItemHover,\n labels\n }\n\n return (\n <PaginationProvider {...paginationProviderProps}>\n <ColorScheme base=\"grey1\" accent=\"
|
|
1
|
+
{"version":3,"file":"Pagination.js","sources":["../../../src/components/pagination/Pagination.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { ColorScheme } from '../../experiments/color-scheme'\nimport { Flex } from '../flex'\nimport { VisibleElementsAmount } from './pagination.constants'\nimport { PaginationProvider } from './pagination-context/PaginationContext'\nimport { PaginationItems } from './PaginationItems'\nimport type { PaginationProps } from './types'\n\nexport const Pagination: React.FC<PaginationProps> = ({\n colorScheme,\n onSelectedPageChange,\n selectedPage,\n visibleElementsCount = VisibleElementsAmount.LESS,\n pagesCount,\n indicatedPages = [],\n disabledPages = [],\n onItemHover = () => null,\n labels = {},\n ...rest\n}) => {\n if (!pagesCount) return null\n\n const paginationProviderProps = {\n onSelectedPageChange,\n selectedPage,\n visibleElementsCount,\n pagesCount,\n indicatedPages,\n disabledPages,\n onItemHover,\n labels\n }\n\n return (\n <PaginationProvider {...paginationProviderProps}>\n <ColorScheme base=\"grey1\" accent=\"primary1\" {...colorScheme} asChild>\n <Flex gap={1} {...rest}>\n <PaginationItems />\n </Flex>\n </ColorScheme>\n </PaginationProvider>\n )\n}\n\nPagination.displayName = 'Pagination'\n"],"names":["Pagination","colorScheme","onSelectedPageChange","selectedPage","visibleElementsCount","VisibleElementsAmount","pagesCount","indicatedPages","disabledPages","onItemHover","labels","rest","React","PaginationProvider","ColorScheme","Flex","PaginationItems"],"mappings":"mVASa,MAAAA,EAAwC,CAAC,CACpD,YAAAC,EACA,qBAAAC,EACA,aAAAC,EACA,qBAAAC,EAAuBC,EAAsB,KAC7C,WAAAC,EACA,eAAAC,EAAiB,CAAA,EACjB,cAAAC,EAAgB,CAChB,EAAA,YAAAC,EAAc,IAAM,KACpB,OAAAC,EAAS,CACNC,KAAAA,CACL,IACOL,EAcHM,EAAA,cAACC,EAAA,CAXD,qBAAAX,EACA,aAAAC,EACA,qBAAAC,EACA,WAAAE,EACA,eAAAC,EACA,cAAAC,EACA,YAAAC,EACA,OAAAC,CAKEE,EAAAA,EAAA,cAACE,EAAA,CAAY,KAAK,QAAQ,OAAO,WAAY,GAAGb,EAAa,QAAO,EAClEW,EAAAA,EAAA,cAACG,EAAA,CAAK,IAAK,EAAI,GAAGJ,CAAAA,EAChBC,EAAA,cAACI,EAAA,IAAgB,CACnB,CACF,CACF,EApBsB,KAwB1BhB,EAAW,YAAc"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
declare const StyledActionIcon: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Pick<Omit<Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
3
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
4
4
|
}, "appearance" | "size" | "css" | "theme" | "isRounded"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
5
|
-
theme?: "
|
|
5
|
+
theme?: "success" | "danger" | "warning" | "primary" | "neutral" | undefined;
|
|
6
6
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
8
8
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -25,9 +25,10 @@ declare const StyledActionIcon: 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 StyledActionIcon: 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 StyledActionIcon: 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 StyledActionIcon: 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;
|
|
@@ -327,7 +339,7 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
327
339
|
};
|
|
328
340
|
}> | undefined;
|
|
329
341
|
}, "appearance" | "size" | "theme" | "label" | "children" | "as" | "hasTooltip" | "tooltipSide" | "isRounded" | keyof import("../../types").NavigatorActions> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
330
|
-
theme?: "
|
|
342
|
+
theme?: "success" | "danger" | "warning" | "primary" | "neutral" | undefined;
|
|
331
343
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
332
344
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
333
345
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -361,9 +373,10 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
361
373
|
hover: string;
|
|
362
374
|
}, {
|
|
363
375
|
colors: {
|
|
364
|
-
|
|
376
|
+
textBold: any;
|
|
377
|
+
textRegular: any;
|
|
365
378
|
textSubtle: any;
|
|
366
|
-
|
|
379
|
+
textMinimal: any;
|
|
367
380
|
background: any;
|
|
368
381
|
backgroundAccent: any;
|
|
369
382
|
grey100: any;
|
|
@@ -510,11 +523,6 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
510
523
|
alpha200: any;
|
|
511
524
|
alpha250: any;
|
|
512
525
|
alpha600: any;
|
|
513
|
-
primaryLight: any;
|
|
514
|
-
primary: any;
|
|
515
|
-
primaryMid: any;
|
|
516
|
-
primaryDark: any;
|
|
517
|
-
secondary: any;
|
|
518
526
|
brandRed: any;
|
|
519
527
|
brandRedAccent: any;
|
|
520
528
|
brandGreen: any;
|
|
@@ -523,6 +531,10 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
523
531
|
brandPurpleAccent: any;
|
|
524
532
|
brandYellow: any;
|
|
525
533
|
brandYellowAccent: any;
|
|
534
|
+
infoLight: any;
|
|
535
|
+
info: any;
|
|
536
|
+
infoMid: any;
|
|
537
|
+
infoDark: any;
|
|
526
538
|
successLight: any;
|
|
527
539
|
success: any;
|
|
528
540
|
successMid: any;
|
|
@@ -546,6 +558,18 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
546
558
|
glBlueLight: any;
|
|
547
559
|
glBluePrimary: any;
|
|
548
560
|
glBlueDark: any;
|
|
561
|
+
primary100: any;
|
|
562
|
+
primary200: any;
|
|
563
|
+
primary300: any;
|
|
564
|
+
primary400: any;
|
|
565
|
+
primary500: any;
|
|
566
|
+
primary600: any;
|
|
567
|
+
primary700: any;
|
|
568
|
+
primary800: any;
|
|
569
|
+
primary900: any;
|
|
570
|
+
primary1000: any;
|
|
571
|
+
primary1100: any;
|
|
572
|
+
primary1200: any;
|
|
549
573
|
};
|
|
550
574
|
space: {
|
|
551
575
|
"0": any;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
declare const StyledActionIcon: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Pick<Omit<Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
3
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
4
4
|
}, "appearance" | "size" | "css" | "theme" | "isRounded"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
5
|
-
theme?: "
|
|
5
|
+
theme?: "success" | "danger" | "warning" | "primary" | "neutral" | undefined;
|
|
6
6
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
8
8
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -25,9 +25,10 @@ declare const StyledActionIcon: 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 StyledActionIcon: 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 StyledActionIcon: 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 StyledActionIcon: 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;
|
|
@@ -327,7 +339,7 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
327
339
|
};
|
|
328
340
|
}> | undefined;
|
|
329
341
|
}, "appearance" | "size" | "theme" | "label" | "children" | "as" | "hasTooltip" | "tooltipSide" | "isRounded" | keyof import("../../types").NavigatorActions> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
330
|
-
theme?: "
|
|
342
|
+
theme?: "success" | "danger" | "warning" | "primary" | "neutral" | undefined;
|
|
331
343
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
332
344
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
333
345
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -361,9 +373,10 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
361
373
|
hover: string;
|
|
362
374
|
}, {
|
|
363
375
|
colors: {
|
|
364
|
-
|
|
376
|
+
textBold: any;
|
|
377
|
+
textRegular: any;
|
|
365
378
|
textSubtle: any;
|
|
366
|
-
|
|
379
|
+
textMinimal: any;
|
|
367
380
|
background: any;
|
|
368
381
|
backgroundAccent: any;
|
|
369
382
|
grey100: any;
|
|
@@ -510,11 +523,6 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
510
523
|
alpha200: any;
|
|
511
524
|
alpha250: any;
|
|
512
525
|
alpha600: any;
|
|
513
|
-
primaryLight: any;
|
|
514
|
-
primary: any;
|
|
515
|
-
primaryMid: any;
|
|
516
|
-
primaryDark: any;
|
|
517
|
-
secondary: any;
|
|
518
526
|
brandRed: any;
|
|
519
527
|
brandRedAccent: any;
|
|
520
528
|
brandGreen: any;
|
|
@@ -523,6 +531,10 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
523
531
|
brandPurpleAccent: any;
|
|
524
532
|
brandYellow: any;
|
|
525
533
|
brandYellowAccent: any;
|
|
534
|
+
infoLight: any;
|
|
535
|
+
info: any;
|
|
536
|
+
infoMid: any;
|
|
537
|
+
infoDark: any;
|
|
526
538
|
successLight: any;
|
|
527
539
|
success: any;
|
|
528
540
|
successMid: any;
|
|
@@ -546,6 +558,18 @@ declare const StyledActionIcon: import("@stitches/react/types/styled-component")
|
|
|
546
558
|
glBlueLight: any;
|
|
547
559
|
glBluePrimary: any;
|
|
548
560
|
glBlueDark: any;
|
|
561
|
+
primary100: any;
|
|
562
|
+
primary200: any;
|
|
563
|
+
primary300: any;
|
|
564
|
+
primary400: any;
|
|
565
|
+
primary500: any;
|
|
566
|
+
primary600: any;
|
|
567
|
+
primary700: any;
|
|
568
|
+
primary800: any;
|
|
569
|
+
primary900: any;
|
|
570
|
+
primary1000: any;
|
|
571
|
+
primary1100: any;
|
|
572
|
+
primary1200: any;
|
|
549
573
|
};
|
|
550
574
|
space: {
|
|
551
575
|
"0": any;
|
|
@@ -19,9 +19,10 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
19
19
|
hover: string;
|
|
20
20
|
}, {
|
|
21
21
|
colors: {
|
|
22
|
-
|
|
22
|
+
textBold: any;
|
|
23
|
+
textRegular: any;
|
|
23
24
|
textSubtle: any;
|
|
24
|
-
|
|
25
|
+
textMinimal: any;
|
|
25
26
|
background: any;
|
|
26
27
|
backgroundAccent: any;
|
|
27
28
|
grey100: any;
|
|
@@ -168,11 +169,6 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
168
169
|
alpha200: any;
|
|
169
170
|
alpha250: any;
|
|
170
171
|
alpha600: any;
|
|
171
|
-
primaryLight: any;
|
|
172
|
-
primary: any;
|
|
173
|
-
primaryMid: any;
|
|
174
|
-
primaryDark: any;
|
|
175
|
-
secondary: any;
|
|
176
172
|
brandRed: any;
|
|
177
173
|
brandRedAccent: any;
|
|
178
174
|
brandGreen: any;
|
|
@@ -181,6 +177,10 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
181
177
|
brandPurpleAccent: any;
|
|
182
178
|
brandYellow: any;
|
|
183
179
|
brandYellowAccent: any;
|
|
180
|
+
infoLight: any;
|
|
181
|
+
info: any;
|
|
182
|
+
infoMid: any;
|
|
183
|
+
infoDark: any;
|
|
184
184
|
successLight: any;
|
|
185
185
|
success: any;
|
|
186
186
|
successMid: any;
|
|
@@ -204,6 +204,18 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
204
204
|
glBlueLight: any;
|
|
205
205
|
glBluePrimary: any;
|
|
206
206
|
glBlueDark: any;
|
|
207
|
+
primary100: any;
|
|
208
|
+
primary200: any;
|
|
209
|
+
primary300: any;
|
|
210
|
+
primary400: any;
|
|
211
|
+
primary500: any;
|
|
212
|
+
primary600: any;
|
|
213
|
+
primary700: any;
|
|
214
|
+
primary800: any;
|
|
215
|
+
primary900: any;
|
|
216
|
+
primary1000: any;
|
|
217
|
+
primary1100: any;
|
|
218
|
+
primary1200: any;
|
|
207
219
|
};
|
|
208
220
|
space: {
|
|
209
221
|
"0": any;
|
|
@@ -20,9 +20,10 @@ declare const StyledContent: 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 StyledContent: 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 StyledContent: 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 StyledContent: 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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Progress from '@radix-ui/react-progress';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const StyledProgressBar: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Progress.ProgressProps & React.RefAttributes<HTMLDivElement>>, {
|
|
4
|
-
theme?: "
|
|
4
|
+
theme?: "info" | "success" | "danger" | "warning" | "primary" | undefined;
|
|
5
5
|
}, {
|
|
6
6
|
sm: string;
|
|
7
7
|
md: string;
|
|
@@ -20,9 +20,10 @@ declare const StyledProgressBar: 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 @@ declare const StyledProgressBar: 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 @@ declare const StyledProgressBar: 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 @@ declare const StyledProgressBar: 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*as e from"@radix-ui/react-progress";import*as a from"react";import{styled as t}from"../../stitches.js";const l=t(e.Root,{borderRadius:"$round",background:"$tonal100",height:"$0",position:"relative",overflow:"hidden",width:"100%",variants:{theme:{primary:{color:"$
|
|
1
|
+
import*as e from"@radix-ui/react-progress";import*as a from"react";import{styled as t}from"../../stitches.js";const l=t(e.Root,{borderRadius:"$round",background:"$tonal100",height:"$0",position:"relative",overflow:"hidden",width:"100%",variants:{theme:{primary:{color:"$primary800"},info:{color:"$info"},success:{color:"$success"},warning:{color:"$warning"},danger:{color:"$danger"}}}}),d=t(e.Indicator,{backgroundColor:"currentcolor",borderRadius:"$round",boxSizing:"border-box",height:"100%",position:"absolute",transition:"all 300ms ease-out"}),i=({value:r,max:o=100,theme:n="primary",...s})=>a.createElement(l,{value:r,max:o,theme:n,...s},a.createElement(d,{style:{width:"100%",transform:`translateX(-${100-(r||0)/o*100}%)`}}));i.displayName="ProgressBar";export{i as ProgressBar};
|
|
2
2
|
//# sourceMappingURL=ProgressBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.js","sources":["../../../src/components/progress-bar/ProgressBar.tsx"],"sourcesContent":["import * as Progress from '@radix-ui/react-progress'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nconst StyledProgressBar = styled(Progress.Root, {\n borderRadius: '$round',\n background: '$tonal100',\n height: '$0',\n position: 'relative',\n overflow: 'hidden',\n width: '100%',\n variants: {\n theme: {\n primary: { color: '$
|
|
1
|
+
{"version":3,"file":"ProgressBar.js","sources":["../../../src/components/progress-bar/ProgressBar.tsx"],"sourcesContent":["import * as Progress from '@radix-ui/react-progress'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nconst StyledProgressBar = styled(Progress.Root, {\n borderRadius: '$round',\n background: '$tonal100',\n height: '$0',\n position: 'relative',\n overflow: 'hidden',\n width: '100%',\n variants: {\n theme: {\n primary: { color: '$primary800' },\n info: { color: '$info' },\n success: { color: '$success' },\n warning: { color: '$warning' },\n danger: { color: '$danger' }\n }\n }\n})\n\nconst StyledIndicator = styled(Progress.Indicator, {\n backgroundColor: 'currentcolor',\n borderRadius: '$round',\n boxSizing: 'border-box',\n height: '100%',\n position: 'absolute',\n transition: 'all 300ms ease-out'\n})\n\ntype ProgressBarProps = React.ComponentPropsWithoutRef<\n typeof StyledProgressBar\n> &\n (\n | { id: string; 'aria-label'?: string }\n | { 'aria-label': string; id?: string }\n )\n\nexport const ProgressBar: React.FC<ProgressBarProps> = ({\n value,\n max = 100,\n theme = 'primary',\n ...remainingProps\n}) => (\n <StyledProgressBar value={value} max={max} theme={theme} {...remainingProps}>\n <StyledIndicator\n style={{\n width: '100%',\n transform: `translateX(-${100 - ((value || 0) / max) * 100}%)`\n }}\n />\n </StyledProgressBar>\n)\n\nProgressBar.displayName = 'ProgressBar'\n"],"names":["StyledProgressBar","styled","Progress","StyledIndicator","ProgressBar","value","max","theme","remainingProps","React"],"mappings":"8GAKA,MAAMA,EAAoBC,EAAOC,EAAS,KAAM,CAC9C,aAAc,SACd,WAAY,YACZ,OAAQ,KACR,SAAU,WACV,SAAU,SACV,MAAO,OACP,SAAU,CACR,MAAO,CACL,QAAS,CAAE,MAAO,aAAc,EAChC,KAAM,CAAE,MAAO,OAAQ,EACvB,QAAS,CAAE,MAAO,UAAW,EAC7B,QAAS,CAAE,MAAO,UAAW,EAC7B,OAAQ,CAAE,MAAO,SAAU,CAC7B,CACF,CACF,CAAC,EAEKC,EAAkBF,EAAOC,EAAS,UAAW,CACjD,gBAAiB,eACjB,aAAc,SACd,UAAW,aACX,OAAQ,OACR,SAAU,WACV,WAAY,oBACd,CAAC,EAUYE,EAA0C,CAAC,CACtD,MAAAC,EACA,IAAAC,EAAM,IACN,MAAAC,EAAQ,aACLC,CACL,IACEC,EAAA,cAACT,EAAA,CAAkB,MAAOK,EAAO,IAAKC,EAAK,MAAOC,EAAQ,GAAGC,CAC3DC,EAAAA,EAAA,cAACN,EAAA,CACC,MAAO,CACL,MAAO,OACP,UAAW,eAAe,KAAQE,GAAS,GAAKC,EAAO,OACzD,CACF,CAAA,CACF,EAGFF,EAAY,YAAc"}
|
|
@@ -21,9 +21,10 @@ declare const StyledRadioButton: import("@stitches/react/types/styled-component"
|
|
|
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 StyledRadioButton: import("@stitches/react/types/styled-component"
|
|
|
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 StyledRadioButton: import("@stitches/react/types/styled-component"
|
|
|
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 StyledRadioButton: import("@stitches/react/types/styled-component"
|
|
|
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 r from"@radix-ui/react-radio-group";import*as e from"react";import{styled as t}from"../../stitches.js";const n=t(r.Item,{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal400",borderRadius:"$round",color:"white",cursor:"pointer",display:"flex",justifyContent:"center",p:0,size:"$1",variants:{size:{md:{size:"$1"},lg:{size:"$2",mt:"-$1"}}},transition:"all 50ms ease-out","&:focus":{outline:"2px solid $
|
|
1
|
+
import*as r from"@radix-ui/react-radio-group";import*as e from"react";import{styled as t}from"../../stitches.js";const n=t(r.Item,{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal400",borderRadius:"$round",color:"white",cursor:"pointer",display:"flex",justifyContent:"center",p:0,size:"$1",variants:{size:{md:{size:"$1"},lg:{size:"$2",mt:"-$1"}}},transition:"all 50ms ease-out","&:focus":{outline:"2px solid $primary800",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary800",borderColor:"$primary800"},"&[disabled]":{backgroundColor:"$tonal100",borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"}}),s=t(r.Indicator,{size:"6px",borderRadius:"$round",backgroundColor:"currentcolor",position:"absolute",variants:{size:{md:{size:"6px"},lg:{size:"12px"}}}}),a=({size:o,...i})=>e.createElement(n,{...i,size:o},e.createElement(s,{size:o}));a.displayName="RadioButton";export{a as RadioButton};
|
|
2
2
|
//# sourceMappingURL=RadioButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.js","sources":["../../../src/components/radio-button/RadioButton.tsx"],"sourcesContent":["import * as RadioGroup from '@radix-ui/react-radio-group'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { Override } from '~/utilities/types'\n\nconst StyledRadioButton = styled(RadioGroup.Item, {\n alignItems: 'center',\n appearance: 'none',\n backgroundColor: 'transparent',\n border: '1px solid $tonal400',\n borderRadius: '$round',\n color: 'white',\n cursor: 'pointer',\n display: 'flex',\n justifyContent: 'center',\n p: 0,\n size: '$1',\n variants: {\n size: {\n md: {\n size: '$1'\n },\n lg: {\n size: '$2',\n mt: '-$1'\n }\n }\n },\n transition: 'all 50ms ease-out',\n '&:focus': {\n outline: '2px solid $
|
|
1
|
+
{"version":3,"file":"RadioButton.js","sources":["../../../src/components/radio-button/RadioButton.tsx"],"sourcesContent":["import * as RadioGroup from '@radix-ui/react-radio-group'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { Override } from '~/utilities/types'\n\nconst StyledRadioButton = styled(RadioGroup.Item, {\n alignItems: 'center',\n appearance: 'none',\n backgroundColor: 'transparent',\n border: '1px solid $tonal400',\n borderRadius: '$round',\n color: 'white',\n cursor: 'pointer',\n display: 'flex',\n justifyContent: 'center',\n p: 0,\n size: '$1',\n variants: {\n size: {\n md: {\n size: '$1'\n },\n lg: {\n size: '$2',\n mt: '-$1'\n }\n }\n },\n transition: 'all 50ms ease-out',\n '&:focus': {\n outline: '2px solid $primary800',\n outlineOffset: '1px'\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: '$primary800',\n borderColor: '$primary800'\n },\n '&[disabled]': {\n backgroundColor: '$tonal100',\n borderColor: '$tonal400',\n color: '$tonal400',\n cursor: 'not-allowed'\n }\n})\n\nconst StyledIndicator = styled(RadioGroup.Indicator, {\n size: '6px',\n borderRadius: '$round',\n backgroundColor: 'currentcolor',\n position: 'absolute',\n variants: {\n size: {\n md: {\n size: '6px'\n },\n lg: {\n size: '12px'\n }\n }\n }\n})\n\ntype RadioButtonProps = Override<\n React.ComponentPropsWithoutRef<typeof StyledRadioButton>,\n {\n as?: never\n } & {\n 'aria-label'?: string\n }\n>\n\nexport const RadioButton: React.FC<RadioButtonProps> = ({ size, ...props }) => {\n return (\n <StyledRadioButton {...props} size={size}>\n <StyledIndicator size={size} />\n </StyledRadioButton>\n )\n}\n\nRadioButton.displayName = 'RadioButton'\n"],"names":["StyledRadioButton","styled","RadioGroup","StyledIndicator","RadioButton","size","props","React"],"mappings":"iHAMA,MAAMA,EAAoBC,EAAOC,EAAW,KAAM,CAChD,WAAY,SACZ,WAAY,OACZ,gBAAiB,cACjB,OAAQ,sBACR,aAAc,SACd,MAAO,QACP,OAAQ,UACR,QAAS,OACT,eAAgB,SAChB,EAAG,EACH,KAAM,KACN,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,IACR,EACA,GAAI,CACF,KAAM,KACN,GAAI,KACN,CACF,CACF,EACA,WAAY,oBACZ,UAAW,CACT,QAAS,wBACT,cAAe,KACjB,EACA,0BAA2B,CACzB,gBAAiB,cACjB,YAAa,aACf,EACA,cAAe,CACb,gBAAiB,YACjB,YAAa,YACb,MAAO,YACP,OAAQ,aACV,CACF,CAAC,EAEKC,EAAkBF,EAAOC,EAAW,UAAW,CACnD,KAAM,MACN,aAAc,SACd,gBAAiB,eACjB,SAAU,WACV,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,KACR,EACA,GAAI,CACF,KAAM,MACR,CACF,CACF,CACF,CAAC,EAWYE,EAA0C,CAAC,CAAE,KAAAC,KAASC,CAAM,IAErEC,EAAA,cAACP,EAAA,CAAmB,GAAGM,EAAO,KAAMD,GAClCE,EAAA,cAACJ,EAAA,CAAgB,KAAME,CAAAA,CAAM,CAC/B,EAIJD,EAAY,YAAc"}
|
|
@@ -20,9 +20,10 @@ export declare const RadioButtonGroup: import("@stitches/react/types/styled-comp
|
|
|
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 RadioButtonGroup: import("@stitches/react/types/styled-comp
|
|
|
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 RadioButtonGroup: import("@stitches/react/types/styled-comp
|
|
|
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 RadioButtonGroup: import("@stitches/react/types/styled-comp
|
|
|
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;
|
|
@@ -22,9 +22,10 @@ export declare const StyledRadioCard: import("@stitches/react/types/styled-compo
|
|
|
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 StyledRadioCard: import("@stitches/react/types/styled-compo
|
|
|
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 StyledRadioCard: import("@stitches/react/types/styled-compo
|
|
|
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 StyledRadioCard: import("@stitches/react/types/styled-compo
|
|
|
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;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as l from"@radix-ui/react-radio-group";import*as e from"react";import{styled as t}from"../../stitches.js";import{Box as d}from"../box/Box.js";const o=t(l.Item,{alignItems:"center",bg:"white",border:"1px solid $tonal200",borderRadius:"$0",cursor:"pointer",display:"flex",textAlign:"left",'&[data-state="checked"]':{outline:"2px solid $
|
|
1
|
+
import*as l from"@radix-ui/react-radio-group";import*as e from"react";import{styled as t}from"../../stitches.js";import{Box as d}from"../box/Box.js";const o=t(l.Item,{alignItems:"center",bg:"white",border:"1px solid $tonal200",borderRadius:"$0",cursor:"pointer",display:"flex",textAlign:"left",'&[data-state="checked"]':{outline:"2px solid $primary800",outlineOffset:"-2px"},variants:{align:{left:{flexDirection:"row"},right:{flexDirection:"row-reverse"}},size:{md:{px:"$4",py:"$3"},lg:{px:"$5",py:"$4"}},isFullWidth:{true:{width:"100%"},false:{width:"max-content"}}}}),c=t("div",{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal500",borderRadius:"$round",display:"flex",flexShrink:0,justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out",'[data-state="checked"] &':{backgroundColor:"$primary800",borderColor:"$primary800"},variants:{containerIsFullWidth:{true:{},false:{}},align:{left:{mr:"$4"},right:{}}},compoundVariants:[{containerIsFullWidth:!0,align:"right",css:{ml:"auto"}},{containerIsFullWidth:!1,align:"right",css:{ml:"$4"}}]}),p=t(l.Indicator,{backgroundColor:"white",borderRadius:"$round",position:"absolute",size:"6px"}),u=({children:a,isFullWidth:r=!1,size:n="md",align:i="left",...s})=>e.createElement(o,{...s,align:i,isFullWidth:r,size:n},e.createElement(c,{align:i,containerIsFullWidth:r},e.createElement(p,null)),e.createElement(d,null,a));export{u as RadioCard,o as StyledRadioCard};
|
|
2
2
|
//# sourceMappingURL=RadioCard.js.map
|