eidos-ui 3.7.0 → 3.8.1

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 (409) hide show
  1. package/README.md +10 -0
  2. package/dist/{Avatar.types-BY-C09Ke.d.cts → Avatar.types-DkRznn-7.d.cts} +6 -1
  3. package/dist/{Avatar.types-BY-C09Ke.d.ts → Avatar.types-DkRznn-7.d.ts} +6 -1
  4. package/dist/{Breadcrumb.types-DaykU-C8.d.cts → Breadcrumb.types-C3uADbKU.d.cts} +4 -1
  5. package/dist/{Breadcrumb.types-DaykU-C8.d.ts → Breadcrumb.types-C3uADbKU.d.ts} +4 -1
  6. package/dist/Button.types-BCIK8Qlk.d.ts +59 -0
  7. package/dist/Button.types-DkgWjFsk.d.cts +59 -0
  8. package/dist/{Chip.types-COQfx2Ru.d.ts → Chip.types-BM-UZOCv.d.ts} +10 -1
  9. package/dist/{Chip.types-B6y3Wifa.d.cts → Chip.types-_1bhyKz4.d.cts} +10 -1
  10. package/dist/{Header.types-Ce5Cj301.d.cts → Header.types-a6p0-ZHx.d.cts} +24 -8
  11. package/dist/{Header.types-0XovUp0T.d.ts → Header.types-zbhURbg7.d.ts} +24 -8
  12. package/dist/{Input.types-D7-sWq-q.d.cts → Input.types--K0t_3L2.d.cts} +1 -1
  13. package/dist/{Input.types-CSDMaZNe.d.ts → Input.types--UjucBDd.d.ts} +1 -1
  14. package/dist/{Menu.types-CTnUijv5.d.cts → Menu.types-D6VoK9T9.d.cts} +1 -1
  15. package/dist/{Menu.types-BN4g1-3A.d.ts → Menu.types-tUEhXn52.d.ts} +1 -1
  16. package/dist/{Navigation.types-By5HfPTi.d.ts → Navigation.types-CJRzo9Zo.d.ts} +1 -1
  17. package/dist/{Navigation.types-_MrYqqUI.d.cts → Navigation.types-D95oHZEJ.d.cts} +1 -1
  18. package/dist/{SegmentedControl.types-cjLwwBAm.d.ts → SegmentedControl.types-CHtjABQM.d.ts} +1 -1
  19. package/dist/{SegmentedControl.types-BofrEYyd.d.cts → SegmentedControl.types-D_gHYL9X.d.cts} +1 -1
  20. package/dist/{Select.types-ok-03rLo.d.cts → Select.types-8CGZBgT-.d.cts} +2 -2
  21. package/dist/{Select.types-C2tGy1vj.d.ts → Select.types-CAVh9Gvd.d.ts} +2 -2
  22. package/dist/{Table.types-D8pmgxKA.d.ts → Table.types-BFDE-hhF.d.ts} +2 -2
  23. package/dist/{Table.types-D-9tC0kJ.d.cts → Table.types-Tai7_MTz.d.cts} +2 -2
  24. package/dist/{Toolbar.types-CKnQC_TW.d.ts → Toolbar.types-BqBrPVww.d.ts} +8 -6
  25. package/dist/{Toolbar.types-DUz2mxct.d.cts → Toolbar.types-GCUgzuKW.d.cts} +8 -6
  26. package/dist/alert/index.cjs +8 -5
  27. package/dist/alert/index.cjs.map +1 -1
  28. package/dist/alert/index.d.cts +1 -1
  29. package/dist/alert/index.d.ts +1 -1
  30. package/dist/alert/index.js +7 -4
  31. package/dist/avatar/index.d.cts +2 -2
  32. package/dist/avatar/index.d.ts +2 -2
  33. package/dist/breadcrumb/index.cjs +4 -2
  34. package/dist/breadcrumb/index.cjs.map +1 -1
  35. package/dist/breadcrumb/index.d.cts +2 -2
  36. package/dist/breadcrumb/index.d.ts +2 -2
  37. package/dist/breadcrumb/index.js +3 -1
  38. package/dist/button/index.cjs +7 -4
  39. package/dist/button/index.cjs.map +1 -1
  40. package/dist/button/index.d.cts +5 -5
  41. package/dist/button/index.d.ts +5 -5
  42. package/dist/button/index.js +6 -3
  43. package/dist/button-group/index.d.cts +2 -2
  44. package/dist/button-group/index.d.ts +2 -2
  45. package/dist/chip/index.cjs +7 -4
  46. package/dist/chip/index.cjs.map +1 -1
  47. package/dist/chip/index.d.cts +3 -3
  48. package/dist/chip/index.d.ts +3 -3
  49. package/dist/chip/index.js +6 -3
  50. package/dist/{chunk-DRXPTACG.js → chunk-26PRBZA6.js} +6 -2
  51. package/dist/chunk-26PRBZA6.js.map +1 -0
  52. package/dist/{chunk-L7I5NEGI.js → chunk-2IXCEKLI.js} +2 -2
  53. package/dist/{chunk-GWHZFX2H.js → chunk-2TIMJD4K.js} +29 -6
  54. package/dist/chunk-2TIMJD4K.js.map +1 -0
  55. package/dist/{chunk-RHFD2Z5V.js → chunk-3TF2GZSG.js} +7 -7
  56. package/dist/{chunk-TC5IC6OP.cjs → chunk-3VXUOAIJ.cjs} +3 -3
  57. package/dist/{chunk-TC5IC6OP.cjs.map → chunk-3VXUOAIJ.cjs.map} +1 -1
  58. package/dist/{chunk-JHX6JK3M.js → chunk-3X6QVHTD.js} +2 -2
  59. package/dist/{chunk-7VJCGKVP.cjs → chunk-4HZIXRAJ.cjs} +11 -11
  60. package/dist/{chunk-7VJCGKVP.cjs.map → chunk-4HZIXRAJ.cjs.map} +1 -1
  61. package/dist/{chunk-MQAOXZD4.js → chunk-4S57PE43.js} +4 -4
  62. package/dist/{chunk-JT4KVXJK.js → chunk-4V2XYUQL.js} +2 -2
  63. package/dist/{chunk-PMSENLOA.cjs → chunk-544RAXWO.cjs} +19 -19
  64. package/dist/{chunk-PMSENLOA.cjs.map → chunk-544RAXWO.cjs.map} +1 -1
  65. package/dist/{chunk-4JSTBA4F.cjs → chunk-6CW5QSYV.cjs} +7 -7
  66. package/dist/{chunk-4JSTBA4F.cjs.map → chunk-6CW5QSYV.cjs.map} +1 -1
  67. package/dist/{chunk-AR2ZOO6L.js → chunk-6FXFKMJ5.js} +3 -3
  68. package/dist/{chunk-KREHT4AQ.cjs → chunk-6IB27I5K.cjs} +8 -8
  69. package/dist/{chunk-KREHT4AQ.cjs.map → chunk-6IB27I5K.cjs.map} +1 -1
  70. package/dist/{chunk-YP4HUBKN.js → chunk-6NAOAKII.js} +2 -2
  71. package/dist/chunk-75Q5OS7L.cjs +10 -0
  72. package/dist/chunk-75Q5OS7L.cjs.map +1 -0
  73. package/dist/{chunk-LQXFXXMJ.cjs → chunk-7FV2X62W.cjs} +7 -7
  74. package/dist/{chunk-LQXFXXMJ.cjs.map → chunk-7FV2X62W.cjs.map} +1 -1
  75. package/dist/{chunk-2T7ZMMH5.cjs → chunk-7NUVLVSL.cjs} +5 -5
  76. package/dist/{chunk-2T7ZMMH5.cjs.map → chunk-7NUVLVSL.cjs.map} +1 -1
  77. package/dist/chunk-ACH7SYQ2.js +47 -0
  78. package/dist/chunk-ACH7SYQ2.js.map +1 -0
  79. package/dist/{chunk-HNGFRRVZ.cjs → chunk-AUNDBUHM.cjs} +3 -3
  80. package/dist/{chunk-HNGFRRVZ.cjs.map → chunk-AUNDBUHM.cjs.map} +1 -1
  81. package/dist/{chunk-XZLSHEHE.cjs → chunk-B2OHBIAL.cjs} +10 -10
  82. package/dist/{chunk-XZLSHEHE.cjs.map → chunk-B2OHBIAL.cjs.map} +1 -1
  83. package/dist/chunk-BDH2MXJW.js +46 -0
  84. package/dist/chunk-BDH2MXJW.js.map +1 -0
  85. package/dist/{chunk-D7SQ7LHJ.js → chunk-BO3KK3ZQ.js} +2 -2
  86. package/dist/{chunk-NOQF7UQ5.cjs → chunk-CFVUUMQA.cjs} +6 -6
  87. package/dist/{chunk-NOQF7UQ5.cjs.map → chunk-CFVUUMQA.cjs.map} +1 -1
  88. package/dist/chunk-CJT7L764.cjs +21 -0
  89. package/dist/chunk-CJT7L764.cjs.map +1 -0
  90. package/dist/{chunk-5XH2PHT2.js → chunk-CNTG7OOO.js} +14 -14
  91. package/dist/{chunk-I6M6CVI2.cjs → chunk-DG3O5NV4.cjs} +3 -3
  92. package/dist/{chunk-I6M6CVI2.cjs.map → chunk-DG3O5NV4.cjs.map} +1 -1
  93. package/dist/{chunk-WNDDS367.js → chunk-DPTTDHZ5.js} +3 -3
  94. package/dist/{chunk-35LGEPLP.cjs → chunk-ENMDOQQO.cjs} +29 -14
  95. package/dist/chunk-ENMDOQQO.cjs.map +1 -0
  96. package/dist/{chunk-V4BZWBZT.cjs → chunk-F5IRMMZ2.cjs} +7 -7
  97. package/dist/{chunk-V4BZWBZT.cjs.map → chunk-F5IRMMZ2.cjs.map} +1 -1
  98. package/dist/{chunk-WE2SBWZ6.js → chunk-FE7S4RSK.js} +10 -10
  99. package/dist/chunk-FE7S4RSK.js.map +1 -0
  100. package/dist/{chunk-BFKPJ627.js → chunk-FHOD3FUN.js} +4 -4
  101. package/dist/{chunk-SNRRF64M.js → chunk-GDRLVX2A.js} +31 -10
  102. package/dist/chunk-GDRLVX2A.js.map +1 -0
  103. package/dist/{chunk-5O73AALP.cjs → chunk-GP6EEZH5.cjs} +7 -3
  104. package/dist/chunk-GP6EEZH5.cjs.map +1 -0
  105. package/dist/{chunk-HEXAY6DE.cjs → chunk-GZDT2AHJ.cjs} +24 -24
  106. package/dist/chunk-GZDT2AHJ.cjs.map +1 -0
  107. package/dist/{chunk-SDUGYJGW.js → chunk-H3C6YECZ.js} +6 -6
  108. package/dist/{chunk-RJVHR45I.cjs → chunk-H46ZLPNJ.cjs} +7 -7
  109. package/dist/{chunk-RJVHR45I.cjs.map → chunk-H46ZLPNJ.cjs.map} +1 -1
  110. package/dist/{chunk-66UQTF57.cjs → chunk-HLI4SOH3.cjs} +45 -45
  111. package/dist/{chunk-66UQTF57.cjs.map → chunk-HLI4SOH3.cjs.map} +1 -1
  112. package/dist/{chunk-ZMRINZIO.cjs → chunk-HR5MWA3B.cjs} +5 -5
  113. package/dist/{chunk-ZMRINZIO.cjs.map → chunk-HR5MWA3B.cjs.map} +1 -1
  114. package/dist/{chunk-MPIVBAMY.js → chunk-HYRLK462.js} +2 -2
  115. package/dist/{chunk-LGDODZHI.js → chunk-IC2PIK3E.js} +19 -19
  116. package/dist/chunk-IC2PIK3E.js.map +1 -0
  117. package/dist/{chunk-FIVMMCGM.js → chunk-IHPSRTVW.js} +4 -4
  118. package/dist/{chunk-THCTUBX6.js → chunk-IKXXXVUO.js} +3 -3
  119. package/dist/{chunk-JPYJQ4TF.cjs → chunk-JFV56ISS.cjs} +6 -6
  120. package/dist/{chunk-JPYJQ4TF.cjs.map → chunk-JFV56ISS.cjs.map} +1 -1
  121. package/dist/{chunk-75GFIQRU.js → chunk-JY77VJAZ.js} +30 -15
  122. package/dist/chunk-JY77VJAZ.js.map +1 -0
  123. package/dist/chunk-KXDGW6LJ.cjs +46 -0
  124. package/dist/chunk-KXDGW6LJ.cjs.map +1 -0
  125. package/dist/{chunk-24HKKSKX.js → chunk-L6ERHCQ2.js} +3 -3
  126. package/dist/{chunk-4LNTZPSQ.js → chunk-L6YJ6QTZ.js} +2 -2
  127. package/dist/{chunk-KBQD4JLK.cjs → chunk-LUDK44NZ.cjs} +3 -3
  128. package/dist/{chunk-KBQD4JLK.cjs.map → chunk-LUDK44NZ.cjs.map} +1 -1
  129. package/dist/{chunk-PCTHJZRO.cjs → chunk-LWCFT5SP.cjs} +3 -3
  130. package/dist/{chunk-PCTHJZRO.cjs.map → chunk-LWCFT5SP.cjs.map} +1 -1
  131. package/dist/{chunk-JNY7TUDS.js → chunk-MCPGI6EI.js} +2 -2
  132. package/dist/{chunk-DU5JKTHK.cjs → chunk-MKC6V3SY.cjs} +6 -6
  133. package/dist/{chunk-DU5JKTHK.cjs.map → chunk-MKC6V3SY.cjs.map} +1 -1
  134. package/dist/{chunk-J76JHN7J.cjs → chunk-N5NXKVFJ.cjs} +10 -10
  135. package/dist/{chunk-J76JHN7J.cjs.map → chunk-N5NXKVFJ.cjs.map} +1 -1
  136. package/dist/{chunk-XERBOFYZ.cjs → chunk-NERASTO2.cjs} +3 -3
  137. package/dist/{chunk-XERBOFYZ.cjs.map → chunk-NERASTO2.cjs.map} +1 -1
  138. package/dist/{chunk-3KBBJZHK.cjs → chunk-NFD7MPX4.cjs} +16 -14
  139. package/dist/chunk-NFD7MPX4.cjs.map +1 -0
  140. package/dist/{chunk-3ZRFOKDM.cjs → chunk-NNAEQR3Y.cjs} +30 -30
  141. package/dist/{chunk-3ZRFOKDM.cjs.map → chunk-NNAEQR3Y.cjs.map} +1 -1
  142. package/dist/{chunk-36JFXFM2.cjs → chunk-OGGZIFTI.cjs} +38 -38
  143. package/dist/chunk-OGGZIFTI.cjs.map +1 -0
  144. package/dist/{chunk-2PCCGQOH.js → chunk-P6OJQ2RN.js} +6 -6
  145. package/dist/{chunk-3RWZC6OW.cjs → chunk-PE2SLXUS.cjs} +5 -5
  146. package/dist/{chunk-3RWZC6OW.cjs.map → chunk-PE2SLXUS.cjs.map} +1 -1
  147. package/dist/chunk-QD32IMMH.js +13 -0
  148. package/dist/chunk-QD32IMMH.js.map +1 -0
  149. package/dist/{chunk-OOCCSMWM.js → chunk-RHWZX7PB.js} +9 -7
  150. package/dist/chunk-RHWZX7PB.js.map +1 -0
  151. package/dist/{chunk-YXRKBKFB.js → chunk-S5CMZFX6.js} +3 -3
  152. package/dist/{chunk-4AO5RKV5.cjs → chunk-SLHIVEFW.cjs} +7 -7
  153. package/dist/{chunk-4AO5RKV5.cjs.map → chunk-SLHIVEFW.cjs.map} +1 -1
  154. package/dist/{chunk-HEX4IMLO.js → chunk-TJQNGJHP.js} +4 -4
  155. package/dist/{chunk-JCKGAAPZ.cjs → chunk-TNQ2ZZ7W.cjs} +9 -9
  156. package/dist/{chunk-JCKGAAPZ.cjs.map → chunk-TNQ2ZZ7W.cjs.map} +1 -1
  157. package/dist/chunk-U32K2H3N.js +10 -0
  158. package/dist/chunk-U32K2H3N.js.map +1 -0
  159. package/dist/{chunk-RHHZRTWM.js → chunk-U34INRFO.js} +28 -13
  160. package/dist/chunk-U34INRFO.js.map +1 -0
  161. package/dist/{chunk-SFFKQQ5Z.js → chunk-U4SVBE2M.js} +5 -5
  162. package/dist/{chunk-O3QM3BFE.js → chunk-UC4NYF6T.js} +2 -2
  163. package/dist/{chunk-6JHVXWDV.cjs → chunk-ULKWUKD2.cjs} +22 -22
  164. package/dist/{chunk-6JHVXWDV.cjs.map → chunk-ULKWUKD2.cjs.map} +1 -1
  165. package/dist/{chunk-BEOECPVJ.cjs → chunk-UTYY35QX.cjs} +3 -3
  166. package/dist/{chunk-BEOECPVJ.cjs.map → chunk-UTYY35QX.cjs.map} +1 -1
  167. package/dist/{chunk-7BFODYNL.cjs → chunk-UUT2VEN5.cjs} +7 -7
  168. package/dist/{chunk-7BFODYNL.cjs.map → chunk-UUT2VEN5.cjs.map} +1 -1
  169. package/dist/chunk-V3T7RO4F.js +21 -0
  170. package/dist/chunk-V3T7RO4F.js.map +1 -0
  171. package/dist/{chunk-GIEDIAPD.js → chunk-V5CM5TH3.js} +3 -3
  172. package/dist/{chunk-L65MHFMD.js → chunk-V64DICJK.js} +3 -3
  173. package/dist/{chunk-KIZVY57H.cjs → chunk-VXC7Z7XB.cjs} +5 -5
  174. package/dist/{chunk-KIZVY57H.cjs.map → chunk-VXC7Z7XB.cjs.map} +1 -1
  175. package/dist/chunk-VYF7WV4K.cjs +47 -0
  176. package/dist/chunk-VYF7WV4K.cjs.map +1 -0
  177. package/dist/{chunk-P4XZH3OR.js → chunk-WHQGJHMD.js} +4 -4
  178. package/dist/{chunk-TTLFY76J.cjs → chunk-WR77IZUU.cjs} +32 -9
  179. package/dist/chunk-WR77IZUU.cjs.map +1 -0
  180. package/dist/{chunk-O2BECFXJ.cjs → chunk-WTFEMOV5.cjs} +43 -22
  181. package/dist/chunk-WTFEMOV5.cjs.map +1 -0
  182. package/dist/{chunk-YAKTVIVK.js → chunk-XIUZT4TO.js} +3 -3
  183. package/dist/chunk-XPG56DLQ.cjs +103 -0
  184. package/dist/chunk-XPG56DLQ.cjs.map +1 -0
  185. package/dist/{chunk-GPVGGBIR.js → chunk-XWMXEJVZ.js} +2 -2
  186. package/dist/chunk-XZILHRKG.cjs +13 -0
  187. package/dist/chunk-XZILHRKG.cjs.map +1 -0
  188. package/dist/{chunk-VQGLVBPL.cjs → chunk-YIOHKQ6Y.cjs} +11 -4
  189. package/dist/chunk-YIOHKQ6Y.cjs.map +1 -0
  190. package/dist/{chunk-A3LMUPG3.js → chunk-Z3IJWYUD.js} +2 -2
  191. package/dist/{chunk-4J25XZDI.js → chunk-ZJWQPZ7E.js} +9 -2
  192. package/dist/chunk-ZJWQPZ7E.js.map +1 -0
  193. package/dist/color-picker/index.cjs +5 -4
  194. package/dist/color-picker/index.cjs.map +1 -1
  195. package/dist/color-picker/index.js +4 -3
  196. package/dist/combobox/index.cjs +7 -6
  197. package/dist/combobox/index.cjs.map +1 -1
  198. package/dist/combobox/index.js +6 -5
  199. package/dist/command-palette/index.cjs +4 -3
  200. package/dist/command-palette/index.cjs.map +1 -1
  201. package/dist/command-palette/index.js +3 -2
  202. package/dist/context-menu/index.cjs +7 -6
  203. package/dist/context-menu/index.cjs.map +1 -1
  204. package/dist/context-menu/index.d.cts +2 -2
  205. package/dist/context-menu/index.d.ts +2 -2
  206. package/dist/context-menu/index.js +6 -5
  207. package/dist/conversation/index.cjs +11 -8
  208. package/dist/conversation/index.cjs.map +1 -1
  209. package/dist/conversation/index.d.cts +3 -3
  210. package/dist/conversation/index.d.ts +3 -3
  211. package/dist/conversation/index.js +10 -7
  212. package/dist/data-grid/index.cjs +18 -15
  213. package/dist/data-grid/index.cjs.map +1 -1
  214. package/dist/data-grid/index.d.cts +8 -8
  215. package/dist/data-grid/index.d.ts +8 -8
  216. package/dist/data-grid/index.js +17 -14
  217. package/dist/date-picker/index.cjs +11 -8
  218. package/dist/date-picker/index.cjs.map +1 -1
  219. package/dist/date-picker/index.d.cts +2 -2
  220. package/dist/date-picker/index.d.ts +2 -2
  221. package/dist/date-picker/index.js +10 -7
  222. package/dist/drawer/index.cjs +8 -5
  223. package/dist/drawer/index.cjs.map +1 -1
  224. package/dist/drawer/index.d.cts +5 -4
  225. package/dist/drawer/index.d.ts +5 -4
  226. package/dist/drawer/index.js +7 -4
  227. package/dist/dropdown/index.cjs +4 -3
  228. package/dist/dropdown/index.cjs.map +1 -1
  229. package/dist/dropdown/index.js +3 -2
  230. package/dist/header/index.cjs +9 -6
  231. package/dist/header/index.cjs.map +1 -1
  232. package/dist/header/index.d.cts +10 -10
  233. package/dist/header/index.d.ts +10 -10
  234. package/dist/header/index.js +8 -5
  235. package/dist/index.cjs +56 -43
  236. package/dist/index.cjs.map +1 -1
  237. package/dist/index.css +48 -14
  238. package/dist/index.d.cts +14 -13
  239. package/dist/index.d.ts +14 -13
  240. package/dist/index.js +60 -47
  241. package/dist/inline-edit/index.cjs +6 -5
  242. package/dist/inline-edit/index.cjs.map +1 -1
  243. package/dist/inline-edit/index.js +5 -4
  244. package/dist/input/index.cjs +5 -4
  245. package/dist/input/index.cjs.map +1 -1
  246. package/dist/input/index.d.cts +3 -3
  247. package/dist/input/index.d.ts +3 -3
  248. package/dist/input/index.js +4 -3
  249. package/dist/link-provider/index.cjs +12 -0
  250. package/dist/link-provider/index.cjs.map +1 -0
  251. package/dist/link-provider/index.d.cts +43 -0
  252. package/dist/link-provider/index.d.ts +43 -0
  253. package/dist/link-provider/index.js +12 -0
  254. package/dist/link-provider/index.js.map +1 -0
  255. package/dist/lucide-icons/index.cjs +9 -0
  256. package/dist/lucide-icons/index.cjs.map +1 -0
  257. package/dist/lucide-icons/index.d.cts +2 -0
  258. package/dist/lucide-icons/index.d.ts +2 -0
  259. package/dist/lucide-icons/index.js +9 -0
  260. package/dist/lucide-icons/index.js.map +1 -0
  261. package/dist/menu/index.cjs +6 -5
  262. package/dist/menu/index.cjs.map +1 -1
  263. package/dist/menu/index.d.cts +3 -3
  264. package/dist/menu/index.d.ts +3 -3
  265. package/dist/menu/index.js +5 -4
  266. package/dist/modal/index.cjs +8 -5
  267. package/dist/modal/index.cjs.map +1 -1
  268. package/dist/modal/index.d.cts +2 -2
  269. package/dist/modal/index.d.ts +2 -2
  270. package/dist/modal/index.js +7 -4
  271. package/dist/navigation/index.cjs +8 -5
  272. package/dist/navigation/index.cjs.map +1 -1
  273. package/dist/navigation/index.d.cts +3 -3
  274. package/dist/navigation/index.d.ts +3 -3
  275. package/dist/navigation/index.js +7 -4
  276. package/dist/number-input/index.cjs +4 -3
  277. package/dist/number-input/index.cjs.map +1 -1
  278. package/dist/number-input/index.js +3 -2
  279. package/dist/page-layout/index.cjs +16 -13
  280. package/dist/page-layout/index.cjs.map +1 -1
  281. package/dist/page-layout/index.d.cts +8 -8
  282. package/dist/page-layout/index.d.ts +8 -8
  283. package/dist/page-layout/index.js +15 -12
  284. package/dist/pagination/index.cjs +11 -8
  285. package/dist/pagination/index.cjs.map +1 -1
  286. package/dist/pagination/index.js +10 -7
  287. package/dist/popover/index.cjs +4 -3
  288. package/dist/popover/index.cjs.map +1 -1
  289. package/dist/popover/index.d.cts +1 -1
  290. package/dist/popover/index.d.ts +1 -1
  291. package/dist/popover/index.js +3 -2
  292. package/dist/renderIcon-BW3PUtg8.d.cts +50 -0
  293. package/dist/renderIcon-BW3PUtg8.d.ts +50 -0
  294. package/dist/segmented-control/index.cjs +5 -4
  295. package/dist/segmented-control/index.cjs.map +1 -1
  296. package/dist/segmented-control/index.d.cts +3 -3
  297. package/dist/segmented-control/index.d.ts +3 -3
  298. package/dist/segmented-control/index.js +4 -3
  299. package/dist/select/index.cjs +7 -6
  300. package/dist/select/index.cjs.map +1 -1
  301. package/dist/select/index.d.cts +4 -4
  302. package/dist/select/index.d.ts +4 -4
  303. package/dist/select/index.js +6 -5
  304. package/dist/snackbar/index.cjs +8 -5
  305. package/dist/snackbar/index.cjs.map +1 -1
  306. package/dist/snackbar/index.js +7 -4
  307. package/dist/split-button/index.cjs +7 -6
  308. package/dist/split-button/index.cjs.map +1 -1
  309. package/dist/split-button/index.d.cts +2 -2
  310. package/dist/split-button/index.d.ts +2 -2
  311. package/dist/split-button/index.js +6 -5
  312. package/dist/split-chip/index.cjs +8 -5
  313. package/dist/split-chip/index.cjs.map +1 -1
  314. package/dist/split-chip/index.d.cts +2 -2
  315. package/dist/split-chip/index.d.ts +2 -2
  316. package/dist/split-chip/index.js +7 -4
  317. package/dist/table/index.cjs +16 -13
  318. package/dist/table/index.cjs.map +1 -1
  319. package/dist/table/index.d.cts +4 -4
  320. package/dist/table/index.d.ts +4 -4
  321. package/dist/table/index.js +15 -12
  322. package/dist/tabs/index.cjs +4 -3
  323. package/dist/tabs/index.cjs.map +1 -1
  324. package/dist/tabs/index.d.cts +1 -1
  325. package/dist/tabs/index.d.ts +1 -1
  326. package/dist/tabs/index.js +3 -2
  327. package/dist/tag-input/index.cjs +9 -6
  328. package/dist/tag-input/index.cjs.map +1 -1
  329. package/dist/tag-input/index.js +8 -5
  330. package/dist/textarea/index.cjs +5 -4
  331. package/dist/textarea/index.cjs.map +1 -1
  332. package/dist/textarea/index.d.cts +1 -1
  333. package/dist/textarea/index.d.ts +1 -1
  334. package/dist/textarea/index.js +4 -3
  335. package/dist/theme-editor/index.cjs +14 -11
  336. package/dist/theme-editor/index.cjs.map +1 -1
  337. package/dist/theme-editor/index.js +13 -10
  338. package/dist/theme-provider/index.cjs +4 -3
  339. package/dist/theme-provider/index.cjs.map +1 -1
  340. package/dist/theme-provider/index.js +3 -2
  341. package/dist/timeline/index.cjs +2 -2
  342. package/dist/timeline/index.d.cts +18 -3
  343. package/dist/timeline/index.d.ts +18 -3
  344. package/dist/timeline/index.js +1 -1
  345. package/dist/toolbar/index.cjs +12 -9
  346. package/dist/toolbar/index.cjs.map +1 -1
  347. package/dist/toolbar/index.d.cts +7 -7
  348. package/dist/toolbar/index.d.ts +7 -7
  349. package/dist/toolbar/index.js +11 -8
  350. package/dist/tooltip/index.cjs +4 -3
  351. package/dist/tooltip/index.cjs.map +1 -1
  352. package/dist/tooltip/index.js +3 -2
  353. package/package.json +4 -2
  354. package/dist/Button.types-BH0CPyPx.d.ts +0 -33
  355. package/dist/Button.types-DZRCVqyN.d.cts +0 -33
  356. package/dist/chunk-35LGEPLP.cjs.map +0 -1
  357. package/dist/chunk-36JFXFM2.cjs.map +0 -1
  358. package/dist/chunk-3KBBJZHK.cjs.map +0 -1
  359. package/dist/chunk-4J25XZDI.js.map +0 -1
  360. package/dist/chunk-5O73AALP.cjs.map +0 -1
  361. package/dist/chunk-75GFIQRU.js.map +0 -1
  362. package/dist/chunk-DA375AI6.cjs +0 -88
  363. package/dist/chunk-DA375AI6.cjs.map +0 -1
  364. package/dist/chunk-DRXPTACG.js.map +0 -1
  365. package/dist/chunk-GWHZFX2H.js.map +0 -1
  366. package/dist/chunk-HEXAY6DE.cjs.map +0 -1
  367. package/dist/chunk-LGDODZHI.js.map +0 -1
  368. package/dist/chunk-NEQXEVHM.js +0 -34
  369. package/dist/chunk-NEQXEVHM.js.map +0 -1
  370. package/dist/chunk-O2BECFXJ.cjs.map +0 -1
  371. package/dist/chunk-OOCCSMWM.js.map +0 -1
  372. package/dist/chunk-RHHZRTWM.js.map +0 -1
  373. package/dist/chunk-SNRRF64M.js.map +0 -1
  374. package/dist/chunk-TTLFY76J.cjs.map +0 -1
  375. package/dist/chunk-VQGLVBPL.cjs.map +0 -1
  376. package/dist/chunk-WE2SBWZ6.js.map +0 -1
  377. package/dist/chunk-ZMDZGL5A.cjs +0 -34
  378. package/dist/chunk-ZMDZGL5A.cjs.map +0 -1
  379. package/dist/renderIcon-C2lEMMzb.d.cts +0 -30
  380. package/dist/renderIcon-C2lEMMzb.d.ts +0 -30
  381. /package/dist/{chunk-L7I5NEGI.js.map → chunk-2IXCEKLI.js.map} +0 -0
  382. /package/dist/{chunk-RHFD2Z5V.js.map → chunk-3TF2GZSG.js.map} +0 -0
  383. /package/dist/{chunk-JHX6JK3M.js.map → chunk-3X6QVHTD.js.map} +0 -0
  384. /package/dist/{chunk-MQAOXZD4.js.map → chunk-4S57PE43.js.map} +0 -0
  385. /package/dist/{chunk-JT4KVXJK.js.map → chunk-4V2XYUQL.js.map} +0 -0
  386. /package/dist/{chunk-AR2ZOO6L.js.map → chunk-6FXFKMJ5.js.map} +0 -0
  387. /package/dist/{chunk-YP4HUBKN.js.map → chunk-6NAOAKII.js.map} +0 -0
  388. /package/dist/{chunk-D7SQ7LHJ.js.map → chunk-BO3KK3ZQ.js.map} +0 -0
  389. /package/dist/{chunk-5XH2PHT2.js.map → chunk-CNTG7OOO.js.map} +0 -0
  390. /package/dist/{chunk-WNDDS367.js.map → chunk-DPTTDHZ5.js.map} +0 -0
  391. /package/dist/{chunk-BFKPJ627.js.map → chunk-FHOD3FUN.js.map} +0 -0
  392. /package/dist/{chunk-SDUGYJGW.js.map → chunk-H3C6YECZ.js.map} +0 -0
  393. /package/dist/{chunk-MPIVBAMY.js.map → chunk-HYRLK462.js.map} +0 -0
  394. /package/dist/{chunk-FIVMMCGM.js.map → chunk-IHPSRTVW.js.map} +0 -0
  395. /package/dist/{chunk-THCTUBX6.js.map → chunk-IKXXXVUO.js.map} +0 -0
  396. /package/dist/{chunk-24HKKSKX.js.map → chunk-L6ERHCQ2.js.map} +0 -0
  397. /package/dist/{chunk-4LNTZPSQ.js.map → chunk-L6YJ6QTZ.js.map} +0 -0
  398. /package/dist/{chunk-JNY7TUDS.js.map → chunk-MCPGI6EI.js.map} +0 -0
  399. /package/dist/{chunk-2PCCGQOH.js.map → chunk-P6OJQ2RN.js.map} +0 -0
  400. /package/dist/{chunk-YXRKBKFB.js.map → chunk-S5CMZFX6.js.map} +0 -0
  401. /package/dist/{chunk-HEX4IMLO.js.map → chunk-TJQNGJHP.js.map} +0 -0
  402. /package/dist/{chunk-SFFKQQ5Z.js.map → chunk-U4SVBE2M.js.map} +0 -0
  403. /package/dist/{chunk-O3QM3BFE.js.map → chunk-UC4NYF6T.js.map} +0 -0
  404. /package/dist/{chunk-GIEDIAPD.js.map → chunk-V5CM5TH3.js.map} +0 -0
  405. /package/dist/{chunk-L65MHFMD.js.map → chunk-V64DICJK.js.map} +0 -0
  406. /package/dist/{chunk-P4XZH3OR.js.map → chunk-WHQGJHMD.js.map} +0 -0
  407. /package/dist/{chunk-YAKTVIVK.js.map → chunk-XIUZT4TO.js.map} +0 -0
  408. /package/dist/{chunk-GPVGGBIR.js.map → chunk-XWMXEJVZ.js.map} +0 -0
  409. /package/dist/{chunk-A3LMUPG3.js.map → chunk-Z3IJWYUD.js.map} +0 -0
