@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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const accordionVariants: (props?: ({
|
|
6
|
+
variant?: "separated" | "joined" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface AccordionItem {
|
|
9
|
+
/** Stable id used for open state and aria wiring. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Header label (e.g. an FAQ question). */
|
|
12
|
+
title: React.ReactNode;
|
|
13
|
+
/** Panel content (e.g. the answer). */
|
|
14
|
+
content: React.ReactNode;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface AccordionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof accordionVariants> {
|
|
18
|
+
items: AccordionItem[];
|
|
19
|
+
/** `single` keeps at most one panel open; `multiple` allows any number. */
|
|
20
|
+
type?: 'single' | 'multiple';
|
|
21
|
+
/** Ids open initially (uncontrolled). */
|
|
22
|
+
defaultOpenIds?: string[];
|
|
23
|
+
/** Controlled open ids. Changes reported via `onOpenChange`. */
|
|
24
|
+
openIds?: string[];
|
|
25
|
+
onOpenChange?: (openIds: string[]) => void;
|
|
26
|
+
/** In `single` mode, allow closing the open panel (default true). */
|
|
27
|
+
collapsible?: boolean;
|
|
28
|
+
/** Heading level wrapping each trigger for document outline (default h3). */
|
|
29
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A vertically stacked set of expandable panels — FAQ lists, settings
|
|
33
|
+
* groups, progressive disclosure. Panels animate open to their natural
|
|
34
|
+
* height (CSS grid rows, no max-height clipping), and headers are real
|
|
35
|
+
* buttons inside headings with full `aria-expanded`/`aria-controls` wiring.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <Accordion
|
|
40
|
+
* type="single"
|
|
41
|
+
* items={[
|
|
42
|
+
* { id: 'pricing', title: 'How is pricing calculated?', content: <p>…</p> },
|
|
43
|
+
* { id: 'billing', title: 'When am I billed?', content: <p>…</p> },
|
|
44
|
+
* ]}
|
|
45
|
+
* />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
|
|
50
|
+
export { Accordion, type AccordionItem, type AccordionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const alertVariants: (props?: ({
|
|
6
|
-
variant?: "danger" | "default" | "
|
|
6
|
+
variant?: "danger" | "default" | "warning" | "success" | "info" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
9
9
|
/** Icon to display in the alert */
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const alertVariants: (props?: ({
|
|
6
|
-
variant?: "danger" | "default" | "
|
|
6
|
+
variant?: "danger" | "default" | "warning" | "success" | "info" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
9
9
|
/** Icon to display in the alert */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkJHGMZX4I_cjs = require('../../chunk-JHGMZX4I.cjs');
|
|
4
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
5
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
5
6
|
require('../../chunk-FSGEDDF2.cjs');
|
|
6
7
|
require('../../chunk-MYFZYUPR.cjs');
|
|
7
8
|
require('../../chunk-S5RVSXDV.cjs');
|
|
@@ -10,7 +11,7 @@ require('../../chunk-S5RVSXDV.cjs');
|
|
|
10
11
|
|
|
11
12
|
Object.defineProperty(exports, "Autocomplete", {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkJHGMZX4I_cjs.Autocomplete; }
|
|
14
15
|
});
|
|
15
16
|
//# sourceMappingURL=index.cjs.map
|
|
16
17
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { inputVariants } from '../Input/index.cjs';
|
|
4
|
+
import { inputVariants, RequiredMarkVariant } from '../Input/index.cjs';
|
|
5
5
|
import 'class-variance-authority/types';
|
|
6
6
|
|
|
7
7
|
interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>, 'size'> {
|
|
@@ -41,6 +41,23 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
|
|
|
41
41
|
clearOnSelect?: boolean;
|
|
42
42
|
/** Disable the input. */
|
|
43
43
|
disabled?: boolean;
|
|
44
|
+
/** Label for the input. */
|
|
45
|
+
label?: string;
|
|
46
|
+
/**
|
|
47
|
+
* How the label is rendered.
|
|
48
|
+
* - `stacked` (default): label above the input.
|
|
49
|
+
* - `floating`: label rests inside the input like a placeholder and floats
|
|
50
|
+
* to the top of the field when focused or filled. Ignores `placeholder`.
|
|
51
|
+
*/
|
|
52
|
+
labelVariant?: 'stacked' | 'floating';
|
|
53
|
+
/** Whether the input is required. */
|
|
54
|
+
required?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Color of the required asterisk.
|
|
57
|
+
* - `default`: destructive (hard requirement).
|
|
58
|
+
* - `warning`: warning color (soft requirement / recommended).
|
|
59
|
+
*/
|
|
60
|
+
requiredVariant?: RequiredMarkVariant;
|
|
44
61
|
/** Accessible label for the combobox input. */
|
|
45
62
|
'aria-label'?: string;
|
|
46
63
|
/** Class applied to the outer wrapper. */
|
|
@@ -50,7 +67,7 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
|
|
|
50
67
|
/** Forwarded ref to the underlying input. */
|
|
51
68
|
inputRef?: React.Ref<HTMLInputElement>;
|
|
52
69
|
/** Additional props forwarded to the input element. */
|
|
53
|
-
inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'placeholder' | 'disabled' | 'aria-label'>;
|
|
70
|
+
inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'placeholder' | 'disabled' | 'required' | 'aria-label'>;
|
|
54
71
|
}
|
|
55
72
|
/**
|
|
56
73
|
* A data-agnostic, presentational combobox. It renders a search input with a
|
|
@@ -69,7 +86,7 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
|
|
|
69
86
|
* />
|
|
70
87
|
* ```
|
|
71
88
|
*/
|
|
72
|
-
declare function Autocomplete<T>({ items, onSelect, getItemKey, renderItem, filter, value: controlledValue, defaultValue, onValueChange, placeholder, emptyMessage, createLabel, onCreate, minQueryLength, clearOnSelect, disabled, size, className, inputClassName, inputRef, inputProps, 'aria-label': ariaLabel, }: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function Autocomplete<T>({ items, onSelect, getItemKey, renderItem, filter, value: controlledValue, defaultValue, onValueChange, placeholder, emptyMessage, createLabel, onCreate, minQueryLength, clearOnSelect, disabled, label, labelVariant, required, requiredVariant, size, className, inputClassName, inputRef, inputProps, 'aria-label': ariaLabel, }: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
73
90
|
declare namespace Autocomplete {
|
|
74
91
|
var displayName: string;
|
|
75
92
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { inputVariants } from '../Input/index.js';
|
|
4
|
+
import { inputVariants, RequiredMarkVariant } from '../Input/index.js';
|
|
5
5
|
import 'class-variance-authority/types';
|
|
6
6
|
|
|
7
7
|
interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>, 'size'> {
|
|
@@ -41,6 +41,23 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
|
|
|
41
41
|
clearOnSelect?: boolean;
|
|
42
42
|
/** Disable the input. */
|
|
43
43
|
disabled?: boolean;
|
|
44
|
+
/** Label for the input. */
|
|
45
|
+
label?: string;
|
|
46
|
+
/**
|
|
47
|
+
* How the label is rendered.
|
|
48
|
+
* - `stacked` (default): label above the input.
|
|
49
|
+
* - `floating`: label rests inside the input like a placeholder and floats
|
|
50
|
+
* to the top of the field when focused or filled. Ignores `placeholder`.
|
|
51
|
+
*/
|
|
52
|
+
labelVariant?: 'stacked' | 'floating';
|
|
53
|
+
/** Whether the input is required. */
|
|
54
|
+
required?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Color of the required asterisk.
|
|
57
|
+
* - `default`: destructive (hard requirement).
|
|
58
|
+
* - `warning`: warning color (soft requirement / recommended).
|
|
59
|
+
*/
|
|
60
|
+
requiredVariant?: RequiredMarkVariant;
|
|
44
61
|
/** Accessible label for the combobox input. */
|
|
45
62
|
'aria-label'?: string;
|
|
46
63
|
/** Class applied to the outer wrapper. */
|
|
@@ -50,7 +67,7 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
|
|
|
50
67
|
/** Forwarded ref to the underlying input. */
|
|
51
68
|
inputRef?: React.Ref<HTMLInputElement>;
|
|
52
69
|
/** Additional props forwarded to the input element. */
|
|
53
|
-
inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'placeholder' | 'disabled' | 'aria-label'>;
|
|
70
|
+
inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'placeholder' | 'disabled' | 'required' | 'aria-label'>;
|
|
54
71
|
}
|
|
55
72
|
/**
|
|
56
73
|
* A data-agnostic, presentational combobox. It renders a search input with a
|
|
@@ -69,7 +86,7 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
|
|
|
69
86
|
* />
|
|
70
87
|
* ```
|
|
71
88
|
*/
|
|
72
|
-
declare function Autocomplete<T>({ items, onSelect, getItemKey, renderItem, filter, value: controlledValue, defaultValue, onValueChange, placeholder, emptyMessage, createLabel, onCreate, minQueryLength, clearOnSelect, disabled, size, className, inputClassName, inputRef, inputProps, 'aria-label': ariaLabel, }: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function Autocomplete<T>({ items, onSelect, getItemKey, renderItem, filter, value: controlledValue, defaultValue, onValueChange, placeholder, emptyMessage, createLabel, onCreate, minQueryLength, clearOnSelect, disabled, label, labelVariant, required, requiredVariant, size, className, inputClassName, inputRef, inputProps, 'aria-label': ariaLabel, }: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
73
90
|
declare namespace Autocomplete {
|
|
74
91
|
var displayName: string;
|
|
75
92
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { Autocomplete } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Autocomplete } from '../../chunk-QGZC43L7.js';
|
|
2
|
+
import '../../chunk-6NZXWKUE.js';
|
|
3
|
+
import '../../chunk-3IMM2PM4.js';
|
|
3
4
|
import '../../chunk-62ZOA6PX.js';
|
|
4
5
|
import '../../chunk-BOOJDRJO.js';
|
|
5
6
|
import '../../chunk-TQONQSJO.js';
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "secondary" | "outline" | "danger" | "default" | "
|
|
6
|
+
variant?: "secondary" | "outline" | "danger" | "default" | "warning" | "success" | null | undefined;
|
|
7
7
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "secondary" | "outline" | "danger" | "default" | "
|
|
6
|
+
variant?: "secondary" | "outline" | "danger" | "default" | "warning" | "success" | null | undefined;
|
|
7
7
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -10,7 +10,7 @@ declare const cardVariants: (props?: ({
|
|
|
10
10
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
12
|
declare const cardAccentVariants: (props?: ({
|
|
13
|
-
color?: "primary" | "
|
|
13
|
+
color?: "primary" | "warning" | "success" | "info" | "destructive" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
16
16
|
/** Semantic HTML element to render as */
|
|
@@ -10,7 +10,7 @@ declare const cardVariants: (props?: ({
|
|
|
10
10
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
12
|
declare const cardAccentVariants: (props?: ({
|
|
13
|
-
color?: "primary" | "
|
|
13
|
+
color?: "primary" | "warning" | "success" | "info" | "destructive" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
16
16
|
/** Semantic HTML element to render as */
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7AECNMYV_cjs = require('../../chunk-7AECNMYV.cjs');
|
|
4
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
4
5
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "Checkbox", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk7AECNMYV_cjs.Checkbox; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "CheckboxGroup", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk7AECNMYV_cjs.CheckboxGroup; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "checkboxVariants", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk7AECNMYV_cjs.checkboxVariants; }
|
|
19
20
|
});
|
|
20
21
|
//# sourceMappingURL=index.cjs.map
|
|
21
22
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -32,6 +32,14 @@ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.Re
|
|
|
32
32
|
interface CheckboxGroupProps {
|
|
33
33
|
/** Group label */
|
|
34
34
|
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* How the group label is rendered.
|
|
37
|
+
* - `stacked` (default): label above the options.
|
|
38
|
+
* - `floating`: renders the group as a bordered field matching floating
|
|
39
|
+
* inputs, with the label fixed in the floated position so mixed forms
|
|
40
|
+
* stay vertically aligned.
|
|
41
|
+
*/
|
|
42
|
+
labelVariant?: 'stacked' | 'floating';
|
|
35
43
|
/** Description for the group */
|
|
36
44
|
description?: string;
|
|
37
45
|
/** Error message for the group */
|
|
@@ -55,7 +63,7 @@ interface CheckboxGroupProps {
|
|
|
55
63
|
* </CheckboxGroup>
|
|
56
64
|
* ```
|
|
57
65
|
*/
|
|
58
|
-
declare function CheckboxGroup({ label, description, error, orientation, children, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
66
|
+
declare function CheckboxGroup({ label, labelVariant, description, error, orientation, children, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
59
67
|
declare namespace CheckboxGroup {
|
|
60
68
|
var displayName: string;
|
|
61
69
|
}
|
|
@@ -32,6 +32,14 @@ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.Re
|
|
|
32
32
|
interface CheckboxGroupProps {
|
|
33
33
|
/** Group label */
|
|
34
34
|
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* How the group label is rendered.
|
|
37
|
+
* - `stacked` (default): label above the options.
|
|
38
|
+
* - `floating`: renders the group as a bordered field matching floating
|
|
39
|
+
* inputs, with the label fixed in the floated position so mixed forms
|
|
40
|
+
* stay vertically aligned.
|
|
41
|
+
*/
|
|
42
|
+
labelVariant?: 'stacked' | 'floating';
|
|
35
43
|
/** Description for the group */
|
|
36
44
|
description?: string;
|
|
37
45
|
/** Error message for the group */
|
|
@@ -55,7 +63,7 @@ interface CheckboxGroupProps {
|
|
|
55
63
|
* </CheckboxGroup>
|
|
56
64
|
* ```
|
|
57
65
|
*/
|
|
58
|
-
declare function CheckboxGroup({ label, description, error, orientation, children, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
66
|
+
declare function CheckboxGroup({ label, labelVariant, description, error, orientation, children, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
59
67
|
declare namespace CheckboxGroup {
|
|
60
68
|
var displayName: string;
|
|
61
69
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { Checkbox, CheckboxGroup, checkboxVariants } from '../../chunk-
|
|
1
|
+
export { Checkbox, CheckboxGroup, checkboxVariants } from '../../chunk-753Z3NXL.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 chunkN5O47VGS_cjs = require('../../chunk-N5O47VGS.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ClampedText", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkN5O47VGS_cjs.ClampedText; }
|
|
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,33 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ClampedTextProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
/** The long text to clamp. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Lines visible while collapsed (2–8, default 6). */
|
|
7
|
+
lines?: 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
8
|
+
/** Skip the clamp entirely below this character count (default 280). */
|
|
9
|
+
threshold?: number;
|
|
10
|
+
/** Toggle labels, overridable for i18n. */
|
|
11
|
+
showMoreLabel?: string;
|
|
12
|
+
showLessLabel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Gradient start for the fade at the clamp edge — match it to the
|
|
15
|
+
* surface behind the text (default `from-card`).
|
|
16
|
+
*/
|
|
17
|
+
fadeClassName?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Clamps long text to N lines with a fade-out gradient and a
|
|
21
|
+
* Show more / Show less toggle. Short text renders inline with no
|
|
22
|
+
* toggle, so brief values stay flat. Pure presentation — ideal for
|
|
23
|
+
* free-text fields (messages, notes, descriptions) inside detail
|
|
24
|
+
* panels and modals.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <ClampedText text={note.body} lines={4} />
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
declare const ClampedText: React.ForwardRefExoticComponent<ClampedTextProps & React.RefAttributes<HTMLElement>>;
|
|
32
|
+
|
|
33
|
+
export { ClampedText, type ClampedTextProps };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ClampedTextProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
/** The long text to clamp. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Lines visible while collapsed (2–8, default 6). */
|
|
7
|
+
lines?: 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
8
|
+
/** Skip the clamp entirely below this character count (default 280). */
|
|
9
|
+
threshold?: number;
|
|
10
|
+
/** Toggle labels, overridable for i18n. */
|
|
11
|
+
showMoreLabel?: string;
|
|
12
|
+
showLessLabel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Gradient start for the fade at the clamp edge — match it to the
|
|
15
|
+
* surface behind the text (default `from-card`).
|
|
16
|
+
*/
|
|
17
|
+
fadeClassName?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Clamps long text to N lines with a fade-out gradient and a
|
|
21
|
+
* Show more / Show less toggle. Short text renders inline with no
|
|
22
|
+
* toggle, so brief values stay flat. Pure presentation — ideal for
|
|
23
|
+
* free-text fields (messages, notes, descriptions) inside detail
|
|
24
|
+
* panels and modals.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <ClampedText text={note.body} lines={4} />
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
declare const ClampedText: React.ForwardRefExoticComponent<ClampedTextProps & React.RefAttributes<HTMLElement>>;
|
|
32
|
+
|
|
33
|
+
export { ClampedText, type ClampedTextProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkNGSDBWKA_cjs = require('../../chunk-NGSDBWKA.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "CopyButton", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkNGSDBWKA_cjs.CopyButton; }
|
|
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,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CopyButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
4
|
+
/** Text written to the clipboard. */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Accessible label / tooltip (default "Copy"). */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Label while the copied state shows (default "Copied"). */
|
|
9
|
+
copiedLabel?: string;
|
|
10
|
+
/** How long the copied state shows, in ms (default 1200). */
|
|
11
|
+
timeout?: number;
|
|
12
|
+
/** Called after a successful copy. */
|
|
13
|
+
onCopied?: (value: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* An inline copy-to-clipboard icon button with a brief success check.
|
|
17
|
+
* Copied state is isolated per instance — safe to drop into table rows,
|
|
18
|
+
* ID chips, and detail fields.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <span className="flex items-center gap-1">
|
|
23
|
+
* MRN WC-10382 <CopyButton value="WC-10382" label="Copy MRN" />
|
|
24
|
+
* </span>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare const CopyButton: React.ForwardRefExoticComponent<CopyButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
+
|
|
29
|
+
export { CopyButton, type CopyButtonProps };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CopyButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
4
|
+
/** Text written to the clipboard. */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Accessible label / tooltip (default "Copy"). */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Label while the copied state shows (default "Copied"). */
|
|
9
|
+
copiedLabel?: string;
|
|
10
|
+
/** How long the copied state shows, in ms (default 1200). */
|
|
11
|
+
timeout?: number;
|
|
12
|
+
/** Called after a successful copy. */
|
|
13
|
+
onCopied?: (value: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* An inline copy-to-clipboard icon button with a brief success check.
|
|
17
|
+
* Copied state is isolated per instance — safe to drop into table rows,
|
|
18
|
+
* ID chips, and detail fields.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <span className="flex items-center gap-1">
|
|
23
|
+
* MRN WC-10382 <CopyButton value="WC-10382" label="Copy MRN" />
|
|
24
|
+
* </span>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare const CopyButton: React.ForwardRefExoticComponent<CopyButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
+
|
|
29
|
+
export { CopyButton, type CopyButtonProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYVIH26FG_cjs = require('../../chunk-YVIH26FG.cjs');
|
|
4
|
+
require('../../chunk-PLMXN23Q.cjs');
|
|
5
|
+
require('../../chunk-RS5VA6QU.cjs');
|
|
6
|
+
require('../../chunk-RDGRKYQ5.cjs');
|
|
7
|
+
require('../../chunk-NNEFAUHV.cjs');
|
|
8
|
+
require('../../chunk-FHY3K6PL.cjs');
|
|
9
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
10
|
+
require('../../chunk-SCV7C55E.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(exports, "CustomizableDashboard", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkYVIH26FG_cjs.CustomizableDashboard; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "DashboardCustomizePanel", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkYVIH26FG_cjs.DashboardCustomizePanel; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "consolidateColumns", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkYVIH26FG_cjs.consolidateColumns; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "mergeColumnOrder", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkYVIH26FG_cjs.mergeColumnOrder; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "moveAcrossColumns", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkYVIH26FG_cjs.moveAcrossColumns; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "reorderOnDrop", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkYVIH26FG_cjs.reorderOnDrop; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "requiredColumns", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkYVIH26FG_cjs.requiredColumns; }
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=index.cjs.map
|
|
43
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|