@fangxinyan/lumina 0.6.3 → 0.6.4
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/dist/{Alert-QBKIDY5H.css → Alert-HVPI6L4V.css} +2 -2
- package/dist/Alert.cjs +3 -3
- package/dist/Alert.js +2 -2
- package/dist/{AppShell-RCALXUCZ.css → AppShell-FZCD4C56.css} +4 -4
- package/dist/AppShell.cjs +5 -5
- package/dist/AppShell.js +1 -1
- package/dist/{AutoComplete-P5KZMZO5.css → AutoComplete-4YZBMW4E.css} +2 -2
- package/dist/AutoComplete.cjs +5 -5
- package/dist/AutoComplete.js +4 -4
- package/dist/{Avatar-R5A4AFKZ.css → Avatar-TNPOHVY5.css} +1 -1
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +2 -2
- package/dist/Badge.js +1 -1
- package/dist/{Button-4Z3Q6KII.css → Button-TUMZUQLI.css} +11 -11
- package/dist/Button.cjs +3 -3
- package/dist/Button.js +2 -2
- package/dist/{Calendar-LHZELUDL.css → Calendar-RUTPKREW.css} +4 -4
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/{Card-6RMVIHWX.css → Card-MA6SV7D5.css} +6 -6
- package/dist/Card.cjs +2 -2
- package/dist/Card.js +1 -1
- package/dist/{Cascader-3BLLA7EN.css → Cascader-ANEQUPMI.css} +8 -8
- package/dist/Cascader.cjs +5 -5
- package/dist/Cascader.js +4 -4
- package/dist/{Checkbox-U5EUDSYS.css → Checkbox-EDNPZRIP.css} +3 -3
- package/dist/Checkbox.cjs +3 -3
- package/dist/Checkbox.js +2 -2
- package/dist/{Collapse-66U5YJFY.css → Collapse-UNBHEPYP.css} +2 -2
- package/dist/Collapse.cjs +3 -3
- package/dist/Collapse.js +2 -2
- package/dist/{ColorPicker-SDDQGHCM.css → ColorPicker-LPG6QPYF.css} +7 -7
- package/dist/ColorPicker.cjs +2 -2
- package/dist/ColorPicker.js +1 -1
- package/dist/{CommandPalette-T45DBMPY.css → CommandPalette-RTKWNH2D.css} +3 -3
- package/dist/CommandPalette.cjs +5 -5
- package/dist/CommandPalette.js +4 -4
- package/dist/{ContextMenu-FKW6CQW4.css → ContextMenu-WRR2SSWL.css} +3 -3
- package/dist/ContextMenu.cjs +2 -2
- package/dist/ContextMenu.js +1 -1
- package/dist/{Divider-OEE4Q2KS.css → Divider-RPQCVH3J.css} +2 -2
- package/dist/Divider.cjs +2 -2
- package/dist/Divider.js +1 -1
- package/dist/{Drawer-IPGB4CXH.css → Drawer-7N3URAJ6.css} +8 -5
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/{Empty-DC2LPORC.css → Empty-CZTRZMZQ.css} +1 -1
- package/dist/Empty.cjs +2 -2
- package/dist/Empty.js +1 -1
- package/dist/{Form-5GRVZNDO.css → Form-NGCQWTMZ.css} +1 -1
- package/dist/Form.cjs +4 -4
- package/dist/Form.js +1 -1
- package/dist/Icon.cjs +49 -49
- package/dist/Icon.js +1 -1
- package/dist/{Image-MRYQCRQ5.css → Image-SGSRTHQX.css} +5 -5
- package/dist/Image.cjs +6 -6
- package/dist/Image.js +2 -2
- package/dist/{Input-HUBJ55OH.css → Input-7GDPGP3E.css} +12 -12
- package/dist/Input.cjs +5 -5
- package/dist/Input.js +3 -3
- package/dist/InputNumber.cjs +5 -5
- package/dist/InputNumber.js +4 -4
- package/dist/{List-W5BW4D2P.css → List-LSMU5QAC.css} +3 -3
- package/dist/List.cjs +2 -2
- package/dist/List.js +1 -1
- package/dist/{Message-2MZ3LFPU.css → Message-H222YGR6.css} +1 -1
- package/dist/Message.cjs +6 -6
- package/dist/Message.js +2 -2
- package/dist/{Modal-2QNDW4SO.css → Modal-MCFDYVUQ.css} +3 -3
- package/dist/Modal.cjs +4 -4
- package/dist/Modal.js +3 -3
- package/dist/{Pagination-YIRYJUXP.css → Pagination-YSZSNFHG.css} +5 -5
- package/dist/Pagination.cjs +7 -7
- package/dist/Pagination.js +6 -6
- package/dist/{Popover-DVGQGWX6.css → Popover-Y3LDCJPW.css} +1 -1
- package/dist/Popover.cjs +2 -2
- package/dist/Popover.js +1 -1
- package/dist/{Progress-CHV7DN6Y.css → Progress-CZNXCYGW.css} +1 -1
- package/dist/Progress.cjs +2 -2
- package/dist/Progress.js +1 -1
- package/dist/{Radio-GVFDPAZM.css → Radio-IQKASYDF.css} +4 -4
- package/dist/Radio.cjs +3 -3
- package/dist/Radio.js +1 -1
- package/dist/{Select-Z5VYPEEY.css → Select-YZ2NUJSX.css} +18 -18
- package/dist/Select.cjs +6 -6
- package/dist/Select.js +5 -5
- package/dist/Skeleton.cjs +2 -2
- package/dist/Skeleton.js +1 -1
- package/dist/{Slider-3JKA5EW6.css → Slider-UM2IZZBH.css} +7 -7
- package/dist/Slider.cjs +2 -2
- package/dist/Slider.js +1 -1
- package/dist/{Spin-3GJNMSIH.css → Spin-GONGPV4Q.css} +1 -1
- package/dist/Spin.cjs +2 -2
- package/dist/Spin.js +1 -1
- package/dist/Splitter.cjs +2 -2
- package/dist/Splitter.js +1 -1
- package/dist/{StatusBar-CDS2GPSI.css → StatusBar-FJKEEPXU.css} +3 -7
- package/dist/StatusBar.cjs +3 -3
- package/dist/StatusBar.js +1 -1
- package/dist/Surface-UDDN3DGL.css +42 -0
- package/dist/Surface.cjs +16 -0
- package/dist/Surface.d.cts +60 -0
- package/dist/Surface.d.ts +60 -0
- package/dist/Surface.js +3 -0
- package/dist/{Switch-36KJNDXM.css → Switch-COAQIOMH.css} +8 -5
- package/dist/Switch.cjs +2 -2
- package/dist/Switch.js +1 -1
- package/dist/{Table-ATJJQLKU.css → Table-IYJTPY6J.css} +16 -16
- package/dist/Table.cjs +9 -9
- package/dist/Table.js +8 -8
- package/dist/{TablePro-3XVHYLSL.css → TablePro-JRSBPXB5.css} +1 -1
- package/dist/TablePro.cjs +10 -10
- package/dist/TablePro.js +9 -9
- package/dist/{Tabs-BLSNI2T5.css → Tabs-X5U5PCPV.css} +2 -2
- package/dist/Tabs.cjs +2 -2
- package/dist/Tabs.js +1 -1
- package/dist/{Tag-HDYCDPFS.css → Tag-G2XWAL7A.css} +1 -1
- package/dist/Tag.cjs +3 -3
- package/dist/Tag.js +2 -2
- package/dist/{Textarea-YNET7IBH.css → Textarea-YHWKHIFE.css} +3 -3
- package/dist/Textarea.cjs +4 -4
- package/dist/Textarea.js +2 -2
- package/dist/Theme.cjs +11 -11
- package/dist/Theme.d.cts +5 -1
- package/dist/Theme.d.ts +5 -1
- package/dist/Theme.js +1 -1
- package/dist/ThemePanel-76LB3YA5.css +509 -0
- package/dist/ThemePanel.cjs +29 -0
- package/dist/ThemePanel.d.cts +80 -0
- package/dist/ThemePanel.d.ts +80 -0
- package/dist/ThemePanel.js +12 -0
- package/dist/{Timeline-3ZHOHPXT.css → Timeline-ZIM7QFQC.css} +1 -1
- package/dist/Timeline.cjs +3 -3
- package/dist/Timeline.js +2 -2
- package/dist/{Tooltip-DMKUPC24.css → Tooltip-WI23DSRQ.css} +1 -1
- package/dist/Tooltip.cjs +2 -2
- package/dist/Tooltip.js +1 -1
- package/dist/{Typography-NKPWTJCV.css → Typography-GQNIJ4XD.css} +5 -5
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.js +2 -2
- package/dist/{chunk-DWAN57G4.js → chunk-2NT5QKEX.js} +3 -3
- package/dist/{chunk-6BWELOCT.js → chunk-2SCXQ7QS.js} +2 -2
- package/dist/{chunk-TP567B3L.cjs → chunk-2ZADGBUN.cjs} +5 -5
- package/dist/{chunk-CETNCRZ4.js → chunk-2ZFJTMEF.js} +4 -4
- package/dist/{chunk-I5WTQ5Y3.js → chunk-3YP7CBJT.js} +3 -3
- package/dist/{chunk-UUHFKIWP.cjs → chunk-4UKM4KAC.cjs} +2 -2
- package/dist/{chunk-HLFH5HWR.js → chunk-56PHETWO.js} +3 -3
- package/dist/{chunk-R2TEDH2F.cjs → chunk-5JPAUQ5H.cjs} +7 -7
- package/dist/{chunk-MPVCYU2K.cjs → chunk-5NFSDFBB.cjs} +4 -4
- package/dist/{chunk-P6P4DGLF.cjs → chunk-66GXZQKL.cjs} +4 -4
- package/dist/{chunk-QP3VCSRY.cjs → chunk-66T76GII.cjs} +6 -6
- package/dist/chunk-6EOSMK34.cjs +194 -0
- package/dist/{chunk-WNM5RVXR.cjs → chunk-6GQPF3EI.cjs} +2 -2
- package/dist/{chunk-V272XR3F.cjs → chunk-6LARTGLP.cjs} +1 -1
- package/dist/chunk-6SPMHY54.js +191 -0
- package/dist/{chunk-YLIQ37KY.cjs → chunk-6XVLERA3.cjs} +2 -2
- package/dist/{chunk-FBYUZOZP.js → chunk-7D76MI37.js} +5 -5
- package/dist/{chunk-J5ZGYQZK.js → chunk-7NZ2A4MA.js} +155 -29
- package/dist/{chunk-KLEKKZ73.js → chunk-7ZNGHWVS.js} +1 -1
- package/dist/{chunk-7AG524YZ.cjs → chunk-ACQSRMLF.cjs} +5 -5
- package/dist/{chunk-JVUVOR6S.js → chunk-AJH2O4WC.js} +3 -3
- package/dist/{chunk-ET6DYQVZ.js → chunk-BCFCSVGJ.js} +3 -3
- package/dist/{chunk-NTS5L4NQ.cjs → chunk-BJ6WUVEG.cjs} +4 -4
- package/dist/{chunk-S3VXH5L4.cjs → chunk-C24W6PTJ.cjs} +2 -2
- package/dist/{chunk-GMN74OEY.cjs → chunk-CBKJXKVI.cjs} +2 -2
- package/dist/{chunk-FWPBORRB.js → chunk-CEZ2DR4R.js} +3 -3
- package/dist/{chunk-SQGPSMSK.js → chunk-CNGKJYGZ.js} +3 -3
- package/dist/{chunk-PULGVK2I.cjs → chunk-D5PCIVID.cjs} +4 -4
- package/dist/{chunk-DG5VQ6BO.cjs → chunk-D64IPDUE.cjs} +4 -4
- package/dist/{chunk-VFFIE2VO.cjs → chunk-DYHNOYRC.cjs} +7 -7
- package/dist/{chunk-P6EZG2R7.cjs → chunk-DYSGXQUK.cjs} +7 -7
- package/dist/{chunk-3YJU3D5S.cjs → chunk-F3LHLYX6.cjs} +2 -2
- package/dist/{chunk-H4LGWZMH.cjs → chunk-GBKUGKIY.cjs} +11 -11
- package/dist/{chunk-J2HZTJO6.js → chunk-GUZ2DNDC.js} +3 -3
- package/dist/{chunk-K6F25JXT.js → chunk-GZCU6HXD.js} +2 -2
- package/dist/{chunk-USQ43DJ5.js → chunk-HFUHQUPQ.js} +2 -2
- package/dist/{chunk-7JN6FJ55.js → chunk-HU7T64Y3.js} +2 -2
- package/dist/{chunk-X5GCOMC3.cjs → chunk-IDJCFYPP.cjs} +15 -15
- package/dist/{chunk-KD4YYIIO.cjs → chunk-IHK2FRTS.cjs} +2 -2
- package/dist/{chunk-Q5SZIU7Z.cjs → chunk-JFQ53MO4.cjs} +1 -1
- package/dist/{chunk-7PQJCLIR.js → chunk-KMG7OMOS.js} +2 -2
- package/dist/{chunk-2HQCUBA7.cjs → chunk-L27C5O4W.cjs} +4 -4
- package/dist/chunk-LFTCK2VM.cjs +1194 -0
- package/dist/{chunk-BVQ77VRY.js → chunk-LI4XJTEA.js} +3 -3
- package/dist/{chunk-45VJGBGN.js → chunk-LQLOOUS3.js} +2 -2
- package/dist/{chunk-PL6DRFUO.cjs → chunk-MOMLQP7B.cjs} +2 -2
- package/dist/{chunk-OF7JIYBY.cjs → chunk-MYHBC3HA.cjs} +2 -2
- package/dist/{chunk-LKK2AA7W.js → chunk-MYRLCN6V.js} +2 -2
- package/dist/{chunk-ZKE73UQF.cjs → chunk-N2BTMKF2.cjs} +5 -5
- package/dist/{chunk-6ZXQJRAT.cjs → chunk-N2COYOXE.cjs} +155 -29
- package/dist/{chunk-2TL37AP5.cjs → chunk-N3OLFKV5.cjs} +1 -1
- package/dist/{chunk-5JSDQ6QQ.cjs → chunk-NDO22RER.cjs} +2 -2
- package/dist/{chunk-ME5BZ2WA.js → chunk-NE7IUGMK.js} +3 -3
- package/dist/{chunk-F6RYCBQG.js → chunk-NFXHIO3G.js} +1 -1
- package/dist/chunk-NJCHFXGC.js +1170 -0
- package/dist/chunk-NT6CJYI3.cjs +129 -0
- package/dist/chunk-O43DOE7V.js +106 -0
- package/dist/{chunk-GNEZD7KE.cjs → chunk-O4BOBOYV.cjs} +2 -2
- package/dist/{chunk-XSN4TLN5.cjs → chunk-OGPDCBPD.cjs} +12 -12
- package/dist/{chunk-6YQTMI55.js → chunk-OHFZ7L4T.js} +2 -2
- package/dist/{chunk-7IYKKLV3.js → chunk-OHIFKN4E.js} +4 -4
- package/dist/{chunk-46VXFTEC.js → chunk-OQU3TJCF.js} +3 -3
- package/dist/{chunk-5TKC6IEN.js → chunk-PEJLXJQD.js} +1 -1
- package/dist/{chunk-HWFM4MAT.js → chunk-PKHITACT.js} +2 -2
- package/dist/{chunk-JCEHZ336.js → chunk-PNZJFLMY.js} +3 -3
- package/dist/{chunk-XRR3CYQL.js → chunk-QP7RXZES.js} +2 -2
- package/dist/{chunk-5MN3PMF4.cjs → chunk-QY76WTO5.cjs} +9 -9
- package/dist/{chunk-FGW5GJ22.cjs → chunk-R74TZKJS.cjs} +4 -4
- package/dist/{chunk-TGL5BGMR.js → chunk-REMJWNAT.js} +4 -4
- package/dist/{chunk-SWBWZIL4.cjs → chunk-S6OKX4H7.cjs} +2 -2
- package/dist/{chunk-EC4WGEAJ.js → chunk-SABWUELE.js} +2 -2
- package/dist/{chunk-QKQHZIF3.cjs → chunk-SG42F5VB.cjs} +2 -2
- package/dist/{chunk-5C2AI2SD.js → chunk-SQIWPU6V.js} +2 -2
- package/dist/{chunk-5DKRY67M.cjs → chunk-SYWTT5TY.cjs} +5 -5
- package/dist/{chunk-OBEKX4VR.js → chunk-TVUBGXWA.js} +2 -2
- package/dist/{chunk-7PNJI5UE.cjs → chunk-U2H4DRMV.cjs} +2 -2
- package/dist/{chunk-HKF2V5MM.cjs → chunk-VAXWWJJP.cjs} +9 -9
- package/dist/{chunk-5H5YP2TB.js → chunk-VNNQYJLT.js} +3 -3
- package/dist/{chunk-KGSADAOD.cjs → chunk-VSUMJX6Z.cjs} +2 -2
- package/dist/{chunk-K5IGFBDR.js → chunk-W5CJC7S7.js} +3 -3
- package/dist/{chunk-AXZ7ELMA.js → chunk-WEJKY3DF.js} +2 -2
- package/dist/{chunk-GIZU3H6H.js → chunk-WXWFMWWF.js} +3 -3
- package/dist/{chunk-TEEFR2FD.js → chunk-XHQGMMH7.js} +2 -2
- package/dist/{chunk-UKS23N3L.js → chunk-XVP7IKLZ.js} +4 -4
- package/dist/{chunk-ELNT3CFO.js → chunk-Y5F7ZTBH.js} +2 -2
- package/dist/{chunk-QCILPZWP.js → chunk-YJEXAO2I.js} +2 -2
- package/dist/{chunk-7ABFUIOB.cjs → chunk-YNCDTKAE.cjs} +2 -2
- package/dist/{chunk-K7FV7W6U.cjs → chunk-YSCIMHOI.cjs} +5 -5
- package/dist/{chunk-BPOOVO5T.js → chunk-YSXD344H.js} +5 -5
- package/dist/{chunk-47VG2P34.js → chunk-YT5NLCRC.js} +1 -1
- package/dist/{chunk-HZSIUOCN.cjs → chunk-YUKXNWVE.cjs} +1 -1
- package/dist/{chunk-65FIH5A3.js → chunk-YVTLHTG6.js} +2 -2
- package/dist/{chunk-GENABQYA.cjs → chunk-Z4PZ2ZHI.cjs} +2 -2
- package/dist/{chunk-6HMTV6P4.cjs → chunk-ZPKHGKVL.cjs} +4 -4
- package/dist/{chunk-AAGF7K3L.js → chunk-ZPP7LTHP.js} +3 -3
- package/dist/{chunk-IZOHYJUQ.cjs → chunk-ZWCDB5PP.cjs} +2 -2
- package/dist/index.cjs +214 -191
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +49 -46
- package/dist/styles.css +677 -168
- package/dist/{tokens-BIIUTPKN.css → tokens-EF34LSWI.css} +42 -17
- package/dist/tokens.css +42 -17
- package/docs/llms/surface.md +90 -0
- package/docs/llms/theme.md +24 -2
- package/docs/llms/themepanel.md +128 -0
- package/docs/llms.md +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLFTCK2VM_cjs = require('./chunk-LFTCK2VM.cjs');
|
|
4
|
+
require('./chunk-ZWCDB5PP.cjs');
|
|
5
|
+
require('./chunk-6EOSMK34.cjs');
|
|
6
|
+
require('./chunk-N2COYOXE.cjs');
|
|
7
|
+
require('./chunk-6GQPF3EI.cjs');
|
|
8
|
+
require('./chunk-VSUMJX6Z.cjs');
|
|
9
|
+
require('./chunk-MYHBC3HA.cjs');
|
|
10
|
+
require('./chunk-YB3IWIOJ.cjs');
|
|
11
|
+
require('./chunk-VAXWWJJP.cjs');
|
|
12
|
+
require('./chunk-5NFSDFBB.cjs');
|
|
13
|
+
require('./chunk-2ZADGBUN.cjs');
|
|
14
|
+
require('./chunk-6LARTGLP.cjs');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
Object.defineProperty(exports, "THEME_PANEL_DEFAULT_PRESET_OPTIONS", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkLFTCK2VM_cjs.THEME_PANEL_DEFAULT_PRESET_OPTIONS; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "THEME_PANEL_DEFAULT_THEME_PRESETS", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkLFTCK2VM_cjs.THEME_PANEL_DEFAULT_THEME_PRESETS; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "ThemePanel", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkLFTCK2VM_cjs.ThemePanel; }
|
|
29
|
+
});
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ThemeMode, ThemePreset, ThemeBaseMode } from './Theme.cjs';
|
|
3
|
+
|
|
4
|
+
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density";
|
|
5
|
+
interface ThemePanelPresetOption {
|
|
6
|
+
/** Mode key. If it exists in `theme.themes`, the registered preset is used. */
|
|
7
|
+
key: ThemeMode;
|
|
8
|
+
label: React.ReactNode;
|
|
9
|
+
description?: React.ReactNode;
|
|
10
|
+
/** Optional preset to apply and register on click. */
|
|
11
|
+
preset?: ThemePreset;
|
|
12
|
+
}
|
|
13
|
+
interface ThemePanelModeOption {
|
|
14
|
+
key: ThemeMode;
|
|
15
|
+
label: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
interface ThemePanelCreatedThemeMeta {
|
|
18
|
+
key: ThemeMode;
|
|
19
|
+
label: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}
|
|
22
|
+
interface ThemePanelCreateThemePayload extends ThemePanelCreatedThemeMeta {
|
|
23
|
+
preset: ThemePreset;
|
|
24
|
+
/** Ready-to-append preset option for callers that control `presetOptions`. */
|
|
25
|
+
presetOption: ThemePanelPresetOption;
|
|
26
|
+
}
|
|
27
|
+
interface ThemePanelDeleteThemePayload extends ThemePanelCreatedThemeMeta {
|
|
28
|
+
preset?: ThemePreset;
|
|
29
|
+
}
|
|
30
|
+
type ThemePanelDefaultPresetKey = "light" | "dark" | "porcelain" | "assistant" | "assistantDark";
|
|
31
|
+
type ThemePanelDefaultPreset = ThemePreset & {
|
|
32
|
+
base: ThemeBaseMode;
|
|
33
|
+
tokens: NonNullable<ThemePreset["tokens"]>;
|
|
34
|
+
};
|
|
35
|
+
declare const THEME_PANEL_DEFAULT_THEME_PRESETS: Record<ThemePanelDefaultPresetKey, ThemePanelDefaultPreset>;
|
|
36
|
+
declare const THEME_PANEL_DEFAULT_PRESET_OPTIONS: ThemePanelPresetOption[];
|
|
37
|
+
interface ThemePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
38
|
+
/** Header title. Pass `null` to hide the title text while keeping the panel layout. */
|
|
39
|
+
title?: React.ReactNode;
|
|
40
|
+
/** Secondary header text. */
|
|
41
|
+
description?: React.ReactNode;
|
|
42
|
+
/** Sections to render, in order. */
|
|
43
|
+
sections?: ThemePanelSection[];
|
|
44
|
+
/** Built-in mode buttons. */
|
|
45
|
+
modeOptions?: ThemePanelModeOption[];
|
|
46
|
+
/** Named theme preset cards. Defaults to Lumina presets plus registered `theme.themes`. */
|
|
47
|
+
presetOptions?: ThemePanelPresetOption[];
|
|
48
|
+
/** Initial color used by the custom accent picker. */
|
|
49
|
+
defaultCustomAccent?: string;
|
|
50
|
+
/** Show the inline create-theme flow in the preset section. */
|
|
51
|
+
allowCreateTheme?: boolean;
|
|
52
|
+
/** Default name for a newly created theme. */
|
|
53
|
+
defaultCreateThemeName?: string;
|
|
54
|
+
/** Prefix used when generating a mode key for a created theme. */
|
|
55
|
+
createThemeKeyPrefix?: string;
|
|
56
|
+
/** Called after a custom theme is saved into the nearest ThemeProvider. */
|
|
57
|
+
onCreateTheme?: (payload: ThemePanelCreateThemePayload) => void;
|
|
58
|
+
/** Show delete actions for non-default named themes. */
|
|
59
|
+
allowDeleteTheme?: boolean;
|
|
60
|
+
/** Called after a non-default theme is removed from the nearest ThemeProvider. */
|
|
61
|
+
onDeleteTheme?: (payload: ThemePanelDeleteThemePayload) => void;
|
|
62
|
+
/** Show the reset button. */
|
|
63
|
+
showReset?: boolean;
|
|
64
|
+
/** Compact typography and spacing. */
|
|
65
|
+
compact?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* `ThemePanel` — ready-made controls for quickly editing and saving the nearest Lumina theme.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```tsx
|
|
72
|
+
* <ThemeProvider>
|
|
73
|
+
* <ThemePanel />
|
|
74
|
+
* <App />
|
|
75
|
+
* </ThemeProvider>
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
declare const ThemePanel: React.ForwardRefExoticComponent<ThemePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
|
|
80
|
+
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, type ThemePanelCreateThemePayload, type ThemePanelCreatedThemeMeta, type ThemePanelDeleteThemePayload, type ThemePanelModeOption, type ThemePanelPresetOption, type ThemePanelProps, type ThemePanelSection };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ThemeMode, ThemePreset, ThemeBaseMode } from './Theme.js';
|
|
3
|
+
|
|
4
|
+
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density";
|
|
5
|
+
interface ThemePanelPresetOption {
|
|
6
|
+
/** Mode key. If it exists in `theme.themes`, the registered preset is used. */
|
|
7
|
+
key: ThemeMode;
|
|
8
|
+
label: React.ReactNode;
|
|
9
|
+
description?: React.ReactNode;
|
|
10
|
+
/** Optional preset to apply and register on click. */
|
|
11
|
+
preset?: ThemePreset;
|
|
12
|
+
}
|
|
13
|
+
interface ThemePanelModeOption {
|
|
14
|
+
key: ThemeMode;
|
|
15
|
+
label: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
interface ThemePanelCreatedThemeMeta {
|
|
18
|
+
key: ThemeMode;
|
|
19
|
+
label: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}
|
|
22
|
+
interface ThemePanelCreateThemePayload extends ThemePanelCreatedThemeMeta {
|
|
23
|
+
preset: ThemePreset;
|
|
24
|
+
/** Ready-to-append preset option for callers that control `presetOptions`. */
|
|
25
|
+
presetOption: ThemePanelPresetOption;
|
|
26
|
+
}
|
|
27
|
+
interface ThemePanelDeleteThemePayload extends ThemePanelCreatedThemeMeta {
|
|
28
|
+
preset?: ThemePreset;
|
|
29
|
+
}
|
|
30
|
+
type ThemePanelDefaultPresetKey = "light" | "dark" | "porcelain" | "assistant" | "assistantDark";
|
|
31
|
+
type ThemePanelDefaultPreset = ThemePreset & {
|
|
32
|
+
base: ThemeBaseMode;
|
|
33
|
+
tokens: NonNullable<ThemePreset["tokens"]>;
|
|
34
|
+
};
|
|
35
|
+
declare const THEME_PANEL_DEFAULT_THEME_PRESETS: Record<ThemePanelDefaultPresetKey, ThemePanelDefaultPreset>;
|
|
36
|
+
declare const THEME_PANEL_DEFAULT_PRESET_OPTIONS: ThemePanelPresetOption[];
|
|
37
|
+
interface ThemePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
38
|
+
/** Header title. Pass `null` to hide the title text while keeping the panel layout. */
|
|
39
|
+
title?: React.ReactNode;
|
|
40
|
+
/** Secondary header text. */
|
|
41
|
+
description?: React.ReactNode;
|
|
42
|
+
/** Sections to render, in order. */
|
|
43
|
+
sections?: ThemePanelSection[];
|
|
44
|
+
/** Built-in mode buttons. */
|
|
45
|
+
modeOptions?: ThemePanelModeOption[];
|
|
46
|
+
/** Named theme preset cards. Defaults to Lumina presets plus registered `theme.themes`. */
|
|
47
|
+
presetOptions?: ThemePanelPresetOption[];
|
|
48
|
+
/** Initial color used by the custom accent picker. */
|
|
49
|
+
defaultCustomAccent?: string;
|
|
50
|
+
/** Show the inline create-theme flow in the preset section. */
|
|
51
|
+
allowCreateTheme?: boolean;
|
|
52
|
+
/** Default name for a newly created theme. */
|
|
53
|
+
defaultCreateThemeName?: string;
|
|
54
|
+
/** Prefix used when generating a mode key for a created theme. */
|
|
55
|
+
createThemeKeyPrefix?: string;
|
|
56
|
+
/** Called after a custom theme is saved into the nearest ThemeProvider. */
|
|
57
|
+
onCreateTheme?: (payload: ThemePanelCreateThemePayload) => void;
|
|
58
|
+
/** Show delete actions for non-default named themes. */
|
|
59
|
+
allowDeleteTheme?: boolean;
|
|
60
|
+
/** Called after a non-default theme is removed from the nearest ThemeProvider. */
|
|
61
|
+
onDeleteTheme?: (payload: ThemePanelDeleteThemePayload) => void;
|
|
62
|
+
/** Show the reset button. */
|
|
63
|
+
showReset?: boolean;
|
|
64
|
+
/** Compact typography and spacing. */
|
|
65
|
+
compact?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* `ThemePanel` — ready-made controls for quickly editing and saving the nearest Lumina theme.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```tsx
|
|
72
|
+
* <ThemeProvider>
|
|
73
|
+
* <ThemePanel />
|
|
74
|
+
* <App />
|
|
75
|
+
* </ThemeProvider>
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
declare const ThemePanel: React.ForwardRefExoticComponent<ThemePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
|
|
80
|
+
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, type ThemePanelCreateThemePayload, type ThemePanelCreatedThemeMeta, type ThemePanelDeleteThemePayload, type ThemePanelModeOption, type ThemePanelPresetOption, type ThemePanelProps, type ThemePanelSection };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel } from './chunk-NJCHFXGC.js';
|
|
2
|
+
import './chunk-HU7T64Y3.js';
|
|
3
|
+
import './chunk-6SPMHY54.js';
|
|
4
|
+
import './chunk-7NZ2A4MA.js';
|
|
5
|
+
import './chunk-YJEXAO2I.js';
|
|
6
|
+
import './chunk-HFUHQUPQ.js';
|
|
7
|
+
import './chunk-GZCU6HXD.js';
|
|
8
|
+
import './chunk-DUFRASGO.js';
|
|
9
|
+
import './chunk-XVP7IKLZ.js';
|
|
10
|
+
import './chunk-56PHETWO.js';
|
|
11
|
+
import './chunk-CNGKJYGZ.js';
|
|
12
|
+
import './chunk-YT5NLCRC.js';
|
package/dist/Timeline.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkBJ6WUVEG_cjs = require('./chunk-BJ6WUVEG.cjs');
|
|
4
|
+
require('./chunk-SG42F5VB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Timeline", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBJ6WUVEG_cjs.Timeline; }
|
|
11
11
|
});
|
package/dist/Timeline.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Timeline } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Timeline } from './chunk-OQU3TJCF.js';
|
|
2
|
+
import './chunk-Y5F7ZTBH.js';
|
package/dist/Tooltip.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkF3LHLYX6_cjs = require('./chunk-F3LHLYX6.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Tooltip", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkF3LHLYX6_cjs.Tooltip; }
|
|
11
11
|
});
|
package/dist/Tooltip.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tooltip } from './chunk-
|
|
1
|
+
export { Tooltip } from './chunk-XHQGMMH7.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
padding: 1px 6px;
|
|
49
49
|
border-radius: 5px;
|
|
50
50
|
background: var(--bg-sunken);
|
|
51
|
-
box-shadow: var(--neu-
|
|
51
|
+
box-shadow: var(--neu-shadow-inset);
|
|
52
52
|
color: var(--accent-ink);
|
|
53
53
|
margin: 0 2px;
|
|
54
54
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
padding: 1px 7px;
|
|
60
60
|
border-radius: 5px;
|
|
61
61
|
background: var(--bg-raised);
|
|
62
|
-
box-shadow: var(--neu-
|
|
62
|
+
box-shadow: var(--neu-shadow-subtle);
|
|
63
63
|
border: 1px solid var(--border);
|
|
64
64
|
color: var(--fg);
|
|
65
65
|
margin: 0 2px;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
.typo-action:hover {
|
|
146
146
|
color: var(--accent-ink);
|
|
147
147
|
background: var(--bg);
|
|
148
|
-
box-shadow: var(--neu-
|
|
148
|
+
box-shadow: var(--neu-shadow-subtle);
|
|
149
149
|
}
|
|
150
150
|
.typo-action:focus-visible {
|
|
151
151
|
outline: 2px solid var(--accent-glow);
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
font: inherit;
|
|
170
170
|
color: inherit;
|
|
171
171
|
background: var(--bg-sunken);
|
|
172
|
-
box-shadow: var(--neu-
|
|
172
|
+
box-shadow: var(--neu-shadow-inset-strong);
|
|
173
173
|
border: none;
|
|
174
174
|
outline: none;
|
|
175
175
|
width: 100%;
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
font-family: inherit;
|
|
185
185
|
}
|
|
186
186
|
.typo-editor:focus {
|
|
187
|
-
box-shadow: var(--neu-
|
|
187
|
+
box-shadow: var(--neu-shadow-inset-strong), 0 0 0 3px var(--accent-glow);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
/* ---- Ellipsis ---- */
|
package/dist/Typography.cjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk5JPAUQ5H_cjs = require('./chunk-5JPAUQ5H.cjs');
|
|
4
|
+
require('./chunk-6LARTGLP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Link", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk5JPAUQ5H_cjs.Link; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Paragraph", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk5JPAUQ5H_cjs.Paragraph; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "Text", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk5JPAUQ5H_cjs.Text; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "Title", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk5JPAUQ5H_cjs.Title; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "Typography", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk5JPAUQ5H_cjs.Typography; }
|
|
27
27
|
});
|
package/dist/Typography.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Link, Paragraph, Text, Title, Typography } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Link, Paragraph, Text, Title, Typography } from './chunk-BCFCSVGJ.js';
|
|
2
|
+
import './chunk-YT5NLCRC.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import './tokens-
|
|
1
|
+
import { Icon } from './chunk-YT5NLCRC.js';
|
|
2
|
+
import './tokens-EF34LSWI.css';
|
|
3
3
|
import './shared-NJHRNLRH.css';
|
|
4
|
-
import './Image-
|
|
4
|
+
import './Image-SGSRTHQX.css';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import ReactDOM from 'react-dom';
|
|
7
7
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './tokens-
|
|
1
|
+
import './tokens-EF34LSWI.css';
|
|
2
2
|
import './shared-NJHRNLRH.css';
|
|
3
|
-
import './StatusBar-
|
|
3
|
+
import './StatusBar-FJKEEPXU.css';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./tokens-
|
|
3
|
+
var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
|
|
4
|
+
require('./tokens-EF34LSWI.css');
|
|
5
5
|
require('./shared-NJHRNLRH.css');
|
|
6
|
-
require('./Button-
|
|
6
|
+
require('./Button-TUMZUQLI.css');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
@@ -67,9 +67,9 @@ var Button = React__namespace.forwardRef(
|
|
|
67
67
|
"aria-label": ariaLabel ?? (onlyIcon ? tip ?? (typeof icon === "string" ? icon : void 0) : void 0),
|
|
68
68
|
...rest,
|
|
69
69
|
children: [
|
|
70
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "spinner", "aria-hidden": true }) :
|
|
70
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "spinner", "aria-hidden": true }) : chunk6LARTGLP_cjs.renderIconSlot(icon, { size: 15, className: "btn-icon-slot" }),
|
|
71
71
|
content,
|
|
72
|
-
|
|
72
|
+
chunk6LARTGLP_cjs.renderIconSlot(trailingIcon, { size: 15, className: "btn-icon-slot" })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import './tokens-
|
|
1
|
+
import { Select } from './chunk-7D76MI37.js';
|
|
2
|
+
import { Icon } from './chunk-YT5NLCRC.js';
|
|
3
|
+
import './tokens-EF34LSWI.css';
|
|
4
4
|
import './shared-NJHRNLRH.css';
|
|
5
|
-
import './Pagination-
|
|
5
|
+
import './Pagination-YSZSNFHG.css';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { renderIconSlot, Icon } from './chunk-
|
|
2
|
-
import './tokens-
|
|
1
|
+
import { renderIconSlot, Icon } from './chunk-YT5NLCRC.js';
|
|
2
|
+
import './tokens-EF34LSWI.css';
|
|
3
3
|
import './shared-NJHRNLRH.css';
|
|
4
|
-
import './Alert-
|
|
4
|
+
import './Alert-HVPI6L4V.css';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkYB3IWIOJ_cjs = require('./chunk-YB3IWIOJ.cjs');
|
|
4
|
-
require('./tokens-
|
|
4
|
+
require('./tokens-EF34LSWI.css');
|
|
5
5
|
require('./shared-NJHRNLRH.css');
|
|
6
|
-
require('./Popover-
|
|
6
|
+
require('./Popover-Y3LDCJPW.css');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var reactDom = require('react-dom');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import './tokens-
|
|
1
|
+
import { Icon } from './chunk-YT5NLCRC.js';
|
|
2
|
+
import './tokens-EF34LSWI.css';
|
|
3
3
|
import './shared-NJHRNLRH.css';
|
|
4
|
-
import './Textarea-
|
|
4
|
+
import './Textarea-YHWKHIFE.css';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./tokens-
|
|
3
|
+
var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
|
|
4
|
+
require('./tokens-EF34LSWI.css');
|
|
5
5
|
require('./shared-NJHRNLRH.css');
|
|
6
|
-
require('./Typography-
|
|
6
|
+
require('./Typography-GQNIJ4XD.css');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
@@ -74,8 +74,8 @@ var CopyAction = ({ config, fallbackText }) => {
|
|
|
74
74
|
timerRef.current = window.setTimeout(() => setCopied(false), 2400);
|
|
75
75
|
};
|
|
76
76
|
const [defIcon, doneIcon] = config.icon ?? [
|
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
78
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
77
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "copy", size: 12 }, "def"),
|
|
78
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "check", size: 12 }, "done")
|
|
79
79
|
];
|
|
80
80
|
const tipText = config.tooltips === false ? void 0 : Array.isArray(config.tooltips) ? copied ? config.tooltips[1] : config.tooltips[0] : copied ? "\u5DF2\u590D\u5236" : "\u590D\u5236";
|
|
81
81
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -213,7 +213,7 @@ function useTypographyBody(props) {
|
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
215
|
className: "typo-action typo-edit",
|
|
216
|
-
children: editConf.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
216
|
+
children: editConf.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "edit", size: 12 })
|
|
217
217
|
}
|
|
218
218
|
);
|
|
219
219
|
}
|
|
@@ -473,7 +473,7 @@ var Link = React__namespace.forwardRef(
|
|
|
473
473
|
...anchorRest,
|
|
474
474
|
children: [
|
|
475
475
|
body.inner,
|
|
476
|
-
external && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-link-ext", "aria-hidden": true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
476
|
+
external && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-link-ext", "aria-hidden": true, children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: externalIcon, size: 12 }) }),
|
|
477
477
|
body.expandNode,
|
|
478
478
|
body.copyNode,
|
|
479
479
|
body.editIconNode
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./tokens-
|
|
3
|
+
var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
|
|
4
|
+
require('./tokens-EF34LSWI.css');
|
|
5
5
|
require('./shared-NJHRNLRH.css');
|
|
6
|
-
require('./Textarea-
|
|
6
|
+
require('./Textarea-YHWKHIFE.css');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
@@ -86,7 +86,7 @@ var Textarea = React__namespace.forwardRef(
|
|
|
86
86
|
tabIndex: -1,
|
|
87
87
|
onMouseDown: (e) => e.preventDefault(),
|
|
88
88
|
onClick: handleClear,
|
|
89
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
89
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "x", size: 12 })
|
|
90
90
|
}
|
|
91
91
|
)
|
|
92
92
|
] });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkYB3IWIOJ_cjs = require('./chunk-YB3IWIOJ.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('./tokens-
|
|
4
|
+
var chunkVAXWWJJP_cjs = require('./chunk-VAXWWJJP.cjs');
|
|
5
|
+
require('./tokens-EF34LSWI.css');
|
|
6
6
|
require('./shared-NJHRNLRH.css');
|
|
7
|
-
require('./AutoComplete-
|
|
7
|
+
require('./AutoComplete-4YZBMW4E.css');
|
|
8
8
|
var React = require('react');
|
|
9
9
|
var reactDom = require('react-dom');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -168,7 +168,7 @@ var AutoComplete = React__namespace.forwardRef(
|
|
|
168
168
|
) : null;
|
|
169
169
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: triggerRef, className: `autocomplete ${className}`, children: [
|
|
170
170
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
171
|
-
|
|
171
|
+
chunkVAXWWJJP_cjs.Input,
|
|
172
172
|
{
|
|
173
173
|
ref,
|
|
174
174
|
...rest,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('./tokens-
|
|
3
|
+
var chunkVAXWWJJP_cjs = require('./chunk-VAXWWJJP.cjs');
|
|
4
|
+
var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
|
|
5
|
+
require('./tokens-EF34LSWI.css');
|
|
6
6
|
require('./shared-NJHRNLRH.css');
|
|
7
7
|
require('./InputNumber-VXQIWLQC.css');
|
|
8
8
|
var React = require('react');
|
|
@@ -117,7 +117,7 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
117
117
|
disabled: upDisabled,
|
|
118
118
|
onMouseDown: (e) => e.preventDefault(),
|
|
119
119
|
onClick: () => increment(step),
|
|
120
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
120
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "chevUp", size: 10, stroke: 2.5 })
|
|
121
121
|
}
|
|
122
122
|
),
|
|
123
123
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -129,7 +129,7 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
129
129
|
disabled: downDisabled,
|
|
130
130
|
onMouseDown: (e) => e.preventDefault(),
|
|
131
131
|
onClick: () => increment(-step),
|
|
132
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
132
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "chevDown", size: 10, stroke: 2.5 })
|
|
133
133
|
}
|
|
134
134
|
)
|
|
135
135
|
] }) : null;
|
|
@@ -138,7 +138,7 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
138
138
|
stepperSuffix
|
|
139
139
|
] }) : stepperSuffix ?? suffix;
|
|
140
140
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
141
|
-
|
|
141
|
+
chunkVAXWWJJP_cjs.Input,
|
|
142
142
|
{
|
|
143
143
|
ref,
|
|
144
144
|
id,
|