@atom-learning/components 2.34.0 → 2.36.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 (119) hide show
  1. package/CHANGELOG.md +5 -3
  2. package/dist/components/accordion/Accordion.d.ts +37 -0
  3. package/dist/components/accordion/AccordionContent.d.ts +37 -0
  4. package/dist/components/accordion/AccordionItem.d.ts +37 -0
  5. package/dist/components/accordion/AccordionTrigger.d.ts +37 -0
  6. package/dist/components/action-icon/ActionIcon.d.ts +37 -0
  7. package/dist/components/alert-dialog/AlertDialog.d.ts +37 -0
  8. package/dist/components/alert-dialog/AlertDialogContent.d.ts +37 -0
  9. package/dist/components/avatar/Avatar.d.ts +74 -0
  10. package/dist/components/badge/Badge.d.ts +74 -0
  11. package/dist/components/box/Box.d.ts +37 -0
  12. package/dist/components/button/Button.d.ts +37 -0
  13. package/dist/components/calendar/Day.d.ts +37 -0
  14. package/dist/components/carousel/CarouselPagination.d.ts +37 -0
  15. package/dist/components/carousel/CarouselSlide.d.ts +37 -0
  16. package/dist/components/carousel/CarouselSlider.d.ts +37 -0
  17. package/dist/components/checkbox/Checkbox.d.ts +37 -0
  18. package/dist/components/chip/Chip.d.ts +259 -0
  19. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +74 -0
  20. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +74 -0
  21. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +76 -2
  22. package/dist/components/combobox/Combobox.d.ts +37 -0
  23. package/dist/components/combobox/ComboboxInput.d.ts +37 -0
  24. package/dist/components/combobox/ComboboxList.d.ts +37 -0
  25. package/dist/components/combobox/ComboboxOption.d.ts +37 -0
  26. package/dist/components/combobox/ComboboxPopover.d.ts +37 -0
  27. package/dist/components/data-table/DataTableBody.js.map +1 -1
  28. package/dist/components/data-table/DataTableLoading.d.ts +37 -0
  29. package/dist/components/data-table/DataTableTable.js +1 -1
  30. package/dist/components/data-table/DataTableTable.js.map +1 -1
  31. package/dist/components/data-table/drag-and-drop/Handle.d.ts +74 -0
  32. package/dist/components/data-table/pagination/Pagination.d.ts +37 -0
  33. package/dist/components/dialog/Dialog.d.ts +37 -0
  34. package/dist/components/dialog/DialogBackground.d.ts +74 -0
  35. package/dist/components/dialog/DialogClose.d.ts +37 -0
  36. package/dist/components/dialog/DialogContent.d.ts +37 -0
  37. package/dist/components/divider/Divider.d.ts +37 -0
  38. package/dist/components/dropdown-menu/DropdownMenu.d.ts +37 -0
  39. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +37 -0
  40. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +37 -0
  41. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +37 -0
  42. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +37 -0
  43. package/dist/components/empty-state/EmptyState.d.ts +74 -0
  44. package/dist/components/empty-state/EmptyStateBody.d.ts +74 -0
  45. package/dist/components/empty-state/EmptyStateImage.d.ts +74 -0
  46. package/dist/components/empty-state/EmptyStateTitle.d.ts +37 -0
  47. package/dist/components/flex/Flex.d.ts +37 -0
  48. package/dist/components/form/Form.d.ts +37 -0
  49. package/dist/components/grid/Grid.d.ts +38 -1
  50. package/dist/components/heading/Heading.d.ts +37 -0
  51. package/dist/components/icon/Icon.d.ts +37 -0
  52. package/dist/components/image/Image.d.ts +37 -0
  53. package/dist/components/inline-message/InlineMessage.d.ts +74 -0
  54. package/dist/components/input/Input.d.ts +37 -0
  55. package/dist/components/label/Label.d.ts +37 -0
  56. package/dist/components/link/Link.d.ts +37 -0
  57. package/dist/components/list/List.d.ts +74 -0
  58. package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +37 -0
  59. package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +74 -0
  60. package/dist/components/notification-badge/NotificationBadge.d.ts +74 -0
  61. package/dist/components/popover/Popover.d.ts +37 -0
  62. package/dist/components/popover/PopoverContent.d.ts +37 -0
  63. package/dist/components/progress-bar/ProgressBar.d.ts +37 -0
  64. package/dist/components/radio-button/RadioButton.d.ts +37 -0
  65. package/dist/components/radio-button/RadioButtonGroup.d.ts +37 -0
  66. package/dist/components/radio-card/RadioCard.d.ts +37 -0
  67. package/dist/components/select/Select.d.ts +37 -0
  68. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +37 -0
  69. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +37 -0
  70. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +37 -0
  71. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +37 -0
  72. package/dist/components/sidedrawer/SidedrawerContent.d.ts +37 -0
  73. package/dist/components/sidedrawer/SidedrawerFooter.d.ts +37 -0
  74. package/dist/components/sidedrawer/SidedrawerHeader.d.ts +37 -0
  75. package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +37 -0
  76. package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +37 -0
  77. package/dist/components/slider/Slider.d.ts +37 -0
  78. package/dist/components/stack/Stack.d.ts +38 -1
  79. package/dist/components/stack-content/StackContent.d.ts +37 -0
  80. package/dist/components/stepper/StepperStepBullet.d.ts +74 -0
  81. package/dist/components/stepper/StepperStepContainer.d.ts +74 -0
  82. package/dist/components/stepper/StepperStepLabel.d.ts +74 -0
  83. package/dist/components/switch/Switch.d.ts +37 -0
  84. package/dist/components/table/Table.d.ts +42 -1
  85. package/dist/components/table/Table.js +1 -1
  86. package/dist/components/table/Table.js.map +1 -1
  87. package/dist/components/table/TableBody.d.ts +37 -0
  88. package/dist/components/table/TableBody.js +1 -1
  89. package/dist/components/table/TableBody.js.map +1 -1
  90. package/dist/components/table/TableCell.d.ts +37 -0
  91. package/dist/components/table/TableFooter.d.ts +37 -0
  92. package/dist/components/table/TableFooterCell.d.ts +37 -0
  93. package/dist/components/table/TableHeader.d.ts +37 -0
  94. package/dist/components/table/TableHeaderCell.d.ts +37 -0
  95. package/dist/components/table/TableRow.d.ts +74 -0
  96. package/dist/components/table/TableStickyColumnsContainer.d.ts +9 -0
  97. package/dist/components/table/TableStickyColumnsContainer.js +2 -0
  98. package/dist/components/table/TableStickyColumnsContainer.js.map +1 -0
  99. package/dist/components/tabs/Tabs.d.ts +37 -0
  100. package/dist/components/tabs/TabsContent.d.ts +37 -0
  101. package/dist/components/tabs/TabsTrigger.d.ts +37 -0
  102. package/dist/components/tabs/TabsTriggerList.d.ts +37 -0
  103. package/dist/components/text/Text.d.ts +37 -0
  104. package/dist/components/textarea/Textarea.d.ts +37 -0
  105. package/dist/components/toast/Toast.d.ts +37 -0
  106. package/dist/components/toggle-group/ToggleGroupButton.d.ts +74 -0
  107. package/dist/components/toggle-group/ToggleGroupItem.d.ts +74 -0
  108. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +37 -0
  109. package/dist/components/toggle-group/index.d.ts +185 -0
  110. package/dist/components/tooltip/TooltipContent.d.ts +37 -0
  111. package/dist/components/top-bar/TopBar.d.ts +37 -0
  112. package/dist/components/top-bar/TopBarBrand.d.ts +111 -0
  113. package/dist/components/video/Video.d.ts +74 -0
  114. package/dist/docgen.json +1 -1
  115. package/dist/index.cjs.js +1 -1
  116. package/dist/index.cjs.js.map +1 -1
  117. package/dist/stitches.d.ts +407 -0
  118. package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +37 -0
  119. package/package.json +4 -4
@@ -5,7 +5,7 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
5
5
  wrap?: "wrap" | "wrap-reverse" | "no-wrap" | undefined;
6
6
  justify?: boolean | "center" | "false" | "end" | "start" | undefined;
7
7
  align?: boolean | "center" | "false" | "end" | "start" | undefined;
8
- gap?: number | boolean | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "false" | undefined;
8
+ gap?: number | boolean | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | "false" | undefined;
9
9
  }, {
10
10
  sm: string;
11
11
  md: string;
@@ -29,6 +29,42 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
29
29
  textPlaceholder: any;
30
30
  background: any;
31
31
  backgroundAccent: any;
32
+ grey100: any;
33
+ grey200: any;
34
+ grey300: any;
35
+ grey400: any;
36
+ grey500: any;
37
+ grey600: any;
38
+ grey700: any;
39
+ grey800: any;
40
+ grey900: any;
41
+ grey1000: any;
42
+ grey1100: any;
43
+ grey1200: any;
44
+ blue100: any;
45
+ blue200: any;
46
+ blue300: any;
47
+ blue400: any;
48
+ blue500: any;
49
+ blue600: any;
50
+ blue700: any;
51
+ blue800: any;
52
+ blue900: any;
53
+ blue1000: any;
54
+ blue1100: any;
55
+ blue1200: any;
56
+ purple100: any;
57
+ purple200: any;
58
+ purple300: any;
59
+ purple400: any;
60
+ purple500: any;
61
+ purple600: any;
62
+ purple700: any;
63
+ purple800: any;
64
+ purple900: any;
65
+ purple1000: any;
66
+ purple1100: any;
67
+ purple1200: any;
32
68
  tonal50: any;
33
69
  tonal100: any;
34
70
  tonal200: any;
@@ -86,6 +122,7 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
86
122
  "7": any;
87
123
  "8": any;
88
124
  "9": any;
125
+ "24": any;
89
126
  };
