@jeromefitz/design-system 4.1.6 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. package/Avatar-df0b8f4a.d.ts +395 -0
  2. package/{ButtonDemo-dbc35fc7.d.ts → ButtonDemo-adaa2802.d.ts} +1 -1
  3. package/Checkbox-2943787d.d.ts +376 -0
  4. package/{ContextMenu-7b2e548d.d.ts → ContextMenu-6f333c0e.d.ts} +2 -2
  5. package/{DropdownMenu-8cb36b6a.d.ts → DropdownMenu-131b231b.d.ts} +2 -2
  6. package/{FocusArea-d47ba521.d.ts → FocusArea-4cc67786.d.ts} +2 -2
  7. package/{Heading-848dbcb9.d.ts → Heading-31acb2e9.d.ts} +2 -2
  8. package/{Icon-b62f4b89.d.ts → Icon-464faa80.d.ts} +1 -1
  9. package/LICENSE +1 -1
  10. package/{Menu-7fe13437.d.ts → Menu-b6f5de19.d.ts} +2 -2
  11. package/{NavigationMenu-e84374c2.d.ts → NavigationMenu-900904d7.d.ts} +4 -4
  12. package/{PageHeading-e146e00e.d.ts → PageHeading-c0cd9afd.d.ts} +1 -1
  13. package/Paragraph-b27206a0.d.ts +6 -0
  14. package/{Paragraph.types-54ab648b.d.ts → Paragraph.types-e041945f.d.ts} +1 -1
  15. package/Popover-0ed9b61a.d.ts +18 -0
  16. package/ProgressBar-be6dbde1.d.ts +305 -0
  17. package/Radio-0fdc85b9.d.ts +564 -0
  18. package/RadioCard-b27e82fd.d.ts +262 -0
  19. package/{Sheet-fa50617e.d.ts → Sheet-772a3ac6.d.ts} +1 -1
  20. package/Slider-f7c0b154.d.ts +260 -0
  21. package/SwitchIcon-adf6d080.d.ts +324 -0
  22. package/{Tabs.styles-13527893.d.ts → Tabs.styles-2f3608bd.d.ts} +1 -1
  23. package/{VerifiedBadge-ffb77b5d.d.ts → VerifiedBadge-a5c41f10.d.ts} +1 -1
  24. package/{chunk-NKESCUYG.js → chunk-HHPJKV62.js} +1 -1
  25. package/{chunk-RCXJ7GAL.cjs → chunk-HJBRQUEJ.cjs} +1 -1
  26. package/{chunk-OY2QFZRK.cjs → chunk-JWDOSYPW.cjs} +1 -1
  27. package/{chunk-AMNSHTAK.js → chunk-MG4ODWI5.js} +1 -1
  28. package/{chunk-GECTKPJ2.cjs → chunk-NC6E4EWN.cjs} +1 -1
  29. package/{chunk-YHMKWVMP.js → chunk-YHVEIQLG.js} +1 -1
  30. package/components/Accordion/index.d.ts +1 -1
  31. package/components/Alert/index.d.ts +1 -1
  32. package/components/AlertDialog/index.d.ts +1 -1
  33. package/components/Announce/index.d.ts +1 -1
  34. package/components/AppBar/index.d.ts +1 -1
  35. package/components/Avatar/index.cjs +1 -1
  36. package/components/Avatar/index.d.ts +2 -2
  37. package/components/Avatar/index.js +1 -1
  38. package/components/Badge/index.d.ts +1 -1
  39. package/components/Banner/index.d.ts +1 -1
  40. package/components/Blockquote/index.d.ts +1 -1
  41. package/components/Box/index.d.ts +1 -1
  42. package/components/BoxGrab/index.d.ts +1 -1
  43. package/components/BoxLink/index.d.ts +1 -1
  44. package/components/Button/index.cjs +1 -1
  45. package/components/Button/index.d.ts +1 -1
  46. package/components/Button/index.js +1 -1
  47. package/components/Callout/index.d.ts +1 -1
  48. package/components/Caption/index.cjs +1 -1
  49. package/components/Caption/index.d.ts +1 -1
  50. package/components/Caption/index.js +1 -1
  51. package/components/Card/index.d.ts +1 -1
  52. package/components/Carousel/index.cjs +1 -1
  53. package/components/Carousel/index.d.ts +1 -1
  54. package/components/Carousel/index.js +1 -1
  55. package/components/Checkbox/index.d.ts +1 -1
  56. package/components/Code/index.d.ts +1 -1
  57. package/components/CommandMenu/index.cjs +1 -1
  58. package/components/CommandMenu/index.d.ts +1 -1
  59. package/components/CommandMenu/index.js +1 -1
  60. package/components/Container/index.d.ts +1 -1
  61. package/components/ContextMenu/index.cjs +1 -1
  62. package/components/ContextMenu/index.d.ts +1 -1
  63. package/components/ContextMenu/index.js +1 -1
  64. package/components/ControlGroup/index.d.ts +1 -1
  65. package/components/Dialog/index.cjs +1 -1
  66. package/components/Dialog/index.d.ts +1 -1
  67. package/components/Dialog/index.js +1 -1
  68. package/components/DropdownMenu/index.cjs +1 -1
  69. package/components/DropdownMenu/index.d.ts +1 -1
  70. package/components/DropdownMenu/index.js +1 -1
  71. package/components/Flex/index.d.ts +1 -1
  72. package/components/FocusArea/index.cjs +1 -1
  73. package/components/FocusArea/index.d.ts +1 -1
  74. package/components/FocusArea/index.js +1 -1
  75. package/components/Grid/index.d.ts +1 -1
  76. package/components/Heading/index.d.ts +2 -2
  77. package/components/Icon/index.d.ts +2 -2
  78. package/components/IconButton/index.d.ts +1 -1
  79. package/components/Image/index.d.ts +1 -1
  80. package/components/Kbd/index.d.ts +1 -1
  81. package/components/Label/index.d.ts +1 -1
  82. package/components/Link/index.d.ts +1 -1
  83. package/components/LoadingDots/index.d.ts +1 -1
  84. package/components/Menu/index.cjs +1 -1
  85. package/components/Menu/index.d.ts +1 -1
  86. package/components/Menu/index.js +1 -1
  87. package/components/NavigationMenu/index.d.ts +2 -2
  88. package/components/Note/index.cjs +1 -1
  89. package/components/Note/index.d.ts +1 -1
  90. package/components/Note/index.js +1 -1
  91. package/components/Overlay/index.d.ts +1 -1
  92. package/components/PageHeading/index.cjs +1 -1
  93. package/components/PageHeading/index.d.ts +3 -3
  94. package/components/PageHeading/index.js +1 -1
  95. package/components/Panel/index.d.ts +1 -1
  96. package/components/Paragraph/index.cjs +1 -1
  97. package/components/Paragraph/index.d.ts +3 -3
  98. package/components/Paragraph/index.js +1 -1
  99. package/components/Popover/index.cjs +1 -1
  100. package/components/Popover/index.d.ts +1 -1
  101. package/components/Popover/index.js +1 -1
  102. package/components/ProgressBar/index.d.ts +1 -1
  103. package/components/Radio/index.d.ts +1 -1
  104. package/components/RadioCard/index.d.ts +1 -1
  105. package/components/RadioGrid/index.d.ts +1 -1
  106. package/components/ScrollArea/index.cjs +1 -1
  107. package/components/ScrollArea/index.d.ts +1 -1
  108. package/components/ScrollArea/index.js +1 -1
  109. package/components/Section/index.d.ts +1 -1
  110. package/components/Select/index.d.ts +1 -1
  111. package/components/Separator/index.d.ts +1 -1
  112. package/components/Sheet/index.d.ts +1 -1
  113. package/components/Skeleton/index.d.ts +1 -1
  114. package/components/Slider/index.d.ts +1 -1
  115. package/components/Spacer/index.cjs +1 -1
  116. package/components/Spacer/index.d.ts +1 -1
  117. package/components/Spacer/index.js +1 -1
  118. package/components/Status/index.d.ts +1 -1
  119. package/components/Sub/index.d.ts +1 -1
  120. package/components/Sup/index.d.ts +1 -1
  121. package/components/Switch/index.cjs +1 -1
  122. package/components/Switch/index.d.ts +1 -1
  123. package/components/Switch/index.js +1 -1
  124. package/components/TabLink/index.d.ts +1 -1
  125. package/components/Table/index.d.ts +1 -1
  126. package/components/Tabs/index.cjs +1 -1
  127. package/components/Tabs/index.d.ts +1 -1
  128. package/components/Tabs/index.js +1 -1
  129. package/components/Text/index.d.ts +1 -1
  130. package/components/TextArea/index.d.ts +1 -1
  131. package/components/TextField/index.d.ts +1 -1
  132. package/components/Toast/index.cjs +1 -1
  133. package/components/Toast/index.d.ts +1 -1
  134. package/components/Toast/index.js +1 -1
  135. package/components/Toggle/index.d.ts +1 -1
  136. package/components/ToggleGroup/index.d.ts +1 -1
  137. package/components/Toolbar/index.d.ts +1 -1
  138. package/components/Tooltip/index.cjs +1 -1
  139. package/components/Tooltip/index.d.ts +1 -1
  140. package/components/Tooltip/index.js +1 -1
  141. package/components/TreeItem/index.d.ts +1 -1
  142. package/components/VerifiedBadge/index.cjs +1 -1
  143. package/components/VerifiedBadge/index.d.ts +1 -1
  144. package/components/VerifiedBadge/index.js +1 -1
  145. package/components/VisuallyHidden/index.d.ts +1 -1
  146. package/components/index.cjs +1 -1
  147. package/components/index.d.ts +76 -76
  148. package/components/index.js +1 -1
  149. package/custom/Card/index.d.ts +1 -1
  150. package/custom/Emoji/index.cjs +1 -1
  151. package/custom/Emoji/index.d.ts +1 -1
  152. package/custom/Emoji/index.js +1 -1
  153. package/custom/Hero/index.cjs +1 -1
  154. package/custom/Hero/index.js +1 -1
  155. package/custom/index.cjs +1 -1
  156. package/custom/index.d.ts +2 -2
  157. package/custom/index.js +1 -1
  158. package/index.cjs +1 -1
  159. package/index.d.ts +82 -88
  160. package/index.js +1 -1
  161. package/package.json +89 -91
  162. package/Avatar-49ac7d8e.d.ts +0 -395
  163. package/Checkbox-c10d0f40.d.ts +0 -376
  164. package/Paragraph-d411737b.d.ts +0 -6
  165. package/Popover-eac2ec74.d.ts +0 -18
  166. package/ProgressBar-68a880e5.d.ts +0 -305
  167. package/Radio-6cefaf19.d.ts +0 -564
  168. package/RadioCard-93a59685.d.ts +0 -262
  169. package/Slider-f0baefc6.d.ts +0 -260
  170. package/SwitchIcon-7347591b.d.ts +0 -324
  171. /package/{Accordion-4ee18be8.d.ts → Accordion-2fc6cca7.d.ts} +0 -0
  172. /package/{Alert-6851b974.d.ts → Alert-d01e69ba.d.ts} +0 -0
  173. /package/{AlertDialog-7967fb73.d.ts → AlertDialog-ee362b59.d.ts} +0 -0
  174. /package/{Announce-f95e763b.d.ts → Announce-94b08fcf.d.ts} +0 -0
  175. /package/{AppBar-be17f0ce.d.ts → AppBar-70930f32.d.ts} +0 -0
  176. /package/{Badge-af0370f8.d.ts → Badge-3a6b6459.d.ts} +0 -0
  177. /package/{Banner-031e4193.d.ts → Banner-78d9e930.d.ts} +0 -0
  178. /package/{Blockquote-34128060.d.ts → Blockquote-c154ceba.d.ts} +0 -0
  179. /package/{Box-ed161a2b.d.ts → Box-7ec1f514.d.ts} +0 -0
  180. /package/{BoxGrab-a0c6b58f.d.ts → BoxGrab-b64a04f7.d.ts} +0 -0
  181. /package/{BoxLink-593cc24a.d.ts → BoxLink-3c2ff9e5.d.ts} +0 -0
  182. /package/{Callout-5c413ba3.d.ts → Callout-a91a41d8.d.ts} +0 -0
  183. /package/{Caption-71fee953.d.ts → Caption-5bdd1afc.d.ts} +0 -0
  184. /package/{Card-15a6c6fc.d.ts → Card-44490af0.d.ts} +0 -0
  185. /package/{Carousel-f585a32b.d.ts → Carousel-f81083b2.d.ts} +0 -0
  186. /package/{Code-c14ea67d.d.ts → Code-1425e777.d.ts} +0 -0
  187. /package/{CommandMenu-c2cfe342.d.ts → CommandMenu-bb0d6311.d.ts} +0 -0
  188. /package/{Container-38fb7e49.d.ts → Container-b8b6e81c.d.ts} +0 -0
  189. /package/{ControlGroup-597b643e.d.ts → ControlGroup-d06f4b62.d.ts} +0 -0
  190. /package/{Dialog-70ba5b69.d.ts → Dialog-12f5f63b.d.ts} +0 -0
  191. /package/{EmojiParser-5356b7d1.d.ts → EmojiParser-36ff1262.d.ts} +0 -0
  192. /package/{Flex-77b8491f.d.ts → Flex-497e7617.d.ts} +0 -0
  193. /package/{Grid-2f151d59.d.ts → Grid-6c8e8ecf.d.ts} +0 -0
  194. /package/{Icon.types-1480d456.d.ts → Icon.types-48a13108.d.ts} +0 -0
  195. /package/{IconButton-899aa9ab.d.ts → IconButton-f8ef5575.d.ts} +0 -0
  196. /package/{Image-143403e3.d.ts → Image-cb60725d.d.ts} +0 -0
  197. /package/{Kbd-149a6f3e.d.ts → Kbd-b8d2683e.d.ts} +0 -0
  198. /package/{Label-5f1c67ba.d.ts → Label-2f40709b.d.ts} +0 -0
  199. /package/{Link-426db150.d.ts → Link-bf26a1c6.d.ts} +0 -0
  200. /package/{LoadingDots-fed943e9.d.ts → LoadingDots-22b6de1b.d.ts} +0 -0
  201. /package/{Note-98a3e810.d.ts → Note-d2764283.d.ts} +0 -0
  202. /package/{Overlay.styles-82fedffb.d.ts → Overlay.styles-6a4dd3e8.d.ts} +0 -0
  203. /package/{Panel.styles-bbc4bfaf.d.ts → Panel.styles-491728d4.d.ts} +0 -0
  204. /package/{RadioGrid-c8b16e70.d.ts → RadioGrid-0c70db77.d.ts} +0 -0
  205. /package/{ScrollArea-92343052.d.ts → ScrollArea-14b2feb8.d.ts} +0 -0
  206. /package/{Section-b6b35443.d.ts → Section-67cd986f.d.ts} +0 -0
  207. /package/{Select-e64dce51.d.ts → Select-b2d8960c.d.ts} +0 -0
  208. /package/{Separator-6659e651.d.ts → Separator-37db30e4.d.ts} +0 -0
  209. /package/{Skeleton-14d91960.d.ts → Skeleton-5eaa4deb.d.ts} +0 -0
  210. /package/{Spacer-180a9f56.d.ts → Spacer-94122963.d.ts} +0 -0
  211. /package/{Spotify-dcc9c8c5.d.ts → Spotify-c2a68dcf.d.ts} +0 -0
  212. /package/{Status-a3815aad.d.ts → Status-ae56d1a8.d.ts} +0 -0
  213. /package/{Sub-6a33bd8d.d.ts → Sub-56bbbc86.d.ts} +0 -0
  214. /package/{Sup-c826d72c.d.ts → Sup-a3e3aed8.d.ts} +0 -0
  215. /package/{TabLink-a331612d.d.ts → TabLink-70d91718.d.ts} +0 -0
  216. /package/{Table-7a405813.d.ts → Table-221e70b2.d.ts} +0 -0
  217. /package/{Text-faee46ac.d.ts → Text-b4dbb448.d.ts} +0 -0
  218. /package/{TextArea-d25fb2b3.d.ts → TextArea-c7fb6f33.d.ts} +0 -0
  219. /package/{TextField-f7adffeb.d.ts → TextField-80821346.d.ts} +0 -0
  220. /package/{Toaster-e13e0dcc.d.ts → Toaster-1976c1c0.d.ts} +0 -0
  221. /package/{Toggle-0ce8252c.d.ts → Toggle-ac0f0a19.d.ts} +0 -0
  222. /package/{ToggleGroup-c29f3012.d.ts → ToggleGroup-0ae0974e.d.ts} +0 -0
  223. /package/{Toolbar-8397da4c.d.ts → Toolbar-bd80eb25.d.ts} +0 -0
  224. /package/{Tooltip-8f61f203.d.ts → Tooltip-0d809b6c.d.ts} +0 -0
  225. /package/{TreeItem-6b0fb009.d.ts → TreeItem-7179ad4b.d.ts} +0 -0
  226. /package/{VisuallyHidden-1c35e2d2.d.ts → VisuallyHidden-25ba8420.d.ts} +0 -0
@@ -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" | "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" | "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 };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes