@atom-learning/components 3.11.4 → 3.11.5

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/components/chip/ChipGroup.d.ts +4 -2
  3. package/dist/components/chip/ChipGroup.js +1 -1
  4. package/dist/components/chip/ChipGroup.js.map +1 -1
  5. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +10 -12
  6. package/dist/components/index.d.ts +0 -1
  7. package/dist/components/notification-badge/NotificationBadge.d.ts +1 -668
  8. package/dist/components/notification-badge/NotificationBadge.js.map +1 -1
  9. package/dist/components/pagination/PaginationPopover.js +1 -1
  10. package/dist/components/pagination/PaginationPopover.js.map +1 -1
  11. package/dist/components/radio-card/RadioCardGroup.d.ts +2 -2
  12. package/dist/components/radio-card/RadioCardGroup.js +1 -1
  13. package/dist/components/radio-card/RadioCardGroup.js.map +1 -1
  14. package/dist/components/section-message/SectionMessage.d.ts +5 -8
  15. package/dist/components/section-message/SectionMessage.js +1 -1
  16. package/dist/components/section-message/SectionMessage.js.map +1 -1
  17. package/dist/components/section-message/SectionMessageLayout.d.ts +2 -2
  18. package/dist/components/section-message/SectionMessageLayout.js +1 -1
  19. package/dist/components/section-message/SectionMessageLayout.js.map +1 -1
  20. package/dist/components/tile/TileGroup.d.ts +329 -337
  21. package/dist/components/tile/TileGroup.js +1 -1
  22. package/dist/components/tile/TileGroup.js.map +1 -1
  23. package/dist/components/tile-interactive/TileInteractive.js +1 -1
  24. package/dist/components/tile-interactive/TileInteractive.js.map +1 -1
  25. package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +12 -18
  26. package/dist/components/tile-toggle-group/TileToggleGroupRoot.js +1 -1
  27. package/dist/components/tile-toggle-group/TileToggleGroupRoot.js.map +1 -1
  28. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +2 -3
  29. package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
  30. package/dist/components/toggle-group/ToggleGroupRoot.js.map +1 -1
  31. package/dist/components/toggle-group/index.d.ts +341 -3
  32. package/dist/docgen.json +1 -1
  33. package/dist/index.cjs.js +1 -1
  34. package/dist/index.cjs.js.map +1 -1
  35. package/dist/index.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/components/stack/Stack.d.ts +0 -348
  38. package/dist/components/stack/Stack.js +0 -2
  39. package/dist/components/stack/Stack.js.map +0 -1
  40. package/dist/components/stack/index.d.ts +0 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{Accordion as f}from"./components/accordion/Accordion.js";import{ActionIcon as a}from"./components/action-icon/ActionIcon.js";import{AlertDialog as n}from"./components/alert-dialog/AlertDialog.js";import{AlertProvider as d,useAlert as u}from"./components/alert-dialog/alert-context/AlertContext.js";import{Avatar as S}from"./components/avatar/Avatar.js";import{Badge as g}from"./components/badge/Badge.js";import{BannerRegular as C}from"./components/banner/banner-regular/BannerRegular.js";import{BannerSlim as h}from"./components/banner/banner-slim/BannerSlim.js";import{Box as I}from"./components/box/Box.js";import{Button as D,StyledButton as G}from"./components/button/Button.js";import{Carousel as w,useCarousel as P}from"./components/carousel/Carousel.js";import{Checkbox as A}from"./components/checkbox/Checkbox.js";import{CheckboxGroup as N}from"./components/checkbox-group/CheckboxGroup.js";import{CheckboxTree as L}from"./components/checkbox-tree/CheckboxTree.js";import{CheckboxField as W}from"./components/checkbox-field/CheckboxField.js";import{Chip as E}from"./components/chip/Chip.js";import{ChipGroup as j}from"./components/chip/ChipGroup.js";import{ChipDismissibleGroup as z}from"./components/chip-dismissible-group/index.js";import{ChipToggleGroup as K}from"./components/chip-toggle-group/index.js";import{Combobox as U}from"./components/combobox/Combobox.js";import{CreatePasswordField as Y}from"./components/create-password-field/CreatePasswordField.js";import{useDataTable as _}from"./components/data-table/DataTableContext.js";import{DataTable as oo}from"./components/data-table/DataTable.js";import{DateField as eo}from"./components/date-field/DateField.js";import{DateInput as po}from"./components/date-input/DateInput.js";import{Dialog as xo}from"./components/dialog/Dialog.js";import{Dismissible as io}from"./components/dismissible/index.js";import{DismissibleGroup as lo}from"./components/dismissible-group/index.js";import{Divider as so}from"./components/divider/Divider.js";import{Drawer as co}from"./components/drawer/Drawer.js";import{DropdownMenu as To}from"./components/dropdown-menu/DropdownMenu.js";import{EmptyState as bo}from"./components/empty-state/EmptyState.js";import{FieldWrapper as Fo}from"./components/field-wrapper/FieldWrapper.js";import{InlineFieldWrapper as Bo}from"./components/field-wrapper/InlineFieldWrapper.js";import{FileInput as ko}from"./components/file-input/FileInput.js";import{Flex as Go}from"./components/flex/Flex.js";import{Form as wo}from"./components/form/Form.js";import"dlv";import"react-hook-form";import{Grid as yo}from"./components/grid/Grid.js";import{Heading as Mo}from"./components/heading/Heading.js";import{Icon as Ro}from"./components/icon/Icon.js";import{Image as Vo}from"./components/image/Image.js";import{InlineMessage as Oo}from"./components/inline-message/InlineMessage.js";import{Input as Ho}from"./components/input/Input.js";import{InputField as qo}from"./components/input-field/InputField.js";import{Label as Jo}from"./components/label/Label.js";import{Link as Qo,StyledLink as Uo}from"./components/link/Link.js";import{List as Yo}from"./components/list/List.js";import{Loader as _o}from"./components/loader/Loader.js";import{MarkdownContent as or}from"./components/markdown-content/MarkdownContent.js";import{NavigationMenu as er}from"./components/navigation/NavigationMenu.js";import{NavigationMenuVertical as pr}from"./components/navigation-menu-vertical/NavigationMenuVertical.js";import{NotificationBadge as xr}from"./components/notification-badge/NotificationBadge.js";import{NumberInput as ir}from"./components/number-input/NumberInput.js";import{NumberInputField as lr}from"./components/number-input-field/NumberInputField.js";import{Pagination as sr}from"./components/pagination/Pagination.js";import{PasswordField as ur}from"./components/password-field/PasswordField.js";import{PasswordInput as Sr}from"./components/password-input/PasswordInput.js";import{Popover as gr}from"./components/popover/Popover.js";import{ProgressBar as Cr}from"./components/progress-bar/ProgressBar.js";import{RadioButton as hr}from"./components/radio-button/RadioButton.js";import{RadioButtonGroup as Ir}from"./components/radio-button/RadioButtonGroup.js";import{RadioButtonField as Dr}from"./components/radio-button-field/RadioButtonField.js";import{RadioCard as vr}from"./components/radio-card/RadioCard.js";import{RadioCardGroup as Pr}from"./components/radio-card/RadioCardGroup.js";import{SearchField as Ar}from"./components/search-field/SearchField.js";import{SearchInput as Nr}from"./components/search-input/SearchInput.js";import{SectionMessage as Lr}from"./components/section-message/SectionMessage.js";import{Select as Wr}from"./components/select/Select.js";import{SelectField as Er}from"./components/select-field/SelectField.js";import{SideBar as jr}from"./components/side-bar/SideBar.js";import{useSidebarState as zr}from"./components/side-bar/SideBarContext.js";import{Slider as Kr}from"./components/slider/Slider.js";import{SliderField as Ur}from"./components/slider-field/SliderField.js";import{Sortable as Yr}from"./components/sortable/index.js";import{Spacer as _r}from"./components/spacer/Spacer.js";import{Stack as oe}from"./components/stack/Stack.js";import{StackContent as ee}from"./components/stack-content/StackContent.js";import{Stepper as pe}from"./components/stepper/Stepper.js";import{Switch as xe}from"./components/switch/Switch.js";import{Table as ie}from"./components/table/Table.js";import{Tabs as le}from"./components/tabs/Tabs.js";import{Text as se}from"./components/text/Text.js";import{Textarea as ue}from"./components/textarea/Textarea.js";import{TextareaField as Se}from"./components/textarea-field/TextareaField.js";import{Tile as ge}from"./components/tile/Tile.js";import{TileGroup as Ce}from"./components/tile/TileGroup.js";import{TileInteractive as he}from"./components/tile-interactive/TileInteractive.js";import{TileToggleGroup as Ie}from"./components/tile-toggle-group/index.js";import{Toast as De}from"./components/toast/Toast.js";import{ToastProvider as ve}from"./components/toast/ToastProvider.js";import{ToggleGroup as Pe}from"./components/toggle-group/index.js";import{Tooltip as Ae}from"./components/tooltip/Tooltip.js";import{TopBar as Ne}from"./components/top-bar/TopBar.js";import{Tree as Le}from"./components/tree/Tree.js";import{Video as We}from"./components/video/Video.js";import{createTheme as Ee,css as He,getCssText as je,globalCss as qe,keyframes as ze,media as Je,styled as Ke,theme as Qe,utils as Ue}from"./stitches.js";import{ColorScheme as Ye}from"./experiments/color-scheme/ColorScheme.js";import{createThemeVariants as _e}from"./utilities/create-theme-variants/createThemeVariants.js";import"./utilities/css-wrapper/CSSWrapper.js";import{NoOverflowWrapper as ot,noOverflowStyleBlock as rt}from"./utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as tt}from"./utilities/style/focus-visible-style-block.js";import"./utilities/style/keyframe-animations.js";import{default as mt}from"react-hot-toast";export{f as Accordion,a as ActionIcon,n as AlertDialog,d as AlertProvider,S as Avatar,g as Badge,C as BannerRegular,h as BannerSlim,I as Box,D as Button,w as Carousel,A as Checkbox,W as CheckboxField,N as CheckboxGroup,L as CheckboxTree,E as Chip,z as ChipDismissibleGroup,j as ChipGroup,K as ChipToggleGroup,Ye as ColorScheme,U as Combobox,Y as CreatePasswordField,oo as DataTable,eo as DateField,po as DateInput,xo as Dialog,io as Dismissible,lo as DismissibleGroup,so as Divider,co as Drawer,To as DropdownMenu,bo as EmptyState,Fo as FieldWrapper,ko as FileInput,Go as Flex,wo as Form,yo as Grid,Mo as Heading,Ro as Icon,Vo as Image,Bo as InlineFieldWrapper,Oo as InlineMessage,Ho as Input,qo as InputField,Jo as Label,Qo as Link,Yo as List,_o as Loader,or as MarkdownContent,er as NavigationMenu,pr as NavigationMenuVertical,ot as NoOverflowWrapper,xr as NotificationBadge,ir as NumberInput,lr as NumberInputField,sr as Pagination,ur as PasswordField,Sr as PasswordInput,gr as Popover,Cr as ProgressBar,hr as RadioButton,Dr as RadioButtonField,Ir as RadioButtonGroup,vr as RadioCard,Pr as RadioCardGroup,Ar as SearchField,Nr as SearchInput,Lr as SectionMessage,Wr as Select,Er as SelectField,jr as SideBar,Kr as Slider,Ur as SliderField,Yr as Sortable,_r as Spacer,oe as Stack,ee as StackContent,pe as Stepper,G as StyledButton,Uo as StyledLink,xe as Switch,ie as Table,le as Tabs,se as Text,ue as Textarea,Se as TextareaField,ge as Tile,Ce as TileGroup,he as TileInteractive,Ie as TileToggleGroup,De as Toast,ve as ToastProvider,Pe as ToggleGroup,Ae as Tooltip,Ne as TopBar,Le as Tree,We as Video,Ee as createTheme,_e as createThemeVariants,He as css,tt as focusVisibleStyleBlock,je as getCssText,qe as globalCss,ze as keyframes,Je as media,rt as noOverflowStyleBlock,Ke as styled,Qe as theme,mt as toast,u as useAlert,P as useCarousel,_ as useDataTable,zr as useSidebarState,Ue as utils};
