erp-pro-ui 0.1.8 → 0.2.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 (309) hide show
  1. package/README.md +94 -0
  2. package/dist/ascii-text.cjs +1 -1
  3. package/dist/ascii-text.mjs +1 -1
  4. package/dist/background-gradient-animation.cjs +1 -1
  5. package/dist/background-gradient-animation.mjs +1 -1
  6. package/dist/button-hover-border-gradient.cjs +1 -1
  7. package/dist/button-hover-border-gradient.mjs +1 -1
  8. package/dist/button.cjs +1 -1
  9. package/dist/button.mjs +1 -1
  10. package/dist/calendar.cjs +1 -1
  11. package/dist/calendar.mjs +1 -1
  12. package/dist/carousel.cjs +1 -1
  13. package/dist/carousel.mjs +1 -1
  14. package/dist/charts.cjs +1 -1
  15. package/dist/charts.mjs +1 -1
  16. package/dist/chip.cjs +1 -1
  17. package/dist/chip.mjs +1 -1
  18. package/dist/chroma-grid.cjs +1 -1
  19. package/dist/chroma-grid.mjs +1 -1
  20. package/dist/chunks/{DropdownMenu-DOvo5pV_.cjs → DropdownMenu-BDrNYO-D.cjs} +6 -5
  21. package/dist/chunks/DropdownMenu-BDrNYO-D.cjs.map +1 -0
  22. package/dist/chunks/{DropdownMenu-C17Zqu_E.mjs → DropdownMenu-BtTOri-A.mjs} +6 -5
  23. package/dist/chunks/DropdownMenu-BtTOri-A.mjs.map +1 -0
  24. package/dist/chunks/{HoverBorderGradient-C5D6lGg0.cjs → HoverBorderGradient-9pfvBoHR.cjs} +2 -2
  25. package/dist/chunks/{HoverBorderGradient-C5D6lGg0.cjs.map → HoverBorderGradient-9pfvBoHR.cjs.map} +1 -1
  26. package/dist/chunks/{HoverBorderGradient-CduqqQgX.mjs → HoverBorderGradient-NbdXeLgC.mjs} +2 -2
  27. package/dist/chunks/{HoverBorderGradient-CduqqQgX.mjs.map → HoverBorderGradient-NbdXeLgC.mjs.map} +1 -1
  28. package/dist/chunks/SunToMoonButton-BkEfkElJ.mjs.map +1 -1
  29. package/dist/chunks/SunToMoonButton-jS4BJD9q.cjs.map +1 -1
  30. package/dist/chunks/{tooltip-PJaQa8_l.cjs → Tooltip-DD30yj3A.cjs} +1 -1
  31. package/dist/chunks/{tooltip-PJaQa8_l.cjs.map → Tooltip-DD30yj3A.cjs.map} +1 -1
  32. package/dist/chunks/{tooltip-CmB8xKOF.mjs → Tooltip-DK3B879v.mjs} +1 -1
  33. package/dist/chunks/{tooltip-CmB8xKOF.mjs.map → Tooltip-DK3B879v.mjs.map} +1 -1
  34. package/dist/chunks/animated-content-CLsFnjgr.cjs.map +1 -1
  35. package/dist/chunks/animated-content-bK6xp-vc.mjs.map +1 -1
  36. package/dist/chunks/{ascii-text-OnPOTd2I.cjs → ascii-text-BFnpVur6.cjs} +5 -3
  37. package/dist/chunks/{ascii-text-OnPOTd2I.cjs.map → ascii-text-BFnpVur6.cjs.map} +1 -1
  38. package/dist/chunks/{ascii-text-OBwVLFDC.mjs → ascii-text-Bdy4C5rU.mjs} +5 -3
  39. package/dist/chunks/{ascii-text-OBwVLFDC.mjs.map → ascii-text-Bdy4C5rU.mjs.map} +1 -1
  40. package/dist/chunks/{background-gradient-animation-DpKJ3ecq.mjs → background-gradient-animation-BR9wx6Z8.mjs} +2 -2
  41. package/dist/chunks/{background-gradient-animation-DpKJ3ecq.mjs.map → background-gradient-animation-BR9wx6Z8.mjs.map} +1 -1
  42. package/dist/chunks/{background-gradient-animation-II9hdrgB.cjs → background-gradient-animation-CiNdmA61.cjs} +2 -2
  43. package/dist/chunks/{background-gradient-animation-II9hdrgB.cjs.map → background-gradient-animation-CiNdmA61.cjs.map} +1 -1
  44. package/dist/chunks/{button-DddUhuR-.mjs → button-A6UTvrOu.mjs} +2 -2
  45. package/dist/chunks/{button-DddUhuR-.mjs.map → button-A6UTvrOu.mjs.map} +1 -1
  46. package/dist/chunks/{button-xqernofO.cjs → button-C4MXPxsC.cjs} +2 -2
  47. package/dist/chunks/{button-xqernofO.cjs.map → button-C4MXPxsC.cjs.map} +1 -1
  48. package/dist/chunks/{button-hover-border-gradient-DFppVRI4.mjs → button-hover-border-gradient-DnFvjNNw.mjs} +2 -2
  49. package/dist/chunks/{button-hover-border-gradient-DFppVRI4.mjs.map → button-hover-border-gradient-DnFvjNNw.mjs.map} +1 -1
  50. package/dist/chunks/{button-hover-border-gradient-DX2lBG5C.cjs → button-hover-border-gradient-ssmwU5-U.cjs} +2 -2
  51. package/dist/chunks/{button-hover-border-gradient-DX2lBG5C.cjs.map → button-hover-border-gradient-ssmwU5-U.cjs.map} +1 -1
  52. package/dist/chunks/{calendar-BOBm3dFA.mjs → calendar-5XzPqKbE.mjs} +4 -4
  53. package/dist/chunks/calendar-5XzPqKbE.mjs.map +1 -0
  54. package/dist/chunks/{calendar-DJkfDhQA.cjs → calendar-CQJgQ5H_.cjs} +4 -4
  55. package/dist/chunks/calendar-CQJgQ5H_.cjs.map +1 -0
  56. package/dist/chunks/{carousel-F4drTOr6.cjs → carousel-Cv0m1Pp5.cjs} +2 -2
  57. package/dist/chunks/{carousel-DUqOaYvs.mjs.map → carousel-Cv0m1Pp5.cjs.map} +1 -1
  58. package/dist/chunks/{carousel-DUqOaYvs.mjs → carousel-Dd4rp-jr.mjs} +2 -2
  59. package/dist/chunks/{carousel-F4drTOr6.cjs.map → carousel-Dd4rp-jr.mjs.map} +1 -1
  60. package/dist/chunks/{charts-CZEYcr6X.cjs → charts-BmIV-mJy.cjs} +41 -10
  61. package/dist/chunks/charts-BmIV-mJy.cjs.map +1 -0
  62. package/dist/chunks/{charts-C-Qee_JY.mjs → charts-DkVu0rFc.mjs} +41 -10
  63. package/dist/chunks/charts-DkVu0rFc.mjs.map +1 -0
  64. package/dist/chunks/{chip-CMs73sc5.cjs → chip-B0YzBwkz.cjs} +10 -7
  65. package/dist/chunks/chip-B0YzBwkz.cjs.map +1 -0
  66. package/dist/chunks/{chip-BFg3DJx6.mjs → chip-CqcdcSs2.mjs} +10 -7
  67. package/dist/chunks/chip-CqcdcSs2.mjs.map +1 -0
  68. package/dist/chunks/{chroma-grid-tJX7CzCS.cjs → chroma-grid-DcZ9f4Ui.cjs} +2 -2
  69. package/dist/chunks/{chroma-grid-tJX7CzCS.cjs.map → chroma-grid-DcZ9f4Ui.cjs.map} +1 -1
  70. package/dist/chunks/{chroma-grid-DlY9hIRI.mjs → chroma-grid-opB2DBtS.mjs} +2 -2
  71. package/dist/chunks/{chroma-grid-DlY9hIRI.mjs.map → chroma-grid-opB2DBtS.mjs.map} +1 -1
  72. package/dist/chunks/color-palette-C3lesasJ.mjs +329 -0
  73. package/dist/chunks/color-palette-C3lesasJ.mjs.map +1 -0
  74. package/dist/chunks/color-palette-pLh6En3n.cjs +384 -0
  75. package/dist/chunks/color-palette-pLh6En3n.cjs.map +1 -0
  76. package/dist/chunks/{combobox-Bcwi33Qx.mjs → combobox-B6yk5U82.mjs} +6 -6
  77. package/dist/chunks/combobox-B6yk5U82.mjs.map +1 -0
  78. package/dist/chunks/{combobox-DRiHHhXL.cjs → combobox-CtNrGmuR.cjs} +6 -6
  79. package/dist/chunks/combobox-CtNrGmuR.cjs.map +1 -0
  80. package/dist/chunks/{data-table-Biom5rvs.mjs → data-table-Dtf6lKpp.mjs} +19 -19
  81. package/dist/chunks/data-table-Dtf6lKpp.mjs.map +1 -0
  82. package/dist/chunks/{data-table-D0BD2sFz.cjs → data-table-fAEuevPn.cjs} +20 -20
  83. package/dist/chunks/data-table-fAEuevPn.cjs.map +1 -0
  84. package/dist/chunks/{date-picker-CXGwnrLr.mjs → date-picker-BmQ0rgwH.mjs} +2 -2
  85. package/dist/chunks/{date-picker-CXGwnrLr.mjs.map → date-picker-BmQ0rgwH.mjs.map} +1 -1
  86. package/dist/chunks/{date-picker-Cw_tZGuk.cjs → date-picker-qpUZMtZC.cjs} +2 -2
  87. package/dist/chunks/{date-picker-Cw_tZGuk.cjs.map → date-picker-qpUZMtZC.cjs.map} +1 -1
  88. package/dist/chunks/dialog-CanVyiAD.mjs.map +1 -1
  89. package/dist/chunks/dialog-fffx1-4D.cjs.map +1 -1
  90. package/dist/chunks/{drawer-DTRnKChF.cjs → drawer-D07dGN6R.cjs} +6 -6
  91. package/dist/chunks/drawer-D07dGN6R.cjs.map +1 -0
  92. package/dist/chunks/{drawer-BJsBK6cP.mjs → drawer-DaoAXL-w.mjs} +6 -6
  93. package/dist/chunks/drawer-DaoAXL-w.mjs.map +1 -0
  94. package/dist/chunks/{form-CvNNjA1i.mjs → form-CtZ6U-_B.mjs} +2 -2
  95. package/dist/chunks/{form-CvNNjA1i.mjs.map → form-CtZ6U-_B.mjs.map} +1 -1
  96. package/dist/chunks/{form-C_JxqsSZ.cjs → form-X6Vyaavl.cjs} +2 -2
  97. package/dist/chunks/{form-C_JxqsSZ.cjs.map → form-X6Vyaavl.cjs.map} +1 -1
  98. package/dist/chunks/{gradual-blur-BB-8oKX6.cjs → gradual-blur-C6NOnjTw.cjs} +2 -2
  99. package/dist/chunks/{gradual-blur-BB-8oKX6.cjs.map → gradual-blur-C6NOnjTw.cjs.map} +1 -1
  100. package/dist/chunks/{gradual-blur-BR06yO3Y.mjs → gradual-blur-DXfxpCdB.mjs} +2 -2
  101. package/dist/chunks/{gradual-blur-BR06yO3Y.mjs.map → gradual-blur-DXfxpCdB.mjs.map} +1 -1
  102. package/dist/chunks/{input-Dox16Ozo.mjs → input-Bqo9Q5zF.mjs} +34 -13
  103. package/dist/chunks/input-Bqo9Q5zF.mjs.map +1 -0
  104. package/dist/chunks/{input-T4OlFhBc.cjs → input-DkCPyWXi.cjs} +34 -13
  105. package/dist/chunks/input-DkCPyWXi.cjs.map +1 -0
  106. package/dist/chunks/{label-CxmbGh0l.cjs → label-BKzqfAAq.cjs} +2 -2
  107. package/dist/chunks/{label-CxmbGh0l.cjs.map → label-BKzqfAAq.cjs.map} +1 -1
  108. package/dist/chunks/{label-C1Ekt3j2.mjs → label-Drxg0cG2.mjs} +2 -2
  109. package/dist/chunks/{label-C1Ekt3j2.mjs.map → label-Drxg0cG2.mjs.map} +1 -1
  110. package/dist/chunks/loading-BiM4mKh6.cjs.map +1 -1
  111. package/dist/chunks/loading-Dtosnb4A.mjs.map +1 -1
  112. package/dist/chunks/{multi-select-combobox-BzqYLVpV.cjs → multi-select-combobox-C0DoDzxQ.cjs} +6 -6
  113. package/dist/chunks/multi-select-combobox-C0DoDzxQ.cjs.map +1 -0
  114. package/dist/chunks/{multi-select-combobox-BrFtvCrS.mjs → multi-select-combobox-Do23ZfOQ.mjs} +6 -6
  115. package/dist/chunks/multi-select-combobox-Do23ZfOQ.mjs.map +1 -0
  116. package/dist/chunks/otp-input-CkhV-sGl.cjs.map +1 -1
  117. package/dist/chunks/otp-input-JOysxKfD.mjs.map +1 -1
  118. package/dist/chunks/{password-strength-meter-BEx94cfy.mjs → password-strength-meter-BsvqQBAg.mjs} +3 -3
  119. package/dist/chunks/{password-strength-meter-BEx94cfy.mjs.map → password-strength-meter-BsvqQBAg.mjs.map} +1 -1
  120. package/dist/chunks/{password-strength-meter-BNnmSgLh.cjs → password-strength-meter-DCi_BP7e.cjs} +3 -3
  121. package/dist/chunks/{password-strength-meter-BNnmSgLh.cjs.map → password-strength-meter-DCi_BP7e.cjs.map} +1 -1
  122. package/dist/chunks/{progress-bar-DS8KZ7eO.cjs → progress-bar-CYaBO_lS.cjs} +2 -2
  123. package/dist/chunks/{progress-bar-DS8KZ7eO.cjs.map → progress-bar-CYaBO_lS.cjs.map} +1 -1
  124. package/dist/chunks/{progress-bar-C9O0tuZf.mjs → progress-bar-DQ5ZKk2Y.mjs} +2 -2
  125. package/dist/chunks/{progress-bar-C9O0tuZf.mjs.map → progress-bar-DQ5ZKk2Y.mjs.map} +1 -1
  126. package/dist/chunks/radio-CuiM_gDv.mjs +50 -0
  127. package/dist/chunks/radio-CuiM_gDv.mjs.map +1 -0
  128. package/dist/chunks/radio-zx9xEW_C.cjs +56 -0
  129. package/dist/chunks/radio-zx9xEW_C.cjs.map +1 -0
  130. package/dist/chunks/{select-D0GOBB-b.mjs → select-CUaSNR09.mjs} +6 -6
  131. package/dist/chunks/select-CUaSNR09.mjs.map +1 -0
  132. package/dist/chunks/{select-CORFYTvs.cjs → select-bZ9WqLOc.cjs} +6 -6
  133. package/dist/chunks/select-bZ9WqLOc.cjs.map +1 -0
  134. package/dist/chunks/{sidebar-BrOLz89T.mjs → sidebar-DYEDFV2u.mjs} +242 -231
  135. package/dist/chunks/sidebar-DYEDFV2u.mjs.map +1 -0
  136. package/dist/chunks/{sidebar-D9D651F6.cjs → sidebar-Kkr45nuN.cjs} +241 -230
  137. package/dist/chunks/sidebar-Kkr45nuN.cjs.map +1 -0
  138. package/dist/chunks/{skeleton-wQOE-pRg.cjs → skeleton-DCBGLNAZ.cjs} +2 -2
  139. package/dist/chunks/{skeleton-wQOE-pRg.cjs.map → skeleton-DCBGLNAZ.cjs.map} +1 -1
  140. package/dist/chunks/{skeleton-BdijDxP6.mjs → skeleton-nH1eAN96.mjs} +2 -2
  141. package/dist/chunks/{skeleton-BdijDxP6.mjs.map → skeleton-nH1eAN96.mjs.map} +1 -1
  142. package/dist/chunks/{splash-cursor-CCi5n3O-.cjs → splash-cursor-BqG7ClsJ.cjs} +2 -2
  143. package/dist/chunks/{splash-cursor-CCi5n3O-.cjs.map → splash-cursor-BqG7ClsJ.cjs.map} +1 -1
  144. package/dist/chunks/{splash-cursor-CDHTm5vA.mjs → splash-cursor-N4FdnkOa.mjs} +2 -2
  145. package/dist/chunks/{splash-cursor-CDHTm5vA.mjs.map → splash-cursor-N4FdnkOa.mjs.map} +1 -1
  146. package/dist/chunks/{spotlight-card-Bh7KG0vZ.cjs → spotlight-card-BmsqC7wm.cjs} +2 -2
  147. package/dist/chunks/{spotlight-card-Bh7KG0vZ.cjs.map → spotlight-card-BmsqC7wm.cjs.map} +1 -1
  148. package/dist/chunks/{spotlight-card-D0uTxfPZ.mjs → spotlight-card-D9Z3nTmb.mjs} +2 -2
  149. package/dist/chunks/{spotlight-card-D0uTxfPZ.mjs.map → spotlight-card-D9Z3nTmb.mjs.map} +1 -1
  150. package/dist/chunks/{stepper-Z_7ugZJN.cjs → stepper-DepvEGfr.cjs} +4 -4
  151. package/dist/chunks/{stepper-Z_7ugZJN.cjs.map → stepper-DepvEGfr.cjs.map} +1 -1
  152. package/dist/chunks/{stepper-BMKxjCdm.mjs → stepper-Jv5OS1nY.mjs} +4 -4
  153. package/dist/chunks/{stepper-BMKxjCdm.mjs.map → stepper-Jv5OS1nY.mjs.map} +1 -1
  154. package/dist/chunks/{sun-to-moon-button-DcRX0obV.mjs → sun-to-moon-button-BJtBEaa3.mjs} +70 -51
  155. package/dist/chunks/sun-to-moon-button-BJtBEaa3.mjs.map +1 -0
  156. package/dist/chunks/{sun-to-moon-button-De0_Sf01.cjs → sun-to-moon-button-PwgTPsTW.cjs} +70 -51
  157. package/dist/chunks/sun-to-moon-button-PwgTPsTW.cjs.map +1 -0
  158. package/dist/chunks/{switch-DPyzVrNh.cjs → switch-X3l8xnle.cjs} +10 -29
  159. package/dist/chunks/switch-X3l8xnle.cjs.map +1 -0
  160. package/dist/chunks/{switch-C1gKE0m0.mjs → switch-iPsN1NS2.mjs} +10 -29
  161. package/dist/chunks/switch-iPsN1NS2.mjs.map +1 -0
  162. package/dist/chunks/{textarea-BY5-J9No.mjs → textarea-Bdo-Trvi.mjs} +2 -2
  163. package/dist/chunks/{textarea-BY5-J9No.mjs.map → textarea-Bdo-Trvi.mjs.map} +1 -1
  164. package/dist/chunks/{textarea-D-oBQ3IZ.cjs → textarea-CGRl2hrM.cjs} +2 -2
  165. package/dist/chunks/{textarea-D-oBQ3IZ.cjs.map → textarea-CGRl2hrM.cjs.map} +1 -1
  166. package/dist/chunks/toast-BcBidy5n.mjs.map +1 -1
  167. package/dist/chunks/toast-DiFgv3IL.cjs.map +1 -1
  168. package/dist/chunks/{truncated-text-istgJRUq.cjs → truncated-text-BIXqNfOL.cjs} +2 -2
  169. package/dist/chunks/{truncated-text-istgJRUq.cjs.map → truncated-text-BIXqNfOL.cjs.map} +1 -1
  170. package/dist/chunks/{truncated-text-DTgks5yS.mjs → truncated-text-C9t9o9IA.mjs} +2 -2
  171. package/dist/chunks/{truncated-text-DTgks5yS.mjs.map → truncated-text-C9t9o9IA.mjs.map} +1 -1
  172. package/dist/chunks/{typography-C_IanU4b.mjs → typography-Ct-jDJP3.mjs} +2 -2
  173. package/dist/chunks/{typography-C_IanU4b.mjs.map → typography-Ct-jDJP3.mjs.map} +1 -1
  174. package/dist/chunks/{typography-DUD6Dzd5.cjs → typography-LwwY_MOy.cjs} +2 -2
  175. package/dist/chunks/{typography-DUD6Dzd5.cjs.map → typography-LwwY_MOy.cjs.map} +1 -1
  176. package/dist/chunks/{utils-ati1KkDb.mjs → utils-7S0u48mU.mjs} +1339 -1
  177. package/dist/chunks/{utils-B4SmmY4J.cjs.map → utils-7S0u48mU.mjs.map} +1 -1
  178. package/dist/chunks/{utils-B4SmmY4J.cjs → utils-LRbEQHYs.cjs} +1339 -1
  179. package/dist/chunks/{utils-ati1KkDb.mjs.map → utils-LRbEQHYs.cjs.map} +1 -1
  180. package/dist/color-palette.cjs +9 -1
  181. package/dist/color-palette.mjs +2 -2
  182. package/dist/combobox.cjs +1 -1
  183. package/dist/combobox.mjs +1 -1
  184. package/dist/components/data-display/charts/BarChart.d.ts +5 -0
  185. package/dist/components/data-display/charts/BarChart.d.ts.map +1 -1
  186. package/dist/components/data-display/chip/Chip.d.ts +1 -1
  187. package/dist/components/data-display/chip/Chip.d.ts.map +1 -1
  188. package/dist/components/data-display/color-palette/ColorPalette.d.ts +24 -16
  189. package/dist/components/data-display/color-palette/ColorPalette.d.ts.map +1 -1
  190. package/dist/components/data-display/color-palette/index.d.ts +2 -1
  191. package/dist/components/data-display/color-palette/index.d.ts.map +1 -1
  192. package/dist/components/data-display/dashboard-cards/ChartCard.d.ts +15 -0
  193. package/dist/components/data-display/dashboard-cards/ChartCard.d.ts.map +1 -0
  194. package/dist/components/data-display/dashboard-cards/StatCard.d.ts +42 -0
  195. package/dist/components/data-display/dashboard-cards/StatCard.d.ts.map +1 -0
  196. package/dist/components/data-display/dashboard-cards/TopProductsCard.d.ts +17 -0
  197. package/dist/components/data-display/dashboard-cards/TopProductsCard.d.ts.map +1 -0
  198. package/dist/components/data-display/dashboard-cards/index.d.ts +7 -0
  199. package/dist/components/data-display/dashboard-cards/index.d.ts.map +1 -0
  200. package/dist/components/effects/sun-to-moon-button/ThemeSwitcherButtons.d.ts +16 -1
  201. package/dist/components/effects/sun-to-moon-button/ThemeSwitcherButtons.d.ts.map +1 -1
  202. package/dist/components/effects/sun-to-moon-button/index.d.ts +1 -1
  203. package/dist/components/effects/sun-to-moon-button/index.d.ts.map +1 -1
  204. package/dist/components/forms/input/Input.d.ts.map +1 -1
  205. package/dist/components/forms/input/types.d.ts +2 -0
  206. package/dist/components/forms/input/types.d.ts.map +1 -1
  207. package/dist/components/forms/radio/Radio.d.ts.map +1 -1
  208. package/dist/components/forms/switch/Switch.d.ts.map +1 -1
  209. package/dist/components/navigation/sidebar/DashboardSidebarShell.d.ts +26 -6
  210. package/dist/components/navigation/sidebar/DashboardSidebarShell.d.ts.map +1 -1
  211. package/dist/components/navigation/sidebar/index.d.ts +1 -0
  212. package/dist/components/navigation/sidebar/index.d.ts.map +1 -1
  213. package/dist/components/overlays/dropdown-menu/DropdownMenu.d.ts +1 -1
  214. package/dist/components/overlays/dropdown-menu/DropdownMenu.d.ts.map +1 -1
  215. package/dist/components/overlays/dropdown-menu/types.d.ts +1 -0
  216. package/dist/components/overlays/dropdown-menu/types.d.ts.map +1 -1
  217. package/dist/data-table.cjs +1 -1
  218. package/dist/data-table.mjs +1 -1
  219. package/dist/date-picker.cjs +1 -1
  220. package/dist/date-picker.mjs +1 -1
  221. package/dist/docs.cjs.map +1 -1
  222. package/dist/docs.mjs.map +1 -1
  223. package/dist/drawer.cjs +1 -1
  224. package/dist/drawer.mjs +1 -1
  225. package/dist/form.cjs +1 -1
  226. package/dist/form.mjs +1 -1
  227. package/dist/gradual-blur.cjs +1 -1
  228. package/dist/gradual-blur.mjs +1 -1
  229. package/dist/hover-border-gradient.cjs +1 -1
  230. package/dist/hover-border-gradient.mjs +1 -1
  231. package/dist/index.cjs +325 -38
  232. package/dist/index.cjs.map +1 -1
  233. package/dist/index.d.ts +5 -3
  234. package/dist/index.d.ts.map +1 -1
  235. package/dist/index.mjs +315 -39
  236. package/dist/index.mjs.map +1 -1
  237. package/dist/input.cjs +1 -1
  238. package/dist/input.mjs +1 -1
  239. package/dist/label.cjs +1 -1
  240. package/dist/label.mjs +1 -1
  241. package/dist/multi-select-combobox.cjs +1 -1
  242. package/dist/multi-select-combobox.mjs +1 -1
  243. package/dist/password-strength-meter.cjs +1 -1
  244. package/dist/password-strength-meter.mjs +1 -1
  245. package/dist/progress-bar.cjs +1 -1
  246. package/dist/progress-bar.mjs +1 -1
  247. package/dist/radio.cjs +1 -1
  248. package/dist/radio.mjs +1 -1
  249. package/dist/select.cjs +1 -1
  250. package/dist/select.mjs +1 -1
  251. package/dist/sidebar.cjs +1 -1
  252. package/dist/sidebar.mjs +1 -1
  253. package/dist/skeleton.cjs +1 -1
  254. package/dist/skeleton.mjs +1 -1
  255. package/dist/splash-cursor.cjs +1 -1
  256. package/dist/splash-cursor.mjs +1 -1
  257. package/dist/spotlight-card.cjs +1 -1
  258. package/dist/spotlight-card.mjs +1 -1
  259. package/dist/stepper.cjs +1 -1
  260. package/dist/stepper.mjs +1 -1
  261. package/dist/sun-to-moon-button.cjs +1 -1
  262. package/dist/sun-to-moon-button.mjs +1 -1
  263. package/dist/switch.cjs +1 -1
  264. package/dist/switch.mjs +1 -1
  265. package/dist/textarea.cjs +1 -1
  266. package/dist/textarea.mjs +1 -1
  267. package/dist/tooltip.cjs +2 -2
  268. package/dist/tooltip.mjs +1 -1
  269. package/dist/truncated-text.cjs +1 -1
  270. package/dist/truncated-text.mjs +1 -1
  271. package/dist/typography.cjs +1 -1
  272. package/dist/typography.mjs +1 -1
  273. package/dist/utils.cjs +1 -1
  274. package/dist/utils.mjs +1 -1
  275. package/package.json +8 -8
  276. package/dist/chunks/DropdownMenu-C17Zqu_E.mjs.map +0 -1
  277. package/dist/chunks/DropdownMenu-DOvo5pV_.cjs.map +0 -1
  278. package/dist/chunks/calendar-BOBm3dFA.mjs.map +0 -1
  279. package/dist/chunks/calendar-DJkfDhQA.cjs.map +0 -1
  280. package/dist/chunks/charts-C-Qee_JY.mjs.map +0 -1
  281. package/dist/chunks/charts-CZEYcr6X.cjs.map +0 -1
  282. package/dist/chunks/chip-BFg3DJx6.mjs.map +0 -1
  283. package/dist/chunks/chip-CMs73sc5.cjs.map +0 -1
  284. package/dist/chunks/color-palette-BmQC14gE.cjs +0 -789
  285. package/dist/chunks/color-palette-BmQC14gE.cjs.map +0 -1
  286. package/dist/chunks/color-palette-DnX1sODj.mjs +0 -782
  287. package/dist/chunks/color-palette-DnX1sODj.mjs.map +0 -1
  288. package/dist/chunks/combobox-Bcwi33Qx.mjs.map +0 -1
  289. package/dist/chunks/combobox-DRiHHhXL.cjs.map +0 -1
  290. package/dist/chunks/data-table-Biom5rvs.mjs.map +0 -1
  291. package/dist/chunks/data-table-D0BD2sFz.cjs.map +0 -1
  292. package/dist/chunks/drawer-BJsBK6cP.mjs.map +0 -1
  293. package/dist/chunks/drawer-DTRnKChF.cjs.map +0 -1
  294. package/dist/chunks/input-Dox16Ozo.mjs.map +0 -1
  295. package/dist/chunks/input-T4OlFhBc.cjs.map +0 -1
  296. package/dist/chunks/multi-select-combobox-BrFtvCrS.mjs.map +0 -1
  297. package/dist/chunks/multi-select-combobox-BzqYLVpV.cjs.map +0 -1
  298. package/dist/chunks/radio-BiD1ofmq.cjs +0 -50
  299. package/dist/chunks/radio-BiD1ofmq.cjs.map +0 -1
  300. package/dist/chunks/radio-C7Eg3FEp.mjs +0 -44
  301. package/dist/chunks/radio-C7Eg3FEp.mjs.map +0 -1
  302. package/dist/chunks/select-CORFYTvs.cjs.map +0 -1
  303. package/dist/chunks/select-D0GOBB-b.mjs.map +0 -1
  304. package/dist/chunks/sidebar-BrOLz89T.mjs.map +0 -1
  305. package/dist/chunks/sidebar-D9D651F6.cjs.map +0 -1
  306. package/dist/chunks/sun-to-moon-button-DcRX0obV.mjs.map +0 -1
  307. package/dist/chunks/sun-to-moon-button-De0_Sf01.cjs.map +0 -1
  308. package/dist/chunks/switch-C1gKE0m0.mjs.map +0 -1
  309. package/dist/chunks/switch-DPyzVrNh.cjs.map +0 -1
