@nextui-org/react 1.0.0-beta.6 → 1.0.0-beta.9-dbg1

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 (278) hide show
  1. package/cjs/avatar/avatar.js +1 -1
  2. package/cjs/avatar/avatar.styles.js +1 -1
  3. package/cjs/backdrop/backdrop.styles.js +1 -1
  4. package/cjs/button/button-icon.js +1 -1
  5. package/cjs/button/button.js +1 -1
  6. package/cjs/button/button.styles.js +1 -1
  7. package/cjs/button/utils.js +1 -1
  8. package/cjs/card/card.js +1 -1
  9. package/cjs/card/card.styles.js +1 -1
  10. package/cjs/card/index.js +1 -1
  11. package/cjs/card/use-card.js +1 -0
  12. package/cjs/checkbox/checkbox-context.js +1 -1
  13. package/cjs/checkbox/checkbox-group.js +1 -1
  14. package/cjs/checkbox/checkbox.js +1 -1
  15. package/cjs/checkbox/checkbox.styles.js +1 -1
  16. package/cjs/checkbox/use-checkbox-group.js +1 -0
  17. package/cjs/checkbox/use-checkbox.js +1 -0
  18. package/cjs/collapse/collapse.styles.js +1 -1
  19. package/cjs/css-baseline/css-baseline.js +1 -1
  20. package/cjs/dropdown/base/dropdown-item-base.js +1 -0
  21. package/cjs/dropdown/dropdown-button.js +1 -0
  22. package/cjs/dropdown/dropdown-context.js +1 -0
  23. package/cjs/dropdown/dropdown-icon.js +1 -0
  24. package/cjs/dropdown/dropdown-item.js +1 -0
  25. package/cjs/dropdown/dropdown-menu.js +1 -0
  26. package/cjs/dropdown/dropdown-section.js +1 -0
  27. package/cjs/dropdown/dropdown-trigger.js +1 -0
  28. package/cjs/dropdown/dropdown-types.js +1 -0
  29. package/cjs/dropdown/dropdown.js +1 -0
  30. package/cjs/dropdown/dropdown.styles.js +1 -0
  31. package/cjs/dropdown/index.js +1 -0
  32. package/cjs/dropdown/use-dropdown.js +1 -0
  33. package/cjs/grid/grid-container.js +1 -1
  34. package/cjs/image/image.js +1 -1
  35. package/cjs/image/image.styles.js +1 -1
  36. package/cjs/index.js +1 -1
  37. package/cjs/input/input.styles.js +1 -1
  38. package/cjs/link/link.js +1 -1
  39. package/cjs/link/link.styles.js +1 -1
  40. package/cjs/modal/modal.styles.js +1 -1
  41. package/cjs/pagination/pagination.styles.js +1 -1
  42. package/cjs/popover/popover-content.js +1 -1
  43. package/cjs/popover/popover-trigger.js +1 -1
  44. package/cjs/popover/popover.js +1 -1
  45. package/cjs/popover/popover.styles.js +1 -1
  46. package/cjs/popover/use-popover.js +1 -1
  47. package/cjs/popover/utils.js +1 -1
  48. package/cjs/radio/index.js +1 -1
  49. package/cjs/radio/radio-context.js +1 -1
  50. package/cjs/radio/radio-group.js +1 -1
  51. package/cjs/radio/radio.js +1 -1
  52. package/cjs/radio/radio.styles.js +1 -1
  53. package/cjs/radio/use-radio-group.js +1 -0
  54. package/cjs/radio/use-radio.js +1 -0
  55. package/cjs/snippet/snippet.styles.js +1 -1
  56. package/cjs/switch/switch.styles.js +1 -1
  57. package/cjs/table/table-checkbox-cell.js +1 -1
  58. package/cjs/table/table-context.js +1 -1
  59. package/cjs/table/table-select-all-checkbox.js +1 -1
  60. package/cjs/table/table.js +1 -1
  61. package/cjs/table/table.styles.js +1 -1
  62. package/cjs/table/utils.js +1 -1
  63. package/cjs/theme/colors/blue.js +1 -0
  64. package/cjs/theme/colors/cyan.js +1 -0
  65. package/cjs/theme/colors/gray.js +1 -0
  66. package/cjs/theme/colors/green.js +1 -0
  67. package/cjs/theme/colors/index.js +1 -0
  68. package/cjs/theme/colors/pink.js +1 -0
  69. package/cjs/theme/colors/purple.js +1 -0
  70. package/cjs/theme/colors/red.js +1 -0
  71. package/cjs/theme/colors/yellow.js +1 -0
  72. package/cjs/theme/common.js +1 -1
  73. package/cjs/theme/dark-theme.js +1 -1
  74. package/cjs/theme/index.js +1 -1
  75. package/cjs/theme/light-theme.js +1 -1
  76. package/cjs/theme/shared-css.js +1 -0
  77. package/cjs/theme/stitches.config.js +1 -1
  78. package/cjs/tooltip/tooltip.styles.js +1 -1
  79. package/cjs/user/index.js +1 -1
  80. package/cjs/user/user-link.js +1 -1
  81. package/cjs/user/user.js +1 -1
  82. package/cjs/user/user.styles.js +1 -1
  83. package/cjs/utils/checkmark.js +1 -0
  84. package/cjs/utils/color.js +1 -1
  85. package/cjs/utils/dom.js +1 -1
  86. package/cjs/utils/icons.js +1 -1
  87. package/cjs/utils/prop-types.js +1 -1
  88. package/dropdown/package.json +6 -0
  89. package/esm/avatar/avatar.js +1 -1
  90. package/esm/avatar/avatar.styles.js +1 -1
  91. package/esm/backdrop/backdrop.styles.js +1 -1
  92. package/esm/button/button-icon.js +1 -1
  93. package/esm/button/button.js +1 -1
  94. package/esm/button/button.styles.js +1 -1
  95. package/esm/button/utils.js +1 -1
  96. package/esm/card/card.js +1 -1
  97. package/esm/card/card.styles.js +1 -1
  98. package/esm/card/index.js +1 -1
  99. package/esm/card/use-card.js +1 -0
  100. package/esm/checkbox/checkbox-context.js +1 -1
  101. package/esm/checkbox/checkbox-group.js +1 -1
  102. package/esm/checkbox/checkbox.js +1 -1
  103. package/esm/checkbox/checkbox.styles.js +1 -1
  104. package/esm/checkbox/use-checkbox-group.js +1 -0
  105. package/esm/checkbox/use-checkbox.js +1 -0
  106. package/esm/collapse/collapse.styles.js +1 -1
  107. package/esm/css-baseline/css-baseline.js +1 -1
  108. package/esm/dropdown/base/dropdown-item-base.js +1 -0
  109. package/esm/dropdown/dropdown-button.js +1 -0
  110. package/esm/dropdown/dropdown-context.js +1 -0
  111. package/esm/dropdown/dropdown-icon.js +1 -0
  112. package/esm/dropdown/dropdown-item.js +1 -0
  113. package/esm/dropdown/dropdown-menu.js +1 -0
  114. package/esm/dropdown/dropdown-section.js +1 -0
  115. package/esm/dropdown/dropdown-trigger.js +1 -0
  116. package/esm/dropdown/dropdown-types.js +1 -0
  117. package/esm/dropdown/dropdown.js +1 -0
  118. package/esm/dropdown/dropdown.styles.js +1 -0
  119. package/esm/dropdown/index.js +1 -0
  120. package/esm/dropdown/use-dropdown.js +1 -0
  121. package/esm/grid/grid-container.js +1 -1
  122. package/esm/image/image.js +1 -1
  123. package/esm/image/image.styles.js +1 -1
  124. package/esm/index.js +1 -1
  125. package/esm/input/input.styles.js +1 -1
  126. package/esm/link/link.js +1 -1
  127. package/esm/link/link.styles.js +1 -1
  128. package/esm/modal/modal.styles.js +1 -1
  129. package/esm/pagination/pagination.styles.js +1 -1
  130. package/esm/popover/popover-content.js +1 -1
  131. package/esm/popover/popover-trigger.js +1 -1
  132. package/esm/popover/popover.js +1 -1
  133. package/esm/popover/popover.styles.js +1 -1
  134. package/esm/popover/use-popover.js +1 -1
  135. package/esm/popover/utils.js +1 -1
  136. package/esm/radio/index.js +1 -1
  137. package/esm/radio/radio-context.js +1 -1
  138. package/esm/radio/radio-group.js +1 -1
  139. package/esm/radio/radio.js +1 -1
  140. package/esm/radio/radio.styles.js +1 -1
  141. package/esm/radio/use-radio-group.js +1 -0
  142. package/esm/radio/use-radio.js +1 -0
  143. package/esm/snippet/snippet.styles.js +1 -1
  144. package/esm/switch/switch.styles.js +1 -1
  145. package/esm/table/table-checkbox-cell.js +1 -1
  146. package/esm/table/table-context.js +1 -1
  147. package/esm/table/table-select-all-checkbox.js +1 -1
  148. package/esm/table/table.js +1 -1
  149. package/esm/table/table.styles.js +1 -1
  150. package/esm/table/utils.js +1 -1
  151. package/esm/theme/colors/blue.js +1 -0
  152. package/esm/theme/colors/cyan.js +1 -0
  153. package/esm/theme/colors/gray.js +1 -0
  154. package/esm/theme/colors/green.js +1 -0
  155. package/esm/theme/colors/index.js +1 -0
  156. package/esm/theme/colors/pink.js +1 -0
  157. package/esm/theme/colors/purple.js +1 -0
  158. package/esm/theme/colors/red.js +1 -0
  159. package/esm/theme/colors/yellow.js +1 -0
  160. package/esm/theme/common.js +1 -1
  161. package/esm/theme/dark-theme.js +1 -1
  162. package/esm/theme/index.js +1 -1
  163. package/esm/theme/light-theme.js +1 -1
  164. package/esm/theme/shared-css.js +1 -0
  165. package/esm/theme/stitches.config.js +1 -1
  166. package/esm/tooltip/tooltip.styles.js +1 -1
  167. package/esm/user/index.js +1 -1
  168. package/esm/user/user-link.js +1 -1
  169. package/esm/user/user.js +1 -1
  170. package/esm/user/user.styles.js +1 -1
  171. package/esm/utils/checkmark.js +1 -0
  172. package/esm/utils/color.js +1 -1
  173. package/esm/utils/dom.js +1 -1
  174. package/esm/utils/icons.js +1 -1
  175. package/esm/utils/prop-types.js +1 -1
  176. package/package.json +29 -24
  177. package/types/avatar/avatar-group.styles.d.ts +396 -174
  178. package/types/avatar/avatar.d.ts +2372 -11
  179. package/types/avatar/avatar.styles.d.ts +2570 -98
  180. package/types/backdrop/backdrop.styles.d.ts +594 -261
  181. package/types/button/button-group.styles.d.ts +198 -87
  182. package/types/button/button-icon.d.ts +202 -89
  183. package/types/button/button.d.ts +5 -3
  184. package/types/button/button.styles.d.ts +1636 -189
  185. package/types/card/card.d.ts +8 -9
  186. package/types/card/card.styles.d.ts +3103 -350
  187. package/types/card/use-card.d.ts +301 -0
  188. package/types/checkbox/checkbox-context.d.ts +3 -11
  189. package/types/checkbox/checkbox-group.d.ts +9 -28
  190. package/types/checkbox/checkbox.d.ts +8 -40
  191. package/types/checkbox/checkbox.styles.d.ts +2193 -2021
  192. package/types/checkbox/use-checkbox-group.d.ts +30 -0
  193. package/types/checkbox/use-checkbox.d.ts +26 -0
  194. package/types/code/code.styles.d.ts +396 -174
  195. package/types/col/col.styles.d.ts +198 -87
  196. package/types/collapse/collapse.styles.d.ts +1199 -533
  197. package/types/container/container.styles.d.ts +198 -87
  198. package/types/divider/divider.styles.d.ts +396 -174
  199. package/types/dropdown/base/dropdown-item-base.d.ts +19 -0
  200. package/types/dropdown/dropdown-button.d.ts +3689 -0
  201. package/types/dropdown/dropdown-context.d.ts +728 -0
  202. package/types/dropdown/dropdown-icon.d.ts +9 -0
  203. package/types/dropdown/dropdown-item.d.ts +31 -0
  204. package/types/dropdown/dropdown-menu.d.ts +30 -0
  205. package/types/dropdown/dropdown-section.d.ts +29 -0
  206. package/types/dropdown/dropdown-trigger.d.ts +11 -0
  207. package/types/dropdown/dropdown-types.d.ts +24 -0
  208. package/types/dropdown/dropdown.d.ts +24 -0
  209. package/types/dropdown/dropdown.styles.d.ts +11869 -0
  210. package/types/dropdown/index.d.ts +9 -0
  211. package/types/dropdown/use-dropdown.d.ts +389 -0
  212. package/types/grid/grid.styles.d.ts +396 -174
  213. package/types/image/image.d.ts +5 -18
  214. package/types/image/image.styles.d.ts +594 -261
  215. package/types/index.d.ts +5 -1
  216. package/types/input/input-password.d.ts +1 -1
  217. package/types/input/input-props.d.ts +2 -2
  218. package/types/input/input.styles.d.ts +2367 -1146
  219. package/types/link/link.styles.d.ts +396 -174
  220. package/types/loading/loading.styles.d.ts +1199 -533
  221. package/types/modal/modal.styles.d.ts +1199 -533
  222. package/types/pagination/pagination.styles.d.ts +1199 -533
  223. package/types/popover/popover-content.d.ts +1147 -2
  224. package/types/popover/popover-context.d.ts +120 -0
  225. package/types/popover/popover.d.ts +4 -4
  226. package/types/popover/popover.styles.d.ts +2374 -88
  227. package/types/popover/use-popover.d.ts +83 -4
  228. package/types/popover/utils.d.ts +3 -1
  229. package/types/progress/progress.d.ts +1 -1
  230. package/types/progress/progress.styles.d.ts +396 -174
  231. package/types/radio/index.d.ts +2 -2
  232. package/types/radio/radio-context.d.ts +22 -13
  233. package/types/radio/radio-group.d.ts +9 -78
  234. package/types/radio/radio.d.ts +10 -66
  235. package/types/radio/radio.styles.d.ts +3335 -562
  236. package/types/radio/use-radio-group.d.ts +26 -0
  237. package/types/radio/use-radio.d.ts +31 -0
  238. package/types/row/row.styles.d.ts +198 -87
  239. package/types/snippet/snippet.styles.d.ts +803 -359
  240. package/types/spacer/spacer.styles.d.ts +198 -87
  241. package/types/switch/switch.d.ts +1 -1
  242. package/types/switch/switch.styles.d.ts +803 -359
  243. package/types/table/table-column-header.d.ts +198 -87
  244. package/types/table/table-sort-icon.d.ts +198 -87
  245. package/types/table/table.styles.d.ts +3745 -1856
  246. package/types/table/utils.d.ts +5 -29
  247. package/types/text/text.styles.d.ts +198 -87
  248. package/types/textarea/textarea.d.ts +1 -1
  249. package/types/theme/colors/blue.d.ts +24 -0
  250. package/types/theme/colors/cyan.d.ts +24 -0
  251. package/types/theme/colors/gray.d.ts +24 -0
  252. package/types/theme/colors/green.d.ts +24 -0
  253. package/types/theme/colors/index.d.ts +8 -0
  254. package/types/theme/colors/pink.d.ts +24 -0
  255. package/types/theme/colors/purple.d.ts +24 -0
  256. package/types/theme/colors/red.d.ts +24 -0
  257. package/types/theme/colors/yellow.d.ts +24 -0
  258. package/types/theme/common.d.ts +449 -392
  259. package/types/theme/dark-theme.d.ts +112 -22
  260. package/types/theme/light-theme.d.ts +91 -13
  261. package/types/theme/shared-css.d.ts +5237 -0
  262. package/types/theme/stitches.config.d.ts +3120 -4934
  263. package/types/theme/types.d.ts +3 -0
  264. package/types/tooltip/tooltip.d.ts +1 -1
  265. package/types/tooltip/tooltip.styles.d.ts +803 -359
  266. package/types/user/index.d.ts +1 -1
  267. package/types/user/user-link.d.ts +4 -11
  268. package/types/user/user.styles.d.ts +787 -1277
  269. package/types/utils/checkmark.d.ts +19 -0
  270. package/types/utils/color.d.ts +1 -0
  271. package/types/utils/dom.d.ts +5 -2
  272. package/types/utils/drip.d.ts +199 -88
  273. package/types/utils/prop-types.d.ts +4 -0
  274. package/umd/nextui.js +14191 -17827
  275. package/umd/nextui.min.js +1 -1
  276. package/cjs/checkbox/utils.js +0 -1
  277. package/esm/checkbox/utils.js +0 -1
  278. package/types/checkbox/utils.d.ts +0 -288
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { VariantProps } from '../theme/stitches.config';
2
+ import { VariantProps, CSS } from '../theme/stitches.config';
3
3
  interface Props {
4
4
  isRight?: boolean;
5
5
  isSingle?: boolean;
@@ -53,89 +53,20 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
53
53
  lg: string;
54
54
  xl: string;
55
55
  };
