@jeromefitz/design-system 4.1.7 → 4.2.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 (102) hide show
  1. package/{Avatar-840f24ab.d.ts → Avatar-df0b8f4a.d.ts} +1 -1
  2. package/{ButtonDemo-a5d1e7b7.d.ts → ButtonDemo-adaa2802.d.ts} +1 -1
  3. package/{Checkbox-0e4d444d.d.ts → Checkbox-2943787d.d.ts} +1 -1
  4. package/{ContextMenu-7ae22435.d.ts → ContextMenu-6f333c0e.d.ts} +2 -2
  5. package/{DropdownMenu-4c8b0fa0.d.ts → DropdownMenu-131b231b.d.ts} +2 -2
  6. package/{FocusArea-63e74682.d.ts → FocusArea-4cc67786.d.ts} +2 -2
  7. package/{Heading-acb5c14a.d.ts → Heading-31acb2e9.d.ts} +1 -1
  8. package/{Menu-0f6ade87.d.ts → Menu-b6f5de19.d.ts} +2 -2
  9. package/{NavigationMenu-51086c89.d.ts → NavigationMenu-900904d7.d.ts} +3 -3
  10. package/Paragraph-b27206a0.d.ts +6 -0
  11. package/Popover-0ed9b61a.d.ts +18 -0
  12. package/{ProgressBar-1a395fe3.d.ts → ProgressBar-be6dbde1.d.ts} +1 -1
  13. package/{Radio-5b3425e5.d.ts → Radio-0fdc85b9.d.ts} +1 -1
  14. package/{RadioCard-9a968b1a.d.ts → RadioCard-b27e82fd.d.ts} +1 -1
  15. package/{Sheet-9edd474c.d.ts → Sheet-772a3ac6.d.ts} +1 -1
  16. package/{Slider-5b835ecd.d.ts → Slider-f7c0b154.d.ts} +1 -1
  17. package/SwitchIcon-adf6d080.d.ts +324 -0
  18. package/{Tabs.styles-0af0d84b.d.ts → Tabs.styles-2f3608bd.d.ts} +1 -1
  19. package/{VerifiedBadge-8a8364f4.d.ts → VerifiedBadge-a5c41f10.d.ts} +1 -1
  20. package/{chunk-NKESCUYG.js → chunk-HHPJKV62.js} +1 -1
  21. package/{chunk-RCXJ7GAL.cjs → chunk-HJBRQUEJ.cjs} +1 -1
  22. package/{chunk-OY2QFZRK.cjs → chunk-JWDOSYPW.cjs} +1 -1
  23. package/{chunk-AMNSHTAK.js → chunk-MG4ODWI5.js} +1 -1
  24. package/{chunk-GECTKPJ2.cjs → chunk-NC6E4EWN.cjs} +1 -1
  25. package/{chunk-YHMKWVMP.js → chunk-YHVEIQLG.js} +1 -1
  26. package/components/Avatar/index.cjs +1 -1
  27. package/components/Avatar/index.d.ts +1 -1
  28. package/components/Avatar/index.js +1 -1
  29. package/components/Button/index.cjs +1 -1
  30. package/components/Button/index.d.ts +1 -1
  31. package/components/Button/index.js +1 -1
  32. package/components/Caption/index.cjs +1 -1
  33. package/components/Caption/index.js +1 -1
  34. package/components/Carousel/index.cjs +1 -1
  35. package/components/Carousel/index.js +1 -1
  36. package/components/Checkbox/index.d.ts +1 -1
  37. package/components/CommandMenu/index.cjs +1 -1
  38. package/components/CommandMenu/index.js +1 -1
  39. package/components/ContextMenu/index.cjs +1 -1
  40. package/components/ContextMenu/index.d.ts +1 -1
  41. package/components/ContextMenu/index.js +1 -1
  42. package/components/Dialog/index.cjs +1 -1
  43. package/components/Dialog/index.js +1 -1
  44. package/components/DropdownMenu/index.cjs +1 -1
  45. package/components/DropdownMenu/index.d.ts +1 -1
  46. package/components/DropdownMenu/index.js +1 -1
  47. package/components/FocusArea/index.cjs +1 -1
  48. package/components/FocusArea/index.d.ts +1 -1
  49. package/components/FocusArea/index.js +1 -1
  50. package/components/Heading/index.d.ts +1 -1
  51. package/components/Menu/index.cjs +1 -1
  52. package/components/Menu/index.d.ts +1 -1
  53. package/components/Menu/index.js +1 -1
  54. package/components/NavigationMenu/index.d.ts +1 -1
  55. package/components/Note/index.cjs +1 -1
  56. package/components/Note/index.js +1 -1
  57. package/components/PageHeading/index.cjs +1 -1
  58. package/components/PageHeading/index.js +1 -1
  59. package/components/Paragraph/index.cjs +1 -1
  60. package/components/Paragraph/index.d.ts +1 -1
  61. package/components/Paragraph/index.js +1 -1
  62. package/components/Popover/index.cjs +1 -1
  63. package/components/Popover/index.d.ts +1 -1
  64. package/components/Popover/index.js +1 -1
  65. package/components/ProgressBar/index.d.ts +1 -1
  66. package/components/Radio/index.d.ts +1 -1
  67. package/components/RadioCard/index.d.ts +1 -1
  68. package/components/ScrollArea/index.cjs +1 -1
  69. package/components/ScrollArea/index.js +1 -1
  70. package/components/Sheet/index.d.ts +1 -1
  71. package/components/Slider/index.d.ts +1 -1
  72. package/components/Spacer/index.cjs +1 -1
  73. package/components/Spacer/index.js +1 -1
  74. package/components/Switch/index.cjs +1 -1
  75. package/components/Switch/index.d.ts +1 -1
  76. package/components/Switch/index.js +1 -1
  77. package/components/Tabs/index.cjs +1 -1
  78. package/components/Tabs/index.d.ts +1 -1
  79. package/components/Tabs/index.js +1 -1
  80. package/components/Toast/index.cjs +1 -1
  81. package/components/Toast/index.js +1 -1
  82. package/components/Tooltip/index.cjs +1 -1
  83. package/components/Tooltip/index.js +1 -1
  84. package/components/VerifiedBadge/index.cjs +1 -1
  85. package/components/VerifiedBadge/index.d.ts +1 -1
  86. package/components/VerifiedBadge/index.js +1 -1
  87. package/components/index.cjs +1 -1
  88. package/components/index.d.ts +19 -19
  89. package/components/index.js +1 -1
  90. package/custom/Emoji/index.cjs +1 -1
  91. package/custom/Emoji/index.js +1 -1
  92. package/custom/Hero/index.cjs +1 -1
  93. package/custom/Hero/index.js +1 -1
  94. package/custom/index.cjs +1 -1
  95. package/custom/index.js +1 -1
  96. package/index.cjs +1 -1
  97. package/index.d.ts +23 -29
  98. package/index.js +1 -1
  99. package/package.json +88 -90
  100. package/Paragraph-5fda2152.d.ts +0 -6
  101. package/Popover-ef09b48e.d.ts +0 -18
  102. package/SwitchIcon-bad5e1f8.d.ts +0 -324
