@gravionlabs/helix-core 22.1.2 → 22.1.3

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 (820) hide show
  1. package/fesm2022/gravionlabs-helix-core-accordion.mjs +994 -541
  2. package/fesm2022/gravionlabs-helix-core-accordion.mjs.map +1 -1
  3. package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs +265 -166
  4. package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/gravionlabs-helix-core-api.mjs +926 -836
  6. package/fesm2022/gravionlabs-helix-core-api.mjs.map +1 -1
  7. package/fesm2022/gravionlabs-helix-core-autocomplete.mjs +2603 -1611
  8. package/fesm2022/gravionlabs-helix-core-autocomplete.mjs.map +1 -1
  9. package/fesm2022/gravionlabs-helix-core-autofocus.mjs +115 -79
  10. package/fesm2022/gravionlabs-helix-core-autofocus.mjs.map +1 -1
  11. package/fesm2022/gravionlabs-helix-core-avatar.mjs +356 -180
  12. package/fesm2022/gravionlabs-helix-core-avatar.mjs.map +1 -1
  13. package/fesm2022/gravionlabs-helix-core-avatargroup.mjs +200 -84
  14. package/fesm2022/gravionlabs-helix-core-avatargroup.mjs.map +1 -1
  15. package/fesm2022/gravionlabs-helix-core-badge.mjs +671 -390
  16. package/fesm2022/gravionlabs-helix-core-badge.mjs.map +1 -1
  17. package/fesm2022/gravionlabs-helix-core-base.mjs +113 -103
  18. package/fesm2022/gravionlabs-helix-core-base.mjs.map +1 -1
  19. package/fesm2022/gravionlabs-helix-core-basecomponent.mjs +498 -444
  20. package/fesm2022/gravionlabs-helix-core-basecomponent.mjs.map +1 -1
  21. package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs +131 -69
  22. package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs.map +1 -1
  23. package/fesm2022/gravionlabs-helix-core-baseinput.mjs +210 -94
  24. package/fesm2022/gravionlabs-helix-core-baseinput.mjs.map +1 -1
  25. package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs +39 -26
  26. package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs.map +1 -1
  27. package/fesm2022/gravionlabs-helix-core-bind.mjs +136 -98
  28. package/fesm2022/gravionlabs-helix-core-bind.mjs.map +1 -1
  29. package/fesm2022/gravionlabs-helix-core-blockui.mjs +390 -224
  30. package/fesm2022/gravionlabs-helix-core-blockui.mjs.map +1 -1
  31. package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs +473 -212
  32. package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs.map +1 -1
  33. package/fesm2022/gravionlabs-helix-core-button.mjs +1739 -825
  34. package/fesm2022/gravionlabs-helix-core-button.mjs.map +1 -1
  35. package/fesm2022/gravionlabs-helix-core-buttongroup.mjs +116 -64
  36. package/fesm2022/gravionlabs-helix-core-buttongroup.mjs.map +1 -1
  37. package/fesm2022/gravionlabs-helix-core-card.mjs +454 -205
  38. package/fesm2022/gravionlabs-helix-core-card.mjs.map +1 -1
  39. package/fesm2022/gravionlabs-helix-core-carousel.mjs +1238 -898
  40. package/fesm2022/gravionlabs-helix-core-carousel.mjs.map +1 -1
  41. package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs +2373 -1337
  42. package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/gravionlabs-helix-core-chart.mjs +407 -214
  44. package/fesm2022/gravionlabs-helix-core-chart.mjs.map +1 -1
  45. package/fesm2022/gravionlabs-helix-core-checkbox.mjs +704 -346
  46. package/fesm2022/gravionlabs-helix-core-checkbox.mjs.map +1 -1
  47. package/fesm2022/gravionlabs-helix-core-chip.mjs +489 -251
  48. package/fesm2022/gravionlabs-helix-core-chip.mjs.map +1 -1
  49. package/fesm2022/gravionlabs-helix-core-classnames.mjs +95 -48
  50. package/fesm2022/gravionlabs-helix-core-classnames.mjs.map +1 -1
  51. package/fesm2022/gravionlabs-helix-core-colorpicker.mjs +975 -667
  52. package/fesm2022/gravionlabs-helix-core-colorpicker.mjs.map +1 -1
  53. package/fesm2022/gravionlabs-helix-core-config.mjs +395 -306
  54. package/fesm2022/gravionlabs-helix-core-config.mjs.map +1 -1
  55. package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs +1222 -546
  56. package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs.map +1 -1
  57. package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs +878 -524
  58. package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs.map +1 -1
  59. package/fesm2022/gravionlabs-helix-core-contextmenu.mjs +1917 -1031
  60. package/fesm2022/gravionlabs-helix-core-contextmenu.mjs.map +1 -1
  61. package/fesm2022/gravionlabs-helix-core-dataview.mjs +1075 -522
  62. package/fesm2022/gravionlabs-helix-core-dataview.mjs.map +1 -1
  63. package/fesm2022/gravionlabs-helix-core-datepicker.mjs +3797 -3313
  64. package/fesm2022/gravionlabs-helix-core-datepicker.mjs.map +1 -1
  65. package/fesm2022/gravionlabs-helix-core-dialog.mjs +1852 -1047
  66. package/fesm2022/gravionlabs-helix-core-dialog.mjs.map +1 -1
  67. package/fesm2022/gravionlabs-helix-core-divider.mjs +288 -136
  68. package/fesm2022/gravionlabs-helix-core-divider.mjs.map +1 -1
  69. package/fesm2022/gravionlabs-helix-core-dock.mjs +655 -387
  70. package/fesm2022/gravionlabs-helix-core-dock.mjs.map +1 -1
  71. package/fesm2022/gravionlabs-helix-core-dom.mjs +589 -760
  72. package/fesm2022/gravionlabs-helix-core-dom.mjs.map +1 -1
  73. package/fesm2022/gravionlabs-helix-core-dragdrop.mjs +457 -302
  74. package/fesm2022/gravionlabs-helix-core-dragdrop.mjs.map +1 -1
  75. package/fesm2022/gravionlabs-helix-core-drawer.mjs +986 -507
  76. package/fesm2022/gravionlabs-helix-core-drawer.mjs.map +1 -1
  77. package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs +849 -923
  78. package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs.map +1 -1
  79. package/fesm2022/gravionlabs-helix-core-editor.mjs +578 -383
  80. package/fesm2022/gravionlabs-helix-core-editor.mjs.map +1 -1
  81. package/fesm2022/gravionlabs-helix-core-fieldset.mjs +593 -280
  82. package/fesm2022/gravionlabs-helix-core-fieldset.mjs.map +1 -1
  83. package/fesm2022/gravionlabs-helix-core-fileupload.mjs +1882 -994
  84. package/fesm2022/gravionlabs-helix-core-fileupload.mjs.map +1 -1
  85. package/fesm2022/gravionlabs-helix-core-firsterror.mjs +41 -23
  86. package/fesm2022/gravionlabs-helix-core-firsterror.mjs.map +1 -1
  87. package/fesm2022/gravionlabs-helix-core-floatlabel.mjs +197 -94
  88. package/fesm2022/gravionlabs-helix-core-floatlabel.mjs.map +1 -1
  89. package/fesm2022/gravionlabs-helix-core-fluid.mjs +149 -74
  90. package/fesm2022/gravionlabs-helix-core-fluid.mjs.map +1 -1
  91. package/fesm2022/gravionlabs-helix-core-focustrap.mjs +141 -104
  92. package/fesm2022/gravionlabs-helix-core-focustrap.mjs.map +1 -1
  93. package/fesm2022/gravionlabs-helix-core-galleria.mjs +2800 -1449
  94. package/fesm2022/gravionlabs-helix-core-galleria.mjs.map +1 -1
  95. package/fesm2022/gravionlabs-helix-core-iconfield.mjs +214 -98
  96. package/fesm2022/gravionlabs-helix-core-iconfield.mjs.map +1 -1
  97. package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs +43 -24
  98. package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs.map +1 -1
  99. package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs +43 -24
  100. package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs.map +1 -1
  101. package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs +43 -24
  102. package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs.map +1 -1
  103. package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs +43 -24
  104. package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs.map +1 -1
  105. package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs +43 -24
  106. package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs.map +1 -1
  107. package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs +43 -24
  108. package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs.map +1 -1
  109. package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs +43 -24
  110. package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs.map +1 -1
  111. package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs +43 -24
  112. package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs.map +1 -1
  113. package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs +48 -29
  114. package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs.map +1 -1
  115. package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs +43 -24
  116. package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs.map +1 -1
  117. package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs +43 -24
  118. package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs.map +1 -1
  119. package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs +48 -29
  120. package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs.map +1 -1
  121. package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs +43 -24
  122. package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs.map +1 -1
  123. package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs +48 -29
  124. package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs.map +1 -1
  125. package/fesm2022/gravionlabs-helix-core-icons-ban.mjs +48 -29
  126. package/fesm2022/gravionlabs-helix-core-icons-ban.mjs.map +1 -1
  127. package/fesm2022/gravionlabs-helix-core-icons-bars.mjs +43 -24
  128. package/fesm2022/gravionlabs-helix-core-icons-bars.mjs.map +1 -1
  129. package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs +120 -64
  130. package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs.map +1 -1
  131. package/fesm2022/gravionlabs-helix-core-icons-blank.mjs +42 -23
  132. package/fesm2022/gravionlabs-helix-core-icons-blank.mjs.map +1 -1
  133. package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs +43 -24
  134. package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs.map +1 -1
  135. package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs +43 -24
  136. package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs.map +1 -1
  137. package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs +43 -24
  138. package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs.map +1 -1
  139. package/fesm2022/gravionlabs-helix-core-icons-check.mjs +43 -24
  140. package/fesm2022/gravionlabs-helix-core-icons-check.mjs.map +1 -1
  141. package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs +43 -24
  142. package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs.map +1 -1
  143. package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs +43 -24
  144. package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs.map +1 -1
  145. package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs +43 -24
  146. package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs.map +1 -1
  147. package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs +43 -24
  148. package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs.map +1 -1
  149. package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs +48 -29
  150. package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs.map +1 -1
  151. package/fesm2022/gravionlabs-helix-core-icons-eye.mjs +43 -24
  152. package/fesm2022/gravionlabs-helix-core-icons-eye.mjs.map +1 -1
  153. package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs +48 -29
  154. package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs.map +1 -1
  155. package/fesm2022/gravionlabs-helix-core-icons-filter.mjs +48 -29
  156. package/fesm2022/gravionlabs-helix-core-icons-filter.mjs.map +1 -1
  157. package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs +43 -24
  158. package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs.map +1 -1
  159. package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs +48 -29
  160. package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs.map +1 -1
  161. package/fesm2022/gravionlabs-helix-core-icons-home.mjs +48 -29
  162. package/fesm2022/gravionlabs-helix-core-icons-home.mjs.map +1 -1
  163. package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs +48 -29
  164. package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs.map +1 -1
  165. package/fesm2022/gravionlabs-helix-core-icons-minus.mjs +43 -24
  166. package/fesm2022/gravionlabs-helix-core-icons-minus.mjs.map +1 -1
  167. package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs +48 -29
  168. package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs.map +1 -1
  169. package/fesm2022/gravionlabs-helix-core-icons-plus.mjs +48 -29
  170. package/fesm2022/gravionlabs-helix-core-icons-plus.mjs.map +1 -1
  171. package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs +48 -29
  172. package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs.map +1 -1
  173. package/fesm2022/gravionlabs-helix-core-icons-search.mjs +48 -29
  174. package/fesm2022/gravionlabs-helix-core-icons-search.mjs.map +1 -1
  175. package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs +48 -29
  176. package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs.map +1 -1
  177. package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs +48 -29
  178. package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs.map +1 -1
  179. package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs +48 -29
  180. package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs.map +1 -1
  181. package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs +48 -29
  182. package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs.map +1 -1
  183. package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs +48 -29
  184. package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs.map +1 -1
  185. package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs +48 -29
  186. package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs.map +1 -1
  187. package/fesm2022/gravionlabs-helix-core-icons-star.mjs +48 -29
  188. package/fesm2022/gravionlabs-helix-core-icons-star.mjs.map +1 -1
  189. package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs +48 -29
  190. package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs.map +1 -1
  191. package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs +48 -29
  192. package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs.map +1 -1
  193. package/fesm2022/gravionlabs-helix-core-icons-times.mjs +43 -24
  194. package/fesm2022/gravionlabs-helix-core-icons-times.mjs.map +1 -1
  195. package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs +48 -29
  196. package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs.map +1 -1
  197. package/fesm2022/gravionlabs-helix-core-icons-trash.mjs +48 -29
  198. package/fesm2022/gravionlabs-helix-core-icons-trash.mjs.map +1 -1
  199. package/fesm2022/gravionlabs-helix-core-icons-undo.mjs +48 -29
  200. package/fesm2022/gravionlabs-helix-core-icons-undo.mjs.map +1 -1
  201. package/fesm2022/gravionlabs-helix-core-icons-upload.mjs +48 -29
  202. package/fesm2022/gravionlabs-helix-core-icons-upload.mjs.map +1 -1
  203. package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs +48 -29
  204. package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs.map +1 -1
  205. package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs +48 -29
  206. package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs.map +1 -1
  207. package/fesm2022/gravionlabs-helix-core-icons.mjs +53 -63
  208. package/fesm2022/gravionlabs-helix-core-iftalabel.mjs +175 -81
  209. package/fesm2022/gravionlabs-helix-core-iftalabel.mjs.map +1 -1
  210. package/fesm2022/gravionlabs-helix-core-image.mjs +1089 -552
  211. package/fesm2022/gravionlabs-helix-core-image.mjs.map +1 -1
  212. package/fesm2022/gravionlabs-helix-core-imagecompare.mjs +348 -165
  213. package/fesm2022/gravionlabs-helix-core-imagecompare.mjs.map +1 -1
  214. package/fesm2022/gravionlabs-helix-core-inplace.mjs +591 -249
  215. package/fesm2022/gravionlabs-helix-core-inplace.mjs.map +1 -1
  216. package/fesm2022/gravionlabs-helix-core-inputgroup.mjs +175 -91
  217. package/fesm2022/gravionlabs-helix-core-inputgroup.mjs.map +1 -1
  218. package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs +196 -73
  219. package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs.map +1 -1
  220. package/fesm2022/gravionlabs-helix-core-inputicon.mjs +207 -70
  221. package/fesm2022/gravionlabs-helix-core-inputicon.mjs.map +1 -1
  222. package/fesm2022/gravionlabs-helix-core-inputmask.mjs +1581 -1330
  223. package/fesm2022/gravionlabs-helix-core-inputmask.mjs.map +1 -1
  224. package/fesm2022/gravionlabs-helix-core-inputnumber.mjs +1696 -1294
  225. package/fesm2022/gravionlabs-helix-core-inputnumber.mjs.map +1 -1
  226. package/fesm2022/gravionlabs-helix-core-inputotp.mjs +576 -363
  227. package/fesm2022/gravionlabs-helix-core-inputotp.mjs.map +1 -1
  228. package/fesm2022/gravionlabs-helix-core-inputtext.mjs +344 -183
  229. package/fesm2022/gravionlabs-helix-core-inputtext.mjs.map +1 -1
  230. package/fesm2022/gravionlabs-helix-core-keyfilter.mjs +291 -252
  231. package/fesm2022/gravionlabs-helix-core-keyfilter.mjs.map +1 -1
  232. package/fesm2022/gravionlabs-helix-core-knob.mjs +642 -396
  233. package/fesm2022/gravionlabs-helix-core-knob.mjs.map +1 -1
  234. package/fesm2022/gravionlabs-helix-core-listbox.mjs +2354 -1401
  235. package/fesm2022/gravionlabs-helix-core-listbox.mjs.map +1 -1
  236. package/fesm2022/gravionlabs-helix-core-megamenu.mjs +1913 -1052
  237. package/fesm2022/gravionlabs-helix-core-megamenu.mjs.map +1 -1
  238. package/fesm2022/gravionlabs-helix-core-menu.mjs +1392 -767
  239. package/fesm2022/gravionlabs-helix-core-menu.mjs.map +1 -1
  240. package/fesm2022/gravionlabs-helix-core-menubar.mjs +1857 -984
  241. package/fesm2022/gravionlabs-helix-core-menubar.mjs.map +1 -1
  242. package/fesm2022/gravionlabs-helix-core-message.mjs +605 -288
  243. package/fesm2022/gravionlabs-helix-core-message.mjs.map +1 -1
  244. package/fesm2022/gravionlabs-helix-core-metergroup.mjs +719 -323
  245. package/fesm2022/gravionlabs-helix-core-metergroup.mjs.map +1 -1
  246. package/fesm2022/gravionlabs-helix-core-motion.mjs +1178 -694
  247. package/fesm2022/gravionlabs-helix-core-motion.mjs.map +1 -1
  248. package/fesm2022/gravionlabs-helix-core-multiselect.mjs +3437 -1839
  249. package/fesm2022/gravionlabs-helix-core-multiselect.mjs.map +1 -1
  250. package/fesm2022/gravionlabs-helix-core-orderlist.mjs +1426 -753
  251. package/fesm2022/gravionlabs-helix-core-orderlist.mjs.map +1 -1
  252. package/fesm2022/gravionlabs-helix-core-organizationchart.mjs +755 -371
  253. package/fesm2022/gravionlabs-helix-core-organizationchart.mjs.map +1 -1
  254. package/fesm2022/gravionlabs-helix-core-overlay.mjs +984 -600
  255. package/fesm2022/gravionlabs-helix-core-overlay.mjs.map +1 -1
  256. package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs +310 -107
  257. package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs.map +1 -1
  258. package/fesm2022/gravionlabs-helix-core-paginator.mjs +1076 -564
  259. package/fesm2022/gravionlabs-helix-core-paginator.mjs.map +1 -1
  260. package/fesm2022/gravionlabs-helix-core-panel.mjs +759 -364
  261. package/fesm2022/gravionlabs-helix-core-panel.mjs.map +1 -1
  262. package/fesm2022/gravionlabs-helix-core-panelmenu.mjs +1909 -888
  263. package/fesm2022/gravionlabs-helix-core-panelmenu.mjs.map +1 -1
  264. package/fesm2022/gravionlabs-helix-core-passthrough.mjs +10 -18
  265. package/fesm2022/gravionlabs-helix-core-passthrough.mjs.map +1 -1
  266. package/fesm2022/gravionlabs-helix-core-password.mjs +1624 -894
  267. package/fesm2022/gravionlabs-helix-core-password.mjs.map +1 -1
  268. package/fesm2022/gravionlabs-helix-core-picklist.mjs +2415 -1359
  269. package/fesm2022/gravionlabs-helix-core-picklist.mjs.map +1 -1
  270. package/fesm2022/gravionlabs-helix-core-popover.mjs +708 -442
  271. package/fesm2022/gravionlabs-helix-core-popover.mjs.map +1 -1
  272. package/fesm2022/gravionlabs-helix-core-progressbar.mjs +380 -170
  273. package/fesm2022/gravionlabs-helix-core-progressbar.mjs.map +1 -1
  274. package/fesm2022/gravionlabs-helix-core-progressspinner.mjs +276 -121
  275. package/fesm2022/gravionlabs-helix-core-progressspinner.mjs.map +1 -1
  276. package/fesm2022/gravionlabs-helix-core-radiobutton.mjs +525 -291
  277. package/fesm2022/gravionlabs-helix-core-radiobutton.mjs.map +1 -1
  278. package/fesm2022/gravionlabs-helix-core-rating.mjs +529 -286
  279. package/fesm2022/gravionlabs-helix-core-rating.mjs.map +1 -1
  280. package/fesm2022/gravionlabs-helix-core-ripple.mjs +194 -175
  281. package/fesm2022/gravionlabs-helix-core-ripple.mjs.map +1 -1
  282. package/fesm2022/gravionlabs-helix-core-scroller.mjs +1384 -977
  283. package/fesm2022/gravionlabs-helix-core-scroller.mjs.map +1 -1
  284. package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs +605 -458
  285. package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs.map +1 -1
  286. package/fesm2022/gravionlabs-helix-core-scrolltop.mjs +565 -261
  287. package/fesm2022/gravionlabs-helix-core-scrolltop.mjs.map +1 -1
  288. package/fesm2022/gravionlabs-helix-core-select.mjs +2959 -1644
  289. package/fesm2022/gravionlabs-helix-core-select.mjs.map +1 -1
  290. package/fesm2022/gravionlabs-helix-core-selectbutton.mjs +644 -335
  291. package/fesm2022/gravionlabs-helix-core-selectbutton.mjs.map +1 -1
  292. package/fesm2022/gravionlabs-helix-core-skeleton.mjs +315 -160
  293. package/fesm2022/gravionlabs-helix-core-skeleton.mjs.map +1 -1
  294. package/fesm2022/gravionlabs-helix-core-slider.mjs +839 -630
  295. package/fesm2022/gravionlabs-helix-core-slider.mjs.map +1 -1
  296. package/fesm2022/gravionlabs-helix-core-speeddial.mjs +1183 -700
  297. package/fesm2022/gravionlabs-helix-core-speeddial.mjs.map +1 -1
  298. package/fesm2022/gravionlabs-helix-core-splitbutton.mjs +977 -375
  299. package/fesm2022/gravionlabs-helix-core-splitbutton.mjs.map +1 -1
  300. package/fesm2022/gravionlabs-helix-core-splitter.mjs +737 -509
  301. package/fesm2022/gravionlabs-helix-core-splitter.mjs.map +1 -1
  302. package/fesm2022/gravionlabs-helix-core-stepper.mjs +1397 -628
  303. package/fesm2022/gravionlabs-helix-core-stepper.mjs.map +1 -1
  304. package/fesm2022/gravionlabs-helix-core-steps.mjs +457 -272
  305. package/fesm2022/gravionlabs-helix-core-steps.mjs.map +1 -1
  306. package/fesm2022/gravionlabs-helix-core-styleclass.mjs +466 -344
  307. package/fesm2022/gravionlabs-helix-core-styleclass.mjs.map +1 -1
  308. package/fesm2022/gravionlabs-helix-core-table.mjs +9728 -5590
  309. package/fesm2022/gravionlabs-helix-core-table.mjs.map +1 -1
  310. package/fesm2022/gravionlabs-helix-core-tabs.mjs +1350 -735
  311. package/fesm2022/gravionlabs-helix-core-tabs.mjs.map +1 -1
  312. package/fesm2022/gravionlabs-helix-core-tag.mjs +343 -154
  313. package/fesm2022/gravionlabs-helix-core-tag.mjs.map +1 -1
  314. package/fesm2022/gravionlabs-helix-core-terminal.mjs +384 -214
  315. package/fesm2022/gravionlabs-helix-core-terminal.mjs.map +1 -1
  316. package/fesm2022/gravionlabs-helix-core-textarea.mjs +347 -209
  317. package/fesm2022/gravionlabs-helix-core-textarea.mjs.map +1 -1
  318. package/fesm2022/gravionlabs-helix-core-themes-aura.mjs +4846 -5618
  319. package/fesm2022/gravionlabs-helix-core-themes-aura.mjs.map +1 -1
  320. package/fesm2022/gravionlabs-helix-core-themes-lara.mjs +4961 -5809
  321. package/fesm2022/gravionlabs-helix-core-themes-lara.mjs.map +1 -1
  322. package/fesm2022/gravionlabs-helix-core-themes-nora.mjs +4780 -5567
  323. package/fesm2022/gravionlabs-helix-core-themes-nora.mjs.map +1 -1
  324. package/fesm2022/gravionlabs-helix-core-themes-types.mjs +0 -700
  325. package/fesm2022/gravionlabs-helix-core-themes.mjs +4 -9
  326. package/fesm2022/gravionlabs-helix-core-themes.mjs.map +1 -1
  327. package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs +1967 -1048
  328. package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs.map +1 -1
  329. package/fesm2022/gravionlabs-helix-core-timeline.mjs +370 -185
  330. package/fesm2022/gravionlabs-helix-core-timeline.mjs.map +1 -1
  331. package/fesm2022/gravionlabs-helix-core-toast.mjs +1083 -526
  332. package/fesm2022/gravionlabs-helix-core-toast.mjs.map +1 -1
  333. package/fesm2022/gravionlabs-helix-core-togglebutton.mjs +609 -315
  334. package/fesm2022/gravionlabs-helix-core-togglebutton.mjs.map +1 -1
  335. package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs +504 -246
  336. package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs.map +1 -1
  337. package/fesm2022/gravionlabs-helix-core-toolbar.mjs +350 -149
  338. package/fesm2022/gravionlabs-helix-core-toolbar.mjs.map +1 -1
  339. package/fesm2022/gravionlabs-helix-core-tooltip.mjs +1035 -795
  340. package/fesm2022/gravionlabs-helix-core-tooltip.mjs.map +1 -1
  341. package/fesm2022/gravionlabs-helix-core-tree.mjs +2673 -1668
  342. package/fesm2022/gravionlabs-helix-core-tree.mjs.map +1 -1
  343. package/fesm2022/gravionlabs-helix-core-treeselect.mjs +1773 -976
  344. package/fesm2022/gravionlabs-helix-core-treeselect.mjs.map +1 -1
  345. package/fesm2022/gravionlabs-helix-core-treetable.mjs +5963 -3647
  346. package/fesm2022/gravionlabs-helix-core-treetable.mjs.map +1 -1
  347. package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs +0 -4
  348. package/fesm2022/gravionlabs-helix-core-types-accordion.mjs +0 -4
  349. package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs +0 -4
  350. package/fesm2022/gravionlabs-helix-core-types-avatar.mjs +0 -4
  351. package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs +0 -4
  352. package/fesm2022/gravionlabs-helix-core-types-badge.mjs +0 -4
  353. package/fesm2022/gravionlabs-helix-core-types-blockui.mjs +0 -4
  354. package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs +0 -4
  355. package/fesm2022/gravionlabs-helix-core-types-button.mjs +0 -4
  356. package/fesm2022/gravionlabs-helix-core-types-card.mjs +0 -4
  357. package/fesm2022/gravionlabs-helix-core-types-carousel.mjs +0 -4
  358. package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs +0 -4
  359. package/fesm2022/gravionlabs-helix-core-types-chart.mjs +0 -4
  360. package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs +0 -4
  361. package/fesm2022/gravionlabs-helix-core-types-chip.mjs +0 -4
  362. package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs +0 -4
  363. package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs +0 -4
  364. package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs +0 -4
  365. package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs +0 -4
  366. package/fesm2022/gravionlabs-helix-core-types-dataview.mjs +0 -4
  367. package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs +0 -4
  368. package/fesm2022/gravionlabs-helix-core-types-dialog.mjs +0 -4
  369. package/fesm2022/gravionlabs-helix-core-types-divider.mjs +0 -4
  370. package/fesm2022/gravionlabs-helix-core-types-dock.mjs +0 -4
  371. package/fesm2022/gravionlabs-helix-core-types-drawer.mjs +0 -4
  372. package/fesm2022/gravionlabs-helix-core-types-editor.mjs +0 -4
  373. package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs +0 -4
  374. package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs +0 -4
  375. package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs +0 -4
  376. package/fesm2022/gravionlabs-helix-core-types-fluid.mjs +0 -4
  377. package/fesm2022/gravionlabs-helix-core-types-galleria.mjs +0 -4
  378. package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs +0 -4
  379. package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs +0 -4
  380. package/fesm2022/gravionlabs-helix-core-types-image.mjs +0 -4
  381. package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs +0 -4
  382. package/fesm2022/gravionlabs-helix-core-types-inplace.mjs +0 -4
  383. package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs +0 -4
  384. package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs +0 -4
  385. package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs +0 -4
  386. package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs +0 -4
  387. package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs +0 -4
  388. package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs +0 -4
  389. package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs +0 -4
  390. package/fesm2022/gravionlabs-helix-core-types-knob.mjs +0 -4
  391. package/fesm2022/gravionlabs-helix-core-types-listbox.mjs +0 -4
  392. package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs +0 -4
  393. package/fesm2022/gravionlabs-helix-core-types-menu.mjs +0 -4
  394. package/fesm2022/gravionlabs-helix-core-types-menubar.mjs +0 -4
  395. package/fesm2022/gravionlabs-helix-core-types-message.mjs +0 -4
  396. package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs +0 -4
  397. package/fesm2022/gravionlabs-helix-core-types-motion.mjs +0 -4
  398. package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs +0 -4
  399. package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs +0 -4
  400. package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs +0 -4
  401. package/fesm2022/gravionlabs-helix-core-types-overlay.mjs +0 -4
  402. package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs +0 -4
  403. package/fesm2022/gravionlabs-helix-core-types-paginator.mjs +0 -4
  404. package/fesm2022/gravionlabs-helix-core-types-panel.mjs +0 -4
  405. package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs +0 -4
  406. package/fesm2022/gravionlabs-helix-core-types-password.mjs +0 -4
  407. package/fesm2022/gravionlabs-helix-core-types-picklist.mjs +0 -4
  408. package/fesm2022/gravionlabs-helix-core-types-popover.mjs +0 -4
  409. package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs +0 -4
  410. package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs +0 -4
  411. package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs +0 -4
  412. package/fesm2022/gravionlabs-helix-core-types-rating.mjs +0 -4
  413. package/fesm2022/gravionlabs-helix-core-types-scroller.mjs +0 -4
  414. package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs +0 -4
  415. package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs +0 -4
  416. package/fesm2022/gravionlabs-helix-core-types-select.mjs +0 -4
  417. package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs +0 -4
  418. package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs +0 -4
  419. package/fesm2022/gravionlabs-helix-core-types-slider.mjs +0 -4
  420. package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs +0 -4
  421. package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs +0 -4
  422. package/fesm2022/gravionlabs-helix-core-types-splitter.mjs +0 -4
  423. package/fesm2022/gravionlabs-helix-core-types-stepper.mjs +0 -4
  424. package/fesm2022/gravionlabs-helix-core-types-table.mjs +0 -4
  425. package/fesm2022/gravionlabs-helix-core-types-tabs.mjs +0 -4
  426. package/fesm2022/gravionlabs-helix-core-types-tag.mjs +0 -4
  427. package/fesm2022/gravionlabs-helix-core-types-terminal.mjs +0 -4
  428. package/fesm2022/gravionlabs-helix-core-types-textarea.mjs +0 -4
  429. package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs +0 -4
  430. package/fesm2022/gravionlabs-helix-core-types-timeline.mjs +0 -4
  431. package/fesm2022/gravionlabs-helix-core-types-toast.mjs +0 -4
  432. package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs +0 -4
  433. package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs +0 -4
  434. package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs +0 -4
  435. package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs +0 -4
  436. package/fesm2022/gravionlabs-helix-core-types-tree.mjs +0 -4
  437. package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs +0 -4
  438. package/fesm2022/gravionlabs-helix-core-types-treetable.mjs +0 -4
  439. package/fesm2022/gravionlabs-helix-core-uix-motion.mjs +192 -282
  440. package/fesm2022/gravionlabs-helix-core-uix-motion.mjs.map +1 -1
  441. package/fesm2022/gravionlabs-helix-core-uix-styled.mjs +827 -813
  442. package/fesm2022/gravionlabs-helix-core-uix-styled.mjs.map +1 -1
  443. package/fesm2022/gravionlabs-helix-core-uix-utils.mjs +967 -1558
  444. package/fesm2022/gravionlabs-helix-core-uix-utils.mjs.map +1 -1
  445. package/fesm2022/gravionlabs-helix-core-usestyle.mjs +62 -52
  446. package/fesm2022/gravionlabs-helix-core-usestyle.mjs.map +1 -1
  447. package/fesm2022/gravionlabs-helix-core-utils.mjs +272 -366
  448. package/fesm2022/gravionlabs-helix-core-utils.mjs.map +1 -1
  449. package/fesm2022/gravionlabs-helix-core-validators.mjs +86 -93
  450. package/fesm2022/gravionlabs-helix-core-validators.mjs.map +1 -1
  451. package/fesm2022/gravionlabs-helix-core.mjs +1 -5
  452. package/fesm2022/gravionlabs-helix-core.mjs.map +1 -1
  453. package/package.json +1 -1
  454. package/types/gravionlabs-helix-core-accordion.d.ts +317 -246
  455. package/types/gravionlabs-helix-core-animateonscroll.d.ts +89 -61
  456. package/types/gravionlabs-helix-core-api.d.ts +1743 -1777
  457. package/types/gravionlabs-helix-core-autocomplete.d.ts +1070 -750
  458. package/types/gravionlabs-helix-core-autofocus.d.ts +29 -26
  459. package/types/gravionlabs-helix-core-avatar.d.ts +165 -123
  460. package/types/gravionlabs-helix-core-avatargroup.d.ts +58 -48
  461. package/types/gravionlabs-helix-core-badge.d.ts +243 -162
  462. package/types/gravionlabs-helix-core-base.d.ts +46 -49
  463. package/types/gravionlabs-helix-core-basecomponent.d.ts +187 -170
  464. package/types/gravionlabs-helix-core-baseeditableholder.d.ts +63 -45
  465. package/types/gravionlabs-helix-core-baseinput.d.ts +121 -73
  466. package/types/gravionlabs-helix-core-basemodelholder.d.ts +9 -12
  467. package/types/gravionlabs-helix-core-bind.d.ts +36 -33
  468. package/types/gravionlabs-helix-core-blockui.d.ts +114 -90
  469. package/types/gravionlabs-helix-core-breadcrumb.d.ts +158 -132
  470. package/types/gravionlabs-helix-core-button.d.ts +716 -443
  471. package/types/gravionlabs-helix-core-buttongroup.d.ts +28 -33
  472. package/types/gravionlabs-helix-core-card.d.ts +156 -136
  473. package/types/gravionlabs-helix-core-carousel.d.ts +461 -361
  474. package/types/gravionlabs-helix-core-cascadeselect.d.ts +880 -604
  475. package/types/gravionlabs-helix-core-chart.d.ts +162 -115
  476. package/types/gravionlabs-helix-core-checkbox.d.ts +310 -211
  477. package/types/gravionlabs-helix-core-chip.d.ts +202 -147
  478. package/types/gravionlabs-helix-core-classnames.d.ts +23 -21
  479. package/types/gravionlabs-helix-core-colorpicker.d.ts +359 -290
  480. package/types/gravionlabs-helix-core-config.d.ts +249 -259
  481. package/types/gravionlabs-helix-core-confirmdialog.d.ts +498 -325
  482. package/types/gravionlabs-helix-core-confirmpopup.d.ts +273 -218
  483. package/types/gravionlabs-helix-core-contextmenu.d.ts +509 -351
  484. package/types/gravionlabs-helix-core-dataview.d.ts +507 -349
  485. package/types/gravionlabs-helix-core-datepicker.d.ts +1267 -954
  486. package/types/gravionlabs-helix-core-dialog.d.ts +758 -515
  487. package/types/gravionlabs-helix-core-divider.d.ts +126 -106
  488. package/types/gravionlabs-helix-core-dock.d.ts +219 -181
  489. package/types/gravionlabs-helix-core-dom.d.ts +97 -100
  490. package/types/gravionlabs-helix-core-dragdrop.d.ts +149 -107
  491. package/types/gravionlabs-helix-core-drawer.d.ts +382 -278
  492. package/types/gravionlabs-helix-core-dynamicdialog.d.ts +512 -519
  493. package/types/gravionlabs-helix-core-editor.d.ts +225 -173
  494. package/types/gravionlabs-helix-core-fieldset.d.ts +209 -170
  495. package/types/gravionlabs-helix-core-fileupload.d.ts +764 -533
  496. package/types/gravionlabs-helix-core-firsterror.d.ts +8 -11
  497. package/types/gravionlabs-helix-core-floatlabel.d.ts +57 -52
  498. package/types/gravionlabs-helix-core-fluid.d.ts +38 -39
  499. package/types/gravionlabs-helix-core-focustrap.d.ts +33 -30
  500. package/types/gravionlabs-helix-core-galleria.d.ts +957 -628
  501. package/types/gravionlabs-helix-core-iconfield.d.ts +72 -57
  502. package/types/gravionlabs-helix-core-icons-angledoubledown.d.ts +6 -9
  503. package/types/gravionlabs-helix-core-icons-angledoubleleft.d.ts +6 -9
  504. package/types/gravionlabs-helix-core-icons-angledoubleright.d.ts +6 -9
  505. package/types/gravionlabs-helix-core-icons-angledoubleup.d.ts +6 -9
  506. package/types/gravionlabs-helix-core-icons-angledown.d.ts +6 -9
  507. package/types/gravionlabs-helix-core-icons-angleleft.d.ts +6 -9
  508. package/types/gravionlabs-helix-core-icons-angleright.d.ts +6 -9
  509. package/types/gravionlabs-helix-core-icons-angleup.d.ts +6 -9
  510. package/types/gravionlabs-helix-core-icons-arrowdown.d.ts +8 -11
  511. package/types/gravionlabs-helix-core-icons-arrowdownleft.d.ts +6 -9
  512. package/types/gravionlabs-helix-core-icons-arrowdownright.d.ts +6 -9
  513. package/types/gravionlabs-helix-core-icons-arrowleft.d.ts +8 -11
  514. package/types/gravionlabs-helix-core-icons-arrowright.d.ts +6 -9
  515. package/types/gravionlabs-helix-core-icons-arrowup.d.ts +8 -11
  516. package/types/gravionlabs-helix-core-icons-ban.d.ts +8 -11
  517. package/types/gravionlabs-helix-core-icons-bars.d.ts +6 -9
  518. package/types/gravionlabs-helix-core-icons-baseicon.d.ts +25 -24
  519. package/types/gravionlabs-helix-core-icons-blank.d.ts +6 -9
  520. package/types/gravionlabs-helix-core-icons-calendar.d.ts +6 -9
  521. package/types/gravionlabs-helix-core-icons-caretleft.d.ts +6 -9
  522. package/types/gravionlabs-helix-core-icons-caretright.d.ts +6 -9
  523. package/types/gravionlabs-helix-core-icons-check.d.ts +6 -9
  524. package/types/gravionlabs-helix-core-icons-chevrondown.d.ts +6 -9
  525. package/types/gravionlabs-helix-core-icons-chevronleft.d.ts +6 -9
  526. package/types/gravionlabs-helix-core-icons-chevronright.d.ts +6 -9
  527. package/types/gravionlabs-helix-core-icons-chevronup.d.ts +6 -9
  528. package/types/gravionlabs-helix-core-icons-exclamationtriangle.d.ts +8 -11
  529. package/types/gravionlabs-helix-core-icons-eye.d.ts +6 -9
  530. package/types/gravionlabs-helix-core-icons-eyeslash.d.ts +8 -11
  531. package/types/gravionlabs-helix-core-icons-filter.d.ts +8 -11
  532. package/types/gravionlabs-helix-core-icons-filterfill.d.ts +6 -9
  533. package/types/gravionlabs-helix-core-icons-filterslash.d.ts +8 -11
  534. package/types/gravionlabs-helix-core-icons-home.d.ts +8 -11
  535. package/types/gravionlabs-helix-core-icons-infocircle.d.ts +8 -11
  536. package/types/gravionlabs-helix-core-icons-minus.d.ts +6 -9
  537. package/types/gravionlabs-helix-core-icons-pencil.d.ts +8 -11
  538. package/types/gravionlabs-helix-core-icons-plus.d.ts +8 -11
  539. package/types/gravionlabs-helix-core-icons-refresh.d.ts +8 -11
  540. package/types/gravionlabs-helix-core-icons-search.d.ts +8 -11
  541. package/types/gravionlabs-helix-core-icons-searchminus.d.ts +8 -11
  542. package/types/gravionlabs-helix-core-icons-searchplus.d.ts +8 -11
  543. package/types/gravionlabs-helix-core-icons-sortalt.d.ts +8 -11
  544. package/types/gravionlabs-helix-core-icons-sortamountdown.d.ts +8 -11
  545. package/types/gravionlabs-helix-core-icons-sortamountupalt.d.ts +8 -11
  546. package/types/gravionlabs-helix-core-icons-spinner.d.ts +8 -11
  547. package/types/gravionlabs-helix-core-icons-star.d.ts +8 -11
  548. package/types/gravionlabs-helix-core-icons-starfill.d.ts +8 -11
  549. package/types/gravionlabs-helix-core-icons-thlarge.d.ts +8 -11
  550. package/types/gravionlabs-helix-core-icons-times.d.ts +6 -9
  551. package/types/gravionlabs-helix-core-icons-timescircle.d.ts +8 -11
  552. package/types/gravionlabs-helix-core-icons-trash.d.ts +8 -11
  553. package/types/gravionlabs-helix-core-icons-undo.d.ts +8 -11
  554. package/types/gravionlabs-helix-core-icons-upload.d.ts +8 -11
  555. package/types/gravionlabs-helix-core-icons-windowmaximize.d.ts +8 -11
  556. package/types/gravionlabs-helix-core-icons-windowminimize.d.ts +8 -11
  557. package/types/gravionlabs-helix-core-icons.d.ts +53 -53
  558. package/types/gravionlabs-helix-core-iftalabel.d.ts +42 -43
  559. package/types/gravionlabs-helix-core-image.d.ts +440 -331
  560. package/types/gravionlabs-helix-core-imagecompare.d.ts +99 -84
  561. package/types/gravionlabs-helix-core-inplace.d.ts +188 -149
  562. package/types/gravionlabs-helix-core-inputgroup.d.ts +55 -50
  563. package/types/gravionlabs-helix-core-inputgroupaddon.d.ts +54 -43
  564. package/types/gravionlabs-helix-core-inputicon.d.ts +49 -38
  565. package/types/gravionlabs-helix-core-inputmask.d.ts +499 -353
  566. package/types/gravionlabs-helix-core-inputnumber.d.ts +581 -410
  567. package/types/gravionlabs-helix-core-inputotp.d.ts +206 -158
  568. package/types/gravionlabs-helix-core-inputtext.d.ts +142 -102
  569. package/types/gravionlabs-helix-core-keyfilter.d.ts +62 -53
  570. package/types/gravionlabs-helix-core-knob.d.ts +265 -188
  571. package/types/gravionlabs-helix-core-listbox.d.ts +897 -638
  572. package/types/gravionlabs-helix-core-megamenu.d.ts +512 -365
  573. package/types/gravionlabs-helix-core-menu.d.ts +441 -343
  574. package/types/gravionlabs-helix-core-menubar.d.ts +499 -361
  575. package/types/gravionlabs-helix-core-message.d.ts +267 -195
  576. package/types/gravionlabs-helix-core-metergroup.d.ts +256 -190
  577. package/types/gravionlabs-helix-core-motion.d.ts +602 -385
  578. package/types/gravionlabs-helix-core-multiselect.d.ts +1256 -855
  579. package/types/gravionlabs-helix-core-orderlist.d.ts +504 -351
  580. package/types/gravionlabs-helix-core-organizationchart.d.ts +264 -203
  581. package/types/gravionlabs-helix-core-overlay.d.ts +417 -307
  582. package/types/gravionlabs-helix-core-overlaybadge.d.ts +107 -71
  583. package/types/gravionlabs-helix-core-paginator.d.ts +445 -336
  584. package/types/gravionlabs-helix-core-panel.d.ts +285 -225
  585. package/types/gravionlabs-helix-core-panelmenu.d.ts +499 -340
  586. package/types/gravionlabs-helix-core-passthrough.d.ts +5 -7
  587. package/types/gravionlabs-helix-core-password.d.ts +657 -463
  588. package/types/gravionlabs-helix-core-picklist.d.ts +938 -647
  589. package/types/gravionlabs-helix-core-popover.d.ts +259 -190
  590. package/types/gravionlabs-helix-core-progressbar.d.ts +141 -106
  591. package/types/gravionlabs-helix-core-progressspinner.d.ts +101 -76
  592. package/types/gravionlabs-helix-core-radiobutton.d.ts +228 -174
  593. package/types/gravionlabs-helix-core-rating.d.ts +217 -178
  594. package/types/gravionlabs-helix-core-ripple.d.ts +43 -48
  595. package/types/gravionlabs-helix-core-scroller.d.ts +505 -371
  596. package/types/gravionlabs-helix-core-scrollpanel.d.ts +151 -141
  597. package/types/gravionlabs-helix-core-scrolltop.d.ts +195 -140
  598. package/types/gravionlabs-helix-core-select.d.ts +1095 -749
  599. package/types/gravionlabs-helix-core-selectbutton.d.ts +238 -165
  600. package/types/gravionlabs-helix-core-skeleton.d.ts +123 -88
  601. package/types/gravionlabs-helix-core-slider.d.ts +259 -201
  602. package/types/gravionlabs-helix-core-speeddial.d.ts +511 -390
  603. package/types/gravionlabs-helix-core-splitbutton.d.ts +422 -267
  604. package/types/gravionlabs-helix-core-splitter.d.ts +246 -192
  605. package/types/gravionlabs-helix-core-stepper.d.ts +428 -269
  606. package/types/gravionlabs-helix-core-steps.d.ts +162 -134
  607. package/types/gravionlabs-helix-core-styleclass.d.ts +165 -107
  608. package/types/gravionlabs-helix-core-table.d.ts +2908 -1935
  609. package/types/gravionlabs-helix-core-tabs.d.ts +471 -311
  610. package/types/gravionlabs-helix-core-tag.d.ts +123 -98
  611. package/types/gravionlabs-helix-core-terminal.d.ts +142 -124
  612. package/types/gravionlabs-helix-core-textarea.d.ts +147 -110
  613. package/types/gravionlabs-helix-core-themes-aura.d.ts +957 -942
  614. package/types/gravionlabs-helix-core-themes-lara.d.ts +968 -953
  615. package/types/gravionlabs-helix-core-themes-nora.d.ts +954 -939
  616. package/types/gravionlabs-helix-core-themes-types.d.ts +17940 -18746
  617. package/types/gravionlabs-helix-core-themes.d.ts +8 -11
  618. package/types/gravionlabs-helix-core-tieredmenu.d.ts +583 -398
  619. package/types/gravionlabs-helix-core-timeline.d.ts +145 -125
  620. package/types/gravionlabs-helix-core-toast.d.ts +408 -275
  621. package/types/gravionlabs-helix-core-togglebutton.d.ts +264 -188
  622. package/types/gravionlabs-helix-core-toggleswitch.d.ts +202 -150
  623. package/types/gravionlabs-helix-core-toolbar.d.ts +100 -90
  624. package/types/gravionlabs-helix-core-tooltip.d.ts +362 -256
  625. package/types/gravionlabs-helix-core-tree.d.ts +902 -630
  626. package/types/gravionlabs-helix-core-treeselect.d.ts +770 -559
  627. package/types/gravionlabs-helix-core-treetable.d.ts +1715 -1205
  628. package/types/gravionlabs-helix-core-ts-helpers.d.ts +4 -6
  629. package/types/gravionlabs-helix-core-types-accordion.d.ts +42 -45
  630. package/types/gravionlabs-helix-core-types-autocomplete.d.ts +230 -233
  631. package/types/gravionlabs-helix-core-types-avatar.d.ts +23 -26
  632. package/types/gravionlabs-helix-core-types-avatargroup.d.ts +11 -14
  633. package/types/gravionlabs-helix-core-types-badge.d.ts +11 -14
  634. package/types/gravionlabs-helix-core-types-blockui.d.ts +18 -21
  635. package/types/gravionlabs-helix-core-types-breadcrumb.d.ts +65 -68
  636. package/types/gravionlabs-helix-core-types-button.d.ts +90 -93
  637. package/types/gravionlabs-helix-core-types-card.d.ts +54 -57
  638. package/types/gravionlabs-helix-core-types-carousel.d.ts +107 -110
  639. package/types/gravionlabs-helix-core-types-cascadeselect.d.ts +151 -157
  640. package/types/gravionlabs-helix-core-types-chart.d.ts +15 -18
  641. package/types/gravionlabs-helix-core-types-checkbox.d.ts +48 -51
  642. package/types/gravionlabs-helix-core-types-chip.d.ts +49 -52
  643. package/types/gravionlabs-helix-core-types-colorpicker.d.ts +58 -61
  644. package/types/gravionlabs-helix-core-types-confirmdialog.d.ts +116 -119
  645. package/types/gravionlabs-helix-core-types-confirmpopup.d.ts +74 -77
  646. package/types/gravionlabs-helix-core-types-contextmenu.d.ts +71 -74
  647. package/types/gravionlabs-helix-core-types-dataview.d.ts +178 -181
  648. package/types/gravionlabs-helix-core-types-datepicker.d.ts +436 -439
  649. package/types/gravionlabs-helix-core-types-dialog.d.ts +86 -89
  650. package/types/gravionlabs-helix-core-types-divider.d.ts +11 -14
  651. package/types/gravionlabs-helix-core-types-dock.d.ts +44 -47
  652. package/types/gravionlabs-helix-core-types-drawer.d.ts +61 -64
  653. package/types/gravionlabs-helix-core-types-editor.d.ts +143 -146
  654. package/types/gravionlabs-helix-core-types-fieldset.d.ts +69 -73
  655. package/types/gravionlabs-helix-core-types-fileupload.d.ts +260 -265
  656. package/types/gravionlabs-helix-core-types-floatlabel.d.ts +11 -14
  657. package/types/gravionlabs-helix-core-types-fluid.d.ts +11 -14
  658. package/types/gravionlabs-helix-core-types-galleria.d.ts +204 -207
  659. package/types/gravionlabs-helix-core-types-iconfield.d.ts +11 -14
  660. package/types/gravionlabs-helix-core-types-iftalabel.d.ts +11 -14
  661. package/types/gravionlabs-helix-core-types-image.d.ts +113 -116
  662. package/types/gravionlabs-helix-core-types-imagecompare.d.ts +22 -25
  663. package/types/gravionlabs-helix-core-types-inplace.d.ts +46 -49
  664. package/types/gravionlabs-helix-core-types-inputgroup.d.ts +11 -14
  665. package/types/gravionlabs-helix-core-types-inputgroupaddon.d.ts +11 -14
  666. package/types/gravionlabs-helix-core-types-inputicon.d.ts +11 -14
  667. package/types/gravionlabs-helix-core-types-inputmask.d.ts +30 -33
  668. package/types/gravionlabs-helix-core-types-inputnumber.d.ts +68 -71
  669. package/types/gravionlabs-helix-core-types-inputotp.d.ts +67 -70
  670. package/types/gravionlabs-helix-core-types-inputtext.d.ts +7 -10
  671. package/types/gravionlabs-helix-core-types-knob.d.ts +23 -26
  672. package/types/gravionlabs-helix-core-types-listbox.d.ts +262 -266
  673. package/types/gravionlabs-helix-core-types-megamenu.d.ts +112 -115
  674. package/types/gravionlabs-helix-core-types-menu.d.ts +83 -86
  675. package/types/gravionlabs-helix-core-types-menubar.d.ts +98 -101
  676. package/types/gravionlabs-helix-core-types-message.d.ts +61 -64
  677. package/types/gravionlabs-helix-core-types-metergroup.d.ts +135 -138
  678. package/types/gravionlabs-helix-core-types-motion.d.ts +11 -14
  679. package/types/gravionlabs-helix-core-types-multiselect.d.ts +302 -306
  680. package/types/gravionlabs-helix-core-types-orderlist.d.ts +125 -128
  681. package/types/gravionlabs-helix-core-types-organizationchart.d.ts +90 -96
  682. package/types/gravionlabs-helix-core-types-overlay.d.ts +31 -34
  683. package/types/gravionlabs-helix-core-types-overlaybadge.d.ts +17 -20
  684. package/types/gravionlabs-helix-core-types-paginator.d.ts +131 -134
  685. package/types/gravionlabs-helix-core-types-panel.d.ts +89 -93
  686. package/types/gravionlabs-helix-core-types-panelmenu.d.ts +105 -108
  687. package/types/gravionlabs-helix-core-types-password.d.ts +94 -97
  688. package/types/gravionlabs-helix-core-types-picklist.d.ts +240 -250
  689. package/types/gravionlabs-helix-core-types-popover.d.ts +33 -36
  690. package/types/gravionlabs-helix-core-types-progressbar.d.ts +32 -35
  691. package/types/gravionlabs-helix-core-types-progressspinner.d.ts +19 -22
  692. package/types/gravionlabs-helix-core-types-radiobutton.d.ts +29 -32
  693. package/types/gravionlabs-helix-core-types-rating.d.ts +62 -65
  694. package/types/gravionlabs-helix-core-types-scroller.d.ts +142 -146
  695. package/types/gravionlabs-helix-core-types-scrollpanel.d.ts +30 -33
  696. package/types/gravionlabs-helix-core-types-scrolltop.d.ts +35 -38
  697. package/types/gravionlabs-helix-core-types-select.d.ts +245 -248
  698. package/types/gravionlabs-helix-core-types-selectbutton.d.ts +56 -59
  699. package/types/gravionlabs-helix-core-types-skeleton.d.ts +11 -14
  700. package/types/gravionlabs-helix-core-types-slider.d.ts +50 -53
  701. package/types/gravionlabs-helix-core-types-speeddial.d.ts +69 -72
  702. package/types/gravionlabs-helix-core-types-splitbutton.d.ts +41 -44
  703. package/types/gravionlabs-helix-core-types-splitter.d.ts +36 -40
  704. package/types/gravionlabs-helix-core-types-stepper.d.ts +68 -71
  705. package/types/gravionlabs-helix-core-types-table.d.ts +721 -727
  706. package/types/gravionlabs-helix-core-types-tabs.d.ts +51 -54
  707. package/types/gravionlabs-helix-core-types-tag.d.ts +26 -29
  708. package/types/gravionlabs-helix-core-types-terminal.d.ts +43 -46
  709. package/types/gravionlabs-helix-core-types-textarea.d.ts +11 -14
  710. package/types/gravionlabs-helix-core-types-tieredmenu.d.ts +69 -72
  711. package/types/gravionlabs-helix-core-types-timeline.d.ts +58 -61
  712. package/types/gravionlabs-helix-core-types-toast.d.ts +86 -89
  713. package/types/gravionlabs-helix-core-types-togglebutton.d.ts +51 -54
  714. package/types/gravionlabs-helix-core-types-toggleswitch.d.ts +41 -44
  715. package/types/gravionlabs-helix-core-types-toolbar.d.ts +34 -37
  716. package/types/gravionlabs-helix-core-types-tooltip.d.ts +15 -18
  717. package/types/gravionlabs-helix-core-types-tree.d.ts +230 -239
  718. package/types/gravionlabs-helix-core-types-treeselect.d.ts +195 -199
  719. package/types/gravionlabs-helix-core-types-treetable.d.ts +486 -491
  720. package/types/gravionlabs-helix-core-uix-motion.d.ts +177 -190
  721. package/types/gravionlabs-helix-core-uix-styled.d.ts +254 -277
  722. package/types/gravionlabs-helix-core-uix-utils.d.ts +39 -176
  723. package/types/gravionlabs-helix-core-usestyle.d.ts +12 -15
  724. package/types/gravionlabs-helix-core-utils.d.ts +45 -50
  725. package/types/gravionlabs-helix-core-validators.d.ts +29 -34
  726. package/types/gravionlabs-helix-core.d.ts +2 -2
  727. package/fesm2022/gravionlabs-helix-core-icons.mjs.map +0 -1
  728. package/fesm2022/gravionlabs-helix-core-themes-types.mjs.map +0 -1
  729. package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs.map +0 -1
  730. package/fesm2022/gravionlabs-helix-core-types-accordion.mjs.map +0 -1
  731. package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs.map +0 -1
  732. package/fesm2022/gravionlabs-helix-core-types-avatar.mjs.map +0 -1
  733. package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs.map +0 -1
  734. package/fesm2022/gravionlabs-helix-core-types-badge.mjs.map +0 -1
  735. package/fesm2022/gravionlabs-helix-core-types-blockui.mjs.map +0 -1
  736. package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs.map +0 -1
  737. package/fesm2022/gravionlabs-helix-core-types-button.mjs.map +0 -1
  738. package/fesm2022/gravionlabs-helix-core-types-card.mjs.map +0 -1
  739. package/fesm2022/gravionlabs-helix-core-types-carousel.mjs.map +0 -1
  740. package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs.map +0 -1
  741. package/fesm2022/gravionlabs-helix-core-types-chart.mjs.map +0 -1
  742. package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs.map +0 -1
  743. package/fesm2022/gravionlabs-helix-core-types-chip.mjs.map +0 -1
  744. package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs.map +0 -1
  745. package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs.map +0 -1
  746. package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs.map +0 -1
  747. package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs.map +0 -1
  748. package/fesm2022/gravionlabs-helix-core-types-dataview.mjs.map +0 -1
  749. package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs.map +0 -1
  750. package/fesm2022/gravionlabs-helix-core-types-dialog.mjs.map +0 -1
  751. package/fesm2022/gravionlabs-helix-core-types-divider.mjs.map +0 -1
  752. package/fesm2022/gravionlabs-helix-core-types-dock.mjs.map +0 -1
  753. package/fesm2022/gravionlabs-helix-core-types-drawer.mjs.map +0 -1
  754. package/fesm2022/gravionlabs-helix-core-types-editor.mjs.map +0 -1
  755. package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs.map +0 -1
  756. package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs.map +0 -1
  757. package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs.map +0 -1
  758. package/fesm2022/gravionlabs-helix-core-types-fluid.mjs.map +0 -1
  759. package/fesm2022/gravionlabs-helix-core-types-galleria.mjs.map +0 -1
  760. package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs.map +0 -1
  761. package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs.map +0 -1
  762. package/fesm2022/gravionlabs-helix-core-types-image.mjs.map +0 -1
  763. package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs.map +0 -1
  764. package/fesm2022/gravionlabs-helix-core-types-inplace.mjs.map +0 -1
  765. package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs.map +0 -1
  766. package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs.map +0 -1
  767. package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs.map +0 -1
  768. package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs.map +0 -1
  769. package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs.map +0 -1
  770. package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs.map +0 -1
  771. package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs.map +0 -1
  772. package/fesm2022/gravionlabs-helix-core-types-knob.mjs.map +0 -1
  773. package/fesm2022/gravionlabs-helix-core-types-listbox.mjs.map +0 -1
  774. package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs.map +0 -1
  775. package/fesm2022/gravionlabs-helix-core-types-menu.mjs.map +0 -1
  776. package/fesm2022/gravionlabs-helix-core-types-menubar.mjs.map +0 -1
  777. package/fesm2022/gravionlabs-helix-core-types-message.mjs.map +0 -1
  778. package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs.map +0 -1
  779. package/fesm2022/gravionlabs-helix-core-types-motion.mjs.map +0 -1
  780. package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs.map +0 -1
  781. package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs.map +0 -1
  782. package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs.map +0 -1
  783. package/fesm2022/gravionlabs-helix-core-types-overlay.mjs.map +0 -1
  784. package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs.map +0 -1
  785. package/fesm2022/gravionlabs-helix-core-types-paginator.mjs.map +0 -1
  786. package/fesm2022/gravionlabs-helix-core-types-panel.mjs.map +0 -1
  787. package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs.map +0 -1
  788. package/fesm2022/gravionlabs-helix-core-types-password.mjs.map +0 -1
  789. package/fesm2022/gravionlabs-helix-core-types-picklist.mjs.map +0 -1
  790. package/fesm2022/gravionlabs-helix-core-types-popover.mjs.map +0 -1
  791. package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs.map +0 -1
  792. package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs.map +0 -1
  793. package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs.map +0 -1
  794. package/fesm2022/gravionlabs-helix-core-types-rating.mjs.map +0 -1
  795. package/fesm2022/gravionlabs-helix-core-types-scroller.mjs.map +0 -1
  796. package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs.map +0 -1
  797. package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs.map +0 -1
  798. package/fesm2022/gravionlabs-helix-core-types-select.mjs.map +0 -1
  799. package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs.map +0 -1
  800. package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs.map +0 -1
  801. package/fesm2022/gravionlabs-helix-core-types-slider.mjs.map +0 -1
  802. package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs.map +0 -1
  803. package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs.map +0 -1
  804. package/fesm2022/gravionlabs-helix-core-types-splitter.mjs.map +0 -1
  805. package/fesm2022/gravionlabs-helix-core-types-stepper.mjs.map +0 -1
  806. package/fesm2022/gravionlabs-helix-core-types-table.mjs.map +0 -1
  807. package/fesm2022/gravionlabs-helix-core-types-tabs.mjs.map +0 -1
  808. package/fesm2022/gravionlabs-helix-core-types-tag.mjs.map +0 -1
  809. package/fesm2022/gravionlabs-helix-core-types-terminal.mjs.map +0 -1
  810. package/fesm2022/gravionlabs-helix-core-types-textarea.mjs.map +0 -1
  811. package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs.map +0 -1
  812. package/fesm2022/gravionlabs-helix-core-types-timeline.mjs.map +0 -1
  813. package/fesm2022/gravionlabs-helix-core-types-toast.mjs.map +0 -1
  814. package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs.map +0 -1
  815. package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs.map +0 -1
  816. package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs.map +0 -1
  817. package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs.map +0 -1
  818. package/fesm2022/gravionlabs-helix-core-types-tree.mjs.map +0 -1
  819. package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs.map +0 -1
  820. package/fesm2022/gravionlabs-helix-core-types-treetable.mjs.map +0 -1