package/README.md CHANGED
@@ -71,11 +71,20 @@ import { Plus, Download } from 'lucide-react';
71
71
  <Button icon={Plus} />
72
72
  <Button preIcon={Download}>Download</Button>
73
73
 
74
+ // Registered names - register once at your app root
75
+ import { registerIcons } from 'eidos-ui';
76
+ registerIcons({ Plus, Download });
77
+ <Button icon="plus" />
78
+
74
79
  // String-based icons (icon font classes)
75
80
  <Button icon="fa fa-plus" /> // Font Awesome
76
81
  <Button icon="ri-add-line" /> // Remix Icons
77
82
  ```
78
83
 
84
+ `import 'eidos-ui/lucide-icons'` registers every Lucide icon by name, at the cost of
85
+ the whole icon set in your bundle. Resolving an _unregistered_ Lucide name is
86
+ deprecated and is removed in 4.0.
87
+
79
88
  ## Components
80
89
 
81
90
  These are the same groups used in Storybook, so the README and the docs sidebar stay in sync.
@@ -140,6 +149,7 @@ These are the same groups used in Storybook, so the README and the docs sidebar
140
149
  - Accordion
141
150
  - Pagination
142
151
  - TreeView
152
+ - LinkProvider
143
153
 
144
154
  </td><td valign="top">
145
155
 
@@ -1,6 +1,11 @@
1
1
  import React__default from 'react';
2
2
 
3
- type AvatarSize = 'sm' | 'md' | 'lg';
3
+ /**
4
+ * `sm`-`lg` (32/40/48px) share the `--component-size-*` scale with every other
5
+ * sized control. `xl` (64px) and `2xl` (96px) are Avatar-only, for identity
6
+ * media - a profile or account header - where 48px reads as a list thumbnail.
7
+ */
8
+ type AvatarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
4
9
  type AvatarColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'gray';
5
10
  interface AvatarProps {
6
11
  src?: string;
@@ -1,6 +1,11 @@
1
1
  import React__default from 'react';
2
2
 
3
- type AvatarSize = 'sm' | 'md' | 'lg';
3
+ /**
4
+ * `sm`-`lg` (32/40/48px) share the `--component-size-*` scale with every other
5
+ * sized control. `xl` (64px) and `2xl` (96px) are Avatar-only, for identity
6
+ * media - a profile or account header - where 48px reads as a list thumbnail.
7
+ */
8
+ type AvatarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
4
9
  type AvatarColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'gray';
5
10
  interface AvatarProps {
6
11
  src?: string;
@@ -3,7 +3,10 @@ import React__default from 'react';
3
3
  interface BreadcrumbItem {
4
4
  /** Display text for this step. */
5
5
  label: string;
6
- /** If provided, renders as an anchor tag. For SPAs, use onClick instead. */
6
+ /**
7
+ * If provided, renders as a link - through `LinkProvider`'s component when
8
+ * one is set, so a router's link keeps navigation client-side.
9
+ */
7
10
  href?: string;
8
11
  /** Click handler - useful for SPA routing without full page navigations. */
9
12
  onClick?: (e: React__default.MouseEvent) => void;
@@ -3,7 +3,10 @@ import React__default from 'react';
3
3
  interface BreadcrumbItem {
4
4
  /** Display text for this step. */
5
5
  label: string;
6
- /** If provided, renders as an anchor tag. For SPAs, use onClick instead. */
6
+ /**
7
+ * If provided, renders as a link - through `LinkProvider`'s component when
8
+ * one is set, so a router's link keeps navigation client-side.
9
+ */
7
10
  href?: string;
8
11
  /** Click handler - useful for SPA routing without full page navigations. */
9
12
  onClick?: (e: React__default.MouseEvent) => void;
@@ -0,0 +1,59 @@
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
2
+ import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.js';
3
+
4
+ /** Shared across every Button-family component (Button, ButtonGroup, SplitButton, bulk actions, ...). */
5
+ type ButtonVariantProps = 'filled' | 'outlined' | 'text';
6
+ /** Shared across every Button-family component (Button, ButtonGroup, SplitButton, bulk actions, ...). */
7
+ type ButtonColorProps = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
8
+ interface ButtonStyleProps {
9
+ variant?: ButtonVariantProps;
10
+ color?: ButtonColorProps;
11
+ size?: ComponentSizeProps;
12
+ /**
13
+ * Disables the control. On a link this removes the `href` as well, since an
14
+ * anchor with a destination cannot otherwise be made inert.
15
+ */
16
+ disabled?: boolean;
17
+ loading?: boolean;
18
+ className?: string;
19
+ tooltip?: string;
20
+ }
21
+ interface TextContentProps {
22
+ children: React.ReactNode;
23
+ preIcon?: IconType;
24
+ posIcon?: IconType;
25
+ icon?: never;
26
+ loadingText?: string;
27
+ }
28
+ interface IconContentProps {
29
+ icon: IconType;
30
+ children?: never;
31
+ preIcon?: never;
32
+ posIcon?: never;
33
+ loadingText?: never;
34
+ }
35
+ type NativeButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'children' | 'disabled' | 'className'> & {
36
+ href?: never;
37
+ };
38
+ type NativeLinkProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color' | 'children' | 'className'> & {
39
+ /**
40
+ * Renders the button as a link to this URL - through `LinkProvider`'s
41
+ * component when one is set, a plain `<a>` otherwise. Styling is identical.
42
+ */
43
+ href: string;
44
+ };
45
+ /** A `<button>` with a text label. */
46
+ interface TextButtonProps extends ButtonStyleProps, TextContentProps, NativeButtonProps {
47
+ }
48
+ /** A `<button>` showing only an icon. */
49
+ interface IconButtonProps extends ButtonStyleProps, IconContentProps, NativeButtonProps {
50
+ }
51
+ /** A link styled as a button, with a text label. */
52
+ interface TextLinkButtonProps extends ButtonStyleProps, TextContentProps, NativeLinkProps {
53
+ }
54
+ /** A link styled as a button, showing only an icon. */
55
+ interface IconLinkButtonProps extends ButtonStyleProps, IconContentProps, NativeLinkProps {
56
+ }
57
+ type ButtonProps = TextButtonProps | IconButtonProps | TextLinkButtonProps | IconLinkButtonProps;
58
+
59
+ export type { ButtonColorProps as B, IconButtonProps as I, TextButtonProps as T, ButtonProps as a, ButtonVariantProps as b, IconLinkButtonProps as c, TextLinkButtonProps as d };
@@ -0,0 +1,59 @@
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
2
+ import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.cjs';
3
+
4
+ /** Shared across every Button-family component (Button, ButtonGroup, SplitButton, bulk actions, ...). */
5
+ type ButtonVariantProps = 'filled' | 'outlined' | 'text';
6
+ /** Shared across every Button-family component (Button, ButtonGroup, SplitButton, bulk actions, ...). */
7
+ type ButtonColorProps = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
8
+ interface ButtonStyleProps {
9
+ variant?: ButtonVariantProps;
10
+ color?: ButtonColorProps;
11
+ size?: ComponentSizeProps;
12
+ /**
13
+ * Disables the control. On a link this removes the `href` as well, since an
14
+ * anchor with a destination cannot otherwise be made inert.
15
+ */
16
+ disabled?: boolean;
17
+ loading?: boolean;
18
+ className?: string;
19
+ tooltip?: string;
20
+ }
21
+ interface TextContentProps {
22
+ children: React.ReactNode;
23
+ preIcon?: IconType;
24
+ posIcon?: IconType;
25
+ icon?: never;
26
+ loadingText?: string;
27
+ }
28
+ interface IconContentProps {
29
+ icon: IconType;
30
+ children?: never;
31
+ preIcon?: never;
32
+ posIcon?: never;
33
+ loadingText?: never;
34
+ }
35
+ type NativeButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'children' | 'disabled' | 'className'> & {
36
+ href?: never;
37
+ };
38
+ type NativeLinkProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color' | 'children' | 'className'> & {
39
+ /**
40
+ * Renders the button as a link to this URL - through `LinkProvider`'s
41
+ * component when one is set, a plain `<a>` otherwise. Styling is identical.
42
+ */
43
+ href: string;
44
+ };
45
+ /** A `<button>` with a text label. */
46
+ interface TextButtonProps extends ButtonStyleProps, TextContentProps, NativeButtonProps {
47
+ }
48
+ /** A `<button>` showing only an icon. */
49
+ interface IconButtonProps extends ButtonStyleProps, IconContentProps, NativeButtonProps {
50
+ }
51
+ /** A link styled as a button, with a text label. */
52
+ interface TextLinkButtonProps extends ButtonStyleProps, TextContentProps, NativeLinkProps {
53
+ }
54
+ /** A link styled as a button, showing only an icon. */
55
+ interface IconLinkButtonProps extends ButtonStyleProps, IconContentProps, NativeLinkProps {
56
+ }
57
+ type ButtonProps = TextButtonProps | IconButtonProps | TextLinkButtonProps | IconLinkButtonProps;
58
+
59
+ export type { ButtonColorProps as B, IconButtonProps as I, TextButtonProps as T, ButtonProps as a, ButtonVariantProps as b, IconLinkButtonProps as c, TextLinkButtonProps as d };
@@ -1,4 +1,4 @@
1
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
2
2
  import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.js';
3
3
 
4
4
  type ChipVariantProps = 'filled' | 'outlined' | 'text';
@@ -13,6 +13,15 @@ interface BaseChipProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onClick
13
13
  className?: string;
14
14
  onClick?: () => void;
15
15
  onRemove?: () => void;
16
+ /**
17
+ * Makes the chip a link to this URL - through `LinkProvider`'s component
18
+ * when one is set, a plain `<a>` otherwise. Styled as a clickable chip.
19
+ */
20
+ href?: string;
21
+ /** Link target. Only applies with `href`. */
22
+ target?: React.AnchorHTMLAttributes<HTMLAnchorElement>['target'];
23
+ /** Link relationship. Defaults to `noopener noreferrer` with `target="_blank"`. */
24
+ rel?: string;
16
25
  }
17
26
  interface TextChipProps extends BaseChipProps {
18
27
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
2
2
  import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.cjs';
3
3
 
4
4
  type ChipVariantProps = 'filled' | 'outlined' | 'text';
@@ -13,6 +13,15 @@ interface BaseChipProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onClick
13
13
  className?: string;
14
14
  onClick?: () => void;
15
15
  onRemove?: () => void;
16
+ /**
17
+ * Makes the chip a link to this URL - through `LinkProvider`'s component
18
+ * when one is set, a plain `<a>` otherwise. Styled as a clickable chip.
19
+ */
20
+ href?: string;
21
+ /** Link target. Only applies with `href`. */
22
+ target?: React.AnchorHTMLAttributes<HTMLAnchorElement>['target'];
23
+ /** Link relationship. Defaults to `noopener noreferrer` with `target="_blank"`. */
24
+ rel?: string;
16
25
  }
17
26
  interface TextChipProps extends BaseChipProps {
18
27
  children: React.ReactNode;
@@ -1,5 +1,5 @@
1
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
2
- import { T as TextButtonProps, I as IconButtonProps } from './Button.types-DZRCVqyN.cjs';
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
2
+ import { T as TextButtonProps, I as IconButtonProps, d as TextLinkButtonProps, c as IconLinkButtonProps } from './Button.types-DkgWjFsk.cjs';
3
3
 
4
4
  /**
5
5
  * `hero` raises the header's prominence with a larger title - the
@@ -12,6 +12,11 @@ import { T as TextButtonProps, I as IconButtonProps } from './Button.types-DZRCV
12
12
  * the page. Wrap the header in a `Card` if a surface is wanted.
13
13
  */
14
14
  type HeaderVariant = 'default' | 'hero';
15
+ /**
16
+ * The element the title renders as. Restricted to headings, rather than any
17
+ * element type, because the title is the header's heading by definition.
18
+ */
19
+ type HeaderTitleLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
15
20
  /** A single supporting fact in the header's `meta` row. */
16
21
  interface HeaderMetaItem {
17
22
  /** Leading label for the fact - "Role", "Joined". Omit for a bare value. */
@@ -34,9 +39,9 @@ interface HeaderProps {
34
39
  * Leading media - an `Avatar`, a logo, an icon block - rendered before the
35
40
  * title/subtitle stack and omitted entirely when not passed.
36
41
  *
37
- * Deliberately any node rather than an `Avatar` config: it is also the
38
- * escape hatch for identity media larger than `Avatar`'s own `lg` size
39
- * (48px), which a hero header usually wants.
42
+ * Deliberately any node rather than an `Avatar` config, so it can equally
43
+ * hold a logo or an icon block. A hero header usually wants an `Avatar` at
44
+ * `xl` or `2xl`.
40
45
  */
41
46
  media?: React.ReactNode;
42
47
  /**
@@ -45,6 +50,14 @@ interface HeaderProps {
45
50
  * across lines.
46
51
  */
47
52
  meta?: HeaderMetaItem[];
53
+ /**
54
+ * Heading level of the title. Keep `h1` for a page header; use a lower
55
+ * level when the header introduces a section further down the page. Only
56
+ * the element changes - the title looks the same at every level.
57
+ *
58
+ * @default 'h1'
59
+ */
60
+ titleAs?: HeaderTitleLevel;
48
61
  /** Surface treatment. @default 'default' */
49
62
  variant?: HeaderVariant;
50
63
  /** Trailing action buttons, rendered right-aligned. */
@@ -71,9 +84,12 @@ interface HeaderProps {
71
84
  actionsVisibleWhenCollapsed?: number;
72
85
  className?: string;
73
86
  }
87
+ type HeaderActionKeys = 'variant' | 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip';
88
+ type HeaderLinkActionKeys = HeaderActionKeys | 'href' | 'target' | 'rel';
74
89
  /**
75
- * Restricted, discriminated subset of ButtonProps for Header actions.
90
+ * Restricted, discriminated subset of ButtonProps for Header actions. Pass
91
+ * `href` to render the action as a link.
76
92
  */
77
- type HeaderActionProps = Pick<TextButtonProps, 'variant' | 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'> | Pick<IconButtonProps, 'variant' | 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'>;
93
+ type HeaderActionProps = Pick<TextButtonProps, HeaderActionKeys> | Pick<IconButtonProps, HeaderActionKeys> | Pick<TextLinkButtonProps, HeaderLinkActionKeys> | Pick<IconLinkButtonProps, HeaderLinkActionKeys>;
78
94
 
79
- export type { HeaderActionProps as H, HeaderMetaItem as a, HeaderProps as b, HeaderVariant as c };
95
+ export type { HeaderActionProps as H, HeaderMetaItem as a, HeaderProps as b, HeaderTitleLevel as c, HeaderVariant as d };
@@ -1,5 +1,5 @@
1
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
2
- import { T as TextButtonProps, I as IconButtonProps } from './Button.types-BH0CPyPx.js';
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
2
+ import { T as TextButtonProps, I as IconButtonProps, d as TextLinkButtonProps, c as IconLinkButtonProps } from './Button.types-BCIK8Qlk.js';
3
3
 
4
4
  /**
5
5
  * `hero` raises the header's prominence with a larger title - the
@@ -12,6 +12,11 @@ import { T as TextButtonProps, I as IconButtonProps } from './Button.types-BH0CP
12
12
  * the page. Wrap the header in a `Card` if a surface is wanted.
13
13
  */
14
14
  type HeaderVariant = 'default' | 'hero';
15
+ /**
16
+ * The element the title renders as. Restricted to headings, rather than any
17
+ * element type, because the title is the header's heading by definition.
18
+ */
19
+ type HeaderTitleLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
15
20
  /** A single supporting fact in the header's `meta` row. */
16
21
  interface HeaderMetaItem {
17
22
  /** Leading label for the fact - "Role", "Joined". Omit for a bare value. */
@@ -34,9 +39,9 @@ interface HeaderProps {
34
39
  * Leading media - an `Avatar`, a logo, an icon block - rendered before the
35
40
  * title/subtitle stack and omitted entirely when not passed.
36
41
  *
37
- * Deliberately any node rather than an `Avatar` config: it is also the
38
- * escape hatch for identity media larger than `Avatar`'s own `lg` size
39
- * (48px), which a hero header usually wants.
42
+ * Deliberately any node rather than an `Avatar` config, so it can equally
43
+ * hold a logo or an icon block. A hero header usually wants an `Avatar` at
44
+ * `xl` or `2xl`.
40
45
  */
41
46
  media?: React.ReactNode;
42
47
  /**
@@ -45,6 +50,14 @@ interface HeaderProps {
45
50
  * across lines.
46
51
  */
47
52
  meta?: HeaderMetaItem[];
53
+ /**
54
+ * Heading level of the title. Keep `h1` for a page header; use a lower
55
+ * level when the header introduces a section further down the page. Only
56
+ * the element changes - the title looks the same at every level.
57
+ *
58
+ * @default 'h1'
59
+ */
60
+ titleAs?: HeaderTitleLevel;
48
61
  /** Surface treatment. @default 'default' */
49
62
  variant?: HeaderVariant;
50
63
  /** Trailing action buttons, rendered right-aligned. */
@@ -71,9 +84,12 @@ interface HeaderProps {
71
84
  actionsVisibleWhenCollapsed?: number;
72
85
  className?: string;
73
86
  }
87
+ type HeaderActionKeys = 'variant' | 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip';
88
+ type HeaderLinkActionKeys = HeaderActionKeys | 'href' | 'target' | 'rel';
74
89
  /**
75
- * Restricted, discriminated subset of ButtonProps for Header actions.
90
+ * Restricted, discriminated subset of ButtonProps for Header actions. Pass
91
+ * `href` to render the action as a link.
76
92
  */
77
- type HeaderActionProps = Pick<TextButtonProps, 'variant' | 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'> | Pick<IconButtonProps, 'variant' | 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'>;
93
+ type HeaderActionProps = Pick<TextButtonProps, HeaderActionKeys> | Pick<IconButtonProps, HeaderActionKeys> | Pick<TextLinkButtonProps, HeaderLinkActionKeys> | Pick<IconLinkButtonProps, HeaderLinkActionKeys>;
78
94
 
79
- export type { HeaderActionProps as H, HeaderMetaItem as a, HeaderProps as b, HeaderVariant as c };
95
+ export type { HeaderActionProps as H, HeaderMetaItem as a, HeaderProps as b, HeaderTitleLevel as c, HeaderVariant as d };
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
3
3
  import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.cjs';
4
4
 
5
5
  type InputVariantProps = 'filled' | 'outlined' | 'text' | 'bare';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
3
3
  import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.js';
4
4
 
5
5
  type InputVariantProps = 'filled' | 'outlined' | 'text' | 'bare';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
3
3
 
4
4
  interface BaseMenuItem {
5
5
  id: string;
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
3
3
 
4
4
  interface BaseMenuItem {
5
5
  id: string;
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
3
3
 
4
4
  interface NavigationItem {
5
5
  /** Unique id, used as the React key. */
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
3
3
 
4
4
  interface NavigationItem {
5
5
  /** Unique id, used as the React key. */
@@ -1,4 +1,4 @@
1
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
2
2
  import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.js';
3
3
 
4
4
  type SegmentedControlColorProps = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
@@ -1,4 +1,4 @@
1
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
1
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
2
2
  import { C as ComponentSizeProps } from './sizes-DM6Rrrgq.cjs';
3
3
 
4
4
  type SegmentedControlColorProps = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
@@ -1,5 +1,5 @@
1
- import { a as InputProps } from './Input.types-D7-sWq-q.cjs';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
1
+ import { a as InputProps } from './Input.types--K0t_3L2.cjs';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
3
3
 
4
4
  interface SelectOption {
5
5
  id: string;
@@ -1,5 +1,5 @@
1
- import { a as InputProps } from './Input.types-CSDMaZNe.js';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
1
+ import { a as InputProps } from './Input.types--UjucBDd.js';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
3
3
 
4
4
  interface SelectOption {
5
5
  id: string;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.js';
3
- import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-BH0CPyPx.js';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.js';
3
+ import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-BCIK8Qlk.js';
4
4
 
5
5
  /**
6
6
  * A field name of a row-data type, as a string-literal union.
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
3
- import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-DZRCVqyN.cjs';
2
+ import { a as IconType } from './renderIcon-BW3PUtg8.cjs';
3
+ import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-DkgWjFsk.cjs';
4
4
 
5
5
  /**
6
6
  * A field name of a row-data type, as a string-literal union.
@@ -1,7 +1,7 @@
1
- import { a as BreadcrumbProps } from './Breadcrumb.types-DaykU-C8.js';
2
- import { b as AvatarProps } from './Avatar.types-BY-C09Ke.js';
3
- import { I as IconButtonProps } from './Button.types-BH0CPyPx.js';
4
- import { b as MenuItemType } from './Menu.types-BN4g1-3A.js';
1
+ import { a as BreadcrumbProps } from './Breadcrumb.types-C3uADbKU.js';
2
+ import { b as AvatarProps } from './Avatar.types-DkRznn-7.js';
3
+ import { I as IconButtonProps, c as IconLinkButtonProps } from './Button.types-BCIK8Qlk.js';
4
+ import { b as MenuItemType } from './Menu.types-tUEhXn52.js';
5
5
  import { C as CommandItem } from './CommandPalette.types-DRMMS_ev.js';
6
6
 
7
7
  interface ToolbarProps {
@@ -30,9 +30,11 @@ interface ToolbarProps {
30
30
  actions?: ToolbarActionProps[];
31
31
  className?: string;
32
32
  }
33
+ type ToolbarActionKeys = 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip';
33
34
  /**
34
- * Restricted, discriminated subset of ButtonProps for Toolbar actions.
35
+ * Restricted, discriminated subset of ButtonProps for Toolbar actions. Pass
36
+ * `href` to render the action as a link.
35
37
  */
36
- type ToolbarActionProps = Pick<IconButtonProps, 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'>;
38
+ type ToolbarActionProps = Pick<IconButtonProps, ToolbarActionKeys> | Pick<IconLinkButtonProps, ToolbarActionKeys | 'href' | 'target' | 'rel'>;
37
39
 
38
40
  export type { ToolbarActionProps as T, ToolbarProps as a };
@@ -1,7 +1,7 @@
1
- import { a as BreadcrumbProps } from './Breadcrumb.types-DaykU-C8.cjs';
2
- import { b as AvatarProps } from './Avatar.types-BY-C09Ke.cjs';
3
- import { I as IconButtonProps } from './Button.types-DZRCVqyN.cjs';
4
- import { b as MenuItemType } from './Menu.types-CTnUijv5.cjs';
1
+ import { a as BreadcrumbProps } from './Breadcrumb.types-C3uADbKU.cjs';
2
+ import { b as AvatarProps } from './Avatar.types-DkRznn-7.cjs';
3
+ import { I as IconButtonProps, c as IconLinkButtonProps } from './Button.types-DkgWjFsk.cjs';
4
+ import { b as MenuItemType } from './Menu.types-D6VoK9T9.cjs';
5
5
  import { C as CommandItem } from './CommandPalette.types-DRMMS_ev.cjs';
6
6
 
7
7
  interface ToolbarProps {
@@ -30,9 +30,11 @@ interface ToolbarProps {
30
30
  actions?: ToolbarActionProps[];
31
31
  className?: string;
32
32
  }
33
+ type ToolbarActionKeys = 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip';
33
34
  /**
34
- * Restricted, discriminated subset of ButtonProps for Toolbar actions.
35
+ * Restricted, discriminated subset of ButtonProps for Toolbar actions. Pass
36
+ * `href` to render the action as a link.
35
37
  */
36
- type ToolbarActionProps = Pick<IconButtonProps, 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'>;
38
+ type ToolbarActionProps = Pick<IconButtonProps, ToolbarActionKeys> | Pick<IconLinkButtonProps, ToolbarActionKeys | 'href' | 'target' | 'rel'>;
37
39
 
38
40
  export type { ToolbarActionProps as T, ToolbarProps as a };
@@ -1,12 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3RWZC6OWcjs = require('../chunk-3RWZC6OW.cjs');
4
- require('../chunk-DA375AI6.cjs');
3
+ var _chunkPE2SLXUScjs = require('../chunk-PE2SLXUS.cjs');
4
+ require('../chunk-XPG56DLQ.cjs');
5
5
  require('../chunk-I6UOIS4J.cjs');
6
- require('../chunk-BEOECPVJ.cjs');
7
- require('../chunk-35LGEPLP.cjs');
6
+ require('../chunk-UTYY35QX.cjs');
7
+ require('../chunk-ENMDOQQO.cjs');
8
+ require('../chunk-CJT7L764.cjs');
9
+ require('../chunk-KXDGW6LJ.cjs');
10
+ require('../chunk-75Q5OS7L.cjs');
8
11
  require('../chunk-DZUJEN5N.cjs');
9
12
 
10
13
 
11
- exports.Alert = _chunk3RWZC6OWcjs.Alert;
14
+ exports.Alert = _chunkPE2SLXUScjs.Alert;
12
15
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/eidos-ui/eidos-ui/dist/alert/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,wCAAC","file":"/home/runner/work/eidos-ui/eidos-ui/dist/alert/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/eidos-ui/eidos-ui/dist/alert/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,wCAAC","file":"/home/runner/work/eidos-ui/eidos-ui/dist/alert/index.cjs"}
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from '../renderIcon-C2lEMMzb.cjs';
2
+ import { a as IconType } from '../renderIcon-BW3PUtg8.cjs';
3
3
 
4
4
  interface AlertAction {
5
5
  label: string;
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { I as IconType } from '../renderIcon-C2lEMMzb.js';
2
+ import { a as IconType } from '../renderIcon-BW3PUtg8.js';
3
3
 
4
4
  interface AlertAction {
5
5
  label: string;
@@ -1,10 +1,13 @@
1
1
  import {
2
2
  Alert
3
- } from "../chunk-AR2ZOO6L.js";
4
- import "../chunk-75GFIQRU.js";
3
+ } from "../chunk-6FXFKMJ5.js";
4
+ import "../chunk-JY77VJAZ.js";
5
5
  import "../chunk-66R54X6R.js";
6
- import "../chunk-JNY7TUDS.js";
7
- import "../chunk-RHHZRTWM.js";
6
+ import "../chunk-MCPGI6EI.js";
7
+ import "../chunk-U34INRFO.js";
8
+ import "../chunk-V3T7RO4F.js";
9
+ import "../chunk-BDH2MXJW.js";
10
+ import "../chunk-U32K2H3N.js";
8
11
  import "../chunk-5WRI5ZAA.js";
9
12
  export {
10
13
  Alert
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
- import { b as AvatarProps, a as AvatarGroupProps } from '../Avatar.types-BY-C09Ke.cjs';
3
- export { A as AvatarColor, c as AvatarSize } from '../Avatar.types-BY-C09Ke.cjs';
2
+ import { b as AvatarProps, a as AvatarGroupProps } from '../Avatar.types-DkRznn-7.cjs';
3
+ export { A as AvatarColor, c as AvatarSize } from '../Avatar.types-DkRznn-7.cjs';
4
4
 
5
5
  declare const Avatar: React__default.FC<AvatarProps>;
6
6
  declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
- import { b as AvatarProps, a as AvatarGroupProps } from '../Avatar.types-BY-C09Ke.js';
3
- export { A as AvatarColor, c as AvatarSize } from '../Avatar.types-BY-C09Ke.js';
2
+ import { b as AvatarProps, a as AvatarGroupProps } from '../Avatar.types-DkRznn-7.js';
3
+ export { A as AvatarColor, c as AvatarSize } from '../Avatar.types-DkRznn-7.js';
4
4
 
5
5
  declare const Avatar: React__default.FC<AvatarProps>;
6
6
  declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
@@ -1,8 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5O73AALPcjs = require('../chunk-5O73AALP.cjs');
3
+ var _chunkGP6EEZH5cjs = require('../chunk-GP6EEZH5.cjs');
4
+ require('../chunk-KXDGW6LJ.cjs');
5
+ require('../chunk-75Q5OS7L.cjs');
4
6
  require('../chunk-DZUJEN5N.cjs');
5
7
 
6
8
 
7
- exports.Breadcrumb = _chunk5O73AALPcjs.Breadcrumb;
9
+ exports.Breadcrumb = _chunkGP6EEZH5cjs.Breadcrumb;
8
10
  //# sourceMappingURL=index.cjs.map