@ropav/styles 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/README.md +37 -20
  2. package/dist/components/accordion/accordion.styles.d.ts +47 -50
  3. package/dist/components/accordion/accordion.styles.d.ts.map +1 -1
  4. package/dist/components/accordion/accordion.styles.js +10 -10
  5. package/dist/components/accordion.css +15 -15
  6. package/dist/components/alert/alert.styles.d.ts +32 -74
  7. package/dist/components/alert/alert.styles.d.ts.map +1 -1
  8. package/dist/components/alert/alert.styles.js +11 -11
  9. package/dist/components/alert-dialog/alert-dialog.styles.d.ts +79 -173
  10. package/dist/components/alert-dialog/alert-dialog.styles.d.ts.map +1 -1
  11. package/dist/components/alert-dialog/alert-dialog.styles.js +24 -24
  12. package/dist/components/alert-dialog.css +27 -27
  13. package/dist/components/alert.css +15 -15
  14. package/dist/components/autocomplete/autocomplete.styles.d.ts +58 -107
  15. package/dist/components/autocomplete/autocomplete.styles.d.ts.map +1 -1
  16. package/dist/components/autocomplete/autocomplete.styles.js +16 -16
  17. package/dist/components/autocomplete.css +19 -19
  18. package/dist/components/avatar/avatar.styles.d.ts +30 -119
  19. package/dist/components/avatar/avatar.styles.d.ts.map +1 -1
  20. package/dist/components/avatar/avatar.styles.js +13 -13
  21. package/dist/components/avatar.css +18 -18
  22. package/dist/components/badge/badge.styles.d.ts +34 -176
  23. package/dist/components/badge/badge.styles.d.ts.map +1 -1
  24. package/dist/components/badge/badge.styles.js +19 -19
  25. package/dist/components/badge.css +28 -28
  26. package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +17 -44
  27. package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
  28. package/dist/components/breadcrumbs/breadcrumbs.styles.js +5 -5
  29. package/dist/components/breadcrumbs.css +4 -4
  30. package/dist/components/button/button.styles.d.ts +9 -68
  31. package/dist/components/button/button.styles.d.ts.map +1 -1
  32. package/dist/components/button/button.styles.js +14 -14
  33. package/dist/components/button-group/button-group.styles.d.ts +20 -56
  34. package/dist/components/button-group/button-group.styles.d.ts.map +1 -1
  35. package/dist/components/button-group/button-group.styles.js +6 -6
  36. package/dist/components/button-group.css +24 -24
  37. package/dist/components/button.css +16 -16
  38. package/dist/components/calendar/calendar.styles.d.ts +41 -77
  39. package/dist/components/calendar/calendar.styles.d.ts.map +1 -1
  40. package/dist/components/calendar/calendar.styles.js +13 -13
  41. package/dist/components/calendar-year-picker/calendar-year-picker.styles.d.ts +20 -50
  42. package/dist/components/calendar-year-picker/calendar-year-picker.styles.d.ts.map +1 -1
  43. package/dist/components/calendar-year-picker/calendar-year-picker.styles.js +6 -6
  44. package/dist/components/calendar-year-picker.css +18 -17
  45. package/dist/components/calendar.css +22 -22
  46. package/dist/components/card/card.styles.d.ts +37 -68
  47. package/dist/components/card/card.styles.d.ts.map +1 -1
  48. package/dist/components/card/card.styles.js +11 -11
  49. package/dist/components/card.css +10 -10
  50. package/dist/components/checkbox/checkbox.styles.d.ts +27 -44
  51. package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -1
  52. package/dist/components/checkbox/checkbox.styles.js +7 -7
  53. package/dist/components/checkbox-group/checkbox-group.styles.d.ts +6 -17
  54. package/dist/components/checkbox-group/checkbox-group.styles.d.ts.map +1 -1
  55. package/dist/components/checkbox-group/checkbox-group.styles.js +4 -4
  56. package/dist/components/checkbox-group.css +1 -1
  57. package/dist/components/checkbox.css +33 -32
  58. package/dist/components/chip/chip.styles.d.ts +23 -140
  59. package/dist/components/chip/chip.styles.d.ts.map +1 -1
  60. package/dist/components/chip/chip.styles.js +15 -15
  61. package/dist/components/chip.css +23 -23
  62. package/dist/components/close-button/close-button.styles.d.ts +6 -14
  63. package/dist/components/close-button/close-button.styles.d.ts.map +1 -1
  64. package/dist/components/close-button/close-button.styles.js +3 -3
  65. package/dist/components/close-button.css +2 -2
  66. package/dist/components/color-area/color-area.styles.d.ts +17 -32
  67. package/dist/components/color-area/color-area.styles.d.ts.map +1 -1
  68. package/dist/components/color-area/color-area.styles.js +4 -4
  69. package/dist/components/color-area.css +3 -3
  70. package/dist/components/color-field/color-field.styles.d.ts +6 -17
  71. package/dist/components/color-field/color-field.styles.d.ts.map +1 -1
  72. package/dist/components/color-field/color-field.styles.js +3 -3
  73. package/dist/components/color-field.css +2 -2
  74. package/dist/components/color-input-group/color-input-group.styles.d.ts +37 -89
  75. package/dist/components/color-input-group/color-input-group.styles.d.ts.map +1 -1
  76. package/dist/components/color-input-group/color-input-group.styles.js +10 -10
  77. package/dist/components/color-input-group.css +13 -13
  78. package/dist/components/color-picker/color-picker.styles.d.ts +14 -38
  79. package/dist/components/color-picker/color-picker.styles.d.ts.map +1 -1
  80. package/dist/components/color-picker/color-picker.styles.js +4 -4
  81. package/dist/components/color-picker.css +3 -3
  82. package/dist/components/color-slider/color-slider.styles.d.ts +17 -44
  83. package/dist/components/color-slider/color-slider.styles.d.ts.map +1 -1
  84. package/dist/components/color-slider/color-slider.styles.js +5 -5
  85. package/dist/components/color-slider.css +16 -16
  86. package/dist/components/color-swatch/color-swatch.styles.d.ts +7 -38
  87. package/dist/components/color-swatch/color-swatch.styles.d.ts.map +1 -1
  88. package/dist/components/color-swatch/color-swatch.styles.js +9 -9
  89. package/dist/components/color-swatch-picker/color-swatch-picker.styles.d.ts +37 -119
  90. package/dist/components/color-swatch-picker/color-swatch-picker.styles.d.ts.map +1 -1
  91. package/dist/components/color-swatch-picker/color-swatch-picker.styles.js +14 -14
  92. package/dist/components/color-swatch-picker.css +20 -20
  93. package/dist/components/color-swatch.css +12 -12
  94. package/dist/components/combo-box/combo-box.styles.d.ts +38 -71
  95. package/dist/components/combo-box/combo-box.styles.d.ts.map +1 -1
  96. package/dist/components/combo-box/combo-box.styles.js +10 -10
  97. package/dist/components/combo-box.css +10 -10
  98. package/dist/components/date-field/date-field.styles.d.ts +6 -17
  99. package/dist/components/date-field/date-field.styles.d.ts.map +1 -1
  100. package/dist/components/date-field/date-field.styles.js +3 -3
  101. package/dist/components/date-field.css +2 -2
  102. package/dist/components/date-input-group/date-input-group.styles.d.ts +51 -95
  103. package/dist/components/date-input-group/date-input-group.styles.d.ts.map +1 -1
  104. package/dist/components/date-input-group/date-input-group.styles.js +12 -12
  105. package/dist/components/date-input-group.css +16 -16
  106. package/dist/components/date-picker/date-picker.styles.d.ts +17 -44
  107. package/dist/components/date-picker/date-picker.styles.d.ts.map +1 -1
  108. package/dist/components/date-picker/date-picker.styles.js +5 -5
  109. package/dist/components/date-picker.css +8 -8
  110. package/dist/components/date-range-picker/date-range-picker.styles.d.ts +20 -50
  111. package/dist/components/date-range-picker/date-range-picker.styles.d.ts.map +1 -1
  112. package/dist/components/date-range-picker/date-range-picker.styles.js +6 -6
  113. package/dist/components/date-range-picker.css +9 -9
  114. package/dist/components/description/description.styles.d.ts +4 -2
  115. package/dist/components/description/description.styles.d.ts.map +1 -1
  116. package/dist/components/description/description.styles.js +2 -2
  117. package/dist/components/description.css +1 -1
  118. package/dist/components/disclosure/disclosure.styles.d.ts +26 -26
  119. package/dist/components/disclosure/disclosure.styles.d.ts.map +1 -1
  120. package/dist/components/disclosure/disclosure.styles.js +8 -8
  121. package/dist/components/disclosure-group/disclosure-group.styles.d.ts +8 -8
  122. package/dist/components/disclosure-group/disclosure-group.styles.d.ts.map +1 -1
  123. package/dist/components/disclosure-group/disclosure-group.styles.js +2 -2
  124. package/dist/components/disclosure-group.css +1 -1
  125. package/dist/components/disclosure.css +6 -6
  126. package/dist/components/drawer/drawer.styles.d.ts +68 -125
  127. package/dist/components/drawer/drawer.styles.d.ts.map +1 -1
  128. package/dist/components/drawer/drawer.styles.js +22 -22
  129. package/dist/components/drawer.css +37 -37
  130. package/dist/components/drop-zone/drop-zone.styles.d.ts +11 -32
  131. package/dist/components/drop-zone/drop-zone.styles.d.ts.map +1 -1
  132. package/dist/components/drop-zone/drop-zone.styles.js +3 -3
  133. package/dist/components/drop-zone.css +2 -2
  134. package/dist/components/dropdown/dropdown.styles.d.ts +17 -44
  135. package/dist/components/dropdown/dropdown.styles.d.ts.map +1 -1
  136. package/dist/components/dropdown/dropdown.styles.js +5 -5
  137. package/dist/components/dropdown.css +13 -11
  138. package/dist/components/empty-state/empty-state.styles.d.ts +4 -2
  139. package/dist/components/empty-state/empty-state.styles.d.ts.map +1 -1
  140. package/dist/components/empty-state/empty-state.styles.js +2 -2
  141. package/dist/components/empty-state.css +1 -1
  142. package/dist/components/error-message/error-message.styles.d.ts +4 -2
  143. package/dist/components/error-message/error-message.styles.d.ts.map +1 -1
  144. package/dist/components/error-message/error-message.styles.js +2 -2
  145. package/dist/components/error-message.css +1 -1
  146. package/dist/components/field-error/field-error.styles.d.ts +4 -2
  147. package/dist/components/field-error/field-error.styles.d.ts.map +1 -1
  148. package/dist/components/field-error/field-error.styles.js +2 -2
  149. package/dist/components/field-error.css +7 -7
  150. package/dist/components/fieldset/fieldset.styles.d.ts +20 -50
  151. package/dist/components/fieldset/fieldset.styles.d.ts.map +1 -1
  152. package/dist/components/fieldset/fieldset.styles.js +6 -6
  153. package/dist/components/fieldset.css +4 -4
  154. package/dist/components/header/header.styles.d.ts +3 -1
  155. package/dist/components/header/header.styles.d.ts.map +1 -1
  156. package/dist/components/header/header.styles.js +2 -2
  157. package/dist/components/header.css +1 -1
  158. package/dist/components/input/input.styles.d.ts +8 -44
  159. package/dist/components/input/input.styles.d.ts.map +1 -1
  160. package/dist/components/input/input.styles.js +7 -7
  161. package/dist/components/input-group/input-group.styles.d.ts +37 -89
  162. package/dist/components/input-group/input-group.styles.d.ts.map +1 -1
  163. package/dist/components/input-group/input-group.styles.js +10 -10
  164. package/dist/components/input-group.css +17 -17
  165. package/dist/components/input-otp/input-otp.styles.d.ts +42 -53
  166. package/dist/components/input-otp/input-otp.styles.d.ts.map +1 -1
  167. package/dist/components/input-otp/input-otp.styles.js +10 -10
  168. package/dist/components/input-otp.css +10 -10
  169. package/dist/components/input.css +6 -6
  170. package/dist/components/kbd/kbd.styles.d.ts +22 -29
  171. package/dist/components/kbd/kbd.styles.d.ts.map +1 -1
  172. package/dist/components/kbd/kbd.styles.js +6 -6
  173. package/dist/components/kbd.css +4 -4
  174. package/dist/components/label/label.styles.d.ts +8 -32
  175. package/dist/components/label/label.styles.d.ts.map +1 -1
  176. package/dist/components/label/label.styles.js +5 -5
  177. package/dist/components/label.css +9 -9
  178. package/dist/components/link/link.styles.d.ts +11 -32
  179. package/dist/components/link/link.styles.d.ts.map +1 -1
  180. package/dist/components/link/link.styles.js +3 -3
  181. package/dist/components/link.css +7 -7
  182. package/dist/components/list-box/list-box.styles.d.ts +7 -32
  183. package/dist/components/list-box/list-box.styles.d.ts.map +1 -1
  184. package/dist/components/list-box/list-box.styles.js +6 -6
  185. package/dist/components/list-box-item/list-box-item.styles.d.ts +17 -38
  186. package/dist/components/list-box-item/list-box-item.styles.d.ts.map +1 -1
  187. package/dist/components/list-box-item/list-box-item.styles.js +5 -5
  188. package/dist/components/list-box-item.css +9 -9
  189. package/dist/components/list-box-section/list-box-section.styles.d.ts +4 -2
  190. package/dist/components/list-box-section/list-box-section.styles.d.ts.map +1 -1
  191. package/dist/components/list-box-section/list-box-section.styles.js +2 -2
  192. package/dist/components/list-box-section.css +1 -1
  193. package/dist/components/list-box.css +53 -3
  194. package/dist/components/menu/menu.styles.d.ts +6 -20
  195. package/dist/components/menu/menu.styles.d.ts.map +1 -1
  196. package/dist/components/menu/menu.styles.js +4 -4
  197. package/dist/components/menu-item/menu-item.styles.d.ts +22 -41
  198. package/dist/components/menu-item/menu-item.styles.d.ts.map +1 -1
  199. package/dist/components/menu-item/menu-item.styles.js +6 -6
  200. package/dist/components/menu-item.css +11 -11
  201. package/dist/components/menu-section/menu-section.styles.d.ts +4 -2
  202. package/dist/components/menu-section/menu-section.styles.d.ts.map +1 -1
  203. package/dist/components/menu-section/menu-section.styles.js +2 -2
  204. package/dist/components/menu-section.css +1 -1
  205. package/dist/components/menu.css +4 -4
  206. package/dist/components/meter/meter.styles.d.ts +32 -104
  207. package/dist/components/meter/meter.styles.d.ts.map +1 -1
  208. package/dist/components/meter/meter.styles.js +13 -13
  209. package/dist/components/meter.css +14 -14
  210. package/dist/components/modal/modal.styles.d.ts +79 -167
  211. package/dist/components/modal/modal.styles.d.ts.map +1 -1
  212. package/dist/components/modal/modal.styles.js +26 -26
  213. package/dist/components/modal.css +30 -30
  214. package/dist/components/number-field/number-field.styles.d.ts +44 -95
  215. package/dist/components/number-field/number-field.styles.d.ts.map +1 -1
  216. package/dist/components/number-field/number-field.styles.js +12 -12
  217. package/dist/components/number-field.css +24 -24
  218. package/dist/components/pagination/pagination.styles.d.ts +44 -59
  219. package/dist/components/pagination/pagination.styles.d.ts.map +1 -1
  220. package/dist/components/pagination/pagination.styles.js +19 -12
  221. package/dist/components/pagination.css +18 -18
  222. package/dist/components/popover/popover.styles.d.ts +17 -44
  223. package/dist/components/popover/popover.styles.d.ts.map +1 -1
  224. package/dist/components/popover/popover.styles.js +5 -5
  225. package/dist/components/popover.css +4 -4
  226. package/dist/components/progress-bar/progress-bar.styles.d.ts +42 -140
  227. package/dist/components/progress-bar/progress-bar.styles.d.ts.map +1 -1
  228. package/dist/components/progress-bar/progress-bar.styles.js +15 -15
  229. package/dist/components/progress-bar.css +25 -25
  230. package/dist/components/progress-circle/progress-circle.styles.d.ts +32 -104
  231. package/dist/components/progress-circle/progress-circle.styles.d.ts.map +1 -1
  232. package/dist/components/progress-circle/progress-circle.styles.js +13 -13
  233. package/dist/components/progress-circle.css +17 -17
  234. package/dist/components/radio/radio.styles.d.ts +17 -44
  235. package/dist/components/radio/radio.styles.d.ts.map +1 -1
  236. package/dist/components/radio/radio.styles.js +5 -5
  237. package/dist/components/radio-group/radio-group.styles.d.ts +6 -17
  238. package/dist/components/radio-group/radio-group.styles.d.ts.map +1 -1
  239. package/dist/components/radio-group/radio-group.styles.js +4 -4
  240. package/dist/components/radio-group.css +8 -8
  241. package/dist/components/radio.css +39 -39
  242. package/dist/components/range-calendar/range-calendar.styles.d.ts +44 -77
  243. package/dist/components/range-calendar/range-calendar.styles.d.ts.map +1 -1
  244. package/dist/components/range-calendar/range-calendar.styles.js +15 -13
  245. package/dist/components/range-calendar.css +38 -38
  246. package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts +16 -68
  247. package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts.map +1 -1
  248. package/dist/components/scroll-shadow/scroll-shadow.styles.js +6 -6
  249. package/dist/components/scroll-shadow.css +6 -6
  250. package/dist/components/search-field/search-field.styles.d.ts +44 -95
  251. package/dist/components/search-field/search-field.styles.d.ts.map +1 -1
  252. package/dist/components/search-field/search-field.styles.js +12 -12
  253. package/dist/components/search-field.css +18 -18
  254. package/dist/components/segmented-control/segmented-control.styles.d.ts +32 -71
  255. package/dist/components/segmented-control/segmented-control.styles.d.ts.map +1 -1
  256. package/dist/components/segmented-control/segmented-control.styles.js +9 -9
  257. package/dist/components/segmented-control.css +17 -17
  258. package/dist/components/select/select.styles.d.ts +44 -101
  259. package/dist/components/select/select.styles.d.ts.map +1 -1
  260. package/dist/components/select/select.styles.js +14 -14
  261. package/dist/components/select.css +16 -16
  262. package/dist/components/separator/separator.styles.d.ts +7 -32
  263. package/dist/components/separator/separator.styles.d.ts.map +1 -1
  264. package/dist/components/separator/separator.styles.js +7 -7
  265. package/dist/components/separator.css +13 -13
  266. package/dist/components/sidebar/sidebar.styles.d.ts +222 -224
  267. package/dist/components/sidebar/sidebar.styles.d.ts.map +1 -1
  268. package/dist/components/sidebar/sidebar.styles.js +36 -36
  269. package/dist/components/sidebar.css +54 -48
  270. package/dist/components/skeleton/skeleton.styles.d.ts +12 -26
  271. package/dist/components/skeleton/skeleton.styles.d.ts.map +1 -1
  272. package/dist/components/skeleton/skeleton.styles.js +5 -5
  273. package/dist/components/skeleton.css +6 -6
  274. package/dist/components/slider/slider.styles.d.ts +23 -56
  275. package/dist/components/slider/slider.styles.d.ts.map +1 -1
  276. package/dist/components/slider/slider.styles.js +7 -7
  277. package/dist/components/slider.css +14 -14
  278. package/dist/components/spinner/spinner.styles.d.ts +7 -44
  279. package/dist/components/spinner/spinner.styles.d.ts.map +1 -1
  280. package/dist/components/spinner/spinner.styles.js +11 -11
  281. package/dist/components/spinner.css +10 -10
  282. package/dist/components/splitter/splitter.styles.d.ts +32 -59
  283. package/dist/components/splitter/splitter.styles.d.ts.map +1 -1
  284. package/dist/components/splitter/splitter.styles.js +12 -12
  285. package/dist/components/splitter.css +23 -23
  286. package/dist/components/surface/surface.styles.d.ts +6 -23
  287. package/dist/components/surface/surface.styles.d.ts.map +1 -1
  288. package/dist/components/surface/surface.styles.js +6 -6
  289. package/dist/components/surface.css +5 -5
  290. package/dist/components/switch/switch.styles.d.ts +32 -56
  291. package/dist/components/switch/switch.styles.d.ts.map +1 -1
  292. package/dist/components/switch/switch.styles.js +9 -9
  293. package/dist/components/switch-group/switch-group.styles.d.ts +17 -38
  294. package/dist/components/switch-group/switch-group.styles.d.ts.map +1 -1
  295. package/dist/components/switch-group/switch-group.styles.js +5 -5
  296. package/dist/components/switch-group.css +4 -4
  297. package/dist/components/switch.css +52 -52
  298. package/dist/components/table/table.styles.d.ts +87 -77
  299. package/dist/components/table/table.styles.d.ts.map +1 -1
  300. package/dist/components/table/table.styles.js +20 -18
  301. package/dist/components/table.css +112 -63
  302. package/dist/components/tabs/tabs.styles.d.ts +57 -56
  303. package/dist/components/tabs/tabs.styles.d.ts.map +1 -1
  304. package/dist/components/tabs/tabs.styles.js +12 -12
  305. package/dist/components/tabs.css +33 -33
  306. package/dist/components/tag/tag.styles.d.ts +20 -71
  307. package/dist/components/tag/tag.styles.d.ts.map +1 -1
  308. package/dist/components/tag/tag.styles.js +8 -8
  309. package/dist/components/tag-group/tag-group.styles.d.ts +11 -32
  310. package/dist/components/tag-group/tag-group.styles.d.ts.map +1 -1
  311. package/dist/components/tag-group/tag-group.styles.js +3 -3
  312. package/dist/components/tag-group.css +6 -6
  313. package/dist/components/tag.css +11 -11
  314. package/dist/components/textarea/textarea.styles.d.ts +8 -44
  315. package/dist/components/textarea/textarea.styles.d.ts.map +1 -1
  316. package/dist/components/textarea/textarea.styles.js +7 -7
  317. package/dist/components/textarea.css +6 -6
  318. package/dist/components/textfield/textfield.styles.d.ts +6 -17
  319. package/dist/components/textfield/textfield.styles.d.ts.map +1 -1
  320. package/dist/components/textfield/textfield.styles.js +3 -3
  321. package/dist/components/textfield.css +2 -2
  322. package/dist/components/time-field/time-field.styles.d.ts +6 -17
  323. package/dist/components/time-field/time-field.styles.d.ts.map +1 -1
  324. package/dist/components/time-field/time-field.styles.js +3 -3
  325. package/dist/components/time-field.css +2 -2
  326. package/dist/components/toast/toast.styles.d.ts +56 -161
  327. package/dist/components/toast/toast.styles.d.ts.map +1 -1
  328. package/dist/components/toast/toast.styles.js +26 -26
  329. package/dist/components/toast.css +55 -55
  330. package/dist/components/toggle-button/toggle-button.styles.d.ts +8 -41
  331. package/dist/components/toggle-button/toggle-button.styles.d.ts.map +1 -1
  332. package/dist/components/toggle-button/toggle-button.styles.js +8 -8
  333. package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts +23 -74
  334. package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
  335. package/dist/components/toggle-button-group/toggle-button-group.styles.js +7 -7
  336. package/dist/components/toggle-button-group.css +22 -22
  337. package/dist/components/toggle-button.css +9 -9
  338. package/dist/components/toolbar/toolbar.styles.d.ts +7 -26
  339. package/dist/components/toolbar/toolbar.styles.d.ts.map +1 -1
  340. package/dist/components/toolbar/toolbar.styles.js +5 -5
  341. package/dist/components/toolbar.css +7 -7
  342. package/dist/components/tooltip/tooltip.styles.d.ts +11 -32
  343. package/dist/components/tooltip/tooltip.styles.d.ts.map +1 -1
  344. package/dist/components/tooltip/tooltip.styles.js +3 -3
  345. package/dist/components/tooltip.css +2 -2
  346. package/dist/components/typography/typography.styles.d.ts +29 -107
  347. package/dist/components/typography/typography.styles.d.ts.map +1 -1
  348. package/dist/components/typography/typography.styles.js +24 -24
  349. package/dist/components/typography.css +41 -41
  350. package/dist/components/virtualizer/virtualizer.styles.d.ts +13 -37
  351. package/dist/components/virtualizer/virtualizer.styles.d.ts.map +1 -1
  352. package/dist/components/virtualizer/virtualizer.styles.js +4 -4
  353. package/dist/components/virtualizer.css +3 -3
  354. package/dist/core.css +26 -0
  355. package/dist/index.css +8 -24
  356. package/dist/index.d.ts +2 -1
  357. package/dist/index.d.ts.map +1 -1
  358. package/dist/index.js +2 -2
  359. package/dist/no-preflight.css +8 -0
  360. package/dist/ropav.min.css +1 -1
  361. package/dist/themes.d.ts +12 -0
  362. package/dist/themes.d.ts.map +1 -0
  363. package/dist/themes.js +39 -0
  364. package/dist/tv.d.ts +34 -0
  365. package/dist/tv.d.ts.map +1 -0
  366. package/dist/tv.js +21 -0
  367. package/package.json +5 -3
  368. package/src/components/accordion/accordion.styles.ts +11 -11
  369. package/src/components/alert/alert.styles.ts +12 -12
  370. package/src/components/alert-dialog/alert-dialog.styles.ts +25 -25
  371. package/src/components/autocomplete/autocomplete.styles.ts +17 -17
  372. package/src/components/avatar/avatar.styles.ts +14 -14
  373. package/src/components/badge/badge.styles.ts +20 -20
  374. package/src/components/breadcrumbs/breadcrumbs.styles.ts +6 -6
  375. package/src/components/button/button.styles.ts +15 -15
  376. package/src/components/button-group/button-group.styles.ts +7 -7
  377. package/src/components/calendar/calendar.styles.ts +14 -14
  378. package/src/components/calendar-year-picker/calendar-year-picker.styles.ts +7 -7
  379. package/src/components/card/card.styles.ts +12 -12
  380. package/src/components/checkbox/checkbox.styles.ts +8 -8
  381. package/src/components/checkbox-group/checkbox-group.styles.ts +5 -5
  382. package/src/components/chip/chip.styles.ts +16 -16
  383. package/src/components/close-button/close-button.styles.ts +4 -4
  384. package/src/components/color-area/color-area.styles.ts +5 -5
  385. package/src/components/color-field/color-field.styles.ts +4 -4
  386. package/src/components/color-input-group/color-input-group.styles.ts +11 -11
  387. package/src/components/color-picker/color-picker.styles.ts +5 -5
  388. package/src/components/color-slider/color-slider.styles.ts +6 -6
  389. package/src/components/color-swatch/color-swatch.styles.ts +10 -10
  390. package/src/components/color-swatch-picker/color-swatch-picker.styles.ts +15 -15
  391. package/src/components/combo-box/combo-box.styles.ts +11 -11
  392. package/src/components/date-field/date-field.styles.ts +4 -4
  393. package/src/components/date-input-group/date-input-group.styles.ts +13 -13
  394. package/src/components/date-picker/date-picker.styles.ts +6 -6
  395. package/src/components/date-range-picker/date-range-picker.styles.ts +7 -7
  396. package/src/components/description/description.styles.ts +3 -3
  397. package/src/components/disclosure/disclosure.styles.ts +9 -9
  398. package/src/components/disclosure-group/disclosure-group.styles.ts +3 -3
  399. package/src/components/drawer/drawer.styles.ts +23 -23
  400. package/src/components/drop-zone/drop-zone.styles.ts +4 -4
  401. package/src/components/dropdown/dropdown.styles.ts +6 -6
  402. package/src/components/empty-state/empty-state.styles.ts +3 -3
  403. package/src/components/error-message/error-message.styles.ts +3 -3
  404. package/src/components/field-error/field-error.styles.ts +3 -3
  405. package/src/components/fieldset/fieldset.styles.ts +7 -7
  406. package/src/components/header/header.styles.ts +2 -2
  407. package/src/components/input/input.styles.ts +8 -8
  408. package/src/components/input-group/input-group.styles.ts +11 -11
  409. package/src/components/input-otp/input-otp.styles.ts +11 -11
  410. package/src/components/kbd/kbd.styles.ts +7 -7
  411. package/src/components/label/label.styles.ts +6 -6
  412. package/src/components/link/link.styles.ts +4 -4
  413. package/src/components/list-box/list-box.styles.ts +7 -7
  414. package/src/components/list-box-item/list-box-item.styles.ts +6 -6
  415. package/src/components/list-box-section/list-box-section.styles.ts +3 -3
  416. package/src/components/menu/menu.styles.ts +5 -5
  417. package/src/components/menu-item/menu-item.styles.ts +7 -7
  418. package/src/components/menu-section/menu-section.styles.ts +3 -3
  419. package/src/components/meter/meter.styles.ts +14 -14
  420. package/src/components/modal/modal.styles.ts +27 -27
  421. package/src/components/number-field/number-field.styles.ts +13 -13
  422. package/src/components/pagination/pagination.styles.ts +18 -11
  423. package/src/components/popover/popover.styles.ts +6 -6
  424. package/src/components/progress-bar/progress-bar.styles.ts +16 -16
  425. package/src/components/progress-circle/progress-circle.styles.ts +14 -14
  426. package/src/components/radio/radio.styles.ts +6 -6
  427. package/src/components/radio-group/radio-group.styles.ts +5 -5
  428. package/src/components/range-calendar/range-calendar.styles.ts +16 -14
  429. package/src/components/scroll-shadow/scroll-shadow.styles.ts +7 -7
  430. package/src/components/search-field/search-field.styles.ts +13 -13
  431. package/src/components/segmented-control/segmented-control.styles.ts +10 -10
  432. package/src/components/select/select.styles.ts +15 -15
  433. package/src/components/separator/separator.styles.ts +8 -8
  434. package/src/components/sidebar/sidebar.styles.ts +37 -37
  435. package/src/components/skeleton/skeleton.styles.ts +6 -6
  436. package/src/components/slider/slider.styles.ts +8 -8
  437. package/src/components/spinner/spinner.styles.ts +12 -12
  438. package/src/components/splitter/splitter.styles.ts +13 -13
  439. package/src/components/surface/surface.styles.ts +7 -7
  440. package/src/components/switch/switch.styles.ts +10 -10
  441. package/src/components/switch-group/switch-group.styles.ts +6 -6
  442. package/src/components/table/table.styles.ts +21 -19
  443. package/src/components/tabs/tabs.styles.ts +13 -13
  444. package/src/components/tag/tag.styles.ts +9 -9
  445. package/src/components/tag-group/tag-group.styles.ts +4 -4
  446. package/src/components/textarea/textarea.styles.ts +8 -8
  447. package/src/components/textfield/textfield.styles.ts +4 -4
  448. package/src/components/time-field/time-field.styles.ts +4 -4
  449. package/src/components/toast/toast.styles.ts +27 -27
  450. package/src/components/toggle-button/toggle-button.styles.ts +9 -9
  451. package/src/components/toggle-button-group/toggle-button-group.styles.ts +8 -8
  452. package/src/components/toolbar/toolbar.styles.ts +6 -6
  453. package/src/components/tooltip/tooltip.styles.ts +4 -4
  454. package/src/components/typography/typography.styles.ts +25 -25
  455. package/src/components/virtualizer/virtualizer.styles.ts +4 -4
  456. package/src/index.ts +5 -2
  457. package/src/themes.ts +40 -0
  458. package/src/tv.ts +82 -0
