@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
|
@@ -161,6 +161,13 @@ declare const StyledToast: import("@stitches/react/types/styled-component").Styl
|
|
|
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 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
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">;
|
|
@@ -372,6 +379,13 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
|
|
|
372
379
|
"2": any;
|
|
373
380
|
"3": any;
|
|
374
381
|
};
|
|
382
|
+
ratios: {
|
|
383
|
+
"16-9": any;
|
|
384
|
+
"3-2": any;
|
|
385
|
+
"4-3": any;
|
|
386
|
+
"1-1": any;
|
|
387
|
+
"3-4": any;
|
|
388
|
+
};
|
|
375
389
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
376
390
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
377
391
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -158,6 +158,13 @@ export declare const StyledItem: import("@stitches/react/types/styled-component"
|
|
|
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">;
|
|
@@ -371,6 +378,13 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
|
|
|
371
378
|
"2": any;
|
|
372
379
|
"3": any;
|
|
373
380
|
};
|
|
381
|
+
ratios: {
|
|
382
|
+
"16-9": any;
|
|
383
|
+
"3-2": any;
|
|
384
|
+
"4-3": any;
|
|
385
|
+
"1-1": any;
|
|
386
|
+
"3-4": any;
|
|
387
|
+
};
|
|
374
388
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
375
389
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
376
390
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as t from"@radix-ui/react-toggle-group";import{styled as e}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"color2k";import{focusVisibleStyleBlock as o}from"../../utilities/style/focus-visible-style-block.js";import"../../utilities/style/keyframe-animations.js";const r=e(t.Item,{bg:"white",color:"$tonal400",border:"1px solid $tonal200",cursor:"pointer","&::before":{background:"$tonal200"},"&:not([disabled])":{'&:hover, &:focus-visible, &[data-state="on"]':{"&::before":{background:"none"}},"&:hover":{borderColor:"currentColor !important",color:"$primaryMid"},"&:focus-visible":{...o(),'&[data-state="off"]':{borderColor:"$tonal200 !important"},'&[data-state="on"]':{boxShadow:`inset currentColor 0px 0px 0px 1px, ${o().boxShadow}`}}},"&[disabled]":{opacity:.3,cursor:"not-allowed"},'&[data-state="on"]':{color:"$primary",borderColor:"currentColor !important",boxShadow:"inset currentColor 0px 0px 0px 1px"}}),a=r;export{r as StyledItem,a as ToggleGroupItem};
|
|
1
|
+
import*as t from"@radix-ui/react-toggle-group";import{styled as e}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as o}from"../../utilities/style/focus-visible-style-block.js";import"../../utilities/style/keyframe-animations.js";const r=e(t.Item,{bg:"white",color:"$tonal400",border:"1px solid $tonal200",cursor:"pointer","&::before":{background:"$tonal200"},"&:not([disabled])":{'&:hover, &:focus-visible, &[data-state="on"]':{"&::before":{background:"none"}},"&:hover":{borderColor:"currentColor !important",color:"$primaryMid"},"&:focus-visible":{...o(),'&[data-state="off"]':{borderColor:"$tonal200 !important"},'&[data-state="on"]':{boxShadow:`inset currentColor 0px 0px 0px 1px, ${o().boxShadow}`}}},"&[disabled]":{opacity:.3,cursor:"not-allowed"},'&[data-state="on"]':{color:"$primary",borderColor:"currentColor !important",boxShadow:"inset currentColor 0px 0px 0px 1px"}}),a=r;export{r as StyledItem,a as ToggleGroupItem};
|
|
2
2
|
//# sourceMappingURL=ToggleGroupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroupItem.js","sources":["../../../src/components/toggle-group/ToggleGroupItem.tsx"],"sourcesContent":["import * as ToggleGroup from '@radix-ui/react-toggle-group'\n\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nexport const StyledItem = styled(ToggleGroup.Item, {\n bg: 'white',\n color: '$tonal400',\n border: '1px solid $tonal200',\n cursor: 'pointer',\n '&::before': {\n background: '$tonal200'\n },\n '&:not([disabled])': {\n '&:hover, &:focus-visible, &[data-state=\"on\"]': {\n '&::before': {\n background: 'none'\n }\n },\n '&:hover': {\n borderColor: 'currentColor !important',\n color: '$primaryMid'\n },\n '&:focus-visible': {\n ...focusVisibleStyleBlock(),\n '&[data-state=\"off\"]': {\n borderColor: '$tonal200 !important'\n },\n '&[data-state=\"on\"]': {\n boxShadow: `inset currentColor 0px 0px 0px 1px, ${\n focusVisibleStyleBlock().boxShadow\n }`\n }\n }\n },\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed'\n },\n '&[data-state=\"on\"]': {\n color: '$primary',\n borderColor: 'currentColor !important',\n boxShadow: 'inset currentColor 0px 0px 0px 1px'\n }\n})\n\nexport const ToggleGroupItem = StyledItem\n"],"names":["StyledItem","styled","ToggleGroup","focusVisibleStyleBlock","ToggleGroupItem"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToggleGroupItem.js","sources":["../../../src/components/toggle-group/ToggleGroupItem.tsx"],"sourcesContent":["import * as ToggleGroup from '@radix-ui/react-toggle-group'\n\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nexport const StyledItem = styled(ToggleGroup.Item, {\n bg: 'white',\n color: '$tonal400',\n border: '1px solid $tonal200',\n cursor: 'pointer',\n '&::before': {\n background: '$tonal200'\n },\n '&:not([disabled])': {\n '&:hover, &:focus-visible, &[data-state=\"on\"]': {\n '&::before': {\n background: 'none'\n }\n },\n '&:hover': {\n borderColor: 'currentColor !important',\n color: '$primaryMid'\n },\n '&:focus-visible': {\n ...focusVisibleStyleBlock(),\n '&[data-state=\"off\"]': {\n borderColor: '$tonal200 !important'\n },\n '&[data-state=\"on\"]': {\n boxShadow: `inset currentColor 0px 0px 0px 1px, ${\n focusVisibleStyleBlock().boxShadow\n }`\n }\n }\n },\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed'\n },\n '&[data-state=\"on\"]': {\n color: '$primary',\n borderColor: 'currentColor !important',\n boxShadow: 'inset currentColor 0px 0px 0px 1px'\n }\n})\n\nexport const ToggleGroupItem = StyledItem\n"],"names":["StyledItem","styled","ToggleGroup","focusVisibleStyleBlock","ToggleGroupItem"],"mappings":"8WAKO,MAAMA,EAAaC,EAAOC,EAAY,KAAM,CACjD,GAAI,QACJ,MAAO,YACP,OAAQ,sBACR,OAAQ,UACR,YAAa,CACX,WAAY,WACd,EACA,oBAAqB,CACnB,+CAAgD,CAC9C,YAAa,CACX,WAAY,MACd,CACF,EACA,UAAW,CACT,YAAa,0BACb,MAAO,aACT,EACA,kBAAmB,CACjB,GAAGC,EAAAA,EACH,sBAAuB,CACrB,YAAa,sBACf,EACA,qBAAsB,CACpB,UAAW,uCACTA,IAAyB,WAE7B,CACF,CACF,EACA,cAAe,CACb,QAAS,GACT,OAAQ,aACV,EACA,qBAAsB,CACpB,MAAO,WACP,YAAa,0BACb,UAAW,oCACb,CACF,CAAC,EAEYC,EAAkBJ"}
|
|
@@ -168,6 +168,13 @@ export declare const StyledRoot: import("@stitches/react/types/styled-component"
|
|
|
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">;
|
|
@@ -158,6 +158,13 @@ export declare const ToggleGroup: {
|
|
|
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">;
|
|
@@ -372,6 +379,13 @@ export declare const ToggleGroup: {
|
|
|
372
379
|
"2": any;
|
|
373
380
|
"3": any;
|
|
374
381
|
};
|
|
382
|
+
ratios: {
|
|
383
|
+
"16-9": any;
|
|
384
|
+
"3-2": any;
|
|
385
|
+
"4-3": any;
|
|
386
|
+
"1-1": any;
|
|
387
|
+
"3-4": any;
|
|
388
|
+
};
|
|
375
389
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
376
390
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
377
391
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -589,6 +603,13 @@ export declare const ToggleGroup: {
|
|
|
589
603
|
"2": any;
|
|
590
604
|
"3": any;
|
|
591
605
|
};
|
|
606
|
+
ratios: {
|
|
607
|
+
"16-9": any;
|
|
608
|
+
"3-2": any;
|
|
609
|
+
"4-3": any;
|
|
610
|
+
"1-1": any;
|
|
611
|
+
"3-4": any;
|
|
612
|
+
};
|
|
592
613
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
593
614
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
594
615
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -808,6 +829,13 @@ export declare const ToggleGroup: {
|
|
|
808
829
|
"2": any;
|
|
809
830
|
"3": any;
|
|
810
831
|
};
|
|
832
|
+
ratios: {
|
|
833
|
+
"16-9": any;
|
|
834
|
+
"3-2": any;
|
|
835
|
+
"4-3": any;
|
|
836
|
+
"1-1": any;
|
|
837
|
+
"3-4": any;
|
|
838
|
+
};
|
|
811
839
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
812
840
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
813
841
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1026,6 +1054,13 @@ export declare const ToggleGroup: {
|
|
|
1026
1054
|
"2": any;
|
|
1027
1055
|
"3": any;
|
|
1028
1056
|
};
|
|
1057
|
+
ratios: {
|
|
1058
|
+
"16-9": any;
|
|
1059
|
+
"3-2": any;
|
|
1060
|
+
"4-3": any;
|
|
1061
|
+
"1-1": any;
|
|
1062
|
+
"3-4": any;
|
|
1063
|
+
};
|
|
1029
1064
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
1030
1065
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
1031
1066
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -160,6 +160,13 @@ declare const StyledContent: import("@stitches/react/types/styled-component").St
|
|
|
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">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Content as m,Arrow as r}from"@radix-ui/react-tooltip";import*as t from"react";import{TOOLTIP_Z_INDEX as l}from"../../constants/zIndices.js";import{styled as
|
|
1
|
+
import{Content as m,Arrow as r}from"@radix-ui/react-tooltip";import*as t from"react";import{TOOLTIP_Z_INDEX as l}from"../../constants/zIndices.js";import{styled as i}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{slideDownAndFade as s,slideLeftAndFade as p,slideUpAndFade as f,slideRightAndFade as c}from"../../utilities/style/keyframe-animations.js";const h=i(m,{backgroundColor:"$tonal500",borderRadius:"$0",boxShadow:"$0",color:"white",fontFamily:"$body",fontSize:"$sm",lineHeight:1.5,whiteSpace:"normal",px:"$3",py:"$2",zIndex:l,"@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="delayed-open"]':{'&[data-side="top"]':{animationName:s},'&[data-side="right"]':{animationName:p},'&[data-side="bottom"]':{animationName:f},'&[data-side="left"]':{animationName:c}}},variants:{size:{sm:{maxWidth:"100px"},md:{maxWidth:"250px"},lg:{maxWidth:"400px"}}}}),x=i(r,{fill:"$tonal500",'[data-align="end"] &':{mr:"$2"},'[data-align="start"] &':{ml:"$2"}}),$=({children:a,side:e="top",sideOffset:o=4,size:n="md",...d})=>t.createElement(h,{side:e,sideOffset:o,size:n,...d},a,t.createElement(x,null));export{$ as TooltipContent};
|
|
2
2
|
//# sourceMappingURL=TooltipContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipContent.js","sources":["../../../src/components/tooltip/TooltipContent.tsx"],"sourcesContent":["import { Arrow, Content } from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { TOOLTIP_Z_INDEX } from '~/constants/zIndices'\nimport { styled } from '~/stitches'\nimport {\n slideDownAndFade,\n slideLeftAndFade,\n slideRightAndFade,\n slideUpAndFade\n} from '~/utilities'\n\nconst StyledContent = styled(Content, {\n backgroundColor: '$tonal500',\n borderRadius: '$0',\n boxShadow: '$0',\n color: 'white',\n fontFamily: '$body',\n fontSize: '$sm',\n lineHeight: 1.5,\n whiteSpace: 'normal',\n px: '$3',\n py: '$2',\n zIndex: TOOLTIP_Z_INDEX,\n '@allowMotion': {\n animationDuration: '75ms',\n animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',\n willChange: 'transform, opacity',\n '&[data-state=\"delayed-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 variants: {\n size: {\n sm: { maxWidth: '100px' },\n md: { maxWidth: '250px' },\n lg: { maxWidth: '400px' }\n }\n }\n})\n\nconst StyledArrow = styled(Arrow, {\n fill: '$tonal500',\n '[data-align=\"end\"] &': { mr: '$2' },\n '[data-align=\"start\"] &': { ml: '$2' }\n})\n\ntype TooltipContentProps = React.ComponentProps<typeof StyledContent> &\n React.ComponentProps<typeof Content>\n\nexport const TooltipContent: React.FC<TooltipContentProps> = ({\n children,\n side = 'top',\n sideOffset = 4,\n size = 'md',\n ...remainingProps\n}) => (\n <StyledContent\n side={side}\n sideOffset={sideOffset}\n size={size}\n {...remainingProps}\n >\n {children}\n <StyledArrow />\n </StyledContent>\n)\n"],"names":["StyledContent","styled","Content","TOOLTIP_Z_INDEX","slideDownAndFade","slideLeftAndFade","slideUpAndFade","slideRightAndFade","StyledArrow","Arrow","TooltipContent","children","side","sideOffset","size","remainingProps","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TooltipContent.js","sources":["../../../src/components/tooltip/TooltipContent.tsx"],"sourcesContent":["import { Arrow, Content } from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { TOOLTIP_Z_INDEX } from '~/constants/zIndices'\nimport { styled } from '~/stitches'\nimport {\n slideDownAndFade,\n slideLeftAndFade,\n slideRightAndFade,\n slideUpAndFade\n} from '~/utilities'\n\nconst StyledContent = styled(Content, {\n backgroundColor: '$tonal500',\n borderRadius: '$0',\n boxShadow: '$0',\n color: 'white',\n fontFamily: '$body',\n fontSize: '$sm',\n lineHeight: 1.5,\n whiteSpace: 'normal',\n px: '$3',\n py: '$2',\n zIndex: TOOLTIP_Z_INDEX,\n '@allowMotion': {\n animationDuration: '75ms',\n animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',\n willChange: 'transform, opacity',\n '&[data-state=\"delayed-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 variants: {\n size: {\n sm: { maxWidth: '100px' },\n md: { maxWidth: '250px' },\n lg: { maxWidth: '400px' }\n }\n }\n})\n\nconst StyledArrow = styled(Arrow, {\n fill: '$tonal500',\n '[data-align=\"end\"] &': { mr: '$2' },\n '[data-align=\"start\"] &': { ml: '$2' }\n})\n\ntype TooltipContentProps = React.ComponentProps<typeof StyledContent> &\n React.ComponentProps<typeof Content>\n\nexport const TooltipContent: React.FC<TooltipContentProps> = ({\n children,\n side = 'top',\n sideOffset = 4,\n size = 'md',\n ...remainingProps\n}) => (\n <StyledContent\n side={side}\n sideOffset={sideOffset}\n size={size}\n {...remainingProps}\n >\n {children}\n <StyledArrow />\n </StyledContent>\n)\n"],"names":["StyledContent","styled","Content","TOOLTIP_Z_INDEX","slideDownAndFade","slideLeftAndFade","slideUpAndFade","slideRightAndFade","StyledArrow","Arrow","TooltipContent","children","side","sideOffset","size","remainingProps","React"],"mappings":"kdAYA,MAAMA,EAAgBC,EAAOC,EAAS,CACpC,gBAAiB,YACjB,aAAc,KACd,UAAW,KACX,MAAO,QACP,WAAY,QACZ,SAAU,MACV,WAAY,IACZ,WAAY,SACZ,GAAI,KACJ,GAAI,KACJ,OAAQC,EACR,eAAgB,CACd,kBAAmB,OACnB,wBAAyB,gCACzB,WAAY,qBACZ,+BAAgC,CAC9B,qBAAsB,CAAE,cAAeC,CAAiB,EACxD,uBAAwB,CAAE,cAAeC,CAAiB,EAC1D,wBAAyB,CAAE,cAAeC,CAAe,EACzD,sBAAuB,CAAE,cAAeC,CAAkB,CAC5D,CACF,EACA,SAAU,CACR,KAAM,CACJ,GAAI,CAAE,SAAU,OAAQ,EACxB,GAAI,CAAE,SAAU,OAAQ,EACxB,GAAI,CAAE,SAAU,OAAQ,CAC1B,CACF,CACF,CAAC,EAEKC,EAAcP,EAAOQ,EAAO,CAChC,KAAM,YACN,uBAAwB,CAAE,GAAI,IAAK,EACnC,yBAA0B,CAAE,GAAI,IAAK,CACvC,CAAC,EAKYC,EAAgD,CAAC,CAC5D,SAAAC,EACA,KAAAC,EAAO,MACP,WAAAC,EAAa,EACb,KAAAC,EAAO,QACJC,CACL,IACEC,EAAA,cAAChB,EAAA,CACC,KAAMY,EACN,WAAYC,EACZ,KAAMC,EACL,GAAGC,CAEHJ,EAAAA,EACDK,EAAA,cAACR,EAAA,IAAY,CACf"}
|
|
@@ -171,6 +171,13 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
171
171
|
"2": any;
|
|
172
172
|
"3": any;
|
|
173
173
|
};
|
|
174
|
+
ratios: {
|
|
175
|
+
"16-9": any;
|
|
176
|
+
"3-2": any;
|
|
177
|
+
"4-3": any;
|
|
178
|
+
"1-1": any;
|
|
179
|
+
"3-4": any;
|
|
180
|
+
};
|
|
174
181
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
175
182
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
176
183
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -173,6 +173,13 @@ export declare const TopBarBrandName: import("@stitches/react/types/styled-compo
|
|
|
173
173
|
"2": any;
|
|
174
174
|
"3": any;
|
|
175
175
|
};
|
|
176
|
+
ratios: {
|
|
177
|
+
"16-9": any;
|
|
178
|
+
"3-2": any;
|
|
179
|
+
"4-3": any;
|
|
180
|
+
"1-1": any;
|
|
181
|
+
"3-4": any;
|
|
182
|
+
};
|
|
176
183
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
177
184
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
178
185
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -388,6 +395,13 @@ export declare const TopBarBrandName: import("@stitches/react/types/styled-compo
|
|
|
388
395
|
"2": any;
|
|
389
396
|
"3": any;
|
|
390
397
|
};
|
|
398
|
+
ratios: {
|
|
399
|
+
"16-9": any;
|
|
400
|
+
"3-2": any;
|
|
401
|
+
"4-3": any;
|
|
402
|
+
"1-1": any;
|
|
403
|
+
"3-4": any;
|
|
404
|
+
};
|
|
391
405
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
392
406
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
393
407
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -601,6 +615,13 @@ export declare const TopBarBrand: import("@stitches/react/types/styled-component
|
|
|
601
615
|
"2": any;
|
|
602
616
|
"3": any;
|
|
603
617
|
};
|
|
618
|
+
ratios: {
|
|
619
|
+
"16-9": any;
|
|
620
|
+
"3-2": any;
|
|
621
|
+
"4-3": any;
|
|
622
|
+
"1-1": any;
|
|
623
|
+
"3-4": any;
|
|
624
|
+
};
|
|
604
625
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
605
626
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
606
627
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -160,6 +160,13 @@ declare const StyledVideo: import("@stitches/react/types/styled-component").Styl
|
|
|
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">;
|
|
@@ -378,6 +385,13 @@ export declare const Video: React.ForwardRefExoticComponent<Pick<VideoProps, str
|
|
|
378
385
|
"2": any;
|
|
379
386
|
"3": any;
|
|
380
387
|
};
|
|
388
|
+
ratios: {
|
|
389
|
+
"16-9": any;
|
|
390
|
+
"3-2": any;
|
|
391
|
+
"4-3": any;
|
|
392
|
+
"1-1": any;
|
|
393
|
+
"3-4": any;
|
|
394
|
+
};
|
|
381
395
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
382
396
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
383
397
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|