@uisatin/ui 0.2.0 → 0.3.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/CHANGELOG.md +14 -0
- package/README.md +10 -1
- package/chunk-3DHJXU45.js +147 -0
- package/{chunk-6YXUBP27.js → chunk-5725MFGQ.js} +72 -67
- package/{chunk-BKZBWPUH.js → chunk-57QEOCDZ.js} +9 -11
- package/{chunk-RTJ76X5U.js → chunk-5KTBSMQU.js} +2 -4
- package/{chunk-B2K45IUR.js → chunk-5XTUFBZI.js} +5 -7
- package/{chunk-LW3TRU5W.js → chunk-674SRBZK.js} +28 -16
- package/{chunk-XZNHT6MO.js → chunk-6VKV36OK.js} +115 -61
- package/{chunk-GICKPMJU.js → chunk-73Z7NMQQ.js} +31 -31
- package/chunk-7Q76HLRQ.js +128 -0
- package/{chunk-JPNWHWAQ.js → chunk-AIMQNLPY.js} +38 -35
- package/{chunk-MYEZXZZC.js → chunk-BN7FDKCJ.js} +23 -25
- package/{chunk-3DINAQLL.js → chunk-BR2B4OIT.js} +33 -29
- package/{chunk-2HKBZFIK.js → chunk-CGOH5IYX.js} +31 -31
- package/chunk-CVNRZ2YV.js +112 -0
- package/{chunk-QUF2IPOZ.js → chunk-DPYIBFQD.js} +12 -14
- package/chunk-EF5GT4OG.js +87 -0
- package/chunk-FAJ3OVL4.js +37 -0
- package/{chunk-L6NCCSIP.js → chunk-FB5HTCO2.js} +36 -29
- package/chunk-GI2SMFZL.js +55 -0
- package/{chunk-B6V4VSGH.js → chunk-GMETYACH.js} +14 -15
- package/chunk-HK6WINL6.js +95 -0
- package/{chunk-HL42K2NH.js → chunk-IKO3GQFE.js} +17 -17
- package/{chunk-DO3TBNSC.js → chunk-ISYKZCPJ.js} +15 -17
- package/{chunk-YG7JOOLJ.js → chunk-J7RMFN54.js} +5 -7
- package/{chunk-SHDFUXYV.js → chunk-JBKBRAC4.js} +16 -18
- package/{chunk-LZMKSFCF.js → chunk-JCXI7VQL.js} +10 -12
- package/{chunk-NN6PKJWS.js → chunk-JYOZUQNU.js} +7 -9
- package/{chunk-LLHTVIM3.js → chunk-LB37KTJH.js} +7 -9
- package/{chunk-NSRTTYQ4.js → chunk-LB7Z6BSK.js} +42 -35
- package/{chunk-BNZVTLHV.js → chunk-LFGUJHFF.js} +25 -21
- package/{chunk-7TXHCRAG.js → chunk-M2HEVFQ3.js} +8 -10
- package/{chunk-SH6NG6VN.js → chunk-NH3EHMIL.js} +6 -8
- package/chunk-NL574STL.js +88 -0
- package/chunk-NQL6SIIB.js +168 -0
- package/chunk-O46O6LFQ.js +25 -0
- package/{chunk-YPNKBE5X.js → chunk-OURZQM27.js} +5 -7
- package/{chunk-XL75JRUA.js → chunk-OVKPPXK5.js} +42 -22
- package/chunk-PD6YPFYN.js +42 -0
- package/{chunk-XILQ7GXE.js → chunk-PHNR6ZQ7.js} +11 -13
- package/{chunk-BNTPPZCK.js → chunk-PUWSL5XW.js} +37 -39
- package/{chunk-A5XEM3GF.js → chunk-RHQHDYTE.js} +34 -36
- package/chunk-S7QHBVPX.js +45 -0
- package/{chunk-TX3H3QMA.js → chunk-SAYNV7B3.js} +71 -70
- package/{chunk-6QMSWITQ.js → chunk-SDOTDMYG.js} +24 -26
- package/{chunk-UGRSWP6U.js → chunk-SPGUZMCC.js} +10 -12
- package/chunk-SSOFFQ5T.js +74 -0
- package/{chunk-AN2RNJLR.js → chunk-SZJIVBOD.js} +16 -16
- package/chunk-T6L32XXH.js +107 -0
- package/{chunk-QS4N4MNP.js → chunk-TT2N5752.js} +18 -20
- package/{chunk-72OCFAPT.js → chunk-UCCNXGLG.js} +22 -21
- package/{chunk-KNUWZNFV.js → chunk-UGIVCXGN.js} +4 -6
- package/{chunk-H4NU7NPO.js → chunk-UUCVRIVP.js} +62 -61
- package/{chunk-P4O6TGDR.js → chunk-UZ4DXU6W.js} +28 -26
- package/{chunk-UBNHSZSE.js → chunk-VUOAPWTF.js} +10 -12
- package/{chunk-VAGIAREV.js → chunk-W472DBMT.js} +29 -26
- package/{chunk-X3PQANZO.js → chunk-W4RDTP6W.js} +47 -46
- package/{chunk-CL2II6BX.js → chunk-WLQD5BN2.js} +11 -13
- package/{chunk-FDKIX4DC.js → chunk-X2GNMNZQ.js} +7 -9
- package/{chunk-PF3YBUKT.js → chunk-X66KTATQ.js} +16 -15
- package/{chunk-J3NSDRVH.js → chunk-XETMIETJ.js} +0 -2
- package/chunk-XH56JGYC.js +71 -0
- package/{chunk-O7F3CIDV.js → chunk-XUOSJMEJ.js} +10 -12
- package/chunk-YJK4MGSI.js +86 -0
- package/{chunk-YX5VNRJX.js → chunk-YYFAZQ25.js} +0 -2
- package/chunk-Z7S2KQZS.js +177 -0
- package/chunk-ZBZ3ZQRB.js +195 -0
- package/{chunk-Y5AYU7PK.js → chunk-ZHFIWDGF.js} +0 -2
- package/components/accordion.js +2 -4
- package/components/agent-loading.d.ts +2 -0
- package/components/agent-loading.js +2 -4
- package/components/agent-picker.js +4 -5
- package/components/agent-suggestion.js +5 -6
- package/components/announcement-bar.js +6 -7
- package/components/attachment.js +4 -5
- package/components/avatar.js +4 -6
- package/components/badge.js +2 -4
- package/components/banner-mesh.js +1 -3
- package/components/banner.js +4 -6
- package/components/bar-chart.js +10 -11
- package/components/breadcrumb.js +5 -6
- package/components/button.js +2 -4
- package/components/card.js +3 -5
- package/components/channel-chart.js +10 -11
- package/components/chart.js +9 -10
- package/components/checkbox.js +2 -4
- package/components/chip.js +2 -4
- package/components/citations.d.ts +6 -4
- package/components/citations.js +4 -5
- package/components/code-block.js +3 -5
- package/components/combobox.d.ts +12 -3
- package/components/combobox.js +9 -10
- package/components/command-menu.d.ts +6 -2
- package/components/command-menu.js +5 -6
- package/components/context-menu.d.ts +12 -5
- package/components/context-menu.js +5 -6
- package/components/cookie-consent.js +3 -5
- package/components/date-picker.d.ts +26 -14
- package/components/date-picker.js +8 -9
- package/components/decision-card.js +6 -7
- package/components/dialog.d.ts +5 -2
- package/components/dialog.js +4 -5
- package/components/donut-chart.js +10 -11
- package/components/dot.js +2 -4
- package/components/dropdown.d.ts +6 -1
- package/components/dropdown.js +4 -5
- package/components/empty-state.js +2 -4
- package/components/file-upload.js +6 -7
- package/components/floating.js +1 -3
- package/components/form-field.js +2 -4
- package/components/hover-card.d.ts +5 -2
- package/components/hover-card.js +2 -4
- package/components/input-otp.d.ts +4 -2
- package/components/input-otp.js +7 -8
- package/components/input.js +3 -5
- package/components/kbd.js +2 -4
- package/components/labels.d.ts +79 -0
- package/components/labels.js +1 -0
- package/components/line-chart.js +11 -12
- package/components/message-actions.js +4 -5
- package/components/message.js +7 -8
- package/components/number-input.d.ts +4 -2
- package/components/number-input.js +7 -8
- package/components/pagination.js +4 -6
- package/components/popover.d.ts +11 -5
- package/components/popover.js +3 -4
- package/components/progress.js +2 -4
- package/components/prompt-bar.js +5 -6
- package/components/radio.js +2 -4
- package/components/search-bar.js +3 -5
- package/components/segmented-control.d.ts +4 -2
- package/components/segmented-control.js +3 -5
- package/components/select.d.ts +10 -2
- package/components/select.js +6 -7
- package/components/sheet.d.ts +4 -2
- package/components/sheet.js +5 -6
- package/components/sidebar.js +2 -4
- package/components/skeleton.js +2 -4
- package/components/slider.d.ts +6 -2
- package/components/slider.js +7 -8
- package/components/sliding-indicator.js +1 -3
- package/components/streaming-text.js +2 -4
- package/components/switch.js +2 -4
- package/components/table.d.ts +16 -5
- package/components/table.js +4 -5
- package/components/tabs.d.ts +4 -2
- package/components/tabs.js +3 -5
- package/components/textarea.js +3 -5
- package/components/thinking.js +3 -5
- package/components/toast.js +4 -5
- package/components/toggle.js +2 -4
- package/components/tooltip.d.ts +5 -2
- package/components/tooltip.js +3 -5
- package/index.d.ts +1 -0
- package/index.js +67 -231
- package/lib/utils.d.ts +8 -1
- package/lib/utils.js +1 -3
- package/package.json +11 -1
- package/styles.css +1 -1
- package/theme/create-theme.d.ts +6 -2
- package/theme/index.js +1 -0
- package/chunk-2HKBZFIK.js.map +0 -1
- package/chunk-3DINAQLL.js.map +0 -1
- package/chunk-3ERGAHKA.js +0 -179
- package/chunk-3ERGAHKA.js.map +0 -1
- package/chunk-6C7CGJX2.js +0 -86
- package/chunk-6C7CGJX2.js.map +0 -1
- package/chunk-6QMSWITQ.js.map +0 -1
- package/chunk-6YXUBP27.js.map +0 -1
- package/chunk-72OCFAPT.js.map +0 -1
- package/chunk-7TXHCRAG.js.map +0 -1
- package/chunk-A5XEM3GF.js.map +0 -1
- package/chunk-AN2RNJLR.js.map +0 -1
- package/chunk-B2K45IUR.js.map +0 -1
- package/chunk-B6V4VSGH.js.map +0 -1
- package/chunk-BKZBWPUH.js.map +0 -1
- package/chunk-BNTPPZCK.js.map +0 -1
- package/chunk-BNZVTLHV.js.map +0 -1
- package/chunk-CL2II6BX.js.map +0 -1
- package/chunk-D7RZNTFC.js +0 -95
- package/chunk-D7RZNTFC.js.map +0 -1
- package/chunk-DETGJAIC.js +0 -147
- package/chunk-DETGJAIC.js.map +0 -1
- package/chunk-DO3TBNSC.js.map +0 -1
- package/chunk-ESC5JCVQ.js +0 -90
- package/chunk-ESC5JCVQ.js.map +0 -1
- package/chunk-FDKIX4DC.js.map +0 -1
- package/chunk-GICKPMJU.js.map +0 -1
- package/chunk-GQA24FYG.js +0 -57
- package/chunk-GQA24FYG.js.map +0 -1
- package/chunk-H4NU7NPO.js.map +0 -1
- package/chunk-H63FYCMY.js +0 -11
- package/chunk-H63FYCMY.js.map +0 -1
- package/chunk-HL42K2NH.js.map +0 -1
- package/chunk-HNQUX43Z.js +0 -109
- package/chunk-HNQUX43Z.js.map +0 -1
- package/chunk-HRKPV66B.js +0 -32
- package/chunk-HRKPV66B.js.map +0 -1
- package/chunk-J3NSDRVH.js.map +0 -1
- package/chunk-JPNWHWAQ.js.map +0 -1
- package/chunk-KNUWZNFV.js.map +0 -1
- package/chunk-L6NCCSIP.js.map +0 -1
- package/chunk-LLHTVIM3.js.map +0 -1
- package/chunk-LW3TRU5W.js.map +0 -1
- package/chunk-LZMKSFCF.js.map +0 -1
- package/chunk-MR3JDI7E.js +0 -122
- package/chunk-MR3JDI7E.js.map +0 -1
- package/chunk-MYEZXZZC.js.map +0 -1
- package/chunk-NN6PKJWS.js.map +0 -1
- package/chunk-NSRTTYQ4.js.map +0 -1
- package/chunk-O7F3CIDV.js.map +0 -1
- package/chunk-P4O6TGDR.js.map +0 -1
- package/chunk-PF3YBUKT.js.map +0 -1
- package/chunk-PVOLDO4G.js +0 -47
- package/chunk-PVOLDO4G.js.map +0 -1
- package/chunk-QS4N4MNP.js.map +0 -1
- package/chunk-QUF2IPOZ.js.map +0 -1
- package/chunk-RTJ76X5U.js.map +0 -1
- package/chunk-SH6NG6VN.js.map +0 -1
- package/chunk-SHDFUXYV.js.map +0 -1
- package/chunk-TKO44NDI.js +0 -84
- package/chunk-TKO44NDI.js.map +0 -1
- package/chunk-TX3H3QMA.js.map +0 -1
- package/chunk-UBNHSZSE.js.map +0 -1
- package/chunk-UC3ZJWOD.js +0 -73
- package/chunk-UC3ZJWOD.js.map +0 -1
- package/chunk-UGRSWP6U.js.map +0 -1
- package/chunk-VAGIAREV.js.map +0 -1
- package/chunk-WTMZT3IT.js +0 -105
- package/chunk-WTMZT3IT.js.map +0 -1
- package/chunk-WX6BP5ZP.js +0 -39
- package/chunk-WX6BP5ZP.js.map +0 -1
- package/chunk-X3PQANZO.js.map +0 -1
- package/chunk-XILQ7GXE.js.map +0 -1
- package/chunk-XL75JRUA.js.map +0 -1
- package/chunk-XZNHT6MO.js.map +0 -1
- package/chunk-Y5AYU7PK.js.map +0 -1
- package/chunk-YG7JOOLJ.js.map +0 -1
- package/chunk-YPJYW624.js +0 -195
- package/chunk-YPJYW624.js.map +0 -1
- package/chunk-YPNKBE5X.js.map +0 -1
- package/chunk-YX5VNRJX.js.map +0 -1
- package/components/accordion.js.map +0 -1
- package/components/agent-loading.js.map +0 -1
- package/components/agent-picker.js.map +0 -1
- package/components/agent-suggestion.js.map +0 -1
- package/components/announcement-bar.js.map +0 -1
- package/components/attachment.js.map +0 -1
- package/components/avatar.js.map +0 -1
- package/components/badge.js.map +0 -1
- package/components/banner-mesh.js.map +0 -1
- package/components/banner.js.map +0 -1
- package/components/bar-chart.js.map +0 -1
- package/components/breadcrumb.js.map +0 -1
- package/components/button.js.map +0 -1
- package/components/card.js.map +0 -1
- package/components/channel-chart.js.map +0 -1
- package/components/chart.js.map +0 -1
- package/components/checkbox.js.map +0 -1
- package/components/chip.js.map +0 -1
- package/components/citations.js.map +0 -1
- package/components/code-block.js.map +0 -1
- package/components/combobox.js.map +0 -1
- package/components/command-menu.js.map +0 -1
- package/components/context-menu.js.map +0 -1
- package/components/cookie-consent.js.map +0 -1
- package/components/date-picker.js.map +0 -1
- package/components/decision-card.js.map +0 -1
- package/components/dialog.js.map +0 -1
- package/components/donut-chart.js.map +0 -1
- package/components/dot.js.map +0 -1
- package/components/dropdown.js.map +0 -1
- package/components/empty-state.js.map +0 -1
- package/components/file-upload.js.map +0 -1
- package/components/floating.js.map +0 -1
- package/components/form-field.js.map +0 -1
- package/components/hover-card.js.map +0 -1
- package/components/input-otp.js.map +0 -1
- package/components/input.js.map +0 -1
- package/components/kbd.js.map +0 -1
- package/components/line-chart.js.map +0 -1
- package/components/message-actions.js.map +0 -1
- package/components/message.js.map +0 -1
- package/components/number-input.js.map +0 -1
- package/components/pagination.js.map +0 -1
- package/components/popover.js.map +0 -1
- package/components/progress.js.map +0 -1
- package/components/prompt-bar.js.map +0 -1
- package/components/radio.js.map +0 -1
- package/components/search-bar.js.map +0 -1
- package/components/segmented-control.js.map +0 -1
- package/components/select.js.map +0 -1
- package/components/sheet.js.map +0 -1
- package/components/sidebar.js.map +0 -1
- package/components/skeleton.js.map +0 -1
- package/components/slider.js.map +0 -1
- package/components/sliding-indicator.js.map +0 -1
- package/components/streaming-text.js.map +0 -1
- package/components/switch.js.map +0 -1
- package/components/table.js.map +0 -1
- package/components/tabs.js.map +0 -1
- package/components/textarea.js.map +0 -1
- package/components/thinking.js.map +0 -1
- package/components/toast.js.map +0 -1
- package/components/toggle.js.map +0 -1
- package/components/tooltip.js.map +0 -1
- package/index.js.map +0 -1
- package/lib/utils.js.map +0 -1
package/components/attachment.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
'use client';export { Attachment, AttachmentGroup, AttachmentPreview, AttachmentPreviewPager, AttachmentPreviewSheets, FileIcon } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
|
|
5
|
-
//# sourceMappingURL=attachment.js.map
|
|
1
|
+
'use client';export { Attachment, AttachmentGroup, AttachmentPreview, AttachmentPreviewPager, AttachmentPreviewSheets, FileIcon } from '../chunk-UUCVRIVP.js';
|
|
2
|
+
import '../chunk-T6L32XXH.js';
|
|
3
|
+
import '../chunk-SSOFFQ5T.js';
|
|
4
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/avatar.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
'use client';export { AVATAR_TOOLTIP_DELAY, Avatar, AvatarGroup, avatarVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
//# sourceMappingURL=avatar.js.map
|
|
6
|
-
//# sourceMappingURL=avatar.js.map
|
|
1
|
+
'use client';export { AVATAR_TOOLTIP_DELAY, Avatar, AvatarGroup, avatarVariants } from '../chunk-BN7FDKCJ.js';
|
|
2
|
+
import '../chunk-GMETYACH.js';
|
|
3
|
+
import '../chunk-57QEOCDZ.js';
|
|
4
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/badge.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
'use client';export { Badge, badgeVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=badge.js.map
|
|
4
|
-
//# sourceMappingURL=badge.js.map
|
|
1
|
+
'use client';export { Badge, badgeVariants } from '../chunk-XUOSJMEJ.js';
|
|
2
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/banner.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
'use client';export { Banner, bannerVariants } from '../chunk-
|
|
2
|
-
export { bannerMesh } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
//# sourceMappingURL=banner.js.map
|
|
6
|
-
//# sourceMappingURL=banner.js.map
|
|
1
|
+
'use client';export { Banner, bannerVariants } from '../chunk-SDOTDMYG.js';
|
|
2
|
+
export { bannerMesh } from '../chunk-YYFAZQ25.js';
|
|
3
|
+
import '../chunk-T6L32XXH.js';
|
|
4
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/bar-chart.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
'use client';export { BarCard, niceMax } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=bar-chart.js.map
|
|
1
|
+
'use client';export { BarCard, niceMax } from '../chunk-ISYKZCPJ.js';
|
|
2
|
+
import '../chunk-ZBZ3ZQRB.js';
|
|
3
|
+
import '../chunk-ZHFIWDGF.js';
|
|
4
|
+
import '../chunk-UCCNXGLG.js';
|
|
5
|
+
import '../chunk-VUOAPWTF.js';
|
|
6
|
+
import '../chunk-BR2B4OIT.js';
|
|
7
|
+
import '../chunk-57QEOCDZ.js';
|
|
8
|
+
import '../chunk-XUOSJMEJ.js';
|
|
9
|
+
import '../chunk-SSOFFQ5T.js';
|
|
10
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/breadcrumb.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
'use client';export { Breadcrumb } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=breadcrumb.js.map
|
|
1
|
+
'use client';export { Breadcrumb } from '../chunk-IKO3GQFE.js';
|
|
2
|
+
import '../chunk-BR2B4OIT.js';
|
|
3
|
+
import '../chunk-57QEOCDZ.js';
|
|
4
|
+
import '../chunk-SSOFFQ5T.js';
|
|
5
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/button.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
'use client';export { Button, buttonVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=button.js.map
|
|
4
|
-
//# sourceMappingURL=button.js.map
|
|
1
|
+
'use client';export { Button, buttonVariants } from '../chunk-T6L32XXH.js';
|
|
2
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/card.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
'use client';export { Card, cardVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
//# sourceMappingURL=card.js.map
|
|
5
|
-
//# sourceMappingURL=card.js.map
|
|
1
|
+
'use client';export { Card, cardVariants } from '../chunk-PHNR6ZQ7.js';
|
|
2
|
+
import '../chunk-T6L32XXH.js';
|
|
3
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
'use client';export { ChannelCard } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=channel-chart.js.map
|
|
1
|
+
'use client';export { ChannelCard } from '../chunk-JCXI7VQL.js';
|
|
2
|
+
import '../chunk-ZBZ3ZQRB.js';
|
|
3
|
+
import '../chunk-ZHFIWDGF.js';
|
|
4
|
+
import '../chunk-UCCNXGLG.js';
|
|
5
|
+
import '../chunk-VUOAPWTF.js';
|
|
6
|
+
import '../chunk-BR2B4OIT.js';
|
|
7
|
+
import '../chunk-57QEOCDZ.js';
|
|
8
|
+
import '../chunk-XUOSJMEJ.js';
|
|
9
|
+
import '../chunk-SSOFFQ5T.js';
|
|
10
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/chart.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
'use client';export { ChartCard, ChartLegendPill, ChartLegendRow, ChartTooltip, defaultFormat } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=chart.js.map
|
|
1
|
+
'use client';export { ChartCard, ChartLegendPill, ChartLegendRow, ChartTooltip, defaultFormat } from '../chunk-ZBZ3ZQRB.js';
|
|
2
|
+
import '../chunk-ZHFIWDGF.js';
|
|
3
|
+
import '../chunk-UCCNXGLG.js';
|
|
4
|
+
import '../chunk-VUOAPWTF.js';
|
|
5
|
+
import '../chunk-BR2B4OIT.js';
|
|
6
|
+
import '../chunk-57QEOCDZ.js';
|
|
7
|
+
import '../chunk-XUOSJMEJ.js';
|
|
8
|
+
import '../chunk-SSOFFQ5T.js';
|
|
9
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/checkbox.js
CHANGED
package/components/chip.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
'use client';export { Chip, ChipAvatar, chipVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=chip.js.map
|
|
4
|
-
//# sourceMappingURL=chip.js.map
|
|
1
|
+
'use client';export { Chip, ChipAvatar, chipVariants } from '../chunk-Z7S2KQZS.js';
|
|
2
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -21,17 +21,19 @@ export interface CitationSource {
|
|
|
21
21
|
/** The passage the answer relies on, shown in the preview. */
|
|
22
22
|
quote?: string;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
/** The numbered chip. Other props, `ref` included, go to its `a` (an `aria-label` passed in replaces the default). */
|
|
25
|
+
export interface CitationProps extends Omit<React.ComponentProps<'a'>, 'children'> {
|
|
25
26
|
/** 1-based, as in the Sources list. */
|
|
26
27
|
index: number;
|
|
27
28
|
source: CitationSource;
|
|
28
29
|
className?: string;
|
|
29
30
|
}
|
|
30
|
-
export declare function Citation({ index, source, className }: CitationProps): React.JSX.Element;
|
|
31
|
-
|
|
31
|
+
export declare function Citation({ index, source, className, 'aria-label': ariaLabel, ...props }: CitationProps): React.JSX.Element;
|
|
32
|
+
/** The sources pill and list. Other props, `ref` included, go to its root `div`. */
|
|
33
|
+
export interface SourcesProps extends Omit<React.ComponentProps<'div'>, 'children'> {
|
|
32
34
|
sources: CitationSource[];
|
|
33
35
|
/** Start with the list open. */
|
|
34
36
|
defaultOpen?: boolean;
|
|
35
37
|
className?: string;
|
|
36
38
|
}
|
|
37
|
-
export declare function Sources({ sources, defaultOpen, className }: SourcesProps): React.JSX.Element;
|
|
39
|
+
export declare function Sources({ sources, defaultOpen, className, ...props }: SourcesProps): React.JSX.Element;
|
package/components/citations.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
'use client';export { Citation, Sources } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
|
|
5
|
-
//# sourceMappingURL=citations.js.map
|
|
1
|
+
'use client';export { Citation, Sources } from '../chunk-EF5GT4OG.js';
|
|
2
|
+
import '../chunk-PD6YPFYN.js';
|
|
3
|
+
import '../chunk-SSOFFQ5T.js';
|
|
4
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/code-block.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
'use client';export { CodeBlock } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
//# sourceMappingURL=code-block.js.map
|
|
5
|
-
//# sourceMappingURL=code-block.js.map
|
|
1
|
+
'use client';export { CodeBlock } from '../chunk-RHQHDYTE.js';
|
|
2
|
+
import '../chunk-T6L32XXH.js';
|
|
3
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/combobox.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
3
|
import { type SelectOption } from './select.js';
|
|
3
4
|
/**
|
|
4
5
|
* Combobox, 1:1 with the uiKit `Combobox` set (4023:3549): Select's field, opening a searchable
|
|
@@ -18,8 +19,11 @@ import { type SelectOption } from './select.js';
|
|
|
18
19
|
*
|
|
19
20
|
* Typing filters by label and description. Arrow keys move the highlight, Enter picks it, the
|
|
20
21
|
* pointer highlights what it is over. The query field is a `combobox` that owns the `listbox`.
|
|
22
|
+
*
|
|
23
|
+
* Other props, `ref` included, go to the trigger button that covers the field (the element its
|
|
24
|
+
* label points at); `className` styles the field around it.
|
|
21
25
|
*/
|
|
22
|
-
export interface ComboboxProps {
|
|
26
|
+
export interface ComboboxProps extends Omit<React.ComponentProps<typeof PopoverPrimitive.Trigger>, 'value' | 'defaultValue' | 'disabled' | 'children' | 'asChild'> {
|
|
23
27
|
options: SelectOption[];
|
|
24
28
|
/** The applied picks. */
|
|
25
29
|
value?: string[];
|
|
@@ -28,12 +32,17 @@ export interface ComboboxProps {
|
|
|
28
32
|
multiple?: boolean;
|
|
29
33
|
/** Cancel and Apply under the list; picks apply only with Apply. */
|
|
30
34
|
footer?: boolean;
|
|
35
|
+
/** Shown while nothing is picked. Defaults to the `select` label ("Select…"). */
|
|
31
36
|
placeholder?: string;
|
|
37
|
+
/** The query field's placeholder and name. Defaults to the `search` label. */
|
|
32
38
|
searchPlaceholder?: string;
|
|
33
|
-
/** Shown when nothing matches the query. */
|
|
39
|
+
/** Shown when nothing matches the query. Defaults to the `noResults` label. */
|
|
34
40
|
emptyText?: React.ReactNode;
|
|
41
|
+
/** Defaults to the `apply` label. */
|
|
35
42
|
applyLabel?: string;
|
|
43
|
+
/** Defaults to the `cancel` label. */
|
|
36
44
|
cancelLabel?: string;
|
|
45
|
+
/** Defaults to the `clear` label. */
|
|
37
46
|
clearLabel?: string;
|
|
38
47
|
label?: React.ReactNode;
|
|
39
48
|
hint?: React.ReactNode;
|
|
@@ -55,4 +64,4 @@ export interface ComboboxProps {
|
|
|
55
64
|
wrapperClassName?: string;
|
|
56
65
|
className?: string;
|
|
57
66
|
}
|
|
58
|
-
export declare function Combobox({ options, value, defaultValue, onValueChange, multiple, footer, placeholder, searchPlaceholder, emptyText, applyLabel, cancelLabel, clearLabel, label, hint, error, size, leadingIcon, disabled, id, open: openProp, defaultOpen, onOpenChange, container, onOpenAutoFocus, onInteractOutside, wrapperClassName, className, ...props }: ComboboxProps): React.JSX.Element;
|
|
67
|
+
export declare function Combobox({ options, value, defaultValue, onValueChange, multiple, footer, placeholder: placeholderProp, searchPlaceholder: searchPlaceholderProp, emptyText: emptyTextProp, applyLabel: applyLabelProp, cancelLabel: cancelLabelProp, clearLabel: clearLabelProp, label, hint, error, size, leadingIcon, disabled, id, open: openProp, defaultOpen, onOpenChange, container, onOpenAutoFocus, onInteractOutside, wrapperClassName, className, 'aria-describedby': describedBy, ...props }: ComboboxProps): React.JSX.Element;
|
package/components/combobox.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
'use client';export { Combobox } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=combobox.js.map
|
|
1
|
+
'use client';export { Combobox } from '../chunk-LB7Z6BSK.js';
|
|
2
|
+
import '../chunk-Z7S2KQZS.js';
|
|
3
|
+
import '../chunk-UCCNXGLG.js';
|
|
4
|
+
import '../chunk-VUOAPWTF.js';
|
|
5
|
+
import '../chunk-BR2B4OIT.js';
|
|
6
|
+
import '../chunk-57QEOCDZ.js';
|
|
7
|
+
import '../chunk-T6L32XXH.js';
|
|
8
|
+
import '../chunk-SSOFFQ5T.js';
|
|
9
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
2
3
|
/**
|
|
3
4
|
* Command menu, 1:1 with the uiKit `Command menu` set (4024:3582): the ⌘K palette. A 520px
|
|
4
5
|
* popover surface (radius-2xl, border/subtle, the shadcn `lg` shadow) with a 48px search row
|
|
@@ -15,6 +16,8 @@ import * as React from 'react';
|
|
|
15
16
|
*
|
|
16
17
|
* Built on the Radix Dialog (focus trap, Escape, focus back to where it was). With `hotkey`,
|
|
17
18
|
* ⌘K or Ctrl+K anywhere on the page toggles it.
|
|
19
|
+
*
|
|
20
|
+
* Other props, `ref` included, go to the menu's panel (the Radix Content).
|
|
18
21
|
*/
|
|
19
22
|
export interface CommandItem {
|
|
20
23
|
id: string;
|
|
@@ -32,13 +35,14 @@ export interface CommandGroup {
|
|
|
32
35
|
label: React.ReactNode;
|
|
33
36
|
items: CommandItem[];
|
|
34
37
|
}
|
|
35
|
-
export interface CommandMenuProps {
|
|
38
|
+
export interface CommandMenuProps extends Omit<React.ComponentProps<typeof DialogPrimitive.Content>, 'children' | 'asChild' | 'placeholder' | 'onOpenAutoFocus'> {
|
|
36
39
|
groups: CommandGroup[];
|
|
37
40
|
open?: boolean;
|
|
38
41
|
defaultOpen?: boolean;
|
|
39
42
|
onOpenChange?: (open: boolean) => void;
|
|
40
43
|
/** Toggle the menu with ⌘K / Ctrl+K. */
|
|
41
44
|
hotkey?: boolean;
|
|
45
|
+
/** The search field's placeholder. Defaults to the `commandPlaceholder` label. */
|
|
42
46
|
placeholder?: string;
|
|
43
47
|
/** Shown when nothing matches; gets the query. */
|
|
44
48
|
emptyText?: (query: string) => React.ReactNode;
|
|
@@ -51,4 +55,4 @@ export interface CommandMenuProps {
|
|
|
51
55
|
onOpenAutoFocus?: (event: Event) => void;
|
|
52
56
|
className?: string;
|
|
53
57
|
}
|
|
54
|
-
export declare function CommandMenu({ groups, open: openProp, defaultOpen, onOpenChange, hotkey, placeholder, emptyText, hints, modal, container, onOpenAutoFocus, className, }: CommandMenuProps): React.JSX.Element;
|
|
58
|
+
export declare function CommandMenu({ groups, open: openProp, defaultOpen, onOpenChange, hotkey, placeholder, emptyText, hints, modal, container, onOpenAutoFocus, className, ...props }: CommandMenuProps): React.JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
'use client';export { CommandMenu } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=command-menu.js.map
|
|
1
|
+
'use client';export { CommandMenu } from '../chunk-UZ4DXU6W.js';
|
|
2
|
+
import '../chunk-BR2B4OIT.js';
|
|
3
|
+
import '../chunk-57QEOCDZ.js';
|
|
4
|
+
import '../chunk-SSOFFQ5T.js';
|
|
5
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -10,8 +10,10 @@ import { type MenuItemContentProps } from './dropdown.js';
|
|
|
10
10
|
*
|
|
11
11
|
* Built on the Radix ContextMenu: arrow keys, typeahead, Escape, Shift+F10 / the menu key on the
|
|
12
12
|
* focused target.
|
|
13
|
+
*
|
|
14
|
+
* Other props, `ref` included, go to the menu's panel (the Radix Content).
|
|
13
15
|
*/
|
|
14
|
-
export interface ContextMenuProps {
|
|
16
|
+
export interface ContextMenuProps extends Omit<React.ComponentProps<typeof ContextPrimitive.Content>, 'children' | 'asChild' | 'onFocusOutside'> {
|
|
15
17
|
/** What right-click opens the menu on. Rendered with `asChild`, so pass one element. */
|
|
16
18
|
trigger: React.ReactNode;
|
|
17
19
|
/** `ContextMenuItem`s, `ContextMenuSub`s and `ContextMenuSeparator`s. */
|
|
@@ -25,21 +27,26 @@ export interface ContextMenuProps {
|
|
|
25
27
|
onFocusOutside?: (event: Event) => void;
|
|
26
28
|
className?: string;
|
|
27
29
|
}
|
|
28
|
-
export declare function ContextMenu({ trigger, children, onOpenChange, container, modal, onFocusOutside, className, }: ContextMenuProps): React.JSX.Element;
|
|
30
|
+
export declare function ContextMenu({ trigger, children, onOpenChange, container, modal, onFocusOutside, className, ...props }: ContextMenuProps): React.JSX.Element;
|
|
29
31
|
export interface ContextMenuItemProps extends Omit<React.ComponentProps<typeof ContextPrimitive.Item>, 'children'>, Pick<MenuItemContentProps, 'icon' | 'shortcut' | 'description'> {
|
|
30
32
|
label: string;
|
|
31
33
|
/** Deletes or removes: action/destructive/fg, and best placed last. */
|
|
32
34
|
destructive?: boolean;
|
|
33
35
|
}
|
|
34
36
|
export declare function ContextMenuItem({ label, icon, shortcut, description, destructive, className, ...props }: ContextMenuItemProps): React.JSX.Element;
|
|
35
|
-
export interface ContextMenuSubProps extends Pick<MenuItemContentProps, 'icon'> {
|
|
37
|
+
export interface ContextMenuSubProps extends Omit<React.ComponentProps<typeof ContextPrimitive.SubContent>, 'children' | 'asChild'>, Pick<MenuItemContentProps, 'icon'> {
|
|
36
38
|
label: string;
|
|
37
39
|
/** The submenu's items. */
|
|
38
40
|
children: React.ReactNode;
|
|
39
41
|
disabled?: boolean;
|
|
40
42
|
}
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
+
/**
|
|
44
|
+
* A row that opens a submenu beside it (hover, →, or Enter).
|
|
45
|
+
*
|
|
46
|
+
* Other props, `ref` and `className` included, go to the submenu's panel (the Radix SubContent),
|
|
47
|
+
* not to the row.
|
|
48
|
+
*/
|
|
49
|
+
export declare function ContextMenuSub({ label, icon, children, disabled, className, ...props }: ContextMenuSubProps): React.JSX.Element;
|
|
43
50
|
/** A 1px bg/muted rule between groups of rows. */
|
|
44
51
|
export declare function ContextMenuSeparator({ className }: {
|
|
45
52
|
className?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
'use client';export { ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuSub } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=context-menu.js.map
|
|
1
|
+
'use client';export { ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuSub } from '../chunk-X66KTATQ.js';
|
|
2
|
+
import '../chunk-BR2B4OIT.js';
|
|
3
|
+
import '../chunk-57QEOCDZ.js';
|
|
4
|
+
import '../chunk-SSOFFQ5T.js';
|
|
5
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
'use client';export { CookieConsent } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
//# sourceMappingURL=cookie-consent.js.map
|
|
5
|
-
//# sourceMappingURL=cookie-consent.js.map
|
|
1
|
+
'use client';export { CookieConsent } from '../chunk-JYOZUQNU.js';
|
|
2
|
+
import '../chunk-T6L32XXH.js';
|
|
3
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -15,6 +15,9 @@ import * as React from 'react';
|
|
|
15
15
|
*
|
|
16
16
|
* Keyboard: the grid is one tab stop; arrows move a day or a week, Page Up / Down a month, Home /
|
|
17
17
|
* End the week, Enter or Space picks.
|
|
18
|
+
*
|
|
19
|
+
* Other props, `ref` included, go to: Calendar's root, DatePicker's and DateRangePicker's trigger
|
|
20
|
+
* button (`className` styles it too), and the panels' surface.
|
|
18
21
|
*/
|
|
19
22
|
export type DateRange = {
|
|
20
23
|
from: Date | null;
|
|
@@ -22,7 +25,7 @@ export type DateRange = {
|
|
|
22
25
|
};
|
|
23
26
|
export declare const formatDate: (d: Date) => string;
|
|
24
27
|
export declare const formatRange: ({ from, to }: DateRange) => string;
|
|
25
|
-
export interface CalendarProps {
|
|
28
|
+
export interface CalendarProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'children'> {
|
|
26
29
|
mode?: 'single' | 'range';
|
|
27
30
|
/** single: the picked day. */
|
|
28
31
|
value?: Date | null;
|
|
@@ -42,11 +45,12 @@ export interface CalendarProps {
|
|
|
42
45
|
today?: Date;
|
|
43
46
|
className?: string;
|
|
44
47
|
}
|
|
45
|
-
export declare function Calendar({ mode, value, onValueChange, range, onRangeChange, month: monthProp, onMonthChange, months, header, min, max, today: todayProp, className, }: CalendarProps): React.JSX.Element;
|
|
48
|
+
export declare function Calendar({ mode, value, onValueChange, range, onRangeChange, month: monthProp, onMonthChange, months, header, min, max, today: todayProp, className, ref, onPointerLeave, ...props }: CalendarProps): React.JSX.Element;
|
|
46
49
|
interface FieldBits {
|
|
47
50
|
label?: React.ReactNode;
|
|
48
51
|
hint?: React.ReactNode;
|
|
49
52
|
error?: React.ReactNode | boolean;
|
|
53
|
+
/** Shown while nothing is picked. Defaults to the `pickDate` / `pickDates` label. */
|
|
50
54
|
placeholder?: string;
|
|
51
55
|
disabled?: boolean;
|
|
52
56
|
id?: string;
|
|
@@ -55,7 +59,7 @@ interface FieldBits {
|
|
|
55
59
|
wrapperClassName?: string;
|
|
56
60
|
className?: string;
|
|
57
61
|
}
|
|
58
|
-
export interface DatePickerPanelProps {
|
|
62
|
+
export interface DatePickerPanelProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'children'> {
|
|
59
63
|
value?: Date | null;
|
|
60
64
|
onValueChange?: (value: Date) => void;
|
|
61
65
|
min?: Date;
|
|
@@ -63,9 +67,10 @@ export interface DatePickerPanelProps {
|
|
|
63
67
|
today?: Date;
|
|
64
68
|
className?: string;
|
|
65
69
|
}
|
|
66
|
-
/** The date picker's panel on its own, in place: the popover surface with the Calendar, month and year to pick. */
|
|
67
|
-
export declare function DatePickerPanel({ value, onValueChange, min, max, today, className }: DatePickerPanelProps): React.JSX.Element;
|
|
68
|
-
|
|
70
|
+
/** The date picker's panel on its own, in place: the popover surface with the Calendar, month and year to pick. Other props, `ref` included, go to the surface. */
|
|
71
|
+
export declare function DatePickerPanel({ value, onValueChange, min, max, today, className, ...props }: DatePickerPanelProps): React.JSX.Element;
|
|
72
|
+
type TriggerAttributes = Omit<React.ComponentProps<'button'>, keyof FieldBits | 'value' | 'defaultValue' | 'type' | 'children'>;
|
|
73
|
+
export interface DatePickerProps extends FieldBits, TriggerAttributes {
|
|
69
74
|
value?: Date | null;
|
|
70
75
|
defaultValue?: Date | null;
|
|
71
76
|
onValueChange?: (value: Date) => void;
|
|
@@ -75,9 +80,12 @@ export interface DatePickerProps extends FieldBits {
|
|
|
75
80
|
/** Portal target. */
|
|
76
81
|
container?: HTMLElement | null;
|
|
77
82
|
}
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
/**
|
|
84
|
+
* A date field: the kit Input's skin with a calendar icon; the Calendar opens 4px below, with month and year to pick.
|
|
85
|
+
* Other props, `ref` included, go to the trigger button.
|
|
86
|
+
*/
|
|
87
|
+
export declare function DatePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, container, wrapperClassName, className, 'aria-describedby': describedBy, ...props }: DatePickerProps): React.JSX.Element;
|
|
88
|
+
export interface DateRangePickerProps extends FieldBits, TriggerAttributes {
|
|
81
89
|
value?: DateRange;
|
|
82
90
|
defaultValue?: DateRange;
|
|
83
91
|
/** Called on Apply. */
|
|
@@ -85,16 +93,18 @@ export interface DateRangePickerProps extends FieldBits {
|
|
|
85
93
|
min?: Date;
|
|
86
94
|
max?: Date;
|
|
87
95
|
today?: Date;
|
|
96
|
+
/** Defaults to the `apply` label. */
|
|
88
97
|
applyLabel?: string;
|
|
98
|
+
/** Defaults to the `cancel` label. */
|
|
89
99
|
cancelLabel?: string;
|
|
90
100
|
container?: HTMLElement | null;
|
|
91
101
|
}
|
|
92
102
|
/**
|
|
93
103
|
* A range field: two months, Cancel and Apply in the footer. Picks wait for Apply. Picking an
|
|
94
|
-
* end before the start swaps them.
|
|
104
|
+
* end before the start swaps them. Other props, `ref` included, go to the trigger button.
|
|
95
105
|
*/
|
|
96
|
-
export declare function DateRangePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, applyLabel, cancelLabel, container, wrapperClassName, className, }: DateRangePickerProps): React.JSX.Element;
|
|
97
|
-
export interface DateRangePickerPanelProps {
|
|
106
|
+
export declare function DateRangePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, applyLabel, cancelLabel, container, wrapperClassName, className, 'aria-describedby': describedBy, ...props }: DateRangePickerProps): React.JSX.Element;
|
|
107
|
+
export interface DateRangePickerPanelProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'children'> {
|
|
98
108
|
/** The range the panel starts from; picks stay in the panel until Apply. */
|
|
99
109
|
value?: DateRange;
|
|
100
110
|
/** Apply. */
|
|
@@ -103,10 +113,12 @@ export interface DateRangePickerPanelProps {
|
|
|
103
113
|
min?: Date;
|
|
104
114
|
max?: Date;
|
|
105
115
|
today?: Date;
|
|
116
|
+
/** Defaults to the `apply` label. */
|
|
106
117
|
applyLabel?: string;
|
|
118
|
+
/** Defaults to the `cancel` label. */
|
|
107
119
|
cancelLabel?: string;
|
|
108
120
|
className?: string;
|
|
109
121
|
}
|
|
110
|
-
/** The range picker's panel on its own, in place: two months, Cancel and Apply. */
|
|
111
|
-
export declare function DateRangePickerPanel({ value, onApply, onCancel, min, max, today, applyLabel, cancelLabel, className, }: DateRangePickerPanelProps): React.JSX.Element;
|
|
122
|
+
/** The range picker's panel on its own, in place: two months, Cancel and Apply. Other props, `ref` included, go to the surface. */
|
|
123
|
+
export declare function DateRangePickerPanel({ value, onApply, onCancel, min, max, today, applyLabel, cancelLabel, className, ...props }: DateRangePickerPanelProps): React.JSX.Element;
|
|
112
124
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
'use client';export { Calendar, DatePicker, DatePickerPanel, DateRangePicker, DateRangePickerPanel, formatDate, formatRange } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=date-picker.js.map
|
|
1
|
+
'use client';export { Calendar, DatePicker, DatePickerPanel, DateRangePicker, DateRangePickerPanel, formatDate, formatRange } from '../chunk-6VKV36OK.js';
|
|
2
|
+
import '../chunk-UCCNXGLG.js';
|
|
3
|
+
import '../chunk-VUOAPWTF.js';
|
|
4
|
+
import '../chunk-BR2B4OIT.js';
|
|
5
|
+
import '../chunk-57QEOCDZ.js';
|
|
6
|
+
import '../chunk-T6L32XXH.js';
|
|
7
|
+
import '../chunk-SSOFFQ5T.js';
|
|
8
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
'use client';export { DecisionCard, DecisionItemPreview } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=decision-card.js.map
|
|
1
|
+
'use client';export { DecisionCard, DecisionItemPreview } from '../chunk-SAYNV7B3.js';
|
|
2
|
+
import '../chunk-XETMIETJ.js';
|
|
3
|
+
import '../chunk-X2GNMNZQ.js';
|
|
4
|
+
import '../chunk-T6L32XXH.js';
|
|
5
|
+
import '../chunk-SSOFFQ5T.js';
|
|
6
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/dialog.d.ts
CHANGED
|
@@ -12,9 +12,11 @@ import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
|
12
12
|
* `role="alertdialog"`, so screen readers announce it as an alert. Pass `container` to portal
|
|
13
13
|
* it into a positioned element (the docs stage) instead of the page; the dialog then centres
|
|
14
14
|
* inside that element rather than the viewport.
|
|
15
|
+
*
|
|
16
|
+
* Other props, `ref` included, go to the dialog's content panel.
|
|
15
17
|
*/
|
|
16
18
|
export type DialogVariant = 'default' | 'destructive';
|
|
17
|
-
export interface DialogProps {
|
|
19
|
+
export interface DialogProps extends Omit<React.ComponentProps<typeof DialogPrimitive.Content>, 'title' | 'children' | 'asChild' | 'onOpenAutoFocus'> {
|
|
18
20
|
open?: boolean;
|
|
19
21
|
defaultOpen?: boolean;
|
|
20
22
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -42,8 +44,9 @@ export interface DialogProps {
|
|
|
42
44
|
className?: string;
|
|
43
45
|
}
|
|
44
46
|
/** The X from Figma's close button (`icon` 16px, 1.25 stroke). */
|
|
47
|
+
/** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
|
|
45
48
|
export declare function CloseIcon(): React.JSX.Element;
|
|
46
|
-
export declare function Dialog({ open, defaultOpen, onOpenChange, trigger, title, description, variant, alert, footer, footerStart, children, closeButton, modal, container, onOpenAutoFocus, className, }: DialogProps): React.JSX.Element;
|
|
49
|
+
export declare function Dialog({ open, defaultOpen, onOpenChange, trigger, title, description, variant, alert, footer, footerStart, children, closeButton, modal, container, onOpenAutoFocus, className, ...props }: DialogProps): React.JSX.Element;
|
|
47
50
|
/** Wrap a footer button in this to make it close the dialog: `<DialogClose asChild><Button…/></DialogClose>`. */
|
|
48
51
|
export declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
52
|
export type DialogAlertIntent = 'info' | 'success' | 'warning' | 'error';
|
package/components/dialog.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
'use client';export { CloseIcon, Dialog, DialogAlert, DialogClose, StatusIcon } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
|
|
5
|
-
//# sourceMappingURL=dialog.js.map
|
|
1
|
+
'use client';export { CloseIcon, Dialog, DialogAlert, DialogClose, StatusIcon } from '../chunk-AIMQNLPY.js';
|
|
2
|
+
import '../chunk-T6L32XXH.js';
|
|
3
|
+
import '../chunk-SSOFFQ5T.js';
|
|
4
|
+
import '../chunk-O46O6LFQ.js';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
'use client';export { DonutCard } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=donut-chart.js.map
|
|
1
|
+
'use client';export { DonutCard } from '../chunk-WLQD5BN2.js';
|
|
2
|
+
import '../chunk-ZBZ3ZQRB.js';
|
|
3
|
+
import '../chunk-ZHFIWDGF.js';
|
|
4
|
+
import '../chunk-UCCNXGLG.js';
|
|
5
|
+
import '../chunk-VUOAPWTF.js';
|
|
6
|
+
import '../chunk-BR2B4OIT.js';
|
|
7
|
+
import '../chunk-57QEOCDZ.js';
|
|
8
|
+
import '../chunk-XUOSJMEJ.js';
|
|
9
|
+
import '../chunk-SSOFFQ5T.js';
|
|
10
|
+
import '../chunk-O46O6LFQ.js';
|
package/components/dot.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
'use client';export { Dot, dotVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=dot.js.map
|
|
4
|
-
//# sourceMappingURL=dot.js.map
|
|
1
|
+
'use client';export { Dot, dotVariants } from '../chunk-5XTUFBZI.js';
|
|
2
|
+
import '../chunk-O46O6LFQ.js';
|