56
+ dropShadows: {
57
+ xs: string;
58
+ sm: string;
59
+ md: string;
60
+ lg: string;
61
+ xl: string;
62
+ };
56
63
  colors: {
57
- accents1: string;
58
- accents2: string;
59
- accents3: string;
60
- accents4: string;
61
- accents5: string;
62
- accents6: string;
63
- accents7: string;
64
- accents8: string;
65
- accents9: string;
66
- background: string;
67
- foreground: string;
68
- backgroundContrast: string;
69
64
  text: string;
65
+ link: string;
70
66
  codeLight: string;
71
67
  code: string;
72
- border: string;
73
68
  selection: string;
74
- white: string;
75
- black: string;
76
- blue100: string;
77
- blue200: string;
78
- blue300: string;
79
- blue400: string;
80
- blue500: string;
81
- blue600: string;
82
- blue700: string;
83
- blue800: string;
84
- blue900: string;
85
- purple100: string;
86
- purple200: string;
87
- purple300: string;
88
- purple400: string;
89
- purple500: string;
90
- purple600: string;
91
- purple700: string;
92
- purple800: string;
93
- purple900: string;
94
- green100: string;
95
- green200: string;
96
- green300: string;
97
- green400: string;
98
- green500: string;
99
- green600: string;
100
- green700: string;
101
- green800: string;
102
- green900: string;
103
- yellow100: string;
104
- yellow200: string;
105
- yellow300: string;
106
- yellow400: string;
107
- yellow500: string;
108
- yellow600: string;
109
- yellow700: string;
110
- yellow800: string;
111
- yellow900: string;
112
- red100: string;
113
- red200: string;
114
- red300: string;
115
- red400: string;
116
- red500: string;
117
- red600: string;
118
- red700: string;
119
- red800: string;
120
- red900: string;
121
- cyan100: string;
122
- cyan200: string;
123
- cyan300: string;
124
- cyan400: string;
125
- cyan500: string;
126
- cyan600: string;
127
- cyan700: string;
128
- cyan800: string;
129
- cyan900: string;
130
- pink100: string;
131
- pink200: string;
132
- pink300: string;
133
- pink400: string;
134
- pink500: string;
135
- pink600: string;
136
- pink700: string;
137
- pink800: string;
138
- pink900: string;
69
+ gray50: string;
139
70
  gray100: string;
140
71
  gray200: string;
141
72
  gray300: string;
@@ -145,41 +76,173 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
145
76
  gray700: string;
146
77
  gray800: string;
147
78
  gray900: string;
79
+ pink50: string;
80
+ pink100: string;
81
+ pink200: string;
82
+ pink300: string;
83
+ pink400: string;
84
+ pink500: string;
85
+ pink600: string;
86
+ pink700: string;
87
+ pink800: string;
88
+ pink900: string;
89
+ cyan50: string;
90
+ cyan100: string;
91
+ cyan200: string;
92
+ cyan300: string;
93
+ cyan400: string;
94
+ cyan500: string;
95
+ cyan600: string;
96
+ cyan700: string;
97
+ cyan800: string;
98
+ cyan900: string;
99
+ red50: string;
100
+ red100: string;
101
+ red200: string;
102
+ red300: string;
103
+ red400: string;
104
+ red500: string;
105
+ red600: string;
106
+ red700: string;
107
+ red800: string;
108
+ red900: string;
109
+ yellow50: string;
110
+ yellow100: string;
111
+ yellow200: string;
112
+ yellow300: string;
113
+ yellow400: string;
114
+ yellow500: string;
115
+ yellow600: string;
116
+ yellow700: string;
117
+ yellow800: string;
118
+ yellow900: string;
119
+ green50: string;
120
+ green100: string;
121
+ green200: string;
122
+ green300: string;
123
+ green400: string;
124
+ green500: string;
125
+ green600: string;
126
+ green700: string;
127
+ green800: string;
128
+ green900: string;
129
+ purple50: string;
130
+ purple100: string;
131
+ purple200: string;
132
+ purple300: string;
133
+ purple400: string;
134
+ purple500: string;
135
+ purple600: string;
136
+ purple700: string;
137
+ purple800: string;
138
+ purple900: string;
139
+ blue50: string;
140
+ blue100: string;
141
+ blue200: string;
142
+ blue300: string;
143
+ blue400: string;
144
+ blue500: string;
145
+ blue600: string;
146
+ blue700: string;
147
+ blue800: string;
148
+ blue900: string;
149
+ background: string;
150
+ foreground: string;
151
+ backgroundContrast: string;
152
+ white: string;
153
+ black: string;
148
154
  primaryLight: string;
155
+ primaryLightHover: string;
156
+ primaryLightActive: string;
157
+ primaryLightContrast: string;
149
158
  primary: string;
150
- primaryDark: string;
159
+ primaryBorder: string;
160
+ primaryBorderHover: string;
161
+ primarySolidHover: string;
162
+ primarySolidContrast: string;
151
163
  primaryShadow: string;
152
164
  secondaryLight: string;
165
+ secondaryLightHover: string;
166
+ secondaryLightActive: string;
167
+ secondaryLightContrast: string;
153
168
  secondary: string;
154
- secondaryDark: string;
169
+ secondaryBorder: string;
170
+ secondaryBorderHover: string;
171
+ secondarySolidHover: string;
172
+ secondarySolidContrast: string;
155
173
  secondaryShadow: string;
156
174
  successLight: string;
175
+ successLightHover: string;
176
+ successLightActive: string;
177
+ successLightContrast: string;
157
178
  success: string;
158
- successDark: string;
179
+ successBorder: string;
180
+ successBorderHover: string;
181
+ successSolidHover: string;
182
+ successSolidContrast: string;
159
183
  successShadow: string;
160
184
  warningLight: string;
185
+ warningLightHover: string;
186
+ warningLightActive: string;
187
+ warningLightContrast: string;
161
188
  warning: string;
162
- warningDark: string;
189
+ warningBorder: string;
190
+ warningBorderHover: string;
191
+ warningSolidHover: string;
192
+ warningSolidContrast: string;
163
193
  warningShadow: string;
164
194
  errorLight: string;
195
+ errorLightHover: string;
196
+ errorLightActive: string;
197
+ errorLightContrast: string;
165
198
  error: string;
166
- errorDark: string;
199
+ errorBorder: string;
200
+ errorBorderHover: string;
201
+ errorSolidHover: string;
202
+ errorSolidContrast: string;
167
203
  errorShadow: string;
204
+ neutralLight: string;
205
+ neutralLightHover: string;
206
+ neutralLightActive: string;
207
+ neutralLightContrast: string;
208
+ neutral: string;
209
+ neutralBorder: string;
210
+ neutralBorderHover: string;
211
+ neutralSolidHover: string;
212
+ neutralSolidContrast: string;
213
+ neutralShadow: string;
168
214
  gradient: string;
169
- link: string;
215
+ accents0: string;
216
+ accents1: string;
217
+ accents2: string;
218
+ accents3: string;
219
+ accents4: string;
220
+ accents5: string;
221
+ accents6: string;
222
+ accents7: string;
223
+ accents8: string;
224
+ accents9: string;
225
+ border: string;
170
226
  };
