@atom-learning/components 2.46.0 → 2.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +3 -14
  2. package/dist/components/accordion/AccordionContent.js +1 -1
  3. package/dist/components/accordion/AccordionContent.js.map +1 -1
  4. package/dist/components/accordion/AccordionTrigger.d.ts +2 -2
  5. package/dist/components/accordion/AccordionTrigger.js +1 -1
  6. package/dist/components/accordion/AccordionTrigger.js.map +1 -1
  7. package/dist/components/chip/Chip.d.ts +1 -1
  8. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +1 -1
  9. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +1 -1
  10. package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
  11. package/dist/components/index.d.ts +3 -0
  12. package/dist/components/tabs/TabsTrigger.js +1 -1
  13. package/dist/components/tabs/TabsTrigger.js.map +1 -1
  14. package/dist/components/tabs/TabsTriggerList.d.ts +2 -2
  15. package/dist/components/tabs/TabsTriggerList.js +1 -1
  16. package/dist/components/tabs/TabsTriggerList.js.map +1 -1
  17. package/dist/components/tile/Tile.d.ts +224 -0
  18. package/dist/components/tile/Tile.js +2 -0
  19. package/dist/components/tile/Tile.js.map +1 -0
  20. package/dist/components/tile/TileGroup.d.ts +227 -0
  21. package/dist/components/tile/TileGroup.js +2 -0
  22. package/dist/components/tile/TileGroup.js.map +1 -0
  23. package/dist/components/tile/TileNoOverflowContainer.d.ts +425 -0
  24. package/dist/components/tile/TileNoOverflowContainer.js +2 -0
  25. package/dist/components/tile/TileNoOverflowContainer.js.map +1 -0
  26. package/dist/components/tile/index.d.ts +7 -0
  27. package/dist/components/tile/index.js +2 -0
  28. package/dist/components/tile/index.js.map +1 -0
  29. package/dist/components/tile-interactive/TileInteractive.d.ts +868 -0
  30. package/dist/components/tile-interactive/TileInteractive.js +2 -0
  31. package/dist/components/tile-interactive/TileInteractive.js.map +1 -0
  32. package/dist/components/tile-interactive/index.d.ts +1 -0
  33. package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +656 -0
  34. package/dist/components/tile-toggle-group/TileToggleGroupItem.js +2 -0
  35. package/dist/components/tile-toggle-group/TileToggleGroupItem.js.map +1 -0
  36. package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +453 -0
  37. package/dist/components/tile-toggle-group/TileToggleGroupRoot.js +2 -0
  38. package/dist/components/tile-toggle-group/TileToggleGroupRoot.js.map +1 -0
  39. package/dist/components/tile-toggle-group/index.d.ts +7 -0
  40. package/dist/components/tile-toggle-group/index.js +2 -0
  41. package/dist/components/tile-toggle-group/index.js.map +1 -0
  42. package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
  43. package/dist/docgen.json +1 -1
  44. package/dist/experiments/color-scheme/ColorScheme.d.ts +143 -25
  45. package/dist/experiments/color-scheme/ColorScheme.js +1 -1
  46. package/dist/experiments/color-scheme/ColorScheme.js.map +1 -1
  47. package/dist/experiments/color-scheme/index.d.ts +1 -0
  48. package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +33 -242
  49. package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -1
  50. package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
  51. package/dist/index.cjs.js +1 -1
  52. package/dist/index.cjs.js.map +1 -1
  53. package/dist/index.d.ts +1 -0
  54. package/dist/index.js +1 -1
  55. package/dist/utilities/no-overflow-container/NoOverflowContainer.d.ts +425 -0
  56. package/dist/utilities/no-overflow-container/NoOverflowContainer.js +2 -0
  57. package/dist/utilities/no-overflow-container/NoOverflowContainer.js.map +1 -0
  58. package/dist/utilities/no-overflow-container/index.d.ts +1 -0
  59. package/package.json +1 -1
  60. package/dist/experiments/color-scheme/blue.json.js +0 -2
  61. package/dist/experiments/color-scheme/blue.json.js.map +0 -1
  62. package/dist/experiments/color-scheme/generateAlphaColors.d.ts +0 -1
  63. package/dist/experiments/color-scheme/generateAlphaColors.js +0 -2
  64. package/dist/experiments/color-scheme/generateAlphaColors.js.map +0 -1
  65. package/dist/experiments/color-scheme/slate.json.js +0 -2
  66. package/dist/experiments/color-scheme/slate.json.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './components';
2
2
  export * from './stitches';
3
3
  export { ColorScheme } from './experiments/color-scheme';