@@ -1,6 +1,6 @@
1
1
  /* Slider styles */
2
2
 
3
- .slider {
3
+ .rp-slider {
4
4
  @apply grid w-full gap-1;
5
5
 
6
6
  grid-template-areas:
@@ -14,13 +14,13 @@
14
14
  grid-area: label;
15
15
  }
16
16
 
17
- .slider__output {
17
+ .rp-slider__output {
18
18
  @apply text-sm font-medium tabular-nums;
19
19
 
20
20
  grid-area: output;
21
21
  }
22
22
 
23
- .slider__track {
23
+ .rp-slider__track {
24
24
  @apply relative bg-default;
25
25
 
26
26
  border-radius: min(32px, var(--component-radius));
@@ -37,7 +37,7 @@
37
37
  }
38
38
  }
39
39
 
40
- .slider__fill {
40
+ .rp-slider__fill {
41
41
  @apply pointer-events-none absolute bg-accent;
42
42
 
43
43
  /* The only thing showing how far along the value is */
@@ -46,7 +46,7 @@
46
46
  }
47
47
  }
48
48
 
49
- .slider__thumb {
49
+ .rp-slider__thumb {
50
50
  /* Flex container for centering pseudo-elements */
51
51
  @apply absolute flex cursor-grab items-center justify-center bg-accent no-highlight;
52
52
 
@@ -119,7 +119,7 @@
119
119
  &[data-orientation="horizontal"] {
120
120
  flex-direction: column;
121
121
 
122
- .slider__track {
122
+ .rp-slider__track {
123
123
  @apply h-5 w-full;
124
124
  /* Add transparent borders to provide space for thumb at edges */
125
125
  /* Thumb width is 1.5rem (24px), so half is 0.75rem (12px) */
@@ -151,12 +151,12 @@
151
151
  }
152
152
  }
153
153
 
154
- .slider__fill,
155
- .slider__thumb {
154
+ .rp-slider__fill,
155
+ .rp-slider__thumb {
156
156
  @apply h-full;
157
157
  }
158
158
 
159
- .slider__thumb {
159
+ .rp-slider__thumb {
160
160
  @apply top-1/2;
161
161
 
162
162
  /* Thumb width + border width */
@@ -181,7 +181,7 @@
181
181
  grid-template-rows: auto 1fr auto;
182
182
  grid-template-columns: 1fr;
183
183
 
184
- .slider__output {
184
+ .rp-slider__output {
185
185
  text-align: center;
186
186
  }
187
187
 
@@ -189,7 +189,7 @@
189
189
  text-align: center;
190
190
  }
191
191
 
192
- .slider__track {
192
+ .rp-slider__track {
193
193
  @apply h-full w-5;
194
194
  /* Add transparent borders to provide space for thumb at edges */
195
195
  /* Thumb height is 1.5rem (24px), so half is 0.75rem (12px) */
@@ -219,12 +219,12 @@
219
219
  }
220
220
  }
221
221
 
222
- .slider__fill,
223
- .slider__thumb {
222
+ .rp-slider__fill,
223
+ .rp-slider__thumb {
224
224
  @apply w-full;
225
225
  }
226
226
 
227
- .slider__thumb {
227
+ .rp-slider__thumb {
228
228
  /* Cross-axis centering; React Aria applies a physical translateX(-50%), so keep left-1/2 for RTL correctness */
229
229
  @apply left-1/2;
230
230
 
@@ -1,46 +1,9 @@
1
- import type { VariantProps } from "tailwind-variants";
2
- export declare const spinnerVariants: import("tailwind-variants").TVReturnType<{
3
- color: {
4
- accent: "spinner--accent";
5
- current: "spinner--current";
6
- danger: "spinner--danger";
7
- success: "spinner--success";
8
- warning: "spinner--warning";
9
- };
10
- size: {
11
- lg: "spinner--lg";
12
- md: "spinner--md";
13
- sm: "spinner--sm";
14
- xl: "spinner--xl";
15
- };
16
- }, undefined, "spinner", {
17
- color: {
18
- accent: "spinner--accent";
19
- current: "spinner--current";
20
- danger: "spinner--danger";
21
- success: "spinner--success";
22
- warning: "spinner--warning";
23
- };
24
- size: {
25
- lg: "spinner--lg";
26
- md: "spinner--md";
27
- sm: "spinner--sm";
28
- xl: "spinner--xl";
29
- };
30
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
31
- color: {
32
- accent: "spinner--accent";
33
- current: "spinner--current";
34
- danger: "spinner--danger";
35
- success: "spinner--success";
36
- warning: "spinner--warning";
37
- };
38
- size: {
39
- lg: "spinner--lg";
40
- md: "spinner--md";
41
- sm: "spinner--sm";
42
- xl: "spinner--xl";
43
- };
44
- }, undefined>>;
1
+ import type { VariantProps } from "../../tv";
2
+ export declare const spinnerVariants: (props?: ({
3
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
4
+ } & {
5
+ color?: "accent" | "current" | "danger" | "success" | "warning" | undefined;
6
+ size?: "lg" | "md" | "sm" | "xl" | undefined;
7
+ }) | undefined) => string;
45
8
  export type SpinnerVariants = VariantProps<typeof spinnerVariants>;
46
9
  //# sourceMappingURL=spinner.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.styles.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"spinner.styles.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,eAAe;;;;;yBAqB1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -1,24 +1,24 @@
1
- import { tv } from "tailwind-variants";
1
+ import { tv } from "../../tv.js";
2
2
  //#region src/components/spinner/spinner.styles.ts
3
3
  const spinnerVariants = tv({
4
- base: "spinner",
4
+ base: "rp-spinner",
5
5
  defaultVariants: {
6
6
  color: "accent",
7
7
  size: "md"
8
8
  },
9
9
  variants: {
10
10
  color: {
11
- accent: "spinner--accent",
12
- current: "spinner--current",
13
- danger: "spinner--danger",
14
- success: "spinner--success",
15
- warning: "spinner--warning"
11
+ accent: "rp-spinner--accent",
12
+ current: "rp-spinner--current",
13
+ danger: "rp-spinner--danger",
14
+ success: "rp-spinner--success",
15
+ warning: "rp-spinner--warning"
16
16
  },
17
17
  size: {
18
- lg: "spinner--lg",
19
- md: "spinner--md",
20
- sm: "spinner--sm",
21
- xl: "spinner--xl"
18
+ lg: "rp-spinner--lg",
19
+ md: "rp-spinner--md",
20
+ sm: "rp-spinner--sm",
21
+ xl: "rp-spinner--xl"
22
22
  }
23
23
  }
24
24
  });
@@ -1,42 +1,42 @@
1
1
  /* Base spinner styles */
2
- .spinner {
2
+ .rp-spinner {
3
3
  @apply pointer-events-none inline-flex size-6 shrink-0 animate-spin-fast motion-reduce:animate-none;
4
4
  }
5
5
 
6
6
  /* Size variants */
7
- .spinner--sm {
7
+ .rp-spinner--sm {
8
8
  @apply size-4;
9
9
  }
10
10
 
11
- .spinner--md {
11
+ .rp-spinner--md {
12
12
  /* No styles as this is the default size */
13
13
  }
14
14
 
15
- .spinner--lg {
15
+ .rp-spinner--lg {
16
16
  @apply size-8;
17
17
  }
18
18
 
19
- .spinner--xl {
19
+ .rp-spinner--xl {
20
20
  @apply size-10;
21
21
  }
22
22
 
23
23
  /* Color variants */
24
- .spinner--current {
24
+ .rp-spinner--current {
25
25
  color: inherit;
26
26
  }
27
27
 
28
- .spinner--accent {
28
+ .rp-spinner--accent {
29
29
  color: var(--accent);
30
30
  }
31
31
 
32
- .spinner--danger {
32
+ .rp-spinner--danger {
33
33
  color: var(--danger);
34
34
  }
35
35
 
36
- .spinner--success {
36
+ .rp-spinner--success {
37
37
  color: var(--success);
38
38
  }
39
39
 
40
- .spinner--warning {
40
+ .rp-spinner--warning {
41
41
  color: var(--warning);
42
42
  }
@@ -1,61 +1,34 @@
1
- import type { VariantProps } from "tailwind-variants";
2
- export declare const splitterVariants: import("tailwind-variants").TVReturnType<{
3
- orientation: {
4
- horizontal: {
5
- base: string;
6
- handle: string;
7
- handleGrip: string;
8
- };
9
- vertical: {
10
- base: string;
11
- handle: string;
12
- handleGrip: string;
13
- };
14
- };
15
- }, {
16
- base: string;
17
- handle: string;
18
- handleGrip: string;
19
- handleTarget: string;
20
- panel: string;
21
- }, undefined, {
22
- orientation: {
23
- horizontal: {
24
- base: string;
25
- handle: string;
26
- handleGrip: string;
27
- };
28
- vertical: {
29
- base: string;
30
- handle: string;
31
- handleGrip: string;
32
- };
33
- };
34
- }, {
35
- base: string;
36
- handle: string;
37
- handleGrip: string;
38
- handleTarget: string;
39
- panel: string;
40
- }, import("tailwind-variants").TVReturnTypeLike<{
41
- orientation: {
42
- horizontal: {
43
- base: string;
44
- handle: string;
45
- handleGrip: string;
46
- };
47
- vertical: {
48
- base: string;
49
- handle: string;
50
- handleGrip: string;
51
- };
52
- };
53
- }, {
54
- base: string;
55
- handle: string;
56
- handleGrip: string;
57
- handleTarget: string;
58
- panel: string;
59
- }>>;
1
+ import type { VariantProps } from "../../tv";
2
+ export declare const splitterVariants: (props?: ({
3
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
4
+ } & {
5
+ orientation?: "horizontal" | "vertical" | undefined;
6
+ }) | undefined) => {
7
+ base: (props?: ({
8
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
9
+ } & {
10
+ orientation?: "horizontal" | "vertical" | undefined;
11
+ }) | undefined) => string;
12
+ handle: (props?: ({
13
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
14
+ } & {
15
+ orientation?: "horizontal" | "vertical" | undefined;
16
+ }) | undefined) => string;
17
+ handleGrip: (props?: ({
18
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
19
+ } & {
20
+ orientation?: "horizontal" | "vertical" | undefined;
21
+ }) | undefined) => string;
22
+ handleTarget: (props?: ({
23
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
24
+ } & {
25
+ orientation?: "horizontal" | "vertical" | undefined;
26
+ }) | undefined) => string;
27
+ panel: (props?: ({
28
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
29
+ } & {
30
+ orientation?: "horizontal" | "vertical" | undefined;
31
+ }) | undefined) => string;
32
+ };
60
33
  export type SplitterVariants = VariantProps<typeof splitterVariants>;
61
34
  //# sourceMappingURL=splitter.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitter.styles.d.ts","sourceRoot":"","sources":["../../../src/components/splitter/splitter.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgBtD,eAAO,MAAM,gBAAgB;;QAavB,UAAU;YACR,IAAI;YACJ,MAAM;YACN,UAAU;;QAEZ,QAAQ;YACN,IAAI;YACJ,MAAM;YACN,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIhB,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"splitter.styles.d.ts","sourceRoot":"","sources":["../../../src/components/splitter/splitter.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAgB7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -1,24 +1,24 @@
1
- import { tv } from "tailwind-variants";
1
+ import { tv } from "../../tv.js";
2
2
  //#region src/components/splitter/splitter.styles.ts
3
3
  const splitterVariants = tv({
4
4
  defaultVariants: { orientation: "horizontal" },
5
5
  slots: {
6
- base: "splitter",
7
- handle: "splitter__handle",
8
- handleGrip: "splitter__handle-grip",
9
- handleTarget: "splitter__handle-target",
10
- panel: "splitter__panel"
6
+ base: "rp-splitter",
7
+ handle: "rp-splitter__handle",
8
+ handleGrip: "rp-splitter__handle-grip",
9
+ handleTarget: "rp-splitter__handle-target",
10
+ panel: "rp-splitter__panel"
11
11
  },
12
12
  variants: { orientation: {
13
13
  horizontal: {
14
- base: "splitter--horizontal",
15
- handle: "splitter__handle--horizontal",
16
- handleGrip: "splitter__handle-grip--horizontal"
14
+ base: "rp-splitter--horizontal",
15
+ handle: "rp-splitter__handle--horizontal",
16
+ handleGrip: "rp-splitter__handle-grip--horizontal"
17
17
  },
18
18
  vertical: {
19
- base: "splitter--vertical",
20
- handle: "splitter__handle--vertical",
21
- handleGrip: "splitter__handle-grip--vertical"
19
+ base: "rp-splitter--vertical",
20
+ handle: "rp-splitter__handle--vertical",
21
+ handleGrip: "rp-splitter__handle-grip--vertical"
22
22
  }
23
23
  } }
24
24
  });
@@ -3,8 +3,8 @@
3
3
  /*
4
4
  * Orientation is a modifier class rather than a `[data-orientation]` descendant selector, and
5
5
  * that is not a style preference. A splitter nests — a vertical group inside a panel of a
6
- * horizontal one is the ordinary case — so `.splitter[data-orientation="horizontal"]
7
- * .splitter__handle` would reach the inner group's handle as well as its own and lay it out on
6
+ * horizontal one is the ordinary case — so `.rp-splitter[data-orientation="horizontal"]
7
+ * .rp-splitter__handle` would reach the inner group's handle as well as its own and lay it out on
8
8
  * the wrong axis. Every rule below therefore sits on the part it styles.
9
9
  *
10
10
  * The modifier also buys the Storybook forced-colors sweep, which collects `[class*='--']` and a
@@ -12,15 +12,15 @@
12
12
  * anything — the handle and its grip — would never be audited.
13
13
  */
14
14
 
15
- .splitter {
15
+ .rp-splitter {
16
16
  @apply isolate flex h-full w-full;
17
17
  }
18
18
 
19
- .splitter--horizontal {
19
+ .rp-splitter--horizontal {
20
20
  @apply flex-row;
21
21
  }
22
22
 
23
- .splitter--vertical {
23
+ .rp-splitter--vertical {
24
24
  @apply flex-col;
25
25
  }
26
26
 
@@ -31,14 +31,14 @@
31
31
  * `flex-1` is the unmanaged fallback only. The component writes the whole `flex` shorthand inline;
32
32
  * an inline `flex-basis` alone would leave this `flex-grow: 1` in place and the panel would grow
33
33
  * straight back past the size it was given. */
34
- .splitter__panel {
34
+ .rp-splitter__panel {
35
35
  @apply relative min-h-0 min-w-0 flex-1 overflow-hidden;
36
36
  }
37
37
 
38
38
  /* The flex item is the gutter and paints nothing itself. The line you see is `::after`, absolutely
39
39
  * positioned, which is what lets it thicken on hover without the gutter changing width and
40
- * reflowing both panels by a pixel. `.slider__thumb::after` carries its knob the same way. */
41
- .splitter__handle {
40
+ * reflowing both panels by a pixel. `.rp-slider__thumb::after` carries its knob the same way. */
41
+ .rp-splitter__handle {
42
42
  /* The gutter is the line, with nothing either side of it. Dead space inside the gutter shows up
43
43
  * as a gap wherever a nested group's divider meets this one — the panel between them clips its own
44
44
  * contents, so the inner line cannot reach across to close it. `1px` rather than a spacing step,
@@ -111,8 +111,8 @@
111
111
 
112
112
  /* The grip answers to the same states as the line, and is reached as a direct child so a nested
113
113
  * group's own grip is left alone. */
114
- &:hover > .splitter__handle-grip,
115
- &[data-hovered="true"] > .splitter__handle-grip {
114
+ &:hover > .rp-splitter__handle-grip,
115
+ &[data-hovered="true"] > .rp-splitter__handle-grip {
116
116
  background-color: var(--splitter-grip-bg-hover);
117
117
  transition-delay: var(--splitter-highlight-delay);
118
118
  }
@@ -124,7 +124,7 @@
124
124
  transition-delay: 0ms;
125
125
  }
126
126
 
127
- &[data-dragging="true"] > .splitter__handle-grip {
127
+ &[data-dragging="true"] > .rp-splitter__handle-grip {
128
128
  background-color: var(--splitter-grip-bg-dragging);
129
129
  transition-delay: 0ms;
130
130
  }
@@ -135,9 +135,9 @@
135
135
  &:hover::after,
136
136
  &[data-hovered="true"]::after,
137
137
  &[data-dragging="true"]::after,
138
- &:hover > .splitter__handle-grip,
139
- &[data-hovered="true"] > .splitter__handle-grip,
140
- &[data-dragging="true"] > .splitter__handle-grip {
138
+ &:hover > .rp-splitter__handle-grip,
139
+ &[data-hovered="true"] > .rp-splitter__handle-grip,
140
+ &[data-dragging="true"] > .rp-splitter__handle-grip {
141
141
  background-color: Highlight;
142
142
  }
143
143
  }
@@ -153,7 +153,7 @@
153
153
  /* `status-disabled` reaches `color` and `border-color`, and neither the line nor the grip is
154
154
  * either of those. */
155
155
  &::after,
156
- & > .splitter__handle-grip {
156
+ & > .rp-splitter__handle-grip {
157
157
  @media (forced-colors: active) {
158
158
  background-color: GrayText;
159
159
  }
@@ -166,7 +166,7 @@
166
166
  * border: forced colors turns a transparent *border-color* opaque — the trap `slider.css` documents
167
167
  * at both ends of its track — and a bordered target would render as two solid blocks flanking every
168
168
  * divider. `inset` has no such behaviour, so this needs no forced-colors rule of its own. */
169
- .splitter__handle-target {
169
+ .rp-splitter__handle-target {
170
170
  @apply absolute inset-0 bg-transparent;
171
171
  }
172
172
 
@@ -177,7 +177,7 @@
177
177
  *
178
178
  * Sized from custom properties rather than utilities so a theme can retune the pill without
179
179
  * restating both axes in both orientations. */
180
- .splitter__handle-grip {
180
+ .rp-splitter__handle-grip {
181
181
  @apply pointer-events-none absolute rounded-full;
182
182
 
183
183
  background-color: var(--splitter-grip-bg);
@@ -192,18 +192,18 @@
192
192
  @apply motion-reduce:transition-none;
193
193
  }
194
194
 
195
- .splitter__handle-grip--horizontal {
195
+ .rp-splitter__handle-grip--horizontal {
196
196
  inline-size: var(--splitter-grip-thickness);
197
197
  block-size: var(--splitter-grip-length);
198
198
  }
199
199
 
200
- .splitter__handle-grip--vertical {
200
+ .rp-splitter__handle-grip--vertical {
201
201
  inline-size: var(--splitter-grip-length);
202
202
  block-size: var(--splitter-grip-thickness);
203
203
  }
204
204
 
205
205
  /* A horizontal group puts its panels side by side, so the divider is a vertical line. */
206
- .splitter__handle--horizontal {
206
+ .rp-splitter__handle--horizontal {
207
207
  @apply cursor-col-resize;
208
208
 
209
209
  inline-size: var(--splitter-gutter);
@@ -220,13 +220,13 @@
220
220
  inline-size: calc(var(--splitter-gutter) * 2);
221
221
  }
222
222
 
223
- & > .splitter__handle-target {
223
+ & > .rp-splitter__handle-target {
224
224
  inset-inline: calc((var(--splitter-target) - var(--splitter-gutter)) / -2);
225
225
  }
226
226
  }
227
227
 
228
228
  /* A vertical group stacks its panels, so the divider is a horizontal line. */
229
- .splitter__handle--vertical {
229
+ .rp-splitter__handle--vertical {
230
230
  @apply cursor-row-resize;
231
231
 
232
232
  block-size: var(--splitter-gutter);
@@ -243,7 +243,7 @@
243
243
  block-size: calc(var(--splitter-gutter) * 2);
244
244
  }
245
245
 
246
- & > .splitter__handle-target {
246
+ & > .rp-splitter__handle-target {
247
247
  inset-block: calc((var(--splitter-target) - var(--splitter-gutter)) / -2);
248
248
  }
249
249
  }
@@ -1,25 +1,8 @@
1
- import type { VariantProps } from "tailwind-variants";
2
- export declare const surfaceVariants: import("tailwind-variants").TVReturnType<{
3
- variant: {
4
- default: "surface--default";
5
- secondary: "surface--secondary";
6
- tertiary: "surface--tertiary";
7
- transparent: "surface--transparent";
8
- };
9
- }, undefined, "surface", {
10
- variant: {
11
- default: "surface--default";
12
- secondary: "surface--secondary";
13
- tertiary: "surface--tertiary";
14
- transparent: "surface--transparent";
15
- };
16
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
17
- variant: {
18
- default: "surface--default";
19
- secondary: "surface--secondary";
20
- tertiary: "surface--tertiary";
21
- transparent: "surface--transparent";
22
- };
23
- }, undefined>>;
1
+ import type { VariantProps } from "../../tv";
2
+ export declare const surfaceVariants: (props?: ({
3
+ class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
4
+ } & {
5
+ variant?: "default" | "secondary" | "tertiary" | "transparent" | undefined;
6
+ }) | undefined) => string;
24
7
  export type SurfaceVariants = VariantProps<typeof surfaceVariants>;
25
8
  //# sourceMappingURL=surface.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"surface.styles.d.ts","sourceRoot":"","sources":["../../../src/components/surface/surface.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;cAa1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"surface.styles.d.ts","sourceRoot":"","sources":["../../../src/components/surface/surface.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,eAAe;;;;yBAa1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -1,13 +1,13 @@
1
- import { tv } from "tailwind-variants";
1
+ import { tv } from "../../tv.js";
2
2
  //#region src/components/surface/surface.styles.ts
3
3
  const surfaceVariants = tv({
4
- base: "surface",
4
+ base: "rp-surface",
5
5
  defaultVariants: { variant: "default" },
6
6
  variants: { variant: {
7
- default: "surface--default",
8
- secondary: "surface--secondary",
9
- tertiary: "surface--tertiary",
10
- transparent: "surface--transparent"
7
+ default: "rp-surface--default",
8
+ secondary: "rp-surface--secondary",
9
+ tertiary: "rp-surface--tertiary",
10
+ transparent: "rp-surface--transparent"
11
11
  } }
12
12
  });
13
13
  //#endregion
@@ -1,16 +1,16 @@
1
1
  /* Surface component styles */
2
2
 
3
3
  /* Block */
4
- .surface {
4
+ .rp-surface {
5
5
  @apply relative text-foreground;
6
6
  }
7
7
 
8
8
  /* Modifier - variant */
9
- .surface--transparent {
9
+ .rp-surface--transparent {
10
10
  @apply bg-transparent;
11
11
  }
12
12
 
13
- .surface--default {
13
+ .rp-surface--default {
14
14
  @apply bg-surface text-surface-foreground;
15
15
 
16
16
  /* Forced Colors Mode flattens the fill onto the page and strips the shadow, so the container
@@ -22,7 +22,7 @@
22
22
  }
23
23
  }
24
24
 
25
- .surface--secondary {
25
+ .rp-surface--secondary {
26
26
  @apply bg-surface-secondary text-surface-secondary-foreground;
27
27
 
28
28
  /* Forced Colors Mode flattens the fill onto the page and strips the shadow, so the container
@@ -34,7 +34,7 @@
34
34
  }
35
35
  }
36
36
 
37
- .surface--tertiary {
37
+ .rp-surface--tertiary {
38
38
  @apply bg-surface-tertiary text-surface-tertiary-foreground;
39
39
 
40
40
  /* Forced Colors Mode flattens the fill onto the page and strips the shadow, so the container