171
227
  fonts: {
172
228
  sans: string;
173
229
  mono: string;
174
230
  };
175
231
  fontSizes: {
176
- tiny: string;
177
232
  xs: string;
178
- base: string;
179
233
  sm: string;
234
+ base: string;
180
235
  md: string;
181
236
  lg: string;
182
237
  xl: string;
238
+ xl2: string;
239
+ xl3: string;
240
+ xl4: string;
241
+ xl5: string;
242
+ xl6: string;
243
+ xl7: string;
244
+ xl8: string;
245
+ xl9: string;
183
246
  };
184
247
  fontWeights: {
185
248
  hairline: number;
@@ -195,9 +258,18 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
195
258
  lineHeights: {
196
259
  xs: number;
197
260
  sm: number;
261
+ base: number;
198
262
  md: number;
199
263
  lg: number;
200
264
  xl: number;
265
+ xl2: number;
266
+ xl3: number;
267
+ xl4: number;
268
+ xl5: number;
269
+ xl6: number;
270
+ xl7: number;
271
+ xl8: number;
272
+ xl9: number;
201
273
  };
202
274
  letterSpacings: {
203
275
  tighter: string;
@@ -282,6 +354,7 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
282
354
  avatar: string;
283
355
  link: string;
284
356
  card: string;
357
+ dropdownItem: string;
285
358
  };
286
359
  breakpoints: {
287
360
  xs: string;
@@ -657,7 +730,9 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
657
730
  readonly [$$PropertyValue]: "backgroundColor";
658
731
  }) => {
659
732
  bf: string;
660
- bg: string;
733
+ bg: {
734
+ readonly [$$PropertyValue]: "backgroundColor";
735
+ };
661
736
  };