4
+ export type { TcolorScheme } from './experiments/color-scheme';
4
5
  export { createThemeVariants, focusVisibleStyleBlock } from './utilities';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{Accordion as p}from"./components/accordion/Accordion.js";import{ActionIcon as x}from"./components/action-icon/ActionIcon.js";import{AlertDialog as i}from"./components/alert-dialog/AlertDialog.js";import{AlertProvider as l,useAlert as d}from"./components/alert-dialog/alert-context/AlertContext.js";import{Avatar as n}from"./components/avatar/Avatar.js";import{Badge as c}from"./components/badge/Badge.js";import{Box as S}from"./components/box/Box.js";import{Button as g,StyledButton as F}from"./components/button/Button.js";import{Carousel as h,useCarousel as I}from"./components/carousel/Carousel.js";import{Checkbox as D}from"./components/checkbox/Checkbox.js";import{CheckboxField as G}from"./components/checkbox-field/CheckboxField.js";import{Chip as w}from"./components/chip/Chip.js";import{ChipGroup as A}from"./components/chip/ChipGroup.js";import{ChipDismissibleGroup as L}from"./components/chip-dismissible-group/index.js";import{ChipToggleGroup as M}from"./components/chip-toggle-group/index.js";import{Combobox as V}from"./components/combobox/Combobox.js";import{useDataTable as E}from"./components/data-table/DataTableContext.js";import{DataTable as j}from"./components/data-table/DataTable.js";import{DateField as z}from"./components/date-field/DateField.js";import{DateInput as K}from"./components/date-input/DateInput.js";import{Dialog as Q}from"./components/dialog/Dialog.js";import{Dismissible as X}from"./components/dismissible/index.js";import{DismissibleGroup as Z}from"./components/dismissible-group/index.js";import{Divider as $}from"./components/divider/Divider.js";import{DropdownMenu as ro}from"./components/dropdown-menu/DropdownMenu.js";import{EmptyState as to}from"./components/empty-state/EmptyState.js";import{FieldWrapper as mo}from"./components/field-wrapper/FieldWrapper.js";import{InlineFieldWrapper as fo}from"./components/field-wrapper/InlineFieldWrapper.js";import{FileInput as ao}from"./components/file-input/FileInput.js";import{Flex as so}from"./components/flex/Flex.js";import{Form as uo}from"./components/form/Form.js";import"dlv";import"react-hook-form";import{Grid as bo}from"./components/grid/Grid.js";import{Heading as Co}from"./components/heading/Heading.js";import{Icon as Fo}from"./components/icon/Icon.js";import{Image as ho}from"./components/image/Image.js";import{InlineMessage as Bo}from"./components/inline-message/InlineMessage.js";import{Input as ko}from"./components/input/Input.js";import{InputField as vo}from"./components/input-field/InputField.js";import{Label as yo}from"./components/label/Label.js";import{Link as Po,StyledLink as Lo}from"./components/link/Link.js";import{List as Mo}from"./components/list/List.js";import{Loader as Vo}from"./components/loader/Loader.js";import{MarkdownContent as Eo}from"./components/markdown-content/MarkdownContent.js";import{NavigationMenu as jo}from"./components/navigation/NavigationMenu.js";import{NotificationBadge as zo}from"./components/notification-badge/NotificationBadge.js";import{NumberInput as Ko}from"./components/number-input/NumberInput.js";import{NumberInputField as Qo}from"./components/number-input-field/NumberInputField.js";import{PasswordField as Xo}from"./components/password-field/PasswordField.js";import{PasswordInput as Zo}from"./components/password-input/PasswordInput.js";import{Popover as $o}from"./components/popover/Popover.js";import{ProgressBar as rr}from"./components/progress-bar/ProgressBar.js";import{RadioButton as tr}from"./components/radio-button/RadioButton.js";import{RadioButtonGroup as mr}from"./components/radio-button/RadioButtonGroup.js";import{RadioButtonField as fr}from"./components/radio-button-field/RadioButtonField.js";import{RadioCard as ar}from"./components/radio-card/RadioCard.js";import{RadioCardGroup as dr}from"./components/radio-card/RadioCardGroup.js";import{SearchField as nr}from"./components/search-field/SearchField.js";import{SearchInput as cr}from"./components/search-input/SearchInput.js";import{Select as Sr}from"./components/select/Select.js";import{SelectField as gr}from"./components/select-field/SelectField.js";import{Sidedrawer as Tr}from"./components/sidedrawer/Sidedrawer.js";import{Slider as Ir}from"./components/slider/Slider.js";import{SliderField as Dr}from"./components/slider-field/SliderField.js";import{Sortable as Gr}from"./components/sortable/index.js";import{Stack as wr}from"./components/stack/Stack.js";import{StackContent as Ar}from"./components/stack-content/StackContent.js";import{Stepper as Lr}from"./components/stepper/Stepper.js";import{Switch as Mr}from"./components/switch/Switch.js";import{Table as Vr}from"./components/table/Table.js";import{Tabs as Er}from"./components/tabs/Tabs.js";import{Text as jr}from"./components/text/Text.js";import{Textarea as zr}from"./components/textarea/Textarea.js";import{TextareaField as Kr}from"./components/textarea-field/TextareaField.js";import{ToastProvider as Qr}from"./components/toast/ToastProvider.js";import{ToggleGroup as Xr}from"./components/toggle-group/index.js";import{Tooltip as Zr}from"./components/tooltip/Tooltip.js";import{TopBar as $r}from"./components/top-bar/TopBar.js";import{Video as re}from"./components/video/Video.js";import{createTheme as te,css as pe,getCssText as me,globalCss as xe,keyframes as fe,media as ie,styled as ae,theme as le,utils as de}from"./stitches.js";import{ColorScheme as ne}from"./experiments/color-scheme/ColorScheme.js";import{createThemeVariants as ce}from"./utilities/create-theme-variants/createThemeVariants.js";import{focusVisibleStyleBlock as Se}from"./utilities/style/focus-visible-style-block.js";import{default as ge}from"react-hot-toast";export{p as Accordion,x as ActionIcon,i as AlertDialog,l as AlertProvider,n as Avatar,c as Badge,S as Box,g as Button,h as Carousel,D as Checkbox,G as CheckboxField,w as Chip,L as ChipDismissibleGroup,A as ChipGroup,M as ChipToggleGroup,ne as ColorScheme,V as Combobox,j as DataTable,z as DateField,K as DateInput,Q as Dialog,X as Dismissible,Z as DismissibleGroup,$ as Divider,ro as DropdownMenu,to as EmptyState,mo as FieldWrapper,ao as FileInput,so as Flex,uo as Form,bo as Grid,Co as Heading,Fo as Icon,ho as Image,fo as InlineFieldWrapper,Bo as InlineMessage,ko as Input,vo as InputField,yo as Label,Po as Link,Mo as List,Vo as Loader,Eo as MarkdownContent,jo as NavigationMenu,zo as NotificationBadge,Ko as NumberInput,Qo as NumberInputField,Xo as PasswordField,Zo as PasswordInput,$o as Popover,rr as ProgressBar,tr as RadioButton,fr as RadioButtonField,mr as RadioButtonGroup,ar as RadioCard,dr as RadioCardGroup,nr as SearchField,cr as SearchInput,Sr as Select,gr as SelectField,Tr as Sidedrawer,Ir as Slider,Dr as SliderField,Gr as Sortable,wr as Stack,Ar as StackContent,Lr as Stepper,F as StyledButton,Lo as StyledLink,Mr as Switch,Vr as Table,Er as Tabs,jr as Text,zr as Textarea,Kr as TextareaField,Qr as ToastProvider,Xr as ToggleGroup,Zr as Tooltip,$r as TopBar,re as Video,te as createTheme,ce as createThemeVariants,pe as css,Se as focusVisibleStyleBlock,me as getCssText,xe as globalCss,fe as keyframes,ie as media,ae as styled,le as theme,ge as toast,d as useAlert,I as useCarousel,E as useDataTable,de as utils};