1
+ import{Accordion as f}from"./components/accordion/Accordion.js";import{ActionIcon as a}from"./components/action-icon/ActionIcon.js";import{AlertDialog as n}from"./components/alert-dialog/AlertDialog.js";import{AlertProvider as d,useAlert as u}from"./components/alert-dialog/alert-context/AlertContext.js";import{Avatar as T}from"./components/avatar/Avatar.js";import{Badge as g}from"./components/badge/Badge.js";import{BannerRegular as C}from"./components/banner/banner-regular/BannerRegular.js";import{BannerSlim as h}from"./components/banner/banner-slim/BannerSlim.js";import{Box as I}from"./components/box/Box.js";import{Button as k,StyledButton as G}from"./components/button/Button.js";import{Carousel as w,useCarousel as P}from"./components/carousel/Carousel.js";import{Checkbox as A}from"./components/checkbox/Checkbox.js";import{CheckboxGroup as N}from"./components/checkbox-group/CheckboxGroup.js";import{CheckboxTree as L}from"./components/checkbox-tree/CheckboxTree.js";import{CheckboxField as W}from"./components/checkbox-field/CheckboxField.js";import{Chip as E}from"./components/chip/Chip.js";import{ChipGroup as j}from"./components/chip/ChipGroup.js";import{ChipDismissibleGroup as z}from"./components/chip-dismissible-group/index.js";import{ChipToggleGroup as K}from"./components/chip-toggle-group/index.js";import{Combobox as U}from"./components/combobox/Combobox.js";import{CreatePasswordField as Y}from"./components/create-password-field/CreatePasswordField.js";import{useDataTable as _}from"./components/data-table/DataTableContext.js";import{DataTable as oo}from"./components/data-table/DataTable.js";import{DateField as eo}from"./components/date-field/DateField.js";import{DateInput as po}from"./components/date-input/DateInput.js";import{Dialog as xo}from"./components/dialog/Dialog.js";import{Dismissible as io}from"./components/dismissible/index.js";import{DismissibleGroup as lo}from"./components/dismissible-group/index.js";import{Divider as so}from"./components/divider/Divider.js";import{Drawer as co}from"./components/drawer/Drawer.js";import{DropdownMenu as So}from"./components/dropdown-menu/DropdownMenu.js";import{EmptyState as bo}from"./components/empty-state/EmptyState.js";import{FieldWrapper as Fo}from"./components/field-wrapper/FieldWrapper.js";import{InlineFieldWrapper as Bo}from"./components/field-wrapper/InlineFieldWrapper.js";import{FileInput as Do}from"./components/file-input/FileInput.js";import{Flex as Go}from"./components/flex/Flex.js";import{Form as wo}from"./components/form/Form.js";import"dlv";import"react-hook-form";import{Grid as yo}from"./components/grid/Grid.js";import{Heading as Mo}from"./components/heading/Heading.js";import{Icon as Ro}from"./components/icon/Icon.js";import{Image as Vo}from"./components/image/Image.js";import{InlineMessage as Oo}from"./components/inline-message/InlineMessage.js";import{Input as Ho}from"./components/input/Input.js";import{InputField as qo}from"./components/input-field/InputField.js";import{Label as Jo}from"./components/label/Label.js";import{Link as Qo,StyledLink as Uo}from"./components/link/Link.js";import{List as Yo}from"./components/list/List.js";import{Loader as _o}from"./components/loader/Loader.js";import{MarkdownContent as or}from"./components/markdown-content/MarkdownContent.js";import{NavigationMenu as er}from"./components/navigation/NavigationMenu.js";import{NavigationMenuVertical as pr}from"./components/navigation-menu-vertical/NavigationMenuVertical.js";import{NotificationBadge as xr}from"./components/notification-badge/NotificationBadge.js";import{NumberInput as ir}from"./components/number-input/NumberInput.js";import{NumberInputField as lr}from"./components/number-input-field/NumberInputField.js";import{Pagination as sr}from"./components/pagination/Pagination.js";import{PasswordField as ur}from"./components/password-field/PasswordField.js";import{PasswordInput as Tr}from"./components/password-input/PasswordInput.js";import{Popover as gr}from"./components/popover/Popover.js";import{ProgressBar as Cr}from"./components/progress-bar/ProgressBar.js";import{RadioButton as hr}from"./components/radio-button/RadioButton.js";import{RadioButtonGroup as Ir}from"./components/radio-button/RadioButtonGroup.js";import{RadioButtonField as kr}from"./components/radio-button-field/RadioButtonField.js";import{RadioCard as vr}from"./components/radio-card/RadioCard.js";import{RadioCardGroup as Pr}from"./components/radio-card/RadioCardGroup.js";import{SearchField as Ar}from"./components/search-field/SearchField.js";import{SearchInput as Nr}from"./components/search-input/SearchInput.js";import{SectionMessage as Lr}from"./components/section-message/SectionMessage.js";import{Select as Wr}from"./components/select/Select.js";import{SelectField as Er}from"./components/select-field/SelectField.js";import{SideBar as jr}from"./components/side-bar/SideBar.js";import{useSidebarState as zr}from"./components/side-bar/SideBarContext.js";import{Slider as Kr}from"./components/slider/Slider.js";import{SliderField as Ur}from"./components/slider-field/SliderField.js";import{Sortable as Yr}from"./components/sortable/index.js";import{Spacer as _r}from"./components/spacer/Spacer.js";import{StackContent as oe}from"./components/stack-content/StackContent.js";import{Stepper as ee}from"./components/stepper/Stepper.js";import{Switch as pe}from"./components/switch/Switch.js";import{Table as xe}from"./components/table/Table.js";import{Tabs as ie}from"./components/tabs/Tabs.js";import{Text as le}from"./components/text/Text.js";import{Textarea as se}from"./components/textarea/Textarea.js";import{TextareaField as ue}from"./components/textarea-field/TextareaField.js";import{Tile as Te}from"./components/tile/Tile.js";import{TileGroup as ge}from"./components/tile/TileGroup.js";import{TileInteractive as Ce}from"./components/tile-interactive/TileInteractive.js";import{TileToggleGroup as he}from"./components/tile-toggle-group/index.js";import{Toast as Ie}from"./components/toast/Toast.js";import{ToastProvider as ke}from"./components/toast/ToastProvider.js";import{ToggleGroup as ve}from"./components/toggle-group/index.js";import{Tooltip as Pe}from"./components/tooltip/Tooltip.js";import{TopBar as Ae}from"./components/top-bar/TopBar.js";import{Tree as Ne}from"./components/tree/Tree.js";import{Video as Le}from"./components/video/Video.js";import{createTheme as We,css as Oe,getCssText as Ee,globalCss as He,keyframes as je,media as qe,styled as ze,theme as Je,utils as Ke}from"./stitches.js";import{ColorScheme as Ue}from"./experiments/color-scheme/ColorScheme.js";import{createThemeVariants as Ye}from"./utilities/create-theme-variants/createThemeVariants.js";import"./utilities/css-wrapper/CSSWrapper.js";import{NoOverflowWrapper as _e,noOverflowStyleBlock as $e}from"./utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as rt}from"./utilities/style/focus-visible-style-block.js";import"./utilities/style/keyframe-animations.js";import{default as tt}from"react-hot-toast";export{f as Accordion,a as ActionIcon,n as AlertDialog,d as AlertProvider,T as Avatar,g as Badge,C as BannerRegular,h as BannerSlim,I as Box,k as Button,w as Carousel,A as Checkbox,W as CheckboxField,N as CheckboxGroup,L as CheckboxTree,E as Chip,z as ChipDismissibleGroup,j as ChipGroup,K as ChipToggleGroup,Ue as ColorScheme,U as Combobox,Y as CreatePasswordField,oo as DataTable,eo as DateField,po as DateInput,xo as Dialog,io as Dismissible,lo as DismissibleGroup,so as Divider,co as Drawer,So as DropdownMenu,bo as EmptyState,Fo as FieldWrapper,Do as FileInput,Go as Flex,wo as Form,yo as Grid,Mo as Heading,Ro as Icon,Vo as Image,Bo as InlineFieldWrapper,Oo as InlineMessage,Ho as Input,qo as InputField,Jo as Label,Qo as Link,Yo as List,_o as Loader,or as MarkdownContent,er as NavigationMenu,pr as NavigationMenuVertical,_e as NoOverflowWrapper,xr as NotificationBadge,ir as NumberInput,lr as NumberInputField,sr as Pagination,ur as PasswordField,Tr as PasswordInput,gr as Popover,Cr as ProgressBar,hr as RadioButton,kr as RadioButtonField,Ir as RadioButtonGroup,vr as RadioCard,Pr as RadioCardGroup,Ar as SearchField,Nr as SearchInput,Lr as SectionMessage,Wr as Select,Er as SelectField,jr as SideBar,Kr as Slider,Ur as SliderField,Yr as Sortable,_r as Spacer,oe as StackContent,ee as Stepper,G as StyledButton,Uo as StyledLink,pe as Switch,xe as Table,ie as Tabs,le as Text,se as Textarea,ue as TextareaField,Te as Tile,ge as TileGroup,Ce as TileInteractive,he as TileToggleGroup,Ie as Toast,ke as ToastProvider,ve as ToggleGroup,Pe as Tooltip,Ae as TopBar,Ne as Tree,Le as Video,We as createTheme,Ye as createThemeVariants,Oe as css,rt as focusVisibleStyleBlock,Ee as getCssText,He as globalCss,je as keyframes,qe as media,$e as noOverflowStyleBlock,ze as styled,Je as theme,tt as toast,u as useAlert,P as useCarousel,_ as useDataTable,zr as useSidebarState,Ke as utils};
2
2
  //# sourceMappingURL=index.js.map
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": "3.11.4",
7
+ "version": "3.11.5",
8
8
  "description": "",
