eidos-ui 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/{Avatar.types-BY-C09Ke.d.cts → Avatar.types-DkRznn-7.d.cts} +6 -1
- package/dist/{Avatar.types-BY-C09Ke.d.ts → Avatar.types-DkRznn-7.d.ts} +6 -1
- package/dist/{Breadcrumb.types-DaykU-C8.d.cts → Breadcrumb.types-C3uADbKU.d.cts} +4 -1
- package/dist/{Breadcrumb.types-DaykU-C8.d.ts → Breadcrumb.types-C3uADbKU.d.ts} +4 -1
- package/dist/Button.types-BCIK8Qlk.d.ts +59 -0
- package/dist/Button.types-DkgWjFsk.d.cts +59 -0
- package/dist/{Chip.types-COQfx2Ru.d.ts → Chip.types-BM-UZOCv.d.ts} +10 -1
- package/dist/{Chip.types-B6y3Wifa.d.cts → Chip.types-_1bhyKz4.d.cts} +10 -1
- package/dist/{Header.types-Ce5Cj301.d.cts → Header.types-a6p0-ZHx.d.cts} +24 -8
- package/dist/{Header.types-0XovUp0T.d.ts → Header.types-zbhURbg7.d.ts} +24 -8
- package/dist/{Input.types-D7-sWq-q.d.cts → Input.types--K0t_3L2.d.cts} +1 -1
- package/dist/{Input.types-CSDMaZNe.d.ts → Input.types--UjucBDd.d.ts} +1 -1
- package/dist/{Menu.types-CTnUijv5.d.cts → Menu.types-D6VoK9T9.d.cts} +1 -1
- package/dist/{Menu.types-BN4g1-3A.d.ts → Menu.types-tUEhXn52.d.ts} +1 -1
- package/dist/{Navigation.types-By5HfPTi.d.ts → Navigation.types-CJRzo9Zo.d.ts} +1 -1
- package/dist/{Navigation.types-_MrYqqUI.d.cts → Navigation.types-D95oHZEJ.d.cts} +1 -1
- package/dist/{SegmentedControl.types-cjLwwBAm.d.ts → SegmentedControl.types-CHtjABQM.d.ts} +1 -1
- package/dist/{SegmentedControl.types-BofrEYyd.d.cts → SegmentedControl.types-D_gHYL9X.d.cts} +1 -1
- package/dist/{Select.types-ok-03rLo.d.cts → Select.types-8CGZBgT-.d.cts} +2 -2
- package/dist/{Select.types-C2tGy1vj.d.ts → Select.types-CAVh9Gvd.d.ts} +2 -2
- package/dist/{Table.types-D8pmgxKA.d.ts → Table.types-BFDE-hhF.d.ts} +2 -2
- package/dist/{Table.types-D-9tC0kJ.d.cts → Table.types-Tai7_MTz.d.cts} +2 -2
- package/dist/{Toolbar.types-CKnQC_TW.d.ts → Toolbar.types-BqBrPVww.d.ts} +8 -6
- package/dist/{Toolbar.types-DUz2mxct.d.cts → Toolbar.types-GCUgzuKW.d.cts} +8 -6
- package/dist/alert/index.cjs +8 -5
- package/dist/alert/index.cjs.map +1 -1
- package/dist/alert/index.d.cts +1 -1
- package/dist/alert/index.d.ts +1 -1
- package/dist/alert/index.js +7 -4
- package/dist/avatar/index.d.cts +2 -2
- package/dist/avatar/index.d.ts +2 -2
- package/dist/breadcrumb/index.cjs +4 -2
- package/dist/breadcrumb/index.cjs.map +1 -1
- package/dist/breadcrumb/index.d.cts +2 -2
- package/dist/breadcrumb/index.d.ts +2 -2
- package/dist/breadcrumb/index.js +3 -1
- package/dist/button/index.cjs +7 -4
- package/dist/button/index.cjs.map +1 -1
- package/dist/button/index.d.cts +5 -5
- package/dist/button/index.d.ts +5 -5
- package/dist/button/index.js +6 -3
- package/dist/button-group/index.d.cts +2 -2
- package/dist/button-group/index.d.ts +2 -2
- package/dist/chip/index.cjs +7 -4
- package/dist/chip/index.cjs.map +1 -1
- package/dist/chip/index.d.cts +3 -3
- package/dist/chip/index.d.ts +3 -3
- package/dist/chip/index.js +6 -3
- package/dist/{chunk-DRXPTACG.js → chunk-26PRBZA6.js} +6 -2
- package/dist/chunk-26PRBZA6.js.map +1 -0
- package/dist/{chunk-L7I5NEGI.js → chunk-2IXCEKLI.js} +2 -2
- package/dist/{chunk-GWHZFX2H.js → chunk-2TIMJD4K.js} +29 -6
- package/dist/chunk-2TIMJD4K.js.map +1 -0
- package/dist/{chunk-RHFD2Z5V.js → chunk-3TF2GZSG.js} +7 -7
- package/dist/{chunk-TC5IC6OP.cjs → chunk-3VXUOAIJ.cjs} +3 -3
- package/dist/{chunk-TC5IC6OP.cjs.map → chunk-3VXUOAIJ.cjs.map} +1 -1
- package/dist/{chunk-JHX6JK3M.js → chunk-3X6QVHTD.js} +2 -2
- package/dist/{chunk-7VJCGKVP.cjs → chunk-4HZIXRAJ.cjs} +11 -11
- package/dist/{chunk-7VJCGKVP.cjs.map → chunk-4HZIXRAJ.cjs.map} +1 -1
- package/dist/{chunk-MQAOXZD4.js → chunk-4S57PE43.js} +4 -4
- package/dist/{chunk-JT4KVXJK.js → chunk-4V2XYUQL.js} +2 -2
- package/dist/{chunk-PMSENLOA.cjs → chunk-544RAXWO.cjs} +19 -19
- package/dist/{chunk-PMSENLOA.cjs.map → chunk-544RAXWO.cjs.map} +1 -1
- package/dist/{chunk-4JSTBA4F.cjs → chunk-6CW5QSYV.cjs} +7 -7
- package/dist/{chunk-4JSTBA4F.cjs.map → chunk-6CW5QSYV.cjs.map} +1 -1
- package/dist/{chunk-AR2ZOO6L.js → chunk-6FXFKMJ5.js} +3 -3
- package/dist/{chunk-KREHT4AQ.cjs → chunk-6IB27I5K.cjs} +8 -8
- package/dist/{chunk-KREHT4AQ.cjs.map → chunk-6IB27I5K.cjs.map} +1 -1
- package/dist/{chunk-LGDODZHI.js → chunk-6LTZV6HN.js} +4 -4
- package/dist/{chunk-YP4HUBKN.js → chunk-6NAOAKII.js} +2 -2
- package/dist/chunk-75Q5OS7L.cjs +10 -0
- package/dist/chunk-75Q5OS7L.cjs.map +1 -0
- package/dist/{chunk-LQXFXXMJ.cjs → chunk-7FV2X62W.cjs} +7 -7
- package/dist/{chunk-LQXFXXMJ.cjs.map → chunk-7FV2X62W.cjs.map} +1 -1
- package/dist/{chunk-2T7ZMMH5.cjs → chunk-7NUVLVSL.cjs} +5 -5
- package/dist/{chunk-2T7ZMMH5.cjs.map → chunk-7NUVLVSL.cjs.map} +1 -1
- package/dist/chunk-ACH7SYQ2.js +47 -0
- package/dist/chunk-ACH7SYQ2.js.map +1 -0
- package/dist/{chunk-HNGFRRVZ.cjs → chunk-AUNDBUHM.cjs} +3 -3
- package/dist/{chunk-HNGFRRVZ.cjs.map → chunk-AUNDBUHM.cjs.map} +1 -1
- package/dist/{chunk-XZLSHEHE.cjs → chunk-B2OHBIAL.cjs} +10 -10
- package/dist/{chunk-XZLSHEHE.cjs.map → chunk-B2OHBIAL.cjs.map} +1 -1
- package/dist/chunk-BDH2MXJW.js +46 -0
- package/dist/chunk-BDH2MXJW.js.map +1 -0
- package/dist/{chunk-D7SQ7LHJ.js → chunk-BO3KK3ZQ.js} +2 -2
- package/dist/{chunk-NOQF7UQ5.cjs → chunk-CFVUUMQA.cjs} +6 -6
- package/dist/{chunk-NOQF7UQ5.cjs.map → chunk-CFVUUMQA.cjs.map} +1 -1
- package/dist/chunk-CJT7L764.cjs +21 -0
- package/dist/chunk-CJT7L764.cjs.map +1 -0
- package/dist/{chunk-5XH2PHT2.js → chunk-CNTG7OOO.js} +14 -14
- package/dist/{chunk-I6M6CVI2.cjs → chunk-DG3O5NV4.cjs} +3 -3
- package/dist/{chunk-I6M6CVI2.cjs.map → chunk-DG3O5NV4.cjs.map} +1 -1
- package/dist/{chunk-WNDDS367.js → chunk-DPTTDHZ5.js} +3 -3
- package/dist/{chunk-35LGEPLP.cjs → chunk-ENMDOQQO.cjs} +29 -14
- package/dist/chunk-ENMDOQQO.cjs.map +1 -0
- package/dist/{chunk-V4BZWBZT.cjs → chunk-F5IRMMZ2.cjs} +7 -7
- package/dist/{chunk-V4BZWBZT.cjs.map → chunk-F5IRMMZ2.cjs.map} +1 -1
- package/dist/{chunk-WE2SBWZ6.js → chunk-FE7S4RSK.js} +10 -10
- package/dist/chunk-FE7S4RSK.js.map +1 -0
- package/dist/{chunk-BFKPJ627.js → chunk-FHOD3FUN.js} +4 -4
- package/dist/{chunk-SNRRF64M.js → chunk-GDRLVX2A.js} +31 -10
- package/dist/chunk-GDRLVX2A.js.map +1 -0
- package/dist/{chunk-5O73AALP.cjs → chunk-GP6EEZH5.cjs} +7 -3
- package/dist/chunk-GP6EEZH5.cjs.map +1 -0
- package/dist/{chunk-SDUGYJGW.js → chunk-H3C6YECZ.js} +6 -6
- package/dist/{chunk-RJVHR45I.cjs → chunk-H46ZLPNJ.cjs} +7 -7
- package/dist/{chunk-RJVHR45I.cjs.map → chunk-H46ZLPNJ.cjs.map} +1 -1
- package/dist/{chunk-66UQTF57.cjs → chunk-HLI4SOH3.cjs} +45 -45
- package/dist/{chunk-66UQTF57.cjs.map → chunk-HLI4SOH3.cjs.map} +1 -1
- package/dist/{chunk-ZMRINZIO.cjs → chunk-HR5MWA3B.cjs} +5 -5
- package/dist/{chunk-ZMRINZIO.cjs.map → chunk-HR5MWA3B.cjs.map} +1 -1
- package/dist/{chunk-MPIVBAMY.js → chunk-HYRLK462.js} +2 -2
- package/dist/{chunk-FIVMMCGM.js → chunk-IHPSRTVW.js} +4 -4
- package/dist/{chunk-THCTUBX6.js → chunk-IKXXXVUO.js} +3 -3
- package/dist/{chunk-JPYJQ4TF.cjs → chunk-JFV56ISS.cjs} +6 -6
- package/dist/{chunk-JPYJQ4TF.cjs.map → chunk-JFV56ISS.cjs.map} +1 -1
- package/dist/{chunk-75GFIQRU.js → chunk-JY77VJAZ.js} +30 -15
- package/dist/chunk-JY77VJAZ.js.map +1 -0
- package/dist/chunk-KXDGW6LJ.cjs +46 -0
- package/dist/chunk-KXDGW6LJ.cjs.map +1 -0
- package/dist/{chunk-24HKKSKX.js → chunk-L6ERHCQ2.js} +3 -3
- package/dist/{chunk-4LNTZPSQ.js → chunk-L6YJ6QTZ.js} +2 -2
- package/dist/{chunk-KBQD4JLK.cjs → chunk-LUDK44NZ.cjs} +3 -3
- package/dist/{chunk-KBQD4JLK.cjs.map → chunk-LUDK44NZ.cjs.map} +1 -1
- package/dist/{chunk-PCTHJZRO.cjs → chunk-LWCFT5SP.cjs} +3 -3
- package/dist/{chunk-PCTHJZRO.cjs.map → chunk-LWCFT5SP.cjs.map} +1 -1
- package/dist/{chunk-JNY7TUDS.js → chunk-MCPGI6EI.js} +2 -2
- package/dist/{chunk-DU5JKTHK.cjs → chunk-MKC6V3SY.cjs} +6 -6
- package/dist/{chunk-DU5JKTHK.cjs.map → chunk-MKC6V3SY.cjs.map} +1 -1
- package/dist/{chunk-J76JHN7J.cjs → chunk-N5NXKVFJ.cjs} +10 -10
- package/dist/{chunk-J76JHN7J.cjs.map → chunk-N5NXKVFJ.cjs.map} +1 -1
- package/dist/{chunk-XERBOFYZ.cjs → chunk-NERASTO2.cjs} +3 -3
- package/dist/{chunk-XERBOFYZ.cjs.map → chunk-NERASTO2.cjs.map} +1 -1
- package/dist/{chunk-3KBBJZHK.cjs → chunk-NFD7MPX4.cjs} +16 -14
- package/dist/chunk-NFD7MPX4.cjs.map +1 -0
- package/dist/{chunk-3ZRFOKDM.cjs → chunk-NNAEQR3Y.cjs} +30 -30
- package/dist/{chunk-3ZRFOKDM.cjs.map → chunk-NNAEQR3Y.cjs.map} +1 -1
- package/dist/{chunk-36JFXFM2.cjs → chunk-OGGZIFTI.cjs} +38 -38
- package/dist/chunk-OGGZIFTI.cjs.map +1 -0
- package/dist/{chunk-2PCCGQOH.js → chunk-P6OJQ2RN.js} +6 -6
- package/dist/{chunk-3RWZC6OW.cjs → chunk-PE2SLXUS.cjs} +5 -5
- package/dist/{chunk-3RWZC6OW.cjs.map → chunk-PE2SLXUS.cjs.map} +1 -1
- package/dist/chunk-QD32IMMH.js +13 -0
- package/dist/chunk-QD32IMMH.js.map +1 -0
- package/dist/{chunk-HEXAY6DE.cjs → chunk-QUSO4GFA.cjs} +7 -7
- package/dist/{chunk-HEXAY6DE.cjs.map → chunk-QUSO4GFA.cjs.map} +1 -1
- package/dist/{chunk-OOCCSMWM.js → chunk-RHWZX7PB.js} +9 -7
- package/dist/chunk-RHWZX7PB.js.map +1 -0
- package/dist/{chunk-YXRKBKFB.js → chunk-S5CMZFX6.js} +3 -3
- package/dist/{chunk-4AO5RKV5.cjs → chunk-SLHIVEFW.cjs} +7 -7
- package/dist/{chunk-4AO5RKV5.cjs.map → chunk-SLHIVEFW.cjs.map} +1 -1
- package/dist/{chunk-HEX4IMLO.js → chunk-TJQNGJHP.js} +4 -4
- package/dist/{chunk-JCKGAAPZ.cjs → chunk-TNQ2ZZ7W.cjs} +9 -9
- package/dist/{chunk-JCKGAAPZ.cjs.map → chunk-TNQ2ZZ7W.cjs.map} +1 -1
- package/dist/chunk-U32K2H3N.js +10 -0
- package/dist/chunk-U32K2H3N.js.map +1 -0
- package/dist/{chunk-RHHZRTWM.js → chunk-U34INRFO.js} +28 -13
- package/dist/chunk-U34INRFO.js.map +1 -0
- package/dist/{chunk-SFFKQQ5Z.js → chunk-U4SVBE2M.js} +5 -5
- package/dist/{chunk-O3QM3BFE.js → chunk-UC4NYF6T.js} +2 -2
- package/dist/{chunk-6JHVXWDV.cjs → chunk-ULKWUKD2.cjs} +22 -22
- package/dist/{chunk-6JHVXWDV.cjs.map → chunk-ULKWUKD2.cjs.map} +1 -1
- package/dist/{chunk-BEOECPVJ.cjs → chunk-UTYY35QX.cjs} +3 -3
- package/dist/{chunk-BEOECPVJ.cjs.map → chunk-UTYY35QX.cjs.map} +1 -1
- package/dist/{chunk-7BFODYNL.cjs → chunk-UUT2VEN5.cjs} +7 -7
- package/dist/{chunk-7BFODYNL.cjs.map → chunk-UUT2VEN5.cjs.map} +1 -1
- package/dist/chunk-V3T7RO4F.js +21 -0
- package/dist/chunk-V3T7RO4F.js.map +1 -0
- package/dist/{chunk-GIEDIAPD.js → chunk-V5CM5TH3.js} +3 -3
- package/dist/{chunk-L65MHFMD.js → chunk-V64DICJK.js} +3 -3
- package/dist/{chunk-KIZVY57H.cjs → chunk-VXC7Z7XB.cjs} +5 -5
- package/dist/{chunk-KIZVY57H.cjs.map → chunk-VXC7Z7XB.cjs.map} +1 -1
- package/dist/chunk-VYF7WV4K.cjs +47 -0
- package/dist/chunk-VYF7WV4K.cjs.map +1 -0
- package/dist/{chunk-P4XZH3OR.js → chunk-WHQGJHMD.js} +4 -4
- package/dist/{chunk-TTLFY76J.cjs → chunk-WR77IZUU.cjs} +32 -9
- package/dist/chunk-WR77IZUU.cjs.map +1 -0
- package/dist/{chunk-O2BECFXJ.cjs → chunk-WTFEMOV5.cjs} +43 -22
- package/dist/chunk-WTFEMOV5.cjs.map +1 -0
- package/dist/{chunk-YAKTVIVK.js → chunk-XIUZT4TO.js} +3 -3
- package/dist/chunk-XPG56DLQ.cjs +103 -0
- package/dist/chunk-XPG56DLQ.cjs.map +1 -0
- package/dist/{chunk-GPVGGBIR.js → chunk-XWMXEJVZ.js} +2 -2
- package/dist/chunk-XZILHRKG.cjs +13 -0
- package/dist/chunk-XZILHRKG.cjs.map +1 -0
- package/dist/{chunk-VQGLVBPL.cjs → chunk-YIOHKQ6Y.cjs} +11 -4
- package/dist/chunk-YIOHKQ6Y.cjs.map +1 -0
- package/dist/{chunk-A3LMUPG3.js → chunk-Z3IJWYUD.js} +2 -2
- package/dist/{chunk-4J25XZDI.js → chunk-ZJWQPZ7E.js} +9 -2
- package/dist/chunk-ZJWQPZ7E.js.map +1 -0
- package/dist/color-picker/index.cjs +5 -4
- package/dist/color-picker/index.cjs.map +1 -1
- package/dist/color-picker/index.js +4 -3
- package/dist/combobox/index.cjs +7 -6
- package/dist/combobox/index.cjs.map +1 -1
- package/dist/combobox/index.js +6 -5
- package/dist/command-palette/index.cjs +4 -3
- package/dist/command-palette/index.cjs.map +1 -1
- package/dist/command-palette/index.js +3 -2
- package/dist/context-menu/index.cjs +7 -6
- package/dist/context-menu/index.cjs.map +1 -1
- package/dist/context-menu/index.d.cts +2 -2
- package/dist/context-menu/index.d.ts +2 -2
- package/dist/context-menu/index.js +6 -5
- package/dist/conversation/index.cjs +11 -8
- package/dist/conversation/index.cjs.map +1 -1
- package/dist/conversation/index.d.cts +3 -3
- package/dist/conversation/index.d.ts +3 -3
- package/dist/conversation/index.js +10 -7
- package/dist/data-grid/index.cjs +18 -15
- package/dist/data-grid/index.cjs.map +1 -1
- package/dist/data-grid/index.d.cts +8 -8
- package/dist/data-grid/index.d.ts +8 -8
- package/dist/data-grid/index.js +17 -14
- package/dist/date-picker/index.cjs +11 -8
- package/dist/date-picker/index.cjs.map +1 -1
- package/dist/date-picker/index.d.cts +2 -2
- package/dist/date-picker/index.d.ts +2 -2
- package/dist/date-picker/index.js +10 -7
- package/dist/drawer/index.cjs +8 -5
- package/dist/drawer/index.cjs.map +1 -1
- package/dist/drawer/index.d.cts +5 -4
- package/dist/drawer/index.d.ts +5 -4
- package/dist/drawer/index.js +7 -4
- package/dist/dropdown/index.cjs +4 -3
- package/dist/dropdown/index.cjs.map +1 -1
- package/dist/dropdown/index.js +3 -2
- package/dist/header/index.cjs +9 -6
- package/dist/header/index.cjs.map +1 -1
- package/dist/header/index.d.cts +10 -10
- package/dist/header/index.d.ts +10 -10
- package/dist/header/index.js +8 -5
- package/dist/index.cjs +56 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +48 -14
- package/dist/index.d.cts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.js +60 -47
- package/dist/inline-edit/index.cjs +6 -5
- package/dist/inline-edit/index.cjs.map +1 -1
- package/dist/inline-edit/index.js +5 -4
- package/dist/input/index.cjs +5 -4
- package/dist/input/index.cjs.map +1 -1
- package/dist/input/index.d.cts +3 -3
- package/dist/input/index.d.ts +3 -3
- package/dist/input/index.js +4 -3
- package/dist/link-provider/index.cjs +12 -0
- package/dist/link-provider/index.cjs.map +1 -0
- package/dist/link-provider/index.d.cts +43 -0
- package/dist/link-provider/index.d.ts +43 -0
- package/dist/link-provider/index.js +12 -0
- package/dist/link-provider/index.js.map +1 -0
- package/dist/lucide-icons/index.cjs +9 -0
- package/dist/lucide-icons/index.cjs.map +1 -0
- package/dist/lucide-icons/index.d.cts +2 -0
- package/dist/lucide-icons/index.d.ts +2 -0
- package/dist/lucide-icons/index.js +9 -0
- package/dist/lucide-icons/index.js.map +1 -0
- package/dist/menu/index.cjs +6 -5
- package/dist/menu/index.cjs.map +1 -1
- package/dist/menu/index.d.cts +3 -3
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/index.js +5 -4
- package/dist/modal/index.cjs +8 -5
- package/dist/modal/index.cjs.map +1 -1
- package/dist/modal/index.d.cts +2 -2
- package/dist/modal/index.d.ts +2 -2
- package/dist/modal/index.js +7 -4
- package/dist/navigation/index.cjs +8 -5
- package/dist/navigation/index.cjs.map +1 -1
- package/dist/navigation/index.d.cts +3 -3
- package/dist/navigation/index.d.ts +3 -3
- package/dist/navigation/index.js +7 -4
- package/dist/number-input/index.cjs +4 -3
- package/dist/number-input/index.cjs.map +1 -1
- package/dist/number-input/index.js +3 -2
- package/dist/page-layout/index.cjs +16 -13
- package/dist/page-layout/index.cjs.map +1 -1
- package/dist/page-layout/index.d.cts +8 -8
- package/dist/page-layout/index.d.ts +8 -8
- package/dist/page-layout/index.js +15 -12
- package/dist/pagination/index.cjs +11 -8
- package/dist/pagination/index.cjs.map +1 -1
- package/dist/pagination/index.js +10 -7
- package/dist/popover/index.cjs +4 -3
- package/dist/popover/index.cjs.map +1 -1
- package/dist/popover/index.d.cts +1 -1
- package/dist/popover/index.d.ts +1 -1
- package/dist/popover/index.js +3 -2
- package/dist/renderIcon-BW3PUtg8.d.cts +50 -0
- package/dist/renderIcon-BW3PUtg8.d.ts +50 -0
- package/dist/segmented-control/index.cjs +5 -4
- package/dist/segmented-control/index.cjs.map +1 -1
- package/dist/segmented-control/index.d.cts +3 -3
- package/dist/segmented-control/index.d.ts +3 -3
- package/dist/segmented-control/index.js +4 -3
- package/dist/select/index.cjs +7 -6
- package/dist/select/index.cjs.map +1 -1
- package/dist/select/index.d.cts +4 -4
- package/dist/select/index.d.ts +4 -4
- package/dist/select/index.js +6 -5
- package/dist/snackbar/index.cjs +8 -5
- package/dist/snackbar/index.cjs.map +1 -1
- package/dist/snackbar/index.js +7 -4
- package/dist/split-button/index.cjs +7 -6
- package/dist/split-button/index.cjs.map +1 -1
- package/dist/split-button/index.d.cts +2 -2
- package/dist/split-button/index.d.ts +2 -2
- package/dist/split-button/index.js +6 -5
- package/dist/split-chip/index.cjs +8 -5
- package/dist/split-chip/index.cjs.map +1 -1
- package/dist/split-chip/index.d.cts +2 -2
- package/dist/split-chip/index.d.ts +2 -2
- package/dist/split-chip/index.js +7 -4
- package/dist/table/index.cjs +16 -13
- package/dist/table/index.cjs.map +1 -1
- package/dist/table/index.d.cts +4 -4
- package/dist/table/index.d.ts +4 -4
- package/dist/table/index.js +15 -12
- package/dist/tabs/index.cjs +4 -3
- package/dist/tabs/index.cjs.map +1 -1
- package/dist/tabs/index.d.cts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/tabs/index.js +3 -2
- package/dist/tag-input/index.cjs +9 -6
- package/dist/tag-input/index.cjs.map +1 -1
- package/dist/tag-input/index.js +8 -5
- package/dist/textarea/index.cjs +5 -4
- package/dist/textarea/index.cjs.map +1 -1
- package/dist/textarea/index.d.cts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/textarea/index.js +4 -3
- package/dist/theme-editor/index.cjs +14 -11
- package/dist/theme-editor/index.cjs.map +1 -1
- package/dist/theme-editor/index.js +13 -10
- package/dist/theme-provider/index.cjs +4 -3
- package/dist/theme-provider/index.cjs.map +1 -1
- package/dist/theme-provider/index.js +3 -2
- package/dist/timeline/index.cjs +2 -2
- package/dist/timeline/index.d.cts +18 -3
- package/dist/timeline/index.d.ts +18 -3
- package/dist/timeline/index.js +1 -1
- package/dist/toolbar/index.cjs +12 -9
- package/dist/toolbar/index.cjs.map +1 -1
- package/dist/toolbar/index.d.cts +7 -7
- package/dist/toolbar/index.d.ts +7 -7
- package/dist/toolbar/index.js +11 -8
- package/dist/tooltip/index.cjs +4 -3
- package/dist/tooltip/index.cjs.map +1 -1
- package/dist/tooltip/index.js +3 -2
- package/package.json +4 -2
- package/dist/Button.types-BH0CPyPx.d.ts +0 -33
- package/dist/Button.types-DZRCVqyN.d.cts +0 -33
- package/dist/chunk-35LGEPLP.cjs.map +0 -1
- package/dist/chunk-36JFXFM2.cjs.map +0 -1
- package/dist/chunk-3KBBJZHK.cjs.map +0 -1
- package/dist/chunk-4J25XZDI.js.map +0 -1
- package/dist/chunk-5O73AALP.cjs.map +0 -1
- package/dist/chunk-75GFIQRU.js.map +0 -1
- package/dist/chunk-DA375AI6.cjs +0 -88
- package/dist/chunk-DA375AI6.cjs.map +0 -1
- package/dist/chunk-DRXPTACG.js.map +0 -1
- package/dist/chunk-GWHZFX2H.js.map +0 -1
- package/dist/chunk-NEQXEVHM.js +0 -34
- package/dist/chunk-NEQXEVHM.js.map +0 -1
- package/dist/chunk-O2BECFXJ.cjs.map +0 -1
- package/dist/chunk-OOCCSMWM.js.map +0 -1
- package/dist/chunk-RHHZRTWM.js.map +0 -1
- package/dist/chunk-SNRRF64M.js.map +0 -1
- package/dist/chunk-TTLFY76J.cjs.map +0 -1
- package/dist/chunk-VQGLVBPL.cjs.map +0 -1
- package/dist/chunk-WE2SBWZ6.js.map +0 -1
- package/dist/chunk-ZMDZGL5A.cjs +0 -34
- package/dist/chunk-ZMDZGL5A.cjs.map +0 -1
- package/dist/renderIcon-C2lEMMzb.d.cts +0 -30
- package/dist/renderIcon-C2lEMMzb.d.ts +0 -30
- /package/dist/{chunk-L7I5NEGI.js.map → chunk-2IXCEKLI.js.map} +0 -0
- /package/dist/{chunk-RHFD2Z5V.js.map → chunk-3TF2GZSG.js.map} +0 -0
- /package/dist/{chunk-JHX6JK3M.js.map → chunk-3X6QVHTD.js.map} +0 -0
- /package/dist/{chunk-MQAOXZD4.js.map → chunk-4S57PE43.js.map} +0 -0
- /package/dist/{chunk-JT4KVXJK.js.map → chunk-4V2XYUQL.js.map} +0 -0
- /package/dist/{chunk-AR2ZOO6L.js.map → chunk-6FXFKMJ5.js.map} +0 -0
- /package/dist/{chunk-LGDODZHI.js.map → chunk-6LTZV6HN.js.map} +0 -0
- /package/dist/{chunk-YP4HUBKN.js.map → chunk-6NAOAKII.js.map} +0 -0
- /package/dist/{chunk-D7SQ7LHJ.js.map → chunk-BO3KK3ZQ.js.map} +0 -0
- /package/dist/{chunk-5XH2PHT2.js.map → chunk-CNTG7OOO.js.map} +0 -0
- /package/dist/{chunk-WNDDS367.js.map → chunk-DPTTDHZ5.js.map} +0 -0
- /package/dist/{chunk-BFKPJ627.js.map → chunk-FHOD3FUN.js.map} +0 -0
- /package/dist/{chunk-SDUGYJGW.js.map → chunk-H3C6YECZ.js.map} +0 -0
- /package/dist/{chunk-MPIVBAMY.js.map → chunk-HYRLK462.js.map} +0 -0
- /package/dist/{chunk-FIVMMCGM.js.map → chunk-IHPSRTVW.js.map} +0 -0
- /package/dist/{chunk-THCTUBX6.js.map → chunk-IKXXXVUO.js.map} +0 -0
- /package/dist/{chunk-24HKKSKX.js.map → chunk-L6ERHCQ2.js.map} +0 -0
- /package/dist/{chunk-4LNTZPSQ.js.map → chunk-L6YJ6QTZ.js.map} +0 -0
- /package/dist/{chunk-JNY7TUDS.js.map → chunk-MCPGI6EI.js.map} +0 -0
- /package/dist/{chunk-2PCCGQOH.js.map → chunk-P6OJQ2RN.js.map} +0 -0
- /package/dist/{chunk-YXRKBKFB.js.map → chunk-S5CMZFX6.js.map} +0 -0
- /package/dist/{chunk-HEX4IMLO.js.map → chunk-TJQNGJHP.js.map} +0 -0
- /package/dist/{chunk-SFFKQQ5Z.js.map → chunk-U4SVBE2M.js.map} +0 -0
- /package/dist/{chunk-O3QM3BFE.js.map → chunk-UC4NYF6T.js.map} +0 -0
- /package/dist/{chunk-GIEDIAPD.js.map → chunk-V5CM5TH3.js.map} +0 -0
- /package/dist/{chunk-L65MHFMD.js.map → chunk-V64DICJK.js.map} +0 -0
- /package/dist/{chunk-P4XZH3OR.js.map → chunk-WHQGJHMD.js.map} +0 -0
- /package/dist/{chunk-YAKTVIVK.js.map → chunk-XIUZT4TO.js.map} +0 -0
- /package/dist/{chunk-GPVGGBIR.js.map → chunk-XWMXEJVZ.js.map} +0 -0
- /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
|
-
|
|
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
|
-
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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 {
|
|
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 {
|
|
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 {
|
|
2
|
-
import { T as TextButtonProps, I as IconButtonProps } from './Button.types-
|
|
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
|
|
38
|
-
*
|
|
39
|
-
*
|
|
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,
|
|
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,
|
|
95
|
+
export type { HeaderActionProps as H, HeaderMetaItem as a, HeaderProps as b, HeaderTitleLevel as c, HeaderVariant as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as TextButtonProps, I as IconButtonProps } from './Button.types-
|
|
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
|
|
38
|
-
*
|
|
39
|
-
*
|
|
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,
|
|
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,
|
|
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 {
|
|
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 {
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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';
|
package/dist/{SegmentedControl.types-BofrEYyd.d.cts → SegmentedControl.types-D_gHYL9X.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
2
|
-
import {
|
|
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
|
|
2
|
-
import {
|
|
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 {
|
|
3
|
-
import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-
|
|
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 {
|
|
3
|
-
import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-
|
|
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-
|
|
2
|
-
import { b as AvatarProps } from './Avatar.types-
|
|
3
|
-
import { I as IconButtonProps } from './Button.types-
|
|
4
|
-
import { b as MenuItemType } from './Menu.types-
|
|
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,
|
|
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-
|
|
2
|
-
import { b as AvatarProps } from './Avatar.types-
|
|
3
|
-
import { I as IconButtonProps } from './Button.types-
|
|
4
|
-
import { b as MenuItemType } from './Menu.types-
|
|
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,
|
|
38
|
+
type ToolbarActionProps = Pick<IconButtonProps, ToolbarActionKeys> | Pick<IconLinkButtonProps, ToolbarActionKeys | 'href' | 'target' | 'rel'>;
|
|
37
39
|
|
|
38
40
|
export type { ToolbarActionProps as T, ToolbarProps as a };
|
package/dist/alert/index.cjs
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkPE2SLXUScjs = require('../chunk-PE2SLXUS.cjs');
|
|
4
|
+
require('../chunk-XPG56DLQ.cjs');
|
|
5
5
|
require('../chunk-I6UOIS4J.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
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 =
|
|
14
|
+
exports.Alert = _chunkPE2SLXUScjs.Alert;
|
|
12
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/alert/index.cjs.map
CHANGED
|
@@ -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"}
|
package/dist/alert/index.d.cts
CHANGED
package/dist/alert/index.d.ts
CHANGED
package/dist/alert/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Alert
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-6FXFKMJ5.js";
|
|
4
|
+
import "../chunk-JY77VJAZ.js";
|
|
5
5
|
import "../chunk-66R54X6R.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
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
|
package/dist/avatar/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { b as AvatarProps, a as AvatarGroupProps } from '../Avatar.types-
|
|
3
|
-
export { A as AvatarColor, c as AvatarSize } from '../Avatar.types-
|
|
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>;
|
package/dist/avatar/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { b as AvatarProps, a as AvatarGroupProps } from '../Avatar.types-
|
|
3
|
-
export { A as AvatarColor, c as AvatarSize } from '../Avatar.types-
|
|
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
|
|
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 =
|
|
9
|
+
exports.Breadcrumb = _chunkGP6EEZH5cjs.Breadcrumb;
|
|
8
10
|
//# sourceMappingURL=index.cjs.map
|