@atom-learning/components 2.30.0 → 2.31.0-beta.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 (112) hide show
  1. package/dist/components/accordion/Accordion.d.ts +37 -127
  2. package/dist/components/accordion/AccordionContent.d.ts +37 -127
  3. package/dist/components/accordion/AccordionItem.d.ts +37 -127
  4. package/dist/components/accordion/AccordionTrigger.d.ts +37 -127
  5. package/dist/components/action-icon/ActionIcon.d.ts +37 -127
  6. package/dist/components/alert-dialog/AlertDialog.d.ts +37 -127
  7. package/dist/components/alert-dialog/AlertDialogContent.d.ts +37 -127
  8. package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
  9. package/dist/components/avatar/Avatar.d.ts +104 -284
  10. package/dist/components/badge/Badge.d.ts +104 -284
  11. package/dist/components/box/Box.d.ts +37 -127
  12. package/dist/components/button/Button.d.ts +37 -127
  13. package/dist/components/calendar/Day.d.ts +37 -127
  14. package/dist/components/carousel/CarouselPagination.d.ts +37 -127
  15. package/dist/components/carousel/CarouselSlide.d.ts +37 -127
  16. package/dist/components/carousel/CarouselSlider.d.ts +37 -127
  17. package/dist/components/checkbox/Checkbox.d.ts +37 -127
  18. package/dist/components/chip/Chip.d.ts +304 -934
  19. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +74 -254
  20. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +74 -254
  21. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +104 -284
  22. package/dist/components/combobox/Combobox.d.ts +37 -127
  23. package/dist/components/combobox/ComboboxInput.d.ts +37 -127
  24. package/dist/components/combobox/ComboboxList.d.ts +37 -127
  25. package/dist/components/combobox/ComboboxOption.d.ts +37 -127
  26. package/dist/components/combobox/ComboboxPopover.d.ts +37 -127
  27. package/dist/components/data-table/DataTableLoading.d.ts +37 -127
  28. package/dist/components/data-table/drag-and-drop/Handle.d.ts +74 -254
  29. package/dist/components/data-table/pagination/Pagination.d.ts +37 -127
  30. package/dist/components/dialog/Dialog.d.ts +37 -127
  31. package/dist/components/dialog/DialogBackground.d.ts +104 -284
  32. package/dist/components/dialog/DialogClose.d.ts +37 -127
  33. package/dist/components/dialog/DialogContent.d.ts +37 -127
  34. package/dist/components/dialog/DialogContent.js +1 -1
  35. package/dist/components/divider/Divider.d.ts +37 -127
  36. package/dist/components/dropdown-menu/DropdownMenu.d.ts +37 -127
  37. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +37 -127
  38. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +37 -127
  39. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +37 -127
  40. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +37 -127
  41. package/dist/components/empty-state/EmptyState.d.ts +104 -284
  42. package/dist/components/empty-state/EmptyStateBody.d.ts +74 -254
  43. package/dist/components/empty-state/EmptyStateImage.d.ts +74 -254
  44. package/dist/components/empty-state/EmptyStateTitle.d.ts +37 -127
  45. package/dist/components/flex/Flex.d.ts +37 -127
  46. package/dist/components/form/Form.d.ts +37 -127
  47. package/dist/components/grid/Grid.d.ts +37 -127
  48. package/dist/components/heading/Heading.d.ts +37 -127
  49. package/dist/components/icon/Icon.d.ts +37 -127
  50. package/dist/components/image/Image.d.ts +37 -127
  51. package/dist/components/inline-message/InlineMessage.d.ts +104 -284
  52. package/dist/components/input/Input.d.ts +37 -127
  53. package/dist/components/label/Label.d.ts +37 -127
  54. package/dist/components/link/Link.d.ts +37 -127
  55. package/dist/components/list/List.d.ts +104 -284
  56. package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +37 -127
  57. package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +74 -254
  58. package/dist/components/notification-badge/NotificationBadge.d.ts +104 -284
  59. package/dist/components/popover/Popover.d.ts +37 -127
  60. package/dist/components/popover/PopoverContent.d.ts +37 -127
  61. package/dist/components/progress-bar/ProgressBar.d.ts +37 -127
  62. package/dist/components/radio-button/RadioButton.d.ts +37 -127
  63. package/dist/components/radio-button/RadioButtonGroup.d.ts +37 -127
  64. package/dist/components/radio-card/RadioCard.d.ts +37 -127
  65. package/dist/components/select/Select.d.ts +37 -127
  66. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +37 -127
  67. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +37 -127
  68. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +37 -127
  69. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +37 -127
  70. package/dist/components/sidedrawer/SidedrawerContent.d.ts +37 -127
  71. package/dist/components/sidedrawer/SidedrawerFooter.d.ts +37 -127
  72. package/dist/components/sidedrawer/SidedrawerHeader.d.ts +37 -127
  73. package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +37 -127
  74. package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +37 -127
  75. package/dist/components/slider/Slider.d.ts +37 -127
  76. package/dist/components/stack/Stack.d.ts +37 -127
  77. package/dist/components/stack-content/StackContent.d.ts +37 -127
  78. package/dist/components/stepper/StepperStepBullet.d.ts +104 -284
  79. package/dist/components/stepper/StepperStepContainer.d.ts +104 -284
  80. package/dist/components/stepper/StepperStepLabel.d.ts +74 -254
  81. package/dist/components/switch/Switch.d.ts +37 -127
  82. package/dist/components/table/Table.d.ts +37 -127
  83. package/dist/components/table/TableBody.d.ts +37 -127
  84. package/dist/components/table/TableCell.d.ts +37 -127
  85. package/dist/components/table/TableFooter.d.ts +37 -127
  86. package/dist/components/table/TableFooterCell.d.ts +37 -127
  87. package/dist/components/table/TableHeader.d.ts +37 -127
  88. package/dist/components/table/TableHeaderCell.d.ts +37 -127
  89. package/dist/components/table/TableRow.d.ts +74 -254
  90. package/dist/components/tabs/Tabs.d.ts +37 -127
  91. package/dist/components/tabs/TabsContent.d.ts +37 -127
  92. package/dist/components/tabs/TabsTrigger.d.ts +37 -127
  93. package/dist/components/tabs/TabsTriggerList.d.ts +37 -127
  94. package/dist/components/text/Text.d.ts +37 -127
  95. package/dist/components/textarea/Textarea.d.ts +37 -127
  96. package/dist/components/toast/Toast.d.ts +37 -127
  97. package/dist/components/toggle-group/ToggleGroupButton.d.ts +104 -284
  98. package/dist/components/toggle-group/ToggleGroupItem.d.ts +104 -284
  99. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +37 -127
  100. package/dist/components/toggle-group/index.d.ts +245 -695
  101. package/dist/components/tooltip/TooltipContent.d.ts +37 -127
  102. package/dist/components/top-bar/TopBar.d.ts +37 -127
  103. package/dist/components/top-bar/TopBarBrand.d.ts +111 -381
  104. package/dist/components/video/Video.d.ts +104 -284
  105. package/dist/docgen.json +1 -1
  106. package/dist/experiments/color-scheme/ColorScheme.d.ts +52 -142
  107. package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +133 -329
  108. package/dist/index.cjs.js +1 -1
  109. package/dist/stitches.d.ts +474 -786
  110. package/dist/stitches.js +1 -1
  111. package/package.json +2 -2
  112. package/CHANGELOG.md +0 -220
