@nextui-org/react 1.0.2-alpha.2 → 1.0.2-beta.4

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 (720) hide show
  1. package/README.md +10 -5
  2. package/cjs/avatar/avatar-group.js +1 -35
  3. package/cjs/avatar/avatar-group.styles.js +1 -52
  4. package/cjs/avatar/avatar.js +1 -75
  5. package/cjs/avatar/avatar.styles.js +1 -334
  6. package/cjs/avatar/index.js +1 -22
  7. package/cjs/backdrop/backdrop.js +1 -137
  8. package/cjs/backdrop/backdrop.styles.js +1 -119
  9. package/cjs/backdrop/index.js +1 -16
  10. package/cjs/button/button-group-context.js +1 -21
  11. package/cjs/button/button-group.js +1 -81
  12. package/cjs/button/button-group.styles.js +1 -136
  13. package/cjs/button/button-icon.js +1 -68
  14. package/cjs/button/button.js +1 -145
  15. package/cjs/button/button.styles.js +1 -695
  16. package/cjs/button/index.js +1 -25
  17. package/cjs/button/utils.js +1 -27
  18. package/cjs/card/card.js +1 -117
  19. package/cjs/card/card.styles.js +1 -267
  20. package/cjs/card/index.js +1 -24
  21. package/cjs/checkbox/checkbox-context.js +1 -25
  22. package/cjs/checkbox/checkbox-group.js +1 -89
  23. package/cjs/checkbox/checkbox.js +1 -192
  24. package/cjs/checkbox/checkbox.styles.js +1 -563
  25. package/cjs/checkbox/index.js +1 -26
  26. package/cjs/code/code.js +1 -42
  27. package/cjs/code/code.styles.js +1 -14
  28. package/cjs/code/index.js +1 -15
  29. package/cjs/col/col.js +1 -46
  30. package/cjs/col/col.styles.js +1 -16
  31. package/cjs/col/index.js +1 -14
  32. package/cjs/collapse/collapse-context.js +1 -20
  33. package/cjs/collapse/collapse-group.js +1 -90
  34. package/cjs/collapse/collapse-icon.js +1 -41
  35. package/cjs/collapse/collapse.js +1 -190
  36. package/cjs/collapse/collapse.styles.js +1 -254
  37. package/cjs/collapse/index.js +1 -22
  38. package/cjs/container/container.js +1 -91
  39. package/cjs/container/container.styles.js +1 -45
  40. package/cjs/container/index.js +1 -14
  41. package/cjs/css-baseline/css-baseline.js +1 -247
  42. package/cjs/css-baseline/index.js +1 -11
  43. package/cjs/divider/divider.js +1 -82
  44. package/cjs/divider/divider.styles.js +1 -77
  45. package/cjs/divider/index.js +1 -15
  46. package/cjs/grid/grid-container.js +1 -60
  47. package/cjs/grid/grid-item.js +1 -123
  48. package/cjs/grid/grid.js +1 -29
  49. package/cjs/grid/grid.styles.js +1 -15
  50. package/cjs/grid/index.js +1 -18
  51. package/cjs/image/image.js +1 -150
  52. package/cjs/image/image.skeleton.js +1 -50
  53. package/cjs/image/image.styles.js +1 -57
  54. package/cjs/image/index.js +1 -16
  55. package/cjs/index.js +1 -435
  56. package/cjs/input/index.js +1 -30
  57. package/cjs/input/input-password.js +1 -80
  58. package/cjs/input/input-props.js +1 -30
  59. package/cjs/input/input.js +1 -317
  60. package/cjs/input/input.styles.js +1 -878
  61. package/cjs/input/password-icon.js +1 -51
  62. package/cjs/link/icon.js +1 -42
  63. package/cjs/link/index.js +1 -15
  64. package/cjs/link/link.js +1 -42
  65. package/cjs/link/link.styles.js +1 -135
  66. package/cjs/loading/index.js +1 -24
  67. package/cjs/loading/loading.js +1 -80
  68. package/cjs/loading/loading.styles.js +1 -438
  69. package/cjs/loading/spinner.js +1 -47
  70. package/cjs/modal/index.js +1 -28
  71. package/cjs/modal/modal-body.js +1 -62
  72. package/cjs/modal/modal-close-button.js +1 -49
  73. package/cjs/modal/modal-context.js +1 -18
  74. package/cjs/modal/modal-footer.js +1 -69
  75. package/cjs/modal/modal-header.js +1 -69
  76. package/cjs/modal/modal-wrapper.js +1 -153
  77. package/cjs/modal/modal.js +1 -159
  78. package/cjs/modal/modal.styles.js +1 -243
  79. package/cjs/modal/use-modal.js +1 -25
  80. package/cjs/pagination/index.js +1 -19
  81. package/cjs/pagination/pagination-ellipsis.js +1 -86
  82. package/cjs/pagination/pagination-highlight.js +1 -52
  83. package/cjs/pagination/pagination-icon.js +1 -59
  84. package/cjs/pagination/pagination-item.js +1 -104
  85. package/cjs/pagination/pagination.js +1 -169
  86. package/cjs/pagination/pagination.styles.js +1 -361
  87. package/cjs/progress/index.js +1 -15
  88. package/cjs/progress/progress.js +1 -101
  89. package/cjs/progress/progress.styles.js +1 -165
  90. package/cjs/radio/index.js +1 -24
  91. package/cjs/radio/radio-context.js +1 -24
  92. package/cjs/radio/radio-group.js +1 -78
  93. package/cjs/radio/radio.js +1 -156
  94. package/cjs/radio/radio.styles.js +1 -240
  95. package/cjs/row/index.js +1 -14
  96. package/cjs/row/row.js +1 -54
  97. package/cjs/row/row.styles.js +1 -25
  98. package/cjs/snippet/index.js +1 -16
  99. package/cjs/snippet/snippet-icon.js +1 -52
  100. package/cjs/snippet/snippet.js +1 -137
  101. package/cjs/snippet/snippet.styles.js +1 -141
  102. package/cjs/spacer/index.js +1 -14
  103. package/cjs/spacer/spacer.js +1 -49
  104. package/cjs/spacer/spacer.styles.js +1 -24
  105. package/cjs/switch/index.js +1 -17
  106. package/cjs/switch/switch.js +1 -142
  107. package/cjs/switch/switch.styles.js +1 -283
  108. package/cjs/text/child.js +1 -83
  109. package/cjs/text/index.js +1 -14
  110. package/cjs/text/text.js +1 -124
  111. package/cjs/text/text.styles.js +1 -41
  112. package/cjs/textarea/index.js +1 -12
  113. package/cjs/textarea/textarea.js +1 -126
  114. package/cjs/textarea/utils.js +1 -126
  115. package/cjs/theme/common.js +1 -490
  116. package/cjs/theme/dark-theme.js +1 -38
  117. package/cjs/theme/index.js +1 -31
  118. package/cjs/theme/light-theme.js +1 -33
  119. package/cjs/theme/stitches.config.js +1 -88
  120. package/cjs/theme/theme-context.js +1 -22
  121. package/cjs/theme/theme-provider.js +1 -115
  122. package/cjs/theme/types.js +1 -3
  123. package/cjs/theme/utils.js +1 -113
  124. package/cjs/tooltip/index.js +1 -17
  125. package/cjs/tooltip/placement.js +1 -193
  126. package/cjs/tooltip/tooltip-content.js +1 -135
  127. package/cjs/tooltip/tooltip.js +1 -141
  128. package/cjs/tooltip/tooltip.styles.js +1 -159
  129. package/cjs/use-body-scroll/index.js +1 -12
  130. package/cjs/use-body-scroll/use-body-scroll.js +1 -77
  131. package/cjs/use-click-anywhere/index.js +1 -12
  132. package/cjs/use-click-anywhere/use-click-anywhere.js +1 -19
  133. package/cjs/use-click-away/index.js +1 -12
  134. package/cjs/use-click-away/use-click-away.js +1 -23
  135. package/cjs/use-clipboard/index.js +1 -12
  136. package/cjs/use-clipboard/use-clipboard.js +1 -57
  137. package/cjs/use-current-state/index.js +1 -12
  138. package/cjs/use-current-state/use-current-state.js +1 -28
  139. package/cjs/use-drip/index.js +1 -12
  140. package/cjs/use-drip/use-drip.js +1 -38
  141. package/cjs/use-input/index.js +1 -12
  142. package/cjs/use-input/use-input.js +1 -32
  143. package/cjs/use-keyboard/codes.js +1 -104
  144. package/cjs/use-keyboard/helper.js +1 -35
  145. package/cjs/use-keyboard/index.js +1 -15
  146. package/cjs/use-keyboard/use-keyboard.js +1 -76
  147. package/cjs/use-pagination/index.js +1 -88
  148. package/cjs/use-portal/index.js +1 -12
  149. package/cjs/use-portal/use-portal.js +1 -43
  150. package/cjs/use-real-shape/index.js +1 -12
  151. package/cjs/use-real-shape/use-real-shape.js +1 -55
  152. package/cjs/use-resize/index.js +1 -12
  153. package/cjs/use-resize/use-resize.js +1 -23
  154. package/cjs/use-ssr/index.js +1 -12
  155. package/cjs/use-ssr/use-ssr.js +1 -25
  156. package/cjs/use-theme/index.js +1 -12
  157. package/cjs/use-theme/use-theme.js +1 -16
  158. package/cjs/use-warning/index.js +1 -12
  159. package/cjs/use-warning/use-warning.js +1 -23
  160. package/cjs/user/index.js +1 -21
  161. package/cjs/user/user-link.js +1 -46
  162. package/cjs/user/user.js +1 -63
  163. package/cjs/user/user.styles.js +1 -56
  164. package/cjs/utils/assertion.js +1 -42
  165. package/cjs/utils/clear-icon.js +1 -70
  166. package/cjs/utils/clsx.js +1 -57
  167. package/cjs/utils/collections.js +1 -110
  168. package/cjs/utils/color.js +1 -187
  169. package/cjs/utils/css-transition.js +1 -76
  170. package/cjs/utils/deep-merge.js +1 -33
  171. package/cjs/utils/dimensions.js +1 -10
  172. package/cjs/utils/dom.js +1 -110
  173. package/cjs/utils/drip.js +1 -116
  174. package/cjs/utils/expand.js +1 -109
  175. package/cjs/utils/icons.js +1 -481
  176. package/cjs/utils/numbers.js +1 -23
  177. package/cjs/utils/object.js +1 -40
  178. package/cjs/utils/prop-types.js +1 -56
  179. package/cjs/utils/react.js +1 -24
  180. package/cjs/utils/strings.js +1 -18
  181. package/cjs/utils/types.d.js +1 -3
  182. package/cjs/utils/with-defaults.js +1 -13
  183. package/esm/avatar/avatar-group.js +1 -35
  184. package/esm/avatar/avatar-group.styles.js +1 -52
  185. package/esm/avatar/avatar.js +1 -75
  186. package/esm/avatar/avatar.styles.js +1 -334
  187. package/esm/avatar/index.js +1 -22
  188. package/esm/backdrop/backdrop.js +1 -137
  189. package/esm/backdrop/backdrop.styles.js +1 -119
  190. package/esm/backdrop/index.js +1 -16
  191. package/esm/button/button-group-context.js +1 -21
  192. package/esm/button/button-group.js +1 -81
  193. package/esm/button/button-group.styles.js +1 -136
  194. package/esm/button/button-icon.js +1 -68
  195. package/esm/button/button.js +1 -145
  196. package/esm/button/button.styles.js +1 -695
  197. package/esm/button/index.js +1 -25
  198. package/esm/button/utils.js +1 -27
  199. package/esm/card/card.js +1 -117
  200. package/esm/card/card.styles.js +1 -267
  201. package/esm/card/index.js +1 -24
  202. package/esm/checkbox/checkbox-context.js +1 -25
  203. package/esm/checkbox/checkbox-group.js +1 -89
  204. package/esm/checkbox/checkbox.js +1 -192
  205. package/esm/checkbox/checkbox.styles.js +1 -563
  206. package/esm/checkbox/index.js +1 -26
  207. package/esm/code/code.js +1 -42
  208. package/esm/code/code.styles.js +1 -14
  209. package/esm/code/index.js +1 -15
  210. package/esm/col/col.js +1 -46
  211. package/esm/col/col.styles.js +1 -16
  212. package/esm/col/index.js +1 -14
  213. package/esm/collapse/collapse-context.js +1 -20
  214. package/esm/collapse/collapse-group.js +1 -90
  215. package/esm/collapse/collapse-icon.js +1 -41
  216. package/esm/collapse/collapse.js +1 -190
  217. package/esm/collapse/collapse.styles.js +1 -254
  218. package/esm/collapse/index.js +1 -22
  219. package/esm/container/container.js +1 -91
  220. package/esm/container/container.styles.js +1 -45
  221. package/esm/container/index.js +1 -14
  222. package/esm/css-baseline/css-baseline.js +1 -247
  223. package/esm/css-baseline/index.js +1 -11
  224. package/esm/divider/divider.js +1 -82
  225. package/esm/divider/divider.styles.js +1 -77
  226. package/esm/divider/index.js +1 -15
  227. package/esm/grid/grid-container.js +1 -60
  228. package/esm/grid/grid-item.js +1 -123
  229. package/esm/grid/grid.js +1 -29
  230. package/esm/grid/grid.styles.js +1 -15
  231. package/esm/grid/index.js +1 -18
  232. package/esm/image/image.js +1 -150
  233. package/esm/image/image.skeleton.js +1 -50
  234. package/esm/image/image.styles.js +1 -57
  235. package/esm/image/index.js +1 -16
  236. package/esm/index.js +1 -435
  237. package/esm/input/index.js +1 -30
  238. package/esm/input/input-password.js +1 -80
  239. package/esm/input/input-props.js +1 -30
  240. package/esm/input/input.js +1 -317
  241. package/esm/input/input.styles.js +1 -878
  242. package/esm/input/password-icon.js +1 -51
  243. package/esm/link/icon.js +1 -42
  244. package/esm/link/index.js +1 -15
  245. package/esm/link/link.js +1 -42
  246. package/esm/link/link.styles.js +1 -135
  247. package/esm/loading/index.js +1 -24
  248. package/esm/loading/loading.js +1 -80
  249. package/esm/loading/loading.styles.js +1 -438
  250. package/esm/loading/spinner.js +1 -47
  251. package/esm/modal/index.js +1 -28
  252. package/esm/modal/modal-body.js +1 -62
  253. package/esm/modal/modal-close-button.js +1 -49
  254. package/esm/modal/modal-context.js +1 -18
  255. package/esm/modal/modal-footer.js +1 -69
  256. package/esm/modal/modal-header.js +1 -69
  257. package/esm/modal/modal-wrapper.js +1 -153
  258. package/esm/modal/modal.js +1 -159
  259. package/esm/modal/modal.styles.js +1 -243
  260. package/esm/modal/use-modal.js +1 -25
  261. package/esm/pagination/index.js +1 -19
  262. package/esm/pagination/pagination-ellipsis.js +1 -86
  263. package/esm/pagination/pagination-highlight.js +1 -52
  264. package/esm/pagination/pagination-icon.js +1 -59
  265. package/esm/pagination/pagination-item.js +1 -104
  266. package/esm/pagination/pagination.js +1 -169
  267. package/esm/pagination/pagination.styles.js +1 -361
  268. package/esm/progress/index.js +1 -15
  269. package/esm/progress/progress.js +1 -101
  270. package/esm/progress/progress.styles.js +1 -165
  271. package/esm/radio/index.js +1 -24
  272. package/esm/radio/radio-context.js +1 -24
  273. package/esm/radio/radio-group.js +1 -78
  274. package/esm/radio/radio.js +1 -156
  275. package/esm/radio/radio.styles.js +1 -240
  276. package/esm/row/index.js +1 -14
  277. package/esm/row/row.js +1 -54
  278. package/esm/row/row.styles.js +1 -25
  279. package/esm/snippet/index.js +1 -16
  280. package/esm/snippet/snippet-icon.js +1 -52
  281. package/esm/snippet/snippet.js +1 -137
  282. package/esm/snippet/snippet.styles.js +1 -141
  283. package/esm/spacer/index.js +1 -14
  284. package/esm/spacer/spacer.js +1 -49
  285. package/esm/spacer/spacer.styles.js +1 -24
  286. package/esm/switch/index.js +1 -17
  287. package/esm/switch/switch.js +1 -142
  288. package/esm/switch/switch.styles.js +1 -283
  289. package/esm/text/child.js +1 -83
  290. package/esm/text/index.js +1 -14
  291. package/esm/text/text.js +1 -124
  292. package/esm/text/text.styles.js +1 -41
  293. package/esm/textarea/index.js +1 -12
  294. package/esm/textarea/textarea.js +1 -126
  295. package/esm/textarea/utils.js +1 -126
  296. package/esm/theme/common.js +1 -490
  297. package/esm/theme/dark-theme.js +1 -38
  298. package/esm/theme/index.js +1 -31
  299. package/esm/theme/light-theme.js +1 -33
  300. package/esm/theme/stitches.config.js +1 -88
  301. package/esm/theme/theme-context.js +1 -22
  302. package/esm/theme/theme-provider.js +1 -115
  303. package/esm/theme/types.js +1 -3
  304. package/esm/theme/utils.js +1 -113
  305. package/esm/tooltip/index.js +1 -17
  306. package/esm/tooltip/placement.js +1 -193
  307. package/esm/tooltip/tooltip-content.js +1 -135
  308. package/esm/tooltip/tooltip.js +1 -141
  309. package/esm/tooltip/tooltip.styles.js +1 -159
  310. package/esm/use-body-scroll/index.js +1 -12
  311. package/esm/use-body-scroll/use-body-scroll.js +1 -77
  312. package/esm/use-click-anywhere/index.js +1 -12
  313. package/esm/use-click-anywhere/use-click-anywhere.js +1 -19
  314. package/esm/use-click-away/index.js +1 -12
  315. package/esm/use-click-away/use-click-away.js +1 -23
  316. package/esm/use-clipboard/index.js +1 -12
  317. package/esm/use-clipboard/use-clipboard.js +1 -57
  318. package/esm/use-current-state/index.js +1 -12
  319. package/esm/use-current-state/use-current-state.js +1 -28
  320. package/esm/use-drip/index.js +1 -12
  321. package/esm/use-drip/use-drip.js +1 -38
  322. package/esm/use-input/index.js +1 -12
  323. package/esm/use-input/use-input.js +1 -32
  324. package/esm/use-keyboard/codes.js +1 -104
  325. package/esm/use-keyboard/helper.js +1 -35
  326. package/esm/use-keyboard/index.js +1 -15
  327. package/esm/use-keyboard/use-keyboard.js +1 -76
  328. package/esm/use-pagination/index.js +1 -88
  329. package/esm/use-portal/index.js +1 -12
  330. package/esm/use-portal/use-portal.js +1 -43
  331. package/esm/use-real-shape/index.js +1 -12
  332. package/esm/use-real-shape/use-real-shape.js +1 -55
  333. package/esm/use-resize/index.js +1 -12
  334. package/esm/use-resize/use-resize.js +1 -23
  335. package/esm/use-ssr/index.js +1 -12
  336. package/esm/use-ssr/use-ssr.js +1 -25
  337. package/esm/use-theme/index.js +1 -12
  338. package/esm/use-theme/use-theme.js +1 -16
  339. package/esm/use-warning/index.js +1 -12
  340. package/esm/use-warning/use-warning.js +1 -23
  341. package/esm/user/index.js +1 -21
  342. package/esm/user/user-link.js +1 -46
  343. package/esm/user/user.js +1 -63
  344. package/esm/user/user.styles.js +1 -56
  345. package/esm/utils/assertion.js +1 -42
  346. package/esm/utils/clear-icon.js +1 -70
  347. package/esm/utils/clsx.js +1 -57
  348. package/esm/utils/collections.js +1 -110
  349. package/esm/utils/color.js +1 -187
  350. package/esm/utils/css-transition.js +1 -76
  351. package/esm/utils/deep-merge.js +1 -33
  352. package/esm/utils/dimensions.js +1 -10
  353. package/esm/utils/dom.js +1 -110
  354. package/esm/utils/drip.js +1 -116
  355. package/esm/utils/expand.js +1 -109
  356. package/esm/utils/icons.js +1 -481
  357. package/esm/utils/numbers.js +1 -23
  358. package/esm/utils/object.js +1 -40
  359. package/esm/utils/prop-types.js +1 -56
  360. package/esm/utils/react.js +1 -24
  361. package/esm/utils/strings.js +1 -18
  362. package/esm/utils/types.d.js +1 -3
  363. package/esm/utils/with-defaults.js +1 -13
  364. package/package.json +8 -3
  365. package/{cjs → types}/avatar/avatar-group.d.ts +0 -0
  366. package/{cjs → types}/avatar/avatar-group.styles.d.ts +82 -0
  367. package/{cjs → types}/avatar/avatar.d.ts +0 -0
  368. package/{esm → types}/avatar/avatar.styles.d.ts +41 -0
  369. package/{cjs → types}/avatar/index.d.ts +0 -0
  370. package/{cjs → types}/backdrop/backdrop.d.ts +1 -1
  371. package/{cjs → types}/backdrop/backdrop.styles.d.ts +123 -0
  372. package/{cjs → types}/backdrop/index.d.ts +0 -0
  373. package/{cjs → types}/button/button-group-context.d.ts +0 -0
  374. package/{cjs → types}/button/button-group.d.ts +0 -0
  375. package/{cjs → types}/button/button-group.styles.d.ts +41 -0
  376. package/{esm → types}/button/button-icon.d.ts +42 -0
  377. package/{cjs → types}/button/button.d.ts +1 -0
  378. package/{esm/backdrop/backdrop.styles.d.ts → types/button/button.styles.d.ts} +1286 -898
  379. package/{cjs → types}/button/index.d.ts +0 -0
  380. package/{cjs → types}/button/utils.d.ts +0 -0
  381. package/{cjs → types}/card/card.d.ts +0 -0
  382. package/{cjs → types}/card/card.styles.d.ts +164 -0
  383. package/{cjs → types}/card/index.d.ts +0 -0
  384. package/{cjs → types}/checkbox/checkbox-context.d.ts +0 -0
  385. package/{cjs → types}/checkbox/checkbox-group.d.ts +0 -0
  386. package/{cjs → types}/checkbox/checkbox.d.ts +0 -0
  387. package/{cjs → types}/checkbox/checkbox.styles.d.ts +369 -0
  388. package/{cjs → types}/checkbox/index.d.ts +0 -0
  389. package/{cjs → types}/code/code.d.ts +0 -0
  390. package/{esm → types}/code/code.styles.d.ts +82 -0
  391. package/{cjs → types}/code/index.d.ts +0 -0
  392. package/{cjs → types}/col/col.d.ts +0 -0
  393. package/{cjs → types}/col/col.styles.d.ts +41 -0
  394. package/{cjs → types}/col/index.d.ts +0 -0
  395. package/{cjs → types}/collapse/collapse-context.d.ts +0 -0
  396. package/{cjs → types}/collapse/collapse-group.d.ts +0 -0
  397. package/{cjs → types}/collapse/collapse-icon.d.ts +0 -0
  398. package/{esm → types}/collapse/collapse.d.ts +5 -3
  399. package/{esm → types}/collapse/collapse.styles.d.ts +205 -0
  400. package/{cjs → types}/collapse/index.d.ts +0 -0
  401. package/{cjs → types}/container/container.d.ts +0 -0
  402. package/{cjs → types}/container/container.styles.d.ts +41 -0
  403. package/{cjs → types}/container/index.d.ts +0 -0
  404. package/{cjs → types}/css-baseline/css-baseline.d.ts +0 -0
  405. package/{cjs → types}/css-baseline/index.d.ts +0 -0
  406. package/{cjs → types}/divider/divider.d.ts +0 -0
  407. package/{esm → types}/divider/divider.styles.d.ts +82 -0
  408. package/{cjs → types}/divider/index.d.ts +0 -0
  409. package/{cjs → types}/grid/grid-container.d.ts +0 -0
  410. package/{cjs → types}/grid/grid-item.d.ts +0 -0
  411. package/{cjs → types}/grid/grid.d.ts +0 -0
  412. package/{cjs → types}/grid/grid.styles.d.ts +82 -0
  413. package/{cjs → types}/grid/index.d.ts +0 -0
  414. package/{cjs → types}/image/image.d.ts +0 -0
  415. package/{cjs → types}/image/image.skeleton.d.ts +0 -0
  416. package/{esm → types}/image/image.styles.d.ts +123 -0
  417. package/{cjs → types}/image/index.d.ts +0 -0
  418. package/{cjs → types}/index.d.ts +0 -0
  419. package/{cjs → types}/input/index.d.ts +0 -0
  420. package/{cjs → types}/input/input-password.d.ts +0 -0
  421. package/{cjs → types}/input/input-props.d.ts +0 -0
  422. package/{cjs → types}/input/input.d.ts +0 -0
  423. package/{cjs → types}/input/input.styles.d.ts +451 -0
  424. package/{cjs → types}/input/password-icon.d.ts +0 -0
  425. package/{cjs → types}/link/icon.d.ts +0 -0
  426. package/{cjs → types}/link/index.d.ts +0 -0
  427. package/{cjs → types}/link/link.d.ts +1 -1
  428. package/{cjs → types}/link/link.styles.d.ts +83 -1
  429. package/{cjs → types}/loading/index.d.ts +0 -0
  430. package/{cjs → types}/loading/loading.d.ts +0 -0
  431. package/{esm → types}/loading/loading.styles.d.ts +246 -0
  432. package/{cjs → types}/loading/spinner.d.ts +0 -0
  433. package/{cjs → types}/modal/index.d.ts +0 -0
  434. package/{cjs → types}/modal/modal-body.d.ts +0 -0
  435. package/{cjs → types}/modal/modal-close-button.d.ts +0 -0
  436. package/{cjs → types}/modal/modal-context.d.ts +0 -0
  437. package/{cjs → types}/modal/modal-footer.d.ts +0 -0
  438. package/{cjs → types}/modal/modal-header.d.ts +0 -0
  439. package/{cjs → types}/modal/modal-wrapper.d.ts +0 -0
  440. package/{cjs → types}/modal/modal.d.ts +0 -0
  441. package/{cjs → types}/modal/modal.styles.d.ts +246 -0
  442. package/{cjs → types}/modal/use-modal.d.ts +0 -0
  443. package/{cjs → types}/pagination/index.d.ts +0 -0
  444. package/{cjs → types}/pagination/pagination-ellipsis.d.ts +0 -0
  445. package/{cjs → types}/pagination/pagination-highlight.d.ts +0 -0
  446. package/{cjs → types}/pagination/pagination-icon.d.ts +0 -0
  447. package/{cjs → types}/pagination/pagination-item.d.ts +0 -0
  448. package/{cjs → types}/pagination/pagination.d.ts +0 -0
  449. package/{esm → types}/pagination/pagination.styles.d.ts +246 -0
  450. package/{cjs → types}/progress/index.d.ts +0 -0
  451. package/{esm → types}/progress/progress.d.ts +1 -1
  452. package/{esm → types}/progress/progress.styles.d.ts +83 -1
  453. package/{cjs → types}/radio/index.d.ts +0 -0
  454. package/{cjs → types}/radio/radio-context.d.ts +0 -0
  455. package/{cjs → types}/radio/radio-group.d.ts +0 -0
  456. package/{cjs → types}/radio/radio.d.ts +0 -0
  457. package/{cjs → types}/radio/radio.styles.d.ts +246 -0
  458. package/{cjs → types}/row/index.d.ts +0 -0
  459. package/{cjs → types}/row/row.d.ts +0 -0
  460. package/{cjs → types}/row/row.styles.d.ts +41 -0
  461. package/{cjs → types}/snippet/index.d.ts +0 -0
  462. package/{cjs → types}/snippet/snippet-icon.d.ts +0 -0
  463. package/{cjs → types}/snippet/snippet.d.ts +0 -0
  464. package/{esm → types}/snippet/snippet.styles.d.ts +164 -0
  465. package/{cjs → types}/spacer/index.d.ts +0 -0
  466. package/{cjs → types}/spacer/spacer.d.ts +0 -0
  467. package/{cjs → types}/spacer/spacer.styles.d.ts +41 -0
  468. package/{cjs → types}/switch/index.d.ts +1 -1
  469. package/{cjs → types}/switch/switch.d.ts +0 -0
  470. package/{cjs → types}/switch/switch.styles.d.ts +164 -0
  471. package/{esm → types}/text/child.d.ts +2 -0
  472. package/{cjs → types}/text/index.d.ts +0 -0
  473. package/{cjs → types}/text/text.d.ts +3 -3
  474. package/{cjs → types}/text/text.styles.d.ts +41 -0
  475. package/{cjs → types}/textarea/index.d.ts +0 -0
  476. package/{cjs → types}/textarea/textarea.d.ts +0 -0
  477. package/{cjs → types}/textarea/utils.d.ts +0 -0
  478. package/{cjs → types}/theme/common.d.ts +76 -0
  479. package/{cjs → types}/theme/dark-theme.d.ts +10 -0
  480. package/{cjs → types}/theme/light-theme.d.ts +0 -0
  481. package/{cjs → types}/theme/stitches.config.d.ts +5411 -4087
  482. package/{cjs → types}/theme/theme-context.d.ts +0 -0
  483. package/{cjs → types}/theme/theme-provider.d.ts +0 -0
  484. package/{cjs → types}/theme/types.d.ts +1 -0
  485. package/{cjs → types}/theme/utils.d.ts +0 -0
  486. package/{cjs → types}/tooltip/index.d.ts +0 -0
  487. package/{cjs → types}/tooltip/placement.d.ts +0 -0
  488. package/{cjs → types}/tooltip/tooltip-content.d.ts +0 -0
  489. package/{esm → types}/tooltip/tooltip.d.ts +4 -1
  490. package/{esm → types}/tooltip/tooltip.styles.d.ts +164 -0
  491. package/{cjs → types}/use-body-scroll/index.d.ts +0 -0
  492. package/{cjs → types}/use-body-scroll/use-body-scroll.d.ts +0 -0
  493. package/{cjs → types}/use-click-anywhere/index.d.ts +0 -0
  494. package/{cjs → types}/use-click-anywhere/use-click-anywhere.d.ts +0 -0
  495. package/{cjs → types}/use-click-away/index.d.ts +0 -0
  496. package/{cjs → types}/use-click-away/use-click-away.d.ts +0 -0
  497. package/{cjs → types}/use-clipboard/index.d.ts +0 -0
  498. package/{cjs → types}/use-clipboard/use-clipboard.d.ts +0 -0
  499. package/{cjs → types}/use-current-state/index.d.ts +0 -0
  500. package/{cjs → types}/use-current-state/use-current-state.d.ts +0 -0
  501. package/{cjs → types}/use-drip/index.d.ts +0 -0
  502. package/{cjs → types}/use-drip/use-drip.d.ts +0 -0
  503. package/{cjs → types}/use-input/index.d.ts +0 -0
  504. package/{cjs → types}/use-input/use-input.d.ts +0 -0
  505. package/{cjs → types}/use-keyboard/codes.d.ts +0 -0
  506. package/{cjs → types}/use-keyboard/helper.d.ts +0 -0
  507. package/{cjs → types}/use-keyboard/index.d.ts +0 -0
  508. package/{cjs → types}/use-keyboard/use-keyboard.d.ts +0 -0
  509. package/{cjs → types}/use-pagination/index.d.ts +0 -0
  510. package/{cjs → types}/use-portal/index.d.ts +0 -0
  511. package/{cjs → types}/use-portal/use-portal.d.ts +0 -0
  512. package/{cjs → types}/use-real-shape/index.d.ts +0 -0
  513. package/{cjs → types}/use-real-shape/use-real-shape.d.ts +0 -0
  514. package/{cjs → types}/use-resize/index.d.ts +0 -0
  515. package/{cjs → types}/use-resize/use-resize.d.ts +0 -0
  516. package/{cjs → types}/use-ssr/index.d.ts +0 -0
  517. package/{cjs → types}/use-ssr/use-ssr.d.ts +0 -0
  518. package/{cjs → types}/use-theme/index.d.ts +0 -0
  519. package/{cjs → types}/use-theme/use-theme.d.ts +0 -0
  520. package/{cjs → types}/use-warning/index.d.ts +0 -0
  521. package/{cjs → types}/use-warning/use-warning.d.ts +0 -0
  522. package/{cjs → types}/user/index.d.ts +0 -0
  523. package/{cjs → types}/user/user-link.d.ts +0 -0
  524. package/{cjs → types}/user/user.d.ts +0 -0
  525. package/{cjs → types}/user/user.styles.d.ts +205 -0
  526. package/{cjs → types}/utils/assertion.d.ts +0 -0
  527. package/{cjs → types}/utils/clear-icon.d.ts +0 -0
  528. package/{cjs → types}/utils/clsx.d.ts +0 -0
  529. package/{cjs → types}/utils/collections.d.ts +0 -0
  530. package/{cjs → types}/utils/color.d.ts +0 -0
  531. package/{cjs → types}/utils/css-transition.d.ts +0 -0
  532. package/{cjs → types}/utils/deep-merge.d.ts +0 -0
  533. package/{cjs → types}/utils/dimensions.d.ts +0 -0
  534. package/{cjs → types}/utils/drip.d.ts +41 -0
  535. package/{cjs → types}/utils/expand.d.ts +0 -0
  536. package/{cjs → types}/utils/numbers.d.ts +0 -0
  537. package/{cjs → types}/utils/object.d.ts +0 -0
  538. package/{cjs → types}/utils/prop-types.d.ts +0 -0
  539. package/{cjs → types}/utils/with-defaults.d.ts +0 -0
  540. package/umd/nextui.js +4532 -602
  541. package/umd/nextui.min.js +1 -1
  542. package/cjs/avatar/avatar.styles.d.ts +0 -904
  543. package/cjs/button/button-icon.d.ts +0 -909
  544. package/cjs/button/button.styles.d.ts +0 -907
  545. package/cjs/code/code.styles.d.ts +0 -1782
  546. package/cjs/collapse/collapse.d.ts +0 -41
  547. package/cjs/collapse/collapse.styles.d.ts +0 -4472
  548. package/cjs/divider/divider.styles.d.ts +0 -1787
  549. package/cjs/image/image.styles.d.ts +0 -2676
  550. package/cjs/loading/loading.styles.d.ts +0 -5356
  551. package/cjs/pagination/pagination.styles.d.ts +0 -5369
  552. package/cjs/progress/progress.d.ts +0 -65
  553. package/cjs/progress/progress.styles.d.ts +0 -1793
  554. package/cjs/snippet/snippet.styles.d.ts +0 -3570
  555. package/cjs/text/child.d.ts +0 -21
  556. package/cjs/theme/ssr-provider.d.ts +0 -7
  557. package/cjs/theme/ssr-provider.js +0 -51
  558. package/cjs/tooltip/tooltip.d.ts +0 -56
  559. package/cjs/tooltip/tooltip.styles.d.ts +0 -3571
  560. package/esm/avatar/avatar-group.d.ts +0 -13
  561. package/esm/avatar/avatar-group.styles.d.ts +0 -1785
  562. package/esm/avatar/avatar.d.ts +0 -21
  563. package/esm/avatar/index.d.ts +0 -7
  564. package/esm/backdrop/backdrop.d.ts +0 -37
  565. package/esm/backdrop/index.d.ts +0 -5
  566. package/esm/button/button-group-context.d.ts +0 -20
  567. package/esm/button/button-group.d.ts +0 -34
  568. package/esm/button/button-group.styles.d.ts +0 -899
  569. package/esm/button/button.d.ts +0 -30
  570. package/esm/button/button.styles.d.ts +0 -907
  571. package/esm/button/index.d.ts +0 -10
  572. package/esm/button/utils.d.ts +0 -4
  573. package/esm/card/card.d.ts +0 -23
  574. package/esm/card/card.styles.d.ts +0 -3575
  575. package/esm/card/index.d.ts +0 -5
  576. package/esm/checkbox/checkbox-context.d.ts +0 -13
  577. package/esm/checkbox/checkbox-group.d.ts +0 -29
  578. package/esm/checkbox/checkbox.d.ts +0 -58
  579. package/esm/checkbox/checkbox.styles.d.ts +0 -8054
  580. package/esm/checkbox/index.d.ts +0 -6
  581. package/esm/code/code.d.ts +0 -15
  582. package/esm/code/index.d.ts +0 -5
  583. package/esm/col/col.d.ts +0 -20
  584. package/esm/col/col.styles.d.ts +0 -893
  585. package/esm/col/index.d.ts +0 -5
  586. package/esm/collapse/collapse-context.d.ts +0 -9
  587. package/esm/collapse/collapse-group.d.ts +0 -18
  588. package/esm/collapse/collapse-icon.d.ts +0 -19
  589. package/esm/collapse/index.d.ts +0 -6
  590. package/esm/container/container.d.ts +0 -40
  591. package/esm/container/container.styles.d.ts +0 -896
  592. package/esm/container/index.d.ts +0 -5
  593. package/esm/css-baseline/css-baseline.d.ts +0 -9
  594. package/esm/css-baseline/index.d.ts +0 -1
  595. package/esm/divider/divider.d.ts +0 -22
  596. package/esm/divider/index.d.ts +0 -5
  597. package/esm/grid/grid-container.d.ts +0 -22
  598. package/esm/grid/grid-item.d.ts +0 -37
  599. package/esm/grid/grid.d.ts +0 -9
  600. package/esm/grid/grid.styles.d.ts +0 -1783
  601. package/esm/grid/index.d.ts +0 -7
  602. package/esm/image/image.d.ts +0 -29
  603. package/esm/image/image.skeleton.d.ts +0 -19
  604. package/esm/image/index.d.ts +0 -5
  605. package/esm/index.d.ts +0 -79
  606. package/esm/input/index.d.ts +0 -7
  607. package/esm/input/input-password.d.ts +0 -98
  608. package/esm/input/input-props.d.ts +0 -66
  609. package/esm/input/input.d.ts +0 -18
  610. package/esm/input/input.styles.d.ts +0 -9854
  611. package/esm/input/password-icon.d.ts +0 -6
  612. package/esm/link/icon.d.ts +0 -4
  613. package/esm/link/index.d.ts +0 -5
  614. package/esm/link/link.d.ts +0 -43
  615. package/esm/link/link.styles.d.ts +0 -1788
  616. package/esm/loading/index.d.ts +0 -7
  617. package/esm/loading/loading.d.ts +0 -24
  618. package/esm/loading/spinner.d.ts +0 -17
  619. package/esm/modal/index.d.ts +0 -8
  620. package/esm/modal/modal-body.d.ts +0 -45
  621. package/esm/modal/modal-close-button.d.ts +0 -13
  622. package/esm/modal/modal-context.d.ts +0 -8
  623. package/esm/modal/modal-footer.d.ts +0 -24
  624. package/esm/modal/modal-header.d.ts +0 -24
  625. package/esm/modal/modal-wrapper.d.ts +0 -24
  626. package/esm/modal/modal.d.ts +0 -42
  627. package/esm/modal/modal.styles.d.ts +0 -5362
  628. package/esm/modal/use-modal.d.ts +0 -11
  629. package/esm/pagination/index.d.ts +0 -7
  630. package/esm/pagination/pagination-ellipsis.d.ts +0 -11
  631. package/esm/pagination/pagination-highlight.d.ts +0 -14
  632. package/esm/pagination/pagination-icon.d.ts +0 -16
  633. package/esm/pagination/pagination-item.d.ts +0 -22
  634. package/esm/pagination/pagination.d.ts +0 -46
  635. package/esm/progress/index.d.ts +0 -5
  636. package/esm/radio/index.d.ts +0 -4
  637. package/esm/radio/radio-context.d.ts +0 -13
  638. package/esm/radio/radio-group.d.ts +0 -30
  639. package/esm/radio/radio.d.ts +0 -45
  640. package/esm/radio/radio.styles.d.ts +0 -5357
  641. package/esm/row/index.d.ts +0 -5
  642. package/esm/row/row.d.ts +0 -21
  643. package/esm/row/row.styles.d.ts +0 -895
  644. package/esm/snippet/index.d.ts +0 -5
  645. package/esm/snippet/snippet-icon.d.ts +0 -21
  646. package/esm/snippet/snippet.d.ts +0 -35
  647. package/esm/spacer/index.d.ts +0 -5
  648. package/esm/spacer/spacer.d.ts +0 -41
  649. package/esm/spacer/spacer.styles.d.ts +0 -894
  650. package/esm/switch/index.d.ts +0 -5
  651. package/esm/switch/switch.d.ts +0 -82
  652. package/esm/switch/switch.styles.d.ts +0 -3576
  653. package/esm/text/index.d.ts +0 -4
  654. package/esm/text/text.d.ts +0 -59
  655. package/esm/text/text.styles.d.ts +0 -894
  656. package/esm/textarea/index.d.ts +0 -3
  657. package/esm/textarea/textarea.d.ts +0 -42
  658. package/esm/textarea/utils.d.ts +0 -13
  659. package/esm/theme/common.d.ts +0 -1584
  660. package/esm/theme/dark-theme.d.ts +0 -33
  661. package/esm/theme/light-theme.d.ts +0 -28
  662. package/esm/theme/ssr-provider.d.ts +0 -7
  663. package/esm/theme/ssr-provider.js +0 -51
  664. package/esm/theme/stitches.config.d.ts +0 -8700
  665. package/esm/theme/theme-context.d.ts +0 -5
  666. package/esm/theme/theme-provider.d.ts +0 -14
  667. package/esm/theme/types.d.ts +0 -75
  668. package/esm/theme/utils.d.ts +0 -16
  669. package/esm/tooltip/index.d.ts +0 -6
  670. package/esm/tooltip/placement.d.ts +0 -39
  671. package/esm/tooltip/tooltip-content.d.ts +0 -27
  672. package/esm/use-body-scroll/index.d.ts +0 -3
  673. package/esm/use-body-scroll/use-body-scroll.d.ts +0 -9
  674. package/esm/use-click-anywhere/index.d.ts +0 -2
  675. package/esm/use-click-anywhere/use-click-anywhere.d.ts +0 -2
  676. package/esm/use-click-away/index.d.ts +0 -2
  677. package/esm/use-click-away/use-click-away.d.ts +0 -3
  678. package/esm/use-clipboard/index.d.ts +0 -3
  679. package/esm/use-clipboard/use-clipboard.d.ts +0 -8
  680. package/esm/use-current-state/index.d.ts +0 -2
  681. package/esm/use-current-state/use-current-state.d.ts +0 -8
  682. package/esm/use-drip/index.d.ts +0 -2
  683. package/esm/use-drip/use-drip.d.ts +0 -9
  684. package/esm/use-input/index.d.ts +0 -2
  685. package/esm/use-input/use-input.d.ts +0 -13
  686. package/esm/use-keyboard/codes.d.ts +0 -92
  687. package/esm/use-keyboard/helper.d.ts +0 -3
  688. package/esm/use-keyboard/index.d.ts +0 -5
  689. package/esm/use-keyboard/use-keyboard.d.ts +0 -22
  690. package/esm/use-pagination/index.d.ts +0 -20
  691. package/esm/use-portal/index.d.ts +0 -2
  692. package/esm/use-portal/use-portal.d.ts +0 -2
  693. package/esm/use-real-shape/index.d.ts +0 -2
  694. package/esm/use-real-shape/use-real-shape.d.ts +0 -9
  695. package/esm/use-resize/index.d.ts +0 -2
  696. package/esm/use-resize/use-resize.d.ts +0 -2
  697. package/esm/use-ssr/index.d.ts +0 -2
  698. package/esm/use-ssr/use-ssr.d.ts +0 -6
  699. package/esm/use-theme/index.d.ts +0 -2
  700. package/esm/use-theme/use-theme.d.ts +0 -3
  701. package/esm/use-warning/index.d.ts +0 -2
  702. package/esm/use-warning/use-warning.d.ts +0 -2
  703. package/esm/user/index.d.ts +0 -6
  704. package/esm/user/user-link.d.ts +0 -32
  705. package/esm/user/user.d.ts +0 -35
  706. package/esm/user/user.styles.d.ts +0 -4456
  707. package/esm/utils/assertion.d.ts +0 -8
  708. package/esm/utils/clear-icon.d.ts +0 -16
  709. package/esm/utils/clsx.d.ts +0 -1
  710. package/esm/utils/collections.d.ts +0 -12
  711. package/esm/utils/color.d.ts +0 -28
  712. package/esm/utils/css-transition.d.ts +0 -27
  713. package/esm/utils/deep-merge.d.ts +0 -1
  714. package/esm/utils/dimensions.d.ts +0 -1
  715. package/esm/utils/drip.d.ts +0 -936
  716. package/esm/utils/expand.d.ts +0 -20
  717. package/esm/utils/numbers.d.ts +0 -9
  718. package/esm/utils/object.d.ts +0 -11
  719. package/esm/utils/prop-types.d.ts +0 -54
  720. package/esm/utils/with-defaults.d.ts +0 -3
