@atom-learning/components 2.52.0 → 2.54.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 +2 -15
- package/dist/components/accordion/Accordion.d.ts +7 -0
- package/dist/components/accordion/AccordionContent.d.ts +7 -0
- package/dist/components/accordion/AccordionItem.d.ts +7 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +7 -0
- 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/avatar/Avatar.d.ts +14 -0
- 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/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/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/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/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/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/heading/Heading.d.ts +7 -0
- 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/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/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/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/SidedrawerTrigger.d.ts +7 -0
- package/dist/components/slider/Slider.d.ts +7 -0
- package/dist/components/sortable/Handle.d.ts +14 -0
- package/dist/components/stack/Stack.d.ts +7 -0
- 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 +10 -1
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/switch/Switch.js.map +1 -1
- 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/TabsTriggerList.d.ts +7 -0
- package/dist/components/text/Text.d.ts +8 -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-interactive/TileInteractive.d.ts +14 -0
- 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/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/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/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/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/no-overflow-wrapper/NoOverflowWrapper.d.ts +14 -0
- package/package.json +4 -4
|
@@ -163,6 +163,13 @@ declare const StyledSectionMessage: import("@stitches/react/types/styled-compone
|
|
|
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">;
|
|
@@ -389,6 +396,13 @@ export declare const SectionMessage: {
|
|
|
389
396
|
"2": any;
|
|
390
397
|
"3": any;
|
|
391
398
|
};
|
|
399
|
+
ratios: {
|
|
400
|
+
"16-9": any;
|
|
401
|
+
"3-2": any;
|
|
402
|
+
"4-3": any;
|
|
403
|
+
"1-1": any;
|
|
404
|
+
"3-4": any;
|
|
405
|
+
};
|
|
392
406
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
393
407
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
394
408
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -611,6 +625,13 @@ export declare const SectionMessage: {
|
|
|
611
625
|
"2": any;
|
|
612
626
|
"3": any;
|
|
613
627
|
};
|
|
628
|
+
ratios: {
|
|
629
|
+
"16-9": any;
|
|
630
|
+
"3-2": any;
|
|
631
|
+
"4-3": any;
|
|
632
|
+
"1-1": any;
|
|
633
|
+
"3-4": any;
|
|
634
|
+
};
|
|
614
635
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
615
636
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
616
637
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -832,6 +853,13 @@ export declare const SectionMessage: {
|
|
|
832
853
|
"2": any;
|
|
833
854
|
"3": any;
|
|
834
855
|
};
|
|
856
|
+
ratios: {
|
|
857
|
+
"16-9": any;
|
|
858
|
+
"3-2": any;
|
|
859
|
+
"4-3": any;
|
|
860
|
+
"1-1": any;
|
|
861
|
+
"3-4": any;
|
|
862
|
+
};
|
|
835
863
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
836
864
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
837
865
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1059,6 +1087,13 @@ export declare const SectionMessage: {
|
|
|
1059
1087
|
"2": any;
|
|
1060
1088
|
"3": any;
|
|
1061
1089
|
};
|
|
1090
|
+
ratios: {
|
|
1091
|
+
"16-9": any;
|
|
1092
|
+
"3-2": any;
|
|
1093
|
+
"4-3": any;
|
|
1094
|
+
"1-1": any;
|
|
1095
|
+
"3-4": any;
|
|
1096
|
+
};
|
|
1062
1097
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
1063
1098
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
1064
1099
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1295,6 +1330,13 @@ export declare const SectionMessage: {
|
|
|
1295
1330
|
"2": any;
|
|
1296
1331
|
"3": any;
|
|
1297
1332
|
};
|
|
1333
|
+
ratios: {
|
|
1334
|
+
"16-9": any;
|
|
1335
|
+
"3-2": any;
|
|
1336
|
+
"4-3": any;
|
|
1337
|
+
"1-1": any;
|
|
1338
|
+
"3-4": any;
|
|
1339
|
+
};
|
|
1298
1340
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
1299
1341
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
1300
1342
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1518,6 +1560,13 @@ export declare const SectionMessage: {
|
|
|
1518
1560
|
"2": any;
|
|
1519
1561
|
"3": any;
|
|
1520
1562
|
};
|
|
1563
|
+
ratios: {
|
|
1564
|
+
"16-9": any;
|
|
1565
|
+
"3-2": any;
|
|
1566
|
+
"4-3": any;
|
|
1567
|
+
"1-1": any;
|
|
1568
|
+
"3-4": any;
|
|
1569
|
+
};
|
|
1521
1570
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
1522
1571
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
1523
1572
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -161,6 +161,13 @@ declare const StyledSelect: 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 StyledContent: import("@stitches/react/types/styled-component").St
|
|
|
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 SidedrawerAccordionItem: import("@stitches/react/types/styl
|
|
|
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 SidedrawerAccordionRoot: import("@stitches/react/types/styl
|
|
|
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 StyledTrigger: import("@stitches/react/types/styled-component").St
|
|
|
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">;
|
|
@@ -157,6 +157,13 @@ declare const StyledContent: import("@stitches/react/types/styled-component").St
|
|
|
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">;
|
|
@@ -156,6 +156,13 @@ export declare const SidedrawerFooter: 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">;
|
|
@@ -157,6 +157,13 @@ declare const StyledHeader: import("@stitches/react/types/styled-component").Sty
|
|
|
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 SidedrawerOverlay: import("@stitches/react/types/styled-com
|
|
|
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 SidedrawerTrigger: import("@stitches/react/types/styled-com
|
|
|
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 StyledSlider: 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">;
|
|
@@ -166,6 +166,13 @@ export declare const StyledHandle: import("@stitches/react/types/styled-componen
|
|
|
166
166
|
"2": any;
|
|
167
167
|
"3": any;
|
|
168
168
|
};
|
|
169
|
+
ratios: {
|
|
170
|
+
"16-9": any;
|
|
171
|
+
"3-2": any;
|
|
172
|
+
"4-3": any;
|
|
173
|
+
"1-1": any;
|
|
174
|
+
"3-4": any;
|
|
175
|
+
};
|
|
169
176
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
170
177
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
171
178
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -400,6 +407,13 @@ export declare const StyledHandle: import("@stitches/react/types/styled-componen
|
|
|
400
407
|
"2": any;
|
|
401
408
|
"3": any;
|
|
402
409
|
};
|
|
410
|
+
ratios: {
|
|
411
|
+
"16-9": any;
|
|
412
|
+
"3-2": any;
|
|
413
|
+
"4-3": any;
|
|
414
|
+
"1-1": any;
|
|
415
|
+
"3-4": any;
|
|
416
|
+
};
|
|
403
417
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
404
418
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
405
419
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -164,6 +164,13 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
|
|
|
164
164
|
"2": any;
|
|
165
165
|
"3": any;
|
|
166
166
|
};
|
|
167
|
+
ratios: {
|
|
168
|
+
"16-9": any;
|
|
169
|
+
"3-2": any;
|
|
170
|
+
"4-3": any;
|
|
171
|
+
"1-1": any;
|
|
172
|
+
"3-4": any;
|
|
173
|
+
};
|
|
167
174
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
168
175
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
169
176
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -158,6 +158,13 @@ declare const StyledStackContent: 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">;
|
|
@@ -156,6 +156,13 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
|
|
|
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">;
|
|
@@ -370,6 +377,13 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
|
|
|
370
377
|
"2": any;
|
|
371
378
|
"3": any;
|
|
372
379
|
};
|
|
380
|
+
ratios: {
|
|
381
|
+
"16-9": any;
|
|
382
|
+
"3-2": any;
|
|
383
|
+
"4-3": any;
|
|
384
|
+
"1-1": any;
|
|
385
|
+
"3-4": any;
|
|
386
|
+
};
|
|
373
387
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
374
388
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
375
389
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -156,6 +156,13 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
|
|
|
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">;
|
|
@@ -373,6 +380,13 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
|
|
|
373
380
|
"2": any;
|
|
374
381
|
"3": any;
|
|
375
382
|
};
|
|
383
|
+
ratios: {
|
|
384
|
+
"16-9": any;
|
|
385
|
+
"3-2": any;
|
|
386
|
+
"4-3": any;
|
|
387
|
+
"1-1": any;
|
|
388
|
+
"3-4": any;
|
|
389
|
+
};
|
|
376
390
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
377
391
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
378
392
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -163,6 +163,13 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
|
|
|
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">;
|
|
@@ -381,6 +388,13 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
|
|
|
381
388
|
"2": any;
|
|
382
389
|
"3": any;
|
|
383
390
|
};
|
|
391
|
+
ratios: {
|
|
392
|
+
"16-9": any;
|
|
393
|
+
"3-2": any;
|
|
394
|
+
"4-3": any;
|
|
395
|
+
"1-1": any;
|
|
396
|
+
"3-4": any;
|
|
397
|
+
};
|
|
384
398
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
385
399
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
386
400
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as RadixSwitch from '@radix-ui/react-switch';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
declare const StyledSwitch: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<RadixSwitch.SwitchProps & React.RefAttributes<HTMLButtonElement>>, {
|
|
3
|
+
declare const StyledSwitch: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<RadixSwitch.SwitchProps & React.RefAttributes<HTMLButtonElement>>, {
|
|
4
|
+
size?: "md" | "lg" | undefined;
|
|
5
|
+
}, {
|
|
4
6
|
sm: string;
|
|
5
7
|
md: string;
|
|
6
8
|
lg: string;
|
|
@@ -158,6 +160,13 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
|
|
|
158
160
|
"2": any;
|
|
159
161
|
"3": any;
|
|
160
162
|
};
|
|
163
|
+
ratios: {
|
|
164
|
+
"16-9": any;
|
|
165
|
+
"3-2": any;
|
|
166
|
+
"4-3": any;
|
|
167
|
+
"1-1": any;
|
|
168
|
+
"3-4": any;
|
|
169
|
+
};
|
|
161
170
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
162
171
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
163
172
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as a from"@radix-ui/react-switch";import*as o from"react";import{styled as r}from"../../stitches.js";const i=r(a.Root,{appearance:"none",backgroundColor:"$tonal200",border:"none",borderRadius:"$round",cursor:"pointer",display:"flex",overflow:"hidden",position:"relative",transition:"all 50ms ease-out","&:hover":{backgroundColor:"$tonal300"},"&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary"},'&[data-state="checked"]:hover':{backgroundColor:"$primaryMid"},variants:{size:{md:{p:"$0",width:"$4"},lg:{p:"$1",width:"$6"}}}}),n=r(a.Thumb,{backgroundColor:"white",borderRadius:"$round",display:"block",transition:"transform 50ms",willChange:"transform",variants:{size:{md:{size:"$1",'&[data-state="checked"]':{transform:"translateX(calc($sizes$2 - $space$1))"}},lg:{size:"$2",'&[data-state="checked"]':{transform:"translateX($space$5)"}}}}}),t=({size:e="md",...s})=>o.createElement(i,{size:e,...s},o.createElement(n,{size:e}));t.displayName="Switch";export{t as Switch};
|
|
2
2
|
//# sourceMappingURL=Switch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","sources":["../../../src/components/switch/Switch.tsx"],"sourcesContent":["import * as RadixSwitch from '@radix-ui/react-switch'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nconst StyledSwitch = styled(RadixSwitch.Root, {\n appearance: 'none',\n backgroundColor: '$tonal200',\n border: 'none',\n borderRadius: '$round',\n cursor: 'pointer',\n display: 'flex',\n overflow: 'hidden',\n
|
|
1
|
+
{"version":3,"file":"Switch.js","sources":["../../../src/components/switch/Switch.tsx"],"sourcesContent":["import * as RadixSwitch from '@radix-ui/react-switch'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nconst StyledSwitch = styled(RadixSwitch.Root, {\n appearance: 'none',\n backgroundColor: '$tonal200',\n border: 'none',\n borderRadius: '$round',\n cursor: 'pointer',\n display: 'flex',\n overflow: 'hidden',\n position: 'relative',\n transition: 'all 50ms ease-out',\n '&:hover': {\n backgroundColor: '$tonal300'\n },\n '&:focus': {\n outline: '2px solid $primary',\n outlineOffset: '1px'\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: '$primary'\n },\n '&[data-state=\"checked\"]:hover': {\n backgroundColor: '$primaryMid'\n },\n variants: {\n size: {\n md: {\n p: '$0',\n width: '$4'\n },\n lg: {\n p: '$1',\n width: '$6'\n }\n }\n }\n})\n\nconst StyledThumb = styled(RadixSwitch.Thumb, {\n backgroundColor: 'white',\n borderRadius: '$round',\n display: 'block',\n transition: 'transform 50ms',\n willChange: 'transform', \n variants: {\n size: {\n md: {\n size: '$1',\n '&[data-state=\"checked\"]': {\n transform: 'translateX(calc($sizes$2 - $space$1))'\n }\n },\n lg: {\n size: '$2',\n '&[data-state=\"checked\"]': {\n transform: 'translateX($space$5)'\n },\n }\n }\n }\n})\n\ntype SwitchProps = React.ComponentProps<typeof StyledSwitch>\n\nexport const Switch: React.FC<SwitchProps> = ({ size = 'md', ...rest }) => (\n <StyledSwitch size={size} {...rest}>\n <StyledThumb size={size} />\n </StyledSwitch>\n)\n\nSwitch.displayName = 'Switch'\n"],"names":["StyledSwitch","styled","RadixSwitch","StyledThumb","Switch","size","rest","React"],"mappings":"4GAKA,MAAMA,EAAeC,EAAOC,EAAY,KAAM,CAC5C,WAAY,OACZ,gBAAiB,YACjB,OAAQ,OACR,aAAc,SACd,OAAQ,UACR,QAAS,OACT,SAAU,SACV,SAAU,WACV,WAAY,oBACZ,UAAW,CACT,gBAAiB,WACnB,EACA,UAAW,CACT,QAAS,qBACT,cAAe,KACjB,EACA,0BAA2B,CACzB,gBAAiB,UACnB,EACA,gCAAiC,CAC/B,gBAAiB,aACnB,EACA,SAAU,CACR,KAAM,CACJ,GAAI,CACF,EAAG,KACH,MAAO,IACT,EACA,GAAI,CACF,EAAG,KACH,MAAO,IACT,CACF,CACF,CACF,CAAC,EAEKC,EAAcF,EAAOC,EAAY,MAAO,CAC5C,gBAAiB,QACjB,aAAc,SACd,QAAS,QACT,WAAY,iBACZ,WAAY,YACZ,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,KACN,0BAA2B,CACzB,UAAW,uCACb,CACF,EACA,GAAI,CACF,KAAM,KACN,0BAA2B,CACzB,UAAW,sBACb,CACF,CACF,CACF,CACF,CAAC,EAIYE,EAAgC,CAAC,CAAE,KAAAC,EAAO,QAASC,CAAK,IACnEC,EAAA,cAACP,EAAA,CAAa,KAAMK,EAAO,GAAGC,CAC5BC,EAAAA,EAAA,cAACJ,EAAA,CAAY,KAAME,CAAAA,CAAM,CAC3B,EAGFD,EAAO,YAAc"}
|
|
@@ -178,6 +178,13 @@ declare const StyledTable: import("@stitches/react/types/styled-component").Styl
|
|
|
178
178
|
"2": any;
|
|
179
179
|
"3": any;
|
|
180
180
|
};
|
|
181
|
+
ratios: {
|
|
182
|
+
"16-9": any;
|
|
183
|
+
"3-2": any;
|
|
184
|
+
"4-3": any;
|
|
185
|
+
"1-1": any;
|
|
186
|
+
"3-4": any;
|
|
187
|
+
};
|
|
181
188
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
182
189
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
183
190
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -159,6 +159,13 @@ declare const StyledTableBody: import("@stitches/react/types/styled-component").
|
|
|
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">;
|
|
@@ -156,6 +156,13 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
|
|
|
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 TableFooter: import("@stitches/react/types/styled-component
|
|
|
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 TableFooterCell: 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">;
|
|
@@ -164,6 +164,13 @@ declare const StyledTableHeader: import("@stitches/react/types/styled-component"
|
|
|
164
164
|
"2": any;
|
|
165
165
|
"3": any;
|
|
166
166
|
};
|
|
167
|
+
ratios: {
|
|
168
|
+
"16-9": any;
|
|
169
|
+
"3-2": any;
|
|
170
|
+
"4-3": any;
|
|
171
|
+
"1-1": any;
|
|
172
|
+
"3-4": any;
|
|
173
|
+
};
|
|
167
174
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
168
175
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
169
176
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -156,6 +156,13 @@ export declare const TableHeaderCell: 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">;
|
|
@@ -157,6 +157,13 @@ export declare const StyledRow: 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">;
|
|
@@ -373,6 +380,13 @@ export declare const TableRow: React.ForwardRefExoticComponent<Pick<Omit<Pick<Re
|
|
|
373
380
|
"2": any;
|
|
374
381
|
"3": any;
|
|
375
382
|
};
|
|
383
|
+
ratios: {
|
|
384
|
+
"16-9": any;
|
|
385
|
+
"3-2": any;
|
|
386
|
+
"4-3": any;
|
|
387
|
+
"1-1": any;
|
|
388
|
+
"3-4": any;
|
|
389
|
+
};
|
|
376
390
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
377
391
|
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
378
392
|
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
@@ -161,6 +161,13 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
|
|
|
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 TabsContent: 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">;
|
|
@@ -157,6 +157,13 @@ declare const StyledTabsTrigger: 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">;
|