662
737
  bgColor: (value: {
663
738
  readonly [$$PropertyValue]: "backgroundColor";
@@ -735,6 +810,32 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
735
810
  readonly [$$PropertyValue]: "boxShadow";
736
811
  };
737
812
  };
813
+ ds: (value: {
814
+ readonly [$$PropertyValue]: "boxShadow";
815
+ }) => {
816
+ dropShadow: {
817
+ readonly [$$PropertyValue]: "boxShadow";
818
+ };
819
+ };
820
+ shadow: (value: {
821
+ readonly [$$PropertyValue]: "boxShadow";
822
+ }) => {
823
+ boxShadow: {
824
+ readonly [$$PropertyValue]: "boxShadow";
825
+ };
826
+ };
827
+ dshadow: (value: {
828
+ readonly [$$PropertyValue]: "boxShadow";
829
+ }) => {
830
+ dropShadow: {
831
+ readonly [$$PropertyValue]: "boxShadow";
832
+ };
833
+ };
834
+ dropShadow: (value: {
835
+ readonly [$$PropertyValue]: "boxShadow";
836
+ }) => {
837
+ filter: string;
838
+ };
738
839
  normalShadow: (value: {
739
840
  readonly [$$PropertyValue]: "backgroundColor";
740
841
  }) => {
@@ -938,6 +1039,16 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
938
1039
  readonly [$$PropertyValue]: "textDecorationLine";
939
1040
  };