1
+ import{Accordion as p}from"./components/accordion/Accordion.js";import{ActionIcon as x}from"./components/action-icon/ActionIcon.js";import{AlertDialog as i}from"./components/alert-dialog/AlertDialog.js";import{AlertProvider as l,useAlert as d}from"./components/alert-dialog/alert-context/AlertContext.js";import{Avatar as n}from"./components/avatar/Avatar.js";import{Badge as c}from"./components/badge/Badge.js";import{Box as b}from"./components/box/Box.js";import{Button as S,StyledButton as C}from"./components/button/Button.js";import{Carousel as I,useCarousel as h}from"./components/carousel/Carousel.js";import{Checkbox as D}from"./components/checkbox/Checkbox.js";import{CheckboxField as k}from"./components/checkbox-field/CheckboxField.js";import{Chip as w}from"./components/chip/Chip.js";import{ChipGroup as A}from"./components/chip/ChipGroup.js";import{ChipDismissibleGroup as L}from"./components/chip-dismissible-group/index.js";import{ChipToggleGroup as M}from"./components/chip-toggle-group/index.js";import{Combobox as V}from"./components/combobox/Combobox.js";import{useDataTable as E}from"./components/data-table/DataTableContext.js";import{DataTable as j}from"./components/data-table/DataTable.js";import{DateField as z}from"./components/date-field/DateField.js";import{DateInput as K}from"./components/date-input/DateInput.js";import{Dialog as Q}from"./components/dialog/Dialog.js";import{Dismissible as X}from"./components/dismissible/index.js";import{DismissibleGroup as Z}from"./components/dismissible-group/index.js";import{Divider as $}from"./components/divider/Divider.js";import{DropdownMenu as ro}from"./components/dropdown-menu/DropdownMenu.js";import{EmptyState as to}from"./components/empty-state/EmptyState.js";import{FieldWrapper as mo}from"./components/field-wrapper/FieldWrapper.js";import{InlineFieldWrapper as fo}from"./components/field-wrapper/InlineFieldWrapper.js";import{FileInput as ao}from"./components/file-input/FileInput.js";import{Flex as so}from"./components/flex/Flex.js";import{Form as uo}from"./components/form/Form.js";import"dlv";import"react-hook-form";import{Grid as To}from"./components/grid/Grid.js";import{Heading as go}from"./components/heading/Heading.js";import{Icon as Co}from"./components/icon/Icon.js";import{Image as Io}from"./components/image/Image.js";import{InlineMessage as Bo}from"./components/inline-message/InlineMessage.js";import{Input as Go}from"./components/input/Input.js";import{InputField as vo}from"./components/input-field/InputField.js";import{Label as yo}from"./components/label/Label.js";import{Link as Po,StyledLink as Lo}from"./components/link/Link.js";import{List as Mo}from"./components/list/List.js";import{Loader as Vo}from"./components/loader/Loader.js";import{MarkdownContent as Eo}from"./components/markdown-content/MarkdownContent.js";import{NavigationMenu as jo}from"./components/navigation/NavigationMenu.js";import{NotificationBadge as zo}from"./components/notification-badge/NotificationBadge.js";import{NumberInput as Ko}from"./components/number-input/NumberInput.js";import{NumberInputField as Qo}from"./components/number-input-field/NumberInputField.js";import{PasswordField as Xo}from"./components/password-field/PasswordField.js";import{PasswordInput as Zo}from"./components/password-input/PasswordInput.js";import{Popover as $o}from"./components/popover/Popover.js";import{ProgressBar as rr}from"./components/progress-bar/ProgressBar.js";import{RadioButton as tr}from"./components/radio-button/RadioButton.js";import{RadioButtonGroup as mr}from"./components/radio-button/RadioButtonGroup.js";import{RadioButtonField as fr}from"./components/radio-button-field/RadioButtonField.js";import{RadioCard as ar}from"./components/radio-card/RadioCard.js";import{RadioCardGroup as dr}from"./components/radio-card/RadioCardGroup.js";import{SearchField as nr}from"./components/search-field/SearchField.js";import{SearchInput as cr}from"./components/search-input/SearchInput.js";import{Select as br}from"./components/select/Select.js";import{SelectField as Sr}from"./components/select-field/SelectField.js";import{Sidedrawer as Fr}from"./components/sidedrawer/Sidedrawer.js";import{Slider as hr}from"./components/slider/Slider.js";import{SliderField as Dr}from"./components/slider-field/SliderField.js";import{Sortable as kr}from"./components/sortable/index.js";import{Stack as wr}from"./components/stack/Stack.js";import{StackContent as Ar}from"./components/stack-content/StackContent.js";import{Stepper as Lr}from"./components/stepper/Stepper.js";import{Switch as Mr}from"./components/switch/Switch.js";import{Table as Vr}from"./components/table/Table.js";import{Tabs as Er}from"./components/tabs/Tabs.js";import{Text as jr}from"./components/text/Text.js";import{Textarea as zr}from"./components/textarea/Textarea.js";import{TextareaField as Kr}from"./components/textarea-field/TextareaField.js";import{ToastProvider as Qr}from"./components/toast/ToastProvider.js";import{ToggleGroup as Xr}from"./components/toggle-group/index.js";import{Tooltip as Zr}from"./components/tooltip/Tooltip.js";import{TopBar as $r}from"./components/top-bar/TopBar.js";import{Video as re}from"./components/video/Video.js";import{Tile as te}from"./components/tile/index.js";import{TileInteractive as me}from"./components/tile-interactive/TileInteractive.js";import{TileToggleGroup as fe}from"./components/tile-toggle-group/index.js";import{createTheme as ae,css as le,getCssText as de,globalCss as se,keyframes as ne,media as ue,styled as ce,theme as Te,utils as be}from"./stitches.js";import{ColorScheme as Se}from"./experiments/color-scheme/ColorScheme.js";import{createThemeVariants as Fe}from"./utilities/create-theme-variants/createThemeVariants.js";import{focusVisibleStyleBlock as he}from"./utilities/style/focus-visible-style-block.js";import{default as De}from"react-hot-toast";import{TileGroup as ke}from"./components/tile/TileGroup.js";export{p as Accordion,x as ActionIcon,i as AlertDialog,l as AlertProvider,n as Avatar,c as Badge,b as Box,S as Button,I as Carousel,D as Checkbox,k as CheckboxField,w as Chip,L as ChipDismissibleGroup,A as ChipGroup,M as ChipToggleGroup,Se as ColorScheme,V as Combobox,j as DataTable,z as DateField,K as DateInput,Q as Dialog,X as Dismissible,Z as DismissibleGroup,$ as Divider,ro as DropdownMenu,to as EmptyState,mo as FieldWrapper,ao as FileInput,so as Flex,uo as Form,To as Grid,go as Heading,Co as Icon,Io as Image,fo as InlineFieldWrapper,Bo as InlineMessage,Go as Input,vo as InputField,yo as Label,Po as Link,Mo as List,Vo as Loader,Eo as MarkdownContent,jo as NavigationMenu,zo as NotificationBadge,Ko as NumberInput,Qo as NumberInputField,Xo as PasswordField,Zo as PasswordInput,$o as Popover,rr as ProgressBar,tr as RadioButton,fr as RadioButtonField,mr as RadioButtonGroup,ar as RadioCard,dr as RadioCardGroup,nr as SearchField,cr as SearchInput,br as Select,Sr as SelectField,Fr as Sidedrawer,hr as Slider,Dr as SliderField,kr as Sortable,wr as Stack,Ar as StackContent,Lr as Stepper,C as StyledButton,Lo as StyledLink,Mr as Switch,Vr as Table,Er as Tabs,jr as Text,zr as Textarea,Kr as TextareaField,te as Tile,ke as TileGroup,me as TileInteractive,fe as TileToggleGroup,Qr as ToastProvider,Xr as ToggleGroup,Zr as Tooltip,$r as TopBar,re as Video,ae as createTheme,Fe as createThemeVariants,le as css,he as focusVisibleStyleBlock,de as getCssText,se as globalCss,ne as keyframes,ue as media,ce as styled,Te as theme,De as toast,d as useAlert,h as useCarousel,E as useDataTable,be as utils};
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,425 @@
1
+ export declare const NoOverflowContainer: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
+ sm: string;
3
+ md: string;
4
+ lg: string;
5
+ xl: string;
6
+ reducedMotion: string;
7
+ allowMotion: string;
8
+ hover: string;
9
+ }, import("@stitches/react/types/css-util").CSS<{
10
+ sm: string;
11
+ md: string;
12
+ lg: string;
13
+ xl: string;
14
+ reducedMotion: string;
15
+ allowMotion: string;
16
+ hover: string;
17
+ }, {
18
+ colors: {
19
+ textForeground: any;
20
+ textSubtle: any;
21
+ textPlaceholder: any;
22
+ background: any;
23
+ backgroundAccent: any;
24
+ grey100: any;
25
+ grey200: any;
26
+ grey300: any;
27
+ grey400: any;
28
+ grey500: any;
29
+ grey600: any;
30
+ grey700: any;
31
+ grey800: any;
32
+ grey900: any;
33
+ grey1000: any;
34
+ grey1100: any;
35
+ grey1200: any;
36
+ blue100: any;
37
+ blue200: any;
38
+ blue300: any;
39
+ blue400: any;
40
+ blue500: any;
41
+ blue600: any;
42
+ blue700: any;
43
+ blue800: any;
44
+ blue900: any;
45
+ blue1000: any;
46
+ blue1100: any;
47
+ blue1200: any;
48
+ purple100: any;
49
+ purple200: any;
50
+ purple300: any;
51
+ purple400: any;
52
+ purple500: any;
53
+ purple600: any;
54
+ purple700: any;
55
+ purple800: any;
56
+ purple900: any;
57
+ purple1000: any;
58
+ purple1100: any;
59
+ purple1200: any;
60
+ tonal50: any;
61
+ tonal100: any;
62
+ tonal200: any;
63
+ tonal300: any;
64
+ tonal400: any;
65
+ tonal500: any;
66
+ tonal600: any;
67
+ alpha100: any;
68
+ alpha150: any;
69
+ alpha200: any;
70
+ alpha250: any;
71
+ alpha600: any;
72
+ primaryLight: any;
73
+ primary: any;
74
+ primaryMid: any;
75
+ primaryDark: any;
76
+ secondary: any;
77
+ brandRed: any;
78
+ brandRedAccent: any;
79
+ brandGreen: any;
80
+ brandGreenAccent: any;
81
+ brandPurple: any;
82
+ brandPurpleAccent: any;
83
+ brandYellow: any;
84
+ brandYellowAccent: any;
85
+ successLight: any;
86
+ success: any;
87
+ successMid: any;
88
+ successDark: any;
89
+ dangerLight: any;
90
+ danger: any;
91
+ dangerMid: any;
92
+ dangerDark: any;
93
+ warningLight: any;
94
+ warning: any;
95
+ warningMid: any;
96
+ warningDark: any;
97
+ warningText: any;
98
+ subjectEnglish: any;
99
+ subjectMaths: any;
100
+ subjectScience: any;
101
+ subjectVerbalReasoning: any;
102
+ subjectNonVerbalReasoning: any;
103
+ subjectCreativeWriting: any;
104
+ subjectExamSkills: any;
105
+ };
106
+ space: {
107
+ "0": any;
108
+ "1": any;
109
+ "2": any;
110
+ "3": any;
111
+ "4": any;
112
+ "5": any;
113
+ "6": any;
114
+ "7": any;
115
+ "8": any;
116
+ "9": any;
117
+ "24": any;
118
+ };
119
+ fontSizes: {
120
+ xs: any;
121
+ sm: any;
122
+ md: any;
123
+ lg: any;
124
+ xl: any;
125
+ "2xl": any;
126
+ "3xl": any;
127
+ "4xl": any;
128
+ };
129
+ fonts: {
130
+ sans: any;
131
+ mono: any;
132
+ display: any;
133
+ body: any;
134
+ };
135
+ sizes: {
136
+ "0": any;
137
+ "1": any;
138
+ "2": any;
139
+ "3": any;
140
+ "4": any;
141
+ "5": any;
142
+ "6": any;
143
+ "7": any;
144
+ "8": any;
145
+ };
146
+ radii: {
147
+ "0": any;
148
+ "1": any;
149
+ "2": any;
150
+ "3": any;
151
+ round: any;
152
+ };
153
+ shadows: {
154
+ "0": any;
155
+ "1": any;
156
+ "2": any;
157
+ "3": any;
158
+ };
159
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
160
+ bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
161
+ background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
162
+ };
163
+ size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
164
+ height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
165
+ width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
166
+ };
167
+ p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
168
+ padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
169
+ };
170
+ pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
171
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
172
+ };
173
+ pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
174
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
175
+ };
176
+ pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
177
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
178
+ };
179
+ pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
180
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
181
+ };
182
+ px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
183
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
184
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
185
+ };
186
+ py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
187
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
188
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
189
+ };
190
+ m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
191
+ margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
192
+ };
193
+ mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
194
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
195
+ };
196
+ mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
197
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
198
+ };
199
+ mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
200
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
201
+ };
202
+ ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
203
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
204
+ };
205
+ mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
206
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
207
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
208
+ };
209
+ my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
210
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
211
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
212
+ };
213
+ }>>, {}, {
214
+ sm: string;
215
+ md: string;
216
+ lg: string;
217
+ xl: string;
218
+ reducedMotion: string;
219
+ allowMotion: string;
220
+ hover: string;
221
+ }, import("@stitches/react/types/css-util").CSS<{
222
+ sm: string;
223
+ md: string;
224
+ lg: string;
225
+ xl: string;
226
+ reducedMotion: string;
227
+ allowMotion: string;
228
+ hover: string;
229
+ }, {
230
+ colors: {
231
+ textForeground: any;
232
+ textSubtle: any;
233
+ textPlaceholder: any;
234
+ background: any;
235
+ backgroundAccent: any;
236
+ grey100: any;
237
+ grey200: any;
238
+ grey300: any;
239
+ grey400: any;
240
+ grey500: any;
241
+ grey600: any;
242
+ grey700: any;
243
+ grey800: any;
244
+ grey900: any;
245
+ grey1000: any;
246
+ grey1100: any;
247
+ grey1200: any;
248
+ blue100: any;
249
+ blue200: any;
250
+ blue300: any;
251
+ blue400: any;
252
+ blue500: any;
253
+ blue600: any;
254
+ blue700: any;
255
+ blue800: any;
256
+ blue900: any;
257
+ blue1000: any;
258
+ blue1100: any;
259
+ blue1200: any;
260
+ purple100: any;
261
+ purple200: any;
262
+ purple300: any;
263
+ purple400: any;
264
+ purple500: any;
265
+ purple600: any;
266
+ purple700: any;
267
+ purple800: any;
268
+ purple900: any;
269
+ purple1000: any;
270
+ purple1100: any;
271
+ purple1200: any;
272
+ tonal50: any;
273
+ tonal100: any;
274
+ tonal200: any;
275
+ tonal300: any;
276
+ tonal400: any;
277
+ tonal500: any;
278
+ tonal600: any;
279
+ alpha100: any;
280
+ alpha150: any;
281
+ alpha200: any;
282
+ alpha250: any;
283
+ alpha600: any;
284
+ primaryLight: any;
285
+ primary: any;
286
+ primaryMid: any;
287
+ primaryDark: any;
288
+ secondary: any;
289
+ brandRed: any;
290
+ brandRedAccent: any;
291
+ brandGreen: any;
292
+ brandGreenAccent: any;
293
+ brandPurple: any;
294
+ brandPurpleAccent: any;
295
+ brandYellow: any;
296
+ brandYellowAccent: any;
297
+ successLight: any;
298
+ success: any;
299
+ successMid: any;
300
+ successDark: any;
301
+ dangerLight: any;
302
+ danger: any;
303
+ dangerMid: any;
304
+ dangerDark: any;
305
+ warningLight: any;
306
+ warning: any;
307
+ warningMid: any;
308
+ warningDark: any;
309
+ warningText: any;
310
+ subjectEnglish: any;
311
+ subjectMaths: any;
312
+ subjectScience: any;
313
+ subjectVerbalReasoning: any;
314
+ subjectNonVerbalReasoning: any;
315
+ subjectCreativeWriting: any;
316
+ subjectExamSkills: any;
317
+ };
318
+ space: {
319
+ "0": any;
320
+ "1": any;
321
+ "2": any;
322
+ "3": any;
323
+ "4": any;
324
+ "5": any;
325
+ "6": any;
326
+ "7": any;
327
+ "8": any;
328
+ "9": any;
329
+ "24": any;
330
+ };
331
+ fontSizes: {
332
+ xs: any;
333
+ sm: any;
334
+ md: any;
335
+ lg: any;
336
+ xl: any;
337
+ "2xl": any;
338
+ "3xl": any;
339
+ "4xl": any;
340
+ };
341
+ fonts: {
342
+ sans: any;
343
+ mono: any;
344
+ display: any;
345
+ body: any;
346
+ };
347
+ sizes: {
348
+ "0": any;
349
+ "1": any;
350
+ "2": any;
351
+ "3": any;
352
+ "4": any;
353
+ "5": any;
354
+ "6": any;
355
+ "7": any;
356
+ "8": any;
357
+ };
358
+ radii: {
359
+ "0": any;
360
+ "1": any;
361
+ "2": any;
362
+ "3": any;
363
+ round: any;
364
+ };
365
+ shadows: {
366
+ "0": any;
367
+ "1": any;
368
+ "2": any;
369
+ "3": any;
370
+ };
371
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
372
+ bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
373
+ background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
374
+ };
375
+ size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
376
+ height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
377
+ width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
378
+ };
379
+ p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
380
+ padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
381
+ };
382
+ pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
383
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
384
+ };
385
+ pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
386
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
387
+ };
388
+ pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
389
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
390
+ };
391
+ pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
392
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
393
+ };
394
+ px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
395
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
396
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
397
+ };
398
+ py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
399
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
400
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
401
+ };
402
+ m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
403
+ margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
404
+ };
405
+ mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
406
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
407
+ };
408
+ mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
409
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
410
+ };
411
+ mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
412
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
413
+ };
414
+ ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
415
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
416
+ };
417
+ mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
418
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
419
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
420
+ };
421
+ my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
422
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
423
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
424
+ };
425
+ }>>;
@@ -0,0 +1,2 @@
1
+ import{Box as r}from"../../components/box/Box.js";import{styled as e}from"../../stitches.js";const o=e(r,{size:"100%",borderRadius:"inherit",overflow:"hidden"});o.displayName="NoOverflowContainer";export{o as NoOverflowContainer};
2
+ //# sourceMappingURL=NoOverflowContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoOverflowContainer.js","sources":["../../../src/utilities/no-overflow-container/NoOverflowContainer.tsx"],"sourcesContent":["import React from 'react'\n\nimport { Box } from '~/components/box'\nimport { styled } from '~/stitches'\n\nexport const NoOverflowContainer = styled(Box, {\n size: '100%',\n borderRadius: 'inherit',\n overflow: 'hidden'\n})\n\nNoOverflowContainer.displayName = 'NoOverflowContainer'\n"],"names":["NoOverflowContainer","styled","Box"],"mappings":"mGAKaA,EAAsBC,EAAOC,EAAK,CAC7C,KAAM,OACN,aAAc,UACd,SAAU,QACZ,CAAC,EAEDF,EAAoB,YAAc"}
@@ -0,0 +1 @@
1
+ export { NoOverflowContainer } from './NoOverflowContainer';
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.46.0",
7
+ "version": "2.48.0",
8
8
  "description": "",
