@atom-learning/components 3.10.1 → 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 +13 -2
- package/dist/components/accordion/Accordion.d.ts +19 -7
- package/dist/components/accordion/AccordionContent.d.ts +19 -7
- package/dist/components/accordion/AccordionItem.d.ts +19 -7
- package/dist/components/accordion/AccordionTrigger.d.ts +19 -7
- package/dist/components/action-icon/ActionIcon.d.ts +20 -8
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +19 -7
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +19 -7
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +38 -14
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +38 -14
- package/dist/components/badge/BadgeIcon.d.ts +38 -14
- package/dist/components/badge/BadgeText.d.ts +38 -14
- package/dist/components/badge/stitches.badge.colorscheme.config.js +1 -1
- package/dist/components/badge/stitches.badge.colorscheme.config.js.map +1 -1
- package/dist/components/banner/BannerContainer.d.ts +38 -14
- package/dist/components/banner/banner-regular/BannerRegularActions.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +38 -14
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +40 -16
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +19 -7
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +38 -14
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +40 -16
- package/dist/components/box/Box.d.ts +19 -7
- package/dist/components/button/Button.d.ts +20 -8
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +19 -7
- package/dist/components/calendar/Day.js +1 -1
- package/dist/components/calendar/Day.js.map +1 -1
- package/dist/components/carousel/CarouselArrows.js +1 -1
- package/dist/components/carousel/CarouselArrows.js.map +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +19 -7
- package/dist/components/carousel/CarouselPagination.js +1 -1
- package/dist/components/carousel/CarouselPagination.js.map +1 -1
- package/dist/components/carousel/CarouselSlide.d.ts +19 -7
- package/dist/components/carousel/CarouselSlider.d.ts +19 -7
- package/dist/components/checkbox/Checkbox.d.ts +19 -7
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +57 -21
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +76 -28
- package/dist/components/chip/Chip.d.ts +95 -35
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +76 -28
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +76 -28
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js.map +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +38 -14
- package/dist/components/combobox/Combobox.d.ts +19 -7
- package/dist/components/combobox/ComboboxInput.d.ts +19 -7
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxInput.js.map +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +19 -7
- package/dist/components/combobox/ComboboxOption.d.ts +19 -7
- package/dist/components/combobox/ComboboxOption.js +1 -1
- package/dist/components/combobox/ComboboxOption.js.map +1 -1
- package/dist/components/combobox/ComboboxPopover.d.ts +19 -7
- package/dist/components/create-password-field/CreatePasswordField.js +1 -1
- package/dist/components/data-table/DataTableBulkActions.js +1 -1
- package/dist/components/data-table/DataTableBulkActions.js.map +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +19 -7
- package/dist/components/data-table/DataTableRow.js +1 -1
- package/dist/components/data-table/DataTableRow.js.map +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +19 -7
- package/dist/components/dialog/Dialog.d.ts +19 -7
- package/dist/components/dialog/DialogBackground.d.ts +38 -14
- package/dist/components/dialog/DialogClose.d.ts +19 -7
- package/dist/components/dialog/DialogContent.d.ts +19 -7
- package/dist/components/divider/Divider.d.ts +19 -7
- package/dist/components/drawer/Drawer.d.ts +116 -44
- package/dist/components/drawer/DrawerContent.d.ts +19 -7
- package/dist/components/drawer/DrawerContent.js +1 -1
- package/dist/components/drawer/DrawerContent.js.map +1 -1
- package/dist/components/drawer/DrawerFooter.d.ts +19 -7
- package/dist/components/drawer/DrawerHeader.d.ts +19 -7
- package/dist/components/drawer/DrawerMain.d.ts +19 -7
- package/dist/components/drawer/DrawerOverlay.d.ts +19 -7
- package/dist/components/drawer/DrawerTrigger.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +19 -7
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +19 -7
- package/dist/components/empty-state/EmptyState.d.ts +38 -14
- package/dist/components/empty-state/EmptyStateBody.d.ts +38 -14
- package/dist/components/empty-state/EmptyStateImage.d.ts +38 -14
- package/dist/components/empty-state/EmptyStateTitle.d.ts +19 -7
- package/dist/components/flex/Flex.d.ts +19 -7
- package/dist/components/form/Form.d.ts +19 -7
- package/dist/components/form/Form.js +1 -1
- package/dist/components/grid/Grid.d.ts +19 -7
- package/dist/components/heading/Heading.d.ts +19 -7
- package/dist/components/icon/Icon.d.ts +19 -7
- package/dist/components/image/Image.d.ts +19 -7
- package/dist/components/inline-message/InlineMessage.config.js +1 -1
- package/dist/components/inline-message/InlineMessage.config.js.map +1 -1
- package/dist/components/inline-message/InlineMessage.d.ts +38 -14
- package/dist/components/input/Input.d.ts +19 -7
- package/dist/components/input/Input.js +1 -1
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/label/Label.d.ts +19 -7
- package/dist/components/link/Link.d.ts +19 -7
- package/dist/components/link/Link.js +1 -1
- package/dist/components/link/Link.js.map +1 -1
- package/dist/components/list/List.d.ts +38 -14
- package/dist/components/list/List.js +1 -1
- package/dist/components/list/List.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +19 -7
- package/dist/components/navigation/NavigationMenu.d.ts +19 -7
- package/dist/components/navigation/NavigationMenu.styles.js +1 -1
- package/dist/components/navigation/NavigationMenu.styles.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +19 -7
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +38 -14
- package/dist/components/navigation/NavigationMenuLink.js +1 -1
- package/dist/components/navigation/NavigationMenuLink.js.map +1 -1
- package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.js +1 -1
- package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +38 -14
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +19 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +38 -14
- package/dist/components/notification-badge/NotificationBadge.d.ts +38 -14
- package/dist/components/notification-badge/NotificationBadge.js +1 -1
- package/dist/components/notification-badge/NotificationBadge.js.map +1 -1
- package/dist/components/pagination/Pagination.js +1 -1
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/PaginationNextButton.d.ts +40 -16
- package/dist/components/pagination/PaginationPreviousButton.d.ts +40 -16
- package/dist/components/popover/Popover.d.ts +19 -7
- package/dist/components/popover/PopoverContent.d.ts +19 -7
- package/dist/components/progress-bar/ProgressBar.d.ts +20 -8
- package/dist/components/progress-bar/ProgressBar.js +1 -1
- package/dist/components/progress-bar/ProgressBar.js.map +1 -1
- package/dist/components/radio-button/RadioButton.d.ts +19 -7
- package/dist/components/radio-button/RadioButton.js +1 -1
- package/dist/components/radio-button/RadioButton.js.map +1 -1
- package/dist/components/radio-button/RadioButtonGroup.d.ts +19 -7
- package/dist/components/radio-card/RadioCard.d.ts +19 -7
- package/dist/components/radio-card/RadioCard.js +1 -1
- package/dist/components/radio-card/RadioCard.js.map +1 -1
- package/dist/components/section-message/SectionMessage.d.ts +136 -52
- package/dist/components/section-message/SectionMessage.js +1 -1
- package/dist/components/section-message/SectionMessage.js.map +1 -1
- package/dist/components/select/Select.d.ts +19 -7
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/side-bar/SideBar.d.ts +152 -56
- package/dist/components/side-bar/SideBarComponents.d.ts +133 -49
- package/dist/components/slider/Slider.d.ts +19 -7
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/sortable/Handle.d.ts +40 -16
- package/dist/components/stack/Stack.d.ts +19 -7
- package/dist/components/stack-content/StackContent.d.ts +19 -7
- package/dist/components/stepper/StepperStepBullet.d.ts +38 -14
- package/dist/components/stepper/StepperStepBullet.js +1 -1
- package/dist/components/stepper/StepperStepBullet.js.map +1 -1
- package/dist/components/stepper/StepperStepContainer.d.ts +38 -14
- package/dist/components/stepper/StepperStepContainer.js +1 -1
- package/dist/components/stepper/StepperStepContainer.js.map +1 -1
- package/dist/components/stepper/StepperStepLabel.d.ts +38 -14
- package/dist/components/stepper/StepperStepLabel.js +1 -1
- package/dist/components/stepper/StepperStepLabel.js.map +1 -1
- package/dist/components/switch/Switch.d.ts +19 -7
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/table/Table.d.ts +19 -7
- package/dist/components/table/TableBody.d.ts +19 -7
- package/dist/components/table/TableCell.d.ts +19 -7
- package/dist/components/table/TableFooter.d.ts +19 -7
- package/dist/components/table/TableFooterCell.d.ts +19 -7
- package/dist/components/table/TableHeader.d.ts +19 -7
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeader.js.map +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +19 -7
- package/dist/components/table/TableRow.d.ts +38 -14
- package/dist/components/tabs/Tabs.d.ts +19 -7
- package/dist/components/tabs/TabsContent.d.ts +19 -7
- package/dist/components/tabs/TabsTrigger.d.ts +19 -7
- package/dist/components/tabs/TabsTriggerList.d.ts +19 -7
- package/dist/components/tabs/TabsTriggerList.js +1 -1
- package/dist/components/tabs/TabsTriggerList.js.map +1 -1
- package/dist/components/text/Text.d.ts +20 -8
- package/dist/components/textarea/Textarea.d.ts +19 -7
- package/dist/components/textarea/Textarea.js +1 -1
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/tile/Tile.d.ts +19 -7
- package/dist/components/tile/Tile.js +1 -1
- package/dist/components/tile/Tile.js.map +1 -1
- package/dist/components/tile/TileGroup.d.ts +19 -7
- package/dist/components/tile-interactive/TileInteractive.d.ts +38 -14
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +57 -21
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +38 -14
- package/dist/components/toast/Toast.d.ts +64 -28
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +38 -14
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +38 -14
- package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +19 -7
- package/dist/components/toggle-group/index.d.ts +95 -35
- package/dist/components/tooltip/TooltipContent.d.ts +19 -7
- package/dist/components/top-bar/TopBar.d.ts +19 -7
- package/dist/components/top-bar/TopBarBrand.d.ts +57 -21
- package/dist/components/tree/Tree.d.ts +228 -84
- package/dist/components/tree/TreeCollapsible.d.ts +19 -7
- package/dist/components/tree/TreeCollapsibleContent.d.ts +38 -14
- package/dist/components/tree/TreeIcon.d.ts +38 -14
- package/dist/components/tree/TreeItemContent.d.ts +19 -7
- package/dist/components/tree/TreeListItem.d.ts +19 -7
- package/dist/components/video/Video.d.ts +38 -14
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +19 -7
- package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +14 -0
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -1
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/stitches.d.ts +209 -77
- package/dist/stitches.js +1 -1
- package/dist/stitches.js.map +1 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +20 -8
- package/dist/utilities/create-theme-variants/createThemeVariants.js.map +1 -1
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +38 -14
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.js","sources":["../../../src/components/avatar/Avatar.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nimport { AvatarIcon } from './AvatarIcon'\nimport { AvatarImage } from './AvatarImage'\nimport { AvatarInitial } from './AvatarInitial'\nimport { AvatarPlaceholder } from './AvatarPlaceholder'\n\nconst avatarRootStyles = {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n color: '$tonal400',\n borderRadius: '$round',\n border: '2px solid $tonal100',\n backgroundColor: '$white',\n overflow: 'hidden',\n variants: {\n size: {\n xs: { size: '$2' },\n sm: { size: '$3' },\n md: { size: '$4' },\n lg: { size: '$5' },\n xl: { size: '$6' },\n xxl: { size: '$7' }\n }\n }\n}\n\nconst StyledDiv = styled('div', avatarRootStyles)\nconst StyledButton = styled('button', {\n all: 'unset',\n ...avatarRootStyles,\n '&:not([disabled])': {\n '&:hover': {\n borderColor: '$tonal400',\n backgroundColor: '$tonal50'\n },\n '&:active': {\n borderColor: '$
|
|
1
|
+
{"version":3,"file":"Avatar.js","sources":["../../../src/components/avatar/Avatar.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nimport { AvatarIcon } from './AvatarIcon'\nimport { AvatarImage } from './AvatarImage'\nimport { AvatarInitial } from './AvatarInitial'\nimport { AvatarPlaceholder } from './AvatarPlaceholder'\n\nconst avatarRootStyles = {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n color: '$tonal400',\n borderRadius: '$round',\n border: '2px solid $tonal100',\n backgroundColor: '$white',\n overflow: 'hidden',\n variants: {\n size: {\n xs: { size: '$2' },\n sm: { size: '$3' },\n md: { size: '$4' },\n lg: { size: '$5' },\n xl: { size: '$6' },\n xxl: { size: '$7' }\n }\n }\n}\n\nconst StyledDiv = styled('div', avatarRootStyles)\nconst StyledButton = styled('button', {\n all: 'unset',\n ...avatarRootStyles,\n '&:not([disabled])': {\n '&:hover': {\n borderColor: '$tonal400',\n backgroundColor: '$tonal50'\n },\n '&:active': {\n borderColor: '$primary800',\n backgroundColor: '$tonal100'\n },\n '&:focus-visible': focusVisibleStyleBlock()\n },\n '&[disabled]': {\n opacity: '30%',\n cursor: 'not-allowed'\n }\n})\n\ntype TAvatarProps = React.ComponentProps<\n typeof StyledDiv | typeof StyledButton\n> & { name?: string } & (\n | {\n onClick: React.MouseEventHandler<HTMLButtonElement>\n disabled?: boolean\n }\n | { onClick?: never; disabled?: never }\n )\n\nexport type TAvatarRootContext = {\n name?: TAvatarProps['name']\n size: TAvatarProps['size']\n}\n\nexport const AvatarRootContext = React.createContext<TAvatarRootContext>({\n name: undefined,\n size: 'lg'\n})\n\nexport const AvatarRootProvider: React.FC<TAvatarProps> = ({\n children,\n name,\n size\n}) => {\n const value = React.useMemo<TAvatarRootContext>(\n () => ({ name, size }),\n [name, size]\n )\n\n return (\n <AvatarRootContext.Provider value={value}>\n {children}\n </AvatarRootContext.Provider>\n )\n}\n\nexport const AvatarRoot: React.FC<TAvatarProps> = ({\n children,\n size = 'lg',\n name,\n disabled = false,\n onClick\n}) => (\n <AvatarRootProvider name={name} size={size}>\n {onClick ? (\n <StyledButton\n size={size}\n disabled={disabled}\n onClick={disabled ? undefined : onClick}\n css={{ cursor: disabled ? 'auto' : 'pointer' }}\n >\n {children}\n </StyledButton>\n ) : (\n <StyledDiv size={size}>{children}</StyledDiv>\n )}\n </AvatarRootProvider>\n)\n\ntype TAvatar = typeof AvatarRoot & {\n Image: typeof AvatarImage\n Initial: typeof AvatarInitial\n Placeholder: typeof AvatarPlaceholder\n Icon: typeof AvatarIcon\n}\n\nexport const Avatar = AvatarRoot as TAvatar\nAvatar.Image = AvatarImage\nAvatar.Initial = AvatarInitial\nAvatar.Placeholder = AvatarPlaceholder\nAvatar.Icon = AvatarIcon\nAvatar.displayName = 'Avatar'\n"],"names":["avatarRootStyles","StyledDiv","styled","StyledButton","focusVisibleStyleBlock","AvatarRootContext","React","AvatarRootProvider","children","name","size","value","AvatarRoot","disabled","onClick","Avatar","AvatarImage","AvatarInitial","AvatarPlaceholder","AvatarIcon"],"mappings":"iiBAUA,MAAMA,EAAmB,CACvB,QAAS,OACT,eAAgB,SAChB,WAAY,SACZ,MAAO,YACP,aAAc,SACd,OAAQ,sBACR,gBAAiB,SACjB,SAAU,SACV,SAAU,CACR,KAAM,CACJ,GAAI,CAAE,KAAM,IAAK,EACjB,GAAI,CAAE,KAAM,IAAK,EACjB,GAAI,CAAE,KAAM,IAAK,EACjB,GAAI,CAAE,KAAM,IAAK,EACjB,GAAI,CAAE,KAAM,IAAK,EACjB,IAAK,CAAE,KAAM,IAAK,CACpB,CACF,CACF,EAEMC,EAAYC,EAAO,MAAOF,CAAgB,EAC1CG,EAAeD,EAAO,SAAU,CACpC,IAAK,QACL,GAAGF,EACH,oBAAqB,CACnB,UAAW,CACT,YAAa,YACb,gBAAiB,UACnB,EACA,WAAY,CACV,YAAa,cACb,gBAAiB,WACnB,EACA,kBAAmBI,EACrB,CAAA,EACA,cAAe,CACb,QAAS,MACT,OAAQ,aACV,CACF,CAAC,EAiBYC,EAAoBC,EAAM,cAAkC,CACvE,KAAM,OACN,KAAM,IACR,CAAC,EAEYC,EAA6C,CAAC,CACzD,SAAAC,EACA,KAAAC,EACA,KAAAC,CACF,IAAM,CACJ,MAAMC,EAAQL,EAAM,QAClB,KAAO,CAAE,KAAAG,EAAM,KAAAC,CAAK,GACpB,CAACD,EAAMC,CAAI,CACb,EAEA,OACEJ,EAAA,cAACD,EAAkB,SAAlB,CAA2B,MAAOM,CAAAA,EAChCH,CACH,CAEJ,EAEaI,EAAqC,CAAC,CACjD,SAAAJ,EACA,KAAAE,EAAO,KACP,KAAAD,EACA,SAAAI,EAAW,GACX,QAAAC,CACF,IACER,EAAA,cAACC,EAAmB,CAAA,KAAME,EAAM,KAAMC,CACnCI,EAAAA,EACCR,EAAA,cAACH,EAAA,CACC,KAAMO,EACN,SAAUG,EACV,QAASA,EAAW,OAAYC,EAChC,IAAK,CAAE,OAAQD,EAAW,OAAS,SAAU,CAAA,EAE5CL,CACH,EAEAF,EAAA,cAACL,EAAA,CAAU,KAAMS,CAAAA,EAAOF,CAAS,CAErC,EAUWO,EAASH,EACtBG,EAAO,MAAQC,EACfD,EAAO,QAAUE,EACjBF,EAAO,YAAcG,EACrBH,EAAO,KAAOI,EACdJ,EAAO,YAAc"}
|
|
@@ -26,9 +26,10 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
26
26
|
hover: string;
|
|
27
27
|
}, {
|
|
28
28
|
colors: {
|
|
29
|
-
|
|
29
|
+
textBold: any;
|
|
30
|
+
textRegular: any;
|
|
30
31
|
textSubtle: any;
|
|
31
|
-
|
|
32
|
+
textMinimal: any;
|
|
32
33
|
background: any;
|
|
33
34
|
backgroundAccent: any;
|
|
34
35
|
grey100: any;
|
|
@@ -175,11 +176,6 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
175
176
|
alpha200: any;
|
|
176
177
|
alpha250: any;
|
|
177
178
|
alpha600: any;
|
|
178
|
-
primaryLight: any;
|
|
179
|
-
primary: any;
|
|
180
|
-
primaryMid: any;
|
|
181
|
-
primaryDark: any;
|
|
182
|
-
secondary: any;
|
|
183
179
|
brandRed: any;
|
|
184
180
|
brandRedAccent: any;
|
|
185
181
|
brandGreen: any;
|
|
@@ -188,6 +184,10 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
188
184
|
brandPurpleAccent: any;
|
|
189
185
|
brandYellow: any;
|
|
190
186
|
brandYellowAccent: any;
|
|
187
|
+
infoLight: any;
|
|
188
|
+
info: any;
|
|
189
|
+
infoMid: any;
|
|
190
|
+
infoDark: any;
|
|
191
191
|
successLight: any;
|
|
192
192
|
success: any;
|
|
193
193
|
successMid: any;
|
|
@@ -211,6 +211,18 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
211
211
|
glBlueLight: any;
|
|
212
212
|
glBluePrimary: any;
|
|
213
213
|
glBlueDark: any;
|
|
214
|
+
primary100: any;
|
|
215
|
+
primary200: any;
|
|
216
|
+
primary300: any;
|
|
217
|
+
primary400: any;
|
|
218
|
+
primary500: any;
|
|
219
|
+
primary600: any;
|
|
220
|
+
primary700: any;
|
|
221
|
+
primary800: any;
|
|
222
|
+
primary900: any;
|
|
223
|
+
primary1000: any;
|
|
224
|
+
primary1100: any;
|
|
225
|
+
primary1200: any;
|
|
214
226
|
};
|
|
215
227
|
space: {
|
|
216
228
|
"0": any;
|
|
@@ -347,9 +359,10 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
347
359
|
hover: string;
|
|
348
360
|
}, {
|
|
349
361
|
colors: {
|
|
350
|
-
|
|
362
|
+
textBold: any;
|
|
363
|
+
textRegular: any;
|
|
351
364
|
textSubtle: any;
|
|
352
|
-
|
|
365
|
+
textMinimal: any;
|
|
353
366
|
background: any;
|
|
354
367
|
backgroundAccent: any;
|
|
355
368
|
grey100: any;
|
|
@@ -496,11 +509,6 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
496
509
|
alpha200: any;
|
|
497
510
|
alpha250: any;
|
|
498
511
|
alpha600: any;
|
|
499
|
-
primaryLight: any;
|
|
500
|
-
primary: any;
|
|
501
|
-
primaryMid: any;
|
|
502
|
-
primaryDark: any;
|
|
503
|
-
secondary: any;
|
|
504
512
|
brandRed: any;
|
|
505
513
|
brandRedAccent: any;
|
|
506
514
|
brandGreen: any;
|
|
@@ -509,6 +517,10 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
509
517
|
brandPurpleAccent: any;
|
|
510
518
|
brandYellow: any;
|
|
511
519
|
brandYellowAccent: any;
|
|
520
|
+
infoLight: any;
|
|
521
|
+
info: any;
|
|
522
|
+
infoMid: any;
|
|
523
|
+
infoDark: any;
|
|
512
524
|
successLight: any;
|
|
513
525
|
success: any;
|
|
514
526
|
successMid: any;
|
|
@@ -532,6 +544,18 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
|
|
|
532
544
|
glBlueLight: any;
|
|
533
545
|
glBluePrimary: any;
|
|
534
546
|
glBlueDark: any;
|
|
547
|
+
primary100: any;
|
|
548
|
+
primary200: any;
|
|
549
|
+
primary300: any;
|
|
550
|
+
primary400: any;
|
|
551
|
+
primary500: any;
|
|
552
|
+
primary600: any;
|
|
553
|
+
primary700: any;
|
|
554
|
+
primary800: any;
|
|
555
|
+
primary900: any;
|
|
556
|
+
primary1000: any;
|
|
557
|
+
primary1100: any;
|
|
558
|
+
primary1200: any;
|
|
535
559
|
};
|
|
536
560
|
space: {
|
|
537
561
|
"0": any;
|
|
@@ -22,9 +22,10 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
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 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
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 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
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 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
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;
|
|
@@ -344,9 +356,10 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
344
356
|
hover: string;
|
|
345
357
|
}, {
|
|
346
358
|
colors: {
|
|
347
|
-
|
|
359
|
+
textBold: any;
|
|
360
|
+
textRegular: any;
|
|
348
361
|
textSubtle: any;
|
|
349
|
-
|
|
362
|
+
textMinimal: any;
|
|
350
363
|
background: any;
|
|
351
364
|
backgroundAccent: any;
|
|
352
365
|
grey100: any;
|
|
@@ -493,11 +506,6 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
493
506
|
alpha200: any;
|
|
494
507
|
alpha250: any;
|
|
495
508
|
alpha600: any;
|
|
496
|
-
primaryLight: any;
|
|
497
|
-
primary: any;
|
|
498
|
-
primaryMid: any;
|
|
499
|
-
primaryDark: any;
|
|
500
|
-
secondary: any;
|
|
501
509
|
brandRed: any;
|
|
502
510
|
brandRedAccent: any;
|
|
503
511
|
brandGreen: any;
|
|
@@ -506,6 +514,10 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
506
514
|
brandPurpleAccent: any;
|
|
507
515
|
brandYellow: any;
|
|
508
516
|
brandYellowAccent: any;
|
|
517
|
+
infoLight: any;
|
|
518
|
+
info: any;
|
|
519
|
+
infoMid: any;
|
|
520
|
+
infoDark: any;
|
|
509
521
|
successLight: any;
|
|
510
522
|
success: any;
|
|
511
523
|
successMid: any;
|
|
@@ -529,6 +541,18 @@ declare const StyledBadgeIcon: import("@stitches/react/types/styled-component").
|
|
|
529
541
|
glBlueLight: any;
|
|
530
542
|
glBluePrimary: any;
|
|
531
543
|
glBlueDark: any;
|
|
544
|
+
primary100: any;
|
|
545
|
+
primary200: any;
|
|
546
|
+
primary300: any;
|
|
547
|
+
primary400: any;
|
|
548
|
+
primary500: any;
|
|
549
|
+
primary600: any;
|
|
550
|
+
primary700: any;
|
|
551
|
+
primary800: any;
|
|
552
|
+
primary900: any;
|
|
553
|
+
primary1000: any;
|
|
554
|
+
primary1100: any;
|
|
555
|
+
primary1200: any;
|
|
532
556
|
};
|
|
533
557
|
space: {
|
|
534
558
|
"0": any;
|
|
@@ -23,9 +23,10 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
23
23
|
hover: string;
|
|
24
24
|
}, {
|
|
25
25
|
colors: {
|
|
26
|
-
|
|
26
|
+
textBold: any;
|
|
27
|
+
textRegular: any;
|
|
27
28
|
textSubtle: any;
|
|
28
|
-
|
|
29
|
+
textMinimal: any;
|
|
29
30
|
background: any;
|
|
30
31
|
backgroundAccent: any;
|
|
31
32
|
grey100: any;
|
|
@@ -172,11 +173,6 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
172
173
|
alpha200: any;
|
|
173
174
|
alpha250: any;
|
|
174
175
|
alpha600: any;
|
|
175
|
-
primaryLight: any;
|
|
176
|
-
primary: any;
|
|
177
|
-
primaryMid: any;
|
|
178
|
-
primaryDark: any;
|
|
179
|
-
secondary: any;
|
|
180
176
|
brandRed: any;
|
|
181
177
|
brandRedAccent: any;
|
|
182
178
|
brandGreen: any;
|
|
@@ -185,6 +181,10 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
185
181
|
brandPurpleAccent: any;
|
|
186
182
|
brandYellow: any;
|
|
187
183
|
brandYellowAccent: any;
|
|
184
|
+
infoLight: any;
|
|
185
|
+
info: any;
|
|
186
|
+
infoMid: any;
|
|
187
|
+
infoDark: any;
|
|
188
188
|
successLight: any;
|
|
189
189
|
success: any;
|
|
190
190
|
successMid: any;
|
|
@@ -208,6 +208,18 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
208
208
|
glBlueLight: any;
|
|
209
209
|
glBluePrimary: any;
|
|
210
210
|
glBlueDark: any;
|
|
211
|
+
primary100: any;
|
|
212
|
+
primary200: any;
|
|
213
|
+
primary300: any;
|
|
214
|
+
primary400: any;
|
|
215
|
+
primary500: any;
|
|
216
|
+
primary600: any;
|
|
217
|
+
primary700: any;
|
|
218
|
+
primary800: any;
|
|
219
|
+
primary900: any;
|
|
220
|
+
primary1000: any;
|
|
221
|
+
primary1100: any;
|
|
222
|
+
primary1200: any;
|
|
211
223
|
};
|
|
212
224
|
space: {
|
|
213
225
|
"0": any;
|
|
@@ -346,9 +358,10 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
346
358
|
hover: string;
|
|
347
359
|
}, {
|
|
348
360
|
colors: {
|
|
349
|
-
|
|
361
|
+
textBold: any;
|
|
362
|
+
textRegular: any;
|
|
350
363
|
textSubtle: any;
|
|
351
|
-
|
|
364
|
+
textMinimal: any;
|
|
352
365
|
background: any;
|
|
353
366
|
backgroundAccent: any;
|
|
354
367
|
grey100: any;
|
|
@@ -495,11 +508,6 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
495
508
|
alpha200: any;
|
|
496
509
|
alpha250: any;
|
|
497
510
|
alpha600: any;
|
|
498
|
-
primaryLight: any;
|
|
499
|
-
primary: any;
|
|
500
|
-
primaryMid: any;
|
|
501
|
-
primaryDark: any;
|
|
502
|
-
secondary: any;
|
|
503
511
|
brandRed: any;
|
|
504
512
|
brandRedAccent: any;
|
|
505
513
|
brandGreen: any;
|
|
@@ -508,6 +516,10 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
508
516
|
brandPurpleAccent: any;
|
|
509
517
|
brandYellow: any;
|
|
510
518
|
brandYellowAccent: any;
|
|
519
|
+
infoLight: any;
|
|
520
|
+
info: any;
|
|
521
|
+
infoMid: any;
|
|
522
|
+
infoDark: any;
|
|
511
523
|
successLight: any;
|
|
512
524
|
success: any;
|
|
513
525
|
successMid: any;
|
|
@@ -531,6 +543,18 @@ declare const StyledBadgeText: import("@stitches/react/types/styled-component").
|
|
|
531
543
|
glBlueLight: any;
|
|
532
544
|
glBluePrimary: any;
|
|
533
545
|
glBlueDark: any;
|
|
546
|
+
primary100: any;
|
|
547
|
+
primary200: any;
|
|
548
|
+
primary300: any;
|
|
549
|
+
primary400: any;
|
|
550
|
+
primary500: any;
|
|
551
|
+
primary600: any;
|
|
552
|
+
primary700: any;
|
|
553
|
+
primary800: any;
|
|
554
|
+
primary900: any;
|
|
555
|
+
primary1000: any;
|
|
556
|
+
primary1100: any;
|
|
557
|
+
primary1200: any;
|
|
534
558
|
};
|
|
535
559
|
space: {
|
|
536
560
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createTheme as e}from"../../stitches.js";const
|
|
1
|
+
import{createTheme as e}from"../../stitches.js";const o=e({colors:{textSubtle:"$infoMid",backgroundSubtle:"$infoLight",textBold:"#FFF",backgroundBold:"$info"}}),t=e({colors:{textSubtle:"$grey900",backgroundSubtle:"$grey100",textBold:"#FFF",backgroundBold:"$grey800"}}),l=e({colors:{textSubtle:"$successMid",backgroundSubtle:"$successLight",textBold:"#FFF",backgroundBold:"$success"}}),r=e({colors:{textSubtle:"$dangerMid",backgroundSubtle:"$dangerLight",textBold:"#FFF",backgroundBold:"$danger"}}),u=e({colors:{textSubtle:"$warningText",backgroundSubtle:"$warningLight",textBold:"$grey1000",backgroundBold:"$warning"}}),d=e({colors:{textSubtle:"$grey1000",backgroundSubtle:"$grey200",textBold:"#FFF",backgroundBold:"$grey800"}}),b=e({colors:{textSubtle:"$blue1000",backgroundSubtle:"$blue200",textBold:"#FFF",backgroundBold:"$blue800"}}),g=e({colors:{textSubtle:"$purple1000",backgroundSubtle:"$purple200",textBold:"#FFF",backgroundBold:"$purple800"}}),n=e({colors:{textSubtle:"$cyan1000",backgroundSubtle:"$cyan200",textBold:"#FFF",backgroundBold:"$cyan800"}}),c=e({colors:{textSubtle:"$green1000",backgroundSubtle:"$green200",textBold:"#FFF",backgroundBold:"$green800"}}),a=e({colors:{textSubtle:"$magenta1000",backgroundSubtle:"$magenta200",textBold:"#FFF",backgroundBold:"$magenta800"}}),$=e({colors:{textSubtle:"$red1000",backgroundSubtle:"$red200",textBold:"#FFF",backgroundBold:"$red800"}}),F=e({colors:{textSubtle:"$teal1000",backgroundSubtle:"$teal200",textBold:"#FFF",backgroundBold:"$teal800"}}),x=e({colors:{textSubtle:"$orange1000",backgroundSubtle:"$orange200",textBold:"$grey1200",backgroundBold:"$orange600"}}),S=e({colors:{textSubtle:"$yellow1000",backgroundSubtle:"$yellow200",textBold:"$grey1200",backgroundBold:"$yellow500"}}),k=e({colors:{textSubtle:"$lime1000",backgroundSubtle:"$lime200",textBold:"$grey1200",backgroundBold:"$lime600"}}),s={info:o,neutral:t,success:l,danger:r,warning:u,grey:d,blue:b,purple:g,cyan:n,green:c,magenta:a,red:$,teal:F,orange:x,yellow:S,lime:k};export{s as colorSchemes};
|
|
2
2
|
//# sourceMappingURL=stitches.badge.colorscheme.config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stitches.badge.colorscheme.config.js","sources":["../../../src/components/badge/stitches.badge.colorscheme.config.ts"],"sourcesContent":["import { createTheme } from '~/stitches'\n\n/*\n * Semantic themes\n */\n\nconst info = createTheme({\n colors: {\n textSubtle: '$
|
|
1
|
+
{"version":3,"file":"stitches.badge.colorscheme.config.js","sources":["../../../src/components/badge/stitches.badge.colorscheme.config.ts"],"sourcesContent":["import { createTheme } from '~/stitches'\n\n/*\n * Semantic themes\n */\n\nconst info = createTheme({\n colors: {\n textSubtle: '$infoMid',\n backgroundSubtle: '$infoLight',\n textBold: '#FFF',\n backgroundBold: '$info'\n }\n})\n\nconst neutral = createTheme({\n colors: {\n textSubtle: '$grey900',\n backgroundSubtle: '$grey100',\n textBold: '#FFF',\n backgroundBold: '$grey800'\n }\n})\n\nconst success = createTheme({\n colors: {\n textSubtle: '$successMid',\n backgroundSubtle: '$successLight',\n textBold: '#FFF',\n backgroundBold: '$success'\n }\n})\n\nconst danger = createTheme({\n colors: {\n textSubtle: '$dangerMid',\n backgroundSubtle: '$dangerLight',\n textBold: '#FFF',\n backgroundBold: '$danger'\n }\n})\n\nconst warning = createTheme({\n colors: {\n textSubtle: '$warningText',\n backgroundSubtle: '$warningLight',\n textBold: '$grey1000',\n backgroundBold: '$warning'\n }\n})\n\n/*\n * Non-semantic themes\n */\n\nconst grey = createTheme({\n colors: {\n textSubtle: '$grey1000',\n backgroundSubtle: '$grey200',\n textBold: '#FFF',\n backgroundBold: '$grey800'\n }\n})\n\nconst blue = createTheme({\n colors: {\n textSubtle: '$blue1000',\n backgroundSubtle: '$blue200',\n textBold: '#FFF',\n backgroundBold: '$blue800'\n }\n})\n\nconst purple = createTheme({\n colors: {\n textSubtle: '$purple1000',\n backgroundSubtle: '$purple200',\n textBold: '#FFF',\n backgroundBold: '$purple800'\n }\n})\n\nconst cyan = createTheme({\n colors: {\n textSubtle: '$cyan1000',\n backgroundSubtle: '$cyan200',\n textBold: '#FFF',\n backgroundBold: '$cyan800'\n }\n})\n\nconst green = createTheme({\n colors: {\n textSubtle: '$green1000',\n backgroundSubtle: '$green200',\n textBold: '#FFF',\n backgroundBold: '$green800'\n }\n})\n\nconst magenta = createTheme({\n colors: {\n textSubtle: '$magenta1000',\n backgroundSubtle: '$magenta200',\n textBold: '#FFF',\n backgroundBold: '$magenta800'\n }\n})\n\nconst red = createTheme({\n colors: {\n textSubtle: '$red1000',\n backgroundSubtle: '$red200',\n textBold: '#FFF',\n backgroundBold: '$red800'\n }\n})\n\nconst teal = createTheme({\n colors: {\n textSubtle: '$teal1000',\n backgroundSubtle: '$teal200',\n textBold: '#FFF',\n backgroundBold: '$teal800'\n }\n})\n\nconst orange = createTheme({\n colors: {\n textSubtle: '$orange1000',\n backgroundSubtle: '$orange200',\n textBold: '$grey1200',\n backgroundBold: '$orange600'\n }\n})\n\nconst yellow = createTheme({\n colors: {\n textSubtle: '$yellow1000',\n backgroundSubtle: '$yellow200',\n textBold: '$grey1200',\n backgroundBold: '$yellow500'\n }\n})\n\nconst lime = createTheme({\n colors: {\n textSubtle: '$lime1000',\n backgroundSubtle: '$lime200',\n textBold: '$grey1200',\n backgroundBold: '$lime600'\n }\n})\n\nexport const colorSchemes = {\n info,\n neutral,\n success,\n danger,\n warning,\n grey,\n blue,\n purple,\n cyan,\n green,\n magenta,\n red,\n teal,\n orange,\n yellow,\n lime\n}\n"],"names":["info","createTheme","neutral","success","danger","warning","grey","blue","purple","cyan","green","magenta","red","teal","orange","yellow","lime","colorSchemes"],"mappings":"gDAMA,MAAMA,EAAOC,EAAY,CACvB,OAAQ,CACN,WAAY,WACZ,iBAAkB,aAClB,SAAU,OACV,eAAgB,OAClB,CACF,CAAC,EAEKC,EAAUD,EAAY,CAC1B,OAAQ,CACN,WAAY,WACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKE,EAAUF,EAAY,CAC1B,OAAQ,CACN,WAAY,cACZ,iBAAkB,gBAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKG,EAASH,EAAY,CACzB,OAAQ,CACN,WAAY,aACZ,iBAAkB,eAClB,SAAU,OACV,eAAgB,SAClB,CACF,CAAC,EAEKI,EAAUJ,EAAY,CAC1B,OAAQ,CACN,WAAY,eACZ,iBAAkB,gBAClB,SAAU,YACV,eAAgB,UAClB,CACF,CAAC,EAMKK,EAAOL,EAAY,CACvB,OAAQ,CACN,WAAY,YACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKM,EAAON,EAAY,CACvB,OAAQ,CACN,WAAY,YACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKO,EAASP,EAAY,CACzB,OAAQ,CACN,WAAY,cACZ,iBAAkB,aAClB,SAAU,OACV,eAAgB,YAClB,CACF,CAAC,EAEKQ,EAAOR,EAAY,CACvB,OAAQ,CACN,WAAY,YACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKS,EAAQT,EAAY,CACxB,OAAQ,CACN,WAAY,aACZ,iBAAkB,YAClB,SAAU,OACV,eAAgB,WAClB,CACF,CAAC,EAEKU,EAAUV,EAAY,CAC1B,OAAQ,CACN,WAAY,eACZ,iBAAkB,cAClB,SAAU,OACV,eAAgB,aAClB,CACF,CAAC,EAEKW,EAAMX,EAAY,CACtB,OAAQ,CACN,WAAY,WACZ,iBAAkB,UAClB,SAAU,OACV,eAAgB,SAClB,CACF,CAAC,EAEKY,EAAOZ,EAAY,CACvB,OAAQ,CACN,WAAY,YACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKa,EAASb,EAAY,CACzB,OAAQ,CACN,WAAY,cACZ,iBAAkB,aAClB,SAAU,YACV,eAAgB,YAClB,CACF,CAAC,EAEKc,EAASd,EAAY,CACzB,OAAQ,CACN,WAAY,cACZ,iBAAkB,aAClB,SAAU,YACV,eAAgB,YAClB,CACF,CAAC,EAEKe,EAAOf,EAAY,CACvB,OAAQ,CACN,WAAY,YACZ,iBAAkB,WAClB,SAAU,YACV,eAAgB,UAClB,CACF,CAAC,EAEYgB,EAAe,CAC1B,KAAAjB,EACA,QAAAE,EACA,QAAAC,EACA,OAAAC,EACA,QAAAC,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,KAAAC,EACA,MAAAC,EACA,QAAAC,EACA,IAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,KAAAC,CACF"}
|
|
@@ -25,9 +25,10 @@ declare const StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
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 StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
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 StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
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 StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
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;
|
|
@@ -346,9 +358,10 @@ declare const StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
346
358
|
hover: string;
|
|
347
359
|
}, {
|
|
348
360
|
colors: {
|
|
349
|
-
|
|
361
|
+
textBold: any;
|
|
362
|
+
textRegular: any;
|
|
350
363
|
textSubtle: any;
|
|
351
|
-
|
|
364
|
+
textMinimal: any;
|
|
352
365
|
background: any;
|
|
353
366
|
backgroundAccent: any;
|
|
354
367
|
grey100: any;
|
|
@@ -495,11 +508,6 @@ declare const StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
495
508
|
alpha200: any;
|
|
496
509
|
alpha250: any;
|
|
497
510
|
alpha600: any;
|
|
498
|
-
primaryLight: any;
|
|
499
|
-
primary: any;
|
|
500
|
-
primaryMid: any;
|
|
501
|
-
primaryDark: any;
|
|
502
|
-
secondary: any;
|
|
503
511
|
brandRed: any;
|
|
504
512
|
brandRedAccent: any;
|
|
505
513
|
brandGreen: any;
|
|
@@ -508,6 +516,10 @@ declare const StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
508
516
|
brandPurpleAccent: any;
|
|
509
517
|
brandYellow: any;
|
|
510
518
|
brandYellowAccent: any;
|
|
519
|
+
infoLight: any;
|
|
520
|
+
info: any;
|
|
521
|
+
infoMid: any;
|
|
522
|
+
infoDark: any;
|
|
511
523
|
successLight: any;
|
|
512
524
|
success: any;
|
|
513
525
|
successMid: any;
|
|
@@ -531,6 +543,18 @@ declare const StyledBannerContainer: import("@stitches/react/types/styled-compon
|
|
|
531
543
|
glBlueLight: any;
|
|
532
544
|
glBluePrimary: any;
|
|
533
545
|
glBlueDark: any;
|
|
546
|
+
primary100: any;
|
|
547
|
+
primary200: any;
|
|
548
|
+
primary300: any;
|
|
549
|
+
primary400: any;
|
|
550
|
+
primary500: any;
|
|
551
|
+
primary600: any;
|
|
552
|
+
primary700: any;
|
|
553
|
+
primary800: any;
|
|
554
|
+
primary900: any;
|
|
555
|
+
primary1000: any;
|
|
556
|
+
primary1100: any;
|
|
557
|
+
primary1200: any;
|
|
534
558
|
};
|
|
535
559
|
space: {
|
|
536
560
|
"0": any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"invariant";import*as n from"react";import{overrideStitchesVariantValue as m}from"../../../utilities/override-stitches-variant-value/overrideStitchesVariantValue.js";import{Flex as
|
|
1
|
+
import a from"invariant";import*as n from"react";import{overrideStitchesVariantValue as m}from"../../../utilities/override-stitches-variant-value/overrideStitchesVariantValue.js";import{Flex as f}from"../../flex/Flex.js";import{useBannerContext as y}from"../BannerContext.js";import{BannerRegularButton as t}from"./BannerRegularButton.js";const l=2,h={sm:2,md:4},N={sm:"column",md:"row"},r=({children:i,...s})=>{const{size:o}=y(),p=n.useMemo(()=>m(o,e=>h[e]),[o]),d=n.useMemo(()=>m(o,e=>N[e]),[o]);return a(n.Children.count(i)<=l,`A maximum of ${l} ${t.displayName} component(s) are permitted as children of ${r.displayName}`),n.createElement(f,{gap:p,direction:d,...s},n.Children.map(i,(e,c)=>{if(e==null)return e;if(!n.isValidElement(e))throw new Error(`Child passed to ${r.displayName} is not a valid element`);a(e.type===t,`Children of type ${e==null?void 0:e.type} aren't permitted. Only an ${t.displayName} component is allowed in ${r.displayName}`);const u={appearance:c>0?"outline":void 0};return n.cloneElement(e,u)}))};r.displayName="BannerRegularActions";export{r as BannerRegularActions};
|
|
2
2
|
//# sourceMappingURL=BannerRegularActions.js.map
|
|
@@ -17,9 +17,10 @@ declare const Container: import("@stitches/react/types/styled-component").Styled
|
|
|
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 Container: import("@stitches/react/types/styled-component").Styled
|
|
|
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 Container: import("@stitches/react/types/styled-component").Styled
|
|
|
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 Container: import("@stitches/react/types/styled-component").Styled
|
|
|
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;
|
|
@@ -337,9 +349,10 @@ declare const Container: import("@stitches/react/types/styled-component").Styled
|
|
|
337
349
|
hover: string;
|
|
338
350
|
}, {
|
|
339
351
|
colors: {
|
|
340
|
-
|
|
352
|
+
textBold: any;
|
|
353
|
+
textRegular: any;
|
|
341
354
|
textSubtle: any;
|
|
342
|
-
|
|
355
|
+
textMinimal: any;
|
|
343
356
|
background: any;
|
|
344
357
|
backgroundAccent: any;
|
|
345
358
|
grey100: any;
|
|
@@ -486,11 +499,6 @@ declare const Container: import("@stitches/react/types/styled-component").Styled
|
|
|
486
499
|
alpha200: any;
|
|
487
500
|
alpha250: any;
|
|
488
501
|
alpha600: any;
|
|
489
|
-
primaryLight: any;
|
|
490
|
-
primary: any;
|
|
491
|
-
primaryMid: any;
|
|
492
|
-
primaryDark: any;
|
|
493
|
-
secondary: any;
|
|
494
502
|
brandRed: any;
|
|
495
503
|
brandRedAccent: any;
|
|
496
504
|
brandGreen: any;
|
|
@@ -499,6 +507,10 @@ declare const Container: import("@stitches/react/types/styled-component").Styled
|
|
|
499
507
|
brandPurpleAccent: any;
|
|
500
508
|
brandYellow: any;
|
|
501
509
|
brandYellowAccent: any;
|
|
510
|
+
infoLight: any;
|
|
511
|
+
info: any;
|
|
512
|
+
infoMid: any;
|
|
513
|
+
infoDark: any;
|
|
502
514
|
successLight: any;
|
|
503
515
|
success: any;
|
|
504
516
|
successMid: any;
|
|
@@ -522,6 +534,18 @@ declare const Container: import("@stitches/react/types/styled-component").Styled
|
|
|
522
534
|
glBlueLight: any;
|
|
523
535
|
glBluePrimary: any;
|
|
524
536
|
glBlueDark: any;
|
|
537
|
+
primary100: any;
|
|
538
|
+
primary200: any;
|
|
539
|
+
primary300: any;
|
|
540
|
+
primary400: any;
|
|
541
|
+
primary500: any;
|
|
542
|
+
primary600: any;
|
|
543
|
+
primary700: any;
|
|
544
|
+
primary800: any;
|
|
545
|
+
primary900: any;
|
|
546
|
+
primary1000: any;
|
|
547
|
+
primary1100: any;
|
|
548
|
+
primary1200: any;
|
|
525
549
|
};
|
|
526
550
|
space: {
|
|
527
551
|
"0": any;
|