@mieweb/ui 0.7.3-dev.3 → 0.7.3-dev.30
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-3IMM2PM4.js +259 -0
- package/dist/chunk-3IMM2PM4.js.map +1 -0
- 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-ZBI52NP2.cjs → chunk-56QJHQ5C.cjs} +156 -39
- package/dist/chunk-56QJHQ5C.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-MJFF4AXH.cjs → chunk-5YNONC7I.cjs} +319 -3
- package/dist/chunk-5YNONC7I.cjs.map +1 -0
- package/dist/chunk-6NZXWKUE.js +3 -0
- package/dist/chunk-6NZXWKUE.js.map +1 -0
- package/dist/{chunk-Z4PECE5S.js → chunk-6XTHO63C.js} +2 -2
- package/dist/{chunk-Z4PECE5S.js.map → chunk-6XTHO63C.js.map} +1 -1
- 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-7L7OPISJ.cjs +291 -0
- package/dist/chunk-7L7OPISJ.cjs.map +1 -0
- package/dist/chunk-7RV6CAP6.cjs +106 -0
- package/dist/chunk-7RV6CAP6.cjs.map +1 -0
- package/dist/{chunk-LC7YHZXM.js → chunk-A5YOIJKL.js} +5 -5
- package/dist/{chunk-LC7YHZXM.js.map → chunk-A5YOIJKL.js.map} +1 -1
- package/dist/{chunk-RBS3GHDZ.cjs → chunk-BOW7ZGI2.cjs} +4 -4
- package/dist/{chunk-RBS3GHDZ.cjs.map → chunk-BOW7ZGI2.cjs.map} +1 -1
- package/dist/{chunk-WUNWHOLA.cjs → chunk-BSDBI6H7.cjs} +116 -26
- package/dist/chunk-BSDBI6H7.cjs.map +1 -0
- package/dist/{chunk-CVZYOMEW.js → chunk-BZEOMAPP.js} +319 -3
- package/dist/chunk-BZEOMAPP.js.map +1 -0
- package/dist/chunk-CG4ZKJLE.js +84 -0
- package/dist/chunk-CG4ZKJLE.js.map +1 -0
- package/dist/chunk-ELYGV32O.cjs +230 -0
- package/dist/chunk-ELYGV32O.cjs.map +1 -0
- package/dist/{chunk-QUUBTNMH.js → chunk-EPSB4WTL.js} +45 -15
- package/dist/chunk-EPSB4WTL.js.map +1 -0
- package/dist/chunk-F57VRLKP.js +708 -0
- package/dist/chunk-F57VRLKP.js.map +1 -0
- 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-EGWWTIWS.js → chunk-IILJGFI5.js} +125 -95
- package/dist/chunk-IILJGFI5.js.map +1 -0
- package/dist/{chunk-KRGKPUJH.js → chunk-IYXCFIMP.js} +8 -8
- package/dist/{chunk-KRGKPUJH.js.map → chunk-IYXCFIMP.js.map} +1 -1
- package/dist/{chunk-6J7UGYT5.cjs → chunk-JHGMZX4I.cjs} +47 -7
- package/dist/chunk-JHGMZX4I.cjs.map +1 -0
- package/dist/chunk-JHZW3Y62.js +142 -0
- package/dist/chunk-JHZW3Y62.js.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-URHXR5SC.cjs → chunk-KVE7PQ5P.cjs} +7 -7
- package/dist/{chunk-URHXR5SC.cjs.map → chunk-KVE7PQ5P.cjs.map} +1 -1
- package/dist/chunk-L6MDULYB.js +87 -0
- package/dist/chunk-L6MDULYB.js.map +1 -0
- package/dist/{chunk-SYIFEJSF.cjs → chunk-LQHI44OZ.cjs} +13 -13
- package/dist/{chunk-SYIFEJSF.cjs.map → chunk-LQHI44OZ.cjs.map} +1 -1
- package/dist/{chunk-HIDV32ZX.js → chunk-LZU7YBXG.js} +3 -3
- package/dist/{chunk-HIDV32ZX.js.map → chunk-LZU7YBXG.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-P6L74SKG.js → chunk-QGZC43L7.js} +47 -7
- package/dist/chunk-QGZC43L7.js.map +1 -0
- package/dist/{chunk-FTRGZOVJ.js → chunk-QHTDWIED.js} +3 -3
- package/dist/{chunk-FTRGZOVJ.js.map → chunk-QHTDWIED.js.map} +1 -1
- package/dist/chunk-RUGHNFQG.js +28 -0
- package/dist/chunk-RUGHNFQG.js.map +1 -0
- package/dist/{chunk-NQ2D2V6O.cjs → chunk-SK7H3Z67.cjs} +37 -37
- package/dist/{chunk-NQ2D2V6O.cjs.map → chunk-SK7H3Z67.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-OAHORW4N.cjs → chunk-U5TTXN45.cjs} +127 -97
- package/dist/chunk-U5TTXN45.cjs.map +1 -0
- package/dist/chunk-WBGUYSWY.js +90 -0
- package/dist/chunk-WBGUYSWY.js.map +1 -0
- package/dist/{chunk-LJBWCUKP.cjs → chunk-WKCNNYHN.cjs} +2 -2
- package/dist/{chunk-LJBWCUKP.cjs.map → chunk-WKCNNYHN.cjs.map} +1 -1
- package/dist/chunk-WKSUL2ZN.js +56 -0
- package/dist/chunk-WKSUL2ZN.js.map +1 -0
- package/dist/chunk-X5ZPYYMS.js +105 -0
- package/dist/chunk-X5ZPYYMS.js.map +1 -0
- package/dist/{chunk-DLBV42JD.js → chunk-XBKOZRDO.js} +156 -39
- package/dist/chunk-XBKOZRDO.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-XMECP2MD.js +208 -0
- package/dist/chunk-XMECP2MD.js.map +1 -0
- package/dist/{chunk-GTHNWP4P.js → chunk-XUVEF2RQ.js} +4 -87
- package/dist/chunk-XUVEF2RQ.js.map +1 -0
- package/dist/chunk-XWYKLEKG.js +269 -0
- package/dist/chunk-XWYKLEKG.js.map +1 -0
- package/dist/chunk-Y6YSJPVC.js +129 -0
- package/dist/chunk-Y6YSJPVC.js.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/{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 +4 -3
- package/dist/components/Autocomplete/index.d.cts +20 -3
- package/dist/components/Autocomplete/index.d.ts +20 -3
- package/dist/components/Autocomplete/index.js +3 -2
- 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/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 +4 -3
- package/dist/components/DateInput/index.d.cts +1 -0
- package/dist/components/DateInput/index.d.ts +1 -0
- package/dist/components/DateInput/index.js +3 -2
- package/dist/components/Dropdown/index.cjs +9 -8
- package/dist/components/Dropdown/index.js +3 -2
- 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 +15 -15
- package/dist/components/Markdown/index.js +3 -3
- package/dist/components/MediaEditor/index.cjs +10 -9
- package/dist/components/MediaEditor/index.js +5 -4
- 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 +7 -6
- package/dist/components/RichTextEditor/index.js +4 -3
- 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 +5 -3
- package/dist/components/Select/index.d.cts +56 -9
- package/dist/components/Select/index.d.ts +56 -9
- package/dist/components/Select/index.js +3 -1
- 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 +8 -7
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +4 -3
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +2 -22
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.js +1 -21
- 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 +11 -10
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +8 -7
- package/dist/esheet.js.map +1 -1
- package/dist/hooks/index.cjs +27 -17
- package/dist/hooks/index.d.cts +16 -1
- package/dist/hooks/index.d.ts +16 -1
- package/dist/hooks/index.js +3 -1
- package/dist/index.cjs +875 -505
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +82 -10
- package/dist/index.d.ts +82 -10
- package/dist/index.js +309 -47
- 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/package.json +11 -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-AFGADE3B.js.map +0 -1
- package/dist/chunk-CVZYOMEW.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-KFLDXJEE.js.map +0 -1
- package/dist/chunk-MJFF4AXH.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-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
|
@@ -6,11 +6,11 @@ declare const sliderTrackVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const sliderRangeVariants: (props?: ({
|
|
9
|
-
variant?: "danger" | "default" | "
|
|
9
|
+
variant?: "danger" | "default" | "warning" | "success" | "neutral" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
declare const sliderThumbVariants: (props?: ({
|
|
12
12
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
variant?: "danger" | "default" | "
|
|
13
|
+
variant?: "danger" | "default" | "warning" | "success" | "neutral" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface SliderProps extends VariantProps<typeof sliderTrackVariants>, VariantProps<typeof sliderRangeVariants> {
|
|
16
16
|
/** Current value (controlled) */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkELYGV32O_cjs = require('../../chunk-ELYGV32O.cjs');
|
|
4
|
+
require('../../chunk-FHY3K6PL.cjs');
|
|
5
|
+
require('../../chunk-MYFZYUPR.cjs');
|
|
6
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "SourceTip", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkELYGV32O_cjs.SourceTip; }
|
|
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,58 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/** One line of provenance shown in the card. */
|
|
5
|
+
interface TipSource {
|
|
6
|
+
/** One-line label — statute name or source title. Truncated on render. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Source URL. Omit for a provenance line that isn't linkable. */
|
|
9
|
+
url?: string;
|
|
10
|
+
/** Secondary label shown at the end (publisher / host / year). */
|
|
11
|
+
sub?: string;
|
|
12
|
+
}
|
|
13
|
+
interface SourceTipProps {
|
|
14
|
+
/** The claim this card explains — the card's heading. */
|
|
15
|
+
heading: string;
|
|
16
|
+
/** Free-text provenance, for facts no public URL can verify. */
|
|
17
|
+
note?: string;
|
|
18
|
+
/** Linked (or unlinked) one-line sources. */
|
|
19
|
+
sources?: TipSource[];
|
|
20
|
+
/** Eyebrow above the heading. Defaults to "Source". */
|
|
21
|
+
eyebrow?: string;
|
|
22
|
+
/** The visible trigger. */
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Underline the trigger with a dashed rule marking a hoverable claim.
|
|
27
|
+
* Leave off in table cells, which signal hoverability by their own
|
|
28
|
+
* treatment rather than by underlining every cell.
|
|
29
|
+
*/
|
|
30
|
+
underline?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A hover card answering "what backs this claim?" — an eyebrow + heading,
|
|
34
|
+
* optional free-text provenance, and a list of one-line source links.
|
|
35
|
+
* Suits stat tiles, table cells, and inline facts where a numbered footnote
|
|
36
|
+
* would be overkill.
|
|
37
|
+
*
|
|
38
|
+
* The trigger and card are phrasing content (`span`/`a` only), so it is
|
|
39
|
+
* valid inside `<p>` prose and table cells. The card portals to `body` with
|
|
40
|
+
* fixed positioning, flipping and clamping to stay in the viewport. On
|
|
41
|
+
* touch, a tap pins the card; Escape or an outside tap closes it. A pinned
|
|
42
|
+
* card behaves as a non-modal dialog — focus moves into it so its source
|
|
43
|
+
* links are keyboard-reachable, and returns to the trigger on close.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* <SourceTip
|
|
48
|
+
* heading="OSHA recordable rate"
|
|
49
|
+
* sources={[{ label: 'BLS SOII 2023', url: 'https://www.bls.gov/iif/', sub: 'BLS' }]}
|
|
50
|
+
* underline
|
|
51
|
+
* >
|
|
52
|
+
* 2.4 per 100 FTE
|
|
53
|
+
* </SourceTip>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function SourceTip({ heading, note, sources, eyebrow, children, className, underline, }: SourceTipProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
|
|
58
|
+
export { SourceTip, type SourceTipProps, type TipSource };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/** One line of provenance shown in the card. */
|
|
5
|
+
interface TipSource {
|
|
6
|
+
/** One-line label — statute name or source title. Truncated on render. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Source URL. Omit for a provenance line that isn't linkable. */
|
|
9
|
+
url?: string;
|
|
10
|
+
/** Secondary label shown at the end (publisher / host / year). */
|
|
11
|
+
sub?: string;
|
|
12
|
+
}
|
|
13
|
+
interface SourceTipProps {
|
|
14
|
+
/** The claim this card explains — the card's heading. */
|
|
15
|
+
heading: string;
|
|
16
|
+
/** Free-text provenance, for facts no public URL can verify. */
|
|
17
|
+
note?: string;
|
|
18
|
+
/** Linked (or unlinked) one-line sources. */
|
|
19
|
+
sources?: TipSource[];
|
|
20
|
+
/** Eyebrow above the heading. Defaults to "Source". */
|
|
21
|
+
eyebrow?: string;
|
|
22
|
+
/** The visible trigger. */
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Underline the trigger with a dashed rule marking a hoverable claim.
|
|
27
|
+
* Leave off in table cells, which signal hoverability by their own
|
|
28
|
+
* treatment rather than by underlining every cell.
|
|
29
|
+
*/
|
|
30
|
+
underline?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A hover card answering "what backs this claim?" — an eyebrow + heading,
|
|
34
|
+
* optional free-text provenance, and a list of one-line source links.
|
|
35
|
+
* Suits stat tiles, table cells, and inline facts where a numbered footnote
|
|
36
|
+
* would be overkill.
|
|
37
|
+
*
|
|
38
|
+
* The trigger and card are phrasing content (`span`/`a` only), so it is
|
|
39
|
+
* valid inside `<p>` prose and table cells. The card portals to `body` with
|
|
40
|
+
* fixed positioning, flipping and clamping to stay in the viewport. On
|
|
41
|
+
* touch, a tap pins the card; Escape or an outside tap closes it. A pinned
|
|
42
|
+
* card behaves as a non-modal dialog — focus moves into it so its source
|
|
43
|
+
* links are keyboard-reachable, and returns to the trigger on close.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* <SourceTip
|
|
48
|
+
* heading="OSHA recordable rate"
|
|
49
|
+
* sources={[{ label: 'BLS SOII 2023', url: 'https://www.bls.gov/iif/', sub: 'BLS' }]}
|
|
50
|
+
* underline
|
|
51
|
+
* >
|
|
52
|
+
* 2.4 per 100 FTE
|
|
53
|
+
* </SourceTip>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function SourceTip({ heading, note, sources, eyebrow, children, className, underline, }: SourceTipProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
|
|
58
|
+
export { SourceTip, type SourceTipProps, type TipSource };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7RV6CAP6_cjs = require('../../chunk-7RV6CAP6.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Sparkline", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk7RV6CAP6_cjs.Sparkline; }
|
|
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 SparklinePoint {
|
|
4
|
+
/** Stable key for selection (e.g. a day key like "2026-08-22"). */
|
|
5
|
+
key: string;
|
|
6
|
+
/** Human label for tooltips and accessible names (defaults to key). */
|
|
7
|
+
label?: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
interface SparklineProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
11
|
+
/** Pre-bucketed points in display order (e.g. one per day). */
|
|
12
|
+
data: SparklinePoint[];
|
|
13
|
+
/** Selected point key — that bar is highlighted. */
|
|
14
|
+
selectedKey?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Makes bars clickable; clicking the selected bar reports `null`
|
|
17
|
+
* (deselect). Omit for a read-only sparkline.
|
|
18
|
+
*/
|
|
19
|
+
onSelect?: (key: string | null) => void;
|
|
20
|
+
/** Track label rendered before the bars (e.g. "All activity"). */
|
|
21
|
+
label?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Accessible name for the bar group. Defaults to the visible `label`
|
|
24
|
+
* (so multiple tracks stay distinguishable), else "Activity over time".
|
|
25
|
+
*/
|
|
26
|
+
ariaLabel?: string;
|
|
27
|
+
/** Bar track height in px (default 32). */
|
|
28
|
+
height?: number;
|
|
29
|
+
/** Formats the value for tooltips/accessible names (default `String`). */
|
|
30
|
+
formatValue?: (point: SparklinePoint) => string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A compact bar sparkline for activity-over-time strips — timelines,
|
|
34
|
+
* table rows, dashboard headers. Bars scale to the series maximum;
|
|
35
|
+
* zero-value bars render as a low baseline stub. With `onSelect`, bars
|
|
36
|
+
* become toggle buttons for filtering the view to one bucket.
|
|
37
|
+
*
|
|
38
|
+
* Data arrives pre-bucketed (the host owns date math), keeping the
|
|
39
|
+
* component pure. For full charting, reach for DataVis instead.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <Sparkline
|
|
44
|
+
* label="All activity"
|
|
45
|
+
* data={days.map((d) => ({ key: d.iso, label: d.pretty, value: d.count }))}
|
|
46
|
+
* selectedKey={day}
|
|
47
|
+
* onSelect={setDay}
|
|
48
|
+
* />
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
declare const Sparkline: React.ForwardRefExoticComponent<SparklineProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
|
|
53
|
+
export { Sparkline, type SparklinePoint, type SparklineProps };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SparklinePoint {
|
|
4
|
+
/** Stable key for selection (e.g. a day key like "2026-08-22"). */
|
|
5
|
+
key: string;
|
|
6
|
+
/** Human label for tooltips and accessible names (defaults to key). */
|
|
7
|
+
label?: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
interface SparklineProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
11
|
+
/** Pre-bucketed points in display order (e.g. one per day). */
|
|
12
|
+
data: SparklinePoint[];
|
|
13
|
+
/** Selected point key — that bar is highlighted. */
|
|
14
|
+
selectedKey?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Makes bars clickable; clicking the selected bar reports `null`
|
|
17
|
+
* (deselect). Omit for a read-only sparkline.
|
|
18
|
+
*/
|
|
19
|
+
onSelect?: (key: string | null) => void;
|
|
20
|
+
/** Track label rendered before the bars (e.g. "All activity"). */
|
|
21
|
+
label?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Accessible name for the bar group. Defaults to the visible `label`
|
|
24
|
+
* (so multiple tracks stay distinguishable), else "Activity over time".
|
|
25
|
+
*/
|
|
26
|
+
ariaLabel?: string;
|
|
27
|
+
/** Bar track height in px (default 32). */
|
|
28
|
+
height?: number;
|
|
29
|
+
/** Formats the value for tooltips/accessible names (default `String`). */
|
|
30
|
+
formatValue?: (point: SparklinePoint) => string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A compact bar sparkline for activity-over-time strips — timelines,
|
|
34
|
+
* table rows, dashboard headers. Bars scale to the series maximum;
|
|
35
|
+
* zero-value bars render as a low baseline stub. With `onSelect`, bars
|
|
36
|
+
* become toggle buttons for filtering the view to one bucket.
|
|
37
|
+
*
|
|
38
|
+
* Data arrives pre-bucketed (the host owns date math), keeping the
|
|
39
|
+
* component pure. For full charting, reach for DataVis instead.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <Sparkline
|
|
44
|
+
* label="All activity"
|
|
45
|
+
* data={days.map((d) => ({ key: d.iso, label: d.pretty, value: d.count }))}
|
|
46
|
+
* selectedKey={day}
|
|
47
|
+
* onSelect={setDay}
|
|
48
|
+
* />
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
declare const Sparkline: React.ForwardRefExoticComponent<SparklineProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
|
|
53
|
+
export { Sparkline, type SparklinePoint, type SparklineProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const spinnerVariants: (props?: ({
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "default" | "white" | "muted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
11
11
|
/** Accessible label for the spinner */
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const spinnerVariants: (props?: ({
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "default" | "white" | "muted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
11
11
|
/** Accessible label for the spinner */
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
|
|
4
4
|
var chunkXS35KPBZ_cjs = require('../../chunk-XS35KPBZ.cjs');
|
|
5
5
|
var chunk26DPQUSB_cjs = require('../../chunk-26DPQUSB.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkBOW7ZGI2_cjs = require('../../chunk-BOW7ZGI2.cjs');
|
|
7
|
+
require('../../chunk-VBWRH4UW.cjs');
|
|
7
8
|
require('../../chunk-ZZJ4ZVYR.cjs');
|
|
8
9
|
var chunkU3JU6BI5_cjs = require('../../chunk-U3JU6BI5.cjs');
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
10
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
11
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
11
12
|
var chunkYVL3XATO_cjs = require('../../chunk-YVL3XATO.cjs');
|
|
12
13
|
require('../../chunk-FHY3K6PL.cjs');
|
|
13
14
|
require('../../chunk-FSGEDDF2.cjs');
|
|
@@ -537,7 +538,7 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
537
538
|
open ? "z-[60]" : "z-10"
|
|
538
539
|
),
|
|
539
540
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
540
|
-
|
|
541
|
+
chunkBOW7ZGI2_cjs.Dropdown,
|
|
541
542
|
{
|
|
542
543
|
open,
|
|
543
544
|
onOpenChange: setOpen,
|
|
@@ -553,18 +554,18 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
553
554
|
}
|
|
554
555
|
),
|
|
555
556
|
children: [
|
|
556
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
557
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBOW7ZGI2_cjs.DropdownItem, { onClick: () => run(writeBoth), children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-col items-start", children: [
|
|
557
558
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Copy" }),
|
|
558
559
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-normal text-neutral-400", children: "Rich text + Markdown" })
|
|
559
560
|
] }) }),
|
|
560
561
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
561
|
-
|
|
562
|
+
chunkBOW7ZGI2_cjs.DropdownItem,
|
|
562
563
|
{
|
|
563
564
|
onClick: () => run(() => writeText(markdown || getText())),
|
|
564
565
|
children: "Copy as Markdown"
|
|
565
566
|
}
|
|
566
567
|
),
|
|
567
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
568
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBOW7ZGI2_cjs.DropdownItem, { onClick: () => run(() => writeText(getText())), children: "Copy as plain text" })
|
|
568
569
|
]
|
|
569
570
|
}
|
|
570
571
|
)
|