@@ -1,324 +0,0 @@
1
- import * as react from 'react';
2
- import { ComponentProps, ReactNode } from 'react';
3
- import * as SwitchPrimitive from '@radix-ui/react-switch';
4
- import { CSS } from './lib/stitches.config.js';
5
- import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
6
- import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
7
- import * as _stitches_react_types_config from '@stitches/react/types/config';
8
- import { VariantProps } from '@stitches/react';
9
-
10
- declare const StyledSwitch: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<SwitchPrimitive.SwitchProps & react.RefAttributes<HTMLButtonElement>>, _stitches_react_types_styled_component.StyledComponentProps<[{
11
- all: string;
12
- boxSizing: string;
13
- userSelect: string;
14
- '&::before': {
15
- boxSizing: string;
16
- };
17
- '&::after': {
18
- boxSizing: string;
19
- };
20
- alignItems: string;
21
- display: string;
22
- justifyContent: string;
23
- lineHeight: string;
24
- margin: string;
25
- outline: string;
26
- WebkitTapHighlightColor: string;
27
- backgroundColor: string;
28
- borderRadius: string;
29
- cursor: string;
30
- position: string;
31
- '&:focus': {
32
- boxShadow: string;
33
- };
34
- '&[data-state="checked"]': {
35
- backgroundColor: string;
36
- '&:focus': {
37
- boxShadow: string;
38
- };
39
- };
40
- variants: {
41
- size: {
42
- '1': {
43
- width: string;
44
- height: string;
45
- };
46
- '2': {
47
- [x: string]: string | {
48
- width: number;
49
- height: number;
50
- transform: string;
51
- '&[data-state="checked"]': {
52
- transform: string;
53
- };
54
- };
55
- width: string;
56
- height: string;
57
- };
58
- };
59
- };
60
- defaultVariants: {
61
- size: "1";
62
- };
63
- }]>, {
64
- bp1: string;
65
- bp2: string;
66
- bp3: string;
67
- bp4: string;
68
- motion: string;
69
- hover: string;
70
- dark: string;
71
- light: string;
72
- }, _stitches_react_types_css_util.CSS<{
73
- bp1: string;
74
- bp2: string;
75
- bp3: string;
76
- bp4: string;
77
- motion: string;
78
- hover: string;
79
- dark: string;
80
- light: string;
81
- }, {
82
- borderWidths: unknown;
83
- borderStyles: unknown;
84
- colors: unknown;
85
- fonts: {
86
- 'fallback-mono': string;
87
- 'fallback-sans': string;
88
- 'fallback-serif': string;
89
- mono: string;
90
- sans: string;
91
- serif: string;
92
- };
93
- fontSizes: {
94
- 1: string;
95
- 2: string;
96
- 3: string;
97
- 4: string;
98
- 5: string;
99
- 6: string;
100
- 7: string;
101
- 8: string;
102
- 9: string;
103
- };
104
- fontWeights: {
105
- 1: string;
106
- 2: string;
107
- 3: string;
108
- 4: string;
109
- 5: string;
110
- 6: string;
111
- 7: string;
112
- 8: string;
113
- 9: string;
114
- };
115
- letterSpacings: unknown;
116
- lineHeights: unknown;
117
- radii: {
118
- 0: string;
119
- 1: string;
120
- 2: string;
121
- 3: string;
122
- 4: string;
123
- pill: string;
124
- round: string;
125
- };
126
- shadows: {
127
- 0: string;
128
- 1: string;
129
- 2: string;
130
- 3: string;
131
- toast: string;
132
- };
133
- sizes: {
134
- 0: string;
135
- 1: string;
136
- 2: string;
137
- 3: string;
138
- 4: string;
139
- 5: string;
140
- 6: string;
141
- 7: string;
142
- 8: string;
143
- 9: string;
144
- };
145
- space: {
146
- 0: string;
147
- 1: string;
148
- 2: string;
149
- 3: string;
150
- 4: string;
151
- 5: string;
152
- 6: string;
153
- 7: string;
154
- 8: string;
155
- 9: string;
156
- 10: string;
157
- 11: string;
158
- 12: string;
159
- 13: string;
160
- 14: string;
161
- 15: string;
162
- 16: string;
163
- };
164
- transitions: unknown;
165
- zIndices: {
166
- 0: string;
167
- 1: string;
168
- 2: string;
169
- 3: string;
170
- 4: string;
171
- max: string;
172
- toast: string;
173
- };
174
- foo: {
175
- bar: string;
176
- };
177
- }, _stitches_react_types_config.DefaultThemeMap, {
178
- p: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"padding">) => {
179
- padding: string | number | _stitches_react_types_css_util.WithScaleValue<"padding">;
180
- };
181
- pt: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingTop">) => {
182
- paddingTop: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingTop">;
183
- };
184
- pr: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingRight">) => {
185
- paddingRight: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingRight">;
186
- };
187
- pb: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingBottom">) => {
188
- paddingBottom: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingBottom">;
189
- };
190
- pl: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingLeft">) => {
191
- paddingLeft: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingLeft">;
192
- };
193
- px: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingLeft">) => {
194
- paddingLeft: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingLeft">;
195
- paddingRight: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingLeft">;
196
- };
197
- py: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingTop">) => {
198
- paddingTop: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingTop">;
199
- paddingBottom: string | number | _stitches_react_types_css_util.WithScaleValue<"paddingTop">;
200
- };
201
- m: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"margin">) => {
202
- margin: string | number | _stitches_react_types_css_util.WithScaleValue<"margin">;
203
- };
204
- mt: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"marginTop">) => {
205
- marginTop: string | number | _stitches_react_types_css_util.WithScaleValue<"marginTop">;
206
- };
207
- mr: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"marginRight">) => {
208
- marginRight: string | number | _stitches_react_types_css_util.WithScaleValue<"marginRight">;
209
- };
210
- mb: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"marginBottom">) => {
211
- marginBottom: string | number | _stitches_react_types_css_util.WithScaleValue<"marginBottom">;
212
- };
213
- ml: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"marginLeft">) => {
214
- marginLeft: string | number | _stitches_react_types_css_util.WithScaleValue<"marginLeft">;
215
- };
216
- mx: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"marginLeft">) => {
217
- marginLeft: string | number | _stitches_react_types_css_util.WithScaleValue<"marginLeft">;
218
- marginRight: string | number | _stitches_react_types_css_util.WithScaleValue<"marginLeft">;
219
- };
220
- my: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"marginTop">) => {
221
- marginTop: string | number | _stitches_react_types_css_util.WithScaleValue<"marginTop">;
222
- marginBottom: string | number | _stitches_react_types_css_util.WithScaleValue<"marginTop">;
223
- };
224
- ta: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"textAlign">) => {
225
- textAlign: string | number | _stitches_react_types_css_util.WithScaleValue<"textAlign">;
226
- };
227
- fd: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"flexDirection">) => {
228
- flexDirection: string | number | _stitches_react_types_css_util.WithScaleValue<"flexDirection">;
229
- };
230
- fw: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"flexWrap">) => {
231
- flexWrap: string | number | _stitches_react_types_css_util.WithScaleValue<"flexWrap">;
232
- };
233
- ai: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"alignItems">) => {
234
- alignItems: string | number | _stitches_react_types_css_util.WithScaleValue<"alignItems">;
235
- };
236
- ac: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"alignContent">) => {
237
- alignContent: string | number | _stitches_react_types_css_util.WithScaleValue<"alignContent">;
238
- };
239
- jc: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"justifyContent">) => {
240
- justifyContent: string | number | _stitches_react_types_css_util.WithScaleValue<"justifyContent">;
241
- };
242
- as: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"alignSelf">) => {
243
- alignSelf: string | number | _stitches_react_types_css_util.WithScaleValue<"alignSelf">;
244
- };
245
- fg: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"flexGrow">) => {
246
- flexGrow: string | number | _stitches_react_types_css_util.WithScaleValue<"flexGrow">;
247
- };
248
- fs: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"flexShrink">) => {
249
- flexShrink: string | number | _stitches_react_types_css_util.WithScaleValue<"flexShrink">;
250
- };
251
- fb: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"flexBasis">) => {
252
- flexBasis: string | number | _stitches_react_types_css_util.WithScaleValue<"flexBasis">;
253
- };
254
- bc: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"backgroundColor">) => {
255
- backgroundColor: string | number | _stitches_react_types_css_util.WithScaleValue<"backgroundColor">;
256
- };
257
- br: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"borderRadius">) => {
258
- borderRadius: string | number | _stitches_react_types_css_util.WithScaleValue<"borderRadius">;
259
- };
260
- btrr: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"borderTopRightRadius">) => {
261
- borderTopRightRadius: string | number | _stitches_react_types_css_util.WithScaleValue<"borderTopRightRadius">;
262
- };
263
- bbrr: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"borderBottomRightRadius">) => {
264
- borderBottomRightRadius: string | number | _stitches_react_types_css_util.WithScaleValue<"borderBottomRightRadius">;
265
- };
266
- bblr: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"borderBottomLeftRadius">) => {
267
- borderBottomLeftRadius: string | number | _stitches_react_types_css_util.WithScaleValue<"borderBottomLeftRadius">;
268
- };
269
- btlr: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"borderTopLeftRadius">) => {
270
- borderTopLeftRadius: string | number | _stitches_react_types_css_util.WithScaleValue<"borderTopLeftRadius">;
271
- };
272
- bs: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"boxShadow">) => {
273
- boxShadow: string | number | _stitches_react_types_css_util.WithScaleValue<"boxShadow">;
274
- };
275
- lh: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"lineHeight">) => {
276
- lineHeight: string | number | _stitches_react_types_css_util.WithScaleValue<"lineHeight">;
277
- };
278
- ox: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"overflowX">) => {
279
- overflowX: string | number | _stitches_react_types_css_util.WithScaleValue<"overflowX">;
280
- };
281
- oy: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"overflowY">) => {
282
- overflowY: string | number | _stitches_react_types_css_util.WithScaleValue<"overflowY">;
283
- };
284
- pe: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"pointerEvents">) => {
285
- pointerEvents: string | number | _stitches_react_types_css_util.WithScaleValue<"pointerEvents">;
286
- };
287
- us: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"userSelect">) => {
288
- WebkitUserSelect: string | number | _stitches_react_types_css_util.WithScaleValue<"userSelect">;
289
- userSelect: string | number | _stitches_react_types_css_util.WithScaleValue<"userSelect">;
290
- };
291
- userSelect: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"userSelect">) => {
292
- WebkitUserSelect: string | number | _stitches_react_types_css_util.WithScaleValue<"userSelect">;
293
- userSelect: string | number | _stitches_react_types_css_util.WithScaleValue<"userSelect">;
294
- };
295
- size: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"width">) => {
296
- width: string | number | _stitches_react_types_css_util.WithScaleValue<"width">;
297
- height: string | number | _stitches_react_types_css_util.WithScaleValue<"width">;
298
- };
299
- appearance: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"appearance">) => {
300
- WebkitAppearance: string | number | _stitches_react_types_css_util.WithScaleValue<"appearance">;
301
- appearance: string | number | _stitches_react_types_css_util.WithScaleValue<"appearance">;
302
- };
303
- backgroundClip: (value: string | number | _stitches_react_types_css_util.WithScaleValue<"backgroundClip">) => {
304
- WebkitBackgroundClip: string | number | _stitches_react_types_css_util.WithScaleValue<"backgroundClip">;
305
- backgroundClip: string | number | _stitches_react_types_css_util.WithScaleValue<"backgroundClip">;
306
- };
307
- }>>;
308
-
309
- declare type SwitchVariants = VariantProps<typeof StyledSwitch>;
310
- declare type SwitchPrimitiveProps = ComponentProps<typeof SwitchPrimitive.Root>;
311
- declare type SwitchProps = SwitchPrimitiveProps & SwitchVariants & {
312
- css?: CSS;
313
- };
314
-
315
- declare const Switch: react.ForwardRefExoticComponent<Pick<SwitchProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "asChild" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "required" | "checked" | "onCheckedChange"> & react.RefAttributes<HTMLButtonElement>>;
316
-
317
- interface SwitchIconProps extends SwitchProps {
318
- icon?: ReactNode;
319
- iconOff?: ReactNode;
320
- iconOn?: ReactNode;
321
- }
322
- declare const SwitchIcon: react.ForwardRefExoticComponent<Pick<SwitchIconProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "icon" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "asChild" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "required" | "checked" | "onCheckedChange" | "iconOff" | "iconOn"> & react.RefAttributes<HTMLButtonElement>>;
323
-
324
- export { Switch as S, SwitchIcon as a };