@@ -121,147 +121,57 @@ export declare const DialogClose: import("@stitches/react/types/styled-component
121
121
  "3": any;
122
122
  };
123
123
  }, import("@stitches/react/types/config").DefaultThemeMap, {
124
- bg: (value: {
125
- readonly [$$PropertyValue]: "background";
126
- }) => {
127
- background: {
128
- readonly [$$PropertyValue]: "background";
129
- };
124
+ bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
125
+ background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
130
126
  };
131
- inset: (value: string | number | {
132
- readonly [$$ScaleValue]: "space";
133
- }) => {
134
- top: string | number | {
135
- readonly [$$ScaleValue]: "space";
136
- };
137
- right: string | number | {
138
- readonly [$$ScaleValue]: "space";
139
- };
140
- bottom: string | number | {
141
- readonly [$$ScaleValue]: "space";
142
- };
143
- left: string | number | {
144
- readonly [$$ScaleValue]: "space";
145
- };
127
+ size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
128
+ height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
129
+ width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
146
130
  };
147
- size: (value: string | number | {
148
- readonly [$$ScaleValue]: "size";
149
- }) => {
150
- height: string | number | {
151
- readonly [$$ScaleValue]: "size";
152
- };
153
- width: string | number | {
154
- readonly [$$ScaleValue]: "size";
155
- };
131
+ p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
132
+ padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
156
133
  };
157
- p: (value: string | number | {
158
- readonly [$$ScaleValue]: "space";
159
- }) => {
160
- padding: string | number | {
161
- readonly [$$ScaleValue]: "space";
162
- };
134
+ pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
135
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
163
136
  };
164
- pt: (value: string | number | {
165
- readonly [$$ScaleValue]: "space";
166
- }) => {
167
- paddingTop: string | number | {
168
- readonly [$$ScaleValue]: "space";
169
- };
137
+ pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
138
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
170
139
  };
171
- pr: (value: string | number | {
172
- readonly [$$ScaleValue]: "space";
173
- }) => {
174
- paddingRight: string | number | {
175
- readonly [$$ScaleValue]: "space";
176
- };
140
+ pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
141
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
177
142
  };
178
- pb: (value: string | number | {
179
- readonly [$$ScaleValue]: "space";
180
- }) => {
181
- paddingBottom: string | number | {
182
- readonly [$$ScaleValue]: "space";
183
- };
143
+ pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
144
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
184
145
  };
185
- pl: (value: string | number | {
186
- readonly [$$ScaleValue]: "space";
187
- }) => {
188
- paddingLeft: string | number | {
189
- readonly [$$ScaleValue]: "space";
190
- };
146
+ px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
147
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
148
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
191
149
  };
192
- px: (value: string | number | {
193
- readonly [$$ScaleValue]: "space";
194
- }) => {
195
- paddingLeft: string | number | {
196
- readonly [$$ScaleValue]: "space";
197
- };
198
- paddingRight: string | number | {
199
- readonly [$$ScaleValue]: "space";
200
- };
150
+ py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
151
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
152
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
201
153
  };
202
- py: (value: string | number | {
203
- readonly [$$ScaleValue]: "space";
204
- }) => {
205
- paddingTop: string | number | {
206
- readonly [$$ScaleValue]: "space";
207
- };
208
- paddingBottom: string | number | {
209
- readonly [$$ScaleValue]: "space";
210
- };
154
+ m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
155
+ margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
211
156
  };
212
- m: (value: string | number | {
213
- readonly [$$ScaleValue]: "space";
214
- }) => {
215
- margin: string | number | {
216
- readonly [$$ScaleValue]: "space";
217
- };
157
+ mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
158
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
218
159
  };
219
- mt: (value: string | number | {
220
- readonly [$$ScaleValue]: "space";
221
- }) => {
222
- marginTop: string | number | {
223
- readonly [$$ScaleValue]: "space";
224
- };
160
+ mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
161
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
225
162
  };
226
- mr: (value: string | number | {
227
- readonly [$$ScaleValue]: "space";
228
- }) => {
229
- marginRight: string | number | {
230
- readonly [$$ScaleValue]: "space";
231
- };
163
+ mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
164
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
232
165
  };
233
- mb: (value: string | number | {
234
- readonly [$$ScaleValue]: "space";
235
- }) => {
236
- marginBottom: string | number | {
237
- readonly [$$ScaleValue]: "space";
238
- };
166
+ ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
167
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
239
168
  };
240
- ml: (value: string | number | {
241
- readonly [$$ScaleValue]: "space";
242
- }) => {
243
- marginLeft: string | number | {
244
- readonly [$$ScaleValue]: "space";
245
- };
169
+ mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
170
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
171
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
246
172
  };
247
- mx: (value: string | number | {
248
- readonly [$$ScaleValue]: "space";
249
- }) => {
250
- marginLeft: string | number | {
251
- readonly [$$ScaleValue]: "space";
252
- };
253
- marginRight: string | number | {
254
- readonly [$$ScaleValue]: "space";
255
- };
256
- };
257
- my: (value: string | number | {
258
- readonly [$$ScaleValue]: "space";
259
- }) => {
260
- marginTop: string | number | {
261
- readonly [$$ScaleValue]: "space";
262
- };
263
- marginBottom: string | number | {
264
- readonly [$$ScaleValue]: "space";
265
- };
173
+ my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
174
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
175
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
266
176
  };
267
177
  }>>;