940
1041
  };
1042
+ truncateText: (value: {
1043
+ readonly [$$PropertyValue]: "width";
1044
+ }) => {
1045
+ maxWidth: {
1046
+ readonly [$$PropertyValue]: "width";
1047
+ };
1048
+ whiteSpace: string;
1049
+ overflow: string;
1050
+ textOverflow: string;
1051
+ };
941
1052
  textGradient: (value: {
942
1053
  readonly [$$PropertyValue]: "backgroundImage";
943
1054
  }) => {
@@ -950,7 +1061,9 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
950
1061
  };
951
1062
  }>>;
952
1063
  declare type ButtonIconVariants = VariantProps<typeof StyledButtonIcon>;
953
- export declare type ButtonIconProps = Props & typeof defaultProps & ButtonIconVariants;
1064
+ export declare type ButtonIconProps = Props & typeof defaultProps & ButtonIconVariants & {
1065
+ css?: CSS;
1066
+ };
954
1067
  declare const _default: React.ComponentType<Partial<{
955
1068
  className: string;
956
1069
  }> & Omit<ButtonIconProps, "className">>;
@@ -1,6 +1,6 @@
1
1
  import React, { PropsWithoutRef, RefAttributes } from 'react';
2
- import { PressEvents, FocusableProps } from '@react-types/shared';
3
- import { AriaButtonProps } from '@react-types/button';
2
+ import type { PressEvents, FocusableProps } from '@react-types/shared';
3
+ import type { AriaButtonProps } from '@react-types/button';
4
4
  import { CSS } from '../theme/stitches.config';
5
5
  import { NormalColors } from '../utils/prop-types';
6
6
  import ButtonGroup from './button-group';
@@ -21,9 +21,11 @@ export interface Props extends PressEvents, FocusableProps, AriaButtonProps {
21
21
  as?: keyof JSX.IntrinsicElements;
22
22
  className?: string;
23
23
  children?: React.ReactNode | undefined;
24
+ iconLeftCss?: CSS;
25
+ iconRightCss?: CSS;
24
26
  }
25
27
  declare type NativeAttrs = Omit<React.ButtonHTMLAttributes<unknown>, keyof Props>;
26
- export declare type ButtonProps = Props & NativeAttrs & Omit<ButtonVariantsProps, 'isPressed' | 'isHovered'> & {
28
+ export declare type ButtonProps = Props & NativeAttrs & Omit<ButtonVariantsProps, 'isPressed' | 'isHovered' | 'isChildLess'> & {
27
29
  css?: CSS;
28
30
  };
29
31
  declare type ButtonComponent<T, P = {}> = React.ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>> & {