@@ -1,871 +1,885 @@
1
- import { deepMerge, EventBus, isString, isArray, isObject, isNumber, matchRegex, toKebabCase, isNotEmpty, getKeyValue, isEmpty, resolve, mergeKeys, minifyCSS, createStyleMarkup } from '@gravionlabs/helix-core/uix/utils';
2
-
1
+ import { EventBus, createStyleMarkup, deepMerge, getKeyValue, isArray, isEmpty, isNotEmpty, isNumber, isObject, isString, matchRegex, mergeKeys, minifyCSS, resolve, toKebabCase } from "@gravionlabs/helix-core/uix/utils";
3
2
  function definePreset(...presets) {
4
- return deepMerge(...presets);
3
+ return deepMerge(...presets);
5
4
  }
6
-
7
5
  const ThemeService = EventBus();
8
-
9
- const EXPR_REGEX = /{([^}]*)}/g; // Exp: '{a}', '{a.b}', '{a.b.c}' etc.
6
+ const EXPR_REGEX = /{([^}]*)}/g;
10
7
  const CALC_REGEX = /(\d+\s+[\+\-\*\/]\s+\d+)/g;
11
8
  const VAR_REGEX = /var\([^)]+\)/g;
12
9
  function toTokenKey(str) {
13
- return isString(str) ? str.replace(/[A-Z]/g, (c, i) => (i === 0 ? c : '.' + c.toLowerCase())).toLowerCase() : str;
10
+ return isString(str) ? str.replace(/[A-Z]/g, (c, i) => i === 0 ? c : "." + c.toLowerCase()).toLowerCase() : str;
14
11
  }