@@ -123,148 +123,58 @@ declare const StyledDialogContent: import("@stitches/react/types/styled-componen
123
123
  "3": any;
124
124
  };
125
125
  }, import("@stitches/react/types/config").DefaultThemeMap, {
126
- bg: (value: {
127
- readonly [$$PropertyValue]: "background";
128
- }) => {
129
- background: {
130
- readonly [$$PropertyValue]: "background";
131
- };
126
+ bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
127
+ background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
132
128
  };
133
- inset: (value: string | number | {
134
- readonly [$$ScaleValue]: "space";
135
- }) => {
136
- top: string | number | {
137
- readonly [$$ScaleValue]: "space";
138
- };
139
- right: string | number | {
140
- readonly [$$ScaleValue]: "space";
141
- };
142
- bottom: string | number | {
143
- readonly [$$ScaleValue]: "space";
144
- };
145
- left: string | number | {
146
- readonly [$$ScaleValue]: "space";
147
- };
129
+ size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
130
+ height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
131
+ width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
148
132
  };
149
- size: (value: string | number | {
150
- readonly [$$ScaleValue]: "size";
151
- }) => {
152
- height: string | number | {
153
- readonly [$$ScaleValue]: "size";
154
- };
155
- width: string | number | {
156
- readonly [$$ScaleValue]: "size";
157
- };
133
+ p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
134
+ padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
158
135
  };
159
- p: (value: string | number | {
160
- readonly [$$ScaleValue]: "space";
161
- }) => {
162
- padding: string | number | {
163
- readonly [$$ScaleValue]: "space";
164
- };
136
+ pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
137
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
165
138
  };
166
- pt: (value: string | number | {
167
- readonly [$$ScaleValue]: "space";
168
- }) => {
169
- paddingTop: string | number | {
170
- readonly [$$ScaleValue]: "space";
171
- };
139
+ pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
140
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
172
141
  };
173
- pr: (value: string | number | {
174
- readonly [$$ScaleValue]: "space";
175
- }) => {
176
- paddingRight: string | number | {
177
- readonly [$$ScaleValue]: "space";
178
- };
142
+ pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
143
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
179
144
  };
180
- pb: (value: string | number | {
181
- readonly [$$ScaleValue]: "space";
182
- }) => {
183
- paddingBottom: string | number | {
184
- readonly [$$ScaleValue]: "space";
185
- };
145
+ pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
146
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
186
147
  };
187
- pl: (value: string | number | {
188
- readonly [$$ScaleValue]: "space";
189
- }) => {
190
- paddingLeft: string | number | {
191
- readonly [$$ScaleValue]: "space";
192
- };
148
+ px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
149
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
150
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
193
151
  };
194
- px: (value: string | number | {
195
- readonly [$$ScaleValue]: "space";
196
- }) => {
197
- paddingLeft: string | number | {
198
- readonly [$$ScaleValue]: "space";
199
- };
200
- paddingRight: string | number | {
201
- readonly [$$ScaleValue]: "space";
202
- };
152
+ py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
153
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
154
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
203
155
  };
204
- py: (value: string | number | {
205
- readonly [$$ScaleValue]: "space";
206
- }) => {
207
- paddingTop: string | number | {
208
- readonly [$$ScaleValue]: "space";
209
- };
210
- paddingBottom: string | number | {
211
- readonly [$$ScaleValue]: "space";
212
- };
156
+ m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
157
+ margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
213
158
  };
214
- m: (value: string | number | {
215
- readonly [$$ScaleValue]: "space";
216
- }) => {
217
- margin: string | number | {
218
- readonly [$$ScaleValue]: "space";
219
- };
159
+ mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
160
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
220
161
  };
221
- mt: (value: string | number | {
222
- readonly [$$ScaleValue]: "space";
223
- }) => {
224
- marginTop: string | number | {
225
- readonly [$$ScaleValue]: "space";
226
- };
162
+ mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
163
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
227
164
  };
228
- mr: (value: string | number | {
229
- readonly [$$ScaleValue]: "space";
230
- }) => {
231
- marginRight: string | number | {
232
- readonly [$$ScaleValue]: "space";
233
- };
165
+ mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
166
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
234
167
  };
235
- mb: (value: string | number | {
236
- readonly [$$ScaleValue]: "space";
237
- }) => {
238
- marginBottom: string | number | {
239
- readonly [$$ScaleValue]: "space";
240
- };
168
+ ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
169
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
241
170
  };
242
- ml: (value: string | number | {
243
- readonly [$$ScaleValue]: "space";
244
- }) => {
245
- marginLeft: string | number | {
246
- readonly [$$ScaleValue]: "space";
247
- };
171
+ mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
172
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
173
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
248
174
  };
249
- mx: (value: string | number | {
250
- readonly [$$ScaleValue]: "space";
251
- }) => {
252
- marginLeft: string | number | {
253
- readonly [$$ScaleValue]: "space";
254
- };
255
- marginRight: string | number | {
256
- readonly [$$ScaleValue]: "space";
257
- };
258
- };
259
- my: (value: string | number | {
260
- readonly [$$ScaleValue]: "space";
261
- }) => {
262
- marginTop: string | number | {
263
- readonly [$$ScaleValue]: "space";
264
- };
265
- marginBottom: string | number | {
266
- readonly [$$ScaleValue]: "space";
267
- };
175
+ my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
176
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
177
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
268
178
  };
269
179
  }>>;