90
127
  fontSizes: {
91
128
  xs: any;
@@ -23,6 +23,42 @@ declare const StyledStackContent: import("@stitches/react/types/styled-component
23
23
  textPlaceholder: any;
24
24
  background: any;
25
25
  backgroundAccent: any;
26
+ grey100: any;
27
+ grey200: any;
28
+ grey300: any;
29
+ grey400: any;
30
+ grey500: any;
31
+ grey600: any;
32
+ grey700: any;
33
+ grey800: any;
34
+ grey900: any;
35
+ grey1000: any;
36
+ grey1100: any;
37
+ grey1200: any;
38
+ blue100: any;
39
+ blue200: any;
40
+ blue300: any;
41
+ blue400: any;
42
+ blue500: any;
43
+ blue600: any;
44
+ blue700: any;
45
+ blue800: any;
46
+ blue900: any;
47
+ blue1000: any;
48
+ blue1100: any;
49
+ blue1200: any;
50
+ purple100: any;
51
+ purple200: any;
52
+ purple300: any;
53
+ purple400: any;
54
+ purple500: any;
55
+ purple600: any;
56
+ purple700: any;
57
+ purple800: any;
58
+ purple900: any;
59
+ purple1000: any;
60
+ purple1100: any;
61
+ purple1200: any;
26
62
  tonal50: any;
27
63
  tonal100: any;
28
64
  tonal200: any;
@@ -80,6 +116,7 @@ declare const StyledStackContent: import("@stitches/react/types/styled-component
80
116
  "7": any;
81
117
  "8": any;
82
118
  "9": any;
119
+ "24": any;
83
120
  };
84
121
  fontSizes: {
85
122
  xs: any;
@@ -21,6 +21,42 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
21
21
  textPlaceholder: any;
22
22
  background: any;
23
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;
24
60
  tonal50: any;
25
61
  tonal100: any;
26
62
  tonal200: any;
@@ -78,6 +114,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
78
114
  "7": any;
79
115
  "8": any;
80
116
  "9": any;
117
+ "24": any;
81
118
  };
82
119
  fontSizes: {
83
120
  xs: any;
@@ -198,6 +235,42 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
198
235
  textPlaceholder: any;
199
236
  background: any;
200
237
  backgroundAccent: any;
238
+ grey100: any;
239
+ grey200: any;
240
+ grey300: any;
241
+ grey400: any;
242
+ grey500: any;
243
+ grey600: any;
244
+ grey700: any;
245
+ grey800: any;
246
+ grey900: any;
247
+ grey1000: any;
248
+ grey1100: any;
249
+ grey1200: any;
250
+ blue100: any;
251
+ blue200: any;
252
+ blue300: any;
253
+ blue400: any;
254
+ blue500: any;
255
+ blue600: any;
256
+ blue700: any;
257
+ blue800: any;
258
+ blue900: any;
259
+ blue1000: any;
260
+ blue1100: any;
261
+ blue1200: any;
262
+ purple100: any;
263
+ purple200: any;
264
+ purple300: any;
265
+ purple400: any;
266
+ purple500: any;
267
+ purple600: any;
268
+ purple700: any;
269
+ purple800: any;
270
+ purple900: any;
271
+ purple1000: any;
272
+ purple1100: any;
273
+ purple1200: any;
201
274
  tonal50: any;
202
275
  tonal100: any;
203
276
  tonal200: any;
@@ -255,6 +328,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
255
328
  "7": any;
256
329
  "8": any;
257
330
  "9": any;
331
+ "24": any;
258
332
  };
259
333
  fontSizes: {
260
334
  xs: any;
@@ -21,6 +21,42 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
21
21
  textPlaceholder: any;
22
22
  background: any;
23
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;
24
60
  tonal50: any;
25
61
  tonal100: any;
26
62
  tonal200: any;
@@ -78,6 +114,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
78
114
  "7": any;
79
115
  "8": any;
80
116
  "9": any;
117
+ "24": any;
81
118
  };
82
119
  fontSizes: {
83
120
  xs: any;
@@ -201,6 +238,42 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
201
238
  textPlaceholder: any;
202
239
  background: any;
203
240
  backgroundAccent: any;
241
+ grey100: any;
242
+ grey200: any;
243
+ grey300: any;
244
+ grey400: any;
245
+ grey500: any;
246
+ grey600: any;
247
+ grey700: any;
248
+ grey800: any;
249
+ grey900: any;
250
+ grey1000: any;
251
+ grey1100: any;
252
+ grey1200: any;
253
+ blue100: any;
254
+ blue200: any;
255
+ blue300: any;
256
+ blue400: any;
257
+ blue500: any;
258
+ blue600: any;
259
+ blue700: any;
260
+ blue800: any;
261
+ blue900: any;
262
+ blue1000: any;
263
+ blue1100: any;
264
+ blue1200: any;
265
+ purple100: any;
266
+ purple200: any;
267
+ purple300: any;
268
+ purple400: any;
269
+ purple500: any;
270
+ purple600: any;
271
+ purple700: any;
272
+ purple800: any;
273
+ purple900: any;
274
+ purple1000: any;
275
+ purple1100: any;
276
+ purple1200: any;
204
277
  tonal50: any;
205
278
  tonal100: any;
206
279
  tonal200: any;
@@ -258,6 +331,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
258
331
  "7": any;
259
332
  "8": any;
260
333
  "9": any;
334
+ "24": any;
261
335
  };
262
336
  fontSizes: {
263
337
  xs: any;
@@ -28,6 +28,42 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
28
28
  textPlaceholder: any;
29
29
  background: any;
30
30
  backgroundAccent: any;
31
+ grey100: any;
32
+ grey200: any;
33
+ grey300: any;
34
+ grey400: any;
35
+ grey500: any;
36
+ grey600: any;
37
+ grey700: any;
38
+ grey800: any;
39
+ grey900: any;
40
+ grey1000: any;
41
+ grey1100: any;
42
+ grey1200: any;
43
+ blue100: any;
44
+ blue200: any;
45
+ blue300: any;
46
+ blue400: any;
47
+ blue500: any;
48
+ blue600: any;
49
+ blue700: any;
50
+ blue800: any;
51
+ blue900: any;
52
+ blue1000: any;
53
+ blue1100: any;
54
+ blue1200: any;
55
+ purple100: any;
56
+ purple200: any;
57
+ purple300: any;
58
+ purple400: any;
59
+ purple500: any;
60
+ purple600: any;
61
+ purple700: any;
62
+ purple800: any;
63
+ purple900: any;
64
+ purple1000: any;
65
+ purple1100: any;
66
+ purple1200: any;
31
67
  tonal50: any;
32
68
  tonal100: any;
33
69
  tonal200: any;
@@ -85,6 +121,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
85
121
  "7": any;
86
122
  "8": any;
87
123
  "9": any;
124
+ "24": any;
88
125
  };
89
126
  fontSizes: {
90
127
  xs: any;
@@ -209,6 +246,42 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
209
246
  textPlaceholder: any;
210
247
  background: any;
211
248
  backgroundAccent: any;
249
+ grey100: any;
250
+ grey200: any;
251
+ grey300: any;
252
+ grey400: any;
253
+ grey500: any;
254
+ grey600: any;
255
+ grey700: any;
256
+ grey800: any;
257
+ grey900: any;
258
+ grey1000: any;
259
+ grey1100: any;
260
+ grey1200: any;
261
+ blue100: any;
262
+ blue200: any;
263
+ blue300: any;
264
+ blue400: any;
265
+ blue500: any;
266
+ blue600: any;
267
+ blue700: any;
268
+ blue800: any;
269
+ blue900: any;
270
+ blue1000: any;
271
+ blue1100: any;
272
+ blue1200: any;
273
+ purple100: any;
274
+ purple200: any;
275
+ purple300: any;
276
+ purple400: any;
277
+ purple500: any;
278
+ purple600: any;
279
+ purple700: any;
280
+ purple800: any;
281
+ purple900: any;
282
+ purple1000: any;
283
+ purple1100: any;
284
+ purple1200: any;
212
285
  tonal50: any;
213
286
  tonal100: any;
214
287
  tonal200: any;
@@ -266,6 +339,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
266
339
  "7": any;
267
340
  "8": any;
268
341
  "9": any;
342
+ "24": any;
269
343
  };
270
344
  fontSizes: {
271
345
  xs: any;
@@ -23,6 +23,42 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
23
23
  textPlaceholder: any;
24
24
  background: any;
25
25
  backgroundAccent: any;
26
+ grey100: any;
27
+ grey200: any;
28
+ grey300: any;
29
+ grey400: any;
30
+ grey500: any;
31
+ grey600: any;
32
+ grey700: any;
33
+ grey800: any;
34
+ grey900: any;
35
+ grey1000: any;
36
+ grey1100: any;
37
+ grey1200: any;
38
+ blue100: any;
39
+ blue200: any;
40
+ blue300: any;
41
+ blue400: any;
42
+ blue500: any;
43
+ blue600: any;
44
+ blue700: any;
45
+ blue800: any;
46
+ blue900: any;
47
+ blue1000: any;
48
+ blue1100: any;
49
+ blue1200: any;
50
+ purple100: any;
51
+ purple200: any;
52
+ purple300: any;
53
+ purple400: any;
54
+ purple500: any;
55
+ purple600: any;
56
+ purple700: any;
57
+ purple800: any;
58
+ purple900: any;
59
+ purple1000: any;
60
+ purple1100: any;
61
+ purple1200: any;
26
62
  tonal50: any;
27
63
  tonal100: any;
28
64
  tonal200: any;
@@ -80,6 +116,7 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
80
116
  "7": any;
81
117
  "8": any;
82
118
  "9": any;
119
+ "24": any;
83
120
  };
84
121
  fontSizes: {
85
122
  xs: any;
@@ -6,6 +6,7 @@ import { TableFooterCell } from './TableFooterCell';
6
6
  import { TableHeader } from './TableHeader';
7
7
  import { TableHeaderCell } from './TableHeaderCell';
8
8
  import { TableRow } from './TableRow';
9
+ import { TableStickyColumnsContainer } from './TableStickyColumnsContainer';
9
10
  declare type TableSubComponents = {
10
11
  Body: typeof TableBody;
11
12
  Cell: typeof TableCell;
@@ -14,6 +15,7 @@ declare type TableSubComponents = {
14
15
  Header: typeof TableHeader;
15
16
  HeaderCell: typeof TableHeaderCell;
16
17
  Row: typeof TableRow;
18
+ StickyColumnsContainer: typeof TableStickyColumnsContainer;
17
19
  };
18
20
  declare const StyledTable: import("@stitches/react/types/styled-component").StyledComponent<"table", {
19
21
  size?: "md" | "lg" | undefined;
@@ -41,6 +43,42 @@ declare const StyledTable: import("@stitches/react/types/styled-component").Styl
41
43
  textPlaceholder: any;
42
44
  background: any;
43
45
  backgroundAccent: any;
46
+ grey100: any;
47
+ grey200: any;
48
+ grey300: any;
49
+ grey400: any;
50
+ grey500: any;
51
+ grey600: any;
52
+ grey700: any;
53
+ grey800: any;
54
+ grey900: any;
55
+ grey1000: any;
56
+ grey1100: any;
57
+ grey1200: any;
58
+ blue100: any;
59
+ blue200: any;
60
+ blue300: any;
61
+ blue400: any;
62
+ blue500: any;
63
+ blue600: any;
64
+ blue700: any;
65
+ blue800: any;
66
+ blue900: any;
67
+ blue1000: any;
68
+ blue1100: any;
69
+ blue1200: any;
70
+ purple100: any;
71
+ purple200: any;
72
+ purple300: any;
73
+ purple400: any;
74
+ purple500: any;
75
+ purple600: any;
76
+ purple700: any;
77
+ purple800: any;
78
+ purple900: any;
79
+ purple1000: any;
80
+ purple1100: any;
81
+ purple1200: any;
44
82
  tonal50: any;
45
83
  tonal100: any;
46
84
  tonal200: any;
@@ -98,6 +136,7 @@ declare const StyledTable: import("@stitches/react/types/styled-component").Styl
98
136
  "7": any;
99
137
  "8": any;
100
138
  "9": any;
139
+ "24": any;
101
140
  };
102
141
  fontSizes: {
103
142
  xs: any;
@@ -194,6 +233,8 @@ declare const StyledTable: import("@stitches/react/types/styled-component").Styl
194
233
  marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
195
234
  };
196
235
  }>>;
197
- declare type TableProps = React.ComponentProps<typeof StyledTable>;
236
+ declare type TableProps = React.ComponentProps<typeof StyledTable> & {
237
+ numberOfStickyColumns?: number;
238
+ };
198
239
  export declare const Table: React.FC<TableProps> & TableSubComponents;
199
240
  export {};
@@ -1,2 +1,2 @@
1
- import*as d from"react";import{styled as s}from"../../stitches.js";import{TableBody as m}from"./TableBody.js";import{TableCell as o}from"./TableCell.js";import{TableFooter as p}from"./TableFooter.js";import{TableFooterCell as t}from"./TableFooterCell.js";import{TableHeader as $}from"./TableHeader.js";import{TableHeaderCell as r}from"./TableHeaderCell.js";import{StyledRow as f,TableRow as b}from"./TableRow.js";const n=s("table",{borderCollapse:"separate",borderSpacing:0,fontFamily:"$sans",fontSize:"$sm",width:"100%",variants:{size:{md:{[`${o}, ${r}, ${t}`]:{height:"$4"}},lg:{[`${o}, ${r}, ${t}`]:{height:"$5"}}},corners:{round:{[`${r}`]:{"&:first-of-type":{borderTopLeftRadius:"$0"},"&:last-of-type":{borderTopRightRadius:"$0"}},[`${f}:last-child`]:{[`${o}:first-child`]:{borderBottomLeftRadius:"$0"},[`${o}:last-child`]:{borderBottomRightRadius:"$0"}}},square:{}}}}),e=({size:l="md",corners:a="round",...i})=>d.createElement(n,{size:l,corners:a,...i});e.Body=m,e.Cell=o,e.Footer=p,e.FooterCell=t,e.Header=$,e.HeaderCell=r,e.Row=b,e.displayName="Table";export{e as Table};
1
+ import*as i from"react";import{styled as f}from"../../stitches.js";import{TableBody as b}from"./TableBody.js";import{TableCell as o}from"./TableCell.js";import{TableFooter as p}from"./TableFooter.js";import{TableFooterCell as t}from"./TableFooterCell.js";import{TableHeader as $}from"./TableHeader.js";import{TableHeaderCell as r}from"./TableHeaderCell.js";import{StyledRow as c,TableRow as u}from"./TableRow.js";import{TableStickyColumnsContainer as m}from"./TableStickyColumnsContainer.js";const C=f("table",{borderCollapse:"separate",borderSpacing:0,fontFamily:"$sans",fontSize:"$sm",width:"100%",variants:{size:{md:{[`${o}, ${r}, ${t}`]:{height:"$4"}},lg:{[`${o}, ${r}, ${t}`]:{height:"$5"}}},corners:{round:{[`${r}`]:{"&:first-of-type":{borderTopLeftRadius:"$0"},"&:last-of-type":{borderTopRightRadius:"$0"}},[`${c}:last-child`]:{[`${o}:first-child`]:{borderBottomLeftRadius:"$0"},[`${o}:last-child`]:{borderBottomRightRadius:"$0"}}},square:{}}}}),e=({size:s="md",corners:d="round",numberOfStickyColumns:l=0,...n})=>{const a=i.createElement(C,{size:s,corners:d,...n});return l?i.createElement(m,{numberOfStickyColumns:l},a):a};e.Body=b,e.Cell=o,e.Footer=p,e.FooterCell=t,e.Header=$,e.HeaderCell=r,e.Row=u,e.StickyColumnsContainer=m,e.displayName="Table";export{e as Table};
2
2
  //# sourceMappingURL=Table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sources":["../../../src/components/table/Table.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { TableBody } from './TableBody'\nimport { TableCell } from './TableCell'\nimport { TableFooter } from './TableFooter'\nimport { TableFooterCell } from './TableFooterCell'\nimport { TableHeader } from './TableHeader'\nimport { TableHeaderCell } from './TableHeaderCell'\nimport { StyledRow, TableRow } from './TableRow'\n\ntype TableSubComponents = {\n Body: typeof TableBody\n Cell: typeof TableCell\n Footer: typeof TableFooter\n FooterCell: typeof TableFooterCell\n Header: typeof TableHeader\n HeaderCell: typeof TableHeaderCell\n Row: typeof TableRow\n}\n\nconst StyledTable = styled('table', {\n borderCollapse: 'separate',\n borderSpacing: 0,\n fontFamily: '$sans',\n fontSize: '$sm',\n width: '100%',\n variants: {\n size: {\n md: {\n [`${TableCell}, ${TableHeaderCell}, ${TableFooterCell}`]: {\n height: '$4'\n }\n },\n lg: {\n [`${TableCell}, ${TableHeaderCell}, ${TableFooterCell}`]: {\n height: '$5'\n }\n }\n },\n corners: {\n round: {\n [`${TableHeaderCell}`]: {\n '&:first-of-type': { borderTopLeftRadius: '$0' },\n '&:last-of-type': { borderTopRightRadius: '$0' }\n },\n [`${StyledRow}:last-child`]: {\n [`${TableCell}:first-child`]: { borderBottomLeftRadius: '$0' },\n [`${TableCell}:last-child`]: { borderBottomRightRadius: '$0' }\n }\n },\n square: {}\n }\n }\n})\n\ntype TableProps = React.ComponentProps<typeof StyledTable>\n\nexport const Table: React.FC<TableProps> & TableSubComponents = ({\n size = 'md',\n corners = 'round',\n ...rest\n}: TableProps) => <StyledTable size={size} corners={corners} {...rest} />\n\nTable.Body = TableBody\nTable.Cell = TableCell\nTable.Footer = TableFooter\nTable.FooterCell = TableFooterCell\nTable.Header = TableHeader\nTable.HeaderCell = TableHeaderCell\nTable.Row = TableRow\n\nTable.displayName = 'Table'\n"],"names":["StyledTable","styled","TableCell","TableHeaderCell","TableFooterCell","StyledRow","Table","size","corners","rest","React","TableBody","TableFooter","TableHeader","TableRow"],"mappings":"6ZAsBA,MAAMA,EAAcC,EAAO,QAAS,CAClC,eAAgB,WAChB,cAAe,EACf,WAAY,QACZ,SAAU,MACV,MAAO,OACP,SAAU,CACR,KAAM,CACJ,GAAI,CACF,CAAC,GAAGC,MAAcC,MAAoBC,KAAoB,CACxD,OAAQ,IACV,CACF,EACA,GAAI,CACF,CAAC,GAAGF,MAAcC,MAAoBC,KAAoB,CACxD,OAAQ,IACV,CACF,CACF,EACA,QAAS,CACP,MAAO,CACL,CAAC,GAAGD,KAAoB,CACtB,kBAAmB,CAAE,oBAAqB,IAAK,EAC/C,iBAAkB,CAAE,qBAAsB,IAAK,CACjD,EACA,CAAC,GAAGE,gBAAyB,CAC3B,CAAC,GAAGH,iBAA0B,CAAE,uBAAwB,IAAK,EAC7D,CAAC,GAAGA,gBAAyB,CAAE,wBAAyB,IAAK,CAC/D,CACF,EACA,OAAQ,CAAA,CACV,CACF,CACF,CAAC,EAIYI,EAAmD,CAAC,CAC/D,KAAAC,EAAO,KACP,QAAAC,EAAU,WACPC,CACL,IAAkBC,EAAA,cAACV,EAAA,CAAY,KAAMO,EAAM,QAASC,EAAU,GAAGC,CAAAA,CAAM,EAEvEH,EAAM,KAAOK,EACbL,EAAM,KAAOJ,EACbI,EAAM,OAASM,EACfN,EAAM,WAAaF,EACnBE,EAAM,OAASO,EACfP,EAAM,WAAaH,EACnBG,EAAM,IAAMQ,EAEZR,EAAM,YAAc"}
1
+ {"version":3,"file":"Table.js","sources":["../../../src/components/table/Table.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { TableBody } from './TableBody'\nimport { TableCell } from './TableCell'\nimport { TableFooter } from './TableFooter'\nimport { TableFooterCell } from './TableFooterCell'\nimport { TableHeader } from './TableHeader'\nimport { TableHeaderCell } from './TableHeaderCell'\nimport { StyledRow, TableRow } from './TableRow'\nimport { TableStickyColumnsContainer } from './TableStickyColumnsContainer'\n\ntype TableSubComponents = {\n Body: typeof TableBody\n Cell: typeof TableCell\n Footer: typeof TableFooter\n FooterCell: typeof TableFooterCell\n Header: typeof TableHeader\n HeaderCell: typeof TableHeaderCell\n Row: typeof TableRow\n StickyColumnsContainer: typeof TableStickyColumnsContainer\n}\n\nconst StyledTable = styled('table', {\n borderCollapse: 'separate',\n borderSpacing: 0,\n fontFamily: '$sans',\n fontSize: '$sm',\n width: '100%',\n variants: {\n size: {\n md: {\n [`${TableCell}, ${TableHeaderCell}, ${TableFooterCell}`]: {\n height: '$4'\n }\n },\n lg: {\n [`${TableCell}, ${TableHeaderCell}, ${TableFooterCell}`]: {\n height: '$5'\n }\n }\n },\n corners: {\n round: {\n [`${TableHeaderCell}`]: {\n '&:first-of-type': { borderTopLeftRadius: '$0' },\n '&:last-of-type': { borderTopRightRadius: '$0' }\n },\n [`${StyledRow}:last-child`]: {\n [`${TableCell}:first-child`]: { borderBottomLeftRadius: '$0' },\n [`${TableCell}:last-child`]: { borderBottomRightRadius: '$0' }\n }\n },\n square: {}\n }\n }\n})\n\ntype TableProps = React.ComponentProps<typeof StyledTable> & {\n numberOfStickyColumns?: number\n}\n\nexport const Table: React.FC<TableProps> & TableSubComponents = ({\n size = 'md',\n corners = 'round',\n numberOfStickyColumns = 0,\n ...rest\n}: TableProps) => {\n const tableComponent = <StyledTable size={size} corners={corners} {...rest} />\n\n if (numberOfStickyColumns) {\n return (\n <TableStickyColumnsContainer\n numberOfStickyColumns={numberOfStickyColumns}\n >\n {tableComponent}\n </TableStickyColumnsContainer>\n )\n }\n\n return tableComponent\n}\n\nTable.Body = TableBody\nTable.Cell = TableCell\nTable.Footer = TableFooter\nTable.FooterCell = TableFooterCell\nTable.Header = TableHeader\nTable.HeaderCell = TableHeaderCell\nTable.Row = TableRow\nTable.StickyColumnsContainer = TableStickyColumnsContainer\n\nTable.displayName = 'Table'\n"],"names":["StyledTable","styled","TableCell","TableHeaderCell","TableFooterCell","StyledRow","Table","size","corners","numberOfStickyColumns","rest","tableComponent","React","TableStickyColumnsContainer","TableBody","TableFooter","TableHeader","TableRow"],"mappings":"4eAwBA,MAAMA,EAAcC,EAAO,QAAS,CAClC,eAAgB,WAChB,cAAe,EACf,WAAY,QACZ,SAAU,MACV,MAAO,OACP,SAAU,CACR,KAAM,CACJ,GAAI,CACF,CAAC,GAAGC,MAAcC,MAAoBC,KAAoB,CACxD,OAAQ,IACV,CACF,EACA,GAAI,CACF,CAAC,GAAGF,MAAcC,MAAoBC,KAAoB,CACxD,OAAQ,IACV,CACF,CACF,EACA,QAAS,CACP,MAAO,CACL,CAAC,GAAGD,KAAoB,CACtB,kBAAmB,CAAE,oBAAqB,IAAK,EAC/C,iBAAkB,CAAE,qBAAsB,IAAK,CACjD,EACA,CAAC,GAAGE,gBAAyB,CAC3B,CAAC,GAAGH,iBAA0B,CAAE,uBAAwB,IAAK,EAC7D,CAAC,GAAGA,gBAAyB,CAAE,wBAAyB,IAAK,CAC/D,CACF,EACA,OAAQ,CAAA,CACV,CACF,CACF,CAAC,EAMYI,EAAmD,CAAC,CAC/D,KAAAC,EAAO,KACP,QAAAC,EAAU,QACV,sBAAAC,EAAwB,KACrBC,CACL,IAAkB,CAChB,MAAMC,EAAiBC,EAAA,cAACZ,EAAA,CAAY,KAAMO,EAAM,QAASC,EAAU,GAAGE,EAAM,EAE5E,OAAID,EAEAG,EAAA,cAACC,EAAA,CACC,sBAAuBJ,GAEtBE,CACH,EAIGA,CACT,EAEAL,EAAM,KAAOQ,EACbR,EAAM,KAAOJ,EACbI,EAAM,OAASS,EACfT,EAAM,WAAaF,EACnBE,EAAM,OAASU,EACfV,EAAM,WAAaH,EACnBG,EAAM,IAAMW,EACZX,EAAM,uBAAyBO,EAE/BP,EAAM,YAAc"}
@@ -24,6 +24,42 @@ declare const StyledTableBody: import("@stitches/react/types/styled-component").
24
24
  textPlaceholder: any;
25
25
  background: any;
26
26
  backgroundAccent: any;
27
+ grey100: any;
28
+ grey200: any;
29
+ grey300: any;
30
+ grey400: any;
31
+ grey500: any;
32
+ grey600: any;
33
+ grey700: any;
34
+ grey800: any;
35
+ grey900: any;
36
+ grey1000: any;
37
+ grey1100: any;
38
+ grey1200: any;
39
+ blue100: any;
40
+ blue200: any;
41
+ blue300: any;
42
+ blue400: any;
43
+ blue500: any;
44
+ blue600: any;
45
+ blue700: any;
46
+ blue800: any;
47
+ blue900: any;
48
+ blue1000: any;
49
+ blue1100: any;
50
+ blue1200: any;
51
+ purple100: any;
52
+ purple200: any;
53
+ purple300: any;
54
+ purple400: any;
55
+ purple500: any;
56
+ purple600: any;
57
+ purple700: any;
58
+ purple800: any;
59
+ purple900: any;
60
+ purple1000: any;
61
+ purple1100: any;
62
+ purple1200: any;
27
63
  tonal50: any;
28
64
  tonal100: any;
29
65
  tonal200: any;
@@ -81,6 +117,7 @@ declare const StyledTableBody: import("@stitches/react/types/styled-component").
81
117
  "7": any;
82
118
  "8": any;
83
119
  "9": any;
120
+ "24": any;
84
121
  };
85
122
  fontSizes: {
86
123
  xs: any;
@@ -1,2 +1,2 @@
1
- import*as d from"react";import{styled as r}from"../../stitches.js";import{StyledRow as i}from"./TableRow.js";const l=r("tbody",{variants:{striped:{true:{[`${i}`]:{"&:nth-child(odd)":{bg:"white"},"&:nth-child(even)":{bg:"$tonal50"}}},false:{bg:"white"}}}}),t=({striped:e=!0,...o})=>d.createElement(l,{striped:e,...o});t.displayName="TableBody";export{t as TableBody};
1
+ import*as r from"react";import{styled as i}from"../../stitches.js";import{StyledRow as t}from"./TableRow.js";const l=i("tbody",{variants:{striped:{true:{[`${t}`]:{"&:nth-child(odd)":{bg:"white"},"&:nth-child(even)":{bg:"$tonal50"}}},false:{[`${t}`]:{bg:"white"}}}}}),e=({striped:o=!0,...d})=>r.createElement(l,{striped:o,...d});e.displayName="TableBody";export{e as TableBody};
2
2
  //# sourceMappingURL=TableBody.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableBody.js","sources":["../../../src/components/table/TableBody.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { StyledRow } from './TableRow'\n\nconst StyledTableBody = styled('tbody', {\n variants: {\n striped: {\n true: {\n [`${StyledRow}`]: {\n '&:nth-child(odd)': { bg: 'white' },\n '&:nth-child(even)': { bg: '$tonal50' }\n }\n },\n false: {\n bg: 'white'\n }\n }\n }\n})\n\ntype TableBodyProps = React.ComponentProps<typeof StyledTableBody>\n\nexport const TableBody: React.FC<TableBodyProps> = ({\n striped = true,\n ...rest\n}) => <StyledTableBody striped={striped} {...rest} />\n\nTableBody.displayName = 'TableBody'\n"],"names":["StyledTableBody","styled","StyledRow","TableBody","striped","rest","React"],"mappings":"6GAMA,MAAMA,EAAkBC,EAAO,QAAS,CACtC,SAAU,CACR,QAAS,CACP,KAAM,CACJ,CAAC,GAAGC,KAAc,CAChB,mBAAoB,CAAE,GAAI,OAAQ,EAClC,oBAAqB,CAAE,GAAI,UAAW,CACxC,CACF,EACA,MAAO,CACL,GAAI,OACN,CACF,CACF,CACF,CAAC,EAIYC,EAAsC,CAAC,CAClD,QAAAC,EAAU,MACPC,CACL,IAAMC,EAAA,cAACN,EAAA,CAAgB,QAASI,EAAU,GAAGC,CAAM,CAAA,EAEnDF,EAAU,YAAc"}
1
+ {"version":3,"file":"TableBody.js","sources":["../../../src/components/table/TableBody.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { StyledRow } from './TableRow'\n\nconst StyledTableBody = styled('tbody', {\n variants: {\n striped: {\n true: {\n [`${StyledRow}`]: {\n '&:nth-child(odd)': { bg: 'white' },\n '&:nth-child(even)': { bg: '$tonal50' }\n }\n },\n false: {\n [`${StyledRow}`]: {\n bg: 'white'\n }\n }\n }\n }\n})\n\ntype TableBodyProps = React.ComponentProps<typeof StyledTableBody>\n\nexport const TableBody: React.FC<TableBodyProps> = ({\n striped = true,\n ...rest\n}) => <StyledTableBody striped={striped} {...rest} />\n\nTableBody.displayName = 'TableBody'\n"],"names":["StyledTableBody","styled","StyledRow","TableBody","striped","rest","React"],"mappings":"6GAMA,MAAMA,EAAkBC,EAAO,QAAS,CACtC,SAAU,CACR,QAAS,CACP,KAAM,CACJ,CAAC,GAAGC,KAAc,CAChB,mBAAoB,CAAE,GAAI,OAAQ,EAClC,oBAAqB,CAAE,GAAI,UAAW,CACxC,CACF,EACA,MAAO,CACL,CAAC,GAAGA,KAAc,CAChB,GAAI,OACN,CACF,CACF,CACF,CACF,CAAC,EAIYC,EAAsC,CAAC,CAClD,QAAAC,EAAU,MACPC,CACL,IAAMC,EAAA,cAACN,EAAA,CAAgB,QAASI,EAAU,GAAGC,CAAM,CAAA,EAEnDF,EAAU,YAAc"}
@@ -21,6 +21,42 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
21
21
  textPlaceholder: any;
22
22
  background: any;
23
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;
24
60
  tonal50: any;
25
61
  tonal100: any;
26
62
  tonal200: any;
@@ -78,6 +114,7 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
78
114
  "7": any;
79
115
  "8": any;
80
116
  "9": any;
117
+ "24": any;
81
118
  };
82
119
  fontSizes: {
83
120
  xs: any;