@atom-learning/components 2.29.0-1 → 2.29.0-beta.2
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/dist/components/accordion/Accordion.d.ts +1 -266
- package/dist/components/accordion/AccordionContent.d.ts +1 -266
- package/dist/components/accordion/AccordionItem.d.ts +1 -266
- package/dist/components/accordion/AccordionTrigger.d.ts +1 -268
- package/dist/components/action-icon/ActionIcon.d.ts +1 -281
- package/dist/components/alert-dialog/AlertDialog.d.ts +1 -266
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +1 -268
- package/dist/components/alert-dialog/alert-context/AlertDialog.d.ts +1 -1
- package/dist/components/avatar/Avatar.d.ts +2 -536
- package/dist/components/badge/Badge.d.ts +1 -534
- package/dist/components/box/Box.d.ts +1 -266
- package/dist/components/button/Button.d.ts +2 -283
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/Day.d.ts +1 -270
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/CarouselArrows.d.ts +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +1 -267
- package/dist/components/carousel/CarouselSlide.d.ts +1 -266
- package/dist/components/carousel/CarouselSlider.d.ts +1 -269
- package/dist/components/checkbox/Checkbox.d.ts +1 -269
- package/dist/components/checkbox-field/CheckboxField.d.ts +2 -2
- package/dist/components/chip/Chip.d.ts +5 -1879
- package/dist/components/chip/ChipGroup.d.ts +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +2 -547
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupRoot.d.ts +1 -5
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +1 -546
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +1 -562
- package/dist/components/combobox/Combobox.d.ts +1 -266
- package/dist/components/combobox/ComboboxInput.d.ts +1 -268
- package/dist/components/combobox/ComboboxList.d.ts +1 -266
- package/dist/components/combobox/ComboboxOption.d.ts +1 -266
- package/dist/components/combobox/ComboboxPopover.d.ts +1 -266
- package/dist/components/data-table/DataTableLoading.d.ts +1 -270
- package/dist/components/data-table/drag-and-drop/Handle.d.ts +1 -559
- package/dist/components/data-table/pagination/Pagination.d.ts +1 -266
- package/dist/components/data-table/pagination/PaginationButtons.d.ts +1 -1
- package/dist/components/date-field/DateField.d.ts +2 -2
- package/dist/components/dialog/Dialog.d.ts +1 -266
- package/dist/components/dialog/DialogBackground.d.ts +1 -531
- package/dist/components/dialog/DialogClose.d.ts +1 -267
- package/dist/components/dialog/DialogContent.d.ts +1 -268
- package/dist/components/dismissible-group/DismissibleGroupItem.d.ts +1 -1
- package/dist/components/dismissible-group/index.d.ts +1 -1
- package/dist/components/divider/Divider.d.ts +1 -268
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +1 -266
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +1 -267
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +1 -267
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +1 -267
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +1 -267
- package/dist/components/empty-state/EmptyState.d.ts +1 -533
- package/dist/components/empty-state/EmptyStateBody.d.ts +1 -543
- package/dist/components/empty-state/EmptyStateImage.d.ts +2 -542
- package/dist/components/empty-state/EmptyStateTitle.d.ts +1 -268
- package/dist/components/field-wrapper/FieldDescription.d.ts +1 -1
- package/dist/components/field-wrapper/FieldWrapper.d.ts +2 -2
- package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
- package/dist/components/flex/Flex.d.ts +1 -266
- package/dist/components/form/Form.d.ts +1 -266
- package/dist/components/grid/Grid.d.ts +1 -268
- package/dist/components/heading/Heading.d.ts +2 -270
- package/dist/components/icon/Icon.d.ts +2 -269
- package/dist/components/image/Image.d.ts +2 -269
- package/dist/components/inline-message/InlineMessage.config.d.ts +1 -1
- package/dist/components/inline-message/InlineMessage.d.ts +1 -534
- package/dist/components/input/Input.d.ts +2 -270
- package/dist/components/input-field/InputField.d.ts +2 -2
- package/dist/components/label/Label.d.ts +2 -272
- package/dist/components/link/Link.d.ts +3 -271
- package/dist/components/list/List.d.ts +2 -537
- package/dist/components/loader/Loader.d.ts +1 -1
- package/dist/components/markdown-content/MarkdownContent.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +1 -266
- package/dist/components/markdown-content/components/MarkdownImage.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownList.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownThematicBreak.d.ts +1 -1
- package/dist/components/navigation/NavigationMenu.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuDropdown.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +4 -543
- package/dist/components/navigation/NavigationMenuLink.d.ts +1 -1
- package/dist/components/notification-badge/NotificationBadge.d.ts +1 -531
- package/dist/components/number-input/NumberInput.d.ts +1 -1
- package/dist/components/number-input-field/NumberInputField.d.ts +2 -2
- package/dist/components/password-field/PasswordField.d.ts +2 -2
- package/dist/components/password-input/PasswordInput.d.ts +1 -1
- package/dist/components/popover/Popover.d.ts +1 -266
- package/dist/components/popover/PopoverContent.d.ts +1 -268
- package/dist/components/progress-bar/ProgressBar.d.ts +1 -269
- package/dist/components/radio-button/RadioButton.d.ts +2 -268
- package/dist/components/radio-button/RadioButtonGroup.d.ts +1 -270
- package/dist/components/radio-button-field/RadioButtonField.d.ts +2 -2
- package/dist/components/radio-button-field/RadioField.d.ts +3 -3
- package/dist/components/radio-card/RadioCard.d.ts +1 -271
- package/dist/components/radio-card/RadioCardGroup.d.ts +1 -1
- package/dist/components/search-field/SearchField.d.ts +2 -2
- package/dist/components/search-input/SearchInput.d.ts +2 -2
- package/dist/components/select/Select.d.ts +2 -270
- package/dist/components/select-field/SelectField.d.ts +2 -2
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +1 -266
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +1 -267
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +1 -267
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +1 -268
- package/dist/components/sidedrawer/SidedrawerContent.d.ts +1 -266
- package/dist/components/sidedrawer/SidedrawerFooter.d.ts +1 -266
- package/dist/components/sidedrawer/SidedrawerHeader.d.ts +1 -266
- package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +1 -267
- package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +1 -267
- package/dist/components/slider/Slider.d.ts +1 -268
- package/dist/components/slider-field/SliderField.d.ts +3 -3
- package/dist/components/stack/Stack.d.ts +2 -273
- package/dist/components/stack-content/StackContent.d.ts +2 -267
- package/dist/components/stepper/StepperStepBullet.d.ts +1 -533
- package/dist/components/stepper/StepperStepContainer.d.ts +1 -536
- package/dist/components/stepper/StepperStepLabel.d.ts +1 -544
- package/dist/components/stepper/types.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +1 -267
- package/dist/components/table/Table.d.ts +1 -269
- package/dist/components/table/TableBody.d.ts +1 -268
- package/dist/components/table/TableCell.d.ts +1 -266
- package/dist/components/table/TableFooter.d.ts +1 -266
- package/dist/components/table/TableFooterCell.d.ts +1 -266
- package/dist/components/table/TableHeader.d.ts +1 -268
- package/dist/components/table/TableHeaderCell.d.ts +1 -266
- package/dist/components/table/TableRow.d.ts +2 -536
- package/dist/components/tabs/TabTrigger.d.ts +1 -268
- package/dist/components/tabs/Tabs.d.ts +2 -536
- package/dist/components/tabs/TabsTriggerList.d.ts +1 -269
- package/dist/components/text/Text.d.ts +3 -271
- package/dist/components/textarea/Textarea.d.ts +1 -268
- package/dist/components/textarea-field/TextareaField.d.ts +2 -2
- package/dist/components/toast/Toast.d.ts +1 -268
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +1 -534
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +2 -534
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +1 -271
- package/dist/components/toggle-group/index.d.ts +3 -1352
- package/dist/components/tooltip/TooltipContent.d.ts +1 -268
- package/dist/components/top-bar/TopBar.d.ts +2 -270
- package/dist/components/top-bar/TopBarBrand.d.ts +4 -808
- package/dist/components/video/Video.d.ts +4 -535
- package/dist/index.d.ts +1 -1
- package/dist/stitches.d.ts +46 -1993
- package/dist/stitches.js +1 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +1 -109
- package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
- package/dist/utilities/style/capsize.d.ts +1 -1
- package/dist/utilities/style/keyframe-animations.d.ts +8 -32
- package/package.json +1 -2
- package/dist/docgen.json +0 -1
- package/dist/docs/Accordion.mdx +0 -45
- package/dist/docs/ActionIcon.mdx +0 -87
- package/dist/docs/AlertDialog.mdx +0 -40
- package/dist/docs/Avatar.mdx +0 -129
- package/dist/docs/Badge.mdx +0 -55
- package/dist/docs/Box.mdx +0 -52
- package/dist/docs/Button.mdx +0 -76
- package/dist/docs/CONTRIBUTING.md +0 -224
- package/dist/docs/CSSWrapper.mdx +0 -10
- package/dist/docs/Carousel.mdx +0 -88
- package/dist/docs/Checkbox.mdx +0 -19
- package/dist/docs/CheckboxField.mdx +0 -14
- package/dist/docs/Chip.mdx +0 -118
- package/dist/docs/ChipDismissibleGroup.mdx +0 -33
- package/dist/docs/ChipToggleGroup.mdx +0 -27
- package/dist/docs/Combobox.mdx +0 -44
- package/dist/docs/DataTable.mdx +0 -279
- package/dist/docs/DateField.mdx +0 -20
- package/dist/docs/DateInput.mdx +0 -87
- package/dist/docs/Dialog.mdx +0 -68
- package/dist/docs/Dismissible.mdx +0 -48
- package/dist/docs/DismissibleGroup.mdx +0 -29
- package/dist/docs/Divider.mdx +0 -16
- package/dist/docs/DropdownMenu.mdx +0 -30
- package/dist/docs/EmptyState.mdx +0 -23
- package/dist/docs/FieldWrapper.mdx +0 -30
- package/dist/docs/FileInput.mdx +0 -45
- package/dist/docs/Flex.mdx +0 -16
- package/dist/docs/Form.mdx +0 -411
- package/dist/docs/Grid.mdx +0 -28
- package/dist/docs/Heading.mdx +0 -30
- package/dist/docs/Icon.mdx +0 -30
- package/dist/docs/Image.mdx +0 -14
- package/dist/docs/InlineMessage.mdx +0 -52
- package/dist/docs/Input.mdx +0 -24
- package/dist/docs/InputField.mdx +0 -26
- package/dist/docs/Label.mdx +0 -32
- package/dist/docs/Link.mdx +0 -53
- package/dist/docs/List.mdx +0 -38
- package/dist/docs/Loader.mdx +0 -16
- package/dist/docs/MarkdownContent.mdx +0 -77
- package/dist/docs/NavigationMenu.mdx +0 -144
- package/dist/docs/NotificationBadge.mdx +0 -35
- package/dist/docs/NumberInput.mdx +0 -37
- package/dist/docs/NumberInputField.mdx +0 -26
- package/dist/docs/PasswordField.mdx +0 -23
- package/dist/docs/PasswordInput.mdx +0 -15
- package/dist/docs/Popover.mdx +0 -29
- package/dist/docs/ProgressBar.mdx +0 -56
- package/dist/docs/RadioButton.mdx +0 -10
- package/dist/docs/RadioButtonField.mdx +0 -25
- package/dist/docs/RadioCard.mdx +0 -62
- package/dist/docs/SearchField.mdx +0 -26
- package/dist/docs/SearchInput.mdx +0 -13
- package/dist/docs/Select.mdx +0 -56
- package/dist/docs/SelectField.mdx +0 -17
- package/dist/docs/Sidedrawer.mdx +0 -155
- package/dist/docs/Slider.mdx +0 -117
- package/dist/docs/SliderField.mdx +0 -35
- package/dist/docs/Stack.mdx +0 -24
- package/dist/docs/StackContent.mdx +0 -32
- package/dist/docs/Stepper.mdx +0 -154
- package/dist/docs/Styling.mdx +0 -85
- package/dist/docs/Switch.mdx +0 -28
- package/dist/docs/Table.mdx +0 -146
- package/dist/docs/Tabs.mdx +0 -102
- package/dist/docs/Text.mdx +0 -24
- package/dist/docs/Textarea.mdx +0 -12
- package/dist/docs/TextareaField.mdx +0 -21
- package/dist/docs/Toast.mdx +0 -20
- package/dist/docs/ToggleGroup.mdx +0 -88
- package/dist/docs/Tooltip.mdx +0 -25
- package/dist/docs/TopBar.mdx +0 -95
- package/dist/docs/Video.mdx +0 -12
- package/dist/docs/accessibility.mdx +0 -67
- package/dist/docs/coreconcepts.mdx +0 -77
- package/dist/docs/introduction.mdx +0 -33
- package/dist/docs/versioning.mdx +0 -40
package/dist/stitches.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"@atom-learning/theme";import{createStitches as e}from"@stitches/react";const i={bg:t=>({background:t}),inset:t=>({top:t,right:t,bottom:t,left:t}),size:t=>({height:t,width:t}),p:t=>({padding:t}),pt:t=>({paddingTop:t}),pr:t=>({paddingRight:t}),pb:t=>({paddingBottom:t}),pl:t=>({paddingLeft:t}),px:t=>({paddingLeft:t,paddingRight:t}),py:t=>({paddingTop:t,paddingBottom:t}),m:t=>({margin:t}),mt:t=>({marginTop:t}),mr:t=>({marginRight:t}),mb:t=>({marginBottom:t}),ml:t=>({marginLeft:t}),mx:t=>({marginLeft:t,marginRight:t}),my:t=>({marginTop:t,marginBottom:t})},m={sm:"(min-width: 550px)",md:"(min-width: 800px)",lg:"(min-width: 1100px)",xl:"(min-width: 1350px)",reducedMotion:"(prefers-reduced-motion)",allowMotion:"(prefers-reduced-motion: no-preference)",hover:"(hover: hover)"},d=e({theme:o,utils:i,media:m}),{css:n,getCssText:r,createTheme:p,globalCss:g,keyframes:a,styled:
|
|
1
|
+
import*as o from"@atom-learning/theme";import{createStitches as e}from"@stitches/react";const i={bg:t=>({background:t}),inset:t=>({top:t,right:t,bottom:t,left:t}),size:t=>({height:t,width:t}),p:t=>({padding:t}),pt:t=>({paddingTop:t}),pr:t=>({paddingRight:t}),pb:t=>({paddingBottom:t}),pl:t=>({paddingLeft:t}),px:t=>({paddingLeft:t,paddingRight:t}),py:t=>({paddingTop:t,paddingBottom:t}),m:t=>({margin:t}),mt:t=>({marginTop:t}),mr:t=>({marginRight:t}),mb:t=>({marginBottom:t}),ml:t=>({marginLeft:t}),mx:t=>({marginLeft:t,marginRight:t}),my:t=>({marginTop:t,marginBottom:t})},m={sm:"(min-width: 550px)",md:"(min-width: 800px)",lg:"(min-width: 1100px)",xl:"(min-width: 1350px)",reducedMotion:"(prefers-reduced-motion)",allowMotion:"(prefers-reduced-motion: no-preference)",hover:"(hover: hover)"},d=e({theme:o,utils:i,media:m}),{css:n,getCssText:r,createTheme:p,globalCss:g,keyframes:a,styled:h,theme:s}=d;export{p as createTheme,n as css,r as getCssText,g as globalCss,a as keyframes,m as media,h as styled,s as theme,i as utils};
|
|
@@ -19,112 +19,4 @@ import { CSS, theme } from '../../stitches';
|
|
|
19
19
|
* // }
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(themeProperty: ThemeProperty, styles: CSS) => Record<
|
|
23
|
-
className: string;
|
|
24
|
-
selector: string;
|
|
25
|
-
} & {
|
|
26
|
-
colors: {
|
|
27
|
-
textForeground: import("@stitches/react/types/theme").Token<"textForeground", string, "colors", "">;
|
|
28
|
-
textSubtle: import("@stitches/react/types/theme").Token<"textSubtle", string, "colors", "">;
|
|
29
|
-
textPlaceholder: import("@stitches/react/types/theme").Token<"textPlaceholder", string, "colors", "">;
|
|
30
|
-
background: import("@stitches/react/types/theme").Token<"background", string, "colors", "">;
|
|
31
|
-
backgroundAccent: import("@stitches/react/types/theme").Token<"backgroundAccent", string, "colors", "">;
|
|
32
|
-
tonal50: import("@stitches/react/types/theme").Token<"tonal50", string, "colors", "">;
|
|
33
|
-
tonal100: import("@stitches/react/types/theme").Token<"tonal100", string, "colors", "">;
|
|
34
|
-
tonal200: import("@stitches/react/types/theme").Token<"tonal200", string, "colors", "">;
|
|
35
|
-
tonal300: import("@stitches/react/types/theme").Token<"tonal300", string, "colors", "">;
|
|
36
|
-
tonal400: import("@stitches/react/types/theme").Token<"tonal400", string, "colors", "">;
|
|
37
|
-
tonal500: import("@stitches/react/types/theme").Token<"tonal500", string, "colors", "">;
|
|
38
|
-
tonal600: import("@stitches/react/types/theme").Token<"tonal600", string, "colors", "">;
|
|
39
|
-
alpha100: import("@stitches/react/types/theme").Token<"alpha100", string, "colors", "">;
|
|
40
|
-
alpha150: import("@stitches/react/types/theme").Token<"alpha150", string, "colors", "">;
|
|
41
|
-
alpha200: import("@stitches/react/types/theme").Token<"alpha200", string, "colors", "">;
|
|
42
|
-
alpha250: import("@stitches/react/types/theme").Token<"alpha250", string, "colors", "">;
|
|
43
|
-
alpha600: import("@stitches/react/types/theme").Token<"alpha600", string, "colors", "">;
|
|
44
|
-
primaryLight: import("@stitches/react/types/theme").Token<"primaryLight", string, "colors", "">;
|
|
45
|
-
primary: import("@stitches/react/types/theme").Token<"primary", string, "colors", "">;
|
|
46
|
-
primaryMid: import("@stitches/react/types/theme").Token<"primaryMid", string, "colors", "">;
|
|
47
|
-
primaryDark: import("@stitches/react/types/theme").Token<"primaryDark", string, "colors", "">;
|
|
48
|
-
secondary: import("@stitches/react/types/theme").Token<"secondary", string, "colors", "">;
|
|
49
|
-
brandRed: import("@stitches/react/types/theme").Token<"brandRed", string, "colors", "">;
|
|
50
|
-
brandRedAccent: import("@stitches/react/types/theme").Token<"brandRedAccent", string, "colors", "">;
|
|
51
|
-
brandGreen: import("@stitches/react/types/theme").Token<"brandGreen", string, "colors", "">;
|
|
52
|
-
brandGreenAccent: import("@stitches/react/types/theme").Token<"brandGreenAccent", string, "colors", "">;
|
|
53
|
-
brandPurple: import("@stitches/react/types/theme").Token<"brandPurple", string, "colors", "">;
|
|
54
|
-
brandPurpleAccent: import("@stitches/react/types/theme").Token<"brandPurpleAccent", string, "colors", "">;
|
|
55
|
-
brandYellow: import("@stitches/react/types/theme").Token<"brandYellow", string, "colors", "">;
|
|
56
|
-
brandYellowAccent: import("@stitches/react/types/theme").Token<"brandYellowAccent", string, "colors", "">;
|
|
57
|
-
successLight: import("@stitches/react/types/theme").Token<"successLight", string, "colors", "">;
|
|
58
|
-
success: import("@stitches/react/types/theme").Token<"success", string, "colors", "">;
|
|
59
|
-
successMid: import("@stitches/react/types/theme").Token<"successMid", string, "colors", "">;
|
|
60
|
-
successDark: import("@stitches/react/types/theme").Token<"successDark", string, "colors", "">;
|
|
61
|
-
dangerLight: import("@stitches/react/types/theme").Token<"dangerLight", string, "colors", "">;
|
|
62
|
-
danger: import("@stitches/react/types/theme").Token<"danger", string, "colors", "">;
|
|
63
|
-
dangerMid: import("@stitches/react/types/theme").Token<"dangerMid", string, "colors", "">;
|
|
64
|
-
dangerDark: import("@stitches/react/types/theme").Token<"dangerDark", string, "colors", "">;
|
|
65
|
-
warningLight: import("@stitches/react/types/theme").Token<"warningLight", string, "colors", "">;
|
|
66
|
-
warning: import("@stitches/react/types/theme").Token<"warning", string, "colors", "">;
|
|
67
|
-
warningMid: import("@stitches/react/types/theme").Token<"warningMid", string, "colors", "">;
|
|
68
|
-
warningDark: import("@stitches/react/types/theme").Token<"warningDark", string, "colors", "">;
|
|
69
|
-
warningText: import("@stitches/react/types/theme").Token<"warningText", string, "colors", "">;
|
|
70
|
-
subjectEnglish: import("@stitches/react/types/theme").Token<"subjectEnglish", string, "colors", "">;
|
|
71
|
-
subjectMaths: import("@stitches/react/types/theme").Token<"subjectMaths", string, "colors", "">;
|
|
72
|
-
subjectScience: import("@stitches/react/types/theme").Token<"subjectScience", string, "colors", "">;
|
|
73
|
-
subjectVerbalReasoning: import("@stitches/react/types/theme").Token<"subjectVerbalReasoning", string, "colors", "">;
|
|
74
|
-
subjectNonVerbalReasoning: import("@stitches/react/types/theme").Token<"subjectNonVerbalReasoning", string, "colors", "">;
|
|
75
|
-
subjectCreativeWriting: import("@stitches/react/types/theme").Token<"subjectCreativeWriting", string, "colors", "">;
|
|
76
|
-
subjectExamSkills: import("@stitches/react/types/theme").Token<"subjectExamSkills", string, "colors", "">;
|
|
77
|
-
};
|
|
78
|
-
space: {
|
|
79
|
-
0: import("@stitches/react/types/theme").Token<"0", string, "space", "">;
|
|
80
|
-
1: import("@stitches/react/types/theme").Token<"1", string, "space", "">;
|
|
81
|
-
2: import("@stitches/react/types/theme").Token<"2", string, "space", "">;
|
|
82
|
-
3: import("@stitches/react/types/theme").Token<"3", string, "space", "">;
|
|
83
|
-
4: import("@stitches/react/types/theme").Token<"4", string, "space", "">;
|
|
84
|
-
5: import("@stitches/react/types/theme").Token<"5", string, "space", "">;
|
|
85
|
-
6: import("@stitches/react/types/theme").Token<"6", string, "space", "">;
|
|
86
|
-
7: import("@stitches/react/types/theme").Token<"7", string, "space", "">;
|
|
87
|
-
8: import("@stitches/react/types/theme").Token<"8", string, "space", "">;
|
|
88
|
-
9: import("@stitches/react/types/theme").Token<"9", string, "space", "">;
|
|
89
|
-
};
|
|
90
|
-
fontSizes: {
|
|
91
|
-
xs: import("@stitches/react/types/theme").Token<"xs", string, "fontSizes", "">;
|
|
92
|
-
sm: import("@stitches/react/types/theme").Token<"sm", string, "fontSizes", "">;
|
|
93
|
-
md: import("@stitches/react/types/theme").Token<"md", string, "fontSizes", "">;
|
|
94
|
-
lg: import("@stitches/react/types/theme").Token<"lg", string, "fontSizes", "">;
|
|
95
|
-
xl: import("@stitches/react/types/theme").Token<"xl", string, "fontSizes", "">;
|
|
96
|
-
"2xl": import("@stitches/react/types/theme").Token<"2xl", string, "fontSizes", "">;
|
|
97
|
-
"3xl": import("@stitches/react/types/theme").Token<"3xl", string, "fontSizes", "">;
|
|
98
|
-
"4xl": import("@stitches/react/types/theme").Token<"4xl", string, "fontSizes", "">;
|
|
99
|
-
};
|
|
100
|
-
fonts: {
|
|
101
|
-
sans: import("@stitches/react/types/theme").Token<"sans", string, "fonts", "">;
|
|
102
|
-
mono: import("@stitches/react/types/theme").Token<"mono", string, "fonts", "">;
|
|
103
|
-
display: import("@stitches/react/types/theme").Token<"display", string, "fonts", "">;
|
|
104
|
-
body: import("@stitches/react/types/theme").Token<"body", string, "fonts", "">;
|
|
105
|
-
};
|
|
106
|
-
sizes: {
|
|
107
|
-
0: import("@stitches/react/types/theme").Token<"0", string, "sizes", "">;
|
|
108
|
-
1: import("@stitches/react/types/theme").Token<"1", string, "sizes", "">;
|
|
109
|
-
2: import("@stitches/react/types/theme").Token<"2", string, "sizes", "">;
|
|
110
|
-
3: import("@stitches/react/types/theme").Token<"3", string, "sizes", "">;
|
|
111
|
-
4: import("@stitches/react/types/theme").Token<"4", string, "sizes", "">;
|
|
112
|
-
5: import("@stitches/react/types/theme").Token<"5", string, "sizes", "">;
|
|
113
|
-
6: import("@stitches/react/types/theme").Token<"6", string, "sizes", "">;
|
|
114
|
-
7: import("@stitches/react/types/theme").Token<"7", string, "sizes", "">;
|
|
115
|
-
8: import("@stitches/react/types/theme").Token<"8", string, "sizes", "">;
|
|
116
|
-
};
|
|
117
|
-
radii: {
|
|
118
|
-
0: import("@stitches/react/types/theme").Token<"0", string, "radii", "">;
|
|
119
|
-
1: import("@stitches/react/types/theme").Token<"1", string, "radii", "">;
|
|
120
|
-
2: import("@stitches/react/types/theme").Token<"2", string, "radii", "">;
|
|
121
|
-
3: import("@stitches/react/types/theme").Token<"3", string, "radii", "">;
|
|
122
|
-
round: import("@stitches/react/types/theme").Token<"round", string, "radii", "">;
|
|
123
|
-
};
|
|
124
|
-
shadows: {
|
|
125
|
-
0: import("@stitches/react/types/theme").Token<"0", string, "shadows", "">;
|
|
126
|
-
1: import("@stitches/react/types/theme").Token<"1", string, "shadows", "">;
|
|
127
|
-
2: import("@stitches/react/types/theme").Token<"2", string, "shadows", "">;
|
|
128
|
-
3: import("@stitches/react/types/theme").Token<"3", string, "shadows", "">;
|
|
129
|
-
};
|
|
130
|
-
})[ThemeProperty], CSS>;
|
|
22
|
+
export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(themeProperty: ThemeProperty, styles: CSS) => Record<string | number | symbol, any>;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
export declare const slideUpAndFade:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare const slideDownAndFade: {
|
|
10
|
-
(): string;
|
|
11
|
-
name: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const slideLeftAndFade: {
|
|
14
|
-
(): string;
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const fadeIn: {
|
|
18
|
-
(): string;
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const fadeOut: {
|
|
22
|
-
(): string;
|
|
23
|
-
name: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const slideInLeft: {
|
|
26
|
-
(): string;
|
|
27
|
-
name: string;
|
|
28
|
-
};
|
|
29
|
-
export declare const slideOutLeft: {
|
|
30
|
-
(): string;
|
|
31
|
-
name: string;
|
|
32
|
-
};
|
|
1
|
+
export declare const slideUpAndFade: any;
|
|
2
|
+
export declare const slideRightAndFade: any;
|
|
3
|
+
export declare const slideDownAndFade: any;
|
|
4
|
+
export declare const slideLeftAndFade: any;
|
|
5
|
+
export declare const fadeIn: any;
|
|
6
|
+
export declare const fadeOut: any;
|
|
7
|
+
export declare const slideInLeft: any;
|
|
8
|
+
export declare const slideOutLeft: any;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
|
-
"version": "2.29.0-
|
|
7
|
+
"version": "2.29.0-beta.2",
|
|
8
8
|
"description": "",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"build:docs": "node ./scripts/generate-component-props.mjs && node ./scripts/export-documentation.mjs",
|
|
18
18
|
"start:sandbox": "vite -c ./sandbox/vite.config.js",
|
|
19
19
|
"add-component": "node ./scripts/add-component.mjs",
|
|
20
|
-
"prepublishOnly": "run-s clean build:lib build:types build:docs",
|
|
21
20
|
"clean": "del ./dist/",
|
|
22
21
|
"format": "prettier 'src/**/*.{js,ts,tsx}' --write",
|
|
23
22
|
"lint": "eslint 'src/**/*.{js,ts,tsx}' --fix",
|