9
9
  "files": [
10
10
  "dist"
@@ -1,2 +0,0 @@
1
- var e="#F3F8FF",l="#E5F1FF",u="#D6EAFF",b="#C2DEFF",F="#B3D4FA",a="#057AFF",r="#0F67F5",v="#194DCC",D="#102DA3",A="#15235E",E={blue1:e,blue2:l,blue3:u,blue4:b,blue5:F,blue6:a,blue7:r,blue8:v,blue9:D,blue10:A};export{e as blue1,A as blue10,l as blue2,u as blue3,b as blue4,F as blue5,a as blue6,r as blue7,v as blue8,D as blue9,E as default};
2
- //# sourceMappingURL=blue.json.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blue.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export declare const generateAlphaColors: (colorName: string, colors: Record<string, string>) => Record<string, string>;
@@ -1,2 +0,0 @@
1
- import{parseToRgba as u}from"color2k";const M=[255,255,255,1],r=[.05,.1,.15,.2,.27,.35,.5,.7,.8,.95],n=a=>Math.round(Math.max(Math.min(a,255),0)),$=(a,h)=>{const e={};return Object.entries(h).forEach(([f,i],o)=>{const[m,p,b]=u(i),[t,s,c]=M,g=[n((m-t)/r[o]+t),n((p-s)/r[o]+s),n((b-c)/r[o]+c),r[o]];e[`${a}A${o+1}`]=`rgba(${g.join(",")})`}),e};export{$ as generateAlphaColors};
2
- //# sourceMappingURL=generateAlphaColors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generateAlphaColors.js","sources":["../../../src/experiments/color-scheme/generateAlphaColors.ts"],"sourcesContent":["import { parseToRgba } from 'color2k'\n\nconst whiteRgba = [255, 255, 255, 1]\nconst alphaStep = [0.05, 0.1, 0.15, 0.2, 0.27, 0.35, 0.5, 0.7, 0.8, 0.95]\nconst keepWithinRgbaLimit = (arg: number): number =>\n Math.round(Math.max(Math.min(arg, 255), 0))\n\n// (!) Attempt to match to match transparency matching initial colours over white. (Alpha compositing)\n// (!) This function is CLOSE but does not produce exactly the expected colours. It might have to do with the alpha step.\nexport const generateAlphaColors = (\n colorName: string,\n colors: Record<string, string>\n): Record<string, string> => {\n const colorsA = {}\n Object.entries(colors).forEach(([key, value], index) => {\n const [r1, g1, b1] = parseToRgba(value)\n const [r2, g2, b2] = whiteRgba\n const alphaRgbColor = [\n keepWithinRgbaLimit((r1 - r2) / alphaStep[index] + r2),\n keepWithinRgbaLimit((g1 - g2) / alphaStep[index] + g2),\n keepWithinRgbaLimit((b1 - b2) / alphaStep[index] + b2),\n alphaStep[index]\n ]\n\n colorsA[`${colorName}A${index + 1}`] = `rgba(${alphaRgbColor.join(',')})`\n })\n return colorsA\n}\n"],"names":["whiteRgba","alphaStep","keepWithinRgbaLimit","arg","generateAlphaColors","colorName","colors","colorsA","key","value","index","r1","g1","b1","parseToRgba","r2","g2","b2","alphaRgbColor"],"mappings":"sCAEA,MAAMA,EAAY,CAAC,IAAK,IAAK,IAAK,CAAC,EAC7BC,EAAY,CAAC,IAAM,GAAK,IAAM,GAAK,IAAM,IAAM,GAAK,GAAK,GAAK,GAAI,EAClEC,EAAuBC,GAC3B,KAAK,MAAM,KAAK,IAAI,KAAK,IAAIA,EAAK,GAAG,EAAG,CAAC,CAAC,EAI/BC,EAAsB,CACjCC,EACAC,IAC2B,CAC3B,MAAMC,EAAU,CAAC,EACjB,OAAO,OAAA,QAAQD,CAAM,EAAE,QAAQ,CAAC,CAACE,EAAKC,CAAK,EAAGC,IAAU,CACtD,KAAM,CAACC,EAAIC,EAAIC,CAAE,EAAIC,EAAYL,CAAK,EAChC,CAACM,EAAIC,EAAIC,CAAE,EAAIjB,EACfkB,EAAgB,CACpBhB,GAAqBS,EAAKI,GAAMd,EAAUS,GAASK,CAAE,EACrDb,GAAqBU,EAAKI,GAAMf,EAAUS,GAASM,CAAE,EACrDd,GAAqBW,EAAKI,GAAMhB,EAAUS,GAASO,CAAE,EACrDhB,EAAUS,EACZ,EAEAH,EAAQ,GAAGF,KAAaK,EAAQ,KAAO,QAAQQ,EAAc,KAAK,GAAG,IACvE,CAAC,EACMX,CACT"}
@@ -1,2 +0,0 @@
1
- var a="#F6F6F6",e="#EBEBEB",t="#E0E0E0",l="#CECECE",s="#C2C2C2",r="#757575",v="#545454",C="#333333",E="#1F1F1F",F="#1C1C1C",B={slate1:a,slate2:e,slate3:t,slate4:l,slate5:s,slate6:r,slate7:v,slate8:C,slate9:E,slate10:F};export{B as default,a as slate1,F as slate10,e as slate2,t as slate3,l as slate4,s as slate5,r as slate6,v as slate7,C as slate8,E as slate9};
2
- //# sourceMappingURL=slate.json.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slate.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}