@atom-learning/components 2.51.0 → 2.53.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 +7 -6
- package/dist/components/accordion/Accordion.d.ts +7 -0
- package/dist/components/accordion/AccordionContent.d.ts +7 -0
- package/dist/components/accordion/AccordionContent.js +1 -1
- package/dist/components/accordion/AccordionContent.js.map +1 -1
- package/dist/components/accordion/AccordionItem.d.ts +7 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +7 -0
- package/dist/components/accordion/AccordionTrigger.js +1 -1
- package/dist/components/accordion/AccordionTrigger.js.map +1 -1
- package/dist/components/action-icon/ActionIcon.d.ts +7 -0
- package/dist/components/alert-dialog/AlertDialog.d.ts +7 -0
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +7 -0
- package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
- package/dist/components/alert-dialog/AlertDialogContent.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +14 -0
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +14 -0
- package/dist/components/banner/BannerContainer.d.ts +14 -0
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +14 -0
- package/dist/components/box/Box.d.ts +7 -0
- package/dist/components/button/Button.d.ts +7 -0
- package/dist/components/calendar/Day.d.ts +7 -0
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/carousel/Carousel.js.map +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +7 -0
- package/dist/components/carousel/CarouselSlide.d.ts +7 -0
- package/dist/components/carousel/CarouselSlider.d.ts +7 -0
- package/dist/components/checkbox/Checkbox.d.ts +7 -0
- package/dist/components/chip/Chip.d.ts +49 -0
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +14 -0
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +14 -0
- 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 +14 -0
- package/dist/components/combobox/Combobox.d.ts +7 -0
- package/dist/components/combobox/ComboboxInput.d.ts +7 -0
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxInput.js.map +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +7 -0
- package/dist/components/combobox/ComboboxOption.d.ts +7 -0
- package/dist/components/combobox/ComboboxPopover.d.ts +7 -0
- package/dist/components/data-table/DataTableLoading.d.ts +7 -0
- package/dist/components/data-table/pagination/Pagination.d.ts +7 -0
- package/dist/components/dialog/Dialog.d.ts +7 -0
- package/dist/components/dialog/DialogBackground.d.ts +14 -0
- package/dist/components/dialog/DialogClose.d.ts +7 -0
- package/dist/components/dialog/DialogContent.d.ts +7 -0
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/dialog/DialogContent.js.map +1 -1
- package/dist/components/divider/Divider.d.ts +7 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +7 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +7 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuContent.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +7 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +7 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +7 -0
- package/dist/components/empty-state/EmptyState.d.ts +14 -0
- package/dist/components/empty-state/EmptyStateBody.d.ts +14 -0
- package/dist/components/empty-state/EmptyStateImage.d.ts +14 -0
- package/dist/components/empty-state/EmptyStateTitle.d.ts +7 -0
- package/dist/components/flex/Flex.d.ts +7 -0
- package/dist/components/form/Form.d.ts +7 -0
- package/dist/components/grid/Grid.d.ts +7 -0
- package/dist/components/grid/Grid.js +1 -1
- package/dist/components/grid/Grid.js.map +1 -1
- package/dist/components/heading/Heading.d.ts +7 -0
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.d.ts +7 -0
- package/dist/components/image/Image.d.ts +7 -0
- package/dist/components/inline-message/InlineMessage.d.ts +14 -0
- package/dist/components/input/Input.d.ts +7 -0
- package/dist/components/label/Label.d.ts +7 -0
- package/dist/components/link/Link.d.ts +7 -0
- package/dist/components/list/List.d.ts +14 -0
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +7 -0
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +14 -0
- package/dist/components/notification-badge/NotificationBadge.d.ts +14 -0
- package/dist/components/popover/Popover.d.ts +7 -0
- package/dist/components/popover/PopoverContent.d.ts +7 -0
- package/dist/components/popover/PopoverContent.js +1 -1
- package/dist/components/popover/PopoverContent.js.map +1 -1
- package/dist/components/progress-bar/ProgressBar.d.ts +7 -0
- package/dist/components/radio-button/RadioButton.d.ts +7 -0
- package/dist/components/radio-button/RadioButtonGroup.d.ts +7 -0
- package/dist/components/radio-card/RadioCard.d.ts +7 -0
- package/dist/components/section-message/SectionMessage.d.ts +49 -0
- package/dist/components/select/Select.d.ts +7 -0
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerContent.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerContent.js +1 -1
- package/dist/components/sidedrawer/SidedrawerContent.js.map +1 -1
- package/dist/components/sidedrawer/SidedrawerFooter.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerHeader.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +7 -0
- package/dist/components/sidedrawer/SidedrawerOverlay.js +1 -1
- package/dist/components/sidedrawer/SidedrawerOverlay.js.map +1 -1
- package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +7 -0
- package/dist/components/slider/Slider.d.ts +7 -0
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/sortable/Handle.d.ts +14 -0
- package/dist/components/stack/Stack.d.ts +7 -0
- package/dist/components/stack/Stack.js +1 -1
- package/dist/components/stack/Stack.js.map +1 -1
- package/dist/components/stack-content/StackContent.d.ts +7 -0
- package/dist/components/stepper/StepperStepBullet.d.ts +14 -0
- package/dist/components/stepper/StepperStepContainer.d.ts +14 -0
- package/dist/components/stepper/StepperStepLabel.d.ts +14 -0
- package/dist/components/switch/Switch.d.ts +7 -0
- package/dist/components/table/Table.d.ts +7 -0
- package/dist/components/table/TableBody.d.ts +7 -0
- package/dist/components/table/TableCell.d.ts +7 -0
- package/dist/components/table/TableFooter.d.ts +7 -0
- package/dist/components/table/TableFooterCell.d.ts +7 -0
- package/dist/components/table/TableHeader.d.ts +7 -0
- package/dist/components/table/TableHeaderCell.d.ts +7 -0
- package/dist/components/table/TableRow.d.ts +14 -0
- package/dist/components/tabs/Tabs.d.ts +7 -0
- package/dist/components/tabs/TabsContent.d.ts +7 -0
- package/dist/components/tabs/TabsTrigger.d.ts +7 -0
- package/dist/components/tabs/TabsTrigger.js +1 -1
- package/dist/components/tabs/TabsTrigger.js.map +1 -1
- package/dist/components/tabs/TabsTriggerList.d.ts +7 -0
- package/dist/components/text/Text.d.ts +8 -1
- package/dist/components/text/Text.js +1 -1
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +7 -0
- package/dist/components/tile/Tile.d.ts +7 -0
- package/dist/components/tile/TileGroup.d.ts +7 -0
- package/dist/components/tile/index.d.ts +1 -6
- package/dist/components/tile-interactive/TileInteractive.d.ts +15 -427
- package/dist/components/tile-interactive/TileInteractive.js +1 -1
- package/dist/components/tile-interactive/TileInteractive.js.map +1 -1
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +21 -0
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +14 -0
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.js +1 -1
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.js.map +1 -1
- package/dist/components/toast/Toast.d.ts +7 -0
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +14 -0
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +14 -0
- 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 +7 -0
- package/dist/components/toggle-group/index.d.ts +35 -0
- package/dist/components/tooltip/TooltipContent.d.ts +7 -0
- package/dist/components/tooltip/TooltipContent.js +1 -1
- package/dist/components/tooltip/TooltipContent.js.map +1 -1
- package/dist/components/top-bar/TopBar.d.ts +7 -0
- package/dist/components/top-bar/TopBarBrand.d.ts +21 -0
- package/dist/components/video/Video.d.ts +14 -0
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +7 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/stitches.d.ts +77 -0
- package/dist/stitches.js +1 -1
- package/dist/stitches.js.map +1 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +7 -0
- package/dist/utilities/index.d.ts +1 -0
- package/dist/{components/tile/TileNoOverflowContainer.d.ts → utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts} +20 -1
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.js +2 -0
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.js.map +1 -0
- package/dist/utilities/no-overflow-wrapper/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/components/tile/TileNoOverflowContainer.js +0 -2
- package/dist/components/tile/TileNoOverflowContainer.js.map +0 -1
- package/dist/components/tile/index.js +0 -2
- package/dist/components/tile/index.js.map +0 -1
- package/dist/utilities/no-overflow-container/NoOverflowContainer.d.ts +0 -425
- package/dist/utilities/no-overflow-container/NoOverflowContainer.js +0 -2
- package/dist/utilities/no-overflow-container/NoOverflowContainer.js.map +0 -1
- package/dist/utilities/no-overflow-container/index.d.ts +0 -1
|
@@ -168,6 +168,13 @@ declare const StyledChipDismissibleGroupItem: import("@stitches/react/types/styl
|
|
|
168
168
|
"2": any;
|
|
169
169
|
"3": any;
|
|
170
170
|
};
|
|
171
|
+
ratios: {
|
|
172
|
+
"16-9": any;
|
|
173
|
+
"3-2": any;
|
|
174
|
+
"4-3": any;
|
|
175
|
+
"1-1": any;
|
|
176
|
+
"3-4": any;
|
|
177
|
+
};
|
|
171
178
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
172
179
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
173
180
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -385,6 +392,13 @@ declare const StyledChipDismissibleGroupItem: import("@stitches/react/types/styl
|
|
|
385
392
|
"2": any;
|
|
386
393
|
"3": any;
|
|
387
394
|
};
|
|
395
|
+
ratios: {
|
|
396
|
+
"16-9": any;
|
|
397
|
+
"3-2": any;
|
|
398
|
+
"4-3": any;
|
|
399
|
+
"1-1": any;
|
|
400
|
+
"3-4": any;
|
|
401
|
+
};
|
|
388
402
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
389
403
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
390
404
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -168,6 +168,13 @@ declare const StyledChipToggleGroupItem: import("@stitches/react/types/styled-co
|
|
|
168
168
|
"2": any;
|
|
169
169
|
"3": any;
|
|
170
170
|
};
|
|
171
|
+
ratios: {
|
|
172
|
+
"16-9": any;
|
|
173
|
+
"3-2": any;
|
|
174
|
+
"4-3": any;
|
|
175
|
+
"1-1": any;
|
|
176
|
+
"3-4": any;
|
|
177
|
+
};
|
|
171
178
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
172
179
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
173
180
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -385,6 +392,13 @@ declare const StyledChipToggleGroupItem: import("@stitches/react/types/styled-co
|
|
|
385
392
|
"2": any;
|
|
386
393
|
"3": any;
|
|
387
394
|
};
|
|
395
|
+
ratios: {
|
|
396
|
+
"16-9": any;
|
|
397
|
+
"3-2": any;
|
|
398
|
+
"4-3": any;
|
|
399
|
+
"1-1": any;
|
|
400
|
+
"3-4": any;
|
|
401
|
+
};
|
|
388
402
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
389
403
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
390
404
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ok as
|
|
1
|
+
import{Ok as a}from"@atom-learning/icons";import*as n from"@radix-ui/react-toggle-group";import*as o from"react";import{Chip as t}from"../chip/Chip.js";import"../chip/ChipGroup.js";import{Icon as s}from"../icon/Icon.js";import{styled as r}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as p}from"../../utilities/style/focus-visible-style-block.js";import"../../utilities/style/keyframe-animations.js";const e=r(s,{display:"none"}),c=r(t,{"&:not([disabled])":{cursor:"pointer","&:hover":{bg:"$tonal100",color:"$tonal600",borderColor:"currentColor"},"&:focus-visible":{...p()},'&[data-state="on"]':{"&:hover":{bg:"$white",color:"$primaryDark"}}},'&[data-state="off"]':{color:"$tonal400",bg:"$tonal50",borderColor:"$tonal200"},'&[data-state="on"]':{[`& ${e}`]:{display:"block"}}}),d=({size:l="md",children:i,...m})=>o.createElement(n.Item,{...m,asChild:!0},o.createElement(c,{asWorkaround:"button"},o.createElement(e,{is:a,size:l==="lg"?"md":"sm"}),o.createElement(t.Content,null,i)));export{d as ChipToggleGroupItem};
|
|
2
2
|
//# sourceMappingURL=ChipToggleGroupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipToggleGroupItem.js","sources":["../../../src/components/chip-toggle-group/ChipToggleGroupItem.tsx"],"sourcesContent":["import { Ok } from '@atom-learning/icons'\nimport * as ToggleGroup from '@radix-ui/react-toggle-group'\nimport * as React from 'react'\n\nimport { Chip } from '~/components/chip'\nimport { Icon } from '~/components/icon'\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nconst StyledChipToggleIcon = styled(Icon, {\n display: 'none'\n})\n\nconst StyledChipToggleGroupItem = styled(Chip, {\n '&:not([disabled])': {\n cursor: 'pointer',\n '&:hover': {\n bg: '$tonal100',\n color: '$tonal600',\n borderColor: 'currentColor'\n },\n '&:focus-visible': {\n ...focusVisibleStyleBlock()\n },\n '&[data-state=\"on\"]': {\n '&:hover': {\n bg: '$white',\n color: '$primaryDark'\n }\n }\n },\n '&[data-state=\"off\"]': {\n color: '$tonal400',\n bg: '$tonal50',\n borderColor: '$tonal200'\n },\n '&[data-state=\"on\"]': {\n [`& ${StyledChipToggleIcon}`]: {\n display: 'block'\n }\n }\n})\n\ntype TChipToggleGroupItem = React.ComponentProps<typeof ToggleGroup.Item> &\n React.ComponentProps<typeof StyledChipToggleGroupItem>\n\nexport const ChipToggleGroupItem: React.FC<TChipToggleGroupItem> = ({\n size = 'md',\n children,\n ...rest\n}) => {\n return (\n <ToggleGroup.Item {...rest} asChild>\n <StyledChipToggleGroupItem asWorkaround=\"button\">\n <StyledChipToggleIcon is={Ok} size={size === 'lg' ? 'md' : 'sm'} />\n <Chip.Content>{children}</Chip.Content>\n </StyledChipToggleGroupItem>\n </ToggleGroup.Item>\n )\n}\n"],"names":["StyledChipToggleIcon","styled","Icon","StyledChipToggleGroupItem","Chip","focusVisibleStyleBlock","ChipToggleGroupItem","size","children","rest","React","ToggleGroup","Ok"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChipToggleGroupItem.js","sources":["../../../src/components/chip-toggle-group/ChipToggleGroupItem.tsx"],"sourcesContent":["import { Ok } from '@atom-learning/icons'\nimport * as ToggleGroup from '@radix-ui/react-toggle-group'\nimport * as React from 'react'\n\nimport { Chip } from '~/components/chip'\nimport { Icon } from '~/components/icon'\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nconst StyledChipToggleIcon = styled(Icon, {\n display: 'none'\n})\n\nconst StyledChipToggleGroupItem = styled(Chip, {\n '&:not([disabled])': {\n cursor: 'pointer',\n '&:hover': {\n bg: '$tonal100',\n color: '$tonal600',\n borderColor: 'currentColor'\n },\n '&:focus-visible': {\n ...focusVisibleStyleBlock()\n },\n '&[data-state=\"on\"]': {\n '&:hover': {\n bg: '$white',\n color: '$primaryDark'\n }\n }\n },\n '&[data-state=\"off\"]': {\n color: '$tonal400',\n bg: '$tonal50',\n borderColor: '$tonal200'\n },\n '&[data-state=\"on\"]': {\n [`& ${StyledChipToggleIcon}`]: {\n display: 'block'\n }\n }\n})\n\ntype TChipToggleGroupItem = React.ComponentProps<typeof ToggleGroup.Item> &\n React.ComponentProps<typeof StyledChipToggleGroupItem>\n\nexport const ChipToggleGroupItem: React.FC<TChipToggleGroupItem> = ({\n size = 'md',\n children,\n ...rest\n}) => {\n return (\n <ToggleGroup.Item {...rest} asChild>\n <StyledChipToggleGroupItem asWorkaround=\"button\">\n <StyledChipToggleIcon is={Ok} size={size === 'lg' ? 'md' : 'sm'} />\n <Chip.Content>{children}</Chip.Content>\n </StyledChipToggleGroupItem>\n </ToggleGroup.Item>\n )\n}\n"],"names":["StyledChipToggleIcon","styled","Icon","StyledChipToggleGroupItem","Chip","focusVisibleStyleBlock","ChipToggleGroupItem","size","children","rest","React","ToggleGroup","Ok"],"mappings":"2hBASA,MAAMA,EAAuBC,EAAOC,EAAM,CACxC,QAAS,MACX,CAAC,EAEKC,EAA4BF,EAAOG,EAAM,CAC7C,oBAAqB,CACnB,OAAQ,UACR,UAAW,CACT,GAAI,YACJ,MAAO,YACP,YAAa,cACf,EACA,kBAAmB,CACjB,GAAGC,EAAAA,CACL,EACA,qBAAsB,CACpB,UAAW,CACT,GAAI,SACJ,MAAO,cACT,CACF,CACF,EACA,sBAAuB,CACrB,MAAO,YACP,GAAI,WACJ,YAAa,WACf,EACA,qBAAsB,CACpB,CAAC,KAAKL,KAAyB,CAC7B,QAAS,OACX,CACF,CACF,CAAC,EAKYM,EAAsD,CAAC,CAClE,KAAAC,EAAO,KACP,SAAAC,KACGC,CACL,IAEIC,EAAA,cAACC,EAAY,KAAZ,CAAkB,GAAGF,EAAM,QAAO,EAAA,EACjCC,EAAA,cAACP,EAAA,CAA0B,aAAa,QAAA,EACtCO,EAAA,cAACV,EAAA,CAAqB,GAAIY,EAAI,KAAML,IAAS,KAAO,KAAO,IAAM,CAAA,EACjEG,EAAA,cAACN,EAAK,QAAL,KAAcI,CAAS,CAC1B,CACF"}
|
|
@@ -169,6 +169,13 @@ export declare const ChipToggleGroupRoot: React.ForwardRefExoticComponent<(Pick<
|
|
|
169
169
|
"2": any;
|
|
170
170
|
"3": any;
|
|
171
171
|
};
|
|
172
|
+
ratios: {
|
|
173
|
+
"16-9": any;
|
|
174
|
+
"3-2": any;
|
|
175
|
+
"4-3": any;
|
|
176
|
+
"1-1": any;
|
|
177
|
+
"3-4": any;
|
|
178
|
+
};
|
|
172
179
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
173
180
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
174
181
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -396,6 +403,13 @@ export declare const ChipToggleGroupRoot: React.ForwardRefExoticComponent<(Pick<
|
|
|
396
403
|
"2": any;
|
|
397
404
|
"3": any;
|
|
398
405
|
};
|
|
406
|
+
ratios: {
|
|
407
|
+
"16-9": any;
|
|
408
|
+
"3-2": any;
|
|
409
|
+
"4-3": any;
|
|
410
|
+
"1-1": any;
|
|
411
|
+
"3-4": any;
|
|
412
|
+
};
|
|
399
413
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
400
414
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
401
415
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -162,6 +162,13 @@ declare const StyledCombobox: import("@stitches/react/types/styled-component").S
|
|
|
162
162
|
"2": any;
|
|
163
163
|
"3": any;
|
|
164
164
|
};
|
|
165
|
+
ratios: {
|
|
166
|
+
"16-9": any;
|
|
167
|
+
"3-2": any;
|
|
168
|
+
"4-3": any;
|
|
169
|
+
"1-1": any;
|
|
170
|
+
"3-4": any;
|
|
171
|
+
};
|
|
165
172
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
166
173
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
167
174
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -158,6 +158,13 @@ export declare const ComboboxInput: import("@stitches/react/types/styled-compone
|
|
|
158
158
|
"2": any;
|
|
159
159
|
"3": any;
|
|
160
160
|
};
|
|
161
|
+
ratios: {
|
|
162
|
+
"16-9": any;
|
|
163
|
+
"3-2": any;
|
|
164
|
+
"4-3": any;
|
|
165
|
+
"1-1": any;
|
|
166
|
+
"3-4": any;
|
|
167
|
+
};
|
|
161
168
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
162
169
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
163
170
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ComboboxInput as o}from"@reach/combobox";import{styled as r,theme as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import{encodeBackgroundIcon as e}from"../../utilities/style/encode-background-icon.js";import"../../utilities/style/keyframe-animations.js";const a=r(o,{boxShadow:"none",fontSize:"$md",appearance:"none",backgroundImage:e(t.colors.tonal300.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $tonal300",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$tonal300",opacity:1},"&:focus-within":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{state:{error:{border:"1px solid $danger"}}}});export{a as ComboboxInput};
|
|
1
|
+
import{ComboboxInput as o}from"@reach/combobox";import{styled as r,theme as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import{encodeBackgroundIcon as e}from"../../utilities/style/encode-background-icon.js";import"../../utilities/style/keyframe-animations.js";const a=r(o,{boxShadow:"none",fontSize:"$md",appearance:"none",backgroundImage:e(t.colors.tonal300.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $tonal300",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$tonal300",opacity:1},"&:focus-within":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{state:{error:{border:"1px solid $danger"}}}});export{a as ComboboxInput};
|
|
2
2
|
//# sourceMappingURL=ComboboxInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxInput.js","sources":["../../../src/components/combobox/ComboboxInput.tsx"],"sourcesContent":["import { ComboboxInput as BaseComboboxInput } from '@reach/combobox'\n\nimport { styled, theme } from '~/stitches'\nimport { encodeBackgroundIcon } from '~/utilities'\n\nexport const ComboboxInput = styled(BaseComboboxInput, {\n boxShadow: 'none', // prevent default iOS default styling\n fontSize: '$md', // prevent iOS zooming on focus\n appearance: 'none',\n backgroundImage: encodeBackgroundIcon(theme.colors.tonal300.value, 'chevron'),\n backgroundPosition: 'right $space$3 top 50%, 0 0',\n backgroundRepeat: 'no-repeat, repeat',\n backgroundSize: '20px auto, 100%',\n border: '1px solid $tonal300',\n borderRadius: '$0',\n boxSizing: 'border-box',\n color: '$tonal600',\n cursor: 'text',\n display: 'block',\n fontFamily: '$body',\n height: '$4',\n pl: '$3',\n pr: '$6',\n transition: 'all 100ms ease-out',\n width: '100%',\n '&::placeholder': {\n color: '$tonal300',\n opacity: 1\n },\n '&:focus-within': {\n borderColor: '$primary',\n outline: 'none'\n },\n '&[disabled]': {\n backgroundColor: '$tonal100',\n color: '$tonal400',\n cursor: 'not-allowed'\n },\n variants: {\n state: {\n error: {\n border: '1px solid $danger'\n }\n }\n }\n})\n"],"names":["ComboboxInput","styled","BaseComboboxInput","encodeBackgroundIcon","theme"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComboboxInput.js","sources":["../../../src/components/combobox/ComboboxInput.tsx"],"sourcesContent":["import { ComboboxInput as BaseComboboxInput } from '@reach/combobox'\n\nimport { styled, theme } from '~/stitches'\nimport { encodeBackgroundIcon } from '~/utilities'\n\nexport const ComboboxInput = styled(BaseComboboxInput, {\n boxShadow: 'none', // prevent default iOS default styling\n fontSize: '$md', // prevent iOS zooming on focus\n appearance: 'none',\n backgroundImage: encodeBackgroundIcon(theme.colors.tonal300.value, 'chevron'),\n backgroundPosition: 'right $space$3 top 50%, 0 0',\n backgroundRepeat: 'no-repeat, repeat',\n backgroundSize: '20px auto, 100%',\n border: '1px solid $tonal300',\n borderRadius: '$0',\n boxSizing: 'border-box',\n color: '$tonal600',\n cursor: 'text',\n display: 'block',\n fontFamily: '$body',\n height: '$4',\n pl: '$3',\n pr: '$6',\n transition: 'all 100ms ease-out',\n width: '100%',\n '&::placeholder': {\n color: '$tonal300',\n opacity: 1\n },\n '&:focus-within': {\n borderColor: '$primary',\n outline: 'none'\n },\n '&[disabled]': {\n backgroundColor: '$tonal100',\n color: '$tonal400',\n cursor: 'not-allowed'\n },\n variants: {\n state: {\n error: {\n border: '1px solid $danger'\n }\n }\n }\n})\n"],"names":["ComboboxInput","styled","BaseComboboxInput","encodeBackgroundIcon","theme"],"mappings":"2WAKaA,EAAgBC,EAAOC,EAAmB,CACrD,UAAW,OACX,SAAU,MACV,WAAY,OACZ,gBAAiBC,EAAqBC,EAAM,OAAO,SAAS,MAAO,SAAS,EAC5E,mBAAoB,8BACpB,iBAAkB,oBAClB,eAAgB,kBAChB,OAAQ,sBACR,aAAc,KACd,UAAW,aACX,MAAO,YACP,OAAQ,OACR,QAAS,QACT,WAAY,QACZ,OAAQ,KACR,GAAI,KACJ,GAAI,KACJ,WAAY,qBACZ,MAAO,OACP,iBAAkB,CAChB,MAAO,YACP,QAAS,CACX,EACA,iBAAkB,CAChB,YAAa,WACb,QAAS,MACX,EACA,cAAe,CACb,gBAAiB,YACjB,MAAO,YACP,OAAQ,aACV,EACA,SAAU,CACR,MAAO,CACL,MAAO,CACL,OAAQ,mBACV,CACF,CACF,CACF,CAAC"}
|
|
@@ -156,6 +156,13 @@ export declare const ComboboxList: import("@stitches/react/types/styled-componen
|
|
|
156
156
|
"2": any;
|
|
157
157
|
"3": any;
|
|
158
158
|
};
|
|
159
|
+
ratios: {
|
|
160
|
+
"16-9": any;
|
|
161
|
+
"3-2": any;
|
|
162
|
+
"4-3": any;
|
|
163
|
+
"1-1": any;
|
|
164
|
+
"3-4": any;
|
|
165
|
+
};
|
|
159
166
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
160
167
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
161
168
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -156,6 +156,13 @@ export declare const ComboboxOption: import("@stitches/react/types/styled-compon
|
|
|
156
156
|
"2": any;
|
|
157
157
|
"3": any;
|
|
158
158
|
};
|
|
159
|
+
ratios: {
|
|
160
|
+
"16-9": any;
|
|
161
|
+
"3-2": any;
|
|
162
|
+
"4-3": any;
|
|
163
|
+
"1-1": any;
|
|
164
|
+
"3-4": any;
|
|
165
|
+
};
|
|
159
166
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
160
167
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
161
168
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -156,6 +156,13 @@ export declare const ComboboxPopover: import("@stitches/react/types/styled-compo
|
|
|
156
156
|
"2": any;
|
|
157
157
|
"3": any;
|
|
158
158
|
};
|
|
159
|
+
ratios: {
|
|
160
|
+
"16-9": any;
|
|
161
|
+
"3-2": any;
|
|
162
|
+
"4-3": any;
|
|
163
|
+
"1-1": any;
|
|
164
|
+
"3-4": any;
|
|
165
|
+
};
|
|
159
166
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
160
167
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
161
168
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -161,6 +161,13 @@ declare const PendingState: import("@stitches/react/types/styled-component").Sty
|
|
|
161
161
|
"2": any;
|
|
162
162
|
"3": any;
|
|
163
163
|
};
|
|
164
|
+
ratios: {
|
|
165
|
+
"16-9": any;
|
|
166
|
+
"3-2": any;
|
|
167
|
+
"4-3": any;
|
|
168
|
+
"1-1": any;
|
|
169
|
+
"3-4": any;
|
|
170
|
+
};
|
|
164
171
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
165
172
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
166
173
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -157,6 +157,13 @@ declare const StyledNav: import("@stitches/react/types/styled-component").Styled
|
|
|
157
157
|
"2": any;
|
|
158
158
|
"3": any;
|
|
159
159
|
};
|
|
160
|
+
ratios: {
|
|
161
|
+
"16-9": any;
|
|
162
|
+
"3-2": any;
|
|
163
|
+
"4-3": any;
|
|
164
|
+
"1-1": any;
|
|
165
|
+
"3-4": any;
|
|
166
|
+
};
|
|
160
167
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
161
168
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
162
169
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -161,6 +161,13 @@ declare const StyledDialog: import("@stitches/react/types/styled-component").Sty
|
|
|
161
161
|
"2": any;
|
|
162
162
|
"3": any;
|
|
163
163
|
};
|
|
164
|
+
ratios: {
|
|
165
|
+
"16-9": any;
|
|
166
|
+
"3-2": any;
|
|
167
|
+
"4-3": any;
|
|
168
|
+
"1-1": any;
|
|
169
|
+
"3-4": any;
|
|
170
|
+
};
|
|
164
171
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
165
172
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
166
173
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -156,6 +156,13 @@ export declare const DialogBackground: import("@stitches/react/types/styled-comp
|
|
|
156
156
|
"2": any;
|
|
157
157
|
"3": any;
|
|
158
158
|
};
|
|
159
|
+
ratios: {
|
|
160
|
+
"16-9": any;
|
|
161
|
+
"3-2": any;
|
|
162
|
+
"4-3": any;
|
|
163
|
+
"1-1": any;
|
|
164
|
+
"3-4": any;
|
|
165
|
+
};
|
|
159
166
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
160
167
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
161
168
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -368,6 +375,13 @@ export declare const DialogBackground: import("@stitches/react/types/styled-comp
|
|
|
368
375
|
"2": any;
|
|
369
376
|
"3": any;
|
|
370
377
|
};
|
|
378
|
+
ratios: {
|
|
379
|
+
"16-9": any;
|
|
380
|
+
"3-2": any;
|
|
381
|
+
"4-3": any;
|
|
382
|
+
"1-1": any;
|
|
383
|
+
"3-4": any;
|
|
384
|
+
};
|
|
371
385
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
372
386
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
373
387
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -157,6 +157,13 @@ export declare const DialogClose: import("@stitches/react/types/styled-component
|
|
|
157
157
|
"2": any;
|
|
158
158
|
"3": any;
|
|
159
159
|
};
|
|
160
|
+
ratios: {
|
|
161
|
+
"16-9": any;
|
|
162
|
+
"3-2": any;
|
|
163
|
+
"4-3": any;
|
|
164
|
+
"1-1": any;
|
|
165
|
+
"3-4": any;
|
|
166
|
+
};
|
|
160
167
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
161
168
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
162
169
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -159,6 +159,13 @@ declare const StyledDialogContent: import("@stitches/react/types/styled-componen
|
|
|
159
159
|
"2": any;
|
|
160
160
|
"3": any;
|
|
161
161
|
};
|
|
162
|
+
ratios: {
|
|
163
|
+
"16-9": any;
|
|
164
|
+
"3-2": any;
|
|
165
|
+
"4-3": any;
|
|
166
|
+
"1-1": any;
|
|
167
|
+
"3-4": any;
|
|
168
|
+
};
|
|
162
169
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
163
170
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
164
171
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Close as u}from"@atom-learning/icons";import{Overlay as x,Content as b,Portal as g,Close as w}from"@radix-ui/react-dialog";import*as o from"react";import{DIALOG_Z_INDEX as r}from"../../constants/zIndices.js";import{keyframes as n,styled as l}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"color2k";import{fadeIn as v,fadeOut as $}from"../../utilities/style/keyframe-animations.js";import{ActionIcon as C}from"../action-icon/ActionIcon.js";import{Icon as z}from"../icon/Icon.js";import{DialogBackground as s}from"./DialogBackground.js";const e="translate3d(-50%, -50%, 0)",m="translate3d(-50%, 50vh, 0)",d="modal_overlay",D=n({"0%":{transform:m},"100%":{transform:e}}),I=n({"0%":{transform:e},"100%":{transform:m}}),y=l(x,{backgroundColor:"$alpha600",top:0,right:0,bottom:0,left:0,position:"fixed",overflowY:"auto",zIndex:r,"@allowMotion":{'&[data-state="open"]':{animation:`${v} 250ms ease-out`},'&[data-state="closed"]':{animation:`${$} 550ms ease-out`}}}),E=l(b,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",p:"$5",position:"fixed",top:"50%",transform:e,zIndex:r,"&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${D} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${I} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{width:"380px"},sm:{width:"480px"},md:{width:"600px"},lg:{width:"800px"},xl:{width:"1100px"}}}}),O=({size:p="sm",children:a,closeDialogText:f="Close dialog",showCloseButton:c=!0,...h})=>o.createElement(g,null,o.createElement(y,{id:d},o.Children.map(a,t=>(t==null?void 0:t.type)===s&&t),o.createElement(E,{size:p,"aria-label":"Dialog",onPointerDownOutside:t=>{const i=t.target;(i==null?void 0:i.id)!==d&&t.preventDefault()},...h},c&&o.createElement(C,{as:w,css:{position:"absolute",right:"$4",top:"$4"},label:f,hasTooltip:!1,size:"md",theme:"neutral"},o.createElement(z,{is:u})),o.Children.map(a,t=>(t==null?void 0:t.type)!==s&&t))));export{O as DialogContent};
|
|
1
|
+
import{Close as u}from"@atom-learning/icons";import{Overlay as x,Content as b,Portal as g,Close as w}from"@radix-ui/react-dialog";import*as o from"react";import{DIALOG_Z_INDEX as r}from"../../constants/zIndices.js";import{keyframes as n,styled as l}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{fadeIn as v,fadeOut as $}from"../../utilities/style/keyframe-animations.js";import{ActionIcon as C}from"../action-icon/ActionIcon.js";import{Icon as z}from"../icon/Icon.js";import{DialogBackground as s}from"./DialogBackground.js";const e="translate3d(-50%, -50%, 0)",m="translate3d(-50%, 50vh, 0)",d="modal_overlay",D=n({"0%":{transform:m},"100%":{transform:e}}),I=n({"0%":{transform:e},"100%":{transform:m}}),y=l(x,{backgroundColor:"$alpha600",top:0,right:0,bottom:0,left:0,position:"fixed",overflowY:"auto",zIndex:r,"@allowMotion":{'&[data-state="open"]':{animation:`${v} 250ms ease-out`},'&[data-state="closed"]':{animation:`${$} 550ms ease-out`}}}),E=l(b,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",p:"$5",position:"fixed",top:"50%",transform:e,zIndex:r,"&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${D} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${I} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{width:"380px"},sm:{width:"480px"},md:{width:"600px"},lg:{width:"800px"},xl:{width:"1100px"}}}}),O=({size:p="sm",children:a,closeDialogText:f="Close dialog",showCloseButton:c=!0,...h})=>o.createElement(g,null,o.createElement(y,{id:d},o.Children.map(a,t=>(t==null?void 0:t.type)===s&&t),o.createElement(E,{size:p,"aria-label":"Dialog",onPointerDownOutside:t=>{const i=t.target;(i==null?void 0:i.id)!==d&&t.preventDefault()},...h},c&&o.createElement(C,{as:w,css:{position:"absolute",right:"$4",top:"$4"},label:f,hasTooltip:!1,size:"md",theme:"neutral"},o.createElement(z,{is:u})),o.Children.map(a,t=>(t==null?void 0:t.type)!==s&&t))));export{O as DialogContent};
|
|
2
2
|
//# sourceMappingURL=DialogContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogContent.js","sources":["../../../src/components/dialog/DialogContent.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@atom-learning/icons'\nimport { Close, Content, Overlay, Portal } from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { DIALOG_Z_INDEX } from '~/constants/zIndices'\nimport { keyframes, styled } from '~/stitches'\nimport { fadeIn, fadeOut } from '~/utilities'\n\nimport { ActionIcon } from '../action-icon/ActionIcon'\nimport { Icon } from '../icon/Icon'\nimport { DialogBackground } from './DialogBackground'\n\nconst contentOnScreen = 'translate3d(-50%, -50%, 0)'\nconst contentOffScreen = 'translate3d(-50%, 50vh, 0)'\nconst modalOverlayId = 'modal_overlay'\n\nconst slideIn = keyframes({\n '0%': { transform: contentOffScreen },\n '100%': { transform: contentOnScreen }\n})\nconst slideOut = keyframes({\n '0%': { transform: contentOnScreen },\n '100%': { transform: contentOffScreen }\n})\n\nconst StyledDialogOverlay = styled(Overlay, {\n backgroundColor: '$alpha600',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n position: 'fixed',\n overflowY: 'auto',\n zIndex: DIALOG_Z_INDEX,\n '@allowMotion': {\n '&[data-state=\"open\"]': {\n animation: `${fadeIn} 250ms ease-out`\n },\n '&[data-state=\"closed\"]': {\n animation: `${fadeOut} 550ms ease-out`\n }\n }\n})\n\nconst StyledDialogContent = styled(Content, {\n bg: 'white',\n borderRadius: '$1',\n boxShadow: '$3',\n boxSizing: 'border-box',\n left: '50%',\n maxWidth: '90vw',\n maxHeight: '90vh',\n overflowY: 'auto',\n p: '$5',\n position: 'fixed',\n top: '50%',\n transform: contentOnScreen,\n zIndex: DIALOG_Z_INDEX,\n '&:focus': {\n outline: 'none'\n },\n '@allowMotion': {\n '&[data-state=\"open\"]': {\n animation: `${slideIn} 550ms cubic-bezier(0.22, 1, 0.36, 1)`\n },\n '&[data-state=\"closed\"]': {\n animation: `${slideOut} 550ms cubic-bezier(0.22, 1, 0.36, 1)`\n }\n },\n variants: {\n size: {\n xs: { width: '380px' },\n sm: { width: '480px' },\n md: { width: '600px' },\n lg: { width: '800px' },\n xl: { width: '1100px' }\n }\n }\n})\n\ntype DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {\n closeDialogText?: string\n showCloseButton?: boolean\n}\n\nexport const DialogContent: React.FC<DialogContentProps> = ({\n size = 'sm',\n children,\n closeDialogText = 'Close dialog',\n showCloseButton = true,\n ...remainingProps\n}) => (\n <Portal>\n <StyledDialogOverlay id={modalOverlayId}>\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type === DialogBackground && child\n )}\n <StyledDialogContent\n size={size}\n aria-label=\"Dialog\"\n onPointerDownOutside={(event) => {\n const element = event.target as HTMLElement\n if (element?.id !== modalOverlayId) {\n event.preventDefault()\n }\n }}\n {...remainingProps}\n >\n {showCloseButton && (\n <ActionIcon\n as={Close}\n css={{ position: 'absolute', right: '$4', top: '$4' }}\n label={closeDialogText}\n hasTooltip={false}\n size=\"md\"\n theme=\"neutral\"\n >\n <Icon is={CloseIcon} />\n </ActionIcon>\n )}\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type !== DialogBackground && child\n )}\n </StyledDialogContent>\n </StyledDialogOverlay>\n </Portal>\n)\n"],"names":["contentOnScreen","contentOffScreen","modalOverlayId","slideIn","keyframes","slideOut","StyledDialogOverlay","styled","Overlay","DIALOG_Z_INDEX","fadeIn","fadeOut","StyledDialogContent","Content","DialogContent","size","children","closeDialogText","showCloseButton","remainingProps","React","Portal","child","DialogBackground","event","element","ActionIcon","Close","Icon","CloseIcon"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogContent.js","sources":["../../../src/components/dialog/DialogContent.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@atom-learning/icons'\nimport { Close, Content, Overlay, Portal } from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { DIALOG_Z_INDEX } from '~/constants/zIndices'\nimport { keyframes, styled } from '~/stitches'\nimport { fadeIn, fadeOut } from '~/utilities'\n\nimport { ActionIcon } from '../action-icon/ActionIcon'\nimport { Icon } from '../icon/Icon'\nimport { DialogBackground } from './DialogBackground'\n\nconst contentOnScreen = 'translate3d(-50%, -50%, 0)'\nconst contentOffScreen = 'translate3d(-50%, 50vh, 0)'\nconst modalOverlayId = 'modal_overlay'\n\nconst slideIn = keyframes({\n '0%': { transform: contentOffScreen },\n '100%': { transform: contentOnScreen }\n})\nconst slideOut = keyframes({\n '0%': { transform: contentOnScreen },\n '100%': { transform: contentOffScreen }\n})\n\nconst StyledDialogOverlay = styled(Overlay, {\n backgroundColor: '$alpha600',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n position: 'fixed',\n overflowY: 'auto',\n zIndex: DIALOG_Z_INDEX,\n '@allowMotion': {\n '&[data-state=\"open\"]': {\n animation: `${fadeIn} 250ms ease-out`\n },\n '&[data-state=\"closed\"]': {\n animation: `${fadeOut} 550ms ease-out`\n }\n }\n})\n\nconst StyledDialogContent = styled(Content, {\n bg: 'white',\n borderRadius: '$1',\n boxShadow: '$3',\n boxSizing: 'border-box',\n left: '50%',\n maxWidth: '90vw',\n maxHeight: '90vh',\n overflowY: 'auto',\n p: '$5',\n position: 'fixed',\n top: '50%',\n transform: contentOnScreen,\n zIndex: DIALOG_Z_INDEX,\n '&:focus': {\n outline: 'none'\n },\n '@allowMotion': {\n '&[data-state=\"open\"]': {\n animation: `${slideIn} 550ms cubic-bezier(0.22, 1, 0.36, 1)`\n },\n '&[data-state=\"closed\"]': {\n animation: `${slideOut} 550ms cubic-bezier(0.22, 1, 0.36, 1)`\n }\n },\n variants: {\n size: {\n xs: { width: '380px' },\n sm: { width: '480px' },\n md: { width: '600px' },\n lg: { width: '800px' },\n xl: { width: '1100px' }\n }\n }\n})\n\ntype DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {\n closeDialogText?: string\n showCloseButton?: boolean\n}\n\nexport const DialogContent: React.FC<DialogContentProps> = ({\n size = 'sm',\n children,\n closeDialogText = 'Close dialog',\n showCloseButton = true,\n ...remainingProps\n}) => (\n <Portal>\n <StyledDialogOverlay id={modalOverlayId}>\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type === DialogBackground && child\n )}\n <StyledDialogContent\n size={size}\n aria-label=\"Dialog\"\n onPointerDownOutside={(event) => {\n const element = event.target as HTMLElement\n if (element?.id !== modalOverlayId) {\n event.preventDefault()\n }\n }}\n {...remainingProps}\n >\n {showCloseButton && (\n <ActionIcon\n as={Close}\n css={{ position: 'absolute', right: '$4', top: '$4' }}\n label={closeDialogText}\n hasTooltip={false}\n size=\"md\"\n theme=\"neutral\"\n >\n <Icon is={CloseIcon} />\n </ActionIcon>\n )}\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type !== DialogBackground && child\n )}\n </StyledDialogContent>\n </StyledDialogOverlay>\n </Portal>\n)\n"],"names":["contentOnScreen","contentOffScreen","modalOverlayId","slideIn","keyframes","slideOut","StyledDialogOverlay","styled","Overlay","DIALOG_Z_INDEX","fadeIn","fadeOut","StyledDialogContent","Content","DialogContent","size","children","closeDialogText","showCloseButton","remainingProps","React","Portal","child","DialogBackground","event","element","ActionIcon","Close","Icon","CloseIcon"],"mappings":"ioBAYA,MAAMA,EAAkB,6BAClBC,EAAmB,6BACnBC,EAAiB,gBAEjBC,EAAUC,EAAU,CACxB,KAAM,CAAE,UAAWH,CAAiB,EACpC,OAAQ,CAAE,UAAWD,CAAgB,CACvC,CAAC,EACKK,EAAWD,EAAU,CACzB,KAAM,CAAE,UAAWJ,CAAgB,EACnC,OAAQ,CAAE,UAAWC,CAAiB,CACxC,CAAC,EAEKK,EAAsBC,EAAOC,EAAS,CAC1C,gBAAiB,YACjB,IAAK,EACL,MAAO,EACP,OAAQ,EACR,KAAM,EACN,SAAU,QACV,UAAW,OACX,OAAQC,EACR,eAAgB,CACd,uBAAwB,CACtB,UAAW,GAAGC,kBAChB,EACA,yBAA0B,CACxB,UAAW,GAAGC,kBAChB,CACF,CACF,CAAC,EAEKC,EAAsBL,EAAOM,EAAS,CAC1C,GAAI,QACJ,aAAc,KACd,UAAW,KACX,UAAW,aACX,KAAM,MACN,SAAU,OACV,UAAW,OACX,UAAW,OACX,EAAG,KACH,SAAU,QACV,IAAK,MACL,UAAWb,EACX,OAAQS,EACR,UAAW,CACT,QAAS,MACX,EACA,eAAgB,CACd,uBAAwB,CACtB,UAAW,GAAGN,wCAChB,EACA,yBAA0B,CACxB,UAAW,GAAGE,wCAChB,CACF,EACA,SAAU,CACR,KAAM,CACJ,GAAI,CAAE,MAAO,OAAQ,EACrB,GAAI,CAAE,MAAO,OAAQ,EACrB,GAAI,CAAE,MAAO,OAAQ,EACrB,GAAI,CAAE,MAAO,OAAQ,EACrB,GAAI,CAAE,MAAO,QAAS,CACxB,CACF,CACF,CAAC,EAOYS,EAA8C,CAAC,CAC1D,KAAAC,EAAO,KACP,SAAAC,EACA,gBAAAC,EAAkB,eAClB,gBAAAC,EAAkB,MACfC,CACL,IACEC,EAAA,cAACC,EAAA,KACCD,EAAA,cAACd,EAAA,CAAoB,GAAIJ,CACtBkB,EAAAA,EAAM,SAAS,IACdJ,EACCM,IACCA,GAAA,KAAAA,OAAAA,EAAO,QAASC,GAAoBD,CACxC,EACAF,EAAA,cAACR,EAAA,CACC,KAAMG,EACN,aAAW,SACX,qBAAuBS,GAAU,CAC/B,MAAMC,EAAUD,EAAM,QAClBC,GAAA,KAAAA,OAAAA,EAAS,MAAOvB,GAClBsB,EAAM,eAAe,CAEzB,EACC,GAAGL,GAEHD,GACCE,EAAA,cAACM,EAAA,CACC,GAAIC,EACJ,IAAK,CAAE,SAAU,WAAY,MAAO,KAAM,IAAK,IAAK,EACpD,MAAOV,EACP,WAAY,GACZ,KAAK,KACL,MAAM,SAAA,EAENG,EAAA,cAACQ,EAAA,CAAK,GAAIC,EAAW,CACvB,EAEDT,EAAM,SAAS,IACdJ,EACCM,IACCA,GAAA,KAAA,OAAAA,EAAO,QAASC,GAAoBD,CACxC,CACF,CACF,CACF"}
|
|
@@ -159,6 +159,13 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
|
|
|
159
159
|
"2": any;
|
|
160
160
|
"3": any;
|
|
161
161
|
};
|
|
162
|
+
ratios: {
|
|
163
|
+
"16-9": any;
|
|
164
|
+
"3-2": any;
|
|
165
|
+
"4-3": any;
|
|
166
|
+
"1-1": any;
|
|
167
|
+
"3-4": any;
|
|
168
|
+
};
|
|
162
169
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
163
170
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
164
171
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -163,6 +163,13 @@ declare const Root: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
163
163
|
"2": any;
|
|
164
164
|
"3": any;
|
|
165
165
|
};
|
|
166
|
+
ratios: {
|
|
167
|
+
"16-9": any;
|
|
168
|
+
"3-2": any;
|
|
169
|
+
"4-3": any;
|
|
170
|
+
"1-1": any;
|
|
171
|
+
"3-4": any;
|
|
172
|
+
};
|
|
166
173
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
167
174
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
168
175
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -157,6 +157,13 @@ export declare const DropdownMenuContent: import("@stitches/react/types/styled-c
|
|
|
157
157
|
"2": any;
|
|
158
158
|
"3": any;
|
|
159
159
|
};
|
|
160
|
+
ratios: {
|
|
161
|
+
"16-9": any;
|
|
162
|
+
"3-2": any;
|
|
163
|
+
"4-3": any;
|
|
164
|
+
"1-1": any;
|
|
165
|
+
"3-4": any;
|
|
166
|
+
};
|
|
160
167
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
161
168
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
162
169
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Content as
|
|
1
|
+
import{Content as i}from"@radix-ui/react-dropdown-menu";import{DROPDOWN_Z_INDEX as t}from"../../constants/zIndices.js";import{styled as a}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{slideDownAndFade as o,slideLeftAndFade as n,slideUpAndFade as e,slideRightAndFade as d}from"../../utilities/style/keyframe-animations.js";const m=a(i,{bg:"white",borderRadius:"$0",boxShadow:"$0",py:"$2",zIndex:t,"@allowMotion":{animationDuration:"250ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:o},'&[data-side="right"]':{animationName:n},'&[data-side="bottom"]':{animationName:e},'&[data-side="left"]':{animationName:d}}}});export{m as DropdownMenuContent};
|
|
2
2
|
//# sourceMappingURL=DropdownMenuContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuContent.js","sources":["../../../src/components/dropdown-menu/DropdownMenuContent.tsx"],"sourcesContent":["import { Content } from '@radix-ui/react-dropdown-menu'\n\nimport { DROPDOWN_Z_INDEX } from '~/constants/zIndices'\nimport { styled } from '~/stitches'\nimport {\n slideDownAndFade,\n slideLeftAndFade,\n slideRightAndFade,\n slideUpAndFade\n} from '~/utilities'\n\nexport const DropdownMenuContent = styled(Content, {\n bg: 'white',\n borderRadius: '$0',\n boxShadow: '$0',\n py: '$2',\n zIndex: DROPDOWN_Z_INDEX,\n '@allowMotion': {\n animationDuration: '250ms',\n animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',\n willChange: 'transform, opacity',\n '&[data-state=\"open\"]': {\n '&[data-side=\"top\"]': { animationName: slideDownAndFade },\n '&[data-side=\"right\"]': { animationName: slideLeftAndFade },\n '&[data-side=\"bottom\"]': { animationName: slideUpAndFade },\n '&[data-side=\"left\"]': { animationName: slideRightAndFade }\n }\n }\n})\n"],"names":["DropdownMenuContent","styled","Content","DROPDOWN_Z_INDEX","slideDownAndFade","slideLeftAndFade","slideUpAndFade","slideRightAndFade"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownMenuContent.js","sources":["../../../src/components/dropdown-menu/DropdownMenuContent.tsx"],"sourcesContent":["import { Content } from '@radix-ui/react-dropdown-menu'\n\nimport { DROPDOWN_Z_INDEX } from '~/constants/zIndices'\nimport { styled } from '~/stitches'\nimport {\n slideDownAndFade,\n slideLeftAndFade,\n slideRightAndFade,\n slideUpAndFade\n} from '~/utilities'\n\nexport const DropdownMenuContent = styled(Content, {\n bg: 'white',\n borderRadius: '$0',\n boxShadow: '$0',\n py: '$2',\n zIndex: DROPDOWN_Z_INDEX,\n '@allowMotion': {\n animationDuration: '250ms',\n animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',\n willChange: 'transform, opacity',\n '&[data-state=\"open\"]': {\n '&[data-side=\"top\"]': { animationName: slideDownAndFade },\n '&[data-side=\"right\"]': { animationName: slideLeftAndFade },\n '&[data-side=\"bottom\"]': { animationName: slideUpAndFade },\n '&[data-side=\"left\"]': { animationName: slideRightAndFade }\n }\n }\n})\n"],"names":["DropdownMenuContent","styled","Content","DROPDOWN_Z_INDEX","slideDownAndFade","slideLeftAndFade","slideUpAndFade","slideRightAndFade"],"mappings":"sbAWO,MAAMA,EAAsBC,EAAOC,EAAS,CACjD,GAAI,QACJ,aAAc,KACd,UAAW,KACX,GAAI,KACJ,OAAQC,EACR,eAAgB,CACd,kBAAmB,QACnB,wBAAyB,gCACzB,WAAY,qBACZ,uBAAwB,CACtB,qBAAsB,CAAE,cAAeC,CAAiB,EACxD,uBAAwB,CAAE,cAAeC,CAAiB,EAC1D,wBAAyB,CAAE,cAAeC,CAAe,EACzD,sBAAuB,CAAE,cAAeC,CAAkB,CAC5D,CACF,CACF,CAAC"}
|
|
@@ -190,6 +190,13 @@ export declare const DropdownMenuItem: import("@stitches/react/types/styled-comp
|
|
|
190
190
|
"2": any;
|
|
191
191
|
"3": any;
|
|
192
192
|
};
|
|
193
|
+
ratios: {
|
|
194
|
+
"16-9": any;
|
|
195
|
+
"3-2": any;
|
|
196
|
+
"4-3": any;
|
|
197
|
+
"1-1": any;
|
|
198
|
+
"3-4": any;
|
|
199
|
+
};
|
|
193
200
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
194
201
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
195
202
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -157,6 +157,13 @@ export declare const DropdownMenuSeparator: import("@stitches/react/types/styled
|
|
|
157
157
|
"2": any;
|
|
158
158
|
"3": any;
|
|
159
159
|
};
|
|
160
|
+
ratios: {
|
|
161
|
+
"16-9": any;
|
|
162
|
+
"3-2": any;
|
|
163
|
+
"4-3": any;
|
|
164
|
+
"1-1": any;
|
|
165
|
+
"3-4": any;
|
|
166
|
+
};
|
|
160
167
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
161
168
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
162
169
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -157,6 +157,13 @@ export declare const DropdownMenuTrigger: import("@stitches/react/types/styled-c
|
|
|
157
157
|
"2": any;
|
|
158
158
|
"3": any;
|
|
159
159
|
};
|
|
160
|
+
ratios: {
|
|
161
|
+
"16-9": any;
|
|
162
|
+
"3-2": any;
|
|
163
|
+
"4-3": any;
|
|
164
|
+
"1-1": any;
|
|
165
|
+
"3-4": any;
|
|
166
|
+
};
|
|
160
167
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
161
168
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
162
169
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -160,6 +160,13 @@ declare const EmptyStateContainer: import("@stitches/react/types/styled-componen
|
|
|
160
160
|
"2": any;
|
|
161
161
|
"3": any;
|
|
162
162
|
};
|
|
163
|
+
ratios: {
|
|
164
|
+
"16-9": any;
|
|
165
|
+
"3-2": any;
|
|
166
|
+
"4-3": any;
|
|
167
|
+
"1-1": any;
|
|
168
|
+
"3-4": any;
|
|
169
|
+
};
|
|
163
170
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
164
171
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
165
172
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -374,6 +381,13 @@ declare const EmptyStateContainer: import("@stitches/react/types/styled-componen
|
|
|
374
381
|
"2": any;
|
|
375
382
|
"3": any;
|
|
376
383
|
};
|
|
384
|
+
ratios: {
|
|
385
|
+
"16-9": any;
|
|
386
|
+
"3-2": any;
|
|
387
|
+
"4-3": any;
|
|
388
|
+
"1-1": any;
|
|
389
|
+
"3-4": any;
|
|
390
|
+
};
|
|
377
391
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
378
392
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
379
393
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -163,6 +163,13 @@ export declare const EmptyStateBody: import("@stitches/react/types/styled-compon
|
|
|
163
163
|
"2": any;
|
|
164
164
|
"3": any;
|
|
165
165
|
};
|
|
166
|
+
ratios: {
|
|
167
|
+
"16-9": any;
|
|
168
|
+
"3-2": any;
|
|
169
|
+
"4-3": any;
|
|
170
|
+
"1-1": any;
|
|
171
|
+
"3-4": any;
|
|
172
|
+
};
|
|
166
173
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
167
174
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
168
175
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -380,6 +387,13 @@ export declare const EmptyStateBody: import("@stitches/react/types/styled-compon
|
|
|
380
387
|
"2": any;
|
|
381
388
|
"3": any;
|
|
382
389
|
};
|
|
390
|
+
ratios: {
|
|
391
|
+
"16-9": any;
|
|
392
|
+
"3-2": any;
|
|
393
|
+
"4-3": any;
|
|
394
|
+
"1-1": any;
|
|
395
|
+
"3-4": any;
|
|
396
|
+
};
|
|
383
397
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
384
398
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
385
399
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -163,6 +163,13 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
163
163
|
"2": any;
|
|
164
164
|
"3": any;
|
|
165
165
|
};
|
|
166
|
+
ratios: {
|
|
167
|
+
"16-9": any;
|
|
168
|
+
"3-2": any;
|
|
169
|
+
"4-3": any;
|
|
170
|
+
"1-1": any;
|
|
171
|
+
"3-4": any;
|
|
172
|
+
};
|
|
166
173
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
167
174
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
168
175
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -380,6 +387,13 @@ declare const StyledEmptyStateImage: import("@stitches/react/types/styled-compon
|
|
|
380
387
|
"2": any;
|
|
381
388
|
"3": any;
|
|
382
389
|
};
|
|
390
|
+
ratios: {
|
|
391
|
+
"16-9": any;
|
|
392
|
+
"3-2": any;
|
|
393
|
+
"4-3": any;
|
|
394
|
+
"1-1": any;
|
|
395
|
+
"3-4": any;
|
|
396
|
+
};
|
|
383
397
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
384
398
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
385
399
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -158,6 +158,13 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
|
|
|
158
158
|
"2": any;
|
|
159
159
|
"3": any;
|
|
160
160
|
};
|
|
161
|
+
ratios: {
|
|
162
|
+
"16-9": any;
|
|
163
|
+
"3-2": any;
|
|
164
|
+
"4-3": any;
|
|
165
|
+
"1-1": any;
|
|
166
|
+
"3-4": any;
|
|
167
|
+
};
|
|
161
168
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
162
169
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
163
170
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -156,6 +156,13 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
|
|
|
156
156
|
"2": any;
|
|
157
157
|
"3": any;
|
|
158
158
|
};
|
|
159
|
+
ratios: {
|
|
160
|
+
"16-9": any;
|
|
161
|
+
"3-2": any;
|
|
162
|
+
"4-3": any;
|
|
163
|
+
"1-1": any;
|
|
164
|
+
"3-4": any;
|
|
165
|
+
};
|
|
159
166
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
160
167
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
161
168
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -158,6 +158,13 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
|
|
|
158
158
|
"2": any;
|
|
159
159
|
"3": any;
|
|
160
160
|
};
|
|
161
|
+
ratios: {
|
|
162
|
+
"16-9": any;
|
|
163
|
+
"3-2": any;
|
|
164
|
+
"4-3": any;
|
|
165
|
+
"1-1": any;
|
|
166
|
+
"3-4": any;
|
|
167
|
+
};
|
|
161
168
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
162
169
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
163
170
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|