15
12
  function merge(value1, value2) {
16
- if (isArray(value1)) {
17
- value1.push(...(value2 || []));
18
- }
19
- else if (isObject(value1)) {
20
- Object.assign(value1, value2);
21
- }
13
+ if (isArray(value1)) value1.push(...value2 || []);
14
+ else if (isObject(value1)) Object.assign(value1, value2);
22
15
  }
23
16
  function toValue(value) {
24
- // Check for Figma ($value-$type)
25
- return isObject(value) && value.hasOwnProperty('$value') && value.hasOwnProperty('$type') ? value.$value : value;
17
+ return isObject(value) && value.hasOwnProperty("$value") && value.hasOwnProperty("$type") ? value.$value : value;
26
18
  }
27
- function toUnit(value, variable = '') {
28
- const excludedProperties = ['opacity', 'z-index', 'line-height', 'font-weight', 'flex', 'flex-grow', 'flex-shrink', 'order'];
29
- if (!excludedProperties.some((property) => variable.endsWith(property))) {
30
- const val = `${value}`.trim();
31
- const valArr = val.split(' ');
32
- return valArr.map((v) => (isNumber(v) ? `${v}px` : v)).join(' ');
33
- }
34
- return value;
19
+ function toUnit(value, variable = "") {
20
+ if (![
21
+ "opacity",
22
+ "z-index",
23
+ "line-height",
24
+ "font-weight",
25
+ "flex",
26
+ "flex-grow",
27
+ "flex-shrink",
28
+ "order"
29
+ ].some((property) => variable.endsWith(property))) return `${value}`.trim().split(" ").map((v) => isNumber(v) ? `${v}px` : v).join(" ");
30
+ return value;
35
31
  }
36
32
  function toNormalizePrefix(prefix) {
37
- return prefix.replaceAll(/ /g, '').replace(/[^\w]/g, '-');
33
+ return prefix.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
38
34
  }
39
- function toNormalizeVariable(prefix = '', variable = '') {
40
- return toNormalizePrefix(`${isString(prefix, false) && isString(variable, false) ? `${prefix}-` : prefix}${variable}`);
35
+ function toNormalizeVariable(prefix = "", variable = "") {
36
+ return toNormalizePrefix(`${isString(prefix, false) && isString(variable, false) ? `${prefix}-` : prefix}${variable}`);
41
37
  }
42
- function getVariableName(prefix = '', variable = '') {
43
- return `--${toNormalizeVariable(prefix, variable)}`;
38
+ function getVariableName(prefix = "", variable = "") {
39
+ return `--${toNormalizeVariable(prefix, variable)}`;
44
40
  }
45
- function hasOddBraces(str = '') {
46
- const openBraces = (str.match(/{/g) || []).length;
47
- const closeBraces = (str.match(/}/g) || []).length;
48
- return (openBraces + closeBraces) % 2 !== 0;
41
+ function hasOddBraces(str = "") {
42
+ return ((str.match(/{/g) || []).length + (str.match(/}/g) || []).length) % 2 !== 0;
49
43
  }
50
- function getVariableValue(value, variable = '', prefix = '', excludedKeyRegexes = [], fallback) {
51
- if (isString(value)) {
52
- const val = value.trim();
53
- if (hasOddBraces(val)) {
54
- return undefined;
55
- }
56
- else if (matchRegex(val, EXPR_REGEX)) {
57
- const _val = val.replaceAll(EXPR_REGEX, (v) => {
58
- const path = v.replace(/{|}/g, '');
59
- const keys = path.split('.').filter((_v) => !excludedKeyRegexes.some((_r) => matchRegex(_v, _r)));
60
- return `var(${getVariableName(prefix, toKebabCase(keys.join('-')))}${isNotEmpty(fallback) ? `, ${fallback}` : ''})`;
61
- });
62
- return matchRegex(_val.replace(VAR_REGEX, '0'), CALC_REGEX) ? `calc(${_val})` : _val;
63
- }
64
- return val; //toUnit(val, variable);
65
- }
66
- else if (isNumber(value)) {
67
- return value; //toUnit(value, variable);
68
- }
69
- return undefined;
44
+ function getVariableValue(value, variable = "", prefix = "", excludedKeyRegexes = [], fallback) {
45
+ if (isString(value)) {
46
+ const val = value.trim();
47
+ if (hasOddBraces(val)) return;
48
+ else if (matchRegex(val, EXPR_REGEX)) {
49
+ const _val = val.replaceAll(EXPR_REGEX, (v) => {
50
+ return `var(${getVariableName(prefix, toKebabCase(v.replace(/{|}/g, "").split(".").filter((_v) => !excludedKeyRegexes.some((_r) => matchRegex(_v, _r))).join("-")))}${isNotEmpty(fallback) ? `, ${fallback}` : ""})`;
51
+ });
52
+ return matchRegex(_val.replace(VAR_REGEX, "0"), CALC_REGEX) ? `calc(${_val})` : _val;
53
+ }
54
+ return val;
55
+ } else if (isNumber(value)) return value;
70
56
  }
71
57
  function getComputedValue(obj = {}, value) {
72
- if (isString(value)) {
73
- const val = value.trim();
74
- return matchRegex(val, EXPR_REGEX) ? val.replaceAll(EXPR_REGEX, (v) => getKeyValue(obj, v.replace(/{|}/g, ''))) : val;
75
- }
76
- else if (isNumber(value)) {
77
- return value;
78
- }
79
- return undefined;
58
+ if (isString(value)) {
59
+ const val = value.trim();
60
+ return matchRegex(val, EXPR_REGEX) ? val.replaceAll(EXPR_REGEX, (v) => getKeyValue(obj, v.replace(/{|}/g, ""))) : val;
61
+ } else if (isNumber(value)) return value;
80
62
  }
81
63
  function setProperty(properties, key, value) {
82
- if (isString(key, false)) {
83
- properties.push(`${key}:${value};`);
84
- }
64
+ if (isString(key, false)) properties.push(`${key}:${value};`);
85
65
  }
86
66
  function getRule(selector, properties) {
87
- if (selector) {
88
- return `${selector}{${properties}}`;
89
- }
90
- return '';
67
+ if (selector) return `${selector}{${properties}}`;
68
+ return "";
91
69
  }
92
70
  function evaluateDtExpressions(input, fn) {
93
- if (input.indexOf('dt(') === -1)
94
- return input;
95
- function fastParseArgs(str, fn) {
96
- const args = [];
97
- let i = 0;
98
- let current = '';
99
- let quote = null;
100
- let depth = 0;
101
- while (i <= str.length) {
102
- const c = str[i];
103
- if ((c === '"' || c === "'" || c === '`') && str[i - 1] !== '\\') {
104
- quote = quote === c ? null : c;
105
- }
106
- if (!quote) {
107
- if (c === '(')
108
- depth++;
109
- if (c === ')')
110
- depth--;
111
- if ((c === ',' || i === str.length) && depth === 0) {
112
- const arg = current.trim();
113
- if (arg.startsWith('dt(')) {
114
- args.push(evaluateDtExpressions(arg, fn));
115
- }
116
- else {
117
- args.push(parseArg(arg));
118
- }
119
- current = '';
120
- i++;
121
- continue;
122
- }
123
- }
124
- if (c !== undefined)
125
- current += c;
126
- i++;
127
- }
128
- return args;
129
- }
130
- function parseArg(arg) {
131
- const q = arg[0];
132
- if ((q === '"' || q === "'" || q === '`') && arg[arg.length - 1] === q) {
133
- return arg.slice(1, -1);
134
- }
135
- const num = Number(arg);
136
- return isNaN(num) ? arg : num;
137
- }
138
- const indices = [];
139
- const stack = [];
140
- for (let i = 0; i < input.length; i++) {
141
- if (input[i] === 'd' && input.slice(i, i + 3) === 'dt(') {
142
- stack.push(i);
143
- i += 2;
144
- }
145
- else if (input[i] === ')' && stack.length > 0) {
146
- const start = stack.pop();
147
- if (stack.length === 0) {
148
- indices.push([start, i]);
149
- }
150
- }
151
- }
152
- if (!indices.length)
153
- return input;
154
- for (let i = indices.length - 1; i >= 0; i--) {
155
- const [start, end] = indices[i];
156
- const inner = input.slice(start + 3, end);
157
- const args = fastParseArgs(inner, fn);
158
- const resolved = fn(...args);
159
- input = input.slice(0, start) + resolved + input.slice(end + 1);
160
- }
161
- return input;
71
+ if (input.indexOf("dt(") === -1) return input;
72
+ function fastParseArgs(str, fn) {
73
+ const args = [];
74
+ let i = 0;
75
+ let current = "";
76
+ let quote = null;
77
+ let depth = 0;
78
+ while (i <= str.length) {
79
+ const c = str[i];
80
+ if ((c === "\"" || c === "'" || c === "`") && str[i - 1] !== "\\") quote = quote === c ? null : c;
81
+ if (!quote) {
82
+ if (c === "(") depth++;
83
+ if (c === ")") depth--;
84
+ if ((c === "," || i === str.length) && depth === 0) {
85
+ const arg = current.trim();
86
+ if (arg.startsWith("dt(")) args.push(evaluateDtExpressions(arg, fn));
87
+ else args.push(parseArg(arg));
88
+ current = "";
89
+ i++;
90
+ continue;
91
+ }
92
+ }
93
+ if (c !== void 0) current += c;
94
+ i++;
95
+ }
96
+ return args;
97
+ }
98
+ function parseArg(arg) {
99
+ const q = arg[0];
100
+ if ((q === "\"" || q === "'" || q === "`") && arg[arg.length - 1] === q) return arg.slice(1, -1);
101
+ const num = Number(arg);
102
+ return isNaN(num) ? arg : num;
103
+ }
104
+ const indices = [];
105
+ const stack = [];
106
+ for (let i = 0; i < input.length; i++) if (input[i] === "d" && input.slice(i, i + 3) === "dt(") {
107
+ stack.push(i);
108
+ i += 2;
109
+ } else if (input[i] === ")" && stack.length > 0) {
110
+ const start = stack.pop();
111
+ if (stack.length === 0) indices.push([start, i]);
112
+ }
113
+ if (!indices.length) return input;
114
+ for (let i = indices.length - 1; i >= 0; i--) {
115
+ const [start, end] = indices[i];
116
+ const resolved = fn(...fastParseArgs(input.slice(start + 3, end), fn));
117
+ input = input.slice(0, start) + resolved + input.slice(end + 1);
118
+ }
119
+ return input;
162
120
  }
163
-
164
121
  function normalizeColor(color) {
165
- if (color.length === 4) {
166
- return `#${color[1]}${color[1]}${color[2]}${color[2]}${color[3]}${color[3]}`;
167
- }
168
- return color;
122
+ if (color.length === 4) return `#${color[1]}${color[1]}${color[2]}${color[2]}${color[3]}${color[3]}`;
123
+ return color;
169
124
  }
170
125
  function hexToRgb(hex) {
171
- const bigint = parseInt(hex.substring(1), 16);
172
- const r = (bigint >> 16) & 255;
173
- const g = (bigint >> 8) & 255;
174
- const b = bigint & 255;
175
- return { r, g, b };
126
+ const bigint = parseInt(hex.substring(1), 16);
127
+ return {
128
+ r: bigint >> 16 & 255,
129
+ g: bigint >> 8 & 255,
130
+ b: bigint & 255
131
+ };
176
132
  }
177
133
  function rgbToHex(r, g, b) {
178
- return `#${r.toString(16).padStart(2, '0')}${g.toString(16).padStart(2, '0')}${b.toString(16).padStart(2, '0')}`;
134
+ return `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b.toString(16).padStart(2, "0")}`;
179
135
  }
180
- var mix = (color1, color2, weight) => {
181
- color1 = normalizeColor(color1);
182
- color2 = normalizeColor(color2);
183
- const p = weight / 100;
184
- const w = p * 2 - 1;
185
- const w1 = (w + 1) / 2.0;
186
- const w2 = 1 - w1;
187
- const rgb1 = hexToRgb(color1);
188
- const rgb2 = hexToRgb(color2);
189
- const r = Math.round(rgb1.r * w1 + rgb2.r * w2);
190
- const g = Math.round(rgb1.g * w1 + rgb2.g * w2);
191
- const b = Math.round(rgb1.b * w1 + rgb2.b * w2);
192
- return rgbToHex(r, g, b);
136
+ var mix_default = (color1, color2, weight) => {
137
+ color1 = normalizeColor(color1);
138
+ color2 = normalizeColor(color2);
139
+ const w1 = (weight / 100 * 2 - 1 + 1) / 2;
140
+ const w2 = 1 - w1;
141
+ const rgb1 = hexToRgb(color1);
142
+ const rgb2 = hexToRgb(color2);
143
+ return rgbToHex(Math.round(rgb1.r * w1 + rgb2.r * w2), Math.round(rgb1.g * w1 + rgb2.g * w2), Math.round(rgb1.b * w1 + rgb2.b * w2));
193
144
  };
194
-
195
- var shade = (color, percent) => mix('#000000', color, percent);
196
-
197
- var tint = (color, percent) => mix('#ffffff', color, percent);
198
-
199
- const scales = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
200
- var palette = (color) => {
201
- if (matchRegex(color, EXPR_REGEX)) {
202
- const token = color.replace(/{|}/g, '');
203
- return scales.reduce((acc, scale) => {
204
- acc[scale] = `{${token}.${scale}}`;
205
- return acc;
206
- }, {});
207
- }
208
- return typeof color === 'string'
209
- ? scales.reduce((acc, scale, i) => {
210
- acc[scale] = i <= 5 ? tint(color, (5 - i) * 19) : shade(color, (i - 5) * 15);
211
- return acc;
212
- }, {})
213
- : color;
145
+ var shade_default = (color, percent) => mix_default("#000000", color, percent);
146
+ var tint_default = (color, percent) => mix_default("#ffffff", color, percent);
147
+ const scales = [
148
+ 50,
149
+ 100,
150
+ 200,
151
+ 300,
152
+ 400,
153
+ 500,
154
+ 600,
155
+ 700,
156
+ 800,
157
+ 900,
158
+ 950
159
+ ];
160
+ var palette_default = (color) => {
161
+ if (matchRegex(color, EXPR_REGEX)) {
162
+ const token = color.replace(/{|}/g, "");
163
+ return scales.reduce((acc, scale) => {
164
+ acc[scale] = `{${token}.${scale}}`;
165
+ return acc;
166
+ }, {});
167
+ }
168
+ return typeof color === "string" ? scales.reduce((acc, scale, i) => {
169
+ acc[scale] = i <= 5 ? tint_default(color, (5 - i) * 19) : shade_default(color, (i - 5) * 15);
170
+ return acc;
171
+ }, {}) : color;
214
172
  };
215
-
216
173
  const $dt = (tokenPath) => {
217
- const theme = Theme.getTheme();
218
- const variable = dtwt(theme, tokenPath, undefined, 'variable');
219
- const name = variable?.match(/--[\w-]+/g)?.[0];
220
- const value = dtwt(theme, tokenPath, undefined, 'value');
221
- return {
222
- name,
223
- variable,
224
- value
225
- };
174
+ const theme = config_default.getTheme();
175
+ const variable = dtwt(theme, tokenPath, void 0, "variable");
176
+ return {
177
+ name: variable?.match(/--[\w-]+/g)?.[0],
178
+ variable,
179
+ value: dtwt(theme, tokenPath, void 0, "value")
180
+ };
226
181
  };
227
182
  const dt = (...args) => {
228
- return dtwt(Theme.getTheme(), ...args);
183
+ return dtwt(config_default.getTheme(), ...args);
229
184
  };
230
185
  const dtwt = (theme = {}, tokenPath, fallback, type) => {
231
- if (tokenPath) {
232
- const { variable: VARIABLE, options: OPTIONS } = Theme.defaults || {};
233
- const { prefix, transform } = theme?.options || OPTIONS || {};
234
- const token = matchRegex(tokenPath, EXPR_REGEX) ? tokenPath : `{${tokenPath}}`;
235
- const isStrictTransform = type === 'value' || (isEmpty(type) && transform === 'strict'); // @todo - TRANSFORM: strict | lenient(default)
236
- return isStrictTransform ? Theme.getTokenValue(tokenPath) : getVariableValue(token, undefined, prefix, [VARIABLE.excludedKeyRegex], fallback);
237
- }
238
- return '';
186
+ if (tokenPath) {
187
+ const { variable: VARIABLE, options: OPTIONS } = config_default.defaults || {};
188
+ const { prefix, transform } = theme?.options || OPTIONS || {};
189
+ const token = matchRegex(tokenPath, EXPR_REGEX) ? tokenPath : `{${tokenPath}}`;
190
+ return type === "value" || isEmpty(type) && transform === "strict" ? config_default.getTokenValue(tokenPath) : getVariableValue(token, void 0, prefix, [VARIABLE.excludedKeyRegex], fallback);
191
+ }
192
+ return "";
239
193
  };
240
-
241
194
  function css(strings, ...exprs) {
242
- if (strings instanceof Array) {
243
- const raw = strings.reduce((acc, str, i) => acc + str + (resolve(exprs[i], { dt }) ?? ''), '');
244
- return evaluateDtExpressions(raw, dt);
245
- }
246
- return resolve(strings, { dt });
195
+ if (strings instanceof Array) return evaluateDtExpressions(strings.reduce((acc, str, i) => acc + str + (resolve(exprs[i], { dt }) ?? ""), ""), dt);
196
+ return resolve(strings, { dt });
247
197
  }
248
-
249
198
  const $t = (theme = {}) => {
250
- let { preset: _preset, options: _options } = theme;
251
- return {
252
- preset(value) {
253
- _preset = _preset ? mergeKeys(_preset, value) : value;
254
- return this;
255
- },
256
- options(value) {
257
- _options = _options ? { ..._options, ...value } : value;
258
- return this;
259
- },
260
- // features
261
- primaryPalette(primary) {
262
- const { semantic } = _preset || {};
263
- _preset = { ..._preset, semantic: { ...semantic, primary } };
264
- return this;
265
- },
266
- surfacePalette(surface) {
267
- const { semantic } = _preset || {};
268
- const lightSurface = surface && Object.hasOwn(surface, 'light') ? surface.light : surface;
269
- const darkSurface = surface && Object.hasOwn(surface, 'dark') ? surface.dark : surface;
270
- const newColorScheme = {
271
- colorScheme: {
272
- light: { ...semantic?.colorScheme?.light, ...(!!lightSurface && { surface: lightSurface }) },
273
- dark: { ...semantic?.colorScheme?.dark, ...(!!darkSurface && { surface: darkSurface }) }
274
- }
275
- };
276
- _preset = { ..._preset, semantic: { ...semantic, ...newColorScheme } };
277
- return this;
278
- },
279
- // actions
280
- define({ useDefaultPreset = false, useDefaultOptions = false } = {}) {
281
- return {
282
- preset: useDefaultPreset ? Theme.getPreset() : _preset,
283
- options: useDefaultOptions ? Theme.getOptions() : _options
284
- };
285
- },
286
- update({ mergePresets = true, mergeOptions = true } = {}) {
287
- const newTheme = {
288
- preset: mergePresets ? mergeKeys(Theme.getPreset(), _preset) : _preset,
289
- options: mergeOptions ? { ...Theme.getOptions(), ..._options } : _options
290
- };
291
- Theme.setTheme(newTheme);
292
- return newTheme;
293
- },
294
- use(options) {
295
- const newTheme = this.define(options);
296
- Theme.setTheme(newTheme);
297
- return newTheme;
298
- }
299
- };
199
+ let { preset: _preset, options: _options } = theme;
200
+ return {
201
+ preset(value) {
202
+ _preset = _preset ? mergeKeys(_preset, value) : value;
203
+ return this;
204
+ },
205
+ options(value) {
206
+ _options = _options ? {
207
+ ..._options,
208
+ ...value
209
+ } : value;
210
+ return this;
211
+ },
212
+ primaryPalette(primary) {
213
+ const { semantic } = _preset || {};
214
+ _preset = {
215
+ ..._preset,
216
+ semantic: {
217
+ ...semantic,
218
+ primary
219
+ }
220
+ };
221
+ return this;
222
+ },
223
+ surfacePalette(surface) {
224
+ const { semantic } = _preset || {};
225
+ const lightSurface = surface && Object.hasOwn(surface, "light") ? surface.light : surface;
226
+ const darkSurface = surface && Object.hasOwn(surface, "dark") ? surface.dark : surface;
227
+ const newColorScheme = { colorScheme: {
228
+ light: {
229
+ ...semantic?.colorScheme?.light,
230
+ ...!!lightSurface && { surface: lightSurface }
231
+ },
232
+ dark: {
233
+ ...semantic?.colorScheme?.dark,
234
+ ...!!darkSurface && { surface: darkSurface }
235
+ }
236
+ } };
237
+ _preset = {
238
+ ..._preset,
239
+ semantic: {
240
+ ...semantic,
241
+ ...newColorScheme
242
+ }
243
+ };
244
+ return this;
245
+ },
246
+ define({ useDefaultPreset = false, useDefaultOptions = false } = {}) {
247
+ return {
248
+ preset: useDefaultPreset ? config_default.getPreset() : _preset,
249
+ options: useDefaultOptions ? config_default.getOptions() : _options
250
+ };
251
+ },
252
+ update({ mergePresets = true, mergeOptions = true } = {}) {
253
+ const newTheme = {
254
+ preset: mergePresets ? mergeKeys(config_default.getPreset(), _preset) : _preset,
255
+ options: mergeOptions ? {
256
+ ...config_default.getOptions(),
257
+ ..._options
258
+ } : _options
259
+ };
260
+ config_default.setTheme(newTheme);
261
+ return newTheme;
262
+ },
263
+ use(options) {
264
+ const newTheme = this.define(options);
265
+ config_default.setTheme(newTheme);
266
+ return newTheme;
267
+ }
268
+ };
300
269
  };
301
-
302
- function toVariables (theme, options = {}) {
303
- const VARIABLE = Theme.defaults.variable;
304
- const { prefix = VARIABLE.prefix, selector = VARIABLE.selector, excludedKeyRegex = VARIABLE.excludedKeyRegex } = options;
305
- const tokens = [];
306
- const variables = [];
307
- const stack = [{ node: theme, path: prefix }];
308
- while (stack.length) {
309
- const { node, path } = stack.pop();
310
- for (const key in node) {
311
- const raw = node[key];
312
- const val = toValue(raw);
313
- const skipNormalize = matchRegex(key, excludedKeyRegex);
314
- const variablePath = skipNormalize ? toNormalizeVariable(path) : toNormalizeVariable(path, toKebabCase(key));
315
- if (isObject(val)) {
316
- stack.push({ node: val, path: variablePath });
317
- }
318
- else {
319
- const varName = getVariableName(variablePath);
320
- const varValue = getVariableValue(val, variablePath, prefix, [excludedKeyRegex]);
321
- setProperty(variables, varName, varValue);
322
- let token = variablePath;
323
- if (prefix && token.startsWith(prefix + '-')) {
324
- token = token.slice(prefix.length + 1);
325
- }
326
- tokens.push(token.replace(/-/g, '.'));
327
- }
328
- }
329
- }
330
- const declarations = variables.join('');
331
- return {
332
- value: variables,
333
- tokens,
334
- declarations,
335
- css: getRule(selector, declarations)
336
- };
270
+ function toVariables_default(theme, options = {}) {
271
+ const VARIABLE = config_default.defaults.variable;
272
+ const { prefix = VARIABLE.prefix, selector = VARIABLE.selector, excludedKeyRegex = VARIABLE.excludedKeyRegex } = options;
273
+ const tokens = [];
274
+ const variables = [];
275
+ const stack = [{
276
+ node: theme,
277
+ path: prefix
278
+ }];
279
+ while (stack.length) {
280
+ const { node, path } = stack.pop();
281
+ for (const key in node) {
282
+ const raw = node[key];
283
+ const val = toValue(raw);
284
+ const variablePath = matchRegex(key, excludedKeyRegex) ? toNormalizeVariable(path) : toNormalizeVariable(path, toKebabCase(key));
285
+ if (isObject(val)) stack.push({
286
+ node: val,
287
+ path: variablePath
288
+ });
289
+ else {
290
+ setProperty(variables, getVariableName(variablePath), getVariableValue(val, variablePath, prefix, [excludedKeyRegex]));
291
+ let token = variablePath;
292
+ if (prefix && token.startsWith(prefix + "-")) token = token.slice(prefix.length + 1);
293
+ tokens.push(token.replace(/-/g, "."));
294
+ }
295
+ }
296
+ }
297
+ const declarations = variables.join("");
298
+ return {
299
+ value: variables,
300
+ tokens,
301
+ declarations,
302
+ css: getRule(selector, declarations)
303
+ };
337
304
  }
338
-
339
- var ThemeUtils = {
340
- regex: {
341
- rules: {
342
- class: {
343
- pattern: /^\.([a-zA-Z][\w-]*)$/,
344
- resolve(value) {
345
- return { type: 'class', selector: value, matched: this.pattern.test(value.trim()) };
346
- }
347
- },
348
- attr: {
349
- pattern: /^\[(.*)\]$/,
350
- resolve(value) {
351
- return { type: 'attr', selector: `:root${value},:host${value}`, matched: this.pattern.test(value.trim()) };
352
- }
353
- },
354
- media: {
355
- pattern: /^@media (.*)$/,
356
- resolve(value) {
357
- return { type: 'media', selector: value, matched: this.pattern.test(value.trim()) };
358
- }
359
- },
360
- system: {
361
- pattern: /^system$/,
362
- resolve(value) {
363
- return { type: 'system', selector: '@media (prefers-color-scheme: dark)', matched: this.pattern.test(value.trim()) };
364
- }
365
- },
366
- custom: {
367
- resolve(value) {
368
- return { type: 'custom', selector: value, matched: true };
369
- }
370
- }
371
- },
372
- resolve(value) {
373
- const rules = Object.keys(this.rules)
374
- .filter((k) => k !== 'custom')
375
- .map((r) => this.rules[r]);
376
- return [value].flat().map((v) => rules.map((r) => r.resolve(v)).find((rr) => rr.matched) ?? this.rules.custom.resolve(v));
377
- }
378
- },
379
- _toVariables(theme, options) {
380
- return toVariables(theme, { prefix: options?.prefix });
381
- },
382
- getCommon({ name = '', theme = {}, params, set, defaults }) {
383
- const { preset, options } = theme;
384
- let primitive_css, primitive_tokens, semantic_css, semantic_tokens, global_css, global_tokens, style;
385
- // @todo - check if options is not empty
386
- if (isNotEmpty(preset) && options.transform !== 'strict') {
387
- const { primitive, semantic, extend } = preset;
388
- const { colorScheme, ...sRest } = semantic || {};
389
- const { colorScheme: eColorScheme, ...eRest } = extend || {};
390
- const { dark, ...csRest } = colorScheme || {};
391
- const { dark: eDark, ...ecsRest } = eColorScheme || {};
392
- const prim_var = isNotEmpty(primitive) ? this._toVariables({ primitive }, options) : {};
393
- const sRest_var = isNotEmpty(sRest) ? this._toVariables({ semantic: sRest }, options) : {};
394
- const csRest_var = isNotEmpty(csRest) ? this._toVariables({ light: csRest }, options) : {};
395
- const csDark_var = isNotEmpty(dark) ? this._toVariables({ dark }, options) : {};
396
- const eRest_var = isNotEmpty(eRest) ? this._toVariables({ semantic: eRest }, options) : {};
397
- const ecsRest_var = isNotEmpty(ecsRest) ? this._toVariables({ light: ecsRest }, options) : {};
398
- const ecsDark_var = isNotEmpty(eDark) ? this._toVariables({ dark: eDark }, options) : {};
399
- const [prim_css, prim_tokens] = [prim_var.declarations ?? '', prim_var.tokens];
400
- const [sRest_css, sRest_tokens] = [sRest_var.declarations ?? '', sRest_var.tokens || []];
401
- const [csRest_css, csRest_tokens] = [csRest_var.declarations ?? '', csRest_var.tokens || []];
402
- const [csDark_css, csDark_tokens] = [csDark_var.declarations ?? '', csDark_var.tokens || []];
403
- const [eRest_css, eRest_tokens] = [eRest_var.declarations ?? '', eRest_var.tokens || []];
404
- const [ecsRest_css, ecsRest_tokens] = [ecsRest_var.declarations ?? '', ecsRest_var.tokens || []];
405
- const [ecsDark_css, ecsDark_tokens] = [ecsDark_var.declarations ?? '', ecsDark_var.tokens || []];
406
- primitive_css = this.transformCSS(name, prim_css, 'light', 'variable', options, set, defaults);
407
- primitive_tokens = prim_tokens;
408
- const semantic_light_css = this.transformCSS(name, `${sRest_css}${csRest_css}`, 'light', 'variable', options, set, defaults);
409
- const semantic_dark_css = this.transformCSS(name, `${csDark_css}`, 'dark', 'variable', options, set, defaults);
410
- semantic_css = `${semantic_light_css}${semantic_dark_css}`;
411
- semantic_tokens = [...new Set([...sRest_tokens, ...csRest_tokens, ...csDark_tokens])];
412
- const global_light_css = this.transformCSS(name, `${eRest_css}${ecsRest_css}color-scheme:light`, 'light', 'variable', options, set, defaults);
413
- const global_dark_css = this.transformCSS(name, `${ecsDark_css}color-scheme:dark`, 'dark', 'variable', options, set, defaults);
414
- global_css = `${global_light_css}${global_dark_css}`;
415
- global_tokens = [...new Set([...eRest_tokens, ...ecsRest_tokens, ...ecsDark_tokens])];
416
- style = resolve(preset.css, { dt });
417
- }
418
- return {
419
- primitive: {
420
- css: primitive_css,
421
- tokens: primitive_tokens
422
- },
423
- semantic: {
424
- css: semantic_css,
425
- tokens: semantic_tokens
426
- },
427
- global: {
428
- css: global_css,
429
- tokens: global_tokens
430
- },
431
- style
432
- };
433
- },
434
- getPreset({ name = '', preset = {}, options, params, set, defaults, selector }) {
435
- let p_css, p_tokens, p_style;
436
- if (isNotEmpty(preset) && options.transform !== 'strict') {
437
- const _name = name.replace('-directive', '');
438
- const { colorScheme, extend, css, ...vRest } = preset;
439
- const { colorScheme: eColorScheme, ...evRest } = extend || {};
440
- const { dark, ...csRest } = colorScheme || {};
441
- const { dark: ecsDark, ...ecsRest } = eColorScheme || {};
442
- const vRest_var = isNotEmpty(vRest) ? this._toVariables({ [_name]: { ...vRest, ...evRest } }, options) : {};
443
- const csRest_var = isNotEmpty(csRest) ? this._toVariables({ [_name]: { ...csRest, ...ecsRest } }, options) : {};
444
- const csDark_var = isNotEmpty(dark) ? this._toVariables({ [_name]: { ...dark, ...ecsDark } }, options) : {};
445
- const [vRest_css, vRest_tokens] = [vRest_var.declarations ?? '', vRest_var.tokens || []];
446
- const [csRest_css, csRest_tokens] = [csRest_var.declarations ?? '', csRest_var.tokens || []];
447
- const [csDark_css, csDark_tokens] = [csDark_var.declarations ?? '', csDark_var.tokens || []];
448
- const light_variable_css = this.transformCSS(_name, `${vRest_css}${csRest_css}`, 'light', 'variable', options, set, defaults, selector);
449
- const dark_variable_css = this.transformCSS(_name, csDark_css, 'dark', 'variable', options, set, defaults, selector);
450
- p_css = `${light_variable_css}${dark_variable_css}`;
451
- p_tokens = [...new Set([...vRest_tokens, ...csRest_tokens, ...csDark_tokens])];
452
- p_style = resolve(css, { dt });
453
- }
454
- return {
455
- css: p_css,
456
- tokens: p_tokens,
457
- style: p_style
458
- };
459
- },
460
- getPresetC({ name = '', theme = {}, params, set, defaults }) {
461
- const { preset, options } = theme;
462
- const cPreset = preset?.components?.[name];
463
- return this.getPreset({ name, preset: cPreset, options, params, set, defaults });
464
- },
465
- // @deprecated - use getPresetC instead
466
- getPresetD({ name = '', theme = {}, params, set, defaults }) {
467
- const dName = name.replace('-directive', '');
468
- const { preset, options } = theme;
469
- const dPreset = preset?.components?.[dName] || preset?.directives?.[dName];
470
- return this.getPreset({ name: dName, preset: dPreset, options, params, set, defaults });
471
- },
472
- applyDarkColorScheme(options) {
473
- return !(options.darkModeSelector === 'none' || options.darkModeSelector === false);
474
- },
475
- getColorSchemeOption(options, defaults) {
476
- return this.applyDarkColorScheme(options) ? this.regex.resolve(options.darkModeSelector === true ? defaults.options.darkModeSelector : (options.darkModeSelector ?? defaults.options.darkModeSelector)) : [];
477
- },
478
- getLayerOrder(name, options = {}, params, defaults) {
479
- const { cssLayer } = options;
480
- if (cssLayer) {
481
- const order = resolve(cssLayer.order || cssLayer.name || 'primeui', params);
482
- return `@layer ${order}`;
483
- }
484
- return '';
485
- },
486
- getCommonStyleSheet({ name = '', theme = {}, params, props = {}, set, defaults }) {
487
- const common = this.getCommon({ name, theme, params, set, defaults });
488
- const _props = Object.entries(props)
489
- .reduce((acc, [k, v]) => acc.push(`${k}="${v}"`) && acc, [])
490
- .join(' ');
491
- return Object.entries(common || {})
492
- .reduce((acc, [key, value]) => {
493
- if (isObject(value) && Object.hasOwn(value, 'css')) {
494
- const _css = minifyCSS(value.css);
495
- const id = `${key}-variables`;
496
- acc.push(`<style type="text/css" data-primevue-style-id="${id}" ${_props}>${_css}</style>`); // @todo data-primevue -> data-primeui check in primevue usestyle
497
- }
498
- return acc;
499
- }, [])
500
- .join('');
501
- },
502
- getStyleSheet({ name = '', theme = {}, params, props = {}, set, defaults }) {
503
- const options = { name, theme, params, set, defaults };
504
- const preset_css = (name.includes('-directive') ? this.getPresetD(options) : this.getPresetC(options))?.css;
505
- const _props = Object.entries(props)
506
- .reduce((acc, [k, v]) => acc.push(`${k}="${v}"`) && acc, [])
507
- .join(' ');
508
- return preset_css ? `<style type="text/css" data-primevue-style-id="${name}-variables" ${_props}>${minifyCSS(preset_css)}</style>` : ''; // @todo check
509
- },
510
- createTokens(obj = {}, defaults, parentKey = '', parentPath = '', tokens = {}) {
511
- const computedFn = function (colorScheme, tokenPathMap = {}, stack = []) {
512
- if (stack.includes(this.path)) {
513
- console.warn(`Circular reference detected at ${this.path}`);
514
- return {
515
- colorScheme,
516
- path: this.path,
517
- paths: tokenPathMap,
518
- value: undefined
519
- };
520
- }
521
- stack.push(this.path);
522
- tokenPathMap['name'] = this.path;
523
- tokenPathMap['binding'] ||= {};
524
- let computedValue = this.value;
525
- if (typeof this.value === 'string' && EXPR_REGEX.test(this.value)) {
526
- const val = this.value.trim();
527
- const _val = val.replace(EXPR_REGEX, (v) => {
528
- const refPath = v.slice(1, -1);
529
- const refToken = this.tokens[refPath];
530
- if (!refToken) {
531
- console.warn(`Token not found for path: ${refPath}`);
532
- return `__UNRESOLVED__`;
533
- }
534
- const computed = refToken.computed(colorScheme, tokenPathMap, stack);
535
- if (Array.isArray(computed) && computed.length === 2) {
536
- return `light-dark(${computed[0].value},${computed[1].value})`;
537
- }
538
- else {
539
- return computed?.value ?? `__UNRESOLVED__`;
540
- }
541
- });
542
- computedValue = CALC_REGEX.test(_val.replace(VAR_REGEX, '0')) ? `calc(${_val})` : _val;
543
- }
544
- if (isEmpty(tokenPathMap['binding'])) {
545
- delete tokenPathMap['binding'];
546
- }
547
- stack.pop();
548
- return {
549
- colorScheme,
550
- path: this.path,
551
- paths: tokenPathMap,
552
- value: computedValue.includes('__UNRESOLVED__') ? undefined : computedValue
553
- };
554
- };
555
- const traverse = (obj, parentKey, parentPath) => {
556
- Object.entries(obj).forEach(([key, value]) => {
557
- const currentKey = matchRegex(key, defaults.variable.excludedKeyRegex) ? parentKey : parentKey ? `${parentKey}.${toTokenKey(key)}` : toTokenKey(key);
558
- const currentPath = parentPath ? `${parentPath}.${key}` : key;
559
- if (isObject(value)) {
560
- traverse(value, currentKey, currentPath);
561
- }
562
- else {
563
- if (!tokens[currentKey]) {
564
- tokens[currentKey] = {
565
- paths: [],
566
- computed: (colorScheme, tokenPathMap = {}, stack = []) => {
567
- if (tokens[currentKey].paths.length === 1) {
568
- return tokens[currentKey].paths[0].computed(tokens[currentKey].paths[0].scheme, tokenPathMap['binding'], stack);
569
- }
570
- else if (colorScheme && colorScheme !== 'none') {
571
- for (let i = 0; i < tokens[currentKey].paths.length; i++) {
572
- const p = tokens[currentKey].paths[i];
573
- if (p.scheme === colorScheme) {
574
- return p.computed(colorScheme, tokenPathMap['binding'], stack);
575
- }
576
- }
577
- }
578
- return tokens[currentKey].paths.map((p) => p.computed(p.scheme, tokenPathMap[p.scheme], stack));
579
- }
580
- };
581
- }
582
- tokens[currentKey].paths.push({
583
- path: currentPath,
584
- value,
585
- scheme: currentPath.includes('colorScheme.light') ? 'light' : currentPath.includes('colorScheme.dark') ? 'dark' : 'none',
586
- computed: computedFn,
587
- tokens
588
- });
589
- }
590
- });
591
- };
592
- traverse(obj, parentKey, parentPath);
593
- return tokens;
594
- },
595
- getTokenValue(tokens, path, defaults) {
596
- const normalizePath = (str) => {
597
- const strArr = str.split('.');
598
- return strArr.filter((s) => !matchRegex(s.toLowerCase(), defaults.variable.excludedKeyRegex)).join('.');
599
- };
600
- const token = normalizePath(path);
601
- const colorScheme = path.includes('colorScheme.light') ? 'light' : path.includes('colorScheme.dark') ? 'dark' : undefined;
602
- const computedValues = [tokens[token]?.computed(colorScheme)].flat().filter((computed) => computed);
603
- return computedValues.length === 1
604
- ? computedValues[0].value
605
- : computedValues.reduce((acc = {}, computed) => {
606
- const { colorScheme: cs, ...rest } = computed;
607
- acc[cs] = rest;
608
- return acc;
609
- }, undefined);
610
- },
611
- getSelectorRule(selector1, selector2, type, css) {
612
- return type === 'class' || type === 'attr' ? getRule(isNotEmpty(selector2) ? `${selector1}${selector2},${selector1} ${selector2}` : selector1, css) : getRule(selector1, getRule(selector2 ?? ':root,:host', css));
613
- },
614
- transformCSS(name, css, mode, type, options = {}, set, defaults, selector) {
615
- if (isNotEmpty(css)) {
616
- const { cssLayer } = options;
617
- if (type !== 'style') {
618
- const colorSchemeOption = this.getColorSchemeOption(options, defaults);
619
- css =
620
- mode === 'dark'
621
- ? colorSchemeOption.reduce((acc, { type, selector: _selector }) => {
622
- if (isNotEmpty(_selector)) {
623
- acc += _selector.includes('[CSS]') ? _selector.replace('[CSS]', css) : this.getSelectorRule(_selector, selector, type, css);
624
- }
625
- return acc;
626
- }, '')
627
- : getRule(selector ?? ':root,:host', css);
628
- }
629
- if (cssLayer) {
630
- const layerOptions = {
631
- name: 'primeui',
632
- order: 'primeui'
633
- };
634
- isObject(cssLayer) && (layerOptions.name = resolve(cssLayer.name, { name, type }));
635
- if (isNotEmpty(layerOptions.name)) {
636
- css = getRule(`@layer ${layerOptions.name}`, css);
637
- set?.layerNames(layerOptions.name);
638
- }
639
- }
640
- return css;
641
- }
642
- return '';
643
- }
305
+ var themeUtils_default = {
306
+ regex: {
307
+ rules: {
308
+ class: {
309
+ pattern: /^\.([a-zA-Z][\w-]*)$/,
310
+ resolve(value) {
311
+ return {
312
+ type: "class",
313
+ selector: value,
314
+ matched: this.pattern.test(value.trim())
315
+ };
316
+ }
317
+ },
318
+ attr: {
319
+ pattern: /^\[(.*)\]$/,
320
+ resolve(value) {
321
+ return {
322
+ type: "attr",
323
+ selector: `:root${value},:host${value}`,
324
+ matched: this.pattern.test(value.trim())
325
+ };
326
+ }
327
+ },
328
+ media: {
329
+ pattern: /^@media (.*)$/,
330
+ resolve(value) {
331
+ return {
332
+ type: "media",
333
+ selector: value,
334
+ matched: this.pattern.test(value.trim())
335
+ };
336
+ }
337
+ },
338
+ system: {
339
+ pattern: /^system$/,
340
+ resolve(value) {
341
+ return {
342
+ type: "system",
343
+ selector: "@media (prefers-color-scheme: dark)",
344
+ matched: this.pattern.test(value.trim())
345
+ };
346
+ }
347
+ },
348
+ custom: { resolve(value) {
349
+ return {
350
+ type: "custom",
351
+ selector: value,
352
+ matched: true
353
+ };
354
+ } }
355
+ },
356
+ resolve(value) {
357
+ const rules = Object.keys(this.rules).filter((k) => k !== "custom").map((r) => this.rules[r]);
358
+ return [value].flat().map((v) => rules.map((r) => r.resolve(v)).find((rr) => rr.matched) ?? this.rules.custom.resolve(v));
359
+ }
360
+ },
361
+ _toVariables(theme, options) {
362
+ return toVariables_default(theme, { prefix: options?.prefix });
363
+ },
364
+ getCommon({ name = "", theme = {}, params, set, defaults }) {
365
+ const { preset, options } = theme;
366
+ let primitive_css, primitive_tokens, semantic_css, semantic_tokens, global_css, global_tokens, style;
367
+ if (isNotEmpty(preset) && options.transform !== "strict") {
368
+ const { primitive, semantic, extend } = preset;
369
+ const { colorScheme, ...sRest } = semantic || {};
370
+ const { colorScheme: eColorScheme, ...eRest } = extend || {};
371
+ const { dark, ...csRest } = colorScheme || {};
372
+ const { dark: eDark, ...ecsRest } = eColorScheme || {};
373
+ const prim_var = isNotEmpty(primitive) ? this._toVariables({ primitive }, options) : {};
374
+ const sRest_var = isNotEmpty(sRest) ? this._toVariables({ semantic: sRest }, options) : {};
375
+ const csRest_var = isNotEmpty(csRest) ? this._toVariables({ light: csRest }, options) : {};
376
+ const csDark_var = isNotEmpty(dark) ? this._toVariables({ dark }, options) : {};
377
+ const eRest_var = isNotEmpty(eRest) ? this._toVariables({ semantic: eRest }, options) : {};
378
+ const ecsRest_var = isNotEmpty(ecsRest) ? this._toVariables({ light: ecsRest }, options) : {};
379
+ const ecsDark_var = isNotEmpty(eDark) ? this._toVariables({ dark: eDark }, options) : {};
380
+ const [prim_css, prim_tokens] = [prim_var.declarations ?? "", prim_var.tokens];
381
+ const [sRest_css, sRest_tokens] = [sRest_var.declarations ?? "", sRest_var.tokens || []];
382
+ const [csRest_css, csRest_tokens] = [csRest_var.declarations ?? "", csRest_var.tokens || []];
383
+ const [csDark_css, csDark_tokens] = [csDark_var.declarations ?? "", csDark_var.tokens || []];
384
+ const [eRest_css, eRest_tokens] = [eRest_var.declarations ?? "", eRest_var.tokens || []];
385
+ const [ecsRest_css, ecsRest_tokens] = [ecsRest_var.declarations ?? "", ecsRest_var.tokens || []];
386
+ const [ecsDark_css, ecsDark_tokens] = [ecsDark_var.declarations ?? "", ecsDark_var.tokens || []];
387
+ primitive_css = this.transformCSS(name, prim_css, "light", "variable", options, set, defaults);
388
+ primitive_tokens = prim_tokens;
389
+ semantic_css = `${this.transformCSS(name, `${sRest_css}${csRest_css}`, "light", "variable", options, set, defaults)}${this.transformCSS(name, `${csDark_css}`, "dark", "variable", options, set, defaults)}`;
390
+ semantic_tokens = [.../* @__PURE__ */ new Set([
391
+ ...sRest_tokens,
392
+ ...csRest_tokens,
393
+ ...csDark_tokens
394
+ ])];
395
+ global_css = `${this.transformCSS(name, `${eRest_css}${ecsRest_css}color-scheme:light`, "light", "variable", options, set, defaults)}${this.transformCSS(name, `${ecsDark_css}color-scheme:dark`, "dark", "variable", options, set, defaults)}`;
396
+ global_tokens = [.../* @__PURE__ */ new Set([
397
+ ...eRest_tokens,
398
+ ...ecsRest_tokens,
399
+ ...ecsDark_tokens
400
+ ])];
401
+ style = resolve(preset.css, { dt });
402
+ }
403
+ return {
404
+ primitive: {
405
+ css: primitive_css,
406
+ tokens: primitive_tokens
407
+ },
408
+ semantic: {
409
+ css: semantic_css,
410
+ tokens: semantic_tokens
411
+ },
412
+ global: {
413
+ css: global_css,
414
+ tokens: global_tokens
415
+ },
416
+ style
417
+ };
418
+ },
419
+ getPreset({ name = "", preset = {}, options, params, set, defaults, selector }) {
420
+ let p_css, p_tokens, p_style;
421
+ if (isNotEmpty(preset) && options.transform !== "strict") {
422
+ const _name = name.replace("-directive", "");
423
+ const { colorScheme, extend, css, ...vRest } = preset;
424
+ const { colorScheme: eColorScheme, ...evRest } = extend || {};
425
+ const { dark, ...csRest } = colorScheme || {};
426
+ const { dark: ecsDark, ...ecsRest } = eColorScheme || {};
427
+ const vRest_var = isNotEmpty(vRest) ? this._toVariables({ [_name]: {
428
+ ...vRest,
429
+ ...evRest
430
+ } }, options) : {};
431
+ const csRest_var = isNotEmpty(csRest) ? this._toVariables({ [_name]: {
432
+ ...csRest,
433
+ ...ecsRest
434
+ } }, options) : {};
435
+ const csDark_var = isNotEmpty(dark) ? this._toVariables({ [_name]: {
436
+ ...dark,
437
+ ...ecsDark
438
+ } }, options) : {};
439
+ const [vRest_css, vRest_tokens] = [vRest_var.declarations ?? "", vRest_var.tokens || []];
440
+ const [csRest_css, csRest_tokens] = [csRest_var.declarations ?? "", csRest_var.tokens || []];
441
+ const [csDark_css, csDark_tokens] = [csDark_var.declarations ?? "", csDark_var.tokens || []];
442
+ p_css = `${this.transformCSS(_name, `${vRest_css}${csRest_css}`, "light", "variable", options, set, defaults, selector)}${this.transformCSS(_name, csDark_css, "dark", "variable", options, set, defaults, selector)}`;
443
+ p_tokens = [.../* @__PURE__ */ new Set([
444
+ ...vRest_tokens,
445
+ ...csRest_tokens,
446
+ ...csDark_tokens
447
+ ])];
448
+ p_style = resolve(css, { dt });
449
+ }
450
+ return {
451
+ css: p_css,
452
+ tokens: p_tokens,
453
+ style: p_style
454
+ };
455
+ },
456
+ getPresetC({ name = "", theme = {}, params, set, defaults }) {
457
+ const { preset, options } = theme;
458
+ const cPreset = preset?.components?.[name];
459
+ return this.getPreset({
460
+ name,
461
+ preset: cPreset,
462
+ options,
463
+ params,
464
+ set,
465
+ defaults
466
+ });
467
+ },
468
+ getPresetD({ name = "", theme = {}, params, set, defaults }) {
469
+ const dName = name.replace("-directive", "");
470
+ const { preset, options } = theme;
471
+ const dPreset = preset?.components?.[dName] || preset?.directives?.[dName];
472
+ return this.getPreset({
473
+ name: dName,
474
+ preset: dPreset,
475
+ options,
476
+ params,
477
+ set,
478
+ defaults
479
+ });
480
+ },
481
+ applyDarkColorScheme(options) {
482
+ return !(options.darkModeSelector === "none" || options.darkModeSelector === false);
483
+ },
484
+ getColorSchemeOption(options, defaults) {
485
+ return this.applyDarkColorScheme(options) ? this.regex.resolve(options.darkModeSelector === true ? defaults.options.darkModeSelector : options.darkModeSelector ?? defaults.options.darkModeSelector) : [];
486
+ },
487
+ getLayerOrder(name, options = {}, params, defaults) {
488
+ const { cssLayer } = options;
489
+ if (cssLayer) return `@layer ${resolve(cssLayer.order || cssLayer.name || "primeui", params)}`;
490
+ return "";
491
+ },
492
+ getCommonStyleSheet({ name = "", theme = {}, params, props = {}, set, defaults }) {
493
+ const common = this.getCommon({
494
+ name,
495
+ theme,
496
+ params,
497
+ set,
498
+ defaults
499
+ });
500
+ const _props = Object.entries(props).reduce((acc, [k, v]) => acc.push(`${k}="${v}"`) && acc, []).join(" ");
501
+ return Object.entries(common || {}).reduce((acc, [key, value]) => {
502
+ if (isObject(value) && Object.hasOwn(value, "css")) {
503
+ const _css = minifyCSS(value.css);
504
+ const id = `${key}-variables`;
505
+ acc.push(`<style type="text/css" data-primevue-style-id="${id}" ${_props}>${_css}</style>`);
506
+ }
507
+ return acc;
508
+ }, []).join("");
509
+ },
510
+ getStyleSheet({ name = "", theme = {}, params, props = {}, set, defaults }) {
511
+ const options = {
512
+ name,
513
+ theme,
514
+ params,
515
+ set,
516
+ defaults
517
+ };
518
+ const preset_css = (name.includes("-directive") ? this.getPresetD(options) : this.getPresetC(options))?.css;
519
+ const _props = Object.entries(props).reduce((acc, [k, v]) => acc.push(`${k}="${v}"`) && acc, []).join(" ");
520
+ return preset_css ? `<style type="text/css" data-primevue-style-id="${name}-variables" ${_props}>${minifyCSS(preset_css)}</style>` : "";
521
+ },
522
+ createTokens(obj = {}, defaults, parentKey = "", parentPath = "", tokens = {}) {
523
+ const computedFn = function(colorScheme, tokenPathMap = {}, stack = []) {
524
+ if (stack.includes(this.path)) {
525
+ console.warn(`Circular reference detected at ${this.path}`);
526
+ return {
527
+ colorScheme,
528
+ path: this.path,
529
+ paths: tokenPathMap,
530
+ value: void 0
531
+ };
532
+ }
533
+ stack.push(this.path);
534
+ tokenPathMap["name"] = this.path;
535
+ tokenPathMap["binding"] ||= {};
536
+ let computedValue = this.value;
537
+ if (typeof this.value === "string" && EXPR_REGEX.test(this.value)) {
538
+ const _val = this.value.trim().replace(EXPR_REGEX, (v) => {
539
+ const refPath = v.slice(1, -1);
540
+ const refToken = this.tokens[refPath];
541
+ if (!refToken) {
542
+ console.warn(`Token not found for path: ${refPath}`);
543
+ return `__UNRESOLVED__`;
544
+ }
545
+ const computed = refToken.computed(colorScheme, tokenPathMap, stack);
546
+ if (Array.isArray(computed) && computed.length === 2) return `light-dark(${computed[0].value},${computed[1].value})`;
547
+ else return computed?.value ?? `__UNRESOLVED__`;
548
+ });
549
+ computedValue = CALC_REGEX.test(_val.replace(VAR_REGEX, "0")) ? `calc(${_val})` : _val;
550
+ }
551
+ if (isEmpty(tokenPathMap["binding"])) delete tokenPathMap["binding"];
552
+ stack.pop();
553
+ return {
554
+ colorScheme,
555
+ path: this.path,
556
+ paths: tokenPathMap,
557
+ value: computedValue.includes("__UNRESOLVED__") ? void 0 : computedValue
558
+ };
559
+ };
560
+ const traverse = (obj, parentKey, parentPath) => {
561
+ Object.entries(obj).forEach(([key, value]) => {
562
+ const currentKey = matchRegex(key, defaults.variable.excludedKeyRegex) ? parentKey : parentKey ? `${parentKey}.${toTokenKey(key)}` : toTokenKey(key);
563
+ const currentPath = parentPath ? `${parentPath}.${key}` : key;
564
+ if (isObject(value)) traverse(value, currentKey, currentPath);
565
+ else {
566
+ if (!tokens[currentKey]) tokens[currentKey] = {
567
+ paths: [],
568
+ computed: (colorScheme, tokenPathMap = {}, stack = []) => {
569
+ if (tokens[currentKey].paths.length === 1) return tokens[currentKey].paths[0].computed(tokens[currentKey].paths[0].scheme, tokenPathMap["binding"], stack);
570
+ else if (colorScheme && colorScheme !== "none") for (let i = 0; i < tokens[currentKey].paths.length; i++) {
571
+ const p = tokens[currentKey].paths[i];
572
+ if (p.scheme === colorScheme) return p.computed(colorScheme, tokenPathMap["binding"], stack);
573
+ }
574
+ return tokens[currentKey].paths.map((p) => p.computed(p.scheme, tokenPathMap[p.scheme], stack));
575
+ }
576
+ };
577
+ tokens[currentKey].paths.push({
578
+ path: currentPath,
579
+ value,
580
+ scheme: currentPath.includes("colorScheme.light") ? "light" : currentPath.includes("colorScheme.dark") ? "dark" : "none",
581
+ computed: computedFn,
582
+ tokens
583
+ });
584
+ }
585
+ });
586
+ };
587
+ traverse(obj, parentKey, parentPath);
588
+ return tokens;
589
+ },
590
+ getTokenValue(tokens, path, defaults) {
591
+ const normalizePath = (str) => {
592
+ return str.split(".").filter((s) => !matchRegex(s.toLowerCase(), defaults.variable.excludedKeyRegex)).join(".");
593
+ };
594
+ const token = normalizePath(path);
595
+ const colorScheme = path.includes("colorScheme.light") ? "light" : path.includes("colorScheme.dark") ? "dark" : void 0;
596
+ const computedValues = [tokens[token]?.computed(colorScheme)].flat().filter((computed) => computed);
597
+ return computedValues.length === 1 ? computedValues[0].value : computedValues.reduce((acc = {}, computed) => {
598
+ const { colorScheme: cs, ...rest } = computed;
599
+ acc[cs] = rest;
600
+ return acc;
601
+ }, void 0);
602
+ },
603
+ getSelectorRule(selector1, selector2, type, css) {
604
+ return type === "class" || type === "attr" ? getRule(isNotEmpty(selector2) ? `${selector1}${selector2},${selector1} ${selector2}` : selector1, css) : getRule(selector1, getRule(selector2 ?? ":root,:host", css));
605
+ },
606
+ transformCSS(name, css, mode, type, options = {}, set, defaults, selector) {
607
+ if (isNotEmpty(css)) {
608
+ const { cssLayer } = options;
609
+ if (type !== "style") {
610
+ const colorSchemeOption = this.getColorSchemeOption(options, defaults);
611
+ css = mode === "dark" ? colorSchemeOption.reduce((acc, { type, selector: _selector }) => {
612
+ if (isNotEmpty(_selector)) acc += _selector.includes("[CSS]") ? _selector.replace("[CSS]", css) : this.getSelectorRule(_selector, selector, type, css);
613
+ return acc;
614
+ }, "") : getRule(selector ?? ":root,:host", css);
615
+ }
616
+ if (cssLayer) {
617
+ const layerOptions = {
618
+ name: "primeui",
619
+ order: "primeui"
620
+ };
621
+ isObject(cssLayer) && (layerOptions.name = resolve(cssLayer.name, {
622
+ name,
623
+ type
624
+ }));
625
+ if (isNotEmpty(layerOptions.name)) {
626
+ css = getRule(`@layer ${layerOptions.name}`, css);
627
+ set?.layerNames(layerOptions.name);
628
+ }
629
+ }
630
+ return css;
631
+ }
632
+ return "";
633
+ }
644
634
  };
645
-
646
- var Theme = {
647
- defaults: {
648
- variable: {
649
- prefix: 'h',
650
- selector: ':root,:host',
651
- excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi
652
- },
653
- options: {
654
- prefix: 'h',
655
- darkModeSelector: 'system',
656
- cssLayer: false
657
- }
658
- },
659
- _theme: undefined,
660
- _layerNames: new Set(),
661
- _loadedStyleNames: new Set(),
662
- _loadingStyles: new Set(),
663
- _tokens: {},
664
- update(newValues = {}) {
665
- const { theme } = newValues;
666
- if (theme) {
667
- this._theme = {
668
- ...theme,
669
- options: {
670
- ...this.defaults.options,
671
- ...theme.options
672
- }
673
- };
674
- this._tokens = ThemeUtils.createTokens(this.preset, this.defaults);
675
- this.clearLoadedStyleNames();
676
- }
677
- },
678
- get theme() {
679
- return this._theme;
680
- },
681
- get preset() {
682
- return this.theme?.preset || {};
683
- },
684
- get options() {
685
- return this.theme?.options || {};
686
- },
687
- get tokens() {
688
- return this._tokens;
689
- },
690
- getTheme() {
691
- return this.theme;
692
- },
693
- setTheme(newValue) {
694
- this.update({ theme: newValue });
695
- ThemeService.emit('theme:change', newValue);
696
- },
697
- getPreset() {
698
- return this.preset;
699
- },
700
- setPreset(newValue) {
701
- this._theme = { ...this.theme, preset: newValue };
702
- this._tokens = ThemeUtils.createTokens(newValue, this.defaults);
703
- this.clearLoadedStyleNames();
704
- ThemeService.emit('preset:change', newValue);
705
- ThemeService.emit('theme:change', this.theme);
706
- },
707
- getOptions() {
708
- return this.options;
709
- },
710
- setOptions(newValue) {
711
- this._theme = { ...this.theme, options: newValue };
712
- this.clearLoadedStyleNames();
713
- ThemeService.emit('options:change', newValue);
714
- ThemeService.emit('theme:change', this.theme);
715
- },
716
- getLayerNames() {
717
- return [...this._layerNames];
718
- },
719
- setLayerNames(layerName) {
720
- this._layerNames.add(layerName);
721
- },
722
- getLoadedStyleNames() {
723
- return this._loadedStyleNames;
724
- },
725
- isStyleNameLoaded(name) {
726
- return this._loadedStyleNames.has(name);
727
- },
728
- setLoadedStyleName(name) {
729
- this._loadedStyleNames.add(name);
730
- },
731
- deleteLoadedStyleName(name) {
732
- this._loadedStyleNames.delete(name);
733
- },
734
- clearLoadedStyleNames() {
735
- this._loadedStyleNames.clear();
736
- },
737
- getTokenValue(tokenPath) {
738
- return ThemeUtils.getTokenValue(this.tokens, tokenPath, this.defaults);
739
- },
740
- getCommon(name = '', params) {
741
- return ThemeUtils.getCommon({ name, theme: this.theme, params, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
742
- },
743
- getComponent(name = '', params) {
744
- const options = { name, theme: this.theme, params, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
745
- return ThemeUtils.getPresetC(options);
746
- },
747
- // @deprecated - use getComponent instead
748
- getDirective(name = '', params) {
749
- const options = { name, theme: this.theme, params, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
750
- return ThemeUtils.getPresetD(options);
751
- },
752
- getCustomPreset(name = '', preset, selector, params) {
753
- const options = { name, preset, options: this.options, selector, params, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
754
- return ThemeUtils.getPreset(options);
755
- },
756
- getLayerOrderCSS(name = '') {
757
- return ThemeUtils.getLayerOrder(name, this.options, { names: this.getLayerNames() }, this.defaults);
758
- },
759
- transformCSS(name = '', css, type = 'style', mode) {
760
- return ThemeUtils.transformCSS(name, css, mode, type, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
761
- },
762
- getCommonStyleSheet(name = '', params, props = {}) {
763
- return ThemeUtils.getCommonStyleSheet({ name, theme: this.theme, params, props, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
764
- },
765
- getStyleSheet(name, params, props = {}) {
766
- return ThemeUtils.getStyleSheet({ name, theme: this.theme, params, props, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
767
- },
768
- onStyleMounted(name) {
769
- this._loadingStyles.add(name);
770
- },
771
- onStyleUpdated(name) {
772
- this._loadingStyles.add(name);
773
- },
774
- onStyleLoaded(event, { name }) {
775
- if (this._loadingStyles.size) {
776
- this._loadingStyles.delete(name);
777
- ThemeService.emit(`theme:${name}:load`, event); // Exp: ThemeService.emit('theme:panel-style:load', event)
778
- !this._loadingStyles.size && ThemeService.emit('theme:load');
779
- }
780
- }
635
+ var config_default = {
636
+ defaults: {
637
+ variable: {
638
+ prefix: "h",
639
+ selector: ":root,:host",
640
+ excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi
641
+ },
642
+ options: {
643
+ prefix: "h",
644
+ darkModeSelector: "system",
645
+ cssLayer: false
646
+ }
647
+ },
648
+ _theme: void 0,
649
+ _layerNames: /* @__PURE__ */ new Set(),
650
+ _loadedStyleNames: /* @__PURE__ */ new Set(),
651
+ _loadingStyles: /* @__PURE__ */ new Set(),
652
+ _tokens: {},
653
+ update(newValues = {}) {
654
+ const { theme } = newValues;
655
+ if (theme) {
656
+ this._theme = {
657
+ ...theme,
658
+ options: {
659
+ ...this.defaults.options,
660
+ ...theme.options
661
+ }
662
+ };
663
+ this._tokens = themeUtils_default.createTokens(this.preset, this.defaults);
664
+ this.clearLoadedStyleNames();
665
+ }
666
+ },
667
+ get theme() {
668
+ return this._theme;
669
+ },
670
+ get preset() {
671
+ return this.theme?.preset || {};
672
+ },
673
+ get options() {
674
+ return this.theme?.options || {};
675
+ },
676
+ get tokens() {
677
+ return this._tokens;
678
+ },
679
+ getTheme() {
680
+ return this.theme;
681
+ },
682
+ setTheme(newValue) {
683
+ this.update({ theme: newValue });
684
+ ThemeService.emit("theme:change", newValue);
685
+ },
686
+ getPreset() {
687
+ return this.preset;
688
+ },
689
+ setPreset(newValue) {
690
+ this._theme = {
691
+ ...this.theme,
692
+ preset: newValue
693
+ };
694
+ this._tokens = themeUtils_default.createTokens(newValue, this.defaults);
695
+ this.clearLoadedStyleNames();
696
+ ThemeService.emit("preset:change", newValue);
697
+ ThemeService.emit("theme:change", this.theme);
698
+ },
699
+ getOptions() {
700
+ return this.options;
701
+ },
702
+ setOptions(newValue) {
703
+ this._theme = {
704
+ ...this.theme,
705
+ options: newValue
706
+ };
707
+ this.clearLoadedStyleNames();
708
+ ThemeService.emit("options:change", newValue);
709
+ ThemeService.emit("theme:change", this.theme);
710
+ },
711
+ getLayerNames() {
712
+ return [...this._layerNames];
713
+ },
714
+ setLayerNames(layerName) {
715
+ this._layerNames.add(layerName);
716
+ },
717
+ getLoadedStyleNames() {
718
+ return this._loadedStyleNames;
719
+ },
720
+ isStyleNameLoaded(name) {
721
+ return this._loadedStyleNames.has(name);
722
+ },
723
+ setLoadedStyleName(name) {
724
+ this._loadedStyleNames.add(name);
725
+ },
726
+ deleteLoadedStyleName(name) {
727
+ this._loadedStyleNames.delete(name);
728
+ },
729
+ clearLoadedStyleNames() {
730
+ this._loadedStyleNames.clear();
731
+ },
732
+ getTokenValue(tokenPath) {
733
+ return themeUtils_default.getTokenValue(this.tokens, tokenPath, this.defaults);
734
+ },
735
+ getCommon(name = "", params) {
736
+ return themeUtils_default.getCommon({
737
+ name,
738
+ theme: this.theme,
739
+ params,
740
+ defaults: this.defaults,
741
+ set: { layerNames: this.setLayerNames.bind(this) }
742
+ });
743
+ },
744
+ getComponent(name = "", params) {
745
+ const options = {
746
+ name,
747
+ theme: this.theme,
748
+ params,
749
+ defaults: this.defaults,
750
+ set: { layerNames: this.setLayerNames.bind(this) }
751
+ };
752
+ return themeUtils_default.getPresetC(options);
753
+ },
754
+ getDirective(name = "", params) {
755
+ const options = {
756
+ name,
757
+ theme: this.theme,
758
+ params,
759
+ defaults: this.defaults,
760
+ set: { layerNames: this.setLayerNames.bind(this) }
761
+ };
762
+ return themeUtils_default.getPresetD(options);
763
+ },
764
+ getCustomPreset(name = "", preset, selector, params) {
765
+ const options = {
766
+ name,
767
+ preset,
768
+ options: this.options,
769
+ selector,
770
+ params,
771
+ defaults: this.defaults,
772
+ set: { layerNames: this.setLayerNames.bind(this) }
773
+ };
774
+ return themeUtils_default.getPreset(options);
775
+ },
776
+ getLayerOrderCSS(name = "") {
777
+ return themeUtils_default.getLayerOrder(name, this.options, { names: this.getLayerNames() }, this.defaults);
778
+ },
779
+ transformCSS(name = "", css, type = "style", mode) {
780
+ return themeUtils_default.transformCSS(name, css, mode, type, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
781
+ },
782
+ getCommonStyleSheet(name = "", params, props = {}) {
783
+ return themeUtils_default.getCommonStyleSheet({
784
+ name,
785
+ theme: this.theme,
786
+ params,
787
+ props,
788
+ defaults: this.defaults,
789
+ set: { layerNames: this.setLayerNames.bind(this) }
790
+ });
791
+ },
792
+ getStyleSheet(name, params, props = {}) {
793
+ return themeUtils_default.getStyleSheet({
794
+ name,
795
+ theme: this.theme,
796
+ params,
797
+ props,
798
+ defaults: this.defaults,
799
+ set: { layerNames: this.setLayerNames.bind(this) }
800
+ });
801
+ },
802
+ onStyleMounted(name) {
803
+ this._loadingStyles.add(name);
804
+ },
805
+ onStyleUpdated(name) {
806
+ this._loadingStyles.add(name);
807
+ },
808
+ onStyleLoaded(event, { name }) {
809
+ if (this._loadingStyles.size) {
810
+ this._loadingStyles.delete(name);
811
+ ThemeService.emit(`theme:${name}:load`, event);
812
+ !this._loadingStyles.size && ThemeService.emit("theme:load");
813
+ }
814
+ }
781
815
  };
782
-
783
816
  function updatePreset(...presets) {
784
- const newPreset = deepMerge(Theme.getPreset(), ...presets);
785
- Theme.setPreset(newPreset);
786
- return newPreset;
817
+ const newPreset = deepMerge(config_default.getPreset(), ...presets);
818
+ config_default.setPreset(newPreset);
819
+ return newPreset;
787
820
  }
788
-
789
821
  function updatePrimaryPalette(palette) {
790
- return $t().primaryPalette(palette).update().preset;
822
+ return $t().primaryPalette(palette).update().preset;
791
823
  }
792
-
793
824
  function updateSurfacePalette(palette) {
794
- return $t().surfacePalette(palette).update().preset;
825
+ return $t().surfacePalette(palette).update().preset;
795
826
  }
796
-
797
827
  function usePreset(...presets) {
798
- const newPreset = deepMerge(...presets);
799
- Theme.setPreset(newPreset);
800
- return newPreset;
828
+ const newPreset = deepMerge(...presets);
829
+ config_default.setPreset(newPreset);
830
+ return newPreset;
801
831
  }
802
-
803
832
  function useTheme(theme) {
804
- return $t(theme).update({ mergePresets: false });
805
- }
806
-
807
- class StyleSheet {
808
- _styles;
809
- _attrs;
810
- constructor({ attrs } = {}) {
811
- this._styles = new Map();
812
- this._attrs = attrs || {};
813
- }
814
- get(key) {
815
- return this._styles.get(key);
816
- }
817
- has(key) {
818
- return this._styles.has(key);
819
- }
820
- delete(key) {
821
- this._styles.delete(key);
822
- }
823
- clear() {
824
- this._styles.clear();
825
- }
826
- add(key, css) {
827
- if (isNotEmpty(css)) {
828
- const meta = {
829
- name: key,
830
- css,
831
- attrs: this._attrs,
832
- markup: createStyleMarkup(css, this._attrs)
833
- };
834
- this._styles.set(key, {
835
- ...meta,
836
- element: this.createStyleElement(meta)
837
- });
838
- }
839
- }
840
- update() {
841
- // @todo
842
- }
843
- getStyles() {
844
- return this._styles;
845
- }
846
- getAllCSS() {
847
- return [...this._styles.values()].map((style) => style.css).filter(String);
848
- }
849
- getAllMarkup() {
850
- return [...this._styles.values()].map((style) => style.markup).filter(String);
851
- }
852
- getAllElements() {
853
- return [...this._styles.values()].map((style) => style.element);
854
- }
855
- /**
856
- * Used to create a style element.
857
- *
858
- * @param {StyleMeta} meta
859
- * @returns {HTMLStyleElement | undefined}
860
- */
861
- createStyleElement(meta = {}) {
862
- return undefined;
863
- }
833
+ return $t(theme).update({ mergePresets: false });
864
834
  }
835
+ var StyleSheet = class {
836
+ _styles;
837
+ _attrs;
838
+ constructor({ attrs } = {}) {
839
+ this._styles = /* @__PURE__ */ new Map();
840
+ this._attrs = attrs || {};
841
+ }
842
+ get(key) {
843
+ return this._styles.get(key);
844
+ }
845
+ has(key) {
846
+ return this._styles.has(key);
847
+ }
848
+ delete(key) {
849
+ this._styles.delete(key);
850
+ }
851
+ clear() {
852
+ this._styles.clear();
853
+ }
854
+ add(key, css) {
855
+ if (isNotEmpty(css)) {
856
+ const meta = {
857
+ name: key,
858
+ css,
859
+ attrs: this._attrs,
860
+ markup: createStyleMarkup(css, this._attrs)
861
+ };
862
+ this._styles.set(key, {
863
+ ...meta,
864
+ element: this.createStyleElement(meta)
865
+ });
866
+ }
867
+ }
868
+ update() {}
869
+ getStyles() {
870
+ return this._styles;
871
+ }
872
+ getAllCSS() {
873
+ return [...this._styles.values()].map((style) => style.css).filter(String);
874
+ }
875
+ getAllMarkup() {
876
+ return [...this._styles.values()].map((style) => style.markup).filter(String);
877
+ }
878
+ getAllElements() {
879
+ return [...this._styles.values()].map((style) => style.element);
880
+ }
881
+ createStyleElement(meta = {}) {}
882
+ };
883
+ export { $dt, $t, CALC_REGEX, EXPR_REGEX, StyleSheet, config_default as Theme, ThemeService, themeUtils_default as ThemeUtils, VAR_REGEX, css, definePreset, dt, dtwt, evaluateDtExpressions, getComputedValue, getRule, getVariableName, getVariableValue, hasOddBraces, merge, mix_default as mix, palette_default as palette, setProperty, shade_default as shade, tint_default as tint, toNormalizePrefix, toNormalizeVariable, toTokenKey, toUnit, toValue, toVariables_default as toVariables, updatePreset, updatePrimaryPalette, updateSurfacePalette, usePreset, useTheme };
865
884
 
866
- /**
867
- * Generated bundle index. Do not edit.
868
- */
869
-
870
- export { $dt, $t, CALC_REGEX, EXPR_REGEX, StyleSheet, Theme, ThemeService, ThemeUtils, VAR_REGEX, css, definePreset, dt, dtwt, evaluateDtExpressions, getComputedValue, getRule, getVariableName, getVariableValue, hasOddBraces, merge, mix, palette, setProperty, shade, tint, toNormalizePrefix, toNormalizeVariable, toTokenKey, toUnit, toValue, toVariables, updatePreset, updatePrimaryPalette, updateSurfacePalette, usePreset, useTheme };
871
- //# sourceMappingURL=gravionlabs-helix-core-uix-styled.mjs.map
885
+ //# sourceMappingURL=gravionlabs-helix-core-uix-styled.mjs.map