@@ -139,18 +139,23 @@ export declare const StyledSwitchContainer: import("@stitches/react/types/styled
139
139
  primaryLight: string;
140
140
  primary: string;
141
141
  primaryDark: string;
142
+ primaryShadow: string;
142
143
  secondaryLight: string;
143
144
  secondary: string;
144
145
  secondaryDark: string;
146
+ secondaryShadow: string;
145
147
  successLight: string;
146
148
  success: string;
147
149
  successDark: string;
150
+ successShadow: string;
148
151
  warningLight: string;
149
152
  warning: string;
150
153
  warningDark: string;
154
+ warningShadow: string;
151
155
  errorLight: string;
152
156
  error: string;
153
157
  errorDark: string;
158
+ errorShadow: string;
154
159
  gradient: string;
155
160
  link: string;
156
161
  };
@@ -841,6 +846,22 @@ export declare const StyledSwitchContainer: import("@stitches/react/types/styled
841
846
  readonly [$$PropertyValue]: "width";
842
847
  };
843
848
  };
849
+ minSize: (value: {
850
+ readonly [$$PropertyValue]: "width";
851
+ }) => {
852
+ minWidth: {
853
+ readonly [$$PropertyValue]: "width";
854
+ };
855
+ minHeight: {
856
+ readonly [$$PropertyValue]: "width";
857
+ };
858
+ width: {
859
+ readonly [$$PropertyValue]: "width";
860
+ };
861
+ height: {
862
+ readonly [$$PropertyValue]: "width";
863
+ };
864
+ };
844
865
  sizeMin: (value: {
845
866
  readonly [$$PropertyValue]: "width";
846
867
  }) => {
@@ -857,6 +878,16 @@ export declare const StyledSwitchContainer: import("@stitches/react/types/styled
857
878
  readonly [$$PropertyValue]: "width";
858
879
  };
859
880
  };
