@arbidocs/blocks 0.4.140 → 0.4.142
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/agents/index.cjs +264 -263
- package/dist/agents/index.js +7 -6
- package/dist/calls/index.cjs +3 -3
- package/dist/calls/index.js +2 -2
- package/dist/{chunk-5Y3SAJUK.cjs → chunk-7NDW4KF4.cjs} +4 -4
- package/dist/{chunk-5Y3SAJUK.cjs.map → chunk-7NDW4KF4.cjs.map} +1 -1
- package/dist/chunk-AHDJXIUB.cjs +25 -0
- package/dist/chunk-AHDJXIUB.cjs.map +1 -0
- package/dist/{chunk-DAIHYDK6.cjs → chunk-DPGFEMVT.cjs} +11 -26
- package/dist/chunk-DPGFEMVT.cjs.map +1 -0
- package/dist/{chunk-ZAVEMQ37.cjs → chunk-DWZXSPMB.cjs} +3 -3
- package/dist/{chunk-ZAVEMQ37.cjs.map → chunk-DWZXSPMB.cjs.map} +1 -1
- package/dist/{chunk-ZNTHEXNJ.js → chunk-ETXYVO6E.js} +4 -4
- package/dist/{chunk-ZNTHEXNJ.js.map → chunk-ETXYVO6E.js.map} +1 -1
- package/dist/{chunk-5HFPRI3W.js → chunk-FUTMU4FR.js} +3 -3
- package/dist/{chunk-5HFPRI3W.js.map → chunk-FUTMU4FR.js.map} +1 -1
- package/dist/{chunk-BPUZEYSP.js → chunk-FXG7TFAG.js} +3 -3
- package/dist/{chunk-BPUZEYSP.js.map → chunk-FXG7TFAG.js.map} +1 -1
- package/dist/{chunk-YLUEQSMK.cjs → chunk-GBS6QVGS.cjs} +5 -5
- package/dist/{chunk-YLUEQSMK.cjs.map → chunk-GBS6QVGS.cjs.map} +1 -1
- package/dist/{chunk-SU7QY7U2.cjs → chunk-HIJUXAWS.cjs} +34 -33
- package/dist/chunk-HIJUXAWS.cjs.map +1 -0
- package/dist/{chunk-O6W6RW3B.js → chunk-I7WG3JRD.js} +206 -53
- package/dist/chunk-I7WG3JRD.js.map +1 -0
- package/dist/{chunk-RYEJ6AA5.js → chunk-N5X37J3D.js} +8 -7
- package/dist/chunk-N5X37J3D.js.map +1 -0
- package/dist/{chunk-OCDDWDH2.js → chunk-ON3TKY5Y.js} +3 -3
- package/dist/{chunk-OCDDWDH2.js.map → chunk-ON3TKY5Y.js.map} +1 -1
- package/dist/{chunk-DJM7DLCT.cjs → chunk-OPTBQSCV.cjs} +3 -3
- package/dist/{chunk-DJM7DLCT.cjs.map → chunk-OPTBQSCV.cjs.map} +1 -1
- package/dist/{chunk-IBIUPT23.js → chunk-PROK33G6.js} +8 -22
- package/dist/chunk-PROK33G6.js.map +1 -0
- package/dist/{chunk-UMG5S6H5.cjs → chunk-QIMVTGKS.cjs} +3 -3
- package/dist/{chunk-UMG5S6H5.cjs.map → chunk-QIMVTGKS.cjs.map} +1 -1
- package/dist/chunk-RLWIUUQ5.js +23 -0
- package/dist/chunk-RLWIUUQ5.js.map +1 -0
- package/dist/{chunk-ECERC6TI.js → chunk-VHJHY7TT.js} +3 -3
- package/dist/{chunk-ECERC6TI.js.map → chunk-VHJHY7TT.js.map} +1 -1
- package/dist/{chunk-GFRQG36Y.cjs → chunk-YFY3TQ6Q.cjs} +208 -52
- package/dist/chunk-YFY3TQ6Q.cjs.map +1 -0
- package/dist/collaboration/index.cjs +42 -42
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +5 -5
- package/dist/connect/index.cjs +92 -91
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +15 -14
- package/dist/connect/index.js.map +1 -1
- package/dist/facts/index.cjs +2 -2
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +3 -3
- package/dist/home/index.cjs +2 -2
- package/dist/home/index.js +2 -2
- package/dist/index.cjs +585 -572
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -18
- package/dist/index.js.map +1 -1
- package/dist/lib/sidebar-mode.d.ts +1 -3
- package/dist/lib/use-close-on-escape.d.ts +6 -0
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +40 -40
- package/dist/settings/index.js +5 -5
- package/dist/shell/ShellSidebar.d.ts +37 -0
- package/dist/shell/Sidebar.d.ts +6 -6
- package/dist/shell/index.cjs +55 -42
- package/dist/shell/index.d.ts +4 -1
- package/dist/shell/index.js +5 -4
- package/dist/shell/types.d.ts +18 -0
- package/dist/shell/use-sidebar-controller.d.ts +59 -0
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +3 -3
- package/dist/studio/index.js +3 -3
- package/dist/workflow-canvas/index.cjs +20 -19
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +7 -6
- package/dist/workflow-canvas/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-DAIHYDK6.cjs.map +0 -1
- package/dist/chunk-GFRQG36Y.cjs.map +0 -1
- package/dist/chunk-IBIUPT23.js.map +0 -1
- package/dist/chunk-O6W6RW3B.js.map +0 -1
- package/dist/chunk-RYEJ6AA5.js.map +0 -1
- package/dist/chunk-SU7QY7U2.cjs.map +0 -1
package/dist/settings/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkQIMVTGKS_cjs = require('../chunk-QIMVTGKS.cjs');
|
|
5
5
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
6
6
|
var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
|
|
7
|
-
require('../chunk-ADOKTJHV.cjs');
|
|
8
7
|
var chunkMIDXCYZB_cjs = require('../chunk-MIDXCYZB.cjs');
|
|
9
8
|
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
10
|
-
|
|
9
|
+
require('../chunk-ADOKTJHV.cjs');
|
|
10
|
+
var chunkDWZXSPMB_cjs = require('../chunk-DWZXSPMB.cjs');
|
|
11
11
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
12
|
-
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
13
12
|
var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
14
13
|
require('../chunk-PPCATBOY.cjs');
|
|
15
14
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
15
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
16
16
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
17
17
|
require('../chunk-DES3K4SD.cjs');
|
|
18
18
|
var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
|
|
@@ -3665,139 +3665,139 @@ function ErrorDialogView({
|
|
|
3665
3665
|
|
|
3666
3666
|
Object.defineProperty(exports, "ActiveSessionsDialog", {
|
|
3667
3667
|
enumerable: true,
|
|
3668
|
-
get: function () { return
|
|
3668
|
+
get: function () { return chunkQIMVTGKS_cjs.ActiveSessionsDialog; }
|
|
3669
3669
|
});
|
|
3670
3670
|
Object.defineProperty(exports, "AvatarPicker", {
|
|
3671
3671
|
enumerable: true,
|
|
3672
|
-
get: function () { return
|
|
3672
|
+
get: function () { return chunkQIMVTGKS_cjs.AvatarPicker; }
|
|
3673
3673
|
});
|
|
3674
3674
|
Object.defineProperty(exports, "DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS", {
|
|
3675
3675
|
enumerable: true,
|
|
3676
|
-
get: function () { return
|
|
3676
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
|
|
3677
3677
|
});
|
|
3678
3678
|
Object.defineProperty(exports, "DEFAULT_AVATAR_PICKER_LABELS", {
|
|
3679
3679
|
enumerable: true,
|
|
3680
|
-
get: function () { return
|
|
3680
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
|
|
3681
3681
|
});
|
|
3682
3682
|
Object.defineProperty(exports, "DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS", {
|
|
3683
3683
|
enumerable: true,
|
|
3684
|
-
get: function () { return
|
|
3684
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
|
|
3685
3685
|
});
|
|
3686
3686
|
Object.defineProperty(exports, "DEFAULT_IDENTITY_VERIFICATION_LABELS", {
|
|
3687
3687
|
enumerable: true,
|
|
3688
|
-
get: function () { return
|
|
3688
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
|
|
3689
3689
|
});
|
|
3690
3690
|
Object.defineProperty(exports, "DEFAULT_LOGOUT_DIALOG_LABELS", {
|
|
3691
3691
|
enumerable: true,
|
|
3692
|
-
get: function () { return
|
|
3692
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
|
|
3693
3693
|
});
|
|
3694
3694
|
Object.defineProperty(exports, "DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS", {
|
|
3695
3695
|
enumerable: true,
|
|
3696
|
-
get: function () { return
|
|
3696
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
|
|
3697
3697
|
});
|
|
3698
3698
|
Object.defineProperty(exports, "DEFAULT_PROFILE_CARD_LABELS", {
|
|
3699
3699
|
enumerable: true,
|
|
3700
|
-
get: function () { return
|
|
3700
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_PROFILE_CARD_LABELS; }
|
|
3701
3701
|
});
|
|
3702
3702
|
Object.defineProperty(exports, "DEFAULT_SETTINGS_DANGER_ZONE_LABELS", {
|
|
3703
3703
|
enumerable: true,
|
|
3704
|
-
get: function () { return
|
|
3704
|
+
get: function () { return chunkQIMVTGKS_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
|
|
3705
3705
|
});
|
|
3706
3706
|
Object.defineProperty(exports, "DeleteAccountDialog", {
|
|
3707
3707
|
enumerable: true,
|
|
3708
|
-
get: function () { return
|
|
3708
|
+
get: function () { return chunkQIMVTGKS_cjs.DeleteAccountDialog; }
|
|
3709
3709
|
});
|
|
3710
3710
|
Object.defineProperty(exports, "DraggableHeader", {
|
|
3711
3711
|
enumerable: true,
|
|
3712
|
-
get: function () { return
|
|
3712
|
+
get: function () { return chunkQIMVTGKS_cjs.DraggableHeader; }
|
|
3713
3713
|
});
|
|
3714
3714
|
Object.defineProperty(exports, "EMAIL_NOTIFICATION_CATEGORIES", {
|
|
3715
3715
|
enumerable: true,
|
|
3716
|
-
get: function () { return
|
|
3716
|
+
get: function () { return chunkQIMVTGKS_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
|
|
3717
3717
|
});
|
|
3718
3718
|
Object.defineProperty(exports, "EMAIL_NOTIFICATION_KEYS", {
|
|
3719
3719
|
enumerable: true,
|
|
3720
|
-
get: function () { return
|
|
3720
|
+
get: function () { return chunkQIMVTGKS_cjs.EMAIL_NOTIFICATION_KEYS; }
|
|
3721
3721
|
});
|
|
3722
3722
|
Object.defineProperty(exports, "IdentityVerificationCard", {
|
|
3723
3723
|
enumerable: true,
|
|
3724
|
-
get: function () { return
|
|
3724
|
+
get: function () { return chunkQIMVTGKS_cjs.IdentityVerificationCard; }
|
|
3725
3725
|
});
|
|
3726
3726
|
Object.defineProperty(exports, "IdentityVerificationDialog", {
|
|
3727
3727
|
enumerable: true,
|
|
3728
|
-
get: function () { return
|
|
3728
|
+
get: function () { return chunkQIMVTGKS_cjs.IdentityVerificationDialog; }
|
|
3729
3729
|
});
|
|
3730
3730
|
Object.defineProperty(exports, "LogoutDialog", {
|
|
3731
3731
|
enumerable: true,
|
|
3732
|
-
get: function () { return
|
|
3732
|
+
get: function () { return chunkQIMVTGKS_cjs.LogoutDialog; }
|
|
3733
3733
|
});
|
|
3734
3734
|
Object.defineProperty(exports, "NotificationCategoryList", {
|
|
3735
3735
|
enumerable: true,
|
|
3736
|
-
get: function () { return
|
|
3736
|
+
get: function () { return chunkQIMVTGKS_cjs.NotificationCategoryList; }
|
|
3737
3737
|
});
|
|
3738
3738
|
Object.defineProperty(exports, "PasswordChangeDialog", {
|
|
3739
3739
|
enumerable: true,
|
|
3740
|
-
get: function () { return
|
|
3740
|
+
get: function () { return chunkQIMVTGKS_cjs.PasswordChangeDialog; }
|
|
3741
3741
|
});
|
|
3742
3742
|
Object.defineProperty(exports, "ProfileCard", {
|
|
3743
3743
|
enumerable: true,
|
|
3744
|
-
get: function () { return
|
|
3744
|
+
get: function () { return chunkQIMVTGKS_cjs.ProfileCard; }
|
|
3745
3745
|
});
|
|
3746
3746
|
Object.defineProperty(exports, "RequireVerified", {
|
|
3747
3747
|
enumerable: true,
|
|
3748
|
-
get: function () { return
|
|
3748
|
+
get: function () { return chunkQIMVTGKS_cjs.RequireVerified; }
|
|
3749
3749
|
});
|
|
3750
3750
|
Object.defineProperty(exports, "SettingsActionRow", {
|
|
3751
3751
|
enumerable: true,
|
|
3752
|
-
get: function () { return
|
|
3752
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsActionRow; }
|
|
3753
3753
|
});
|
|
3754
3754
|
Object.defineProperty(exports, "SettingsCard", {
|
|
3755
3755
|
enumerable: true,
|
|
3756
|
-
get: function () { return
|
|
3756
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsCard; }
|
|
3757
3757
|
});
|
|
3758
3758
|
Object.defineProperty(exports, "SettingsDangerZone", {
|
|
3759
3759
|
enumerable: true,
|
|
3760
|
-
get: function () { return
|
|
3760
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsDangerZone; }
|
|
3761
3761
|
});
|
|
3762
3762
|
Object.defineProperty(exports, "SettingsPanel", {
|
|
3763
3763
|
enumerable: true,
|
|
3764
|
-
get: function () { return
|
|
3764
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsPanel; }
|
|
3765
3765
|
});
|
|
3766
3766
|
Object.defineProperty(exports, "SettingsRow", {
|
|
3767
3767
|
enumerable: true,
|
|
3768
|
-
get: function () { return
|
|
3768
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsRow; }
|
|
3769
3769
|
});
|
|
3770
3770
|
Object.defineProperty(exports, "SettingsSection", {
|
|
3771
3771
|
enumerable: true,
|
|
3772
|
-
get: function () { return
|
|
3772
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsSection; }
|
|
3773
3773
|
});
|
|
3774
3774
|
Object.defineProperty(exports, "SettingsSwitchGroup", {
|
|
3775
3775
|
enumerable: true,
|
|
3776
|
-
get: function () { return
|
|
3776
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsSwitchGroup; }
|
|
3777
3777
|
});
|
|
3778
3778
|
Object.defineProperty(exports, "SettingsSwitchRow", {
|
|
3779
3779
|
enumerable: true,
|
|
3780
|
-
get: function () { return
|
|
3780
|
+
get: function () { return chunkQIMVTGKS_cjs.SettingsSwitchRow; }
|
|
3781
3781
|
});
|
|
3782
3782
|
Object.defineProperty(exports, "formatSessionTtl", {
|
|
3783
3783
|
enumerable: true,
|
|
3784
|
-
get: function () { return
|
|
3784
|
+
get: function () { return chunkQIMVTGKS_cjs.formatSessionTtl; }
|
|
3785
3785
|
});
|
|
3786
3786
|
Object.defineProperty(exports, "toActiveSessionViews", {
|
|
3787
3787
|
enumerable: true,
|
|
3788
|
-
get: function () { return
|
|
3788
|
+
get: function () { return chunkQIMVTGKS_cjs.toActiveSessionViews; }
|
|
3789
3789
|
});
|
|
3790
3790
|
Object.defineProperty(exports, "toDeleteBlockerViews", {
|
|
3791
3791
|
enumerable: true,
|
|
3792
|
-
get: function () { return
|
|
3792
|
+
get: function () { return chunkQIMVTGKS_cjs.toDeleteBlockerViews; }
|
|
3793
3793
|
});
|
|
3794
3794
|
Object.defineProperty(exports, "toLogoutSessionViews", {
|
|
3795
3795
|
enumerable: true,
|
|
3796
|
-
get: function () { return
|
|
3796
|
+
get: function () { return chunkQIMVTGKS_cjs.toLogoutSessionViews; }
|
|
3797
3797
|
});
|
|
3798
3798
|
Object.defineProperty(exports, "toNotificationCategories", {
|
|
3799
3799
|
enumerable: true,
|
|
3800
|
-
get: function () { return
|
|
3800
|
+
get: function () { return chunkQIMVTGKS_cjs.toNotificationCategories; }
|
|
3801
3801
|
});
|
|
3802
3802
|
Object.defineProperty(exports, "ModalBreadcrumbHeader", {
|
|
3803
3803
|
enumerable: true,
|
|
@@ -3829,11 +3829,11 @@ Object.defineProperty(exports, "TriStateFilterMenu", {
|
|
|
3829
3829
|
});
|
|
3830
3830
|
Object.defineProperty(exports, "ConfirmDialog", {
|
|
3831
3831
|
enumerable: true,
|
|
3832
|
-
get: function () { return
|
|
3832
|
+
get: function () { return chunkDWZXSPMB_cjs.ConfirmDialog; }
|
|
3833
3833
|
});
|
|
3834
3834
|
Object.defineProperty(exports, "DEFAULT_CONFIRM_DIALOG_LABELS", {
|
|
3835
3835
|
enumerable: true,
|
|
3836
|
-
get: function () { return
|
|
3836
|
+
get: function () { return chunkDWZXSPMB_cjs.DEFAULT_CONFIRM_DIALOG_LABELS; }
|
|
3837
3837
|
});
|
|
3838
3838
|
Object.defineProperty(exports, "MODAL_SECTION_TITLE_CLASS", {
|
|
3839
3839
|
enumerable: true,
|
package/dist/settings/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, DraggableHeader, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-
|
|
2
|
+
export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, DraggableHeader, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-ON3TKY5Y.js';
|
|
3
3
|
export { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
|
|
4
4
|
import { UsageMeter } from '../chunk-66TA5IBN.js';
|
|
5
|
-
import '../chunk-VILAPTCB.js';
|
|
6
5
|
export { DEFAULT_DOCUMENT_PICKER_LABELS, DEFAULT_TRI_STATE_FILTER_MENU_LABELS, DocumentPicker, MultiSelect, TriStateFilterMenu } from '../chunk-CKCBBYTA.js';
|
|
7
6
|
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
8
|
-
|
|
7
|
+
import '../chunk-VILAPTCB.js';
|
|
8
|
+
export { ConfirmDialog, DEFAULT_CONFIRM_DIALOG_LABELS } from '../chunk-VHJHY7TT.js';
|
|
9
9
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
10
|
-
import { ModalSection, ModalSectionTitle, ModalHeader, ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
11
|
-
export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
12
10
|
import { TONE_BORDER, TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
|
|
13
11
|
import '../chunk-NPLYHR2E.js';
|
|
14
12
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
13
|
+
import { ModalSection, ModalSectionTitle, ModalHeader, ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
14
|
+
export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
15
15
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
16
16
|
import '../chunk-VUNV25KB.js';
|
|
17
17
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type SidebarRootProps } from './Sidebar';
|
|
3
|
+
import type { SidebarController } from './use-sidebar-controller';
|
|
4
|
+
import type { NavItem, NavSection } from './types';
|
|
5
|
+
export interface ShellSidebarProps extends Pick<SidebarRootProps, 'className' | 'aria-label' | 'labels' | 'backdropTestId'> {
|
|
6
|
+
/** From `useSidebarController`: layout, hover/pin/drawer behaviour. */
|
|
7
|
+
controller: SidebarController;
|
|
8
|
+
/** Brand mark of the phone drawer's header (logo + close). Omit for no drawer header. */
|
|
9
|
+
drawerLogo?: ReactNode;
|
|
10
|
+
/** `data-testid` of the drawer's close button. */
|
|
11
|
+
drawerCloseTestId?: string;
|
|
12
|
+
/** Top block (workspace switcher, ask field, pin toggle). Read `controller.expanded` for the rail. */
|
|
13
|
+
header?: ReactNode;
|
|
14
|
+
/** Rows as data. */
|
|
15
|
+
items?: NavItem[];
|
|
16
|
+
/** Labelled groups of rows as data, after `items`. */
|
|
17
|
+
sections?: NavSection[];
|
|
18
|
+
navClassName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Width-bound cards at the top of the footer (smart tips, notices): shown only once the panel
|
|
21
|
+
* has settled open, and gone the instant it starts to close.
|
|
22
|
+
*/
|
|
23
|
+
tips?: ReactNode;
|
|
24
|
+
/** The rest of the footer (status rows, account rows). */
|
|
25
|
+
footer?: ReactNode;
|
|
26
|
+
/** Root `data-testid` (default `sidebar`). */
|
|
27
|
+
'data-testid'?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The whole sidebar from a controller and data: `Sidebar.Root` in the resolved mode, the phone
|
|
31
|
+
* drawer header, the header slot, the nav rows/groups and the footer. Renders nothing while the
|
|
32
|
+
* layout is hidden (a phone with the drawer closed), so no clipped rows carry duplicate test ids.
|
|
33
|
+
*
|
|
34
|
+
* const sidebar = useSidebarController({ isPinned, onPinnedChange: setPinned })
|
|
35
|
+
* <ShellSidebar controller={sidebar} header={…} items={nav} footer={…} />
|
|
36
|
+
*/
|
|
37
|
+
export declare function ShellSidebar({ controller, drawerLogo, drawerCloseTestId, header, items, sections, navClassName, tips, footer, ...rootProps }: ShellSidebarProps): import("react").JSX.Element | null;
|
package/dist/shell/Sidebar.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { DEFAULT_SIDEBAR_LABELS, SidebarRowHoverContext, useSidebarContext, type SidebarLabels } from './sidebar-context';
|
|
3
3
|
import type { SidebarMode } from '../lib/sidebar-mode';
|
|
4
|
-
import type { NavItem } from './types';
|
|
4
|
+
import type { NavItem, NavSection } from './types';
|
|
5
5
|
export interface SidebarRootProps {
|
|
6
6
|
mode: SidebarMode;
|
|
7
7
|
/** Labels visible. Provided to every part through context. */
|
|
8
8
|
expanded: boolean;
|
|
9
9
|
/** `rail` mode: floats open to full width. */
|
|
10
10
|
isHovering?: boolean;
|
|
11
|
-
/** `collapsed` mode: revealed (peek) at full width. */
|
|
12
|
-
isPeeking?: boolean;
|
|
13
11
|
onBackdropClick?: () => void;
|
|
14
12
|
/** `rail` mode on touch: the floated-open rail dims the content behind it; tapping it closes. */
|
|
15
13
|
hasRailBackdrop?: boolean;
|
|
@@ -24,7 +22,7 @@ export interface SidebarRootProps {
|
|
|
24
22
|
/** Drawer backdrop id (default `sidebar-backdrop`). */
|
|
25
23
|
backdropTestId?: string;
|
|
26
24
|
}
|
|
27
|
-
declare function SidebarRoot({ mode, expanded, isHovering,
|
|
25
|
+
declare function SidebarRoot({ mode, expanded, isHovering, onBackdropClick, hasRailBackdrop, onMouseEnter, onMouseLeave, children, className, 'aria-label': ariaLabelProp, labels, 'data-testid': testId, backdropTestId, }: SidebarRootProps): import("react").JSX.Element;
|
|
28
26
|
export interface SidebarSectionProps {
|
|
29
27
|
children: ReactNode;
|
|
30
28
|
className?: string;
|
|
@@ -35,8 +33,10 @@ export interface SidebarNavProps extends Omit<SidebarSectionProps, 'children'> {
|
|
|
35
33
|
children?: ReactNode;
|
|
36
34
|
/** Rows as data. Children render after them. */
|
|
37
35
|
items?: NavItem[];
|
|
36
|
+
/** Labelled groups of rows as data (each a `Sidebar.Group`), after `items`. */
|
|
37
|
+
sections?: NavSection[];
|
|
38
38
|
}
|
|
39
|
-
declare function SidebarNav({ items, children, className, 'data-testid': testId }: SidebarNavProps): import("react").JSX.Element;
|
|
39
|
+
declare function SidebarNav({ items, sections, children, className, 'data-testid': testId, }: SidebarNavProps): import("react").JSX.Element;
|
|
40
40
|
export interface SidebarGroupProps extends SidebarSectionProps {
|
|
41
41
|
/** Group heading. Shown above the rows when expanded; a thin divider stands in on the rail. */
|
|
42
42
|
label?: ReactNode;
|
|
@@ -64,7 +64,7 @@ export type SidebarNavItemProps = Omit<NavItem, 'id'> & {
|
|
|
64
64
|
* The expanded row is a div with role="button" (not a native <button>) so an interactive
|
|
65
65
|
* `trailing` control can be nested without producing button-in-button markup.
|
|
66
66
|
*/
|
|
67
|
-
declare function SidebarNavItem({ label, icon, active, onSelect, href, count, countIcon, testId, disabled, trailing, className, tooltip, }: SidebarNavItemProps): import("react").JSX.Element;
|
|
67
|
+
declare function SidebarNavItem({ label, icon, active, onSelect, href, count, countIcon, testId, disabled, trailing, indicator, className, tooltip, }: SidebarNavItemProps): import("react").JSX.Element;
|
|
68
68
|
export interface SidebarPinToggleProps {
|
|
69
69
|
isPinned: boolean;
|
|
70
70
|
onToggle: () => void;
|
package/dist/shell/index.cjs
CHANGED
|
@@ -1,173 +1,186 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkYFY3TQ6Q_cjs = require('../chunk-YFY3TQ6Q.cjs');
|
|
5
5
|
var chunkV46W7YLI_cjs = require('../chunk-V46W7YLI.cjs');
|
|
6
|
-
|
|
6
|
+
require('../chunk-AHDJXIUB.cjs');
|
|
7
7
|
require('../chunk-R26BK7YL.cjs');
|
|
8
|
+
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
8
9
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
9
|
-
require('../chunk-C4WSHRR6.cjs');
|
|
10
|
-
require('../chunk-ULWRNGGE.cjs');
|
|
11
10
|
var chunk5UHAWSEX_cjs = require('../chunk-5UHAWSEX.cjs');
|
|
12
11
|
var chunkB6MVQCXW_cjs = require('../chunk-B6MVQCXW.cjs');
|
|
13
12
|
var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
14
13
|
require('../chunk-PPCATBOY.cjs');
|
|
15
14
|
require('../chunk-MHVNT4J3.cjs');
|
|
15
|
+
require('../chunk-C4WSHRR6.cjs');
|
|
16
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
16
17
|
require('../chunk-DES3K4SD.cjs');
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
Object.defineProperty(exports, "ActionCluster", {
|
|
21
22
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkYFY3TQ6Q_cjs.ActionCluster; }
|
|
23
24
|
});
|
|
24
25
|
Object.defineProperty(exports, "AskField", {
|
|
25
26
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkYFY3TQ6Q_cjs.AskField; }
|
|
27
28
|
});
|
|
28
29
|
Object.defineProperty(exports, "AskRow", {
|
|
29
30
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkYFY3TQ6Q_cjs.AskRow; }
|
|
31
32
|
});
|
|
32
33
|
Object.defineProperty(exports, "AskTrigger", {
|
|
33
34
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkYFY3TQ6Q_cjs.AskTrigger; }
|
|
35
36
|
});
|
|
36
37
|
Object.defineProperty(exports, "DEFAULT_ASK_FIELD_LABELS", {
|
|
37
38
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_ASK_FIELD_LABELS; }
|
|
39
40
|
});
|
|
40
41
|
Object.defineProperty(exports, "DEFAULT_INSTALL_PROMPT_LABELS", {
|
|
41
42
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
|
|
43
44
|
});
|
|
44
45
|
Object.defineProperty(exports, "DEFAULT_MOBILE_BARS_LABELS", {
|
|
45
46
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_MOBILE_BARS_LABELS; }
|
|
47
48
|
});
|
|
48
49
|
Object.defineProperty(exports, "DEFAULT_OFFLINE_PILL_LABELS", {
|
|
49
50
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
|
|
51
52
|
});
|
|
52
53
|
Object.defineProperty(exports, "DEFAULT_REMOTE_CONTROL_PILL_LABELS", {
|
|
53
54
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
|
|
55
56
|
});
|
|
56
57
|
Object.defineProperty(exports, "DEFAULT_SIDEBAR_LABELS", {
|
|
57
58
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_SIDEBAR_LABELS; }
|
|
59
60
|
});
|
|
60
61
|
Object.defineProperty(exports, "DEFAULT_TIP_CARD_LABELS", {
|
|
61
62
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkYFY3TQ6Q_cjs.DEFAULT_TIP_CARD_LABELS; }
|
|
63
64
|
});
|
|
64
65
|
Object.defineProperty(exports, "INSTALL_PROMPT_DISMISSED_KEY", {
|
|
65
66
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkYFY3TQ6Q_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
|
|
67
68
|
});
|
|
68
69
|
Object.defineProperty(exports, "InfoBar", {
|
|
69
70
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkYFY3TQ6Q_cjs.InfoBar; }
|
|
71
72
|
});
|
|
72
73
|
Object.defineProperty(exports, "InstallPrompt", {
|
|
73
74
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkYFY3TQ6Q_cjs.InstallPrompt; }
|
|
75
76
|
});
|
|
76
77
|
Object.defineProperty(exports, "MobileAppBar", {
|
|
77
78
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkYFY3TQ6Q_cjs.MobileAppBar; }
|
|
79
80
|
});
|
|
80
81
|
Object.defineProperty(exports, "MobileTabBar", {
|
|
81
82
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkYFY3TQ6Q_cjs.MobileTabBar; }
|
|
83
84
|
});
|
|
84
85
|
Object.defineProperty(exports, "NotificationBell", {
|
|
85
86
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkYFY3TQ6Q_cjs.NotificationBell; }
|
|
87
88
|
});
|
|
88
89
|
Object.defineProperty(exports, "OfflinePill", {
|
|
89
90
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkYFY3TQ6Q_cjs.OfflinePill; }
|
|
91
92
|
});
|
|
92
93
|
Object.defineProperty(exports, "RemoteControlPill", {
|
|
93
94
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkYFY3TQ6Q_cjs.RemoteControlPill; }
|
|
95
96
|
});
|
|
96
97
|
Object.defineProperty(exports, "STATUS_ROW_BASE_CLASS", {
|
|
97
98
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkYFY3TQ6Q_cjs.STATUS_ROW_BASE_CLASS; }
|
|
99
100
|
});
|
|
100
101
|
Object.defineProperty(exports, "STATUS_ROW_TONES", {
|
|
101
102
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkYFY3TQ6Q_cjs.STATUS_ROW_TONES; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "ShellSidebar", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkYFY3TQ6Q_cjs.ShellSidebar; }
|
|
103
108
|
});
|
|
104
109
|
Object.defineProperty(exports, "Sidebar", {
|
|
105
110
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkYFY3TQ6Q_cjs.Sidebar; }
|
|
107
112
|
});
|
|
108
113
|
Object.defineProperty(exports, "SidebarBadgeRow", {
|
|
109
114
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkYFY3TQ6Q_cjs.SidebarBadgeRow; }
|
|
111
116
|
});
|
|
112
117
|
Object.defineProperty(exports, "SidebarRowAction", {
|
|
113
118
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkYFY3TQ6Q_cjs.SidebarRowAction; }
|
|
115
120
|
});
|
|
116
121
|
Object.defineProperty(exports, "SidebarRowHoverContext", {
|
|
117
122
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkYFY3TQ6Q_cjs.SidebarRowHoverContext; }
|
|
119
124
|
});
|
|
120
125
|
Object.defineProperty(exports, "SplitLayout", {
|
|
121
126
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkYFY3TQ6Q_cjs.SplitLayout; }
|
|
123
128
|
});
|
|
124
129
|
Object.defineProperty(exports, "StatusBadge", {
|
|
125
130
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkYFY3TQ6Q_cjs.StatusBadge; }
|
|
127
132
|
});
|
|
128
133
|
Object.defineProperty(exports, "StatusRow", {
|
|
129
134
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkYFY3TQ6Q_cjs.StatusRow; }
|
|
131
136
|
});
|
|
132
137
|
Object.defineProperty(exports, "TipCard", {
|
|
133
138
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkYFY3TQ6Q_cjs.TipCard; }
|
|
135
140
|
});
|
|
136
141
|
Object.defineProperty(exports, "UserMenu", {
|
|
137
142
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkYFY3TQ6Q_cjs.UserMenu; }
|
|
139
144
|
});
|
|
140
145
|
Object.defineProperty(exports, "getInstallInstructions", {
|
|
141
146
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkYFY3TQ6Q_cjs.getInstallInstructions; }
|
|
143
148
|
});
|
|
144
149
|
Object.defineProperty(exports, "initInstallPrompt", {
|
|
145
150
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkYFY3TQ6Q_cjs.initInstallPrompt; }
|
|
147
152
|
});
|
|
148
153
|
Object.defineProperty(exports, "isIosDevice", {
|
|
149
154
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkYFY3TQ6Q_cjs.isIosDevice; }
|
|
151
156
|
});
|
|
152
157
|
Object.defineProperty(exports, "promptAppInstall", {
|
|
153
158
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkYFY3TQ6Q_cjs.promptAppInstall; }
|
|
155
160
|
});
|
|
156
161
|
Object.defineProperty(exports, "resolveSidebarLayout", {
|
|
157
162
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkYFY3TQ6Q_cjs.resolveSidebarLayout; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "useCloseOnEscape", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunkYFY3TQ6Q_cjs.useCloseOnEscape; }
|
|
159
168
|
});
|
|
160
169
|
Object.defineProperty(exports, "useInstallPrompt", {
|
|
161
170
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkYFY3TQ6Q_cjs.useInstallPrompt; }
|
|
163
172
|
});
|
|
164
173
|
Object.defineProperty(exports, "useSidebarContext", {
|
|
165
174
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkYFY3TQ6Q_cjs.useSidebarContext; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "useSidebarController", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunkYFY3TQ6Q_cjs.useSidebarController; }
|
|
167
180
|
});
|
|
168
181
|
Object.defineProperty(exports, "useSidebarSettle", {
|
|
169
182
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkYFY3TQ6Q_cjs.useSidebarSettle; }
|
|
171
184
|
});
|
|
172
185
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_KIND_LABELS", {
|
|
173
186
|
enumerable: true,
|
package/dist/shell/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { Shell, PageContainer, SidebarToggleButton, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, useOverlayZoneId, type ShellRootProps, type ShellContentProps, type ShellTopbarProps, type ShellDockProps, type PageContainerProps, type SidebarToggleButtonProps, type SidebarToggleButtonLabels, } from './Shell';
|
|
2
2
|
export { Sidebar, SidebarRowHoverContext, DEFAULT_SIDEBAR_LABELS, useSidebarContext, type SidebarRootProps, type SidebarNavProps, type SidebarNavItemProps, type SidebarSectionProps, type SidebarGroupProps, type SidebarPinToggleProps, type SidebarDrawerHeaderProps, type SidebarLabels, } from './Sidebar';
|
|
3
3
|
export { SidebarBadgeRow, type SidebarBadgeRowProps } from './SidebarBadgeRow';
|
|
4
|
+
export { ShellSidebar, type ShellSidebarProps } from './ShellSidebar';
|
|
5
|
+
export { useSidebarController, type SidebarController, type SidebarControllerRootProps, type UseSidebarControllerOptions, } from './use-sidebar-controller';
|
|
4
6
|
export { SidebarRowAction, type SidebarRowActionProps, type SidebarRowActionPulse, } from './SidebarRowAction';
|
|
5
7
|
export { WorkspaceSwitcher, WorkspaceIdentity, workspaceKindMeta, workspaceKindColor, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, type WorkspaceSwitcherProps, type WorkspaceIdentityProps, type WorkspaceKindLabels, type WorkspaceSwitcherLabels, } from './Workspace';
|
|
6
8
|
export { AskField, AskTrigger, AskRow, DEFAULT_ASK_FIELD_LABELS, type AskFieldLabels, type AskFieldProps, type AskTriggerProps, type AskRowProps, } from './AskField';
|
|
@@ -16,8 +18,9 @@ export { OfflinePill, DEFAULT_OFFLINE_PILL_LABELS, type OfflinePillLabels, type
|
|
|
16
18
|
export { RemoteControlPill, DEFAULT_REMOTE_CONTROL_PILL_LABELS, type RemoteControlPillLabels, type RemoteControlPillProps, } from './RemoteControlPill';
|
|
17
19
|
export { TipCard, DEFAULT_TIP_CARD_LABELS, type TipCardLabels, type TipCardProps } from './TipCard';
|
|
18
20
|
export { TabHeader, DEFAULT_TAB_HEADER_LABELS, type Tab, type TabHeaderLabels, type TabHeaderProps, } from './TabHeader';
|
|
19
|
-
export type { NavItem, ShellActionLayout, ShellRecentWorkspace, ShellWorkspace, ShellWorkspaceKind, } from './types';
|
|
21
|
+
export type { NavItem, NavItemIndicator, NavSection, ShellActionLayout, ShellRecentWorkspace, ShellWorkspace, ShellWorkspaceKind, } from './types';
|
|
20
22
|
export { useDrawerBehavior } from '../lib/use-drawer';
|
|
23
|
+
export { useCloseOnEscape } from '../lib/use-close-on-escape';
|
|
21
24
|
export { BREAKPOINT_QUERIES, useMediaQuery, useIsPhone, useIsNarrow, useIsTouchScreen, } from '../lib/use-media-query';
|
|
22
25
|
export { resolveSidebarLayout, useSidebarSettle, type SidebarLayout, type SidebarMode, type SidebarModeInput, } from '../lib/sidebar-mode';
|
|
23
26
|
export { InfoBar, type InfoBarProps, type InfoBarVariant } from './InfoBar';
|
package/dist/shell/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle } from '../chunk-
|
|
2
|
+
export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, ShellSidebar, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useCloseOnEscape, useInstallPrompt, useSidebarContext, useSidebarController, useSidebarSettle } from '../chunk-I7WG3JRD.js';
|
|
3
3
|
export { DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, WorkspaceIdentity, WorkspaceSwitcher, workspaceKindColor, workspaceKindMeta } from '../chunk-A3XPS2EU.js';
|
|
4
|
-
|
|
4
|
+
import '../chunk-RLWIUUQ5.js';
|
|
5
5
|
import '../chunk-444XKG46.js';
|
|
6
|
+
export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
|
|
6
7
|
export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
7
|
-
import '../chunk-YNIBUKV5.js';
|
|
8
|
-
import '../chunk-TX2ZICS7.js';
|
|
9
8
|
export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-OKERRHLH.js';
|
|
10
9
|
export { DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from '../chunk-7XF5SFJ2.js';
|
|
11
10
|
export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from '../chunk-SLSBJRWW.js';
|
|
12
11
|
import '../chunk-NPLYHR2E.js';
|
|
13
12
|
import '../chunk-7F6CBP3Z.js';
|
|
13
|
+
import '../chunk-YNIBUKV5.js';
|
|
14
|
+
import '../chunk-TX2ZICS7.js';
|
|
14
15
|
import '../chunk-VUNV25KB.js';
|
|
15
16
|
//# sourceMappingURL=index.js.map
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
package/dist/shell/types.d.ts
CHANGED
|
@@ -32,6 +32,24 @@ export interface NavItem {
|
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
/** Inline control after the count; may be interactive (the row is not a native button). */
|
|
34
34
|
trailing?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Status dot on the icon of the icon-only rail, where `trailing` has no room (work in
|
|
37
|
+
* progress, a failure, something waiting). The expanded row shows `trailing` instead.
|
|
38
|
+
*/
|
|
39
|
+
indicator?: NavItemIndicator;
|
|
40
|
+
}
|
|
41
|
+
export type NavItemIndicator = 'progress' | 'error' | 'attention';
|
|
42
|
+
/** A labelled group of sidebar rows (`Sidebar.Nav` `sections`). */
|
|
43
|
+
export interface NavSection {
|
|
44
|
+
/** Stable key. */
|
|
45
|
+
id: string;
|
|
46
|
+
/** Heading shown when expanded; a divider stands in on the rail. Omit for an unlabelled run. */
|
|
47
|
+
label?: ReactNode;
|
|
48
|
+
/** Accessible name when `label` is not plain text. */
|
|
49
|
+
ariaLabel?: string;
|
|
50
|
+
items: NavItem[];
|
|
51
|
+
/** `data-testid` of the group. */
|
|
52
|
+
testId?: string;
|
|
35
53
|
}
|
|
36
54
|
export type ShellActionLayout = 'bar' | 'sidebar' | 'rail' | 'drawer';
|
|
37
55
|
/** Workspace visibility: drives the initial-badge tone and the small type glyph. */
|