@atom-learning/components 2.47.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.
- package/CHANGELOG.md +3 -4
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/tile/Tile.d.ts +224 -0
- package/dist/components/tile/Tile.js +2 -0
- package/dist/components/tile/Tile.js.map +1 -0
- package/dist/components/tile/TileGroup.d.ts +227 -0
- package/dist/components/tile/TileGroup.js +2 -0
- package/dist/components/tile/TileGroup.js.map +1 -0
- package/dist/components/tile/TileNoOverflowContainer.d.ts +425 -0
- package/dist/components/tile/TileNoOverflowContainer.js +2 -0
- package/dist/components/tile/TileNoOverflowContainer.js.map +1 -0
- package/dist/components/tile/index.d.ts +7 -0
- package/dist/components/tile/index.js +2 -0
- package/dist/components/tile/index.js.map +1 -0
- package/dist/components/tile-interactive/TileInteractive.d.ts +868 -0
- package/dist/components/tile-interactive/TileInteractive.js +2 -0
- package/dist/components/tile-interactive/TileInteractive.js.map +1 -0
- package/dist/components/tile-interactive/index.d.ts +1 -0
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +656 -0
- package/dist/components/tile-toggle-group/TileToggleGroupItem.js +2 -0
- package/dist/components/tile-toggle-group/TileToggleGroupItem.js.map +1 -0
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +453 -0
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.js +2 -0
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.js.map +1 -0
- package/dist/components/tile-toggle-group/index.d.ts +7 -0
- package/dist/components/tile-toggle-group/index.js +2 -0
- package/dist/components/tile-toggle-group/index.js.map +1 -0
- package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/utilities/no-overflow-container/NoOverflowContainer.d.ts +425 -0
- package/dist/utilities/no-overflow-container/NoOverflowContainer.js +2 -0
- package/dist/utilities/no-overflow-container/NoOverflowContainer.js.map +1 -0
- package/dist/utilities/no-overflow-container/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
# [2.
|
|
1
|
+
# [2.48.0](https://github.com/Atom-Learning/components/compare/v2.47.0...v2.48.0) (2023-04-13)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* ts fix/hack ([d13a7f9](https://github.com/Atom-Learning/components/commit/d13a7f9ded696d44ec7b86dc528e3be04af74e8e))
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
|
-
*
|
|
12
|
-
* update docs ([b0ebd78](https://github.com/Atom-Learning/components/commit/b0ebd78d2c2911fd78a0bb6322b283fb49cc6d7c))
|
|
11
|
+
* add Tile component ([563cd14](https://github.com/Atom-Learning/components/commit/563cd14408c7d00da9f6f4dfdd4ab832e3753b4c))
|
|
13
12
|
|
|
14
13
|
# [1.4.0](https://github.com/Atom-Learning/components/compare/v1.3.0...v1.4.0) (2022-04-11)
|
|
15
14
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ok as
|
|
1
|
+
import{Ok as m}from"@atom-learning/icons";import*as n from"@radix-ui/react-toggle-group";import*as o from"react";import{Chip as t}from"../chip/Chip.js";import"../chip/ChipGroup.js";import{Icon as s}from"../icon/Icon.js";import{styled as r}from"../../stitches.js";import{focusVisibleStyleBlock as c}from"../../utilities/style/focus-visible-style-block.js";const e=r(s,{display:"none"}),p=r(t,{"&:not([disabled])":{cursor:"pointer","&:hover":{bg:"$tonal100",color:"$tonal600",borderColor:"currentColor"},"&:focus-visible":{...c()},'&[data-state="on"]':{"&:hover":{bg:"$white",color:"$primaryDark"}}},'&[data-state="off"]':{color:"$tonal400",bg:"$tonal50",borderColor:"$tonal200"},'&[data-state="on"]':{[`& ${e}`]:{display:"block"}}}),d=({size:l="md",children:a,...i})=>o.createElement(n.Item,{...i,asChild:!0},o.createElement(p,{asWorkaround:"button"},o.createElement(e,{is:m,size:l==="lg"?"md":"sm"}),o.createElement(t.Content,null,a)));export{d as ChipToggleGroupItem};
|
|
2
2
|
//# sourceMappingURL=ChipToggleGroupItem.js.map
|
|
@@ -71,3 +71,6 @@ export { ToggleGroup } from './toggle-group';
|
|
|
71
71
|
export { Tooltip } from './tooltip';
|
|
72
72
|
export { TopBar } from './top-bar';
|
|
73
73
|
export { Video } from './video';
|
|
74
|
+
export { Tile, TileGroup } from './tile';
|
|
75
|
+
export { TileInteractive } from './tile-interactive';
|
|
76
|
+
export { TileToggleGroup } from './tile-toggle-group';
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TcolorScheme } from '../../experiments/color-scheme';
|
|
3
|
+
export declare const StyledTile: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
4
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5
|
+
border?: boolean | "true" | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
xl: string;
|
|
11
|
+
reducedMotion: string;
|
|
12
|
+
allowMotion: string;
|
|
13
|
+
hover: string;
|
|
14
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
15
|
+
sm: string;
|
|
16
|
+
md: string;
|
|
17
|
+
lg: string;
|
|
18
|
+
xl: string;
|
|
19
|
+
reducedMotion: string;
|
|
20
|
+
allowMotion: string;
|
|
21
|
+
hover: string;
|
|
22
|
+
}, {
|
|
23
|
+
colors: {
|
|
24
|
+
textForeground: any;
|
|
25
|
+
textSubtle: any;
|
|
26
|
+
textPlaceholder: any;
|
|
27
|
+
background: any;
|
|
28
|
+
backgroundAccent: any;
|
|
29
|
+
grey100: any;
|
|
30
|
+
grey200: any;
|
|
31
|
+
grey300: any;
|
|
32
|
+
grey400: any;
|
|
33
|
+
grey500: any;
|
|
34
|
+
grey600: any;
|
|
35
|
+
grey700: any;
|
|
36
|
+
grey800: any;
|
|
37
|
+
grey900: any;
|
|
38
|
+
grey1000: any;
|
|
39
|
+
grey1100: any;
|
|
40
|
+
grey1200: any;
|
|
41
|
+
blue100: any;
|
|
42
|
+
blue200: any;
|
|
43
|
+
blue300: any;
|
|
44
|
+
blue400: any;
|
|
45
|
+
blue500: any;
|
|
46
|
+
blue600: any;
|
|
47
|
+
blue700: any;
|
|
48
|
+
blue800: any;
|
|
49
|
+
blue900: any;
|
|
50
|
+
blue1000: any;
|
|
51
|
+
blue1100: any;
|
|
52
|
+
blue1200: any;
|
|
53
|
+
purple100: any;
|
|
54
|
+
purple200: any;
|
|
55
|
+
purple300: any;
|
|
56
|
+
purple400: any;
|
|
57
|
+
purple500: any;
|
|
58
|
+
purple600: any;
|
|
59
|
+
purple700: any;
|
|
60
|
+
purple800: any;
|
|
61
|
+
purple900: any;
|
|
62
|
+
purple1000: any;
|
|
63
|
+
purple1100: any;
|
|
64
|
+
purple1200: any;
|
|
65
|
+
tonal50: any;
|
|
66
|
+
tonal100: any;
|
|
67
|
+
tonal200: any;
|
|
68
|
+
tonal300: any;
|
|
69
|
+
tonal400: any;
|
|
70
|
+
tonal500: any;
|
|
71
|
+
tonal600: any;
|
|
72
|
+
alpha100: any;
|
|
73
|
+
alpha150: any;
|
|
74
|
+
alpha200: any;
|
|
75
|
+
alpha250: any;
|
|
76
|
+
alpha600: any;
|
|
77
|
+
primaryLight: any;
|
|
78
|
+
primary: any;
|
|
79
|
+
primaryMid: any;
|
|
80
|
+
primaryDark: any;
|
|
81
|
+
secondary: any;
|
|
82
|
+
brandRed: any;
|
|
83
|
+
brandRedAccent: any;
|
|
84
|
+
brandGreen: any;
|
|
85
|
+
brandGreenAccent: any;
|
|
86
|
+
brandPurple: any;
|
|
87
|
+
brandPurpleAccent: any;
|
|
88
|
+
brandYellow: any;
|
|
89
|
+
brandYellowAccent: any;
|
|
90
|
+
successLight: any;
|
|
91
|
+
success: any;
|
|
92
|
+
successMid: any;
|
|
93
|
+
successDark: any;
|
|
94
|
+
dangerLight: any;
|
|
95
|
+
danger: any;
|
|
96
|
+
dangerMid: any;
|
|
97
|
+
dangerDark: any;
|
|
98
|
+
warningLight: any;
|
|
99
|
+
warning: any;
|
|
100
|
+
warningMid: any;
|
|
101
|
+
warningDark: any;
|
|
102
|
+
warningText: any;
|
|
103
|
+
subjectEnglish: any;
|
|
104
|
+
subjectMaths: any;
|
|
105
|
+
subjectScience: any;
|
|
106
|
+
subjectVerbalReasoning: any;
|
|
107
|
+
subjectNonVerbalReasoning: any;
|
|
108
|
+
subjectCreativeWriting: any;
|
|
109
|
+
subjectExamSkills: any;
|
|
110
|
+
};
|
|
111
|
+
space: {
|
|
112
|
+
"0": any;
|
|
113
|
+
"1": any;
|
|
114
|
+
"2": any;
|
|
115
|
+
"3": any;
|
|
116
|
+
"4": any;
|
|
117
|
+
"5": any;
|
|
118
|
+
"6": any;
|
|
119
|
+
"7": any;
|
|
120
|
+
"8": any;
|
|
121
|
+
"9": any;
|
|
122
|
+
"24": any;
|
|
123
|
+
};
|
|
124
|
+
fontSizes: {
|
|
125
|
+
xs: any;
|
|
126
|
+
sm: any;
|
|
127
|
+
md: any;
|
|
128
|
+
lg: any;
|
|
129
|
+
xl: any;
|
|
130
|
+
"2xl": any;
|
|
131
|
+
"3xl": any;
|
|
132
|
+
"4xl": any;
|
|
133
|
+
};
|
|
134
|
+
fonts: {
|
|
135
|
+
sans: any;
|
|
136
|
+
mono: any;
|
|
137
|
+
display: any;
|
|
138
|
+
body: any;
|
|
139
|
+
};
|
|
140
|
+
sizes: {
|
|
141
|
+
"0": any;
|
|
142
|
+
"1": any;
|
|
143
|
+
"2": any;
|
|
144
|
+
"3": any;
|
|
145
|
+
"4": any;
|
|
146
|
+
"5": any;
|
|
147
|
+
"6": any;
|
|
148
|
+
"7": any;
|
|
149
|
+
"8": any;
|
|
150
|
+
};
|
|
151
|
+
radii: {
|
|
152
|
+
"0": any;
|
|
153
|
+
"1": any;
|
|
154
|
+
"2": any;
|
|
155
|
+
"3": any;
|
|
156
|
+
round: any;
|
|
157
|
+
};
|
|
158
|
+
shadows: {
|
|
159
|
+
"0": any;
|
|
160
|
+
"1": any;
|
|
161
|
+
"2": any;
|
|
162
|
+
"3": any;
|
|
163
|
+
};
|
|
164
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
165
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
166
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
167
|
+
};
|
|
168
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
169
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
170
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
171
|
+
};
|
|
172
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
173
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
174
|
+
};
|
|
175
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
176
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
177
|
+
};
|
|
178
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
179
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
180
|
+
};
|
|
181
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
182
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
183
|
+
};
|
|
184
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
185
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
186
|
+
};
|
|
187
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
188
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
189
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
190
|
+
};
|
|
191
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
192
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
193
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
194
|
+
};
|
|
195
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
196
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
197
|
+
};
|
|
198
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
199
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
200
|
+
};
|
|
201
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
202
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
203
|
+
};
|
|
204
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
205
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
206
|
+
};
|
|
207
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
208
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
209
|
+
};
|
|
210
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
211
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
212
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
213
|
+
};
|
|
214
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
215
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
216
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
217
|
+
};
|
|
218
|
+
}>>;
|
|
219
|
+
declare type TTileProps = React.ComponentProps<typeof StyledTile> & {
|
|
220
|
+
asWorkaround?: React.ElementType;
|
|
221
|
+
colorScheme?: TcolorScheme;
|
|
222
|
+
};
|
|
223
|
+
export declare const Tile: React.ForwardRefExoticComponent<Pick<TTileProps, "colorScheme" | "border" | "borderRadius" | "css" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asWorkaround"> & React.RefAttributes<HTMLButtonElement>>;
|
|
224
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"react";import{ColorScheme as s}from"../../experiments/color-scheme/ColorScheme.js";import{styled as n}from"../../stitches.js";const r=n("div",{all:"unset",boxSizing:"border-box",display:"flex",flexDirection:"column",position:"relative",border:"1px solid",bg:"$base1",color:"$foreground",borderColor:"transparent",variants:{borderRadius:{sm:{borderRadius:"$0"},md:{borderRadius:"$1"},lg:{borderRadius:"$3"}},border:{true:{borderColor:"$base3"}}}}),o=e.forwardRef(({children:a,asWorkaround:l,colorScheme:d={},...i},t)=>e.createElement(s,{asChild:!0,base:"grey1",accent:"blue2",interactive:"loContrast",...d},e.createElement(r,{ref:t,as:l,...i},a)));o.displayName="Tile";export{r as StyledTile,o as Tile};
|
|
2
|
+
//# sourceMappingURL=Tile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tile.js","sources":["../../../src/components/tile/Tile.tsx"],"sourcesContent":["import React from 'react'\n\nimport { ColorScheme, TcolorScheme } from '~/experiments/color-scheme'\nimport { styled } from '~/stitches'\n\nexport const StyledTile = styled('div', {\n all: 'unset', // important for buttons etc\n boxSizing: 'border-box',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative', // for pseudo-elements\n border: '1px solid',\n bg: '$base1',\n color: '$foreground',\n borderColor: 'transparent',\n variants: {\n borderRadius: {\n sm: { borderRadius: '$0' },\n md: { borderRadius: '$1' },\n lg: { borderRadius: '$3' }\n },\n border: {\n true: { borderColor: '$base3' }\n }\n }\n})\n\ntype TTileProps = React.ComponentProps<typeof StyledTile> & {\n asWorkaround?: React.ElementType // (!?) `asWorkaround` rather than `as` because, it seems, when we extend this via `styled()` stitches overrides this component from the first argument for the value in `as`\n colorScheme?: TcolorScheme\n}\n\nexport const Tile = React.forwardRef<HTMLButtonElement, TTileProps>(\n ({ children, asWorkaround, colorScheme = {}, ...rest }, ref) => (\n <ColorScheme\n asChild\n base=\"grey1\"\n accent=\"blue2\"\n interactive=\"loContrast\"\n {...colorScheme}\n >\n <StyledTile ref={ref} as={asWorkaround} {...rest}>\n {children}\n </StyledTile>\n </ColorScheme>\n )\n)\n\nTile.displayName = 'Tile'\n"],"names":["StyledTile","styled","Tile","React","children","asWorkaround","colorScheme","rest","ref","ColorScheme"],"mappings":"4IAKa,MAAAA,EAAaC,EAAO,MAAO,CACtC,IAAK,QACL,UAAW,aACX,QAAS,OACT,cAAe,SACf,SAAU,WACV,OAAQ,YACR,GAAI,SACJ,MAAO,cACP,YAAa,cACb,SAAU,CACR,aAAc,CACZ,GAAI,CAAE,aAAc,IAAK,EACzB,GAAI,CAAE,aAAc,IAAK,EACzB,GAAI,CAAE,aAAc,IAAK,CAC3B,EACA,OAAQ,CACN,KAAM,CAAE,YAAa,QAAS,CAChC,CACF,CACF,CAAC,EAOYC,EAAOC,EAAM,WACxB,CAAC,CAAE,SAAAC,EAAU,aAAAC,EAAc,YAAAC,EAAc,CAAA,KAAOC,CAAK,EAAGC,IACtDL,EAAA,cAACM,EAAA,CACC,QAAO,GACP,KAAK,QACL,OAAO,QACP,YAAY,aACX,GAAGH,CAAAA,EAEJH,EAAA,cAACH,GAAW,IAAKQ,EAAK,GAAIH,EAAe,GAAGE,CAAAA,EACzCH,CACH,CACF,CAEJ,EAEAF,EAAK,YAAc"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TileGroup: import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, "direction" | "gap" | "css" | "wrap" | "justify" | "align"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
5
|
+
direction?: "row" | "column" | "row-reverse" | undefined;
|
|
6
|
+
wrap?: "wrap" | "wrap-reverse" | "no-wrap" | undefined;
|
|
7
|
+
justify?: boolean | "center" | "false" | "end" | "start" | undefined;
|
|
8
|
+
align?: boolean | "center" | "false" | "end" | "start" | undefined;
|
|
9
|
+
gap?: number | boolean | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | "false" | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
sm: string;
|
|
12
|
+
md: string;
|
|
13
|
+
lg: string;
|
|
14
|
+
xl: string;
|
|
15
|
+
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
17
|
+
hover: string;
|
|
18
|
+
}> & {
|
|
19
|
+
css?: import("@stitches/react/types/css-util").CSS<{
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
xl: string;
|
|
24
|
+
reducedMotion: string;
|
|
25
|
+
allowMotion: string;
|
|
26
|
+
hover: string;
|
|
27
|
+
}, {
|
|
28
|
+
colors: {
|
|
29
|
+
textForeground: any;
|
|
30
|
+
textSubtle: any;
|
|
31
|
+
textPlaceholder: any;
|
|
32
|
+
background: any;
|
|
33
|
+
backgroundAccent: any;
|
|
34
|
+
grey100: any;
|
|
35
|
+
grey200: any;
|
|
36
|
+
grey300: any;
|
|
37
|
+
grey400: any;
|
|
38
|
+
grey500: any;
|
|
39
|
+
grey600: any;
|
|
40
|
+
grey700: any;
|
|
41
|
+
grey800: any;
|
|
42
|
+
grey900: any;
|
|
43
|
+
grey1000: any;
|
|
44
|
+
grey1100: any;
|
|
45
|
+
grey1200: any;
|
|
46
|
+
blue100: any;
|
|
47
|
+
blue200: any;
|
|
48
|
+
blue300: any;
|
|
49
|
+
blue400: any;
|
|
50
|
+
blue500: any;
|
|
51
|
+
blue600: any;
|
|
52
|
+
blue700: any;
|
|
53
|
+
blue800: any;
|
|
54
|
+
blue900: any;
|
|
55
|
+
blue1000: any;
|
|
56
|
+
blue1100: any;
|
|
57
|
+
blue1200: any;
|
|
58
|
+
purple100: any;
|
|
59
|
+
purple200: any;
|
|
60
|
+
purple300: any;
|
|
61
|
+
purple400: any;
|
|
62
|
+
purple500: any;
|
|
63
|
+
purple600: any;
|
|
64
|
+
purple700: any;
|
|
65
|
+
purple800: any;
|
|
66
|
+
purple900: any;
|
|
67
|
+
purple1000: any;
|
|
68
|
+
purple1100: any;
|
|
69
|
+
purple1200: any;
|
|
70
|
+
tonal50: any;
|
|
71
|
+
tonal100: any;
|
|
72
|
+
tonal200: any;
|
|
73
|
+
tonal300: any;
|
|
74
|
+
tonal400: any;
|
|
75
|
+
tonal500: any;
|
|
76
|
+
tonal600: any;
|
|
77
|
+
alpha100: any;
|
|
78
|
+
alpha150: any;
|
|
79
|
+
alpha200: any;
|
|
80
|
+
alpha250: any;
|
|
81
|
+
alpha600: any;
|
|
82
|
+
primaryLight: any;
|
|
83
|
+
primary: any;
|
|
84
|
+
primaryMid: any;
|
|
85
|
+
primaryDark: any;
|
|
86
|
+
secondary: any;
|
|
87
|
+
brandRed: any;
|
|
88
|
+
brandRedAccent: any;
|
|
89
|
+
brandGreen: any;
|
|
90
|
+
brandGreenAccent: any;
|
|
91
|
+
brandPurple: any;
|
|
92
|
+
brandPurpleAccent: any;
|
|
93
|
+
brandYellow: any;
|
|
94
|
+
brandYellowAccent: any;
|
|
95
|
+
successLight: any;
|
|
96
|
+
success: any;
|
|
97
|
+
successMid: any;
|
|
98
|
+
successDark: any;
|
|
99
|
+
dangerLight: any;
|
|
100
|
+
danger: any;
|
|
101
|
+
dangerMid: any;
|
|
102
|
+
dangerDark: any;
|
|
103
|
+
warningLight: any;
|
|
104
|
+
warning: any;
|
|
105
|
+
warningMid: any;
|
|
106
|
+
warningDark: any;
|
|
107
|
+
warningText: any;
|
|
108
|
+
subjectEnglish: any;
|
|
109
|
+
subjectMaths: any;
|
|
110
|
+
subjectScience: any;
|
|
111
|
+
subjectVerbalReasoning: any;
|
|
112
|
+
subjectNonVerbalReasoning: any;
|
|
113
|
+
subjectCreativeWriting: any;
|
|
114
|
+
subjectExamSkills: any;
|
|
115
|
+
};
|
|
116
|
+
space: {
|
|
117
|
+
"0": any;
|
|
118
|
+
"1": any;
|
|
119
|
+
"2": any;
|
|
120
|
+
"3": any;
|
|
121
|
+
"4": any;
|
|
122
|
+
"5": any;
|
|
123
|
+
"6": any;
|
|
124
|
+
"7": any;
|
|
125
|
+
"8": any;
|
|
126
|
+
"9": any;
|
|
127
|
+
"24": any;
|
|
128
|
+
};
|
|
129
|
+
fontSizes: {
|
|
130
|
+
xs: any;
|
|
131
|
+
sm: any;
|
|
132
|
+
md: any;
|
|
133
|
+
lg: any;
|
|
134
|
+
xl: any;
|
|
135
|
+
"2xl": any;
|
|
136
|
+
"3xl": any;
|
|
137
|
+
"4xl": any;
|
|
138
|
+
};
|
|
139
|
+
fonts: {
|
|
140
|
+
sans: any;
|
|
141
|
+
mono: any;
|
|
142
|
+
display: any;
|
|
143
|
+
body: any;
|
|
144
|
+
};
|
|
145
|
+
sizes: {
|
|
146
|
+
"0": any;
|
|
147
|
+
"1": any;
|
|
148
|
+
"2": any;
|
|
149
|
+
"3": any;
|
|
150
|
+
"4": any;
|
|
151
|
+
"5": any;
|
|
152
|
+
"6": any;
|
|
153
|
+
"7": any;
|
|
154
|
+
"8": any;
|
|
155
|
+
};
|
|
156
|
+
radii: {
|
|
157
|
+
"0": any;
|
|
158
|
+
"1": any;
|
|
159
|
+
"2": any;
|
|
160
|
+
"3": any;
|
|
161
|
+
round: any;
|
|
162
|
+
};
|
|
163
|
+
shadows: {
|
|
164
|
+
"0": any;
|
|
165
|
+
"1": any;
|
|
166
|
+
"2": any;
|
|
167
|
+
"3": any;
|
|
168
|
+
};
|
|
169
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
170
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
171
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
172
|
+
};
|
|
173
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
174
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
175
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
176
|
+
};
|
|
177
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
178
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
179
|
+
};
|
|
180
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
181
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
182
|
+
};
|
|
183
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
184
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
185
|
+
};
|
|
186
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
187
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
188
|
+
};
|
|
189
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
190
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
191
|
+
};
|
|
192
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
193
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
194
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
195
|
+
};
|
|
196
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
197
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
198
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
199
|
+
};
|
|
200
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
201
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
202
|
+
};
|
|
203
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
204
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
205
|
+
};
|
|
206
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
207
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
208
|
+
};
|
|
209
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
210
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
211
|
+
};
|
|
212
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
213
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
214
|
+
};
|
|
215
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
216
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
217
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
218
|
+
};
|
|
219
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
220
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
221
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
222
|
+
};
|
|
223
|
+
}> | undefined;
|
|
224
|
+
} & {
|
|
225
|
+
css?: import("../..").CSS | undefined;
|
|
226
|
+
as?: any;
|
|
227
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileGroup.js","sources":["../../../src/components/tile/TileGroup.tsx"],"sourcesContent":["import { Stack } from '~/components/stack'\n\nexport const TileGroup = Stack\n"],"names":["TileGroup","Stack"],"mappings":"0CAEO,MAAMA,EAAYC"}
|