881
+ maxSize: (value: {
882
+ readonly [$$PropertyValue]: "width";
883
+ }) => {
884
+ maxWidth: {
885
+ readonly [$$PropertyValue]: "width";
886
+ };
887
+ maxHeight: {
888
+ readonly [$$PropertyValue]: "width";
889
+ };
890
+ };
860
891
  sizeMax: (value: {
861
892
  readonly [$$PropertyValue]: "width";
862
893
  }) => {
@@ -887,12 +918,22 @@ export declare const StyledSwitchContainer: import("@stitches/react/types/styled
887
918
  }) => {
888
919
  backgroundImage: string;
889
920
  };
921
+ tdl: (value: {
922
+ readonly [$$PropertyValue]: "textDecorationLine";
923
+ }) => {
924
+ textDecorationLine: {
925
+ readonly [$$PropertyValue]: "textDecorationLine";
926
+ };
927
+ };
890
928
  textGradient: (value: {
891
929
  readonly [$$PropertyValue]: "backgroundImage";
892
930
  }) => {
893
931
  backgroundImage: string;
894
932
  WebkitBackgroundClip: string;
895
933
  WebkitTextFillColor: string;
934
+ '&::selection': {
935
+ WebkitTextFillColor: string;
936
+ };
896
937
  };
897
938
  }>>;
