@mieweb/ui 0.7.3 → 0.8.0-dev.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.
- package/README.md +45 -24
- package/agent/README.md +20 -0
- package/agent/init-agent.mjs +61 -0
- package/agent/mieweb-ui.instructions.md +169 -0
- package/dist/ag-grid.cjs +11 -0
- package/dist/ag-grid.cjs.map +1 -1
- package/dist/ag-grid.d.cts +4 -0
- package/dist/ag-grid.d.ts +4 -0
- package/dist/ag-grid.js +11 -0
- package/dist/ag-grid.js.map +1 -1
- package/dist/brands/index.cjs +12 -12
- package/dist/brands/index.js +3 -3
- package/dist/{chunk-EGWWTIWS.js → chunk-2AB4PQYL.js} +126 -96
- package/dist/chunk-2AB4PQYL.js.map +1 -0
- package/dist/{chunk-NQ2D2V6O.cjs → chunk-2PEVRI26.cjs} +37 -37
- package/dist/{chunk-NQ2D2V6O.cjs.map → chunk-2PEVRI26.cjs.map} +1 -1
- package/dist/{chunk-6J7UGYT5.cjs → chunk-2SSAAE3I.cjs} +49 -9
- package/dist/chunk-2SSAAE3I.cjs.map +1 -0
- package/dist/chunk-3IMM2PM4.js +259 -0
- package/dist/chunk-3IMM2PM4.js.map +1 -0
- package/dist/{chunk-SYIFEJSF.cjs → chunk-3RADKLLD.cjs} +13 -13
- package/dist/{chunk-SYIFEJSF.cjs.map → chunk-3RADKLLD.cjs.map} +1 -1
- package/dist/chunk-3SHLOF4V.cjs +128 -0
- package/dist/chunk-3SHLOF4V.cjs.map +1 -0
- package/dist/chunk-3TXOFAXP.cjs +139 -0
- package/dist/chunk-3TXOFAXP.cjs.map +1 -0
- package/dist/{chunk-LJDBD2DD.cjs → chunk-5BPUZK2B.cjs} +386 -4
- package/dist/chunk-5BPUZK2B.cjs.map +1 -0
- package/dist/chunk-5JZIDILK.cjs +164 -0
- package/dist/chunk-5JZIDILK.cjs.map +1 -0
- package/dist/chunk-5MXO6PEV.cjs +78 -0
- package/dist/chunk-5MXO6PEV.cjs.map +1 -0
- package/dist/chunk-5QZ73PZC.js +62 -0
- package/dist/chunk-5QZ73PZC.js.map +1 -0
- package/dist/chunk-6GKX36JX.js +269 -0
- package/dist/chunk-6GKX36JX.js.map +1 -0
- package/dist/chunk-6NZXWKUE.js +3 -0
- package/dist/chunk-6NZXWKUE.js.map +1 -0
- package/dist/chunk-6SCQ7FKT.js +115 -0
- package/dist/chunk-6SCQ7FKT.js.map +1 -0
- package/dist/{chunk-KFLDXJEE.js → chunk-753Z3NXL.js} +46 -15
- package/dist/chunk-753Z3NXL.js.map +1 -0
- package/dist/{chunk-S3MKIDYG.cjs → chunk-7AECNMYV.cjs} +46 -15
- package/dist/chunk-7AECNMYV.cjs.map +1 -0
- package/dist/chunk-7IKLGH3Z.cjs +92 -0
- package/dist/chunk-7IKLGH3Z.cjs.map +1 -0
- package/dist/chunk-7RV6CAP6.cjs +106 -0
- package/dist/chunk-7RV6CAP6.cjs.map +1 -0
- package/dist/chunk-AHHFFXJR.cjs +230 -0
- package/dist/chunk-AHHFFXJR.cjs.map +1 -0
- package/dist/{chunk-HIDV32ZX.js → chunk-AHUYW673.js} +168 -9
- package/dist/chunk-AHUYW673.js.map +1 -0
- package/dist/{chunk-MYFZYUPR.cjs → chunk-AOHJILLU.cjs} +38 -3
- package/dist/chunk-AOHJILLU.cjs.map +1 -0
- package/dist/{chunk-DLBV42JD.js → chunk-ATOWMVZH.js} +157 -40
- package/dist/chunk-ATOWMVZH.js.map +1 -0
- package/dist/{chunk-WUNWHOLA.cjs → chunk-BSDBI6H7.cjs} +116 -26
- package/dist/chunk-BSDBI6H7.cjs.map +1 -0
- package/dist/chunk-CG4ZKJLE.js +84 -0
- package/dist/chunk-CG4ZKJLE.js.map +1 -0
- package/dist/{chunk-4PIW3Y5M.js → chunk-DJ4JPFWI.js} +3 -3
- package/dist/{chunk-4PIW3Y5M.js.map → chunk-DJ4JPFWI.js.map} +1 -1
- package/dist/{chunk-Z4PECE5S.js → chunk-DX64KLSN.js} +2 -2
- package/dist/{chunk-Z4PECE5S.js.map → chunk-DX64KLSN.js.map} +1 -1
- package/dist/{chunk-FDV7EQWH.js → chunk-EK6DYGFG.js} +3 -3
- package/dist/{chunk-FDV7EQWH.js.map → chunk-EK6DYGFG.js.map} +1 -1
- package/dist/{chunk-QUUBTNMH.js → chunk-EPSB4WTL.js} +45 -15
- package/dist/chunk-EPSB4WTL.js.map +1 -0
- package/dist/{chunk-KRGKPUJH.js → chunk-F2S6NV5N.js} +8 -8
- package/dist/{chunk-KRGKPUJH.js.map → chunk-F2S6NV5N.js.map} +1 -1
- package/dist/chunk-F57VRLKP.js +708 -0
- package/dist/chunk-F57VRLKP.js.map +1 -0
- package/dist/{chunk-26DPQUSB.cjs → chunk-G52YRAJC.cjs} +4 -4
- package/dist/{chunk-26DPQUSB.cjs.map → chunk-G52YRAJC.cjs.map} +1 -1
- package/dist/{chunk-5IDYOJHO.cjs → chunk-G7EQ3JPX.cjs} +45 -15
- package/dist/chunk-G7EQ3JPX.cjs.map +1 -0
- package/dist/{chunk-FKLUSYFP.cjs → chunk-GQVL2JKQ.cjs} +4 -4
- package/dist/{chunk-FKLUSYFP.cjs.map → chunk-GQVL2JKQ.cjs.map} +1 -1
- package/dist/{chunk-3D4ITDLO.js → chunk-GXODR6V4.js} +3 -3
- package/dist/{chunk-3D4ITDLO.js.map → chunk-GXODR6V4.js.map} +1 -1
- package/dist/{chunk-AFGADE3B.js → chunk-H3YO5GBM.js} +117 -27
- package/dist/chunk-H3YO5GBM.js.map +1 -0
- package/dist/chunk-HK3AMH3Q.cjs +151 -0
- package/dist/chunk-HK3AMH3Q.cjs.map +1 -0
- package/dist/chunk-HQ3XPCHG.js +114 -0
- package/dist/chunk-HQ3XPCHG.js.map +1 -0
- package/dist/chunk-I44YNYI6.cjs +4 -0
- package/dist/chunk-I44YNYI6.cjs.map +1 -0
- package/dist/chunk-JHZW3Y62.js +142 -0
- package/dist/chunk-JHZW3Y62.js.map +1 -0
- package/dist/{chunk-FTRGZOVJ.js → chunk-JQQABHDN.js} +3 -3
- package/dist/{chunk-FTRGZOVJ.js.map → chunk-JQQABHDN.js.map} +1 -1
- package/dist/chunk-JR4QIU54.cjs +291 -0
- package/dist/chunk-JR4QIU54.cjs.map +1 -0
- package/dist/{chunk-JDHIBJ5K.cjs → chunk-JWTCEWQ4.cjs} +2 -2
- package/dist/{chunk-JDHIBJ5K.cjs.map → chunk-JWTCEWQ4.cjs.map} +1 -1
- package/dist/{chunk-ZBI52NP2.cjs → chunk-K5GQPTTA.cjs} +158 -41
- package/dist/chunk-K5GQPTTA.cjs.map +1 -0
- package/dist/chunk-KFEN2SRZ.js +208 -0
- package/dist/chunk-KFEN2SRZ.js.map +1 -0
- package/dist/chunk-L6MDULYB.js +87 -0
- package/dist/chunk-L6MDULYB.js.map +1 -0
- package/dist/{chunk-RYQ3S3KO.cjs → chunk-LDCFNWJC.cjs} +5 -5
- package/dist/{chunk-RYQ3S3KO.cjs.map → chunk-LDCFNWJC.cjs.map} +1 -1
- package/dist/{chunk-LC7YHZXM.js → chunk-LDQ2T27A.js} +5 -5
- package/dist/{chunk-LC7YHZXM.js.map → chunk-LDQ2T27A.js.map} +1 -1
- package/dist/chunk-N5O47VGS.cjs +109 -0
- package/dist/chunk-N5O47VGS.cjs.map +1 -0
- package/dist/chunk-NGSDBWKA.cjs +84 -0
- package/dist/chunk-NGSDBWKA.cjs.map +1 -0
- package/dist/chunk-NMBYU7D7.cjs +31 -0
- package/dist/chunk-NMBYU7D7.cjs.map +1 -0
- package/dist/{chunk-SPWVKDGC.cjs → chunk-QMKYJ4AT.cjs} +4 -4
- package/dist/{chunk-SPWVKDGC.cjs.map → chunk-QMKYJ4AT.cjs.map} +1 -1
- package/dist/{chunk-RBS3GHDZ.cjs → chunk-QOJ4V7YX.cjs} +170 -10
- package/dist/chunk-QOJ4V7YX.cjs.map +1 -0
- package/dist/chunk-RUGHNFQG.js +28 -0
- package/dist/chunk-RUGHNFQG.js.map +1 -0
- package/dist/{chunk-P6L74SKG.js → chunk-SVZ4MQVQ.js} +48 -8
- package/dist/chunk-SVZ4MQVQ.js.map +1 -0
- package/dist/{chunk-URHXR5SC.cjs → chunk-TQZPYDUL.cjs} +7 -7
- package/dist/{chunk-URHXR5SC.cjs.map → chunk-TQZPYDUL.cjs.map} +1 -1
- package/dist/{chunk-MO65V64I.js → chunk-TXRQQMG5.js} +2 -2
- package/dist/{chunk-MO65V64I.js.map → chunk-TXRQQMG5.js.map} +1 -1
- package/dist/{chunk-EKRT7K2K.js → chunk-UJS3JTVT.js} +3 -3
- package/dist/{chunk-EKRT7K2K.js.map → chunk-UJS3JTVT.js.map} +1 -1
- package/dist/{chunk-6MMIWE7H.js → chunk-VQ5HJCTP.js} +386 -4
- package/dist/chunk-VQ5HJCTP.js.map +1 -0
- package/dist/chunk-WBGUYSWY.js +90 -0
- package/dist/chunk-WBGUYSWY.js.map +1 -0
- package/dist/{chunk-LJBWCUKP.cjs → chunk-WIYQI35R.cjs} +2 -2
- package/dist/{chunk-LJBWCUKP.cjs.map → chunk-WIYQI35R.cjs.map} +1 -1
- package/dist/chunk-WKSUL2ZN.js +56 -0
- package/dist/chunk-WKSUL2ZN.js.map +1 -0
- package/dist/{chunk-BOOJDRJO.js → chunk-WSNMQQ4P.js} +38 -3
- package/dist/chunk-WSNMQQ4P.js.map +1 -0
- package/dist/chunk-X5ZPYYMS.js +105 -0
- package/dist/chunk-X5ZPYYMS.js.map +1 -0
- package/dist/{chunk-XB54G7WS.cjs → chunk-XJTFZLWH.cjs} +2 -86
- package/dist/chunk-XJTFZLWH.cjs.map +1 -0
- package/dist/{chunk-GTHNWP4P.js → chunk-XUVEF2RQ.js} +4 -87
- package/dist/chunk-XUVEF2RQ.js.map +1 -0
- package/dist/chunk-Y6YSJPVC.js +129 -0
- package/dist/chunk-Y6YSJPVC.js.map +1 -0
- package/dist/{chunk-OAHORW4N.cjs → chunk-YRLCR76L.cjs} +129 -99
- package/dist/chunk-YRLCR76L.cjs.map +1 -0
- package/dist/chunk-YVIH26FG.cjs +736 -0
- package/dist/chunk-YVIH26FG.cjs.map +1 -0
- package/dist/chunk-Z5S5JEJD.cjs +286 -0
- package/dist/chunk-Z5S5JEJD.cjs.map +1 -0
- package/dist/chunk-ZO4L6C2Y.cjs +137 -0
- package/dist/chunk-ZO4L6C2Y.cjs.map +1 -0
- package/dist/{collabKit-QZL4P5T5.js → collabKit-A643VH2I.js} +7 -3
- package/dist/collabKit-A643VH2I.js.map +1 -0
- package/dist/{collabKit-UF7E6V3N.cjs → collabKit-Q4A36LDA.cjs} +7 -3
- package/dist/collabKit-Q4A36LDA.cjs.map +1 -0
- package/dist/components/Accordion/index.cjs +13 -0
- package/dist/components/Accordion/index.cjs.map +1 -0
- package/dist/components/Accordion/index.d.cts +50 -0
- package/dist/components/Accordion/index.d.ts +50 -0
- package/dist/components/Accordion/index.js +4 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/Alert/index.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Autocomplete/index.cjs +5 -4
- package/dist/components/Autocomplete/index.d.cts +20 -3
- package/dist/components/Autocomplete/index.d.ts +20 -3
- package/dist/components/Autocomplete/index.js +4 -3
- package/dist/components/Badge/index.d.cts +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Card/index.d.cts +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Checkbox/index.cjs +5 -4
- package/dist/components/Checkbox/index.d.cts +9 -1
- package/dist/components/Checkbox/index.d.ts +9 -1
- package/dist/components/Checkbox/index.js +2 -1
- package/dist/components/ClampedText/index.cjs +13 -0
- package/dist/components/ClampedText/index.cjs.map +1 -0
- package/dist/components/ClampedText/index.d.cts +33 -0
- package/dist/components/ClampedText/index.d.ts +33 -0
- package/dist/components/ClampedText/index.js +4 -0
- package/dist/components/ClampedText/index.js.map +1 -0
- package/dist/components/CopyButton/index.cjs +13 -0
- package/dist/components/CopyButton/index.cjs.map +1 -0
- package/dist/components/CopyButton/index.d.cts +29 -0
- package/dist/components/CopyButton/index.d.ts +29 -0
- package/dist/components/CopyButton/index.js +4 -0
- package/dist/components/CopyButton/index.js.map +1 -0
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/CustomizableDashboard/index.cjs +43 -0
- package/dist/components/CustomizableDashboard/index.cjs.map +1 -0
- package/dist/components/CustomizableDashboard/index.d.cts +195 -0
- package/dist/components/CustomizableDashboard/index.d.ts +195 -0
- package/dist/components/CustomizableDashboard/index.js +10 -0
- package/dist/components/CustomizableDashboard/index.js.map +1 -0
- package/dist/components/DateInput/index.cjs +5 -4
- package/dist/components/DateInput/index.d.cts +1 -0
- package/dist/components/DateInput/index.d.ts +1 -0
- package/dist/components/DateInput/index.js +4 -3
- package/dist/components/Dropdown/index.cjs +14 -9
- package/dist/components/Dropdown/index.d.cts +38 -2
- package/dist/components/Dropdown/index.d.ts +38 -2
- package/dist/components/Dropdown/index.js +4 -3
- package/dist/components/FilterSummaryBar/index.cjs +13 -0
- package/dist/components/FilterSummaryBar/index.cjs.map +1 -0
- package/dist/components/FilterSummaryBar/index.d.cts +53 -0
- package/dist/components/FilterSummaryBar/index.d.ts +53 -0
- package/dist/components/FilterSummaryBar/index.js +4 -0
- package/dist/components/FilterSummaryBar/index.js.map +1 -0
- package/dist/components/FreshnessBadge/index.cjs +25 -0
- package/dist/components/FreshnessBadge/index.cjs.map +1 -0
- package/dist/components/FreshnessBadge/index.d.cts +49 -0
- package/dist/components/FreshnessBadge/index.d.ts +49 -0
- package/dist/components/FreshnessBadge/index.js +4 -0
- package/dist/components/FreshnessBadge/index.js.map +1 -0
- package/dist/components/GlossaryTooltip/index.cjs +15 -0
- package/dist/components/GlossaryTooltip/index.cjs.map +1 -0
- package/dist/components/GlossaryTooltip/index.d.cts +64 -0
- package/dist/components/GlossaryTooltip/index.d.ts +64 -0
- package/dist/components/GlossaryTooltip/index.js +6 -0
- package/dist/components/GlossaryTooltip/index.js.map +1 -0
- package/dist/components/Input/index.cjs +20 -3
- package/dist/components/Input/index.d.cts +37 -2
- package/dist/components/Input/index.d.ts +37 -2
- package/dist/components/Input/index.js +2 -1
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +21 -0
- package/dist/components/KeyboardShortcutsOverlay/index.cjs.map +1 -0
- package/dist/components/KeyboardShortcutsOverlay/index.d.cts +54 -0
- package/dist/components/KeyboardShortcutsOverlay/index.d.ts +54 -0
- package/dist/components/KeyboardShortcutsOverlay/index.js +8 -0
- package/dist/components/KeyboardShortcutsOverlay/index.js.map +1 -0
- package/dist/components/Markdown/index.cjs +10 -10
- package/dist/components/Markdown/index.js +2 -2
- package/dist/components/MediaEditor/index.cjs +11 -10
- package/dist/components/MediaEditor/index.js +6 -5
- package/dist/components/PhoneInput/index.cjs +5 -4
- package/dist/components/PhoneInput/index.js +3 -2
- package/dist/components/Progress/index.d.cts +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/Radio/index.cjs +5 -4
- package/dist/components/Radio/index.d.cts +9 -1
- package/dist/components/Radio/index.d.ts +9 -1
- package/dist/components/Radio/index.js +2 -1
- package/dist/components/ReadingProgressBar/index.cjs +13 -0
- package/dist/components/ReadingProgressBar/index.cjs.map +1 -0
- package/dist/components/ReadingProgressBar/index.d.cts +20 -0
- package/dist/components/ReadingProgressBar/index.d.ts +20 -0
- package/dist/components/ReadingProgressBar/index.js +4 -0
- package/dist/components/ReadingProgressBar/index.js.map +1 -0
- package/dist/components/RichTextEditor/index.cjs +8 -7
- package/dist/components/RichTextEditor/index.js +5 -4
- package/dist/components/SectionSpyNav/index.cjs +15 -0
- package/dist/components/SectionSpyNav/index.cjs.map +1 -0
- package/dist/components/SectionSpyNav/index.d.cts +63 -0
- package/dist/components/SectionSpyNav/index.d.ts +63 -0
- package/dist/components/SectionSpyNav/index.js +6 -0
- package/dist/components/SectionSpyNav/index.js.map +1 -0
- package/dist/components/Select/index.cjs +6 -4
- package/dist/components/Select/index.d.cts +56 -9
- package/dist/components/Select/index.d.ts +56 -9
- package/dist/components/Select/index.js +4 -2
- package/dist/components/Slider/index.d.cts +2 -2
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/SourceTip/index.cjs +15 -0
- package/dist/components/SourceTip/index.cjs.map +1 -0
- package/dist/components/SourceTip/index.d.cts +58 -0
- package/dist/components/SourceTip/index.d.ts +58 -0
- package/dist/components/SourceTip/index.js +6 -0
- package/dist/components/SourceTip/index.js.map +1 -0
- package/dist/components/Sparkline/index.cjs +13 -0
- package/dist/components/Sparkline/index.cjs.map +1 -0
- package/dist/components/Sparkline/index.d.cts +53 -0
- package/dist/components/Sparkline/index.d.ts +53 -0
- package/dist/components/Sparkline/index.js +4 -0
- package/dist/components/Sparkline/index.js.map +1 -0
- package/dist/components/Spinner/index.d.cts +1 -1
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/SuperChat/index.cjs +252 -93
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +13 -5
- package/dist/components/SuperChat/index.d.ts +13 -5
- package/dist/components/SuperChat/index.js +249 -90
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +6 -26
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +2 -2
- package/dist/components/SuperChat/plugins/index.d.ts +2 -2
- package/dist/components/SuperChat/plugins/index.js +4 -24
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Textarea/index.cjs +5 -3
- package/dist/components/Textarea/index.d.cts +19 -1
- package/dist/components/Textarea/index.d.ts +19 -1
- package/dist/components/Textarea/index.js +3 -1
- package/dist/datavis.cjs +1 -1
- package/dist/datavis.js +1 -1
- package/dist/esheet.cjs +12 -11
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +9 -8
- package/dist/esheet.js.map +1 -1
- package/dist/hooks/index.cjs +29 -19
- package/dist/hooks/index.d.cts +17 -2
- package/dist/hooks/index.d.ts +17 -2
- package/dist/hooks/index.js +4 -2
- package/dist/index.cjs +2965 -2043
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +193 -48
- package/dist/index.d.ts +193 -48
- package/dist/index.js +2135 -1330
- package/dist/index.js.map +1 -1
- package/dist/kerebron.cjs +200 -68
- package/dist/kerebron.cjs.map +1 -1
- package/dist/kerebron.css +129 -0
- package/dist/kerebron.d.cts +52 -3
- package/dist/kerebron.d.ts +52 -3
- package/dist/kerebron.js +201 -69
- package/dist/kerebron.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/{types-BoTeTPdH.d.ts → types-9vK_YdEb.d.ts} +12 -1
- package/dist/{types-DyIB9HYT.d.cts → types-DZDroUW8.d.cts} +12 -1
- package/dist/{useAnchoredPosition-C7PNglzD.d.cts → useAnchoredPosition-CKwLSQW8.d.cts} +10 -3
- package/dist/{useAnchoredPosition-C7PNglzD.d.ts → useAnchoredPosition-CKwLSQW8.d.ts} +10 -3
- package/dist/utils/index.cjs +9 -9
- package/dist/utils/index.js +1 -1
- package/package.json +13 -4
- package/dist/chunk-5IDYOJHO.cjs.map +0 -1
- package/dist/chunk-6ECKH4DJ.cjs +0 -147
- package/dist/chunk-6ECKH4DJ.cjs.map +0 -1
- package/dist/chunk-6J7UGYT5.cjs.map +0 -1
- package/dist/chunk-6MMIWE7H.js.map +0 -1
- package/dist/chunk-AFGADE3B.js.map +0 -1
- package/dist/chunk-BOOJDRJO.js.map +0 -1
- package/dist/chunk-DLBV42JD.js.map +0 -1
- package/dist/chunk-EGWWTIWS.js.map +0 -1
- package/dist/chunk-GTHNWP4P.js.map +0 -1
- package/dist/chunk-HIDV32ZX.js.map +0 -1
- package/dist/chunk-KFLDXJEE.js.map +0 -1
- package/dist/chunk-LJDBD2DD.cjs.map +0 -1
- package/dist/chunk-MYFZYUPR.cjs.map +0 -1
- package/dist/chunk-OAHORW4N.cjs.map +0 -1
- package/dist/chunk-P6L74SKG.js.map +0 -1
- package/dist/chunk-QUUBTNMH.js.map +0 -1
- package/dist/chunk-RBS3GHDZ.cjs.map +0 -1
- package/dist/chunk-S3MKIDYG.cjs.map +0 -1
- package/dist/chunk-WUNWHOLA.cjs.map +0 -1
- package/dist/chunk-XB54G7WS.cjs.map +0 -1
- package/dist/chunk-YXCE2HSK.js +0 -124
- package/dist/chunk-YXCE2HSK.js.map +0 -1
- package/dist/chunk-ZBI52NP2.cjs.map +0 -1
- package/dist/collabKit-QZL4P5T5.js.map +0 -1
- package/dist/collabKit-UF7E6V3N.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { A as AnchoredPlacement } from '../../useAnchoredPosition-
|
|
3
|
+
import { A as AnchoredPlacement } from '../../useAnchoredPosition-CKwLSQW8.cjs';
|
|
4
4
|
|
|
5
5
|
type DropdownPlacement = AnchoredPlacement;
|
|
6
6
|
interface DropdownProps {
|
|
@@ -108,6 +108,42 @@ interface DropdownItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement
|
|
|
108
108
|
* An item within a Dropdown menu.
|
|
109
109
|
*/
|
|
110
110
|
declare const DropdownItem: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
111
|
+
interface DropdownSubmenuProps {
|
|
112
|
+
/** The parent item's label */
|
|
113
|
+
label: React.ReactNode;
|
|
114
|
+
/** Icon to display before the label */
|
|
115
|
+
icon?: React.ReactNode;
|
|
116
|
+
/** Whether the submenu trigger is disabled */
|
|
117
|
+
disabled?: boolean;
|
|
118
|
+
/** Optional text used when filtering searchable dropdown items */
|
|
119
|
+
searchText?: string;
|
|
120
|
+
/** Additional class name for the submenu trigger item */
|
|
121
|
+
className?: string;
|
|
122
|
+
/** Submenu items */
|
|
123
|
+
children: React.ReactNode;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* A dropdown item that opens a nested flyout menu.
|
|
127
|
+
*
|
|
128
|
+
* Opens on hover or click, and via ArrowRight/Enter/Space from the keyboard;
|
|
129
|
+
* ArrowLeft or Escape closes just the submenu (Escape is stopped so the root
|
|
130
|
+
* menu stays open) and returns focus to the trigger.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```tsx
|
|
134
|
+
* <Dropdown trigger={<Button>Options</Button>}>
|
|
135
|
+
* <DropdownItem onClick={copy}>Copy</DropdownItem>
|
|
136
|
+
* <DropdownSubmenu label="Copy as">
|
|
137
|
+
* <DropdownItem onClick={copyMarkdown}>Markdown</DropdownItem>
|
|
138
|
+
* <DropdownItem onClick={copyPlain}>Plain text</DropdownItem>
|
|
139
|
+
* </DropdownSubmenu>
|
|
140
|
+
* </Dropdown>
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
declare function DropdownSubmenu({ label, icon, disabled, className, children, }: DropdownSubmenuProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
declare namespace DropdownSubmenu {
|
|
145
|
+
var displayName: string;
|
|
146
|
+
}
|
|
111
147
|
/**
|
|
112
148
|
* A separator between dropdown items.
|
|
113
149
|
*/
|
|
@@ -128,4 +164,4 @@ declare namespace DropdownLabel {
|
|
|
128
164
|
var displayName: string;
|
|
129
165
|
}
|
|
130
166
|
|
|
131
|
-
export { Dropdown, DropdownContent, type DropdownContentProps, DropdownHeader, type DropdownHeaderProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownPlacement, type DropdownProps, DropdownSeparator };
|
|
167
|
+
export { Dropdown, DropdownContent, type DropdownContentProps, DropdownHeader, type DropdownHeaderProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownPlacement, type DropdownProps, DropdownSeparator, DropdownSubmenu, type DropdownSubmenuProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { A as AnchoredPlacement } from '../../useAnchoredPosition-
|
|
3
|
+
import { A as AnchoredPlacement } from '../../useAnchoredPosition-CKwLSQW8.js';
|
|
4
4
|
|
|
5
5
|
type DropdownPlacement = AnchoredPlacement;
|
|
6
6
|
interface DropdownProps {
|
|
@@ -108,6 +108,42 @@ interface DropdownItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement
|
|
|
108
108
|
* An item within a Dropdown menu.
|
|
109
109
|
*/
|
|
110
110
|
declare const DropdownItem: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
111
|
+
interface DropdownSubmenuProps {
|
|
112
|
+
/** The parent item's label */
|
|
113
|
+
label: React.ReactNode;
|
|
114
|
+
/** Icon to display before the label */
|
|
115
|
+
icon?: React.ReactNode;
|
|
116
|
+
/** Whether the submenu trigger is disabled */
|
|
117
|
+
disabled?: boolean;
|
|
118
|
+
/** Optional text used when filtering searchable dropdown items */
|
|
119
|
+
searchText?: string;
|
|
120
|
+
/** Additional class name for the submenu trigger item */
|
|
121
|
+
className?: string;
|
|
122
|
+
/** Submenu items */
|
|
123
|
+
children: React.ReactNode;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* A dropdown item that opens a nested flyout menu.
|
|
127
|
+
*
|
|
128
|
+
* Opens on hover or click, and via ArrowRight/Enter/Space from the keyboard;
|
|
129
|
+
* ArrowLeft or Escape closes just the submenu (Escape is stopped so the root
|
|
130
|
+
* menu stays open) and returns focus to the trigger.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```tsx
|
|
134
|
+
* <Dropdown trigger={<Button>Options</Button>}>
|
|
135
|
+
* <DropdownItem onClick={copy}>Copy</DropdownItem>
|
|
136
|
+
* <DropdownSubmenu label="Copy as">
|
|
137
|
+
* <DropdownItem onClick={copyMarkdown}>Markdown</DropdownItem>
|
|
138
|
+
* <DropdownItem onClick={copyPlain}>Plain text</DropdownItem>
|
|
139
|
+
* </DropdownSubmenu>
|
|
140
|
+
* </Dropdown>
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
declare function DropdownSubmenu({ label, icon, disabled, className, children, }: DropdownSubmenuProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
declare namespace DropdownSubmenu {
|
|
145
|
+
var displayName: string;
|
|
146
|
+
}
|
|
111
147
|
/**
|
|
112
148
|
* A separator between dropdown items.
|
|
113
149
|
*/
|
|
@@ -128,4 +164,4 @@ declare namespace DropdownLabel {
|
|
|
128
164
|
var displayName: string;
|
|
129
165
|
}
|
|
130
166
|
|
|
131
|
-
export { Dropdown, DropdownContent, type DropdownContentProps, DropdownHeader, type DropdownHeaderProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownPlacement, type DropdownProps, DropdownSeparator };
|
|
167
|
+
export { Dropdown, DropdownContent, type DropdownContentProps, DropdownHeader, type DropdownHeaderProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownPlacement, type DropdownProps, DropdownSeparator, DropdownSubmenu, type DropdownSubmenuProps };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from '../../chunk-AHUYW673.js';
|
|
2
|
+
import '../../chunk-6NZXWKUE.js';
|
|
3
|
+
import '../../chunk-3IMM2PM4.js';
|
|
3
4
|
import '../../chunk-T4ME7QCT.js';
|
|
4
5
|
import '../../chunk-62ZOA6PX.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-WSNMQQ4P.js';
|
|
6
7
|
import '../../chunk-TQONQSJO.js';
|
|
7
8
|
//# sourceMappingURL=index.js.map
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZO4L6C2Y_cjs = require('../../chunk-ZO4L6C2Y.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "FilterSummaryBar", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkZO4L6C2Y_cjs.FilterSummaryBar; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=index.cjs.map
|
|
13
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface FilterSummaryBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Rows currently visible after filtering. */
|
|
5
|
+
filteredCount: number;
|
|
6
|
+
/** Total records before filtering. Omit when unknown; `0` renders as a real total. */
|
|
7
|
+
totalCount?: number;
|
|
8
|
+
/** Number of active filter conditions. */
|
|
9
|
+
activeFilterCount: number;
|
|
10
|
+
/** Whether a search query is also active. */
|
|
11
|
+
hasSearchText?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Keep the bar visible even when no filters/search are active. The idle
|
|
14
|
+
* bar shows only `allVisibleLabel` (no counts).
|
|
15
|
+
*/
|
|
16
|
+
showWhenIdle?: boolean;
|
|
17
|
+
/** Called when the clear action is clicked. Omit to hide the clear button. */
|
|
18
|
+
onClearAll?: () => void;
|
|
19
|
+
/** Visible strings, overridable for i18n. */
|
|
20
|
+
recordLabel?: string;
|
|
21
|
+
recordsLabel?: string;
|
|
22
|
+
filterLabel?: string;
|
|
23
|
+
filtersLabel?: string;
|
|
24
|
+
activeLabel?: string;
|
|
25
|
+
searchActiveLabel?: string;
|
|
26
|
+
allVisibleLabel?: string;
|
|
27
|
+
clearLabel?: string;
|
|
28
|
+
/** Joiner between filtered and total counts (default "of"). */
|
|
29
|
+
ofLabel?: string;
|
|
30
|
+
/** Suffix appended when search narrows on top of filters (default "+ search"). */
|
|
31
|
+
plusSearchLabel?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The bar that anchors a filtered grid: "1,204 of 8,911 records — 3
|
|
35
|
+
* filters active · Clear all". Hidden while idle unless `showWhenIdle`,
|
|
36
|
+
* and tinted with the primary accent whenever filters or search narrow
|
|
37
|
+
* the view. Pair with any data grid or list whose filter state lives in
|
|
38
|
+
* the host.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <FilterSummaryBar
|
|
43
|
+
* filteredCount={rows.length}
|
|
44
|
+
* totalCount={total}
|
|
45
|
+
* activeFilterCount={filters.length}
|
|
46
|
+
* hasSearchText={query.length > 0}
|
|
47
|
+
* onClearAll={resetFilters}
|
|
48
|
+
* />
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
declare const FilterSummaryBar: React.ForwardRefExoticComponent<FilterSummaryBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
|
|
53
|
+
export { FilterSummaryBar, type FilterSummaryBarProps };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface FilterSummaryBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Rows currently visible after filtering. */
|
|
5
|
+
filteredCount: number;
|
|
6
|
+
/** Total records before filtering. Omit when unknown; `0` renders as a real total. */
|
|
7
|
+
totalCount?: number;
|
|
8
|
+
/** Number of active filter conditions. */
|
|
9
|
+
activeFilterCount: number;
|
|
10
|
+
/** Whether a search query is also active. */
|
|
11
|
+
hasSearchText?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Keep the bar visible even when no filters/search are active. The idle
|
|
14
|
+
* bar shows only `allVisibleLabel` (no counts).
|
|
15
|
+
*/
|
|
16
|
+
showWhenIdle?: boolean;
|
|
17
|
+
/** Called when the clear action is clicked. Omit to hide the clear button. */
|
|
18
|
+
onClearAll?: () => void;
|
|
19
|
+
/** Visible strings, overridable for i18n. */
|
|
20
|
+
recordLabel?: string;
|
|
21
|
+
recordsLabel?: string;
|
|
22
|
+
filterLabel?: string;
|
|
23
|
+
filtersLabel?: string;
|
|
24
|
+
activeLabel?: string;
|
|
25
|
+
searchActiveLabel?: string;
|
|
26
|
+
allVisibleLabel?: string;
|
|
27
|
+
clearLabel?: string;
|
|
28
|
+
/** Joiner between filtered and total counts (default "of"). */
|
|
29
|
+
ofLabel?: string;
|
|
30
|
+
/** Suffix appended when search narrows on top of filters (default "+ search"). */
|
|
31
|
+
plusSearchLabel?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The bar that anchors a filtered grid: "1,204 of 8,911 records — 3
|
|
35
|
+
* filters active · Clear all". Hidden while idle unless `showWhenIdle`,
|
|
36
|
+
* and tinted with the primary accent whenever filters or search narrow
|
|
37
|
+
* the view. Pair with any data grid or list whose filter state lives in
|
|
38
|
+
* the host.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <FilterSummaryBar
|
|
43
|
+
* filteredCount={rows.length}
|
|
44
|
+
* totalCount={total}
|
|
45
|
+
* activeFilterCount={filters.length}
|
|
46
|
+
* hasSearchText={query.length > 0}
|
|
47
|
+
* onClearAll={resetFilters}
|
|
48
|
+
* />
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
declare const FilterSummaryBar: React.ForwardRefExoticComponent<FilterSummaryBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
|
|
53
|
+
export { FilterSummaryBar, type FilterSummaryBarProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3TXOFAXP_cjs = require('../../chunk-3TXOFAXP.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "FreshnessBadge", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk3TXOFAXP_cjs.FreshnessBadge; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "FreshnessDot", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunk3TXOFAXP_cjs.FreshnessDot; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "daysSince", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk3TXOFAXP_cjs.daysSince; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "freshnessLevel", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk3TXOFAXP_cjs.freshnessLevel; }
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=index.cjs.map
|
|
25
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type FreshnessLevel = 'fresh' | 'aging' | 'stale' | 'unknown';
|
|
4
|
+
interface FreshnessThresholds {
|
|
5
|
+
/** Days within which a date counts as fresh (default 90). */
|
|
6
|
+
fresh: number;
|
|
7
|
+
/** Days within which a date counts as aging; beyond is stale (default 180). */
|
|
8
|
+
aging: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Whole days elapsed since the given date (0 for today/future), or `null`
|
|
12
|
+
* when the date cannot be parsed.
|
|
13
|
+
*/
|
|
14
|
+
declare function daysSince(date: string | Date): number | null;
|
|
15
|
+
/**
|
|
16
|
+
* Bucket a date into fresh / aging / stale by day thresholds. Unparseable
|
|
17
|
+
* dates return `unknown` rather than masquerading as fresh or stale.
|
|
18
|
+
*/
|
|
19
|
+
declare function freshnessLevel(date: string | Date, thresholds?: FreshnessThresholds): FreshnessLevel;
|
|
20
|
+
interface FreshnessBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
21
|
+
/** The date being aged — last review, last sync, last update. */
|
|
22
|
+
date: string | Date;
|
|
23
|
+
/** Day cutoffs for fresh/aging (default 90/180). */
|
|
24
|
+
thresholds?: FreshnessThresholds;
|
|
25
|
+
/** Verb before the age (default "Reviewed"). */
|
|
26
|
+
label?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A recency chip that ages from success through warning to destructive:
|
|
30
|
+
* "Reviewed 12d ago". Suits source registries, sync statuses, data-quality
|
|
31
|
+
* dashboards — anywhere staleness is a signal.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <FreshnessBadge date="2026-07-01" />
|
|
36
|
+
* <FreshnessBadge date={lastSync} label="Synced" thresholds={{ fresh: 1, aging: 7 }} />
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
declare const FreshnessBadge: React.ForwardRefExoticComponent<FreshnessBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
40
|
+
interface FreshnessDotProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
41
|
+
date: string | Date;
|
|
42
|
+
thresholds?: FreshnessThresholds;
|
|
43
|
+
/** Verb used in the accessible label and tooltip (default "Reviewed"). */
|
|
44
|
+
label?: string;
|
|
45
|
+
}
|
|
46
|
+
/** Colored dot for tight spots — table cells, tooltip source rows. */
|
|
47
|
+
declare const FreshnessDot: React.ForwardRefExoticComponent<FreshnessDotProps & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
|
|
49
|
+
export { FreshnessBadge, type FreshnessBadgeProps, FreshnessDot, type FreshnessDotProps, type FreshnessLevel, type FreshnessThresholds, daysSince, freshnessLevel };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type FreshnessLevel = 'fresh' | 'aging' | 'stale' | 'unknown';
|
|
4
|
+
interface FreshnessThresholds {
|
|
5
|
+
/** Days within which a date counts as fresh (default 90). */
|
|
6
|
+
fresh: number;
|
|
7
|
+
/** Days within which a date counts as aging; beyond is stale (default 180). */
|
|
8
|
+
aging: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Whole days elapsed since the given date (0 for today/future), or `null`
|
|
12
|
+
* when the date cannot be parsed.
|
|
13
|
+
*/
|
|
14
|
+
declare function daysSince(date: string | Date): number | null;
|
|
15
|
+
/**
|
|
16
|
+
* Bucket a date into fresh / aging / stale by day thresholds. Unparseable
|
|
17
|
+
* dates return `unknown` rather than masquerading as fresh or stale.
|
|
18
|
+
*/
|
|
19
|
+
declare function freshnessLevel(date: string | Date, thresholds?: FreshnessThresholds): FreshnessLevel;
|
|
20
|
+
interface FreshnessBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
21
|
+
/** The date being aged — last review, last sync, last update. */
|
|
22
|
+
date: string | Date;
|
|
23
|
+
/** Day cutoffs for fresh/aging (default 90/180). */
|
|
24
|
+
thresholds?: FreshnessThresholds;
|
|
25
|
+
/** Verb before the age (default "Reviewed"). */
|
|
26
|
+
label?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A recency chip that ages from success through warning to destructive:
|
|
30
|
+
* "Reviewed 12d ago". Suits source registries, sync statuses, data-quality
|
|
31
|
+
* dashboards — anywhere staleness is a signal.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <FreshnessBadge date="2026-07-01" />
|
|
36
|
+
* <FreshnessBadge date={lastSync} label="Synced" thresholds={{ fresh: 1, aging: 7 }} />
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
declare const FreshnessBadge: React.ForwardRefExoticComponent<FreshnessBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
40
|
+
interface FreshnessDotProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
41
|
+
date: string | Date;
|
|
42
|
+
thresholds?: FreshnessThresholds;
|
|
43
|
+
/** Verb used in the accessible label and tooltip (default "Reviewed"). */
|
|
44
|
+
label?: string;
|
|
45
|
+
}
|
|
46
|
+
/** Colored dot for tight spots — table cells, tooltip source rows. */
|
|
47
|
+
declare const FreshnessDot: React.ForwardRefExoticComponent<FreshnessDotProps & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
|
|
49
|
+
export { FreshnessBadge, type FreshnessBadgeProps, FreshnessDot, type FreshnessDotProps, type FreshnessLevel, type FreshnessThresholds, daysSince, freshnessLevel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJR4QIU54_cjs = require('../../chunk-JR4QIU54.cjs');
|
|
4
|
+
require('../../chunk-FHY3K6PL.cjs');
|
|
5
|
+
require('../../chunk-AOHJILLU.cjs');
|
|
6
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "GlossaryTooltip", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkJR4QIU54_cjs.GlossaryTooltip; }
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=index.cjs.map
|
|
15
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/** Authoritative source link shown in the card footer. */
|
|
5
|
+
interface GlossarySource {
|
|
6
|
+
label: string;
|
|
7
|
+
url: string;
|
|
8
|
+
}
|
|
9
|
+
/** Sibling term shown as a lateral "hop" chip. */
|
|
10
|
+
interface GlossaryRelatedTerm {
|
|
11
|
+
term: string;
|
|
12
|
+
href?: string;
|
|
13
|
+
}
|
|
14
|
+
interface GlossaryTooltipProps {
|
|
15
|
+
/** Visible, in-flow trigger text (may be a plural or abbreviation match). */
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/** Canonical term name, shown as the card heading. */
|
|
18
|
+
term: string;
|
|
19
|
+
definition: string;
|
|
20
|
+
/** Human-readable category label, shown as a badge in the header. */
|
|
21
|
+
category?: string;
|
|
22
|
+
/** Optional single key fact, shown with a diamond marker. */
|
|
23
|
+
keyFact?: string;
|
|
24
|
+
/** Optional authoritative source link, shown in the footer. */
|
|
25
|
+
source?: GlossarySource;
|
|
26
|
+
/** Optional sibling terms, shown as chips. */
|
|
27
|
+
related?: GlossaryRelatedTerm[];
|
|
28
|
+
/**
|
|
29
|
+
* Full glossary page for the term. When set, the trigger is a real link —
|
|
30
|
+
* desktop clicks navigate while hover previews; touch taps pin the card.
|
|
31
|
+
*/
|
|
32
|
+
href?: string;
|
|
33
|
+
/** Truncation limit for the in-card definition (default 190 chars). */
|
|
34
|
+
maxDefinitionLength?: number;
|
|
35
|
+
/** Dashed underline marking the term as hoverable (default true). */
|
|
36
|
+
underline?: boolean;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A rich "what does this term mean?" hover card: category badge, canonical
|
|
41
|
+
* term, truncated definition, optional key fact, source link, and related
|
|
42
|
+
* term chips. The provenance sibling is `SourceTip` ("what backs this
|
|
43
|
+
* claim?") — the two share the same interaction grammar.
|
|
44
|
+
*
|
|
45
|
+
* Trigger and card are phrasing content (`span`/`a`/`button` only), so it is
|
|
46
|
+
* valid inside `<p>` prose. The card portals to `body` with fixed
|
|
47
|
+
* positioning, flipping and clamping to stay in the viewport. On touch, a
|
|
48
|
+
* tap pins the card instead of navigating; Escape or an outside tap closes.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <GlossaryTooltip
|
|
53
|
+
* term="OSHA recordable"
|
|
54
|
+
* definition="A work-related injury or illness that meets OSHA reporting criteria…"
|
|
55
|
+
* category="Compliance"
|
|
56
|
+
* href="/glossary/osha-recordable"
|
|
57
|
+
* >
|
|
58
|
+
* OSHA recordables
|
|
59
|
+
* </GlossaryTooltip>
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
declare function GlossaryTooltip({ children, term, definition, category, keyFact, source, related, href, maxDefinitionLength, underline, className, }: GlossaryTooltipProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
export { type GlossaryRelatedTerm, type GlossarySource, GlossaryTooltip, type GlossaryTooltipProps };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/** Authoritative source link shown in the card footer. */
|
|
5
|
+
interface GlossarySource {
|
|
6
|
+
label: string;
|
|
7
|
+
url: string;
|
|
8
|
+
}
|
|
9
|
+
/** Sibling term shown as a lateral "hop" chip. */
|
|
10
|
+
interface GlossaryRelatedTerm {
|
|
11
|
+
term: string;
|
|
12
|
+
href?: string;
|
|
13
|
+
}
|
|
14
|
+
interface GlossaryTooltipProps {
|
|
15
|
+
/** Visible, in-flow trigger text (may be a plural or abbreviation match). */
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/** Canonical term name, shown as the card heading. */
|
|
18
|
+
term: string;
|
|
19
|
+
definition: string;
|
|
20
|
+
/** Human-readable category label, shown as a badge in the header. */
|
|
21
|
+
category?: string;
|
|
22
|
+
/** Optional single key fact, shown with a diamond marker. */
|
|
23
|
+
keyFact?: string;
|
|
24
|
+
/** Optional authoritative source link, shown in the footer. */
|
|
25
|
+
source?: GlossarySource;
|
|
26
|
+
/** Optional sibling terms, shown as chips. */
|
|
27
|
+
related?: GlossaryRelatedTerm[];
|
|
28
|
+
/**
|
|
29
|
+
* Full glossary page for the term. When set, the trigger is a real link —
|
|
30
|
+
* desktop clicks navigate while hover previews; touch taps pin the card.
|
|
31
|
+
*/
|
|
32
|
+
href?: string;
|
|
33
|
+
/** Truncation limit for the in-card definition (default 190 chars). */
|
|
34
|
+
maxDefinitionLength?: number;
|
|
35
|
+
/** Dashed underline marking the term as hoverable (default true). */
|
|
36
|
+
underline?: boolean;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A rich "what does this term mean?" hover card: category badge, canonical
|
|
41
|
+
* term, truncated definition, optional key fact, source link, and related
|
|
42
|
+
* term chips. The provenance sibling is `SourceTip` ("what backs this
|
|
43
|
+
* claim?") — the two share the same interaction grammar.
|
|
44
|
+
*
|
|
45
|
+
* Trigger and card are phrasing content (`span`/`a`/`button` only), so it is
|
|
46
|
+
* valid inside `<p>` prose. The card portals to `body` with fixed
|
|
47
|
+
* positioning, flipping and clamping to stay in the viewport. On touch, a
|
|
48
|
+
* tap pins the card instead of navigating; Escape or an outside tap closes.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <GlossaryTooltip
|
|
53
|
+
* term="OSHA recordable"
|
|
54
|
+
* definition="A work-related injury or illness that meets OSHA reporting criteria…"
|
|
55
|
+
* category="Compliance"
|
|
56
|
+
* href="/glossary/osha-recordable"
|
|
57
|
+
* >
|
|
58
|
+
* OSHA recordables
|
|
59
|
+
* </GlossaryTooltip>
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
declare function GlossaryTooltip({ children, term, definition, category, keyFact, source, related, href, maxDefinitionLength, underline, className, }: GlossaryTooltipProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
export { type GlossaryRelatedTerm, type GlossarySource, GlossaryTooltip, type GlossaryTooltipProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,17 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
4
|
+
var chunkZ5S5JEJD_cjs = require('../../chunk-Z5S5JEJD.cjs');
|
|
4
5
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "Input", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZ5S5JEJD_cjs.Input; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "RequiredMark", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkZ5S5JEJD_cjs.RequiredMark; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "floatingGroupLabelVariants", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkZ5S5JEJD_cjs.floatingGroupLabelVariants; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "floatingGroupVariants", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkZ5S5JEJD_cjs.floatingGroupVariants; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "floatingLabelVariants", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkZ5S5JEJD_cjs.floatingLabelVariants; }
|
|
11
28
|
});
|
|
12
29
|
Object.defineProperty(exports, "inputVariants", {
|
|
13
30
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkZ5S5JEJD_cjs.inputVariants; }
|
|
15
32
|
});
|
|
16
33
|
//# sourceMappingURL=index.cjs.map
|
|
17
34
|
//# sourceMappingURL=index.cjs.map
|