@@ -1,782 +0,0 @@
1
- import React from "react";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- //#region src/components/data-display/color-palette/ColorPalette.tsx
4
- var lightThemeGroups = [
5
- {
6
- name: "Active Accent Scale",
7
- colors: [
8
- {
9
- name: "primary-50",
10
- value: "var(--ds-accent-50)",
11
- textColor: "dark"
12
- },
13
- {
14
- name: "primary-100",
15
- value: "var(--ds-accent-100)",
16
- textColor: "dark"
17
- },
18
- {
19
- name: "primary-200",
20
- value: "var(--ds-accent-200)",
21
- textColor: "dark"
22
- },
23
- {
24
- name: "primary-300",
25
- value: "var(--ds-accent-300)",
26
- textColor: "dark"
27
- },
28
- {
29
- name: "primary-400",
30
- value: "var(--ds-accent-400)",
31
- textColor: "light"
32
- },
33
- {
34
- name: "primary-500",
35
- value: "var(--ds-accent-500)",
36
- textColor: "light"
37
- },
38
- {
39
- name: "primary-600",
40
- value: "var(--ds-accent-600)",
41
- textColor: "light"
42
- },
43
- {
44
- name: "primary-700",
45
- value: "var(--ds-accent-700)",
46
- textColor: "light"
47
- },
48
- {
49
- name: "primary-800",
50
- value: "var(--ds-accent-800)",
51
- textColor: "light"
52
- },
53
- {
54
- name: "primary-900",
55
- value: "var(--ds-accent-900)",
56
- textColor: "light"
57
- }
58
- ]
59
- },
60
- {
61
- name: "Semantic Surfaces",
62
- colors: [
63
- {
64
- name: "bg-ds-canvas",
65
- value: "var(--ds-color-bg-canvas)",
66
- textColor: "dark"
67
- },
68
- {
69
- name: "bg-ds-surface-1",
70
- value: "var(--ds-color-bg-surface)",
71
- textColor: "dark"
72
- },
73
- {
74
- name: "bg-ds-surface-2",
75
- value: "var(--ds-color-bg-elevated)",
76
- textColor: "dark"
77
- },
78
- {
79
- name: "bg-ds-surface-3",
80
- value: "var(--ds-color-bg-ds-surface-3)",
81
- textColor: "dark"
82
- },
83
- {
84
- name: "accent-subtle",
85
- value: "var(--ds-color-accent-subtle)",
86
- textColor: "dark"
87
- }
88
- ]
89
- },
90
- {
91
- name: "Semantic Foreground",
92
- colors: [
93
- {
94
- name: "fg",
95
- value: "var(--ds-color-fg)",
96
- textColor: "light"
97
- },
98
- {
99
- name: "fg-muted",
100
- value: "var(--ds-color-fg-muted)",
101
- textColor: "light"
102
- },
103
- {
104
- name: "fg-subtle",
105
- value: "var(--ds-color-fg-subtle)",
106
- textColor: "light"
107
- },
108
- {
109
- name: "on-accent",
110
- value: "var(--ds-color-on-accent)",
111
- textColor: "dark"
112
- }
113
- ]
114
- },
115
- {
116
- name: "Semantic Borders",
117
- colors: [
118
- {
119
- name: "border",
120
- value: "var(--ds-color-border)",
121
- textColor: "dark"
122
- },
123
- {
124
- name: "border-strong",
125
- value: "var(--ds-color-border-strong)",
126
- textColor: "dark"
127
- },
128
- {
129
- name: "border-muted",
130
- value: "var(--ds-color-border-muted)",
131
- textColor: "dark"
132
- },
133
- {
134
- name: "border-field",
135
- value: "var(--ds-color-border-field)",
136
- textColor: "dark"
137
- },
138
- {
139
- name: "focus-ring",
140
- value: "var(--ds-color-focus-ring)",
141
- textColor: "dark"
142
- }
143
- ]
144
- },
145
- {
146
- name: "Semantic Status",
147
- colors: [
148
- {
149
- name: "success",
150
- value: "#1eb564",
151
- textColor: "light"
152
- },
153
- {
154
- name: "warning",
155
- value: "#ff9500",
156
- textColor: "dark"
157
- },
158
- {
159
- name: "danger",
160
- value: "#e31d1c",
161
- textColor: "light"
162
- },
163
- {
164
- name: "info",
165
- value: "#0085c4",
166
- textColor: "light"
167
- },
168
- {
169
- name: "disabled",
170
- value: "#d2d2d3",
171
- textColor: "dark"
172
- }
173
- ]
174
- },
175
- {
176
- name: "Foundation Tokens",
177
- colors: [
178
- {
179
- name: "--ds-primary",
180
- value: "var(--ds-primary)",
181
- textColor: "light"
182
- },
183
- {
184
- name: "--ds-surface-canvas",
185
- value: "var(--ds-surface-canvas)",
186
- textColor: "dark"
187
- },
188
- {
189
- name: "--ds-surface-1",
190
- value: "var(--ds-surface-1)",
191
- textColor: "dark"
192
- },
193
- {
194
- name: "--ds-text-1",
195
- value: "var(--ds-text-1)",
196
- textColor: "light"
197
- },
198
- {
199
- name: "--ds-border-1",
200
- value: "var(--ds-border-1)",
201
- textColor: "dark"
202
- }
203
- ]
204
- }
205
- ];
206
- var darkThemeGroups = [
207
- {
208
- name: "Active Accent Scale (Dark)",
209
- colors: [
210
- {
211
- name: "primary-50",
212
- value: "var(--ds-accent-50)",
213
- textColor: "dark"
214
- },
215
- {
216
- name: "primary-100",
217
- value: "var(--ds-accent-100)",
218
- textColor: "dark"
219
- },
220
- {
221
- name: "primary-200",
222
- value: "var(--ds-accent-200)",
223
- textColor: "dark"
224
- },
225
- {
226
- name: "primary-300",
227
- value: "var(--ds-accent-300)",
228
- textColor: "dark"
229
- },
230
- {
231
- name: "primary-400",
232
- value: "var(--ds-accent-400)",
233
- textColor: "light"
234
- },
235
- {
236
- name: "primary-500",
237
- value: "var(--ds-accent-500)",
238
- textColor: "light"
239
- },
240
- {
241
- name: "primary-600",
242
- value: "var(--ds-accent-600)",
243
- textColor: "light"
244
- },
245
- {
246
- name: "primary-700",
247
- value: "var(--ds-accent-700)",
248
- textColor: "light"
249
- },
250
- {
251
- name: "primary-800",
252
- value: "var(--ds-accent-800)",
253
- textColor: "light"
254
- },
255
- {
256
- name: "primary-900",
257
- value: "var(--ds-accent-900)",
258
- textColor: "light"
259
- }
260
- ]
261
- },
262
- {
263
- name: "Semantic Surfaces (Dark)",
264
- colors: [
265
- {
266
- name: "bg-ds-canvas",
267
- value: "var(--ds-color-bg-canvas)",
268
- textColor: "light"
269
- },
270
- {
271
- name: "bg-ds-surface-1",
272
- value: "var(--ds-color-bg-surface)",
273
- textColor: "light"
274
- },
275
- {
276
- name: "bg-ds-surface-2",
277
- value: "var(--ds-color-bg-elevated)",
278
- textColor: "light"
279
- },
280
- {
281
- name: "bg-ds-surface-3",
282
- value: "var(--ds-color-bg-ds-surface-3)",
283
- textColor: "light"
284
- },
285
- {
286
- name: "accent-subtle",
287
- value: "var(--ds-color-accent-subtle)",
288
- textColor: "light"
289
- }
290
- ]
291
- },
292
- {
293
- name: "Semantic Foreground (Dark)",
294
- colors: [
295
- {
296
- name: "fg",
297
- value: "var(--ds-color-fg)",
298
- textColor: "dark"
299
- },
300
- {
301
- name: "fg-muted",
302
- value: "var(--ds-color-fg-muted)",
303
- textColor: "dark"
304
- },
305
- {
306
- name: "fg-subtle",
307
- value: "var(--ds-color-fg-subtle)",
308
- textColor: "dark"
309
- },
310
- {
311
- name: "on-accent",
312
- value: "var(--ds-color-on-accent)",
313
- textColor: "dark"
314
- }
315
- ]
316
- },
317
- {
318
- name: "Semantic Borders (Dark)",
319
- colors: [
320
- {
321
- name: "border",
322
- value: "var(--ds-color-border)",
323
- textColor: "light"
324
- },
325
- {
326
- name: "border-strong",
327
- value: "var(--ds-color-border-strong)",
328
- textColor: "light"
329
- },
330
- {
331
- name: "border-muted",
332
- value: "var(--ds-color-border-muted)",
333
- textColor: "light"
334
- },
335
- {
336
- name: "border-field",
337
- value: "var(--ds-color-border-field)",
338
- textColor: "light"
339
- },
340
- {
341
- name: "focus-ring",
342
- value: "var(--ds-color-focus-ring)",
343
- textColor: "dark"
344
- }
345
- ]
346
- },
347
- {
348
- name: "Semantic Status (Dark)",
349
- colors: [
350
- {
351
- name: "success",
352
- value: "#22c55e",
353
- textColor: "light"
354
- },
355
- {
356
- name: "warning",
357
- value: "#f59e42",
358
- textColor: "dark"
359
- },
360
- {
361
- name: "danger",
362
- value: "#ef4444",
363
- textColor: "light"
364
- },
365
- {
366
- name: "info",
367
- value: "#38bdf8",
368
- textColor: "dark"
369
- },
370
- {
371
- name: "disabled",
372
- value: "#4b5563",
373
- textColor: "light"
374
- }
375
- ]
376
- },
377
- {
378
- name: "Foundation Tokens (Dark)",
379
- colors: [
380
- {
381
- name: "--ds-primary",
382
- value: "var(--ds-primary)",
383
- textColor: "light"
384
- },
385
- {
386
- name: "--ds-surface-canvas",
387
- value: "var(--ds-surface-canvas)",
388
- textColor: "light"
389
- },
390
- {
391
- name: "--ds-surface-1",
392
- value: "var(--ds-surface-1)",
393
- textColor: "light"
394
- },
395
- {
396
- name: "--ds-text-1",
397
- value: "var(--ds-text-1)",
398
- textColor: "dark"
399
- },
400
- {
401
- name: "--ds-border-1",
402
- value: "var(--ds-border-1)",
403
- textColor: "light"
404
- }
405
- ]
406
- }
407
- ];
408
- var gradientGroups = [
409
- {
410
- name: "Semantic Gradients",
411
- colors: [
412
- {
413
- name: "accent-gradient-start",
414
- value: "#9333ea",
415
- textColor: "light"
416
- },
417
- {
418
- name: "accent-gradient-end",
419
- value: "#7e22ce",
420
- textColor: "light"
421
- },
422
- {
423
- name: "accent-secondary",
424
- value: "#4318ff",
425
- textColor: "light"
426
- }
427
- ]
428
- },
429
- {
430
- name: "Status Gradients",
431
- colors: [
432
- {
433
- name: "success-gradient-start",
434
- value: "#22c55e",
435
- textColor: "light"
436
- },
437
- {
438
- name: "success-gradient-end",
439
- value: "#16a34a",
440
- textColor: "light"
441
- },
442
- {
443
- name: "warning-gradient-start",
444
- value: "#f59e0b",
445
- textColor: "dark"
446
- },
447
- {
448
- name: "warning-gradient-end",
449
- value: "#d97706",
450
- textColor: "light"
451
- },
452
- {
453
- name: "error-gradient-start",
454
- value: "#ef4444",
455
- textColor: "light"
456
- },
457
- {
458
- name: "error-gradient-end",
459
- value: "#dc2626",
460
- textColor: "light"
461
- }
462
- ]
463
- },
464
- {
465
- name: "Glass / Opacity",
466
- colors: [
467
- {
468
- name: "glass-white-90",
469
- value: "rgba(255,255,255,0.9)",
470
- textColor: "dark"
471
- },
472
- {
473
- name: "glass-white-70",
474
- value: "rgba(255,255,255,0.7)",
475
- textColor: "dark"
476
- },
477
- {
478
- name: "glass-white-50",
479
- value: "rgba(255,255,255,0.5)",
480
- textColor: "dark"
481
- },
482
- {
483
- name: "glass-white-20",
484
- value: "rgba(255,255,255,0.2)",
485
- textColor: "dark"
486
- },
487
- {
488
- name: "glass-white-10",
489
- value: "rgba(255,255,255,0.1)",
490
- textColor: "dark"
491
- },
492
- {
493
- name: "glass-black-90",
494
- value: "rgba(0,0,0,0.9)",
495
- textColor: "light"
496
- },
497
- {
498
- name: "glass-black-70",
499
- value: "rgba(0,0,0,0.7)",
500
- textColor: "light"
501
- },
502
- {
503
- name: "glass-black-50",
504
- value: "rgba(0,0,0,0.5)",
505
- textColor: "light"
506
- },
507
- {
508
- name: "glass-black-20",
509
- value: "rgba(0,0,0,0.2)",
510
- textColor: "light"
511
- },
512
- {
513
- name: "glass-black-10",
514
- value: "rgba(0,0,0,0.1)",
515
- textColor: "light"
516
- }
517
- ]
518
- }
519
- ];
520
- function ColorSwatchItem({ color }) {
521
- const swatchRef = React.useRef(null);
522
- const [resolvedValue, setResolvedValue] = React.useState(color.value);
523
- React.useEffect(() => {
524
- if (!swatchRef.current) return;
525
- if (color.value.startsWith("var(")) {
526
- const computedBackground = getComputedStyle(swatchRef.current).backgroundColor;
527
- setResolvedValue(computedBackground || color.value);
528
- return;
529
- }
530
- setResolvedValue(color.value);
531
- }, [color.value]);
532
- const copyToClipboard = () => {
533
- navigator.clipboard.writeText(resolvedValue);
534
- };
535
- const swatchLabel = color.value.startsWith("var(") ? "LIVE" : color.value.length <= 9 ? color.value.toUpperCase() : "RGBA";
536
- return /* @__PURE__ */ jsxs("div", {
537
- className: "flex flex-col items-center gap-2 cursor-pointer transition-transform hover:scale-105",
538
- onClick: copyToClipboard,
539
- title: "Click to copy",
540
- children: [
541
- /* @__PURE__ */ jsx("div", {
542
- ref: swatchRef,
543
- className: "w-20 h-20 rounded-lg shadow-md border border-ds-border-2 flex items-center justify-center text-xs font-mono",
544
- style: { backgroundColor: color.value },
545
- children: /* @__PURE__ */ jsx("span", {
546
- className: "font-semibold text-ds-1 mix-blend-difference",
547
- children: swatchLabel
548
- })
549
- }),
550
- /* @__PURE__ */ jsx("span", {
551
- className: "text-xs font-medium text-ds-2 text-center max-w-20",
552
- children: color.name
553
- }),
554
- /* @__PURE__ */ jsx("span", {
555
- className: "text-[10px] font-mono text-ds-3 text-center max-w-20 break-all",
556
- children: resolvedValue
557
- })
558
- ]
559
- });
560
- }
561
- function GradientPreview() {
562
- return /* @__PURE__ */ jsxs("div", {
563
- className: "mt-8",
564
- children: [/* @__PURE__ */ jsx("h3", {
565
- className: "text-lg font-semibold text-ds-1 mb-4",
566
- children: "Semantic Gradient Examples"
567
- }), /* @__PURE__ */ jsxs("div", {
568
- className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
569
- children: [
570
- /* @__PURE__ */ jsxs("div", {
571
- className: "flex flex-col gap-2",
572
- children: [/* @__PURE__ */ jsx("div", {
573
- className: "h-24 rounded-lg flex items-center justify-center text-ds-on-accent font-medium",
574
- style: { background: "linear-gradient(135deg, #9333ea, #7e22ce)" },
575
- children: "Accent Gradient"
576
- }), /* @__PURE__ */ jsx("code", {
577
- className: "text-xs text-ds-3",
578
- children: "linear-gradient(135deg, #9333ea, #7e22ce)"
579
- })]
580
- }),
581
- /* @__PURE__ */ jsxs("div", {
582
- className: "flex flex-col gap-2",
583
- children: [/* @__PURE__ */ jsx("div", {
584
- className: "h-24 rounded-lg flex items-center justify-center text-ds-on-accent font-medium",
585
- style: { background: "linear-gradient(135deg, #9333ea, #4318ff)" },
586
- children: "Accent to Brand Primary"
587
- }), /* @__PURE__ */ jsx("code", {
588
- className: "text-xs text-ds-3",
589
- children: "linear-gradient(135deg, #9333ea, #4318ff)"
590
- })]
591
- }),
592
- /* @__PURE__ */ jsxs("div", {
593
- className: "flex flex-col gap-2",
594
- children: [/* @__PURE__ */ jsx("div", {
595
- className: "h-24 rounded-lg flex items-center justify-center text-ds-on-accent font-medium",
596
- style: { background: "linear-gradient(135deg, #22c55e, #16a34a)" },
597
- children: "Success Gradient"
598
- }), /* @__PURE__ */ jsx("code", {
599
- className: "text-xs text-ds-3",
600
- children: "linear-gradient(135deg, #22c55e, #16a34a)"
601
- })]
602
- }),
603
- /* @__PURE__ */ jsxs("div", {
604
- className: "flex flex-col gap-2",
605
- children: [/* @__PURE__ */ jsx("div", {
606
- className: "h-24 rounded-lg flex items-center justify-center text-ds-1 font-medium",
607
- style: { background: "linear-gradient(135deg, #fbbf24, #f59e0b)" },
608
- children: "Warning Gradient"
609
- }), /* @__PURE__ */ jsx("code", {
610
- className: "text-xs text-ds-3",
611
- children: "linear-gradient(135deg, #fbbf24, #f59e0b)"
612
- })]
613
- }),
614
- /* @__PURE__ */ jsxs("div", {
615
- className: "flex flex-col gap-2",
616
- children: [/* @__PURE__ */ jsx("div", {
617
- className: "h-24 rounded-lg flex items-center justify-center text-ds-on-accent font-medium",
618
- style: { background: "linear-gradient(135deg, #ef4444, #dc2626)" },
619
- children: "Error Gradient"
620
- }), /* @__PURE__ */ jsx("code", {
621
- className: "text-xs text-ds-3",
622
- children: "linear-gradient(135deg, #ef4444, #dc2626)"
623
- })]
624
- }),
625
- /* @__PURE__ */ jsxs("div", {
626
- className: "flex flex-col gap-2",
627
- children: [/* @__PURE__ */ jsx("div", {
628
- className: "h-24 rounded-lg flex items-center justify-center text-ds-on-accent font-medium backdrop-blur-xl border border-ds-border-2/40",
629
- style: { background: "rgba(147, 51, 234, 0.7)" },
630
- children: "Glass Effect"
631
- }), /* @__PURE__ */ jsx("code", {
632
- className: "text-xs text-ds-3",
633
- children: "rgba(147, 51, 234, 0.7) + backdrop-blur"
634
- })]
635
- })
636
- ]
637
- })]
638
- });
639
- }
640
- function UsageExamples() {
641
- return /* @__PURE__ */ jsxs("div", {
642
- className: "mt-8 p-6 bg-ds-surface-2 rounded-xl",
643
- children: [/* @__PURE__ */ jsx("h3", {
644
- className: "text-lg font-semibold text-ds-1 mb-4",
645
- children: "Recommended Usage"
646
- }), /* @__PURE__ */ jsxs("div", {
647
- className: "space-y-4",
648
- children: [
649
- /* @__PURE__ */ jsxs("div", {
650
- className: "p-4 bg-ds-surface-1 rounded-lg border border-ds-border-2",
651
- children: [/* @__PURE__ */ jsx("h4", {
652
- className: "font-medium text-ds-1 mb-2",
653
- children: "Semantic utilities first"
654
- }), /* @__PURE__ */ jsx("pre", {
655
- className: "text-xs font-mono text-ds-2 overflow-x-auto",
656
- children: `import { Button } from "erp-pro-ui";
657
-
658
- <section className="bg-ds-surface-1 text-ds-1 border border-ds-border-2 rounded-2xl p-6">
659
- <h2 className="text-ds-1 text-xl font-semibold">Semantic theme</h2>
660
- <p className="text-ds-2">Use utilities generated by colors.css.</p>
661
- <Button label="Save changes" primary />
662
- </section>`
663
- })]
664
- }),
665
- /* @__PURE__ */ jsxs("div", {
666
- className: "p-4 bg-ds-surface-1 rounded-lg border border-ds-border-2",
667
- children: [/* @__PURE__ */ jsx("h4", {
668
- className: "font-medium text-ds-1 mb-2",
669
- children: "Raw design-system variables"
670
- }), /* @__PURE__ */ jsx("pre", {
671
- className: "text-xs font-mono text-ds-2 overflow-x-auto",
672
- children: `.dashboard-shell {
673
- background: var(--ds-color-bg-surface);
674
- color: var(--ds-color-fg);
675
- border: 1px solid var(--ds-color-border);
676
- }
677
-
678
- .dashboard-shell a {
679
- color: var(--ds-color-accent);
680
- }
681
-
682
- html[data-brand="teal"][data-mode="dark"] {
683
- color-scheme: dark;
684
- }`
685
- })]
686
- }),
687
- /* @__PURE__ */ jsxs("div", {
688
- className: "p-4 bg-ds-surface-1 rounded-lg border border-ds-border-2",
689
- children: [/* @__PURE__ */ jsx("h4", {
690
- className: "font-medium text-ds-1 mb-2",
691
- children: "Compatibility aliases for migration"
692
- }), /* @__PURE__ */ jsx("pre", {
693
- className: "text-xs font-mono text-ds-2 overflow-x-auto",
694
- children: `:root {
695
- --color-primary: #4318ff;
696
- --color-background-primary: #f4f7fe;
697
- --color-text-primary: #1e293b;
698
- }
699
-
700
- /* Supported for migration. Prefer semantic utilities or --ds-* in new code. */`
701
- })]
702
- })
703
- ]
704
- })]
705
- });
706
- }
707
- function ColorPalette({ groups, theme = "all", showGradients = true, showUsageExamples = true, className }) {
708
- let displayGroups;
709
- if (groups) displayGroups = groups.map((group) => ({ group }));
710
- else if (theme === "light") displayGroups = lightThemeGroups.map((group) => ({
711
- group,
712
- mode: "light"
713
- }));
714
- else if (theme === "dark") displayGroups = darkThemeGroups.map((group) => ({
715
- group,
716
- mode: "dark"
717
- }));
718
- else displayGroups = [...lightThemeGroups.map((group) => ({
719
- group,
720
- mode: "light"
721
- })), ...darkThemeGroups.map((group) => ({
722
- group,
723
- mode: "dark"
724
- }))];
725
- if (showGradients && !groups) displayGroups = [...displayGroups, ...gradientGroups.map((group) => ({ group }))];
726
- return /* @__PURE__ */ jsxs("div", {
727
- className: `p-6 bg-ds-surface-1 rounded-xl ${className || ""}`,
728
- children: [
729
- /* @__PURE__ */ jsx("h2", {
730
- className: "text-2xl font-bold text-ds-1 mb-2",
731
- children: "Color Palette"
732
- }),
733
- /* @__PURE__ */ jsxs("p", {
734
- className: "text-sm text-ds-2 mb-6",
735
- children: [
736
- "Preferred contract:",
737
- " ",
738
- /* @__PURE__ */ jsx("code", {
739
- className: "font-mono bg-ds-surface-2 px-2 py-1 rounded text-ds-1",
740
- children: "semantic utilities and --ds-* tokens"
741
- }),
742
- " ",
743
- "• Compatibility aliases remain available for migration. Light and dark sections are resolved in their own mode contexts. Click any swatch to copy the resolved color value."
744
- ]
745
- }),
746
- /* @__PURE__ */ jsxs("div", {
747
- className: "mb-6 flex flex-wrap gap-2",
748
- children: [
749
- /* @__PURE__ */ jsx("span", {
750
- className: `px-3 py-1 rounded-full text-xs font-medium ${theme === "light" || theme === "all" ? "bg-ds-accent-subtle text-ds-1" : "bg-ds-surface-2 text-ds-3"}`,
751
- children: "Light Theme"
752
- }),
753
- /* @__PURE__ */ jsx("span", {
754
- className: `px-3 py-1 rounded-full text-xs font-medium ${theme === "dark" || theme === "all" ? "bg-ds-accent-subtle text-ds-1" : "bg-ds-surface-2 text-ds-3"}`,
755
- children: "Dark Theme"
756
- }),
757
- showGradients && /* @__PURE__ */ jsx("span", {
758
- className: "px-3 py-1 rounded-full text-xs font-medium bg-ds-accent-subtle text-ds-1",
759
- children: "Gradients"
760
- })
761
- ]
762
- }),
763
- displayGroups.map(({ group, mode }) => /* @__PURE__ */ jsxs("div", {
764
- "data-mode": mode,
765
- className: "mb-8",
766
- children: [/* @__PURE__ */ jsx("h3", {
767
- className: "text-lg font-semibold text-ds-1 mb-4",
768
- children: group.name
769
- }), /* @__PURE__ */ jsx("div", {
770
- className: "flex flex-wrap gap-4",
771
- children: group.colors.map((color) => /* @__PURE__ */ jsx(ColorSwatchItem, { color }, color.name))
772
- })]
773
- }, group.name)),
774
- showGradients && /* @__PURE__ */ jsx(GradientPreview, {}),
775
- showUsageExamples && /* @__PURE__ */ jsx(UsageExamples, {})
776
- ]
777
- });
778
- }
779
- //#endregion
780
- export { ColorPalette as t };
781
-
782
- //# sourceMappingURL=color-palette-DnX1sODj.mjs.map