9
9
  "files": [
10
10
  "dist"
@@ -1,348 +0,0 @@
1
- import * as React from 'react';
2
- import { CSS } from '../../stitches';
3
- declare const StyledStack: import("@stitches/react/types/styled-component").StyledComponent<"div", {
4
- direction?: "row" | "column" | "row-reverse" | undefined;
5
- wrap?: "wrap" | "wrap-reverse" | "no-wrap" | undefined;
6
- justify?: boolean | "center" | "false" | "end" | "start" | undefined;
7
- align?: boolean | "center" | "false" | "end" | "start" | undefined;
8
- gap?: number | boolean | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | "false" | undefined;
9
- }, {
10
- sm: string;
11
- md: string;
12
- lg: string;
13
- xl: string;
14
- reducedMotion: string;
15
- allowMotion: string;
16
- hover: string;
17
- }, import("@stitches/react/types/css-util").CSS<{
18
- sm: string;
19
- md: string;
20
- lg: string;
21
- xl: string;
22
- reducedMotion: string;
23
- allowMotion: string;
24
- hover: string;
25
- }, {
26
- colors: {
27
- textBold: any;
28
- textRegular: any;
29
- textSubtle: any;
30
- textMinimal: any;
31
- background: any;
32
- backgroundAccent: any;
33
- grey100: any;
34
- grey200: any;
35
- grey300: any;
36
- grey400: any;
37
- grey500: any;
38
- grey600: any;
39
- grey700: any;
40
- grey800: any;
41
- grey900: any;
42
- grey1000: any;
43
- grey1100: any;
44
- grey1200: any;
45
- blue100: any;
46
- blue200: any;
47
- blue300: any;
48
- blue400: any;
49
- blue500: any;
50
- blue600: any;
51
- blue700: any;
52
- blue800: any;
53
- blue900: any;
54
- blue1000: any;
55
- blue1100: any;
56
- blue1200: any;
57
- purple100: any;
58
- purple200: any;
59
- purple300: any;
60
- purple400: any;
61
- purple500: any;
62
- purple600: any;
63
- purple700: any;
64
- purple800: any;
65
- purple900: any;
66
- purple1000: any;
67
- purple1100: any;
68
- purple1200: any;
69
- cyan100: any;
70
- cyan200: any;
71
- cyan300: any;
72
- cyan400: any;
73
- cyan500: any;
74
- cyan600: any;
75
- cyan700: any;
76
- cyan800: any;
77
- cyan900: any;
78
- cyan1000: any;
79
- cyan1100: any;
80
- cyan1200: any;
81
- green100: any;
82
- green200: any;
83
- green300: any;
84
- green400: any;
85
- green500: any;
86
- green600: any;
87
- green700: any;
88
- green800: any;
89
- green900: any;
90
- green1000: any;
91
- green1100: any;
92
- green1200: any;
93
- magenta100: any;
94
- magenta200: any;
95
- magenta300: any;
96
- magenta400: any;
97
- magenta500: any;
98
- magenta600: any;
99
- magenta700: any;
100
- magenta800: any;
101
- magenta900: any;
102
- magenta1000: any;
103
- magenta1100: any;
104
- magenta1200: any;
105
- red100: any;
106
- red200: any;
107
- red300: any;
108
- red400: any;
109
- red500: any;
110
- red600: any;
111
- red700: any;
112
- red800: any;
113
- red900: any;
114
- red1000: any;
115
- red1100: any;
116
- red1200: any;
117
- teal100: any;
118
- teal200: any;
119
- teal300: any;
120
- teal400: any;
121
- teal500: any;
122
- teal600: any;
123
- teal700: any;
124
- teal800: any;
125
- teal900: any;
126
- teal1000: any;
127
- teal1100: any;
128
- teal1200: any;
129
- orange100: any;
130
- orange200: any;
131
- orange300: any;
132
- orange400: any;
133
- orange500: any;
134
- orange600: any;
135
- orange700: any;
136
- orange800: any;
137
- orange900: any;
138
- orange1000: any;
139
- orange1100: any;
140
- orange1200: any;
141
- yellow100: any;
142
- yellow200: any;
143
- yellow300: any;
144
- yellow400: any;
145
- yellow500: any;
146
- yellow600: any;
147
- yellow700: any;
148
- yellow800: any;
149
- yellow900: any;
150
- yellow1000: any;
151
- yellow1100: any;
152
- yellow1200: any;
153
- lime100: any;
154
- lime200: any;
155
- lime300: any;
156
- lime400: any;
157
- lime500: any;
158
- lime600: any;
159
- lime700: any;
160
- lime800: any;
161
- lime900: any;
162
- lime1000: any;
163
- lime1100: any;
164
- lime1200: any;
165
- tonal50: any;
166
- tonal100: any;
167
- tonal200: any;
168
- tonal300: any;
169
- tonal400: any;
170
- tonal500: any;
171
- tonal600: any;
172
- alpha100: any;
173
- alpha150: any;
174
- alpha200: any;
175
- alpha250: any;
176
- alpha600: any;
177
- brandRed: any;
178
- brandRedAccent: any;
179
- brandGreen: any;
180
- brandGreenAccent: any;
181
- brandPurple: any;
182
- brandPurpleAccent: any;
183
- brandYellow: any;
184
- brandYellowAccent: any;
185
- infoLight: any;
186
- info: any;
187
- infoMid: any;
188
- infoDark: any;
189
- successLight: any;
190
- success: any;
191
- successMid: any;
192
- successDark: any;
193
- dangerLight: any;
194
- danger: any;
195
- dangerMid: any;
196
- dangerDark: any;
197
- warningLight: any;
198
- warning: any;
199
- warningMid: any;
200
- warningDark: any;
201
- warningText: any;
202
- subjectEnglish: any;
203
- subjectMaths: any;
204
- subjectScience: any;
205
- subjectVerbalReasoning: any;
206
- subjectNonVerbalReasoning: any;
207
- subjectCreativeWriting: any;
208
- subjectExamSkills: any;
209
- glBlueLight: any;
210
- glBluePrimary: any;
211
- glBlueDark: any;
212
- primary100: any;
213
- primary200: any;
214
- primary300: any;
215
- primary400: any;
216
- primary500: any;
217
- primary600: any;
218
- primary700: any;
219
- primary800: any;
220
- primary900: any;
221
- primary1000: any;
222
- primary1100: any;
223
- primary1200: any;
224
- };
225
- space: {
226
- "0": any;
227
- "1": any;
228
- "2": any;
229
- "3": any;
230
- "4": any;
231
- "5": any;
232
- "6": any;
233
- "7": any;
234
- "8": any;
235
- "9": any;
236
- "24": any;
237
- };
238
- fontSizes: {
239
- xs: any;
240
- sm: any;
241
- md: any;
242
- lg: any;
243
- xl: any;
244
- "2xl": any;
245
- "3xl": any;
246
- "4xl": any;
247
- };
248
- fonts: {
249
- sans: any;
250
- mono: any;
251
- display: any;
252
- body: any;
253
- };
254
- sizes: {
255
- "0": any;
256
- "1": any;
257
- "2": any;
258
- "3": any;
259
- "4": any;
260
- "5": any;
261
- "6": any;
262
- "7": any;
263
- "8": any;
264
- };
265
- radii: {
266
- "0": any;
267
- "1": any;
268
- "2": any;
269
- "3": any;
270
- round: any;
271
- };
272
- shadows: {
273
- "0": any;
274
- "1": any;
275
- "2": any;
276
- "3": any;
277
- };
278
- ratios: {
279
- "16-9": any;
280
- "3-2": any;
281
- "4-3": any;
282
- "1-1": any;
283
- "3-4": any;
284
- };
285
- }, import("@stitches/react/types/config").DefaultThemeMap, {
286
- bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
287
- background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
288
- };
289
- size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
290
- height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
291
- width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
292
- };
293
- p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
294
- padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
295
- };
296
- pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
297
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
298
- };
299
- pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
300
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
301
- };
302
- pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
303
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
304
- };
305
- pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
306
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
307
- };
308
- px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
309
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
310
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
311
- };
312
- py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
313
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
314
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
315
- };
316
- m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
317
- margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
318
- };
319
- mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
320
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
321
- };
322
- mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
323
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
324
- };
325
- mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
326
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
327
- };
328
- ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
329
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
330
- };
331
- mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
332
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
333
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
334
- };
335
- my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
336
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
337
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
338
- };
339
- }>>;
340
- declare type StackPropsType = React.ComponentProps<typeof StyledStack> & {
341
- css?: CSS;
342
- as?: any;
343
- };
344
- /**
345
- * @deprecated Stack is being deprecated. Use Flex instead!
346
- */
347
- export declare const Stack: React.ForwardRefExoticComponent<StackPropsType>;
348
- export {};
@@ -1,2 +0,0 @@
1
- import*as e from"react";import{styled as f}from"../../stitches.js";import{createThemeVariants as m}from"../../utilities/create-theme-variants/createThemeVariants.js";import{CSSWrapper as c}from"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";const w=f("div",{display:"flex","& > *":{m:0},variants:{direction:{row:{flexDirection:"row"},"row-reverse":{flexDirection:"row-reverse"},column:{flexDirection:"column"}},wrap:{wrap:{flexWrap:"wrap"},"no-wrap":{flexWrap:"no-wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},false:{}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},false:{}},gap:{...m("space",{mt:"-$key",ml:"-$key","& > *":{mt:"$key",ml:"$key"}}),false:{}}}}),a=e.forwardRef(({css:n,gap:i=2,direction:r="row",wrap:o="wrap",justify:s="start",align:t,...l},p)=>e.createElement(c,{css:n},e.createElement(w,{ref:p,direction:r,gap:i,wrap:o,justify:s,align:typeof t>"u"&&r!=="column"?"center":t,...l})));a.displayName="Stack";export{a as Stack};
2
- //# sourceMappingURL=Stack.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stack.js","sources":["../../../src/components/stack/Stack.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { CSS, styled } from '~/stitches'\nimport { createThemeVariants } from '~/utilities'\nimport { CSSWrapper } from '~/utilities/css-wrapper'\n\nconst StyledStack = styled('div', {\n display: 'flex',\n '& > *': {\n m: 0\n },\n variants: {\n direction: {\n row: {\n flexDirection: 'row'\n },\n 'row-reverse': {\n flexDirection: 'row-reverse'\n },\n column: {\n flexDirection: 'column'\n }\n },\n wrap: {\n wrap: {\n flexWrap: 'wrap'\n },\n 'no-wrap': {\n flexWrap: 'no-wrap'\n },\n 'wrap-reverse': {\n flexWrap: 'wrap-reverse'\n }\n },\n justify: {\n start: { justifyContent: 'flex-start' },\n center: { justifyContent: 'center' },\n end: { justifyContent: 'flex-end' },\n false: {}\n },\n align: {\n start: { alignItems: 'flex-start' },\n center: { alignItems: 'center' },\n end: { alignItems: 'flex-end' },\n false: {}\n },\n gap: {\n ...createThemeVariants('space', {\n mt: '-$key',\n ml: '-$key',\n '& > *': {\n mt: '$key',\n ml: '$key'\n }\n }),\n false: {}\n }\n }\n})\n\ntype StackPropsType = React.ComponentProps<typeof StyledStack> & {\n css?: CSS\n as?: any\n} // (!) `css` and `as` are both props that come from `stitches`. It would be better to figure out and export the appropriate type for them in stitches!\n\n/**\n * @deprecated Stack is being deprecated. Use Flex instead!\n */\nexport const Stack: React.ForwardRefExoticComponent<StackPropsType> =\n React.forwardRef(\n (\n {\n css,\n gap = 2,\n direction = 'row',\n wrap = 'wrap',\n justify = 'start',\n align,\n ...remainingProps\n },\n ref\n ) => {\n return (\n <CSSWrapper css={css}>\n <StyledStack\n ref={ref}\n direction={direction}\n gap={gap}\n wrap={wrap}\n justify={justify}\n align={\n typeof align === 'undefined' && direction !== 'column'\n ? 'center'\n : align\n }\n {...remainingProps}\n />\n </CSSWrapper>\n )\n }\n )\n\nStack.displayName = 'Stack'\n"],"names":["StyledStack","styled","createThemeVariants","Stack","React","css","gap","direction","wrap","justify","align","remainingProps","ref","CSSWrapper"],"mappings":"mXAMA,MAAMA,EAAcC,EAAO,MAAO,CAChC,QAAS,OACT,QAAS,CACP,EAAG,CACL,EACA,SAAU,CACR,UAAW,CACT,IAAK,CACH,cAAe,KACjB,EACA,cAAe,CACb,cAAe,aACjB,EACA,OAAQ,CACN,cAAe,QACjB,CACF,EACA,KAAM,CACJ,KAAM,CACJ,SAAU,MACZ,EACA,UAAW,CACT,SAAU,SACZ,EACA,eAAgB,CACd,SAAU,cACZ,CACF,EACA,QAAS,CACP,MAAO,CAAE,eAAgB,YAAa,EACtC,OAAQ,CAAE,eAAgB,QAAS,EACnC,IAAK,CAAE,eAAgB,UAAW,EAClC,MAAO,CACT,CAAA,EACA,MAAO,CACL,MAAO,CAAE,WAAY,YAAa,EAClC,OAAQ,CAAE,WAAY,QAAS,EAC/B,IAAK,CAAE,WAAY,UAAW,EAC9B,MAAO,CACT,CAAA,EACA,IAAK,CACH,GAAGC,EAAoB,QAAS,CAC9B,GAAI,QACJ,GAAI,QACJ,QAAS,CACP,GAAI,OACJ,GAAI,MACN,CACF,CAAC,EACD,MAAO,EACT,CACF,CACF,CAAC,EAUYC,EACXC,EAAM,WACJ,CACE,CACE,IAAAC,EACA,IAAAC,EAAM,EACN,UAAAC,EAAY,MACZ,KAAAC,EAAO,OACP,QAAAC,EAAU,QACV,MAAAC,KACGC,CACL,EACAC,IAGER,EAAA,cAACS,EAAA,CAAW,IAAKR,GACfD,EAAA,cAACJ,EAAA,CACC,IAAKY,EACL,UAAWL,EACX,IAAKD,EACL,KAAME,EACN,QAASC,EACT,MACE,OAAOC,EAAU,KAAeH,IAAc,SAC1C,SACAG,EAEL,GAAGC,EACN,CACF,CAGN,EAEFR,EAAM,YAAc"}
@@ -1 +0,0 @@
1
- export { Stack } from './Stack';