898
939
  export declare const StyledSwitchInput: import("@stitches/react/types/styled-component").StyledComponent<"input", {}, {
@@ -1029,18 +1070,23 @@ export declare const StyledSwitchInput: import("@stitches/react/types/styled-com
1029
1070
  primaryLight: string;
1030
1071
  primary: string;
1031
1072
  primaryDark: string;
1073
+ primaryShadow: string;
1032
1074
  secondaryLight: string;
1033
1075
  secondary: string;
1034
1076
  secondaryDark: string;
1077
+ secondaryShadow: string;
1035
1078
  successLight: string;
1036
1079
  success: string;
1037
1080
  successDark: string;
1081
+ successShadow: string;
1038
1082
  warningLight: string;
1039
1083
  warning: string;
1040
1084
  warningDark: string;
1085
+ warningShadow: string;
1041
1086
  errorLight: string;
1042
1087
  error: string;
1043
1088
  errorDark: string;
1089
+ errorShadow: string;
1044
1090
  gradient: string;
1045
1091
  link: string;
1046
1092
  };
@@ -1731,6 +1777,22 @@ export declare const StyledSwitchInput: import("@stitches/react/types/styled-com
1731
1777
  readonly [$$PropertyValue]: "width";
1732
1778
  };
1733
1779
  };
