@atom-learning/components 2.29.0-beta.2 → 2.29.0-beta.4
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 +266 -1
- package/dist/components/accordion/AccordionContent.d.ts +266 -1
- package/dist/components/accordion/AccordionContent.js +1 -1
- package/dist/components/accordion/AccordionItem.d.ts +266 -1
- package/dist/components/accordion/AccordionItem.js +1 -1
- package/dist/components/accordion/AccordionTrigger.d.ts +268 -1
- package/dist/components/action-icon/ActionIcon.d.ts +281 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +266 -1
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +268 -1
- package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialog.d.ts +1 -1
- package/dist/components/avatar/Avatar.d.ts +536 -2
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/badge/Badge.d.ts +534 -1
- package/dist/components/box/Box.d.ts +266 -1
- package/dist/components/button/Button.d.ts +283 -2
- package/dist/components/button/Button.js +1 -1
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/calendar/Day.d.ts +270 -1
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/CarouselArrows.d.ts +1 -1
- package/dist/components/carousel/CarouselArrows.js +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +267 -1
- package/dist/components/carousel/CarouselSlide.d.ts +266 -1
- package/dist/components/carousel/CarouselSlide.js +1 -1
- package/dist/components/carousel/CarouselSlider.d.ts +269 -1
- package/dist/components/checkbox/Checkbox.d.ts +269 -1
- package/dist/components/checkbox-field/CheckboxField.d.ts +2 -2
- package/dist/components/checkbox-field/CheckboxField.js +1 -1
- package/dist/components/chip/Chip.d.ts +1879 -5
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/chip/ChipGroup.d.ts +1 -1
- package/dist/components/chip/ChipGroup.js +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +547 -2
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupRoot.d.ts +5 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupRoot.js +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +546 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +562 -1
- package/dist/components/combobox/Combobox.d.ts +266 -1
- package/dist/components/combobox/ComboboxInput.d.ts +268 -1
- package/dist/components/combobox/ComboboxList.d.ts +266 -1
- package/dist/components/combobox/ComboboxOption.d.ts +266 -1
- package/dist/components/combobox/ComboboxPopover.d.ts +266 -1
- package/dist/components/data-table/DataTable.js +1 -1
- package/dist/components/data-table/DataTableBody.js +1 -1
- package/dist/components/data-table/DataTableDataCell.js +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +270 -1
- package/dist/components/data-table/DataTableRow.js +1 -1
- package/dist/components/data-table/drag-and-drop/DraggableRow.js +1 -1
- package/dist/components/data-table/drag-and-drop/Handle.d.ts +559 -1
- package/dist/components/data-table/drag-and-drop/Handle.js +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +266 -1
- 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 +266 -1
- package/dist/components/dialog/DialogBackground.d.ts +531 -1
- package/dist/components/dialog/DialogClose.d.ts +267 -1
- package/dist/components/dialog/DialogContent.d.ts +268 -1
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/dismissible/DismissibleRoot.js +1 -1
- package/dist/components/dismissible/DismissibleTrigger.js +1 -1
- 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 +268 -1
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +266 -1
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +267 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +267 -1
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +267 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +267 -1
- package/dist/components/empty-state/EmptyState.d.ts +533 -1
- package/dist/components/empty-state/EmptyStateBody.d.ts +543 -1
- package/dist/components/empty-state/EmptyStateImage.d.ts +542 -2
- package/dist/components/empty-state/EmptyStateTitle.d.ts +268 -1
- package/dist/components/field-wrapper/FieldDescription.d.ts +1 -1
- package/dist/components/field-wrapper/FieldDescription.js +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/field-wrapper/InlineFieldWrapper.js +1 -1
- package/dist/components/file-input/FileInput.js +1 -1
- package/dist/components/flex/Flex.d.ts +266 -1
- package/dist/components/form/Form.d.ts +266 -1
- package/dist/components/grid/Grid.d.ts +268 -1
- package/dist/components/grid/Grid.js +1 -1
- package/dist/components/heading/Heading.d.ts +270 -2
- package/dist/components/icon/Icon.d.ts +269 -2
- package/dist/components/icon/Icon.js +1 -1
- package/dist/components/image/Image.d.ts +269 -2
- package/dist/components/inline-message/InlineMessage.config.d.ts +1 -1
- package/dist/components/inline-message/InlineMessage.d.ts +534 -1
- package/dist/components/inline-message/InlineMessage.js +1 -1
- package/dist/components/input/Input.d.ts +270 -2
- package/dist/components/input-field/InputField.d.ts +2 -2
- package/dist/components/label/Label.d.ts +272 -2
- package/dist/components/label/Label.js +1 -1
- package/dist/components/link/Link.d.ts +271 -3
- package/dist/components/link/Link.js +1 -1
- package/dist/components/list/List.d.ts +537 -2
- package/dist/components/list/List.js +1 -1
- 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 +266 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.js +1 -1
- package/dist/components/markdown-content/components/MarkdownHeading.js +1 -1
- package/dist/components/markdown-content/components/MarkdownImage.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownImage.js +1 -1
- package/dist/components/markdown-content/components/MarkdownInlineCode.js +1 -1
- package/dist/components/markdown-content/components/MarkdownLink.js +1 -1
- package/dist/components/markdown-content/components/MarkdownList.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownListItem.js +1 -1
- package/dist/components/markdown-content/components/MarkdownParagraph.js +1 -1
- package/dist/components/markdown-content/components/MarkdownStrong.js +1 -1
- package/dist/components/markdown-content/components/MarkdownThematicBreak.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownThematicBreak.js +1 -1
- package/dist/components/navigation/NavigationMenu.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuDropdown.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +543 -4
- package/dist/components/navigation/NavigationMenuLink.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuLink.js +1 -1
- package/dist/components/notification-badge/NotificationBadge.d.ts +531 -1
- package/dist/components/notification-badge/NotificationBadge.js +1 -1
- package/dist/components/number-input/NumberInput.d.ts +1 -1
- package/dist/components/number-input/NumberInput.js +1 -1
- package/dist/components/number-input/NumberInputStepper.js +1 -1
- package/dist/components/number-input-field/NumberInputField.d.ts +2 -2
- package/dist/components/number-input-field/NumberInputField.js +1 -1
- 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 +266 -1
- package/dist/components/popover/PopoverContent.d.ts +268 -1
- package/dist/components/popover/PopoverContent.js +1 -1
- package/dist/components/progress-bar/ProgressBar.d.ts +269 -1
- package/dist/components/radio-button/RadioButton.d.ts +268 -2
- package/dist/components/radio-button/RadioButton.js +1 -1
- package/dist/components/radio-button/RadioButtonGroup.d.ts +270 -1
- package/dist/components/radio-button-field/RadioButtonField.d.ts +2 -2
- package/dist/components/radio-button-field/RadioButtonField.js +1 -1
- package/dist/components/radio-button-field/RadioField.d.ts +3 -3
- package/dist/components/radio-button-field/RadioField.js +1 -1
- package/dist/components/radio-card/RadioCard.d.ts +271 -1
- package/dist/components/radio-card/RadioCardGroup.d.ts +3 -3
- package/dist/components/radio-card/RadioCardGroup.js +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/search-input/SearchInput.js +1 -1
- package/dist/components/select/Select.d.ts +270 -2
- package/dist/components/select-field/SelectField.d.ts +2 -2
- package/dist/components/select-field/SelectField.js +1 -1
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +266 -1
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.js +1 -1
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +267 -1
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +267 -1
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +268 -1
- package/dist/components/sidedrawer/SidedrawerContent.d.ts +266 -1
- package/dist/components/sidedrawer/SidedrawerContent.js +1 -1
- package/dist/components/sidedrawer/SidedrawerFooter.d.ts +266 -1
- package/dist/components/sidedrawer/SidedrawerHeader.d.ts +266 -1
- package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +267 -1
- package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +267 -1
- package/dist/components/slider/Slider.d.ts +268 -1
- package/dist/components/slider-field/SliderField.d.ts +3 -3
- package/dist/components/slider-field/SliderField.js +1 -1
- package/dist/components/stack/Stack.d.ts +273 -2
- package/dist/components/stack-content/StackContent.d.ts +267 -2
- package/dist/components/stack-content/StackContent.js +1 -1
- package/dist/components/stepper/StepperStepBack.js +1 -1
- package/dist/components/stepper/StepperStepBullet.d.ts +533 -1
- package/dist/components/stepper/StepperStepContainer.d.ts +536 -1
- package/dist/components/stepper/StepperStepLabel.d.ts +544 -1
- package/dist/components/stepper/types.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +267 -1
- package/dist/components/table/Table.d.ts +269 -1
- package/dist/components/table/TableBody.d.ts +268 -1
- package/dist/components/table/TableCell.d.ts +266 -1
- package/dist/components/table/TableFooter.d.ts +266 -1
- package/dist/components/table/TableFooterCell.d.ts +266 -1
- package/dist/components/table/TableHeader.d.ts +268 -1
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +266 -1
- package/dist/components/table/TableRow.d.ts +536 -2
- package/dist/components/table/TableRow.js +1 -1
- package/dist/components/tabs/TabTrigger.d.ts +268 -1
- package/dist/components/tabs/Tabs.d.ts +536 -2
- package/dist/components/tabs/Tabs.js +1 -1
- package/dist/components/tabs/TabsTriggerList.d.ts +269 -1
- package/dist/components/tabs/utils.js +1 -1
- package/dist/components/text/Text.d.ts +271 -3
- package/dist/components/textarea/Textarea.d.ts +268 -1
- package/dist/components/textarea-field/TextareaField.d.ts +2 -2
- package/dist/components/toast/Toast.d.ts +268 -1
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toast/ToastProvider.js +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +534 -1
- package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +534 -2
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +271 -1
- package/dist/components/toggle-group/index.d.ts +1352 -3
- package/dist/components/tooltip/TooltipContent.d.ts +268 -1
- package/dist/components/tooltip/TooltipContent.js +1 -1
- package/dist/components/top-bar/TopBar.d.ts +270 -2
- package/dist/components/top-bar/TopBarBrand.d.ts +808 -4
- package/dist/components/video/Video.d.ts +535 -4
- package/dist/components/video/Video.js +1 -1
- package/dist/docgen.json +1 -0
- package/dist/docs/Accordion.mdx +45 -0
- package/dist/docs/ActionIcon.mdx +87 -0
- package/dist/docs/AlertDialog.mdx +40 -0
- package/dist/docs/Avatar.mdx +129 -0
- package/dist/docs/Badge.mdx +55 -0
- package/dist/docs/Box.mdx +52 -0
- package/dist/docs/Button.mdx +76 -0
- package/dist/docs/CONTRIBUTING.md +224 -0
- package/dist/docs/CSSWrapper.mdx +10 -0
- package/dist/docs/Carousel.mdx +88 -0
- package/dist/docs/Checkbox.mdx +19 -0
- package/dist/docs/CheckboxField.mdx +14 -0
- package/dist/docs/Chip.mdx +118 -0
- package/dist/docs/ChipDismissibleGroup.mdx +33 -0
- package/dist/docs/ChipToggleGroup.mdx +27 -0
- package/dist/docs/Combobox.mdx +44 -0
- package/dist/docs/DataTable.mdx +279 -0
- package/dist/docs/DateField.mdx +20 -0
- package/dist/docs/DateInput.mdx +87 -0
- package/dist/docs/Dialog.mdx +68 -0
- package/dist/docs/Dismissible.mdx +48 -0
- package/dist/docs/DismissibleGroup.mdx +29 -0
- package/dist/docs/Divider.mdx +16 -0
- package/dist/docs/DropdownMenu.mdx +30 -0
- package/dist/docs/EmptyState.mdx +23 -0
- package/dist/docs/FieldWrapper.mdx +30 -0
- package/dist/docs/FileInput.mdx +45 -0
- package/dist/docs/Flex.mdx +16 -0
- package/dist/docs/Form.mdx +411 -0
- package/dist/docs/Grid.mdx +28 -0
- package/dist/docs/Heading.mdx +30 -0
- package/dist/docs/Icon.mdx +30 -0
- package/dist/docs/Image.mdx +14 -0
- package/dist/docs/InlineMessage.mdx +52 -0
- package/dist/docs/Input.mdx +24 -0
- package/dist/docs/InputField.mdx +26 -0
- package/dist/docs/Label.mdx +32 -0
- package/dist/docs/Link.mdx +53 -0
- package/dist/docs/List.mdx +38 -0
- package/dist/docs/Loader.mdx +16 -0
- package/dist/docs/MarkdownContent.mdx +77 -0
- package/dist/docs/NavigationMenu.mdx +144 -0
- package/dist/docs/NotificationBadge.mdx +35 -0
- package/dist/docs/NumberInput.mdx +37 -0
- package/dist/docs/NumberInputField.mdx +26 -0
- package/dist/docs/PasswordField.mdx +23 -0
- package/dist/docs/PasswordInput.mdx +15 -0
- package/dist/docs/Popover.mdx +29 -0
- package/dist/docs/ProgressBar.mdx +56 -0
- package/dist/docs/RadioButton.mdx +10 -0
- package/dist/docs/RadioButtonField.mdx +25 -0
- package/dist/docs/RadioCard.mdx +62 -0
- package/dist/docs/SearchField.mdx +26 -0
- package/dist/docs/SearchInput.mdx +13 -0
- package/dist/docs/Select.mdx +56 -0
- package/dist/docs/SelectField.mdx +17 -0
- package/dist/docs/Sidedrawer.mdx +155 -0
- package/dist/docs/Slider.mdx +117 -0
- package/dist/docs/SliderField.mdx +35 -0
- package/dist/docs/Stack.mdx +24 -0
- package/dist/docs/StackContent.mdx +32 -0
- package/dist/docs/Stepper.mdx +154 -0
- package/dist/docs/Styling.mdx +85 -0
- package/dist/docs/Switch.mdx +28 -0
- package/dist/docs/Table.mdx +146 -0
- package/dist/docs/Tabs.mdx +102 -0
- package/dist/docs/Text.mdx +24 -0
- package/dist/docs/Textarea.mdx +12 -0
- package/dist/docs/TextareaField.mdx +21 -0
- package/dist/docs/Toast.mdx +20 -0
- package/dist/docs/ToggleGroup.mdx +88 -0
- package/dist/docs/Tooltip.mdx +25 -0
- package/dist/docs/TopBar.mdx +95 -0
- package/dist/docs/Video.mdx +12 -0
- package/dist/docs/accessibility.mdx +67 -0
- package/dist/docs/coreconcepts.mdx +77 -0
- package/dist/docs/introduction.mdx +33 -0
- package/dist/docs/versioning.mdx +40 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/stitches.d.ts +1949 -2
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +109 -1
- package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
- package/dist/utilities/hooks/useCallbackRef.js +1 -1
- package/dist/utilities/style/capsize.d.ts +1 -1
- package/dist/utilities/style/keyframe-animations.d.ts +32 -8
- package/package.json +3 -3
|
@@ -19,4 +19,112 @@ 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<string
|
|
22
|
+
export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(themeProperty: ThemeProperty, styles: CSS) => Record<keyof (string & {
|
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as n from"react";const s=()=>{const e=n.useRef(null),o=n.useCallback(r=>{r&&(e.current=r)},[]);return[e,o]};export{s as useCallbackRef};
|
|
@@ -1,8 +1,32 @@
|
|
|
1
|
-
export declare const slideUpAndFade:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export declare const slideUpAndFade: {
|
|
2
|
+
(): string;
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const slideRightAndFade: {
|
|
6
|
+
(): string;
|
|
7
|
+
name: string;
|
|
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
|
+
};
|
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-beta.
|
|
7
|
+
"version": "2.29.0-beta.4",
|
|
8
8
|
"description": "",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
@@ -17,6 +17,7 @@
|
|
|
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",
|
|
20
21
|
"clean": "del ./dist/",
|
|
21
22
|
"format": "prettier 'src/**/*.{js,ts,tsx}' --write",
|
|
22
23
|
"lint": "eslint 'src/**/*.{js,ts,tsx}' --fix",
|
|
@@ -70,7 +71,6 @@
|
|
|
70
71
|
"@semantic-release/npm": "^7.1.1",
|
|
71
72
|
"@semantic-release/release-notes-generator": "^9.0.2",
|
|
72
73
|
"@size-limit/preset-small-lib": "^7.0.5",
|
|
73
|
-
"@stitches/react": "^1.2.8",
|
|
74
74
|
"@testing-library/jest-dom": "^5.11.9",
|
|
75
75
|
"@testing-library/react": "^11.2.3",
|
|
76
76
|
"@testing-library/react-hooks": "^7.0.2",
|
|
@@ -122,7 +122,6 @@
|
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"@atom-learning/icons": "^1.0.0",
|
|
124
124
|
"@atom-learning/theme": "^1.0.0",
|
|
125
|
-
"@stitches/react": "^1.0.0",
|
|
126
125
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
127
126
|
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
128
127
|
},
|
|
@@ -149,6 +148,7 @@
|
|
|
149
148
|
"@radix-ui/react-tooltip": "^1.0.0",
|
|
150
149
|
"@radix-ui/react-visually-hidden": "^1.0.0",
|
|
151
150
|
"@reach/combobox": "^0.16.1",
|
|
151
|
+
"@stitches/react": "^1.2.8",
|
|
152
152
|
"@tanstack/react-table": "^8.5.11",
|
|
153
153
|
"@types/react": "^17.0.30",
|
|
154
154
|
"color2k": "^2.0.0",
|