@mieweb/ui 0.7.3 → 0.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 +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-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-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-6MMIWE7H.js → chunk-AESFOMSH.js} +373 -4
- package/dist/chunk-AESFOMSH.js.map +1 -0
- 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-CG4ZKJLE.js +84 -0
- package/dist/chunk-CG4ZKJLE.js.map +1 -0
- 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-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-LJDBD2DD.cjs → chunk-L6D4CKLV.cjs} +373 -4
- package/dist/chunk-L6D4CKLV.cjs.map +1 -0
- 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-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-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/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 +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/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 +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 +2907 -1989
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +191 -46
- package/dist/index.d.ts +191 -46
- package/dist/index.js +2130 -1325
- 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/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-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-LJDBD2DD.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
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
type KbdProps = React.HTMLAttributes<HTMLElement>;
|
|
5
|
+
/** A keyboard-key chip: `<Kbd>⌘K</Kbd>`. */
|
|
6
|
+
declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
interface ShortcutDef {
|
|
8
|
+
/** Key or alternatives — `"j"`, `["j", "↓"]`, `"⌘K"`. */
|
|
9
|
+
keys: string | string[];
|
|
10
|
+
description: string;
|
|
11
|
+
}
|
|
12
|
+
interface ShortcutGroup {
|
|
13
|
+
title: string;
|
|
14
|
+
shortcuts: ShortcutDef[];
|
|
15
|
+
}
|
|
16
|
+
interface KeyboardShortcutsOverlayProps {
|
|
17
|
+
open: boolean;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
/** Flat list of shortcuts, or use `groups` for sectioned help. */
|
|
20
|
+
shortcuts?: ShortcutDef[];
|
|
21
|
+
/** Sectioned shortcuts with group headings. */
|
|
22
|
+
groups?: ShortcutGroup[];
|
|
23
|
+
title?: string;
|
|
24
|
+
/** Footer hint. Pass `null` to hide it. */
|
|
25
|
+
hint?: React.ReactNode | null;
|
|
26
|
+
/** Joins key alternatives (default "or"), overridable for i18n. */
|
|
27
|
+
alternativesLabel?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The `?` keyboard-shortcuts help dialog: a list of shortcut rows
|
|
31
|
+
* (optionally grouped) with `Kbd` chips for each key. Pairs with the
|
|
32
|
+
* `useKeyboardShortcut` hook, which handles the binding — this component
|
|
33
|
+
* only renders the help.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* const [open, setOpen] = useState(false);
|
|
38
|
+
* useKeyboardShortcut('?', () => setOpen((v) => !v), {
|
|
39
|
+
* modifiers: { shift: true },
|
|
40
|
+
* });
|
|
41
|
+
*
|
|
42
|
+
* <KeyboardShortcutsOverlay
|
|
43
|
+
* open={open}
|
|
44
|
+
* onClose={() => setOpen(false)}
|
|
45
|
+
* shortcuts={[
|
|
46
|
+
* { keys: ['j', '↓'], description: 'Next record' },
|
|
47
|
+
* { keys: '⌘K', description: 'Command palette' },
|
|
48
|
+
* ]}
|
|
49
|
+
* />
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
declare function KeyboardShortcutsOverlay({ open, onClose, shortcuts, groups, title, hint, alternativesLabel, }: KeyboardShortcutsOverlayProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
|
|
54
|
+
export { Kbd, type KbdProps, KeyboardShortcutsOverlay, type KeyboardShortcutsOverlayProps, type ShortcutDef, type ShortcutGroup };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
type KbdProps = React.HTMLAttributes<HTMLElement>;
|
|
5
|
+
/** A keyboard-key chip: `<Kbd>⌘K</Kbd>`. */
|
|
6
|
+
declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
interface ShortcutDef {
|
|
8
|
+
/** Key or alternatives — `"j"`, `["j", "↓"]`, `"⌘K"`. */
|
|
9
|
+
keys: string | string[];
|
|
10
|
+
description: string;
|
|
11
|
+
}
|
|
12
|
+
interface ShortcutGroup {
|
|
13
|
+
title: string;
|
|
14
|
+
shortcuts: ShortcutDef[];
|
|
15
|
+
}
|
|
16
|
+
interface KeyboardShortcutsOverlayProps {
|
|
17
|
+
open: boolean;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
/** Flat list of shortcuts, or use `groups` for sectioned help. */
|
|
20
|
+
shortcuts?: ShortcutDef[];
|
|
21
|
+
/** Sectioned shortcuts with group headings. */
|
|
22
|
+
groups?: ShortcutGroup[];
|
|
23
|
+
title?: string;
|
|
24
|
+
/** Footer hint. Pass `null` to hide it. */
|
|
25
|
+
hint?: React.ReactNode | null;
|
|
26
|
+
/** Joins key alternatives (default "or"), overridable for i18n. */
|
|
27
|
+
alternativesLabel?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The `?` keyboard-shortcuts help dialog: a list of shortcut rows
|
|
31
|
+
* (optionally grouped) with `Kbd` chips for each key. Pairs with the
|
|
32
|
+
* `useKeyboardShortcut` hook, which handles the binding — this component
|
|
33
|
+
* only renders the help.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* const [open, setOpen] = useState(false);
|
|
38
|
+
* useKeyboardShortcut('?', () => setOpen((v) => !v), {
|
|
39
|
+
* modifiers: { shift: true },
|
|
40
|
+
* });
|
|
41
|
+
*
|
|
42
|
+
* <KeyboardShortcutsOverlay
|
|
43
|
+
* open={open}
|
|
44
|
+
* onClose={() => setOpen(false)}
|
|
45
|
+
* shortcuts={[
|
|
46
|
+
* { keys: ['j', '↓'], description: 'Next record' },
|
|
47
|
+
* { keys: '⌘K', description: 'Command palette' },
|
|
48
|
+
* ]}
|
|
49
|
+
* />
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
declare function KeyboardShortcutsOverlay({ open, onClose, shortcuts, groups, title, hint, alternativesLabel, }: KeyboardShortcutsOverlayProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
|
|
54
|
+
export { Kbd, type KbdProps, KeyboardShortcutsOverlay, type KeyboardShortcutsOverlayProps, type ShortcutDef, type ShortcutGroup };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { Kbd, KeyboardShortcutsOverlay } from '../../chunk-X5ZPYYMS.js';
|
|
2
|
+
import '../../chunk-XMCIXHGH.js';
|
|
3
|
+
import '../../chunk-4SMSH4OY.js';
|
|
4
|
+
import '../../chunk-T4ME7QCT.js';
|
|
5
|
+
import '../../chunk-TQONQSJO.js';
|
|
6
|
+
import '../../chunk-VSQF22GL.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkK4S4FAYX_cjs = require('../../chunk-K4S4FAYX.cjs');
|
|
3
|
+
var chunkWIYQI35R_cjs = require('../../chunk-WIYQI35R.cjs');
|
|
5
4
|
var chunkFN6VHMLM_cjs = require('../../chunk-FN6VHMLM.cjs');
|
|
6
5
|
var chunkP3JEMF6E_cjs = require('../../chunk-P3JEMF6E.cjs');
|
|
7
6
|
var chunk4CUFXCC5_cjs = require('../../chunk-4CUFXCC5.cjs');
|
|
7
|
+
var chunkK4S4FAYX_cjs = require('../../chunk-K4S4FAYX.cjs');
|
|
8
8
|
var chunkYIXTGWT4_cjs = require('../../chunk-YIXTGWT4.cjs');
|
|
9
9
|
require('../../chunk-RDGRKYQ5.cjs');
|
|
10
10
|
require('../../chunk-S5RVSXDV.cjs');
|
|
@@ -13,23 +13,19 @@ require('../../chunk-S5RVSXDV.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "CodeBlock", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkWIYQI35R_cjs.CodeBlock; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkWIYQI35R_cjs.MarkdownRenderer; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "highlightCode", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkWIYQI35R_cjs.highlightCode; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "useMarkdown", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "CsvBlock", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunkK4S4FAYX_cjs.CsvBlock; }
|
|
28
|
+
get: function () { return chunkWIYQI35R_cjs.useMarkdown; }
|
|
33
29
|
});
|
|
34
30
|
Object.defineProperty(exports, "HtmlPreviewBlock", {
|
|
35
31
|
enumerable: true,
|
|
@@ -43,6 +39,10 @@ Object.defineProperty(exports, "SurveyBlock", {
|
|
|
43
39
|
enumerable: true,
|
|
44
40
|
get: function () { return chunk4CUFXCC5_cjs.SurveyBlock; }
|
|
45
41
|
});
|
|
42
|
+
Object.defineProperty(exports, "CsvBlock", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkK4S4FAYX_cjs.CsvBlock; }
|
|
45
|
+
});
|
|
46
46
|
Object.defineProperty(exports, "FenceBlock", {
|
|
47
47
|
enumerable: true,
|
|
48
48
|
get: function () { return chunkYIXTGWT4_cjs.FenceBlock; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from '../../chunk-
|
|
2
|
-
export { CsvBlock } from '../../chunk-5J5PEUUA.js';
|
|
1
|
+
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from '../../chunk-DX64KLSN.js';
|
|
3
2
|
export { HtmlPreviewBlock } from '../../chunk-UZ5NGGMI.js';
|
|
4
3
|
export { MermaidBlock } from '../../chunk-EHQ77LL5.js';
|
|
5
4
|
export { SurveyBlock } from '../../chunk-DWCYEPTT.js';
|
|
5
|
+
export { CsvBlock } from '../../chunk-5J5PEUUA.js';
|
|
6
6
|
export { FenceBlock } from '../../chunk-NLBT5O2X.js';
|
|
7
7
|
import '../../chunk-D2GID3YK.js';
|
|
8
8
|
import '../../chunk-TQONQSJO.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLQHI44OZ_cjs = require('../../chunk-LQHI44OZ.cjs');
|
|
4
4
|
require('../../chunk-YMHOF6WA.cjs');
|
|
5
5
|
require('../../chunk-JP5SGIXA.cjs');
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-7AECNMYV.cjs');
|
|
7
|
+
require('../../chunk-56QJHQ5C.cjs');
|
|
8
8
|
require('../../chunk-P2VTQ5AR.cjs');
|
|
9
|
-
require('../../chunk-
|
|
9
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
10
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
10
11
|
require('../../chunk-RDGRKYQ5.cjs');
|
|
11
12
|
require('../../chunk-NPKPCYAT.cjs');
|
|
12
13
|
require('../../chunk-NUFUV43P.cjs');
|
|
@@ -22,23 +23,23 @@ require('../../chunk-SCV7C55E.cjs');
|
|
|
22
23
|
|
|
23
24
|
Object.defineProperty(exports, "FillerWordsModal", {
|
|
24
25
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkLQHI44OZ_cjs.FillerWordsModal; }
|
|
26
27
|
});
|
|
27
28
|
Object.defineProperty(exports, "MediaEditor", {
|
|
28
29
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkLQHI44OZ_cjs.MediaEditor; }
|
|
30
31
|
});
|
|
31
32
|
Object.defineProperty(exports, "SilenceSettingsModal", {
|
|
32
33
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkLQHI44OZ_cjs.SilenceSettingsModal; }
|
|
34
35
|
});
|
|
35
36
|
Object.defineProperty(exports, "SpeedMarkerMenu", {
|
|
36
37
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkLQHI44OZ_cjs.SpeedMarkerMenu; }
|
|
38
39
|
});
|
|
39
40
|
Object.defineProperty(exports, "WordEditorModal", {
|
|
40
41
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkLQHI44OZ_cjs.WordEditorModal; }
|
|
42
43
|
});
|
|
43
44
|
//# sourceMappingURL=index.cjs.map
|
|
44
45
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-
|
|
1
|
+
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-A5YOIJKL.js';
|
|
2
2
|
import '../../chunk-OTQ72WX3.js';
|
|
3
3
|
import '../../chunk-EMMYFHOT.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-753Z3NXL.js';
|
|
5
|
+
import '../../chunk-XBKOZRDO.js';
|
|
6
6
|
import '../../chunk-XMCIXHGH.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-6NZXWKUE.js';
|
|
8
|
+
import '../../chunk-3IMM2PM4.js';
|
|
8
9
|
import '../../chunk-D2GID3YK.js';
|
|
9
10
|
import '../../chunk-UUI7WXI5.js';
|
|
10
11
|
import '../../chunk-6CGM5H4J.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkGQVL2JKQ_cjs = require('../../chunk-GQVL2JKQ.cjs');
|
|
4
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
5
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
5
6
|
require('../../chunk-L7YQBSEL.cjs');
|
|
6
7
|
require('../../chunk-S5RVSXDV.cjs');
|
|
7
8
|
|
|
@@ -9,11 +10,11 @@ require('../../chunk-S5RVSXDV.cjs');
|
|
|
9
10
|
|
|
10
11
|
Object.defineProperty(exports, "PhoneInput", {
|
|
11
12
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkGQVL2JKQ_cjs.PhoneInput; }
|
|
13
14
|
});
|
|
14
15
|
Object.defineProperty(exports, "PhoneInputGroup", {
|
|
15
16
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkGQVL2JKQ_cjs.PhoneInputGroup; }
|
|
17
18
|
});
|
|
18
19
|
//# sourceMappingURL=index.cjs.map
|
|
19
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { PhoneInput, PhoneInputGroup } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { PhoneInput, PhoneInputGroup } from '../../chunk-GXODR6V4.js';
|
|
2
|
+
import '../../chunk-6NZXWKUE.js';
|
|
3
|
+
import '../../chunk-3IMM2PM4.js';
|
|
3
4
|
import '../../chunk-ZVPJ2MH6.js';
|
|
4
5
|
import '../../chunk-TQONQSJO.js';
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,7 +6,7 @@ declare const progressBarTrackVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const progressBarFillVariants: (props?: ({
|
|
9
|
-
variant?: "danger" | "default" | "
|
|
9
|
+
variant?: "danger" | "default" | "warning" | "success" | null | undefined;
|
|
10
10
|
animated?: boolean | null | undefined;
|
|
11
11
|
striped?: boolean | null | undefined;
|
|
12
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -6,7 +6,7 @@ declare const progressBarTrackVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const progressBarFillVariants: (props?: ({
|
|
9
|
-
variant?: "danger" | "default" | "
|
|
9
|
+
variant?: "danger" | "default" | "warning" | "success" | null | undefined;
|
|
10
10
|
animated?: boolean | null | undefined;
|
|
11
11
|
striped?: boolean | null | undefined;
|
|
12
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG7EQ3JPX_cjs = require('../../chunk-G7EQ3JPX.cjs');
|
|
4
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
4
5
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "Radio", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkG7EQ3JPX_cjs.Radio; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "RadioGroup", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkG7EQ3JPX_cjs.RadioGroup; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "radioVariants", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkG7EQ3JPX_cjs.radioVariants; }
|
|
19
20
|
});
|
|
20
21
|
//# sourceMappingURL=index.cjs.map
|
|
21
22
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -17,6 +17,14 @@ interface RadioGroupProps {
|
|
|
17
17
|
onValueChange?: (value: string) => void;
|
|
18
18
|
/** Group label */
|
|
19
19
|
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* How the group label is rendered.
|
|
22
|
+
* - `stacked` (default): label above the options.
|
|
23
|
+
* - `floating`: renders the group as a bordered field matching floating
|
|
24
|
+
* inputs, with the label fixed in the floated position so mixed forms
|
|
25
|
+
* stay vertically aligned.
|
|
26
|
+
*/
|
|
27
|
+
labelVariant?: 'stacked' | 'floating';
|
|
20
28
|
/** Description for the group */
|
|
21
29
|
description?: string;
|
|
22
30
|
/** Error message */
|
|
@@ -44,7 +52,7 @@ interface RadioGroupProps {
|
|
|
44
52
|
* </RadioGroup>
|
|
45
53
|
* ```
|
|
46
54
|
*/
|
|
47
|
-
declare function RadioGroup({ name, value: controlledValue, defaultValue, onValueChange, label, description, error, disabled, size, orientation, children, className, }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
55
|
+
declare function RadioGroup({ name, value: controlledValue, defaultValue, onValueChange, label, labelVariant, description, error, disabled, size, orientation, children, className, }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
48
56
|
declare namespace RadioGroup {
|
|
49
57
|
var displayName: string;
|
|
50
58
|
}
|
|
@@ -17,6 +17,14 @@ interface RadioGroupProps {
|
|
|
17
17
|
onValueChange?: (value: string) => void;
|
|
18
18
|
/** Group label */
|
|
19
19
|
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* How the group label is rendered.
|
|
22
|
+
* - `stacked` (default): label above the options.
|
|
23
|
+
* - `floating`: renders the group as a bordered field matching floating
|
|
24
|
+
* inputs, with the label fixed in the floated position so mixed forms
|
|
25
|
+
* stay vertically aligned.
|
|
26
|
+
*/
|
|
27
|
+
labelVariant?: 'stacked' | 'floating';
|
|
20
28
|
/** Description for the group */
|
|
21
29
|
description?: string;
|
|
22
30
|
/** Error message */
|
|
@@ -44,7 +52,7 @@ interface RadioGroupProps {
|
|
|
44
52
|
* </RadioGroup>
|
|
45
53
|
* ```
|
|
46
54
|
*/
|
|
47
|
-
declare function RadioGroup({ name, value: controlledValue, defaultValue, onValueChange, label, description, error, disabled, size, orientation, children, className, }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
55
|
+
declare function RadioGroup({ name, value: controlledValue, defaultValue, onValueChange, label, labelVariant, description, error, disabled, size, orientation, children, className, }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
48
56
|
declare namespace RadioGroup {
|
|
49
57
|
var displayName: string;
|
|
50
58
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { Radio, RadioGroup, radioVariants } from '../../chunk-
|
|
1
|
+
export { Radio, RadioGroup, radioVariants } from '../../chunk-EPSB4WTL.js';
|
|
2
|
+
import '../../chunk-3IMM2PM4.js';
|
|
2
3
|
import '../../chunk-TQONQSJO.js';
|
|
3
4
|
//# sourceMappingURL=index.js.map
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5MXO6PEV_cjs = require('../../chunk-5MXO6PEV.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ReadingProgressBar", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk5MXO6PEV_cjs.ReadingProgressBar; }
|
|
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,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ReadingProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
4
|
+
/** Class for the filled bar (default `bg-primary-500`). */
|
|
5
|
+
barClassName?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A thin progress bar pinned to the top of the viewport, tracking how far
|
|
9
|
+
* the reader has scrolled through the document. Purely decorative
|
|
10
|
+
* (`aria-hidden`) — long-form articles, guides, reports.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <ReadingProgressBar />
|
|
15
|
+
* <ReadingProgressBar barClassName="bg-warning" className="h-0.5" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
declare const ReadingProgressBar: React.ForwardRefExoticComponent<ReadingProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
export { ReadingProgressBar, type ReadingProgressBarProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ReadingProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
4
|
+
/** Class for the filled bar (default `bg-primary-500`). */
|
|
5
|
+
barClassName?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A thin progress bar pinned to the top of the viewport, tracking how far
|
|
9
|
+
* the reader has scrolled through the document. Purely decorative
|
|
10
|
+
* (`aria-hidden`) — long-form articles, guides, reports.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <ReadingProgressBar />
|
|
15
|
+
* <ReadingProgressBar barClassName="bg-warning" className="h-0.5" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
declare const ReadingProgressBar: React.ForwardRefExoticComponent<ReadingProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
export { ReadingProgressBar, type ReadingProgressBarProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKVE7PQ5P_cjs = require('../../chunk-KVE7PQ5P.cjs');
|
|
4
4
|
require('../../chunk-YP5T6NZD.cjs');
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-BOW7ZGI2.cjs');
|
|
6
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
7
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
7
8
|
require('../../chunk-RDGRKYQ5.cjs');
|
|
8
9
|
require('../../chunk-FHY3K6PL.cjs');
|
|
9
10
|
require('../../chunk-FSGEDDF2.cjs');
|
|
@@ -15,15 +16,15 @@ require('../../chunk-S5RVSXDV.cjs');
|
|
|
15
16
|
|
|
16
17
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkKVE7PQ5P_cjs.RichTextEditor; }
|
|
19
20
|
});
|
|
20
21
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
21
22
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkKVE7PQ5P_cjs.convertAngleBracketsToMustache; }
|
|
23
24
|
});
|
|
24
25
|
Object.defineProperty(exports, "processDictation", {
|
|
25
26
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkKVE7PQ5P_cjs.processDictation; }
|
|
27
28
|
});
|
|
28
29
|
Object.defineProperty(exports, "isHtmlEmpty", {
|
|
29
30
|
enumerable: true,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-
|
|
1
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-QHTDWIED.js';
|
|
2
2
|
import '../../chunk-OQWZYKJM.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-LZU7YBXG.js';
|
|
4
|
+
import '../../chunk-6NZXWKUE.js';
|
|
5
|
+
import '../../chunk-3IMM2PM4.js';
|
|
5
6
|
import '../../chunk-D2GID3YK.js';
|
|
6
7
|
import '../../chunk-T4ME7QCT.js';
|
|
7
8
|
import '../../chunk-62ZOA6PX.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5JZIDILK_cjs = require('../../chunk-5JZIDILK.cjs');
|
|
4
|
+
require('../../chunk-RDGRKYQ5.cjs');
|
|
5
|
+
require('../../chunk-7IKLGH3Z.cjs');
|
|
6
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "SectionSpyNav", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunk5JZIDILK_cjs.SectionSpyNav; }
|
|
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,63 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
/** One section the nav links to. The id must match a `section[id]` on the page. */
|
|
4
|
+
interface SectionSpyItem {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Funnel intent for the bar's single contextual CTA — drives its visual
|
|
10
|
+
* weight so the in-page strip never out-shouts a page's primary CTA:
|
|
11
|
+
* `explore` (quiet next step) → `evaluate` (sales-ready ask) → `commit`
|
|
12
|
+
* (high-intent action).
|
|
13
|
+
*/
|
|
14
|
+
type SectionSpyCtaTier = 'explore' | 'evaluate' | 'commit';
|
|
15
|
+
interface SectionSpyCta {
|
|
16
|
+
label: string;
|
|
17
|
+
href: string;
|
|
18
|
+
tier?: SectionSpyCtaTier;
|
|
19
|
+
}
|
|
20
|
+
interface SectionSpyNavProps {
|
|
21
|
+
/** Sections to link to, in page order. */
|
|
22
|
+
items: SectionSpyItem[];
|
|
23
|
+
/** Optional single page-specific next-step CTA at the end of the bar. */
|
|
24
|
+
cta?: SectionSpyCta;
|
|
25
|
+
/** Eyebrow before the links (default "On this page"). */
|
|
26
|
+
label?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Visual tone: `surface` sits on the page background; `brand` renders the
|
|
29
|
+
* inverted primary band.
|
|
30
|
+
*/
|
|
31
|
+
tone?: 'surface' | 'brand';
|
|
32
|
+
/** IntersectionObserver root margin tuning for the scroll spy. */
|
|
33
|
+
rootMargin?: string;
|
|
34
|
+
/** Called with the section id when a nav link is clicked. */
|
|
35
|
+
onItemClick?: (id: string) => void;
|
|
36
|
+
/** Called when the CTA is clicked (e.g. for analytics). */
|
|
37
|
+
onCtaClick?: (cta: SectionSpyCta) => void;
|
|
38
|
+
className?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Sticky horizontal in-page wayfinding: jumps between a page's major
|
|
42
|
+
* sections, highlights the one in view with a sliding underline, and can
|
|
43
|
+
* carry a single page-specific next-step CTA. Pure anchor links, so it
|
|
44
|
+
* still works if the scroll spy never runs.
|
|
45
|
+
*
|
|
46
|
+
* The horizontal complement to `TableOfContents` — use that for a sidebar
|
|
47
|
+
* outline, this for a band under the page header. Section elements need
|
|
48
|
+
* matching `id`s.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <SectionSpyNav
|
|
53
|
+
* items={[
|
|
54
|
+
* { id: 'overview', label: 'Overview' },
|
|
55
|
+
* { id: 'pricing', label: 'Pricing' },
|
|
56
|
+
* ]}
|
|
57
|
+
* cta={{ label: 'Book a demo', href: '/demo', tier: 'evaluate' }}
|
|
58
|
+
* />
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
declare function SectionSpyNav({ items, cta, label, tone, rootMargin, onItemClick, onCtaClick, className, }: SectionSpyNavProps): react_jsx_runtime.JSX.Element;
|
|
62
|
+
|
|
63
|
+
export { type SectionSpyCta, type SectionSpyCtaTier, type SectionSpyItem, SectionSpyNav, type SectionSpyNavProps };
|