1780
+ minSize: (value: {
1781
+ readonly [$$PropertyValue]: "width";
1782
+ }) => {
1783
+ minWidth: {
1784
+ readonly [$$PropertyValue]: "width";
1785
+ };
1786
+ minHeight: {
1787
+ readonly [$$PropertyValue]: "width";
1788
+ };
1789
+ width: {
1790
+ readonly [$$PropertyValue]: "width";
1791
+ };
1792
+ height: {
1793
+ readonly [$$PropertyValue]: "width";
1794
+ };
1795
+ };
1734
1796
  sizeMin: (value: {
1735
1797
  readonly [$$PropertyValue]: "width";
1736
1798
  }) => {
@@ -1747,6 +1809,16 @@ export declare const StyledSwitchInput: import("@stitches/react/types/styled-com
1747
1809
  readonly [$$PropertyValue]: "width";
1748
1810
  };
1749
1811
  };
1812
+ maxSize: (value: {
1813
+ readonly [$$PropertyValue]: "width";
1814
+ }) => {
1815
+ maxWidth: {
1816
+ readonly [$$PropertyValue]: "width";
1817
+ };
1818
+ maxHeight: {
1819
+ readonly [$$PropertyValue]: "width";
1820
+ };
1821
+ };
1750
1822
  sizeMax: (value: {
1751
1823
  readonly [$$PropertyValue]: "width";
1752
1824
  }) => {
@@ -1777,12 +1849,22 @@ export declare const StyledSwitchInput: import("@stitches/react/types/styled-com
1777
1849
  }) => {
1778
1850
  backgroundImage: string;
1779
1851
  };
