@atom-learning/components 4.6.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +0 -1
- package/dist/components/markdown-content/MarkdownContent.d.ts +734 -3
- package/dist/components/markdown-content/MarkdownContent.js +1 -1
- package/dist/components/markdown-content/MarkdownContent.js.map +1 -1
- package/dist/components/pagination/PaginationPopover.js +1 -1
- package/dist/components/pagination/PaginationPopover.js.map +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/package.json +1 -1
- package/dist/components/stack-content/StackContent.d.ts +0 -372
- package/dist/components/stack-content/StackContent.js +0 -2
- package/dist/components/stack-content/StackContent.js.map +0 -1
- package/dist/components/stack-content/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 s,useAlert as u}from"./components/alert-dialog/alert-context/AlertContext.js";import{Avatar as
|
|
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 s,useAlert as u}from"./components/alert-dialog/alert-context/AlertContext.js";import{Avatar as T}from"./components/avatar/Avatar.js";import{Badge as S}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 y}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 K}from"./components/chip/ChipGroup.js";import{ChipDismissibleGroup as q}from"./components/chip-dismissible-group/index.js";import{ChipToggleGroup as J}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 go}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 Po}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,InputBackground as Ko,InputText as jo}from"./components/input/Input.js";import{InputField as zo}from"./components/input-field/InputField.js";import{Label as Qo}from"./components/label/Label.js";import{Link as Xo,StyledLink as Yo}from"./components/link/Link.js";import{List as _o}from"./components/list/List.js";import{Loader as or}from"./components/loader/Loader.js";import{MarkdownContent as er}from"./components/markdown-content/MarkdownContent.js";import{NavigationMenu as pr}from"./components/navigation/NavigationMenu.js";import{NavigationMenuVertical as xr}from"./components/navigation-menu-vertical/NavigationMenuVertical.js";import{NotificationBadge as ir}from"./components/notification-badge/NotificationBadge.js";import{NumberInput as lr}from"./components/number-input/NumberInput.js";import{NumberInputField as dr}from"./components/number-input-field/NumberInputField.js";import{Pagination as ur}from"./components/pagination/Pagination.js";import{PasswordField as Tr}from"./components/password-field/PasswordField.js";import{PasswordInput as Sr}from"./components/password-input/PasswordInput.js";import{Popover as Cr}from"./components/popover/Popover.js";import{ProgressBar as hr}from"./components/progress-bar/ProgressBar.js";import{RadioButton as Ir}from"./components/radio-button/RadioButton.js";import{RadioButtonGroup as kr}from"./components/radio-button/RadioButtonGroup.js";import{RadioButtonField as vr}from"./components/radio-button-field/RadioButtonField.js";import{RadioCard as yr}from"./components/radio-card/RadioCard.js";import{RadioCardGroup as Ar}from"./components/radio-card/RadioCardGroup.js";import{SearchField as Nr}from"./components/search-field/SearchField.js";import{SearchInput as Lr}from"./components/search-input/SearchInput.js";import{SectionMessage as Wr}from"./components/section-message/SectionMessage.js";import{Select as Er}from"./components/select/Select.js";import{SelectField as Kr}from"./components/select-field/SelectField.js";import{SideBar as qr}from"./components/side-bar/SideBar.js";import{useSidebarState as Jr}from"./components/side-bar/SideBarContext.js";import{Slider as Ur}from"./components/slider/Slider.js";import{SliderField as Yr}from"./components/slider-field/SliderField.js";import{Sortable as _r}from"./components/sortable/index.js";import{Spacer as oe}from"./components/spacer/Spacer.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 de}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 Se}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 ye}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{KeyboardShortcut as We}from"./components/keyboard-shortcut/index.js";import{SegmentedControl as Ee}from"./components/segmented-control/SegmentedControl.js";import{FileDrop as Ke}from"./components/file-drop/FileDrop.js";import{useFileDrop as qe}from"./components/file-drop/useFileDrop.js";import{createTheme as Je,css as Qe,getCssText as Ue,globalCss as Xe,keyframes as Ye,media as Ze,styled as _e,theme as $e,utils as ot}from"./stitches.js";import{ColorScheme as et}from"./experiments/color-scheme/ColorScheme.js";import{createThemeVariants as pt}from"./utilities/create-theme-variants/createThemeVariants.js";import"./utilities/css-wrapper/CSSWrapper.js";import{NoOverflowWrapper as xt,noOverflowStyleBlock as ft}from"./utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as at}from"./utilities/style/focus-visible-style-block.js";import"./utilities/style/keyframe-animations.js";import{default as nt}from"react-hot-toast";export{f as Accordion,a as ActionIcon,n as AlertDialog,s as AlertProvider,T as Avatar,S 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,q as ChipDismissibleGroup,K as ChipGroup,J as ChipToggleGroup,et 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,go as DropdownMenu,bo as EmptyState,Fo as FieldWrapper,Ke as FileDrop,Do as FileInput,Go as Flex,wo as Form,Po as Grid,Mo as Heading,Ro as Icon,Vo as Image,Bo as InlineFieldWrapper,Oo as InlineMessage,Ho as Input,Ko as InputBackground,zo as InputField,jo as InputText,We as KeyboardShortcut,Qo as Label,Xo as Link,_o as List,or as Loader,er as MarkdownContent,pr as NavigationMenu,xr as NavigationMenuVertical,xt as NoOverflowWrapper,ir as NotificationBadge,lr as NumberInput,dr as NumberInputField,ur as Pagination,Tr as PasswordField,Sr as PasswordInput,Cr as Popover,hr as ProgressBar,Ir as RadioButton,vr as RadioButtonField,kr as RadioButtonGroup,yr as RadioCard,Ar as RadioCardGroup,Nr as SearchField,Lr as SearchInput,Wr as SectionMessage,Ee as SegmentedControl,Er as Select,Kr as SelectField,qr as SideBar,Ur as Slider,Yr as SliderField,_r as Sortable,oe as Spacer,ee as Stepper,G as StyledButton,Yo as StyledLink,pe as Switch,xe as Table,ie as Tabs,le as Text,de as Textarea,ue as TextareaField,Te as Tile,Se as TileGroup,Ce as TileInteractive,he as TileToggleGroup,Ie as Toast,ke as ToastProvider,ve as ToggleGroup,ye as Tooltip,Ae as TopBar,Ne as Tree,Le as Video,Je as createTheme,pt as createThemeVariants,Qe as css,at as focusVisibleStyleBlock,Ue as getCssText,Xe as globalCss,Ye as keyframes,Ze as media,ft as noOverflowStyleBlock,_e as styled,$e as theme,nt as toast,u as useAlert,y as useCarousel,_ as useDataTable,qe as useFileDrop,Jr as useSidebarState,ot as utils};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { CSS } from '../../stitches';
|
|
3
|
-
declare const StyledStackContent: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"div", {}, {
|
|
4
|
-
sm: string;
|
|
5
|
-
md: string;
|
|
6
|
-
lg: string;
|
|
7
|
-
xl: string;
|
|
8
|
-
reducedMotion: string;
|
|
9
|
-
allowMotion: string;
|
|
10
|
-
hover: string;
|
|
11
|
-
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
12
|
-
sm: string;
|
|
13
|
-
md: string;
|
|
14
|
-
lg: string;
|
|
15
|
-
xl: string;
|
|
16
|
-
reducedMotion: string;
|
|
17
|
-
allowMotion: string;
|
|
18
|
-
hover: string;
|
|
19
|
-
}, {
|
|
20
|
-
colors: {
|
|
21
|
-
textBold: string;
|
|
22
|
-
textRegular: string;
|
|
23
|
-
textSubtle: string;
|
|
24
|
-
textMinimal: string;
|
|
25
|
-
background: string;
|
|
26
|
-
backgroundAccent: string;
|
|
27
|
-
grey100: string;
|
|
28
|
-
grey200: string;
|
|
29
|
-
grey300: string;
|
|
30
|
-
grey400: string;
|
|
31
|
-
grey500: string;
|
|
32
|
-
grey600: string;
|
|
33
|
-
grey700: string;
|
|
34
|
-
grey800: string;
|
|
35
|
-
grey900: string;
|
|
36
|
-
grey1000: string;
|
|
37
|
-
grey1100: string;
|
|
38
|
-
grey1200: string;
|
|
39
|
-
blue100: string;
|
|
40
|
-
blue200: string;
|
|
41
|
-
blue300: string;
|
|
42
|
-
blue400: string;
|
|
43
|
-
blue500: string;
|
|
44
|
-
blue600: string;
|
|
45
|
-
blue700: string;
|
|
46
|
-
blue800: string;
|
|
47
|
-
blue900: string;
|
|
48
|
-
blue1000: string;
|
|
49
|
-
blue1100: string;
|
|
50
|
-
blue1200: string;
|
|
51
|
-
pink100: string;
|
|
52
|
-
pink200: string;
|
|
53
|
-
pink300: string;
|
|
54
|
-
pink400: string;
|
|
55
|
-
pink500: string;
|
|
56
|
-
pink600: string;
|
|
57
|
-
pink700: string;
|
|
58
|
-
pink800: string;
|
|
59
|
-
pink900: string;
|
|
60
|
-
pink1000: string;
|
|
61
|
-
pink1100: string;
|
|
62
|
-
pink1200: string;
|
|
63
|
-
purple100: string;
|
|
64
|
-
purple200: string;
|
|
65
|
-
purple300: string;
|
|
66
|
-
purple400: string;
|
|
67
|
-
purple500: string;
|
|
68
|
-
purple600: string;
|
|
69
|
-
purple700: string;
|
|
70
|
-
purple800: string;
|
|
71
|
-
purple900: string;
|
|
72
|
-
purple1000: string;
|
|
73
|
-
purple1100: string;
|
|
74
|
-
purple1200: string;
|
|
75
|
-
cyan100: string;
|
|
76
|
-
cyan200: string;
|
|
77
|
-
cyan300: string;
|
|
78
|
-
cyan400: string;
|
|
79
|
-
cyan500: string;
|
|
80
|
-
cyan600: string;
|
|
81
|
-
cyan700: string;
|
|
82
|
-
cyan800: string;
|
|
83
|
-
cyan900: string;
|
|
84
|
-
cyan1000: string;
|
|
85
|
-
cyan1100: string;
|
|
86
|
-
cyan1200: string;
|
|
87
|
-
green100: string;
|
|
88
|
-
green200: string;
|
|
89
|
-
green300: string;
|
|
90
|
-
green400: string;
|
|
91
|
-
green500: string;
|
|
92
|
-
green600: string;
|
|
93
|
-
green700: string;
|
|
94
|
-
green800: string;
|
|
95
|
-
green900: string;
|
|
96
|
-
green1000: string;
|
|
97
|
-
green1100: string;
|
|
98
|
-
green1200: string;
|
|
99
|
-
magenta100: string;
|
|
100
|
-
magenta200: string;
|
|
101
|
-
magenta300: string;
|
|
102
|
-
magenta400: string;
|
|
103
|
-
magenta500: string;
|
|
104
|
-
magenta600: string;
|
|
105
|
-
magenta700: string;
|
|
106
|
-
magenta800: string;
|
|
107
|
-
magenta900: string;
|
|
108
|
-
magenta1000: string;
|
|
109
|
-
magenta1100: string;
|
|
110
|
-
magenta1200: string;
|
|
111
|
-
red100: string;
|
|
112
|
-
red200: string;
|
|
113
|
-
red300: string;
|
|
114
|
-
red400: string;
|
|
115
|
-
red500: string;
|
|
116
|
-
red600: string;
|
|
117
|
-
red700: string;
|
|
118
|
-
red800: string;
|
|
119
|
-
red900: string;
|
|
120
|
-
red1000: string;
|
|
121
|
-
red1100: string;
|
|
122
|
-
red1200: string;
|
|
123
|
-
teal100: string;
|
|
124
|
-
teal200: string;
|
|
125
|
-
teal300: string;
|
|
126
|
-
teal400: string;
|
|
127
|
-
teal500: string;
|
|
128
|
-
teal600: string;
|
|
129
|
-
teal700: string;
|
|
130
|
-
teal800: string;
|
|
131
|
-
teal900: string;
|
|
132
|
-
teal1000: string;
|
|
133
|
-
teal1100: string;
|
|
134
|
-
teal1200: string;
|
|
135
|
-
orange100: string;
|
|
136
|
-
orange200: string;
|
|
137
|
-
orange300: string;
|
|
138
|
-
orange400: string;
|
|
139
|
-
orange500: string;
|
|
140
|
-
orange600: string;
|
|
141
|
-
orange700: string;
|
|
142
|
-
orange800: string;
|
|
143
|
-
orange900: string;
|
|
144
|
-
orange1000: string;
|
|
145
|
-
orange1100: string;
|
|
146
|
-
orange1200: string;
|
|
147
|
-
yellow100: string;
|
|
148
|
-
yellow200: string;
|
|
149
|
-
yellow300: string;
|
|
150
|
-
yellow400: string;
|
|
151
|
-
yellow500: string;
|
|
152
|
-
yellow600: string;
|
|
153
|
-
yellow700: string;
|
|
154
|
-
yellow800: string;
|
|
155
|
-
yellow900: string;
|
|
156
|
-
yellow1000: string;
|
|
157
|
-
yellow1100: string;
|
|
158
|
-
yellow1200: string;
|
|
159
|
-
lime100: string;
|
|
160
|
-
lime200: string;
|
|
161
|
-
lime300: string;
|
|
162
|
-
lime400: string;
|
|
163
|
-
lime500: string;
|
|
164
|
-
lime600: string;
|
|
165
|
-
lime700: string;
|
|
166
|
-
lime800: string;
|
|
167
|
-
lime900: string;
|
|
168
|
-
lime1000: string;
|
|
169
|
-
lime1100: string;
|
|
170
|
-
lime1200: string;
|
|
171
|
-
lapis100: string;
|
|
172
|
-
lapis200: string;
|
|
173
|
-
lapis300: string;
|
|
174
|
-
lapis400: string;
|
|
175
|
-
lapis500: string;
|
|
176
|
-
lapis600: string;
|
|
177
|
-
lapis700: string;
|
|
178
|
-
lapis800: string;
|
|
179
|
-
lapis900: string;
|
|
180
|
-
lapis1000: string;
|
|
181
|
-
lapis1100: string;
|
|
182
|
-
lapis1200: string;
|
|
183
|
-
maroon100: string;
|
|
184
|
-
maroon200: string;
|
|
185
|
-
maroon300: string;
|
|
186
|
-
maroon400: string;
|
|
187
|
-
maroon500: string;
|
|
188
|
-
maroon600: string;
|
|
189
|
-
maroon700: string;
|
|
190
|
-
maroon800: string;
|
|
191
|
-
maroon900: string;
|
|
192
|
-
maroon1000: string;
|
|
193
|
-
maroon1100: string;
|
|
194
|
-
maroon1200: string;
|
|
195
|
-
marsh100: string;
|
|
196
|
-
marsh200: string;
|
|
197
|
-
marsh300: string;
|
|
198
|
-
marsh400: string;
|
|
199
|
-
marsh500: string;
|
|
200
|
-
marsh600: string;
|
|
201
|
-
marsh700: string;
|
|
202
|
-
marsh800: string;
|
|
203
|
-
marsh900: string;
|
|
204
|
-
marsh1000: string;
|
|
205
|
-
marsh1100: string;
|
|
206
|
-
marsh1200: string;
|
|
207
|
-
alpha100: string;
|
|
208
|
-
alpha150: string;
|
|
209
|
-
alpha200: string;
|
|
210
|
-
alpha250: string;
|
|
211
|
-
alpha600: string;
|
|
212
|
-
infoLight: string;
|
|
213
|
-
info: string;
|
|
214
|
-
infoMid: string;
|
|
215
|
-
infoDark: string;
|
|
216
|
-
successLight: string;
|
|
217
|
-
success: string;
|
|
218
|
-
successMid: string;
|
|
219
|
-
successDark: string;
|
|
220
|
-
dangerLight: string;
|
|
221
|
-
danger: string;
|
|
222
|
-
dangerMid: string;
|
|
223
|
-
dangerDark: string;
|
|
224
|
-
warningLight: string;
|
|
225
|
-
warning: string;
|
|
226
|
-
warningMid: string;
|
|
227
|
-
warningDark: string;
|
|
228
|
-
warningText: string;
|
|
229
|
-
subjectEnglish: string;
|
|
230
|
-
subjectMaths: string;
|
|
231
|
-
subjectScience: string;
|
|
232
|
-
subjectVerbalReasoning: string;
|
|
233
|
-
subjectNonVerbalReasoning: string;
|
|
234
|
-
subjectCreativeWriting: string;
|
|
235
|
-
subjectExamSkills: string;
|
|
236
|
-
glBlueLight: string;
|
|
237
|
-
glBluePrimary: string;
|
|
238
|
-
glBlueDark: string;
|
|
239
|
-
primary100: string;
|
|
240
|
-
primary200: string;
|
|
241
|
-
primary300: string;
|
|
242
|
-
primary400: string;
|
|
243
|
-
primary500: string;
|
|
244
|
-
primary600: string;
|
|
245
|
-
primary700: string;
|
|
246
|
-
primary800: string;
|
|
247
|
-
primary900: string;
|
|
248
|
-
primary1000: string;
|
|
249
|
-
primary1100: string;
|
|
250
|
-
primary1200: string;
|
|
251
|
-
};
|
|
252
|
-
space: {
|
|
253
|
-
"0": string;
|
|
254
|
-
"1": string;
|
|
255
|
-
"2": string;
|
|
256
|
-
"3": string;
|
|
257
|
-
"4": string;
|
|
258
|
-
"5": string;
|
|
259
|
-
"6": string;
|
|
260
|
-
"7": string;
|
|
261
|
-
"8": string;
|
|
262
|
-
"9": string;
|
|
263
|
-
"24": string;
|
|
264
|
-
};
|
|
265
|
-
fontSizes: {
|
|
266
|
-
xs: string;
|
|
267
|
-
sm: string;
|
|
268
|
-
md: string;
|
|
269
|
-
lg: string;
|
|
270
|
-
xl: string;
|
|
271
|
-
"2xl": string;
|
|
272
|
-
"3xl": string;
|
|
273
|
-
"4xl": string;
|
|
274
|
-
};
|
|
275
|
-
fonts: {
|
|
276
|
-
sans: string;
|
|
277
|
-
mono: string;
|
|
278
|
-
display: string;
|
|
279
|
-
body: string;
|
|
280
|
-
};
|
|
281
|
-
sizes: {
|
|
282
|
-
"0": string;
|
|
283
|
-
"1": string;
|
|
284
|
-
"2": string;
|
|
285
|
-
"3": string;
|
|
286
|
-
"4": string;
|
|
287
|
-
"5": string;
|
|
288
|
-
"6": string;
|
|
289
|
-
"7": string;
|
|
290
|
-
"8": string;
|
|
291
|
-
};
|
|
292
|
-
radii: {
|
|
293
|
-
"0": string;
|
|
294
|
-
"1": string;
|
|
295
|
-
"2": string;
|
|
296
|
-
"3": string;
|
|
297
|
-
round: string;
|
|
298
|
-
};
|
|
299
|
-
shadows: {
|
|
300
|
-
"0": string;
|
|
301
|
-
"1": string;
|
|
302
|
-
"2": string;
|
|
303
|
-
"3": string;
|
|
304
|
-
};
|
|
305
|
-
ratios: {
|
|
306
|
-
"16-9": string;
|
|
307
|
-
"3-2": string;
|
|
308
|
-
"4-3": string;
|
|
309
|
-
"1-1": string;
|
|
310
|
-
"3-4": string;
|
|
311
|
-
};
|
|
312
|
-
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
313
|
-
bg: (value: import("@atom-learning/stitches-react").PropertyValue<"background">) => {
|
|
314
|
-
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
315
|
-
};
|
|
316
|
-
size: (value: import("@atom-learning/stitches-react").ScaleValue<"size"> | number | string) => {
|
|
317
|
-
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
318
|
-
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
319
|
-
};
|
|
320
|
-
p: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
321
|
-
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
322
|
-
};
|
|
323
|
-
pt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
324
|
-
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
325
|
-
};
|
|
326
|
-
pr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
327
|
-
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
328
|
-
};
|
|
329
|
-
pb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
330
|
-
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
331
|
-
};
|
|
332
|
-
pl: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
333
|
-
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
334
|
-
};
|
|
335
|
-
px: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
336
|
-
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
337
|
-
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
|
-
};
|
|
339
|
-
py: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
340
|
-
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
341
|
-
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
342
|
-
};
|
|
343
|
-
m: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
344
|
-
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
345
|
-
};
|
|
346
|
-
mt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
347
|
-
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
348
|
-
};
|
|
349
|
-
mr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
350
|
-
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
351
|
-
};
|
|
352
|
-
mb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
353
|
-
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
354
|
-
};
|
|
355
|
-
ml: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
356
|
-
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
357
|
-
};
|
|
358
|
-
mx: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
359
|
-
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
360
|
-
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
|
-
};
|
|
362
|
-
my: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
363
|
-
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
364
|
-
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
365
|
-
};
|
|
366
|
-
}>>;
|
|
367
|
-
type StackContentProps = React.ComponentProps<typeof StyledStackContent> & {
|
|
368
|
-
children: React.ReactNode;
|
|
369
|
-
css?: CSS;
|
|
370
|
-
};
|
|
371
|
-
export declare const StackContent: React.ForwardRefExoticComponent<StackContentProps>;
|
|
372
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import*as t from"react";import{styled as r}from"../../stitches.js";import{StyledDivider as e}from"../divider/Divider.js";import{StyledHeading as d}from"../heading/Heading.js";import{StyledImage as a}from"../image/Image.js";import{StyledList as l}from"../list/List.js";import{StyledText as c}from"../text/Text.js";const f=r("div",{"& > *":{"&:not(:first-child)":{mt:"$5"},"&:not(:last-child)":{mb:"$5"}},[`& > ${d}`]:{maxWidth:"65ch"},[`& > ${c}`]:{maxWidth:"75ch"},[`& > ${l}`]:{maxWidth:"75ch"},[`& > ${e}`]:{my:"$5"},[`& > ${a}`]:{display:"block","&:not(:first-child)":{mt:"$6"},"&:not(:last-child)":{mb:"$6"}}}),m=t.forwardRef((o,i)=>t.createElement(f,{ref:i,...o}));m.displayName="StackContent";export{m as StackContent};
|
|
2
|
-
//# sourceMappingURL=StackContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StackContent.js","sources":["../../../src/components/stack-content/StackContent.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport type { CSS } from '~/stitches'\nimport { styled } from '~/stitches'\n\nimport { StyledDivider } from '../divider/Divider'\nimport { StyledHeading } from '../heading/Heading'\nimport { StyledImage } from '../image/Image'\nimport { StyledList } from '../list/List'\nimport { StyledText } from '../text/Text'\n\nconst StyledStackContent = styled('div', {\n '& > *': {\n '&:not(:first-child)': { mt: '$5' },\n '&:not(:last-child)': { mb: '$5' }\n },\n [`& > ${StyledHeading}`]: {\n maxWidth: '65ch'\n },\n [`& > ${StyledText}`]: {\n maxWidth: '75ch'\n },\n [`& > ${StyledList}`]: {\n maxWidth: '75ch'\n },\n [`& > ${StyledDivider}`]: {\n my: '$5'\n },\n [`& > ${StyledImage}`]: {\n display: 'block',\n '&:not(:first-child)': { mt: '$6' },\n '&:not(:last-child)': { mb: '$6' }\n }\n})\n\ntype StackContentProps = React.ComponentProps<typeof StyledStackContent> & {\n children: React.ReactNode\n css?: CSS\n}\n\nexport const StackContent: React.ForwardRefExoticComponent<StackContentProps> =\n React.forwardRef((props, ref) => <StyledStackContent ref={ref} {...props} />)\n\nStackContent.displayName = 'StackContent'\n"],"names":["StyledStackContent","styled","StyledHeading","StyledText","StyledList","StyledDivider","StyledImage","StackContent","React","props","ref"],"mappings":"yTAWA,MAAMA,EAAqBC,EAAO,MAAO,CACvC,QAAS,CACP,sBAAuB,CAAE,GAAI,IAAK,EAClC,qBAAsB,CAAE,GAAI,IAAK,CACnC,EACA,CAAC,OAAOC,KAAkB,CACxB,SAAU,MACZ,EACA,CAAC,OAAOC,KAAe,CACrB,SAAU,MACZ,EACA,CAAC,OAAOC,KAAe,CACrB,SAAU,MACZ,EACA,CAAC,OAAOC,KAAkB,CACxB,GAAI,IACN,EACA,CAAC,OAAOC,KAAgB,CACtB,QAAS,QACT,sBAAuB,CAAE,GAAI,IAAK,EAClC,qBAAsB,CAAE,GAAI,IAAK,CACnC,CACF,CAAC,EAOYC,EACXC,EAAM,WAAW,CAACC,EAAOC,IAAQF,EAAA,cAACR,EAAA,CAAmB,IAAKU,EAAM,GAAGD,CAAO,CAAA,CAAE,EAE9EF,EAAa,YAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { StackContent } from './StackContent';
|