@crewlethq/ui 0.195.0 → 0.196.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/dist/AgentHandoffPanel/index.js +16 -16
- package/dist/AgentIdentity/index.js +14 -14
- package/dist/AppShell/index.js +3 -3
- package/dist/ArrangeFrame/index.js +3 -3
- package/dist/ArrangeList/index.js +7 -7
- package/dist/ArtifactBar/index.js +1 -1
- package/dist/ArtifactCard/index.js +8 -8
- package/dist/ArtifactPanel/index.js +3 -3
- package/dist/AttentionList/index.js +3 -3
- package/dist/AvatarPicker/index.js +1 -1
- package/dist/BriefCard/index.js +3 -3
- package/dist/ChangeList/index.js +3 -3
- package/dist/CheckGrid/index.js +6 -6
- package/dist/Checkbox/index.js +5 -5
- package/dist/ChipField/index.js +3 -3
- package/dist/ColorField/index.js +5 -5
- package/dist/Combobox/index.js +5 -5
- package/dist/CommandPalette/index.js +12 -12
- package/dist/CommentThread/index.js +13 -13
- package/dist/Composer/index.js +11 -11
- package/dist/ConfirmField/index.js +5 -5
- package/dist/ConsequenceList/index.js +6 -6
- package/dist/DataGrid/index.js +9 -9
- package/dist/DataTable/index.js +12 -12
- package/dist/DataView/index.js +13 -13
- package/dist/DeepWorkCard/index.js +8 -8
- package/dist/Dictation/index.js +1 -1
- package/dist/DocTabsEditor/index.js +9 -9
- package/dist/DockColumn/index.js +1 -1
- package/dist/DurationField/index.js +9 -9
- package/dist/{Editor-FORDIRIB.js → Editor-TJXYBJUK.js} +7 -7
- package/dist/EmojiPicker/index.js +5 -5
- package/dist/EntityList/index.js +1 -1
- package/dist/HuePicker/index.js +1 -1
- package/dist/InboxList/index.js +1 -1
- package/dist/Input/index.js +4 -4
- package/dist/KeyValueRows/index.js +7 -7
- package/dist/LinkInterstitial/index.js +12 -12
- package/dist/ListInput/index.js +10 -10
- package/dist/MarkdownEditor/index.js +1 -1
- package/dist/MemberPicker/index.js +6 -6
- package/dist/MergeConflicts/index.js +1 -1
- package/dist/MessageActions/index.js +6 -6
- package/dist/Modal/index.js +11 -11
- package/dist/MoneyField/index.js +5 -5
- package/dist/NoticeList/index.js +3 -3
- package/dist/NumberField/index.js +8 -8
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/OrgTable/index.js +12 -12
- package/dist/PeopleRail/index.js +1 -1
- package/dist/PresenterView/index.js +2 -2
- package/dist/PresetChips/index.js +1 -1
- package/dist/PrincipalPicker/index.js +6 -6
- package/dist/ProposalCard/index.js +13 -13
- package/dist/RailList/index.js +7 -7
- package/dist/ReactionBar/index.js +6 -6
- package/dist/ReadingPane/index.js +2 -2
- package/dist/RefusalCard/index.js +1 -1
- package/dist/Reorder/index.js +3 -3
- package/dist/ResultTableCard/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/RunChip/index.js +4 -4
- package/dist/ScopeList/index.js +8 -8
- package/dist/SectionFrame/index.js +3 -3
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/SelectionBar/index.js +3 -3
- package/dist/SendKeys/index.js +3 -3
- package/dist/SettingForm/index.js +7 -7
- package/dist/SetupWizard/index.js +4 -4
- package/dist/ShareDialog/index.js +13 -13
- package/dist/SheetColumnEditor/index.js +9 -9
- package/dist/SheetGrid/index.js +2 -2
- package/dist/SidePanel/index.js +2 -2
- package/dist/SidebarNav/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +6 -6
- package/dist/StatusCard/index.js +1 -1
- package/dist/Stepper/Stepper.d.ts +19 -36
- package/dist/Stepper/StepperPlan.d.ts +18 -6
- package/dist/Stepper/index.d.ts +3 -3
- package/dist/Stepper/index.js +2 -2
- package/dist/{Stepper-OZ6HP72G.css → Stepper-XZSL7JBS.css} +61 -0
- package/dist/Switcher/index.js +13 -13
- package/dist/TableCells/index.js +1 -1
- package/dist/Tabs/index.js +1 -1
- package/dist/TagGroup/index.js +2 -2
- package/dist/TagsInput/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +1 -1
- package/dist/TimeRangePicker/index.js +12 -12
- package/dist/TimeWindowPicker/index.js +7 -7
- package/dist/TreeCanvas/index.js +2 -2
- package/dist/TreeGrid/index.js +10 -10
- package/dist/ValueField/index.js +8 -8
- package/dist/VersionCompare/index.js +2 -2
- package/dist/{chunk-DEQM77O7.js → chunk-24YRBUX6.js} +2 -2
- package/dist/{chunk-CNKQ4TVM.js → chunk-2GPPECF7.js} +1 -1
- package/dist/{chunk-VNCKUYYT.js → chunk-3FZ5DTBJ.js} +1 -1
- package/dist/{chunk-W47E4PT4.js → chunk-3PO66X4J.js} +3 -3
- package/dist/{chunk-NCAKCLQE.js → chunk-42VX7Z6F.js} +2 -2
- package/dist/{chunk-ORX3PYX3.js → chunk-AFHKRJQ5.js} +1 -1
- package/dist/{chunk-MZAMX65M.js → chunk-ALPGZ777.js} +1 -1
- package/dist/{chunk-IFL6DM5K.js → chunk-AS2MKIME.js} +1 -1
- package/dist/{chunk-7CLO6XZ6.js → chunk-AZRLUV5H.js} +1 -1
- package/dist/{chunk-YW3IH3EU.js → chunk-B2ZLRYFY.js} +1 -1
- package/dist/{chunk-XKFZBWXA.js → chunk-BBSQDG3Z.js} +2 -2
- package/dist/{chunk-X2N7XQDN.js → chunk-BM3APAUM.js} +1 -1
- package/dist/{chunk-D5PENLAM.js → chunk-CGLQDHHJ.js} +2 -2
- package/dist/{chunk-6EJS374X.js → chunk-DRU64ZEX.js} +2 -2
- package/dist/{chunk-XLB7QIXK.js → chunk-DXU2XJCF.js} +3 -3
- package/dist/{chunk-EEDTDHAX.js → chunk-FOLTVEB7.js} +2 -2
- package/dist/{chunk-ZH45BDTS.js → chunk-FXY6K5WC.js} +1 -1
- package/dist/{chunk-6FHN76QP.js → chunk-G6TM7JFC.js} +1 -1
- package/dist/{chunk-YOGPQDXA.js → chunk-GELA3UIZ.js} +2 -2
- package/dist/{chunk-QGQYMKCP.js → chunk-HBPOOFTF.js} +2 -2
- package/dist/{chunk-L63OLY2D.js → chunk-HRZKHF23.js} +2 -2
- package/dist/{chunk-6AU73W3Y.js → chunk-IIUBXQ44.js} +2 -2
- package/dist/{chunk-ANCFMQBV.js → chunk-IJD6RJCB.js} +1 -1
- package/dist/{chunk-B4TAERAM.js → chunk-J7NT7MHB.js} +1 -1
- package/dist/{chunk-SK3RTU5M.js → chunk-KKOELP6M.js} +92 -15
- package/dist/{chunk-CVNUXLMI.js → chunk-MBL55UDW.js} +1 -1
- package/dist/{chunk-2ZNOHIT4.js → chunk-N5FHPJ3J.js} +2 -2
- package/dist/{chunk-YER6BEBM.js → chunk-OADUUHVZ.js} +1 -1
- package/dist/{chunk-IFRKD6YP.js → chunk-OCMHWEAF.js} +1 -1
- package/dist/{chunk-SFBIOHM3.js → chunk-OL63ZF4M.js} +1 -1
- package/dist/{chunk-MKOWEHDH.js → chunk-P4OF32M3.js} +1 -1
- package/dist/{chunk-V5CRLYEY.js → chunk-PCDJI7WM.js} +1 -1
- package/dist/{chunk-T2DGBIFD.js → chunk-R53YO3HR.js} +1 -1
- package/dist/{chunk-2SSTJDRV.js → chunk-RBWQO75A.js} +1 -1
- package/dist/{chunk-N2AIHIYX.js → chunk-RCFXPLTH.js} +2 -2
- package/dist/{chunk-5PCC5XTZ.js → chunk-RJXIQ7SP.js} +1 -1
- package/dist/{chunk-LDCHU4SB.js → chunk-TLVMB4WD.js} +3 -3
- package/dist/{chunk-EJDWUXFJ.js → chunk-TPKGNBRP.js} +3 -3
- package/dist/{chunk-4NBADPFB.js → chunk-U6XYIBL3.js} +1 -1
- package/dist/{chunk-DN2P7HJL.js → chunk-UCJDC5UJ.js} +2 -2
- package/dist/{chunk-MX5UU2H3.js → chunk-UGJHVTJB.js} +4 -4
- package/dist/{chunk-MMMO7HHQ.js → chunk-VBYMOSYV.js} +2 -2
- package/dist/{chunk-XHQ6BRGS.js → chunk-WUPB2CXA.js} +1 -1
- package/dist/{chunk-GI446L5L.js → chunk-XBZATXHE.js} +1 -1
- package/dist/{chunk-EZO5MYII.js → chunk-XI5KCORY.js} +1 -1
- package/dist/{chunk-KFG43OLH.js → chunk-YB5XT2BD.js} +1 -1
- package/dist/{chunk-YXRMGI4B.js → chunk-YGDYQNDM.js} +1 -1
- package/dist/{chunk-OOH3GW7F.js → chunk-Z6IF6V4I.js} +1 -1
- package/dist/{chunk-3ZPBG7CZ.js → chunk-ZSVC5GSM.js} +1 -1
- package/dist/{chunk-ZFPNNBG7.js → chunk-ZVRUDJIC.js} +2 -2
- package/dist/generated/index.js +126 -126
- package/dist/index.js +126 -126
- package/dist/{session-NK2VB5MB.js → session-X3EEB6VF.js} +5 -5
- package/dist/styles.css +62 -1
- package/dist/utils/index.js +1 -1
- package/package.json +3 -3
- package/dist/{chunk-NLYURJUF.js → chunk-67UIVO27.js} +2 -2
- package/dist/{chunk-HC5Y4ZVY.js → chunk-BT7GHYYR.js} +1 -1
- package/dist/{chunk-DKE2QLXX.js → chunk-EHEM4QDV.js} +1 -1
- package/dist/{chunk-AHJI2VH3.js → chunk-IMYAUG56.js} +1 -1
- package/dist/{chunk-X242LRUF.js → chunk-K657TVMA.js} +1 -1
- package/dist/{chunk-YNPIGUJF.js → chunk-MQJRR7A6.js} +1 -1
- package/dist/{chunk-2Q4U57SU.js → chunk-PJ2XQCQ6.js} +1 -1
- package/dist/{chunk-SB2QSRS7.js → chunk-QGZPXZHE.js} +1 -1
- package/dist/{chunk-CLMCSTM4.js → chunk-V7C4LBAN.js} +1 -1
- package/dist/{chunk-GEFO45DZ.js → chunk-WZQVDAYB.js} +1 -1
- package/dist/{chunk-LXPA2SRT.js → chunk-XZ47PWVD.js} +1 -1
- package/dist/{chunk-ETWGKTMC.js → chunk-ZE3F4B23.js} +1 -1
package/dist/TreeGrid/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export { TreeGrid } from '../chunk-
|
|
1
|
+
export { TreeGrid } from '../chunk-RCFXPLTH.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-BBSQDG3Z.js';
|
|
4
4
|
import '../chunk-T76E2NIF.js';
|
|
5
5
|
import '../chunk-DFFQGGAD.js';
|
|
6
6
|
import '../chunk-WFAJYBLX.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-ZE3F4B23.js';
|
|
8
8
|
import '../chunk-HG7J6I65.js';
|
|
9
9
|
import '../chunk-SK4BIFTG.js';
|
|
10
10
|
import '../chunk-COS6LJ4K.js';
|
|
11
|
-
import '../chunk-YER6BEBM.js';
|
|
12
11
|
import '../chunk-WSIJDWUG.js';
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-OADUUHVZ.js';
|
|
13
|
+
import '../chunk-YVMIT2OW.js';
|
|
14
|
+
import '../chunk-XSPCITPN.js';
|
|
15
|
+
import '../chunk-67UIVO27.js';
|
|
14
16
|
import '../chunk-NICEDVZM.js';
|
|
15
17
|
import '../chunk-JLKO7PSK.js';
|
|
16
18
|
import '../chunk-AKLZJTOJ.js';
|
|
17
19
|
import '../chunk-BGVJBX7E.js';
|
|
18
|
-
import '../chunk-MZP5A3NQ.js';
|
|
19
|
-
import '../chunk-AZQBGKPR.js';
|
|
20
|
-
import '../chunk-YVMIT2OW.js';
|
|
21
|
-
import '../chunk-XSPCITPN.js';
|
|
22
20
|
import '../chunk-66H4BC5Z.js';
|
|
23
21
|
import '../chunk-TDFLCUBE.js';
|
|
24
22
|
import '../chunk-ZF5ELYJ3.js';
|
|
25
23
|
import '../chunk-HTS5RJ7S.js';
|
|
26
|
-
import '../chunk-PQADV6P6.js';
|
|
27
24
|
import '../chunk-L72URIHR.js';
|
|
28
25
|
import '../chunk-NCM4VYRF.js';
|
|
29
26
|
import '../chunk-EDPMHSLZ.js';
|
|
30
27
|
import '../chunk-4ITETIGZ.js';
|
|
28
|
+
import '../chunk-PQADV6P6.js';
|
|
29
|
+
import '../chunk-MZP5A3NQ.js';
|
|
30
|
+
import '../chunk-AZQBGKPR.js';
|
|
31
31
|
import '../chunk-RRRK2KB6.js';
|
|
32
32
|
import '../chunk-ODEQTPFM.js';
|
package/dist/ValueField/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-
|
|
1
|
+
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-42VX7Z6F.js';
|
|
2
2
|
import '../chunk-DPCXOBXN.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-YGDYQNDM.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
5
|
import '../chunk-2YTOOH3A.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-YVMIT2OW.js';
|
|
7
|
+
import '../chunk-XSPCITPN.js';
|
|
8
|
+
import '../chunk-67UIVO27.js';
|
|
7
9
|
import '../chunk-NICEDVZM.js';
|
|
8
10
|
import '../chunk-JLKO7PSK.js';
|
|
9
11
|
import '../chunk-AKLZJTOJ.js';
|
|
10
12
|
import '../chunk-BGVJBX7E.js';
|
|
11
|
-
import '../chunk-MZP5A3NQ.js';
|
|
12
|
-
import '../chunk-AZQBGKPR.js';
|
|
13
|
-
import '../chunk-YVMIT2OW.js';
|
|
14
|
-
import '../chunk-XSPCITPN.js';
|
|
15
13
|
import '../chunk-66H4BC5Z.js';
|
|
16
14
|
import '../chunk-TDFLCUBE.js';
|
|
17
15
|
import '../chunk-ZF5ELYJ3.js';
|
|
18
16
|
import '../chunk-HTS5RJ7S.js';
|
|
19
|
-
import '../chunk-PQADV6P6.js';
|
|
20
17
|
import '../chunk-L72URIHR.js';
|
|
21
18
|
import '../chunk-NCM4VYRF.js';
|
|
22
19
|
import '../chunk-EDPMHSLZ.js';
|
|
23
20
|
import '../chunk-4ITETIGZ.js';
|
|
21
|
+
import '../chunk-PQADV6P6.js';
|
|
22
|
+
import '../chunk-MZP5A3NQ.js';
|
|
23
|
+
import '../chunk-AZQBGKPR.js';
|
|
24
24
|
import '../chunk-RRRK2KB6.js';
|
|
25
25
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -14,11 +14,11 @@ import '../chunk-66H4BC5Z.js';
|
|
|
14
14
|
import '../chunk-TDFLCUBE.js';
|
|
15
15
|
import '../chunk-ZF5ELYJ3.js';
|
|
16
16
|
import '../chunk-HTS5RJ7S.js';
|
|
17
|
-
import '../chunk-6YKTRAWI.js';
|
|
18
|
-
import '../chunk-PQADV6P6.js';
|
|
19
17
|
import '../chunk-L72URIHR.js';
|
|
20
18
|
import '../chunk-NCM4VYRF.js';
|
|
21
19
|
import '../chunk-EDPMHSLZ.js';
|
|
22
20
|
import '../chunk-4ITETIGZ.js';
|
|
21
|
+
import '../chunk-6YKTRAWI.js';
|
|
22
|
+
import '../chunk-PQADV6P6.js';
|
|
23
23
|
import '../chunk-RRRK2KB6.js';
|
|
24
24
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ValueField } from './chunk-
|
|
1
|
+
import { ValueField } from './chunk-42VX7Z6F.js';
|
|
2
2
|
import { RefusalStrip, ReceiptStrip } from './chunk-GMY4DMLJ.js';
|
|
3
3
|
import { StatusCard } from './chunk-WLIODLUL.js';
|
|
4
4
|
import { toInstant, currentNow, formatUntil, useNow, formatExact, toISO } from './chunk-5ZL3PXEL.js';
|
|
5
5
|
import { ChangeList } from './chunk-XXHIU65G.js';
|
|
6
6
|
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-OADUUHVZ.js';
|
|
8
8
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
9
9
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
10
10
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
2
2
|
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-5ZL3PXEL.js';
|
|
3
3
|
import { Document } from './chunk-I4PBFJGX.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-3PO66X4J.js';
|
|
5
5
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
6
6
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { Count } from './chunk-6YKTRAWI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
|
|
2
|
-
import { FormField, Input, InputAffix } from './chunk-
|
|
2
|
+
import { FormField, Input, InputAffix } from './chunk-67UIVO27.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ColorField-2OIOWT3Z.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useSendOnEnter, SendKeysHint } from './chunk-
|
|
2
|
-
import { useDictationSlot } from './chunk-
|
|
3
|
-
import { Textarea } from './chunk-
|
|
1
|
+
import { useSendOnEnter, SendKeysHint } from './chunk-K657TVMA.js';
|
|
2
|
+
import { useDictationSlot } from './chunk-Z6IF6V4I.js';
|
|
3
|
+
import { Textarea } from './chunk-67UIVO27.js';
|
|
4
4
|
import { useComposedRef } from './chunk-L72URIHR.js';
|
|
5
5
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
|
-
import { Combobox } from './chunk-
|
|
3
|
-
import { FormField, Textarea, InputAffix } from './chunk-NLYURJUF.js';
|
|
2
|
+
import { Combobox } from './chunk-YGDYQNDM.js';
|
|
4
3
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
|
+
import { FormField, Textarea, InputAffix } from './chunk-67UIVO27.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Input-YVCNNTYT.css';
|
|
7
7
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormField } from './chunk-NLYURJUF.js';
|
|
2
1
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
2
|
+
import { FormField } from './chunk-67UIVO27.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './SettingForm-ODVZZ7JZ.css';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-T76E2NIF.js';
|
|
2
2
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
3
|
-
import { useReorder } from './chunk-
|
|
3
|
+
import { useReorder } from './chunk-ZE3F4B23.js';
|
|
4
4
|
import { EmptyState } from './chunk-HG7J6I65.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
|
-
import { Checkbox } from './chunk-YER6BEBM.js';
|
|
7
6
|
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
7
|
+
import { Checkbox } from './chunk-OADUUHVZ.js';
|
|
8
8
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
4
|
-
import { ArtifactPanel } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-3PO66X4J.js';
|
|
4
|
+
import { ArtifactPanel } from './chunk-BM3APAUM.js';
|
|
5
5
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
6
6
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Switch } from './chunk-6YYRFGXO.js';
|
|
2
|
-
import { useReorder } from './chunk-
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
2
|
+
import { useReorder } from './chunk-ZE3F4B23.js';
|
|
3
|
+
import { Checkbox } from './chunk-OADUUHVZ.js';
|
|
4
4
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -3,12 +3,12 @@ import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
4
|
import { Popover } from './chunk-SWZV6R46.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
|
-
import { Modal } from './chunk-
|
|
6
|
+
import { Modal } from './chunk-GELA3UIZ.js';
|
|
7
7
|
import { Text } from './chunk-475DOAWF.js';
|
|
8
|
-
import { Input } from './chunk-
|
|
9
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
8
|
+
import { Input } from './chunk-67UIVO27.js';
|
|
10
9
|
import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
|
|
11
10
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
11
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
12
12
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
13
13
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
14
14
|
import './Switcher-MWHFBIWS.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FormField, Label, Input } from './chunk-NLYURJUF.js';
|
|
2
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
1
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
2
|
+
import { FormField, Label, Input } from './chunk-67UIVO27.js';
|
|
4
3
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
4
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './KeyValueRows-US5KW7JK.css';
|
|
7
7
|
import { useId, useRef, useEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
|
-
import { typedNumber, NumberField } from './chunk-
|
|
2
|
+
import { typedNumber, NumberField } from './chunk-RJXIQ7SP.js';
|
|
3
3
|
import { PresetChips } from './chunk-WLYNWP34.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './DurationField-TJFIAUMW.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { consequencesAnswered, ConsequenceList } from './chunk-
|
|
1
|
+
import { consequencesAnswered, ConsequenceList } from './chunk-XI5KCORY.js';
|
|
2
2
|
import { ChangeGroups } from './chunk-XXHIU65G.js';
|
|
3
3
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
4
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
|
-
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
6
5
|
import { useComposedRef } from './chunk-L72URIHR.js';
|
|
7
6
|
import { useLayerContainer } from './chunk-NCM4VYRF.js';
|
|
8
7
|
import { focusables, useModalLayer, useBodyScrollLock } from './chunk-EDPMHSLZ.js';
|
|
8
|
+
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './Modal-TVHT3TEL.css';
|
|
11
11
|
import './ConfirmModal-V2OAWUGJ.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { groupInOrder } from './chunk-JADTOJUL.js';
|
|
2
2
|
import { Text } from './chunk-475DOAWF.js';
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
4
|
-
import { Input } from './chunk-NLYURJUF.js';
|
|
3
|
+
import { Checkbox } from './chunk-OADUUHVZ.js';
|
|
5
4
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
5
|
+
import { Input } from './chunk-67UIVO27.js';
|
|
6
6
|
import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -4,9 +4,9 @@ import { HueSwatch } from './chunk-5F62NQON.js';
|
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Kbd } from './chunk-25LIX6UI.js';
|
|
6
6
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
8
|
-
import { FormField, Input } from './chunk-NLYURJUF.js';
|
|
7
|
+
import { Checkbox } from './chunk-OADUUHVZ.js';
|
|
9
8
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
9
|
+
import { FormField, Input } from './chunk-67UIVO27.js';
|
|
10
10
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useReorder } from './chunk-
|
|
1
|
+
import { useReorder } from './chunk-ZE3F4B23.js';
|
|
2
2
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
3
|
-
import { Input } from './chunk-
|
|
3
|
+
import { Input } from './chunk-67UIVO27.js';
|
|
4
4
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -2,7 +2,7 @@ import { Select } from './chunk-DPCXOBXN.js';
|
|
|
2
2
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
4
4
|
import { CopyButton } from './chunk-NAHBGKE7.js';
|
|
5
|
-
import { Modal } from './chunk-
|
|
5
|
+
import { Modal } from './chunk-GELA3UIZ.js';
|
|
6
6
|
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
7
7
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
8
8
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-
|
|
1
|
+
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-RBWQO75A.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
3
|
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
2
2
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
3
|
-
import { useAnnouncer } from './chunk-AZQBGKPR.js';
|
|
4
3
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
4
|
+
import { useAnnouncer } from './chunk-AZQBGKPR.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './Stepper-
|
|
7
|
+
import './Stepper-XZSL7JBS.css';
|
|
8
8
|
import './StepList-MQVJ3DZF.css';
|
|
9
9
|
import { CircleCheckGlyph, CircleAlertGlyph, LockGlyph, CircleStopGlyph, CircleDashedGlyph, ClockGlyph, CheckGlyph, TriangleAlertGlyph, ChevronDownGlyph, ChevronRightGlyph, MinusGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
10
10
|
import { useMemo, useId, useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
|
|
@@ -18,7 +18,9 @@ var STEPPER_PLAN_STATES = [
|
|
|
18
18
|
"checking",
|
|
19
19
|
"failed",
|
|
20
20
|
"optional",
|
|
21
|
-
"skipped"
|
|
21
|
+
"skipped",
|
|
22
|
+
"set-aside",
|
|
23
|
+
"not-needed"
|
|
22
24
|
];
|
|
23
25
|
var STEPPER_PLAN_LABELS = {
|
|
24
26
|
done: "Done",
|
|
@@ -28,9 +30,17 @@ var STEPPER_PLAN_LABELS = {
|
|
|
28
30
|
checking: "Checking",
|
|
29
31
|
failed: "Failed",
|
|
30
32
|
optional: "Optional",
|
|
31
|
-
skipped: "Skipped"
|
|
33
|
+
skipped: "Skipped",
|
|
34
|
+
"set-aside": "Set aside",
|
|
35
|
+
"not-needed": "Already so"
|
|
32
36
|
};
|
|
33
|
-
var
|
|
37
|
+
var STEPPER_PLAN_MARKS = ["new", "edited"];
|
|
38
|
+
var STEPPER_PLAN_MARK_LABELS = {
|
|
39
|
+
new: "New",
|
|
40
|
+
edited: "Edited"
|
|
41
|
+
};
|
|
42
|
+
var ACTIVE = /* @__PURE__ */ new Set(["next", "in-progress", "checking", "failed", "set-aside"]);
|
|
43
|
+
var FINISHED = /* @__PURE__ */ new Set(["done", "not-needed"]);
|
|
34
44
|
var TAG_TONE = {
|
|
35
45
|
done: "success",
|
|
36
46
|
next: "brand",
|
|
@@ -39,8 +49,11 @@ var TAG_TONE = {
|
|
|
39
49
|
checking: "info",
|
|
40
50
|
failed: "danger",
|
|
41
51
|
optional: "neutral",
|
|
42
|
-
skipped: "neutral"
|
|
52
|
+
skipped: "neutral",
|
|
53
|
+
"set-aside": "neutral",
|
|
54
|
+
"not-needed": "success"
|
|
43
55
|
};
|
|
56
|
+
var MARK_TONE = { new: "info", edited: "neutral" };
|
|
44
57
|
function planStates(steps, at) {
|
|
45
58
|
return steps.map((step, index) => step.state ?? (index < at ? "done" : index === at ? "next" : "waiting"));
|
|
46
59
|
}
|
|
@@ -48,13 +61,23 @@ function checkPlanCurrent(steps, at) {
|
|
|
48
61
|
const state = at < steps.length ? planStates(steps, at)[at] : void 0;
|
|
49
62
|
if (state !== void 0 && !ACTIVE.has(state)) {
|
|
50
63
|
throw new RangeError(
|
|
51
|
-
`Stepper plan step "${steps[at].id}" is current, so it must be next, in-progress, checking or
|
|
64
|
+
`Stepper plan step "${steps[at].id}" is current, so it must be next, in-progress, checking, failed or set-aside; it is ${state}`
|
|
52
65
|
);
|
|
53
66
|
}
|
|
54
67
|
}
|
|
68
|
+
function checkPlanRemoved(steps, removed) {
|
|
69
|
+
const kept = new Set(steps.map((step) => step.id));
|
|
70
|
+
const seen = /* @__PURE__ */ new Set();
|
|
71
|
+
for (const step of removed) {
|
|
72
|
+
if (seen.has(step.id)) throw new RangeError(`Stepper removed step ids must be unique; "${step.id}" is used twice`);
|
|
73
|
+
if (kept.has(step.id)) throw new RangeError(`Stepper step "${step.id}" is both in the plan and removed from it`);
|
|
74
|
+
seen.add(step.id);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
55
77
|
function PlanMark({ state, index }) {
|
|
56
78
|
switch (state) {
|
|
57
79
|
case "done":
|
|
80
|
+
case "not-needed":
|
|
58
81
|
return /* @__PURE__ */ jsx(CheckGlyph, { size: "xs", className: "crewlet-stepper__check" });
|
|
59
82
|
case "next":
|
|
60
83
|
return /* @__PURE__ */ jsx(StatusDot, { tone: "brand", className: "crewlet-stepper__dot" });
|
|
@@ -66,16 +89,33 @@ function PlanMark({ state, index }) {
|
|
|
66
89
|
return /* @__PURE__ */ jsx(XGlyph, { size: "xs" });
|
|
67
90
|
case "skipped":
|
|
68
91
|
return /* @__PURE__ */ jsx(MinusGlyph, { size: "xs" });
|
|
92
|
+
case "set-aside":
|
|
93
|
+
return /* @__PURE__ */ jsx(ClockGlyph, { size: "xs" });
|
|
69
94
|
default:
|
|
70
95
|
return /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__number", children: index + 1 });
|
|
71
96
|
}
|
|
72
97
|
}
|
|
73
|
-
function StepperPlan({
|
|
98
|
+
function StepperPlan({
|
|
99
|
+
steps,
|
|
100
|
+
at,
|
|
101
|
+
label,
|
|
102
|
+
stateLabels,
|
|
103
|
+
markLabels,
|
|
104
|
+
removed,
|
|
105
|
+
removedLabel,
|
|
106
|
+
collapseDone,
|
|
107
|
+
attributes
|
|
108
|
+
}) {
|
|
74
109
|
const words = useMemo(() => stateLabels ? { ...STEPPER_PLAN_LABELS, ...stateLabels } : STEPPER_PLAN_LABELS, [stateLabels]);
|
|
110
|
+
const marks = useMemo(
|
|
111
|
+
() => markLabels ? { ...STEPPER_PLAN_MARK_LABELS, ...markLabels } : STEPPER_PLAN_MARK_LABELS,
|
|
112
|
+
[markLabels]
|
|
113
|
+
);
|
|
75
114
|
const states = useMemo(() => planStates(steps, at), [steps, at]);
|
|
76
115
|
const base = useId();
|
|
77
116
|
const [open, setOpen] = useState(() => /* @__PURE__ */ new Set());
|
|
78
117
|
const labels = useRef(/* @__PURE__ */ new Map());
|
|
118
|
+
const untils = useRef(/* @__PURE__ */ new Map());
|
|
79
119
|
const said = useRef(null);
|
|
80
120
|
const announce = useAnnouncer();
|
|
81
121
|
useEffect(() => {
|
|
@@ -88,7 +128,8 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
88
128
|
const was = before.get(id);
|
|
89
129
|
if (was === void 0 || was === state) continue;
|
|
90
130
|
const text = labels.current.get(id)?.textContent?.trim();
|
|
91
|
-
|
|
131
|
+
const until = state === "set-aside" ? untils.current.get(id)?.textContent?.trim() : void 0;
|
|
132
|
+
if (text) lines.push(until ? `${text}, ${words[state]}, ${until}` : `${text}, ${words[state]}`);
|
|
92
133
|
}
|
|
93
134
|
if (lines.length > 0) announce(lines.join(". "));
|
|
94
135
|
}, [steps, states, words, announce]);
|
|
@@ -97,7 +138,7 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
97
138
|
if (!next.delete(id)) next.add(id);
|
|
98
139
|
return next;
|
|
99
140
|
});
|
|
100
|
-
|
|
141
|
+
const list = (
|
|
101
142
|
// The role is restated for WebKit, which drops it from a list with no markers.
|
|
102
143
|
// eslint-disable-next-line jsx-a11y/no-redundant-roles
|
|
103
144
|
/* @__PURE__ */ jsx(
|
|
@@ -112,8 +153,11 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
112
153
|
const current = index === at;
|
|
113
154
|
const id = `${base}-${index}`;
|
|
114
155
|
const hasBody = step.body !== void 0 && step.body !== null && step.body !== false;
|
|
115
|
-
const collapsible = collapseDone && state
|
|
156
|
+
const collapsible = collapseDone && FINISHED.has(state) && hasBody;
|
|
116
157
|
const shown = !collapsible || open.has(step.id);
|
|
158
|
+
const until = state === "set-aside" && step.until !== void 0 && step.until !== null && step.until !== false;
|
|
159
|
+
const mark = step.mark;
|
|
160
|
+
const named = [`${id}-name`, `${id}-state`, until && `${id}-until`, mark && `${id}-mark`].filter(Boolean).join(" ");
|
|
117
161
|
const title = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
118
162
|
/* @__PURE__ */ jsxs("span", { id: `${id}-name`, className: "crewlet-stepper__label", children: [
|
|
119
163
|
/* @__PURE__ */ jsx(
|
|
@@ -128,7 +172,11 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
128
172
|
),
|
|
129
173
|
/* @__PURE__ */ jsx(VisuallyHidden, { children: "," })
|
|
130
174
|
] }),
|
|
131
|
-
/* @__PURE__ */
|
|
175
|
+
/* @__PURE__ */ jsxs("span", { id: `${id}-state`, className: "crewlet-stepper__state", children: [
|
|
176
|
+
/* @__PURE__ */ jsx(Tag, { size: "xs", variant: TAG_TONE[state], children: words[state] }),
|
|
177
|
+
until || mark ? /* @__PURE__ */ jsx(VisuallyHidden, { children: "," }) : null
|
|
178
|
+
] }),
|
|
179
|
+
mark ? /* @__PURE__ */ jsx("span", { id: `${id}-mark`, className: "crewlet-stepper__revision", children: /* @__PURE__ */ jsx(Tag, { size: "xs", appearance: "outline", variant: MARK_TONE[mark], children: marks[mark] }) }) : null,
|
|
132
180
|
collapsible ? shown ? /* @__PURE__ */ jsx(ChevronDownGlyph, { size: "xs", className: "crewlet-stepper__chevron" }) : /* @__PURE__ */ jsx(ChevronRightGlyph, { size: "xs", className: "crewlet-stepper__chevron" }) : null
|
|
133
181
|
] });
|
|
134
182
|
return /* @__PURE__ */ jsx(
|
|
@@ -140,7 +188,7 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
140
188
|
current && "crewlet-stepper__step--current"
|
|
141
189
|
),
|
|
142
190
|
"aria-current": current ? "step" : void 0,
|
|
143
|
-
"aria-labelledby":
|
|
191
|
+
"aria-labelledby": named,
|
|
144
192
|
children: /* @__PURE__ */ jsxs("div", { className: "crewlet-stepper__row", children: [
|
|
145
193
|
/* @__PURE__ */ jsx("span", { className: "crewlet-stepper__mark", "aria-hidden": "true", children: /* @__PURE__ */ jsx(PlanMark, { state, index }) }),
|
|
146
194
|
/* @__PURE__ */ jsxs("div", { className: "crewlet-stepper__text", children: [
|
|
@@ -149,13 +197,26 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
149
197
|
{
|
|
150
198
|
type: "button",
|
|
151
199
|
className: "crewlet-stepper__title crewlet-stepper__toggle",
|
|
152
|
-
"aria-labelledby":
|
|
200
|
+
"aria-labelledby": named,
|
|
153
201
|
"aria-expanded": shown,
|
|
154
202
|
"aria-controls": `${id}-body`,
|
|
155
203
|
onClick: () => toggle(step.id),
|
|
156
204
|
children: title
|
|
157
205
|
}
|
|
158
206
|
) : /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__title", children: title }),
|
|
207
|
+
until ? /* @__PURE__ */ jsxs("span", { id: `${id}-until`, className: "crewlet-stepper__until", children: [
|
|
208
|
+
/* @__PURE__ */ jsx(
|
|
209
|
+
"span",
|
|
210
|
+
{
|
|
211
|
+
ref: (element) => {
|
|
212
|
+
if (element) untils.current.set(step.id, element);
|
|
213
|
+
else untils.current.delete(step.id);
|
|
214
|
+
},
|
|
215
|
+
children: step.until
|
|
216
|
+
}
|
|
217
|
+
),
|
|
218
|
+
mark ? /* @__PURE__ */ jsx(VisuallyHidden, { children: "," }) : null
|
|
219
|
+
] }) : null,
|
|
159
220
|
step.description ? /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__description", children: step.description }) : null,
|
|
160
221
|
hasBody ? /* @__PURE__ */ jsx("div", { id: `${id}-body`, className: "crewlet-stepper__body", hidden: !shown, children: step.body }) : null
|
|
161
222
|
] })
|
|
@@ -167,7 +228,16 @@ function StepperPlan({ steps, at, label, stateLabels, collapseDone, attributes }
|
|
|
167
228
|
}
|
|
168
229
|
)
|
|
169
230
|
);
|
|
231
|
+
if (removed.length === 0) return list;
|
|
232
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
233
|
+
list,
|
|
234
|
+
/* @__PURE__ */ jsxs("div", { className: "crewlet-stepper__removed", children: [
|
|
235
|
+
/* @__PURE__ */ jsx("span", { id: `${base}-removed`, className: "crewlet-stepper__removed-title", children: removedLabel }),
|
|
236
|
+
/* @__PURE__ */ jsx("ul", { role: "list", className: "crewlet-stepper__removed-list", "aria-labelledby": `${base}-removed`, children: removed.map((step) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("del", { children: step.label }) }, step.id)) })
|
|
237
|
+
] })
|
|
238
|
+
] });
|
|
170
239
|
}
|
|
240
|
+
var NONE = [];
|
|
171
241
|
function Stepper({
|
|
172
242
|
steps,
|
|
173
243
|
current,
|
|
@@ -182,6 +252,9 @@ function Stepper({
|
|
|
182
252
|
attentionLabel = "Needs attention",
|
|
183
253
|
variant = "sequence",
|
|
184
254
|
stateLabels,
|
|
255
|
+
markLabels,
|
|
256
|
+
removed = NONE,
|
|
257
|
+
removedLabel = "Removed",
|
|
185
258
|
collapseDone = false,
|
|
186
259
|
className,
|
|
187
260
|
...rest
|
|
@@ -200,6 +273,7 @@ function Stepper({
|
|
|
200
273
|
}
|
|
201
274
|
if (variant === "plan") {
|
|
202
275
|
checkPlanCurrent(steps, at);
|
|
276
|
+
checkPlanRemoved(steps, removed);
|
|
203
277
|
if (steps.length === 0) return null;
|
|
204
278
|
return /* @__PURE__ */ jsx(
|
|
205
279
|
StepperPlan,
|
|
@@ -208,6 +282,9 @@ function Stepper({
|
|
|
208
282
|
at,
|
|
209
283
|
label,
|
|
210
284
|
stateLabels,
|
|
285
|
+
markLabels,
|
|
286
|
+
removed,
|
|
287
|
+
removedLabel,
|
|
211
288
|
collapseDone,
|
|
212
289
|
attributes: { ...rest, className }
|
|
213
290
|
}
|
|
@@ -376,4 +453,4 @@ function StepList({ steps, label, summary, labels: overrides, className, ...rest
|
|
|
376
453
|
] });
|
|
377
454
|
}
|
|
378
455
|
|
|
379
|
-
export { STEPPER_PLAN_LABELS, STEPPER_PLAN_STATES, STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces };
|
|
456
|
+
export { STEPPER_PLAN_LABELS, STEPPER_PLAN_MARKS, STEPPER_PLAN_MARK_LABELS, STEPPER_PLAN_STATES, STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces };
|
|
@@ -2,8 +2,8 @@ import { EmptyValue } from './chunk-WGLOH33S.js';
|
|
|
2
2
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
3
3
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
4
4
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
5
|
-
import { Modal } from './chunk-
|
|
6
|
-
import { Checkbox } from './chunk-
|
|
5
|
+
import { Modal } from './chunk-GELA3UIZ.js';
|
|
6
|
+
import { Checkbox } from './chunk-OADUUHVZ.js';
|
|
7
7
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
8
8
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
3
|
import { Popover } from './chunk-SWZV6R46.js';
|
|
4
|
-
import { Input } from './chunk-NLYURJUF.js';
|
|
5
4
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
5
|
+
import { Input } from './chunk-67UIVO27.js';
|
|
6
6
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
|
-
import { useReorder } from './chunk-
|
|
2
|
+
import { useReorder } from './chunk-ZE3F4B23.js';
|
|
3
3
|
import { Kbd, isApplePlatform } from './chunk-25LIX6UI.js';
|
|
4
4
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|