270
180
  declare type DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {
@@ -1 +1 @@
1
- import{Close as h}from"@atom-learning/icons";import{Overlay as x,Content as b,Portal as w,Close as g}from"@radix-ui/react-dialog";import*as t from"react";import{DIALOG_Z_INDEX as r}from"../../constants/zIndices.js";import{keyframes as n,styled as l}from"../../stitches.js";import{ActionIcon as v}from"../action-icon/ActionIcon.js";import{Icon as $}from"../icon/Icon.js";import{DialogBackground as s}from"./DialogBackground.js";import{fadeIn as z,fadeOut as C}from"../../utilities/style/keyframe-animations.js";const e="translate3d(-50%, -50%, 0)",m="translate3d(-50%, 50vh, 0)",d="modal_overlay",D=n({"0%":{transform:m},"100%":{transform:e}}),I=n({"0%":{transform:e},"100%":{transform:m}}),y=l(x,{backgroundColor:"$alpha600",inset:0,position:"fixed",overflowY:"auto",zIndex:r,"@allowMotion":{'&[data-state="open"]':{animation:`${z} 250ms ease-out`},'&[data-state="closed"]':{animation:`${C} 550ms ease-out`}}}),E=l(b,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",p:"$5",position:"fixed",top:"50%",transform:e,zIndex:r,"&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${D} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${I} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{width:"380px"},sm:{width:"480px"},md:{width:"600px"},lg:{width:"800px"},xl:{width:"1100px"}}}}),O=({size:p="sm",children:a,closeDialogText:f="Close dialog",showCloseButton:c=!0,...u})=>t.createElement(w,null,t.createElement(y,{id:d},t.Children.map(a,o=>(o==null?void 0:o.type)===s&&o),t.createElement(E,{size:p,"aria-label":"Dialog",onPointerDownOutside:o=>{const i=o.target;(i==null?void 0:i.id)!==d&&o.preventDefault()},...u},c&&t.createElement(v,{as:g,css:{position:"absolute",right:"$4",top:"$4"},label:f,size:"md",theme:"neutral"},t.createElement($,{is:h})),t.Children.map(a,o=>(o==null?void 0:o.type)!==s&&o))));export{O as DialogContent};
1
+ import{Close as h}from"@atom-learning/icons";import{Overlay as x,Content as b,Portal as g,Close as w}from"@radix-ui/react-dialog";import*as o from"react";import{DIALOG_Z_INDEX as r}from"../../constants/zIndices.js";import{keyframes as n,styled as l}from"../../stitches.js";import{ActionIcon as v}from"../action-icon/ActionIcon.js";import{Icon as $}from"../icon/Icon.js";import{DialogBackground as s}from"./DialogBackground.js";import{fadeIn as z,fadeOut as C}from"../../utilities/style/keyframe-animations.js";const e="translate3d(-50%, -50%, 0)",m="translate3d(-50%, 50vh, 0)",d="modal_overlay",D=n({"0%":{transform:m},"100%":{transform:e}}),I=n({"0%":{transform:e},"100%":{transform:m}}),y=l(x,{backgroundColor:"$alpha600",top:0,right:0,bottom:0,left:0,position:"fixed",overflowY:"auto",zIndex:r,"@allowMotion":{'&[data-state="open"]':{animation:`${z} 250ms ease-out`},'&[data-state="closed"]':{animation:`${C} 550ms ease-out`}}}),E=l(b,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",p:"$5",position:"fixed",top:"50%",transform:e,zIndex:r,"&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${D} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${I} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{width:"380px"},sm:{width:"480px"},md:{width:"600px"},lg:{width:"800px"},xl:{width:"1100px"}}}}),O=({size:p="sm",children:a,closeDialogText:f="Close dialog",showCloseButton:c=!0,...u})=>o.createElement(g,null,o.createElement(y,{id:d},o.Children.map(a,t=>(t==null?void 0:t.type)===s&&t),o.createElement(E,{size:p,"aria-label":"Dialog",onPointerDownOutside:t=>{const i=t.target;(i==null?void 0:i.id)!==d&&t.preventDefault()},...u},c&&o.createElement(v,{as:w,css:{position:"absolute",right:"$4",top:"$4"},label:f,size:"md",theme:"neutral"},o.createElement($,{is:h})),o.Children.map(a,t=>(t==null?void 0:t.type)!==s&&t))));export{O as DialogContent};
@@ -123,148 +123,58 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
123
123
  "3": any;