1852
+ tdl: (value: {
1853
+ readonly [$$PropertyValue]: "textDecorationLine";
1854
+ }) => {
1855
+ textDecorationLine: {
1856
+ readonly [$$PropertyValue]: "textDecorationLine";
1857
+ };
1858
+ };
1780
1859
  textGradient: (value: {
1781
1860
  readonly [$$PropertyValue]: "backgroundImage";
1782
1861
  }) => {
1783
1862
  backgroundImage: string;
1784
1863
  WebkitBackgroundClip: string;
1785
1864
  WebkitTextFillColor: string;
1865
+ '&::selection': {
1866
+ WebkitTextFillColor: string;
1867
+ };
1786
1868
  };
1787
1869
  }>>;
1788
1870
  export declare const StyledSwitchCircle: import("@stitches/react/types/styled-component").StyledComponent<"span", {}, {
@@ -1919,18 +2001,23 @@ export declare const StyledSwitchCircle: import("@stitches/react/types/styled-co
1919
2001
  primaryLight: string;
1920
2002
  primary: string;
1921
2003
  primaryDark: string;
2004
+ primaryShadow: string;
1922
2005
  secondaryLight: string;
1923
2006
  secondary: string;
1924
2007
  secondaryDark: string;
2008
+ secondaryShadow: string;
1925
2009
  successLight: string;
1926
2010
  success: string;
1927
2011
  successDark: string;
2012
+ successShadow: string;
1928
2013
  warningLight: string;
1929
2014
  warning: string;
1930
2015
  warningDark: string;
2016
+ warningShadow: string;
1931
2017
  errorLight: string;
1932
2018
  error: string;
1933
2019
  errorDark: string;
2020
+ errorShadow: string;
1934
2021
  gradient: string;
1935
2022
  link: string;
1936
2023
  };
@@ -2621,6 +2708,22 @@ export declare const StyledSwitchCircle: import("@stitches/react/types/styled-co
2621
2708
  readonly [$$PropertyValue]: "width";
2622
2709
  };
2623
2710
  };
