@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
@@ -13,7 +13,7 @@
13
13
  * so it belongs where a state key belongs and not in the class list.
14
14
  */
15
15
 
16
- .sidebar {
16
+ .rp-sidebar {
17
17
  /* The two widths the panel resolves between. Held on the shell rather than the panel so a caller
18
18
  * retunes both from one place, and so a drag can write the expanded one to the same property the
19
19
  * stylesheet reads. */
@@ -45,11 +45,11 @@
45
45
  /* Reversing the row rather than reordering the parts: the shell's children are written panel,
46
46
  * rail, inset in that order whichever side the sidebar is on, so the rail stays between the two
47
47
  * either way and a caller's markup does not change with the prop. */
48
- .sidebar--left {
48
+ .rp-sidebar--left {
49
49
  @apply flex-row;
50
50
  }
51
51
 
52
- .sidebar--right {
52
+ .rp-sidebar--right {
53
53
  @apply flex-row-reverse;
54
54
  }
55
55
 
@@ -57,10 +57,10 @@
57
57
  Panel — the nav landmark
58
58
  ========================================================================== */
59
59
 
60
- /* `min-h-0` for the same reason `.splitter__panel` has it: a flex item's automatic minimum is its
60
+ /* `min-h-0` for the same reason `.rp-splitter__panel` has it: a flex item's automatic minimum is its
61
61
  * content, so a long nav list would push the panel past the viewport instead of scrolling inside
62
- * `.sidebar__content`. */
63
- .sidebar__panel {
62
+ * `.rp-sidebar__content`. */
63
+ .rp-sidebar__panel {
64
64
  @apply relative flex min-h-0 shrink-0 grow-0 flex-col overflow-hidden bg-surface text-surface-foreground;
65
65
 
66
66
  inline-size: var(--sidebar-width);
@@ -72,24 +72,30 @@
72
72
  /* Under the pointer the panel follows it exactly. Easing towards each frame's width instead makes
73
73
  * the edge lag the cursor by the whole duration, which reads as the panel chasing the drag rather
74
74
  * than being dragged. */
75
- .sidebar__panel[data-resizing="true"] {
75
+ .rp-sidebar__panel[data-resizing="true"] {
76
+ transition: none;
77
+ }
78
+
79
+ /* And while a stored layout is being put back: that width is where the sidebar starts, not
80
+ * somewhere it moved to. */
81
+ .rp-sidebar__panel[data-restoring="true"] {
76
82
  transition: none;
77
83
  }
78
84
 
79
85
  /* The separating line is a border rather than a background, so it is one of the few things Forced
80
86
  * Colors Mode recolours instead of flattening — no restatement needed here. */
81
- .sidebar__panel--left {
87
+ .rp-sidebar__panel--left {
82
88
  @apply border-e border-separator/50;
83
89
  }
84
90
 
85
- .sidebar__panel--right {
91
+ .rp-sidebar__panel--right {
86
92
  @apply border-s border-separator/50;
87
93
  }
88
94
 
89
95
  /* Neither fill nor line: the panel has stopped being a surface, and the inset beside it is the one
90
96
  * that paints. After the side modifiers, whose border this has to beat at equal specificity, and
91
97
  * before `--drawer`, which stays last for the reason given there. */
92
- .sidebar__panel--bare {
98
+ .rp-sidebar__panel--bare {
93
99
  @apply border-0 bg-transparent;
94
100
  }
95
101
 
@@ -100,7 +106,7 @@
100
106
  * The margin is what the rail then sits in, and that gap is already dividing the two, which is why
101
107
  * this variant quiets the line: a hairline inside it would be a second answer to the same question.
102
108
  */
103
- .sidebar__panel--floating {
109
+ .rp-sidebar__panel--floating {
104
110
  @apply border border-separator/50 shadow-surface;
105
111
 
106
112
  margin: var(--sidebar-card-gap);
@@ -109,7 +115,7 @@
109
115
 
110
116
  /* Collapsing to icons is the default, so the width it collapses to lives on the mode that has one
111
117
  * and `--none` is the empty rule. */
112
- .sidebar__panel--icon[data-collapsed="true"] {
118
+ .rp-sidebar__panel--icon[data-collapsed="true"] {
113
119
  inline-size: var(--sidebar-width-icon);
114
120
  }
115
121
 
@@ -120,7 +126,7 @@
120
126
  * border paints no background either way. Saying so is what keeps the Storybook forced-colors
121
127
  * sweep honest — it reads this panel as one that painted a surface and then lost it to the mode,
122
128
  * where in truth there was never anything on screen to lose. */
123
- .sidebar__panel--offcanvas[data-collapsed="true"] {
129
+ .rp-sidebar__panel--offcanvas[data-collapsed="true"] {
124
130
  @apply border-0 bg-transparent;
125
131
 
126
132
  inline-size: 0;
@@ -129,7 +135,7 @@
129
135
  margin: 0;
130
136
  }
131
137
 
132
- .sidebar__panel--none {
138
+ .rp-sidebar__panel--none {
133
139
  }
134
140
 
135
141
  /* Inside a drawer the panel is no longer the surface — the dialog is, and it paints, sizes and
@@ -138,7 +144,7 @@
138
144
  * shape, and a card inset within it would be a second one drawn inside the first.
139
145
  * Last of the panel's modifiers, so it beats the widths and the card geometry above at equal
140
146
  * specificity. */
141
- .sidebar__panel--drawer {
147
+ .rp-sidebar__panel--drawer {
142
148
  @apply size-full border-0 bg-transparent;
143
149
 
144
150
  inline-size: auto;
@@ -151,7 +157,7 @@
151
157
  Header, content, footer
152
158
  ========================================================================== */
153
159
 
154
- .sidebar__header {
160
+ .rp-sidebar__header {
155
161
  @apply flex shrink-0 flex-col gap-2 p-2;
156
162
  }
157
163
 
@@ -162,16 +168,16 @@
162
168
  * the nearest edge, which is exactly where the fade is, so a keyboard user tabbing down the nav
163
169
  * would land on item after item with its focus ring faded out. The padding moves that landing
164
170
  * point clear of the fade. Sized from the same property the fade is, so retuning one moves both. */
165
- .sidebar__content {
171
+ .rp-sidebar__content {
166
172
  @apply flex min-h-0 flex-1 flex-col gap-1 overflow-x-hidden overflow-y-auto p-2;
167
173
 
168
174
  scroll-padding-block: var(--scroll-shadow-size, 0px);
169
175
  }
170
176
 
171
177
  /* Two classes to beat one: `scroll-shadow.css` is imported under Layout, long after this file under
172
- * Navigation, so `.scroll-shadow--vertical`'s `scrollbar` wins at equal specificity and the nav
178
+ * Navigation, so `.rp-scroll-shadow--vertical`'s `scrollbar` wins at equal specificity and the nav
173
179
  * would grow a full-width scrollbar the moment it became a shadow container. */
174
- .sidebar__content.scroll-shadow {
180
+ .rp-sidebar__content.rp-scroll-shadow {
175
181
  @apply scrollbar-thin;
176
182
 
177
183
  /* The fade is a `mask-image` over the rows, which in Forced Colors Mode means system-coloured
@@ -184,7 +190,7 @@
184
190
  }
185
191
  }
186
192
 
187
- .sidebar__footer {
193
+ .rp-sidebar__footer {
188
194
  @apply flex shrink-0 flex-col gap-2 p-2;
189
195
  }
190
196
 
@@ -192,19 +198,19 @@
192
198
  Groups
193
199
  ========================================================================== */
194
200
 
195
- .sidebar__group {
201
+ .rp-sidebar__group {
196
202
  @apply flex w-full min-w-0 flex-col gap-0.5;
197
203
  }
198
204
 
199
- /* Matches `.header`, which is the same muted label above the same kind of list. */
200
- .sidebar__group-label {
205
+ /* Matches `.rp-header`, which is the same muted label above the same kind of list. */
206
+ .rp-sidebar__group-label {
201
207
  @apply w-full truncate px-2 pt-1.5 pb-1 text-start text-xs font-medium text-muted;
202
208
  }
203
209
 
204
210
  /* `sr-only` rather than `hidden`: the label is what tells a screen reader which group an item
205
211
  * belongs to, and a collapsed sidebar is still being read. Taking it out of flow also takes it out
206
212
  * of the group's `gap`, so the icons close up rather than leaving a hole where the label was. */
207
- .sidebar__group-label[data-collapsed="true"] {
213
+ .rp-sidebar__group-label[data-collapsed="true"] {
208
214
  @apply sr-only;
209
215
  }
210
216
 
@@ -213,7 +219,7 @@
213
219
  * tailwind-merge cannot help either, because the width lives inside a BEM rule rather than in the
214
220
  * class string. It needs no taking back: the rule runs the width of the content's padding box,
215
221
  * which is exactly the box every item beside it already fills. */
216
- .sidebar__separator {
222
+ .rp-sidebar__separator {
217
223
  @apply my-1;
218
224
  }
219
225
 
@@ -221,7 +227,7 @@
221
227
  Nav item
222
228
  ========================================================================== */
223
229
 
224
- .sidebar__item {
230
+ .rp-sidebar__item {
225
231
  @apply relative flex min-h-9 w-full min-w-0 items-center justify-start gap-2 rounded-component px-2 text-sm font-medium no-underline outline-none no-highlight;
226
232
 
227
233
  /* The row's fill and label, per state. A caller retuning the resting pair used to flatten the
@@ -286,7 +292,7 @@
286
292
  }
287
293
  }
288
294
 
289
- .sidebar__item-icon {
295
+ .rp-sidebar__item-icon {
290
296
  @apply flex size-4 shrink-0 items-center justify-center;
291
297
 
292
298
  svg {
@@ -294,28 +300,28 @@
294
300
  }
295
301
  }
296
302
 
297
- .sidebar__item-label {
303
+ .rp-sidebar__item-label {
298
304
  @apply min-w-0 flex-1 truncate text-start;
299
305
  }
300
306
 
301
307
  /* Hidden the same way the group label is, and for the same reason — this *is* the item's
302
308
  * accessible name. */
303
- .sidebar__item-label[data-collapsed="true"] {
309
+ .rp-sidebar__item-label[data-collapsed="true"] {
304
310
  @apply sr-only;
305
311
  }
306
312
 
307
- .sidebar__item-trailing {
313
+ .rp-sidebar__item-trailing {
308
314
  @apply flex shrink-0 items-center;
309
315
  }
310
316
 
311
- .sidebar__item-trailing[data-collapsed="true"] {
317
+ .rp-sidebar__item-trailing[data-collapsed="true"] {
312
318
  @apply hidden;
313
319
  }
314
320
 
315
321
  /* The tooltip's own trigger is `inline-block`, and inside the nav's column that would shrink the
316
322
  * item it wraps down to its contents. An item is a full-width row and has to stay one whether or
317
323
  * not it has a tooltip hanging off it. */
318
- .sidebar__item-tooltip {
324
+ .rp-sidebar__item-tooltip {
319
325
  @apply block w-full;
320
326
  }
321
327
 
@@ -330,7 +336,7 @@
330
336
  * open or shut; this one sits at the end of a nav row and has a direction to mean, so the shut
331
337
  * state points the way the rows will come from. `rtl` turns it the other way for the same reason
332
338
  * it is `ms-auto` and not `ml-auto`. */
333
- .sidebar__item-indicator {
339
+ .rp-sidebar__item-indicator {
334
340
  @apply ms-auto size-3.5 shrink-0 -rotate-90 text-muted rtl:rotate-90;
335
341
 
336
342
  /**
@@ -345,14 +351,14 @@
345
351
 
346
352
  /* Nothing left to point at once the sidebar is a rail: the children are not rendered there at all,
347
353
  * and a chevron promising something that never opens is worse than no chevron. */
348
- .sidebar__item-indicator[data-collapsed="true"] {
354
+ .rp-sidebar__item-indicator[data-collapsed="true"] {
349
355
  @apply hidden;
350
356
  }
351
357
 
352
358
  /* The rows under a nav item, indented and gathered by a line down the gutter they share. One border
353
359
  * on the container rather than one per row, so the line runs unbroken from the first child to the
354
360
  * last however many there are. */
355
- .sidebar__sub-menu {
361
+ .rp-sidebar__sub-menu {
356
362
  /* The row's own inline padding plus half its icon, which lands the line on the icon's centre.
357
363
  * Written from those two rather than as the number they come to, so retuning either moves the
358
364
  * line with it instead of leaving it a few pixels off. */
@@ -380,7 +386,7 @@
380
386
  * and `height: var(--disclosure-panel-height)` with nothing behind it would leave the rows sitting
381
387
  * under an `opacity: 0` that never lifts.
382
388
  */
383
- .sidebar__sub-menu--collapsible {
389
+ .rp-sidebar__sub-menu--collapsible {
384
390
  opacity: 0;
385
391
  height: var(--disclosure-panel-height);
386
392
  overflow: clip;
@@ -398,7 +404,7 @@
398
404
 
399
405
  /* A child row carries no icon, so it gives up the gap that was holding one and drops to the weight
400
406
  * of what it is — a destination under a heading rather than another heading. */
401
- .sidebar__item--sub {
407
+ .rp-sidebar__item--sub {
402
408
  @apply gap-0 font-normal;
403
409
  }
404
410
 
@@ -406,9 +412,9 @@
406
412
  Inset — the content beside the sidebar
407
413
  ========================================================================== */
408
414
 
409
- /* `min-w-0` for the reason `.splitter__panel` documents: without it a wide table inside the inset
415
+ /* `min-w-0` for the reason `.rp-splitter__panel` documents: without it a wide table inside the inset
410
416
  * sets a floor under the whole shell and the sidebar can never be given its width back. */
411
- .sidebar__inset {
417
+ .rp-sidebar__inset {
412
418
  @apply relative flex min-w-0 flex-1 flex-col overflow-hidden bg-background;
413
419
  }
414
420
 
@@ -421,7 +427,7 @@
421
427
  * flattens onto the page behind it and the shadow goes, leaving the contents sitting loose — so it
422
428
  * takes the same inset outline every container that paints takes, offset inwards so nothing moves
423
429
  * and the radius above still holds it. */
424
- .sidebar__inset--card {
430
+ .rp-sidebar__inset--card {
425
431
  @apply bg-surface text-surface-foreground shadow-surface;
426
432
 
427
433
  margin: var(--sidebar-card-gap);
@@ -437,10 +443,10 @@
437
443
  Rail — the edge strip
438
444
  ========================================================================== */
439
445
 
440
- /* Built like `.splitter__handle`, down to the `::after`: the flex item is the gutter and paints
446
+ /* Built like `.rp-splitter__handle`, down to the `::after`: the flex item is the gutter and paints
441
447
  * nothing, so the line can thicken on hover without the gutter changing width and shifting the
442
448
  * whole page by a pixel. */
443
- .sidebar__rail {
449
+ .rp-sidebar__rail {
444
450
  @apply relative z-10 flex shrink-0 grow-0 items-center justify-center self-stretch;
445
451
  @apply bg-transparent outline-none select-none no-highlight;
446
452
 
@@ -522,15 +528,15 @@
522
528
 
523
529
  /* Only a rail that resizes says so with the cursor. One that merely toggles is a button, and
524
530
  * `--cursor-interactive` on the base rule already covers it. */
525
- .sidebar__rail--resizable {
531
+ .rp-sidebar__rail--resizable {
526
532
  @apply cursor-col-resize;
527
533
  }
528
534
 
529
535
  /* Nothing left for the line to divide once something else is drawing that division — a card's own
530
536
  * edge, or the gap it stands in — so it goes quiet in every state.
531
537
  *
532
- * Re-pointing the properties rather than restating the state rules, the shape `.input--secondary`
533
- * takes: a `background-color` here would lose to `.sidebar__rail:hover::after` on specificity, and
538
+ * Re-pointing the properties rather than restating the state rules, the shape `.rp-input--secondary`
539
+ * takes: a `background-color` here would lose to `.rp-sidebar__rail:hover::after` on specificity, and
534
540
  * restating that set drifts the day a state is added to it.
535
541
  *
536
542
  * All three, and the third is not redundant. `--sidebar-rail-line-dragging` is declared on the
@@ -540,7 +546,7 @@
540
546
  *
541
547
  * The line comes back under Forced Colors Mode, on purpose: those blocks paint system keywords,
542
548
  * which are not a component's to quiet. */
543
- .sidebar__rail--quiet {
549
+ .rp-sidebar__rail--quiet {
544
550
  --sidebar-rail-line: transparent;
545
551
  --sidebar-rail-line-hover: transparent;
546
552
  --sidebar-rail-line-dragging: transparent;
@@ -549,7 +555,7 @@
549
555
  /* The invisible hit area, overhanging the hairline on both sides. A negative `inset` rather than a
550
556
  * transparent border, because Forced Colors Mode turns a transparent border-color opaque and every
551
557
  * rail would render as a solid block. */
552
- .sidebar__rail-target {
558
+ .rp-sidebar__rail-target {
553
559
  @apply absolute inset-0 bg-transparent;
554
560
 
555
561
  inset-inline: calc((var(--sidebar-rail-target) - var(--sidebar-rail-gutter)) / -2);
@@ -559,7 +565,7 @@
559
565
  Trigger
560
566
  ========================================================================== */
561
567
 
562
- .sidebar__trigger {
568
+ .rp-sidebar__trigger {
563
569
  @apply inline-flex size-8 shrink-0 items-center justify-center rounded-component outline-none select-none no-highlight;
564
570
 
565
571
  --sidebar-trigger-bg: transparent;
@@ -1,28 +1,14 @@
1
- import type { VariantProps } from "tailwind-variants";
2
- export declare const skeletonVariants: import("tailwind-variants").TVReturnType<{
3
- animationType: {
4
- none: "skeleton--none";
5
- pulse: "skeleton--pulse";
6
- shimmer: "skeleton--shimmer";
7
- };
8
- }, {
9
- base: string;
10
- }, undefined, {
11
- animationType: {
12
- none: "skeleton--none";
13
- pulse: "skeleton--pulse";
14
- shimmer: "skeleton--shimmer";
15
- };
16
- }, {
17
- base: string;
18
- }, import("tailwind-variants").TVReturnTypeLike<{
19
- animationType: {
20
- none: "skeleton--none";
21
- pulse: "skeleton--pulse";
22
- shimmer: "skeleton--shimmer";
23
- };
24
- }, {
25
- base: string;
26
- }>>;
1
+ import type { VariantProps } from "../../tv";
2
+ export declare const skeletonVariants: (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
+ animationType?: "none" | "pulse" | "shimmer" | 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
+ animationType?: "none" | "pulse" | "shimmer" | undefined;
11
+ }) | undefined) => string;
12
+ };
27
13
  export type SkeletonVariants = VariantProps<typeof skeletonVariants>;
28
14
  //# sourceMappingURL=skeleton.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;GAc3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"skeleton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,gBAAgB;;;;;;;;;;CAc3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -1,12 +1,12 @@
1
- import { tv } from "tailwind-variants";
1
+ import { tv } from "../../tv.js";
2
2
  //#region src/components/skeleton/skeleton.styles.ts
3
3
  const skeletonVariants = tv({
4
4
  defaultVariants: { animationType: "shimmer" },
5
- slots: { base: "skeleton" },
5
+ slots: { base: "rp-skeleton" },
6
6
  variants: { animationType: {
7
- none: "skeleton--none",
8
- pulse: "skeleton--pulse",
9
- shimmer: "skeleton--shimmer"
7
+ none: "rp-skeleton--none",
8
+ pulse: "rp-skeleton--pulse",
9
+ shimmer: "rp-skeleton--shimmer"
10
10
  } }
11
11
  });
12
12
  //#endregion
@@ -1,4 +1,4 @@
1
- .skeleton {
1
+ .rp-skeleton {
2
2
  @apply pointer-events-none relative overflow-hidden rounded-sm bg-surface-tertiary/70;
3
3
 
4
4
  /* Forced Colors Mode flattens the fill to `Canvas` - the same colour as the page behind it -
@@ -14,13 +14,13 @@
14
14
  /* TODO: Skeleton with parent are not visible */
15
15
 
16
16
  /* Animation types */
17
- .skeleton--shimmer {
17
+ .rp-skeleton--shimmer {
18
18
  &::after {
19
19
  @apply absolute inset-0 -translate-x-full animate-skeleton bg-linear-to-r from-transparent via-surface-tertiary to-transparent content-[''];
20
20
  }
21
21
 
22
22
  /* When applied to a parent container with multiple skeletons */
23
- &:has(.skeleton) {
23
+ &:has(.rp-skeleton) {
24
24
  &::after {
25
25
  content: none;
26
26
  }
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  /* Ensure children don't have their own shimmer */
44
- & .skeleton {
44
+ & .rp-skeleton {
45
45
  &::after {
46
46
  content: none;
47
47
  }
@@ -49,9 +49,9 @@
49
49
  }
50
50
  }
51
51
 
52
- .skeleton--pulse {
52
+ .rp-skeleton--pulse {
53
53
  @apply animate-pulse;
54
54
  }
55
55
 
56
- .skeleton--none {
56
+ .rp-skeleton--none {
57
57
  }
@@ -1,58 +1,25 @@
1
- import type { VariantProps } from "tailwind-variants";
2
- export declare const sliderVariants: import("tailwind-variants").TVReturnType<{
3
- [key: string]: {
4
- [key: string]: {
5
- base?: import("tailwind-variants").ClassValue;
6
- fill?: import("tailwind-variants").ClassValue;
7
- marks?: import("tailwind-variants").ClassValue;
8
- output?: import("tailwind-variants").ClassValue;
9
- thumb?: import("tailwind-variants").ClassValue;
10
- track?: import("tailwind-variants").ClassValue;
11
- } | import("tailwind-variants").ClassValue;
12
- };
13
- } | {
14
- [x: string]: {
15
- [x: string]: {
16
- base?: import("tailwind-variants").ClassValue;
17
- fill?: import("tailwind-variants").ClassValue;
18
- marks?: import("tailwind-variants").ClassValue;
19
- output?: import("tailwind-variants").ClassValue;
20
- thumb?: import("tailwind-variants").ClassValue;
21
- track?: import("tailwind-variants").ClassValue;
22
- } | import("tailwind-variants").ClassValue;
23
- };
24
- } | {}, {
25
- base: string;
26
- fill: string;
27
- marks: string;
28
- output: string;
29
- thumb: string;
30
- track: string;
31
- }, undefined, {
32
- [key: string]: {
33
- [key: string]: {
34
- base?: import("tailwind-variants").ClassValue;
35
- fill?: import("tailwind-variants").ClassValue;
36
- marks?: import("tailwind-variants").ClassValue;
37
- output?: import("tailwind-variants").ClassValue;
38
- thumb?: import("tailwind-variants").ClassValue;
39
- track?: import("tailwind-variants").ClassValue;
40
- } | import("tailwind-variants").ClassValue;
41
- };
42
- } | {}, {
43
- base: string;
44
- fill: string;
45
- marks: string;
46
- output: string;
47
- thumb: string;
48
- track: string;
49
- }, import("tailwind-variants").TVReturnTypeLike<unknown, {
50
- base: string;
51
- fill: string;
52
- marks: string;
53
- output: string;
54
- thumb: string;
55
- track: string;
56
- }>>;
1
+ import type { VariantProps } from "../../tv";
2
+ export declare const sliderVariants: (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
+ } & object) | undefined) => {
5
+ base: (props?: ({
6
+ 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;
7
+ } & object) | undefined) => string;
8
+ fill: (props?: ({
9
+ 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;
10
+ } & object) | undefined) => string;
11
+ marks: (props?: ({
12
+ 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;
13
+ } & object) | undefined) => string;
14
+ output: (props?: ({
15
+ 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;
16
+ } & object) | undefined) => string;
17
+ thumb: (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
+ } & object) | undefined) => string;
20
+ track: (props?: ({
21
+ 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;
22
+ } & object) | undefined) => string;
23
+ };
57
24
  export type SliderVariants = VariantProps<typeof sliderVariants>;
58
25
  //# sourceMappingURL=slider.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.styles.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"slider.styles.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CASzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -1,12 +1,12 @@
1
- import { tv } from "tailwind-variants";
1
+ import { tv } from "../../tv.js";
2
2
  //#region src/components/slider/slider.styles.ts
3
3
  const sliderVariants = tv({ slots: {
4
- base: "slider",
5
- fill: "slider__fill",
6
- marks: "slider__marks",
7
- output: "slider__output",
8
- thumb: "slider__thumb",
9
- track: "slider__track"
4
+ base: "rp-slider",
5
+ fill: "rp-slider__fill",
6
+ marks: "rp-slider__marks",
7
+ output: "rp-slider__output",
8
+ thumb: "rp-slider__thumb",
9
+ track: "rp-slider__track"
10
10
  } });
11
11
  //#endregion
12
12
  export { sliderVariants };