124
124
  };
125
125
  }, import("@stitches/react/types/config").DefaultThemeMap, {
126
- bg: (value: {
127
- readonly [$$PropertyValue]: "background";
128
- }) => {
129
- background: {
130
- readonly [$$PropertyValue]: "background";
131
- };
126
+ bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
127
+ background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
132
128
  };
133
- inset: (value: string | number | {
134
- readonly [$$ScaleValue]: "space";
135
- }) => {
136
- top: string | number | {
137
- readonly [$$ScaleValue]: "space";
138
- };
139
- right: string | number | {
140
- readonly [$$ScaleValue]: "space";
141
- };
142
- bottom: string | number | {
143
- readonly [$$ScaleValue]: "space";
144
- };
145
- left: string | number | {
146
- readonly [$$ScaleValue]: "space";
147
- };
129
+ size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
130
+ height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
131
+ width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
148
132
  };
149
- size: (value: string | number | {
150
- readonly [$$ScaleValue]: "size";
151
- }) => {
152
- height: string | number | {
153
- readonly [$$ScaleValue]: "size";
154
- };
155
- width: string | number | {
156
- readonly [$$ScaleValue]: "size";
157
- };
133
+ p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
134
+ padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
158
135
  };
159
- p: (value: string | number | {
160
- readonly [$$ScaleValue]: "space";
161
- }) => {
162
- padding: string | number | {
163
- readonly [$$ScaleValue]: "space";
164
- };
136
+ pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
137
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
165
138
  };
166
- pt: (value: string | number | {
167
- readonly [$$ScaleValue]: "space";
168
- }) => {
169
- paddingTop: string | number | {
170
- readonly [$$ScaleValue]: "space";
171
- };
139
+ pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
140
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
172
141
  };
173
- pr: (value: string | number | {
174
- readonly [$$ScaleValue]: "space";
175
- }) => {
176
- paddingRight: string | number | {
177
- readonly [$$ScaleValue]: "space";
178
- };
142
+ pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
143
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
179
144
  };
180
- pb: (value: string | number | {
181
- readonly [$$ScaleValue]: "space";
182
- }) => {
183
- paddingBottom: string | number | {
184
- readonly [$$ScaleValue]: "space";
185
- };
145
+ pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
146
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
186
147
  };
187
- pl: (value: string | number | {
188
- readonly [$$ScaleValue]: "space";
189
- }) => {
190
- paddingLeft: string | number | {
191
- readonly [$$ScaleValue]: "space";
192
- };
148
+ px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
149
+ paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
150
+ paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
193
151
  };
194
- px: (value: string | number | {
195
- readonly [$$ScaleValue]: "space";
196
- }) => {
197
- paddingLeft: string | number | {
198
- readonly [$$ScaleValue]: "space";
199
- };
200
- paddingRight: string | number | {
201
- readonly [$$ScaleValue]: "space";
202
- };
152
+ py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
153
+ paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
154
+ paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
203
155
  };
204
- py: (value: string | number | {
205
- readonly [$$ScaleValue]: "space";
206
- }) => {
207
- paddingTop: string | number | {
208
- readonly [$$ScaleValue]: "space";
209
- };
210
- paddingBottom: string | number | {
211
- readonly [$$ScaleValue]: "space";
212
- };
156
+ m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
157
+ margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
213
158
  };
214
- m: (value: string | number | {
215
- readonly [$$ScaleValue]: "space";
216
- }) => {
217
- margin: string | number | {
218
- readonly [$$ScaleValue]: "space";
219
- };
159
+ mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
160
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
220
161
  };
221
- mt: (value: string | number | {
222
- readonly [$$ScaleValue]: "space";
223
- }) => {
224
- marginTop: string | number | {
225
- readonly [$$ScaleValue]: "space";
226
- };
162
+ mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
163
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
227
164
  };
228
- mr: (value: string | number | {
229
- readonly [$$ScaleValue]: "space";
230
- }) => {
231
- marginRight: string | number | {
232
- readonly [$$ScaleValue]: "space";
233
- };
165
+ mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
166
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
234
167
  };
235
- mb: (value: string | number | {
236
- readonly [$$ScaleValue]: "space";
237
- }) => {
238
- marginBottom: string | number | {
239
- readonly [$$ScaleValue]: "space";
240
- };
168
+ ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
169
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
241
170
  };
242
- ml: (value: string | number | {
243
- readonly [$$ScaleValue]: "space";
244
- }) => {
245
- marginLeft: string | number | {
246
- readonly [$$ScaleValue]: "space";
247
- };
171
+ mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
172
+ marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
173
+ marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
248
174
  };
249
- mx: (value: string | number | {
250
- readonly [$$ScaleValue]: "space";
251
- }) => {
252
- marginLeft: string | number | {
253
- readonly [$$ScaleValue]: "space";
254
- };
255
- marginRight: string | number | {
256
- readonly [$$ScaleValue]: "space";
257
- };
258
- };
259
- my: (value: string | number | {
260
- readonly [$$ScaleValue]: "space";
261
- }) => {
262
- marginTop: string | number | {
263
- readonly [$$ScaleValue]: "space";
264
- };
265
- marginBottom: string | number | {
266
- readonly [$$ScaleValue]: "space";
267
- };
175
+ my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
176
+ marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
177
+ marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
268
178
  };
269
179
  }>>;
270
180
  export declare const Divider: React.ForwardRefExoticComponent<React.ComponentProps<typeof StyledDivider>>;