2711
+ minSize: (value: {
2712
+ readonly [$$PropertyValue]: "width";
2713
+ }) => {
2714
+ minWidth: {
2715
+ readonly [$$PropertyValue]: "width";
2716
+ };
2717
+ minHeight: {
2718
+ readonly [$$PropertyValue]: "width";
2719
+ };
2720
+ width: {
2721
+ readonly [$$PropertyValue]: "width";
2722
+ };
2723
+ height: {
2724
+ readonly [$$PropertyValue]: "width";
2725
+ };
2726
+ };
2624
2727
  sizeMin: (value: {
2625
2728
  readonly [$$PropertyValue]: "width";
2626
2729
  }) => {
@@ -2637,6 +2740,16 @@ export declare const StyledSwitchCircle: import("@stitches/react/types/styled-co
2637
2740
  readonly [$$PropertyValue]: "width";
2638
2741
  };
2639
2742
  };
2743
+ maxSize: (value: {
2744
+ readonly [$$PropertyValue]: "width";
2745
+ }) => {
2746
+ maxWidth: {
2747
+ readonly [$$PropertyValue]: "width";
2748
+ };
2749
+ maxHeight: {
2750
+ readonly [$$PropertyValue]: "width";
2751
+ };
2752
+ };
2640
2753
  sizeMax: (value: {
2641
2754
  readonly [$$PropertyValue]: "width";
2642
2755
  }) => {
@@ -2667,12 +2780,22 @@ export declare const StyledSwitchCircle: import("@stitches/react/types/styled-co
2667
2780
  }) => {
2668
2781
  backgroundImage: string;
2669
2782
  };
2783
+ tdl: (value: {
2784
+ readonly [$$PropertyValue]: "textDecorationLine";
2785
+ }) => {
2786
+ textDecorationLine: {
2787
+ readonly [$$PropertyValue]: "textDecorationLine";
2788
+ };
2789
+ };
2670
2790
  textGradient: (value: {
2671
2791
  readonly [$$PropertyValue]: "backgroundImage";
2672
2792
  }) => {
2673
2793
  backgroundImage: string;
2674
2794
  WebkitBackgroundClip: string;
2675
2795
  WebkitTextFillColor: string;
2796
+ '&::selection': {
2797
+ WebkitTextFillColor: string;
2798
+ };
2676
2799
  };
2677
2800
  }>>;
2678
2801
  export declare const StyledSwitch: import("@stitches/react/types/styled-component").StyledComponent<"div", {
@@ -2816,18 +2939,23 @@ export declare const StyledSwitch: import("@stitches/react/types/styled-componen
2816
2939
  primaryLight: string;
2817
2940
  primary: string;
2818
2941
  primaryDark: string;
2942
+ primaryShadow: string;
2819
2943
  secondaryLight: string;
2820
2944
  secondary: string;
2821
2945
  secondaryDark: string;
2946
+ secondaryShadow: string;
2822
2947
  successLight: string;
2823
2948
  success: string;
2824
2949
  successDark: string;
2950
+ successShadow: string;
2825
2951
  warningLight: string;
2826
2952
  warning: string;
2827
2953
  warningDark: string;
2954
+ warningShadow: string;
2828
2955
  errorLight: string;
2829
2956
  error: string;
2830
2957
  errorDark: string;
2958
+ errorShadow: string;
2831
2959
  gradient: string;
2832
2960
  link: string;
2833
2961
  };
@@ -3518,6 +3646,22 @@ export declare const StyledSwitch: import("@stitches/react/types/styled-componen
3518
3646
  readonly [$$PropertyValue]: "width";
3519
3647
  };
3520
3648
  };
3649
+ minSize: (value: {
3650
+ readonly [$$PropertyValue]: "width";
3651
+ }) => {
3652
+ minWidth: {
3653
+ readonly [$$PropertyValue]: "width";
3654
+ };
3655
+ minHeight: {
3656
+ readonly [$$PropertyValue]: "width";
3657
+ };
3658
+ width: {
3659
+ readonly [$$PropertyValue]: "width";
3660
+ };
3661
+ height: {
3662
+ readonly [$$PropertyValue]: "width";
3663
+ };
3664
+ };
3521
3665
  sizeMin: (value: {
3522
3666
  readonly [$$PropertyValue]: "width";
3523
3667
  }) => {
@@ -3534,6 +3678,16 @@ export declare const StyledSwitch: import("@stitches/react/types/styled-componen
3534
3678
  readonly [$$PropertyValue]: "width";
3535
3679
  };
3536
3680
  };
3681
+ maxSize: (value: {
3682
+ readonly [$$PropertyValue]: "width";
3683
+ }) => {
3684
+ maxWidth: {
3685
+ readonly [$$PropertyValue]: "width";
3686
+ };
3687
+ maxHeight: {
3688
+ readonly [$$PropertyValue]: "width";
3689
+ };
3690
+ };
3537
3691
  sizeMax: (value: {
3538
3692
  readonly [$$PropertyValue]: "width";
3539
3693
  }) => {
@@ -3564,12 +3718,22 @@ export declare const StyledSwitch: import("@stitches/react/types/styled-componen
3564
3718
  }) => {
3565
3719
  backgroundImage: string;
3566
3720
  };
3721
+ tdl: (value: {
3722
+ readonly [$$PropertyValue]: "textDecorationLine";
3723
+ }) => {
3724
+ textDecorationLine: {
3725
+ readonly [$$PropertyValue]: "textDecorationLine";
3726
+ };
3727
+ };
3567
3728
  textGradient: (value: {
3568
3729
  readonly [$$PropertyValue]: "backgroundImage";
3569
3730
  }) => {
3570
3731
  backgroundImage: string;
3571
3732
  WebkitBackgroundClip: string;
3572
3733
  WebkitTextFillColor: string;
3734
+ '&::selection': {
3735
+ WebkitTextFillColor: string;
3736
+ };
3573
3737
  };
3574
3738
  }>>;
3575
3739
  export declare type SwitchVariantsProps = VariantProps<typeof StyledSwitch>;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { CSS } from '../theme/stitches.config';
3
3
  import { SimpleColors, TextTransforms } from '../utils/prop-types';
4
4
  import { TextVariantsProps } from './text.styles';
5
+ declare type As = keyof JSX.IntrinsicElements | React.ComponentType<any>;
5
6
  export interface Props {
6
7
  tag: keyof JSX.IntrinsicElements;
7
8
  color?: SimpleColors | string;
@@ -9,6 +10,7 @@ export interface Props {
9
10
  margin?: string | number;
10
11
  transform?: TextTransforms;
11
12
  css?: CSS;
13
+ as?: As;
12
14
  }
13
15
  declare const defaultProps: {
14
16
  color: string;
File without changes
@@ -28,7 +28,7 @@ declare const defaultProps: {
28
28
  h5: boolean;
29
29
  h6: boolean;
30
30
  b: boolean;
31
- sm: boolean;
31
+ small: boolean;
32
32
  transform: "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "uppercase" | "lowercase" | "full-width" | "full-size-kana";
33
33
  i: boolean;
34
34
  span: boolean;
@@ -47,7 +47,7 @@ declare const _default: React.ComponentType<Partial<{
47
47
  h5: boolean;
48
48
  h6: boolean;
49
49
  b: boolean;
50
- sm: boolean;
50
+ small: boolean;
51
51
  transform: "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "uppercase" | "lowercase" | "full-width" | "full-size-kana";
52
52
  i: boolean;
53
53
  span: boolean;
@@ -55,5 +55,5 @@ declare const _default: React.ComponentType<Partial<{
55
55
  em: boolean;
56
56
  blockquote: boolean;
57
57
  color: string;
58
- }> & Omit<TextProps, "sm" | "b" | "blockquote" | "del" | "em" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "i" | "span" | "color" | "transform">>;
58
+ }> & Omit<TextProps, "b" | "blockquote" | "del" | "em" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "i" | "small" | "span" | "color" | "transform">>;
59
59
  export default _default;
@@ -135,18 +135,23 @@ export declare const StyledText: import("@stitches/react/types/styled-component"
135
135
  primaryLight: string;
136
136
  primary: string;
137
137
  primaryDark: string;
138
+ primaryShadow: string;
138
139
  secondaryLight: string;
139
140
  secondary: string;
140
141
  secondaryDark: string;
142
+ secondaryShadow: string;
141
143
  successLight: string;
142
144
  success: string;
143
145
  successDark: string;
146
+ successShadow: string;
144
147
  warningLight: string;
145
148
  warning: string;
146
149
  warningDark: string;
150
+ warningShadow: string;
147
151
  errorLight: string;
148
152
  error: string;
149
153
  errorDark: string;
154
+ errorShadow: string;
150
155
  gradient: string;
151
156
  link: string;
152
157
  };
@@ -837,6 +842,22 @@ export declare const StyledText: import("@stitches/react/types/styled-component"
837
842
  readonly [$$PropertyValue]: "width";
838
843
  };
839
844
  };
845
+ minSize: (value: {
846
+ readonly [$$PropertyValue]: "width";
847
+ }) => {
848
+ minWidth: {
849
+ readonly [$$PropertyValue]: "width";
850
+ };
851
+ minHeight: {
852
+ readonly [$$PropertyValue]: "width";
853
+ };
854
+ width: {
855
+ readonly [$$PropertyValue]: "width";
856
+ };
857
+ height: {
858
+ readonly [$$PropertyValue]: "width";
859
+ };
860
+ };
840
861
  sizeMin: (value: {
841
862
  readonly [$$PropertyValue]: "width";
842
863
  }) => {
@@ -853,6 +874,16 @@ export declare const StyledText: import("@stitches/react/types/styled-component"
853
874
  readonly [$$PropertyValue]: "width";
854
875
  };
855
876
  };
877
+ maxSize: (value: {
878
+ readonly [$$PropertyValue]: "width";
879
+ }) => {
880
+ maxWidth: {
881
+ readonly [$$PropertyValue]: "width";
882
+ };
883
+ maxHeight: {
884
+ readonly [$$PropertyValue]: "width";
885
+ };
886
+ };
856
887
  sizeMax: (value: {
857
888
  readonly [$$PropertyValue]: "width";
858
889
  }) => {
@@ -883,12 +914,22 @@ export declare const StyledText: import("@stitches/react/types/styled-component"
883
914
  }) => {
884
915
  backgroundImage: string;
885
916
  };
917
+ tdl: (value: {
918
+ readonly [$$PropertyValue]: "textDecorationLine";
919
+ }) => {
920
+ textDecorationLine: {
921
+ readonly [$$PropertyValue]: "textDecorationLine";
922
+ };
923
+ };
886
924
  textGradient: (value: {
887
925
  readonly [$$PropertyValue]: "backgroundImage";
888
926
  }) => {
889
927
  backgroundImage: string;
890
928
  WebkitBackgroundClip: string;
891
929
  WebkitTextFillColor: string;
930
+ '&::selection': {
931
+ WebkitTextFillColor: string;
932
+ };
892
933
  };
893
934
  }>>;
894
935
  export declare type TextVariantsProps = VariantProps<typeof StyledText>;
File without changes
File without changes
File without changes
@@ -197,18 +197,23 @@ export declare const defaultColors: {
197
197
  primaryLight: string;
198
198
  primary: string;
199
199
  primaryDark: string;
200
+ primaryShadow: string;
200
201
  secondaryLight: string;
201
202
  secondary: string;
202
203
  secondaryDark: string;
204
+ secondaryShadow: string;
203
205
  successLight: string;
204
206
  success: string;
205
207
  successDark: string;
208
+ successShadow: string;
206
209
  warningLight: string;
207
210
  warning: string;
208
211
  warningDark: string;
212
+ warningShadow: string;
209
213
  errorLight: string;
210
214
  error: string;
211
215
  errorDark: string;
216
+ errorShadow: string;
212
217
  gradient: string;
213
218
  link: string;
214
219
  };
@@ -551,6 +556,20 @@ export declare const defaultUtils: {
551
556
  readonly [$$PropertyValue]: "width";
552
557
  };
553
558
  };
559
+ minSize: (value: Stitches.PropertyValue<'width'>) => {
560
+ minWidth: {
561
+ readonly [$$PropertyValue]: "width";
562
+ };
563
+ minHeight: {
564
+ readonly [$$PropertyValue]: "width";
565
+ };
566
+ width: {
567
+ readonly [$$PropertyValue]: "width";
568
+ };
569
+ height: {
570
+ readonly [$$PropertyValue]: "width";
571
+ };
572
+ };
554
573
  sizeMin: (value: Stitches.PropertyValue<'width'>) => {
555
574
  minWidth: {
556
575
  readonly [$$PropertyValue]: "width";
@@ -565,6 +584,14 @@ export declare const defaultUtils: {
565
584
  readonly [$$PropertyValue]: "width";
566
585
  };
567
586
  };
587
+ maxSize: (value: Stitches.PropertyValue<'width'>) => {
588
+ maxWidth: {
589
+ readonly [$$PropertyValue]: "width";
590
+ };
591
+ maxHeight: {
592
+ readonly [$$PropertyValue]: "width";
593
+ };
594
+ };
568
595
  sizeMax: (value: Stitches.PropertyValue<'width'>) => {
569
596
  maxWidth: {
570
597
  readonly [$$PropertyValue]: "width";
@@ -587,10 +614,18 @@ export declare const defaultUtils: {
587
614
  linearGradient: (value: Stitches.PropertyValue<'backgroundImage'>) => {
588
615
  backgroundImage: string;
589
616
  };
617
+ tdl: (value: Stitches.PropertyValue<'textDecorationLine'>) => {
618
+ textDecorationLine: {
619
+ readonly [$$PropertyValue]: "textDecorationLine";
620
+ };
621
+ };
590
622
  textGradient: (value: Stitches.PropertyValue<'backgroundImage'>) => {
591
623
  backgroundImage: string;
592
624
  WebkitBackgroundClip: string;
593
625
  WebkitTextFillColor: string;
626
+ '&::selection': {
627
+ WebkitTextFillColor: string;
628
+ };
594
629
  };
595
630
  };
596
631
  export declare const defaultThemeMap: {
@@ -804,18 +839,23 @@ declare const _default: {
804
839
  primaryLight: string;
805
840
  primary: string;
806
841
  primaryDark: string;
842
+ primaryShadow: string;
807
843
  secondaryLight: string;
808
844
  secondary: string;
809
845
  secondaryDark: string;
846
+ secondaryShadow: string;
810
847
  successLight: string;
811
848
  success: string;
812
849
  successDark: string;
850
+ successShadow: string;
813
851
  warningLight: string;
814
852
  warning: string;
815
853
  warningDark: string;
854
+ warningShadow: string;
816
855
  errorLight: string;
817
856
  error: string;
818
857
  errorDark: string;
858
+ errorShadow: string;
819
859
  gradient: string;
820
860
  link: string;
821
861
  };
@@ -1396,6 +1436,22 @@ declare const _default: {
1396
1436
  readonly [$$PropertyValue]: "width";
1397
1437
  };
1398
1438
  };
1439
+ minSize: (value: {
1440
+ readonly [$$PropertyValue]: "width";
1441
+ }) => {
1442
+ minWidth: {
1443
+ readonly [$$PropertyValue]: "width";
1444
+ };
1445
+ minHeight: {
1446
+ readonly [$$PropertyValue]: "width";
1447
+ };
1448
+ width: {
1449
+ readonly [$$PropertyValue]: "width";
1450
+ };
1451
+ height: {
1452
+ readonly [$$PropertyValue]: "width";
1453
+ };
1454
+ };
1399
1455
  sizeMin: (value: {
1400
1456
  readonly [$$PropertyValue]: "width";
1401
1457
  }) => {
@@ -1412,6 +1468,16 @@ declare const _default: {
1412
1468
  readonly [$$PropertyValue]: "width";
1413
1469
  };
1414
1470
  };
1471
+ maxSize: (value: {
1472
+ readonly [$$PropertyValue]: "width";
1473
+ }) => {
1474
+ maxWidth: {
1475
+ readonly [$$PropertyValue]: "width";
1476
+ };
1477
+ maxHeight: {
1478
+ readonly [$$PropertyValue]: "width";
1479
+ };
1480
+ };
1415
1481
  sizeMax: (value: {
1416
1482
  readonly [$$PropertyValue]: "width";
1417
1483
  }) => {
@@ -1442,12 +1508,22 @@ declare const _default: {
1442
1508
  }) => {
1443
1509
  backgroundImage: string;
1444
1510
  };
1511
+ tdl: (value: {
1512
+ readonly [$$PropertyValue]: "textDecorationLine";
1513
+ }) => {
1514
+ textDecorationLine: {
1515
+ readonly [$$PropertyValue]: "textDecorationLine";
1516
+ };
1517
+ };
1445
1518
  textGradient: (value: {
1446
1519
  readonly [$$PropertyValue]: "backgroundImage";
1447
1520
  }) => {
1448
1521
  backgroundImage: string;
1449
1522
  WebkitBackgroundClip: string;
1450
1523
  WebkitTextFillColor: string;
1524
+ '&::selection': {
1525
+ WebkitTextFillColor: string;
1526
+ };
1451
1527
  };
1452
1528
  };
1453
1529
  themeMap: {
@@ -10,11 +10,21 @@ declare const _default: {
10
10
  accents8: string;
11
11
  accents9: string;
12
12
  text: string;
13
+ blue900: string;
14
+ purple900: string;
15
+ green900: string;
16
+ yellow900: string;
17
+ red900: string;
13
18
  primaryLight: string;
19
+ primaryShadow: string;
14
20
  secondaryLight: string;
21
+ secondaryShadow: string;
15
22
  successLight: string;
23
+ successShadow: string;
16
24
  warningLight: string;
25
+ warningShadow: string;
17
26
  errorLight: string;
27
+ errorShadow: string;
18
28
  background: string;
19
29
  foreground: string;
20
30
  codeLight: string;
File without changes