@crewlethq/ui 0.194.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/README.md +10 -2
- 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/AuthLayout/index.js +1 -1
- 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 +14 -14
- package/dist/DeepWorkCard/index.js +8 -6
- 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/FieldSpotlight/FieldSpotlight.d.ts +38 -0
- package/dist/FieldSpotlight/index.d.ts +3 -0
- package/dist/FieldSpotlight/index.js +4 -0
- package/dist/FieldSpotlight-HRZJERTW.css +86 -0
- package/dist/HuePicker/index.js +1 -1
- package/dist/InboxList/index.js +3 -3
- 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 +3 -3
- package/dist/OrgTable/index.js +12 -12
- package/dist/PeopleRail/index.js +1 -1
- 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 +8 -8
- 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 +6 -2
- 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 +6 -2
- 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 +43 -32
- package/dist/Stepper/StepperPlan.d.ts +40 -0
- package/dist/Stepper/index.d.ts +3 -1
- package/dist/Stepper/index.js +5 -1
- package/dist/{Stepper-BRWYNQAC.css → Stepper-XZSL7JBS.css} +162 -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-KKOELP6M.js +456 -0
- package/dist/chunk-LM4TJV2S.js +61 -0
- 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-J4JT2OSY.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-ZX4WIEQE.js → chunk-TLVMB4WD.js} +3 -3
- package/dist/{chunk-EJDWUXFJ.js → chunk-TPKGNBRP.js} +3 -3
- package/dist/{chunk-MENY4GKL.js → chunk-U6XYIBL3.js} +1 -1
- package/dist/{chunk-M5P5N5PE.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-ITRT36AQ.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-H2K5UVTW.js → chunk-ZVRUDJIC.js} +2 -2
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +146 -145
- package/dist/index.js +146 -145
- package/dist/{session-NK2VB5MB.js → session-X3EEB6VF.js} +5 -5
- package/dist/styles.css +252 -1
- package/dist/utils/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-2MN3RNRM.js +0 -201
- package/dist/{chunk-NLYURJUF.js → chunk-67UIVO27.js} +2 -2
- package/dist/{chunk-HC5Y4ZVY.js → chunk-BT7GHYYR.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-FPNKZ6I2.js → chunk-KF7ZOWJW.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-JJEGPEV7.js → chunk-VCMO7KK3.js} +0 -0
- 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/styles.css
CHANGED
|
@@ -23849,6 +23849,95 @@ svg.crewlet-datetime__chevron {
|
|
|
23849
23849
|
}
|
|
23850
23850
|
|
|
23851
23851
|
|
|
23852
|
+
/* FieldSpotlight-HRZJERTW.css */
|
|
23853
|
+
/*
|
|
23854
|
+
* FieldSpotlight: a ring and a pinned label round a control an assistant is
|
|
23855
|
+
* working on. The ring is 2px at a 2px offset, the 4px a form field leaves
|
|
23856
|
+
* between its control and its help line, so it never covers the hint.
|
|
23857
|
+
*/
|
|
23858
|
+
.crewlet-field-spotlight {
|
|
23859
|
+
position: relative;
|
|
23860
|
+
display: block;
|
|
23861
|
+
min-width: 0;
|
|
23862
|
+
border-radius: var(--radius-md);
|
|
23863
|
+
}
|
|
23864
|
+
|
|
23865
|
+
.crewlet-field-spotlight--inline {
|
|
23866
|
+
display: inline-flex;
|
|
23867
|
+
max-width: 100%;
|
|
23868
|
+
vertical-align: middle;
|
|
23869
|
+
}
|
|
23870
|
+
|
|
23871
|
+
.crewlet-field-spotlight--accent,
|
|
23872
|
+
.crewlet-field-spotlight--success {
|
|
23873
|
+
outline-style: solid;
|
|
23874
|
+
outline-width: 2px;
|
|
23875
|
+
outline-offset: 2px;
|
|
23876
|
+
}
|
|
23877
|
+
|
|
23878
|
+
.crewlet-field-spotlight--accent {
|
|
23879
|
+
outline-color: var(--color-brand-accent);
|
|
23880
|
+
}
|
|
23881
|
+
|
|
23882
|
+
.crewlet-field-spotlight--success {
|
|
23883
|
+
outline-color: var(--color-feedback-success-ink);
|
|
23884
|
+
}
|
|
23885
|
+
|
|
23886
|
+
/* Pinned over the end of the label row, just clear of the ring. */
|
|
23887
|
+
.crewlet-field-spotlight__label {
|
|
23888
|
+
position: absolute;
|
|
23889
|
+
inset-inline-end: 0;
|
|
23890
|
+
bottom: calc(100% + var(--spacing-1));
|
|
23891
|
+
z-index: var(--z-index-raised);
|
|
23892
|
+
box-sizing: border-box;
|
|
23893
|
+
max-width: 100%;
|
|
23894
|
+
padding: 0 var(--spacing-2);
|
|
23895
|
+
border-radius: var(--radius-pill);
|
|
23896
|
+
overflow: hidden;
|
|
23897
|
+
font-family: var(--font-family-sans);
|
|
23898
|
+
font-size: var(--font-size-xs);
|
|
23899
|
+
font-weight: var(--font-weight-medium);
|
|
23900
|
+
line-height: var(--font-line-height-normal);
|
|
23901
|
+
text-overflow: ellipsis;
|
|
23902
|
+
white-space: nowrap;
|
|
23903
|
+
pointer-events: none;
|
|
23904
|
+
}
|
|
23905
|
+
|
|
23906
|
+
.crewlet-field-spotlight--accent .crewlet-field-spotlight__label {
|
|
23907
|
+
background: var(--color-brand-accent);
|
|
23908
|
+
color: var(--color-text-on-accent);
|
|
23909
|
+
}
|
|
23910
|
+
|
|
23911
|
+
.crewlet-field-spotlight--success .crewlet-field-spotlight__label {
|
|
23912
|
+
background: var(--color-feedback-success-soft);
|
|
23913
|
+
color: var(--color-feedback-success-ink);
|
|
23914
|
+
}
|
|
23915
|
+
|
|
23916
|
+
.crewlet-field-spotlight--pulse {
|
|
23917
|
+
animation: crewlet-field-spotlight-pulse var(--motion-duration-breath) var(--motion-easing-in-out) infinite;
|
|
23918
|
+
}
|
|
23919
|
+
|
|
23920
|
+
@keyframes crewlet-field-spotlight-pulse {
|
|
23921
|
+
50% {
|
|
23922
|
+
outline-color: var(--color-brand-accent-soft);
|
|
23923
|
+
}
|
|
23924
|
+
}
|
|
23925
|
+
|
|
23926
|
+
@media (prefers-reduced-motion: reduce) {
|
|
23927
|
+
.crewlet-field-spotlight--pulse {
|
|
23928
|
+
animation: none;
|
|
23929
|
+
}
|
|
23930
|
+
}
|
|
23931
|
+
|
|
23932
|
+
/* Forced colors drops the label's fill, so it keeps a hairline in the text colour. */
|
|
23933
|
+
@media (forced-colors: active) {
|
|
23934
|
+
.crewlet-field-spotlight__label {
|
|
23935
|
+
outline: 1px solid CanvasText;
|
|
23936
|
+
outline-offset: -1px;
|
|
23937
|
+
}
|
|
23938
|
+
}
|
|
23939
|
+
|
|
23940
|
+
|
|
23852
23941
|
/* FileDrop-WE7BNZGV.css */
|
|
23853
23942
|
/*
|
|
23854
23943
|
* Where files are dropped. A target of its own is a dashed, quiet area with a
|
|
@@ -46452,7 +46541,7 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
|
|
|
46452
46541
|
|
|
46453
46542
|
|
|
46454
46543
|
|
|
46455
|
-
/* Stepper-
|
|
46544
|
+
/* Stepper-XZSL7JBS.css */
|
|
46456
46545
|
/*
|
|
46457
46546
|
* The stepper: where a sequence has got to (Stepper.tsx).
|
|
46458
46547
|
*
|
|
@@ -46870,6 +46959,168 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
|
|
|
46870
46959
|
}
|
|
46871
46960
|
}
|
|
46872
46961
|
|
|
46962
|
+
/*
|
|
46963
|
+
* THE PLAN: the column as a task list. The state tag sits beside the title,
|
|
46964
|
+
* the mark takes the state's tint, and the body spans the text column.
|
|
46965
|
+
*/
|
|
46966
|
+
.crewlet-stepper--plan .crewlet-stepper__text {
|
|
46967
|
+
flex: 1;
|
|
46968
|
+
}
|
|
46969
|
+
|
|
46970
|
+
.crewlet-stepper--plan .crewlet-stepper__title {
|
|
46971
|
+
display: flex;
|
|
46972
|
+
flex-wrap: wrap;
|
|
46973
|
+
align-items: center;
|
|
46974
|
+
column-gap: var(--spacing-2);
|
|
46975
|
+
min-width: 0;
|
|
46976
|
+
font-weight: var(--font-weight-medium);
|
|
46977
|
+
}
|
|
46978
|
+
|
|
46979
|
+
.crewlet-stepper__state {
|
|
46980
|
+
display: inline-flex;
|
|
46981
|
+
}
|
|
46982
|
+
|
|
46983
|
+
.crewlet-stepper--plan .crewlet-stepper__description {
|
|
46984
|
+
color: var(--color-text-secondary);
|
|
46985
|
+
}
|
|
46986
|
+
|
|
46987
|
+
.crewlet-stepper--plan .crewlet-stepper__step--waiting .crewlet-stepper__description,
|
|
46988
|
+
.crewlet-stepper--plan .crewlet-stepper__step--optional .crewlet-stepper__description,
|
|
46989
|
+
.crewlet-stepper--plan .crewlet-stepper__step--skipped .crewlet-stepper__description {
|
|
46990
|
+
color: var(--color-text-tertiary);
|
|
46991
|
+
}
|
|
46992
|
+
|
|
46993
|
+
.crewlet-stepper--plan .crewlet-stepper__step--next .crewlet-stepper__mark {
|
|
46994
|
+
border-color: transparent;
|
|
46995
|
+
background: var(--color-brand-accent-soft);
|
|
46996
|
+
color: var(--color-brand-accent-ink);
|
|
46997
|
+
}
|
|
46998
|
+
|
|
46999
|
+
.crewlet-stepper--plan .crewlet-stepper__step--in-progress .crewlet-stepper__mark,
|
|
47000
|
+
.crewlet-stepper--plan .crewlet-stepper__step--checking .crewlet-stepper__mark {
|
|
47001
|
+
border-color: transparent;
|
|
47002
|
+
background: var(--color-feedback-info-soft);
|
|
47003
|
+
color: var(--color-feedback-info-ink);
|
|
47004
|
+
}
|
|
47005
|
+
|
|
47006
|
+
.crewlet-stepper--plan .crewlet-stepper__step--failed .crewlet-stepper__mark {
|
|
47007
|
+
border-color: transparent;
|
|
47008
|
+
background: var(--color-feedback-danger-soft);
|
|
47009
|
+
color: var(--color-feedback-danger-ink);
|
|
47010
|
+
}
|
|
47011
|
+
|
|
47012
|
+
/* A dashed ring: a step the plan can finish without. */
|
|
47013
|
+
.crewlet-stepper--plan .crewlet-stepper__step--optional .crewlet-stepper__mark,
|
|
47014
|
+
.crewlet-stepper--plan .crewlet-stepper__step--skipped .crewlet-stepper__mark {
|
|
47015
|
+
border-style: dashed;
|
|
47016
|
+
}
|
|
47017
|
+
|
|
47018
|
+
/* A change that found nothing to change: finished, drawn in the success tint. */
|
|
47019
|
+
.crewlet-stepper--plan .crewlet-stepper__step--not-needed .crewlet-stepper__mark {
|
|
47020
|
+
border-color: transparent;
|
|
47021
|
+
background: var(--color-feedback-success-soft);
|
|
47022
|
+
color: var(--color-feedback-success-ink);
|
|
47023
|
+
}
|
|
47024
|
+
|
|
47025
|
+
.crewlet-stepper--plan .crewlet-stepper__step--not-needed > .crewlet-stepper__row {
|
|
47026
|
+
color: var(--color-text-secondary);
|
|
47027
|
+
}
|
|
47028
|
+
|
|
47029
|
+
/* A set-aside step's clock in the secondary ink, and the line saying when it comes back. */
|
|
47030
|
+
.crewlet-stepper--plan .crewlet-stepper__step--set-aside .crewlet-stepper__mark {
|
|
47031
|
+
color: var(--color-text-secondary);
|
|
47032
|
+
}
|
|
47033
|
+
|
|
47034
|
+
.crewlet-stepper__until {
|
|
47035
|
+
color: var(--color-text-secondary);
|
|
47036
|
+
font-size: var(--font-size-xs);
|
|
47037
|
+
font-weight: var(--font-weight-regular);
|
|
47038
|
+
line-height: var(--font-line-height-snug);
|
|
47039
|
+
}
|
|
47040
|
+
|
|
47041
|
+
.crewlet-stepper__revision {
|
|
47042
|
+
display: inline-flex;
|
|
47043
|
+
}
|
|
47044
|
+
|
|
47045
|
+
/* THE REMOVED LIST: the steps a revision dropped, under the plan, struck through. */
|
|
47046
|
+
.crewlet-stepper__removed {
|
|
47047
|
+
display: flex;
|
|
47048
|
+
flex-direction: column;
|
|
47049
|
+
gap: var(--spacing-1);
|
|
47050
|
+
padding-inline: var(--spacing-2);
|
|
47051
|
+
font-family: var(--font-family-sans);
|
|
47052
|
+
}
|
|
47053
|
+
|
|
47054
|
+
.crewlet-stepper__removed-title {
|
|
47055
|
+
color: var(--color-text-secondary);
|
|
47056
|
+
font-size: var(--font-size-xs);
|
|
47057
|
+
font-weight: var(--font-weight-medium);
|
|
47058
|
+
line-height: var(--font-line-height-snug);
|
|
47059
|
+
}
|
|
47060
|
+
|
|
47061
|
+
.crewlet-stepper__removed-list {
|
|
47062
|
+
display: flex;
|
|
47063
|
+
flex-direction: column;
|
|
47064
|
+
gap: var(--spacing-1);
|
|
47065
|
+
margin: 0;
|
|
47066
|
+
padding: 0;
|
|
47067
|
+
list-style: none;
|
|
47068
|
+
color: var(--color-text-tertiary);
|
|
47069
|
+
font-size: var(--font-size-sm);
|
|
47070
|
+
line-height: var(--font-line-height-snug);
|
|
47071
|
+
overflow-wrap: anywhere;
|
|
47072
|
+
}
|
|
47073
|
+
|
|
47074
|
+
.crewlet-stepper__removed-list del {
|
|
47075
|
+
text-decoration: line-through;
|
|
47076
|
+
text-decoration-thickness: 1px;
|
|
47077
|
+
}
|
|
47078
|
+
|
|
47079
|
+
/* The body is the step's own content, so it takes the primary ink at the regular weight. */
|
|
47080
|
+
.crewlet-stepper__body {
|
|
47081
|
+
display: flex;
|
|
47082
|
+
flex-direction: column;
|
|
47083
|
+
gap: var(--spacing-3);
|
|
47084
|
+
min-width: 0;
|
|
47085
|
+
margin-top: var(--spacing-2);
|
|
47086
|
+
color: var(--color-text-primary);
|
|
47087
|
+
font-weight: var(--font-weight-regular);
|
|
47088
|
+
}
|
|
47089
|
+
|
|
47090
|
+
.crewlet-stepper__body[hidden] {
|
|
47091
|
+
display: none;
|
|
47092
|
+
}
|
|
47093
|
+
|
|
47094
|
+
/* A folded done step's title opens its body again. */
|
|
47095
|
+
.crewlet-stepper__toggle {
|
|
47096
|
+
appearance: none;
|
|
47097
|
+
max-width: 100%;
|
|
47098
|
+
margin: 0;
|
|
47099
|
+
padding: 0;
|
|
47100
|
+
border: 0;
|
|
47101
|
+
border-radius: var(--radius-sm);
|
|
47102
|
+
background: transparent;
|
|
47103
|
+
color: inherit;
|
|
47104
|
+
font-family: inherit;
|
|
47105
|
+
font-size: inherit;
|
|
47106
|
+
text-align: start;
|
|
47107
|
+
cursor: pointer;
|
|
47108
|
+
}
|
|
47109
|
+
|
|
47110
|
+
.crewlet-stepper__toggle:hover {
|
|
47111
|
+
color: var(--color-text-primary);
|
|
47112
|
+
}
|
|
47113
|
+
|
|
47114
|
+
.crewlet-stepper__toggle:focus-visible {
|
|
47115
|
+
outline: 2px solid var(--color-focus);
|
|
47116
|
+
outline-offset: 2px;
|
|
47117
|
+
}
|
|
47118
|
+
|
|
47119
|
+
.crewlet-stepper__chevron {
|
|
47120
|
+
flex: none;
|
|
47121
|
+
color: var(--color-text-tertiary);
|
|
47122
|
+
}
|
|
47123
|
+
|
|
46873
47124
|
|
|
46874
47125
|
/* SuggestionRow-WSU34POM.css */
|
|
46875
47126
|
/*
|
package/dist/utils/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
|
|
|
5
5
|
export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
6
6
|
export { SECRET_INPUT_PROPS } from '../chunk-NICEDVZM.js';
|
|
7
7
|
export { tokenMs } from '../chunk-HTS5RJ7S.js';
|
|
8
|
-
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
|
|
9
8
|
export { attachRef, composeRefs, useComposedRef } from '../chunk-L72URIHR.js';
|
|
10
9
|
export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, returnFocus, trackFocusModality, useFocusModality } from '../chunk-4ITETIGZ.js';
|
|
10
|
+
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
|
|
11
11
|
export { cx } from '../chunk-ODEQTPFM.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.196.0",
|
|
4
4
|
"description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"clean": "rm -rf dist src/generated"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@crewlethq/icons": "0.
|
|
47
|
-
"@crewlethq/tokens": "0.
|
|
46
|
+
"@crewlethq/icons": "0.196.0",
|
|
47
|
+
"@crewlethq/tokens": "0.196.0",
|
|
48
48
|
"prosemirror-commands": "1.7.2",
|
|
49
49
|
"prosemirror-gapcursor": "1.4.1",
|
|
50
50
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-2MN3RNRM.js
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
|
-
import { Spinner } from './chunk-XSPCITPN.js';
|
|
3
|
-
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
-
import './Stepper-BRWYNQAC.css';
|
|
6
|
-
import './StepList-MQVJ3DZF.css';
|
|
7
|
-
import { CircleCheckGlyph, CircleAlertGlyph, LockGlyph, CircleStopGlyph, CircleDashedGlyph, ClockGlyph, CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
8
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import { Fragment as Fragment$1 } from 'react';
|
|
10
|
-
|
|
11
|
-
function Stepper({
|
|
12
|
-
steps,
|
|
13
|
-
current,
|
|
14
|
-
label,
|
|
15
|
-
tone = "info",
|
|
16
|
-
pulse = false,
|
|
17
|
-
orientation = "horizontal",
|
|
18
|
-
onSelect,
|
|
19
|
-
reached,
|
|
20
|
-
doneLabel = "Done",
|
|
21
|
-
optionalLabel = "Optional",
|
|
22
|
-
attentionLabel = "Needs attention",
|
|
23
|
-
className,
|
|
24
|
-
...rest
|
|
25
|
-
}) {
|
|
26
|
-
const seen = /* @__PURE__ */ new Set();
|
|
27
|
-
for (const step of steps) {
|
|
28
|
-
if (seen.has(step.id)) throw new RangeError(`Stepper step ids must be unique; "${step.id}" is used twice`);
|
|
29
|
-
seen.add(step.id);
|
|
30
|
-
}
|
|
31
|
-
const ids = () => steps.map((step) => `"${step.id}"`).join(", ");
|
|
32
|
-
const at = current === null ? steps.length : steps.findIndex((step) => step.id === current);
|
|
33
|
-
if (at < 0) {
|
|
34
|
-
throw new RangeError(
|
|
35
|
-
`Stepper current must be the id of one of its steps, or null once every step is done; "${current}" is not one of ${ids()}`
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
const furthest = reached === void 0 ? at : steps.findIndex((step) => step.id === reached);
|
|
39
|
-
if (furthest < 0) throw new RangeError(`Stepper reached must be the id of one of its steps; "${reached}" is not one of ${ids()}`);
|
|
40
|
-
for (const [index, step] of steps.entries()) {
|
|
41
|
-
if (step.status === "current" && index !== at) {
|
|
42
|
-
throw new RangeError(`Stepper step "${step.id}" says it is current, but current is ${current === null ? "null" : `"${current}"`}`);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
if (steps.length === 0) return null;
|
|
46
|
-
const visitedTo = Math.max(at, furthest);
|
|
47
|
-
const vertical = orientation === "vertical";
|
|
48
|
-
const drawnOf = (step, index) => {
|
|
49
|
-
if (index === at) return "current";
|
|
50
|
-
if (step.status !== void 0 && step.status !== "current") return step.status;
|
|
51
|
-
return index < at ? "done" : "upcoming";
|
|
52
|
-
};
|
|
53
|
-
return (
|
|
54
|
-
/*
|
|
55
|
-
* `role="list"` although an `ol` already has one, which is why the lint
|
|
56
|
-
* rule that calls it redundant is silenced here rather than obeyed, as
|
|
57
|
-
* `Legend` and `DiffList` silence it: the stylesheet takes the markers off,
|
|
58
|
-
* and WebKit answers a marker-less list as a group of paragraphs, so a
|
|
59
|
-
* reader would no longer be told how many steps there are before hearing
|
|
60
|
-
* them. The role puts that back.
|
|
61
|
-
*/
|
|
62
|
-
// eslint-disable-next-line jsx-a11y/no-redundant-roles
|
|
63
|
-
/* @__PURE__ */ jsx(
|
|
64
|
-
"ol",
|
|
65
|
-
{
|
|
66
|
-
...rest,
|
|
67
|
-
role: "list",
|
|
68
|
-
className: cx(
|
|
69
|
-
"crewlet-stepper",
|
|
70
|
-
`crewlet-stepper--${tone}`,
|
|
71
|
-
vertical && "crewlet-stepper--vertical",
|
|
72
|
-
onSelect && "crewlet-stepper--selectable",
|
|
73
|
-
className
|
|
74
|
-
),
|
|
75
|
-
"aria-label": label,
|
|
76
|
-
children: steps.map((step, index) => {
|
|
77
|
-
const drawn = drawnOf(step, index);
|
|
78
|
-
const isCurrent = drawn === "current";
|
|
79
|
-
const attention = drawn === "attention" || isCurrent && step.status === "attention";
|
|
80
|
-
const optional = drawn === "optional" || isCurrent && step.status === "optional";
|
|
81
|
-
const note = attention ? attentionLabel : optional ? optionalLabel : null;
|
|
82
|
-
const selectable = onSelect !== void 0 && index <= visitedTo;
|
|
83
|
-
const mark = drawn === "done" ? /* @__PURE__ */ jsx(CheckGlyph, { size: "xs", className: "crewlet-stepper__check" }) : attention ? /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "xs", className: "crewlet-stepper__warning" }) : isCurrent ? /* @__PURE__ */ jsx(StatusDot, { tone, pulse, className: "crewlet-stepper__dot" }) : vertical ? /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__number", "aria-hidden": "true", children: index + 1 }) : null;
|
|
84
|
-
const words = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
85
|
-
drawn === "done" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
86
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: doneLabel }),
|
|
87
|
-
" "
|
|
88
|
-
] }) : null,
|
|
89
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-stepper__label", children: step.label }),
|
|
90
|
-
note !== null && !vertical ? /* @__PURE__ */ jsx(VisuallyHidden, { children: `, ${note}` }) : null
|
|
91
|
-
] });
|
|
92
|
-
const content = vertical ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
93
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-stepper__mark", children: mark }),
|
|
94
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-stepper__text", children: [
|
|
95
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-stepper__title", children: words }),
|
|
96
|
-
step.description ? /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__description", children: step.description }) : null,
|
|
97
|
-
note !== null ? /* @__PURE__ */ jsx("span", { className: "crewlet-stepper__note", children: note }) : null
|
|
98
|
-
] })
|
|
99
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
100
|
-
mark,
|
|
101
|
-
words
|
|
102
|
-
] });
|
|
103
|
-
const surface = vertical ? "crewlet-stepper__row" : "crewlet-stepper__chip";
|
|
104
|
-
return /* @__PURE__ */ jsx(
|
|
105
|
-
"li",
|
|
106
|
-
{
|
|
107
|
-
className: cx(
|
|
108
|
-
"crewlet-stepper__step",
|
|
109
|
-
`crewlet-stepper__step--${drawn}`,
|
|
110
|
-
attention && drawn !== "attention" && "crewlet-stepper__step--attention"
|
|
111
|
-
),
|
|
112
|
-
"aria-current": isCurrent && !selectable ? "step" : void 0,
|
|
113
|
-
children: selectable ? /* @__PURE__ */ jsx(
|
|
114
|
-
"button",
|
|
115
|
-
{
|
|
116
|
-
type: "button",
|
|
117
|
-
className: cx(surface, "crewlet-stepper__target"),
|
|
118
|
-
"aria-current": isCurrent ? "step" : void 0,
|
|
119
|
-
onClick: () => onSelect(step.id),
|
|
120
|
-
children: content
|
|
121
|
-
}
|
|
122
|
-
) : /* @__PURE__ */ jsx("span", { className: surface, children: content })
|
|
123
|
-
},
|
|
124
|
-
step.id
|
|
125
|
-
);
|
|
126
|
-
})
|
|
127
|
-
}
|
|
128
|
-
)
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
var STEP_STATES = [
|
|
132
|
-
"running",
|
|
133
|
-
"done",
|
|
134
|
-
"failed",
|
|
135
|
-
"refused",
|
|
136
|
-
"stopped",
|
|
137
|
-
"waiting",
|
|
138
|
-
"pending"
|
|
139
|
-
];
|
|
140
|
-
var STEP_STATE_LABELS = {
|
|
141
|
-
running: "Running",
|
|
142
|
-
done: "Done",
|
|
143
|
-
failed: "Failed",
|
|
144
|
-
refused: "Not permitted",
|
|
145
|
-
stopped: "Stopped",
|
|
146
|
-
waiting: "Waiting for your approval",
|
|
147
|
-
pending: "Not started"
|
|
148
|
-
};
|
|
149
|
-
function StepStateMark({ state, className }) {
|
|
150
|
-
return /* @__PURE__ */ jsx("span", { className: cx("crewlet-step-mark", `crewlet-step-mark--${state}`, className), "aria-hidden": "true", children: state === "running" ? /* @__PURE__ */ jsx(Spinner, { size: "sm" }) : state === "done" ? /* @__PURE__ */ jsx(CircleCheckGlyph, { size: "sm" }) : state === "failed" ? /* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm" }) : state === "refused" ? /* @__PURE__ */ jsx(LockGlyph, { size: "sm" }) : state === "stopped" ? /* @__PURE__ */ jsx(CircleStopGlyph, { size: "sm" }) : state === "pending" ? /* @__PURE__ */ jsx(CircleDashedGlyph, { size: "sm" }) : /* @__PURE__ */ jsx(ClockGlyph, { size: "sm" }) });
|
|
151
|
-
}
|
|
152
|
-
function stepDetailPieces(text) {
|
|
153
|
-
const pieces = [];
|
|
154
|
-
let piece = "";
|
|
155
|
-
for (const character of text) {
|
|
156
|
-
if (character === " ") {
|
|
157
|
-
if (piece) pieces.push(piece);
|
|
158
|
-
pieces.push(" ");
|
|
159
|
-
piece = "";
|
|
160
|
-
continue;
|
|
161
|
-
}
|
|
162
|
-
piece += character;
|
|
163
|
-
if (character === "/" || character === "?" || character === "&") {
|
|
164
|
-
pieces.push(piece);
|
|
165
|
-
piece = "";
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
if (piece) pieces.push(piece);
|
|
169
|
-
return pieces;
|
|
170
|
-
}
|
|
171
|
-
function Detail({ children }) {
|
|
172
|
-
if (typeof children !== "string") return /* @__PURE__ */ jsx(Fragment, { children });
|
|
173
|
-
return /* @__PURE__ */ jsx(Fragment, { children: stepDetailPieces(children).map(
|
|
174
|
-
(piece, index) => piece === " " ? /* @__PURE__ */ jsx(Fragment$1, { children: " " }, index) : /* @__PURE__ */ jsx("span", { className: "crewlet-step-list__piece", children: piece }, index)
|
|
175
|
-
) });
|
|
176
|
-
}
|
|
177
|
-
function StepList({ steps, label, summary, labels: overrides, className, ...rest }) {
|
|
178
|
-
const labels = overrides ? { ...STEP_STATE_LABELS, ...overrides } : STEP_STATE_LABELS;
|
|
179
|
-
const seen = /* @__PURE__ */ new Set();
|
|
180
|
-
for (const step of steps) {
|
|
181
|
-
if (seen.has(step.id)) throw new RangeError(`StepList step ids must be unique; "${step.id}" is used twice`);
|
|
182
|
-
seen.add(step.id);
|
|
183
|
-
}
|
|
184
|
-
return /* @__PURE__ */ jsxs("div", { ...rest, className: cx("crewlet-step-list", className), children: [
|
|
185
|
-
summary === void 0 ? null : /* @__PURE__ */ jsx("div", { className: "crewlet-step-list__summary", children: summary }),
|
|
186
|
-
/* @__PURE__ */ jsx("ol", { role: "list", "aria-label": label, className: "crewlet-step-list__steps", children: steps.map((step) => /* @__PURE__ */ jsxs("li", { className: cx("crewlet-step-list__step", `crewlet-step-list__step--${step.state}`), children: [
|
|
187
|
-
/* @__PURE__ */ jsx(StepStateMark, { state: step.state, className: "crewlet-step-list__mark" }),
|
|
188
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-step-list__text", children: [
|
|
189
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-step-list__label", children: [
|
|
190
|
-
step.label,
|
|
191
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: `, ${labels[step.state]}` })
|
|
192
|
-
] }),
|
|
193
|
-
step.note === void 0 || step.note === null ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-step-list__note", children: step.note }),
|
|
194
|
-
step.detail === void 0 ? null : /* @__PURE__ */ jsx("code", { className: "crewlet-step-list__detail", children: /* @__PURE__ */ jsx(Detail, { children: step.detail }) })
|
|
195
|
-
] }),
|
|
196
|
-
step.duration === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-step-list__duration", children: step.duration })
|
|
197
|
-
] }, step.id)) })
|
|
198
|
-
] });
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces };
|
|
@@ -2,11 +2,11 @@ import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
|
|
|
2
2
|
import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
|
|
3
3
|
import { copyTextStyles } from './chunk-AKLZJTOJ.js';
|
|
4
4
|
import { characterCountState, CharacterCount } from './chunk-BGVJBX7E.js';
|
|
5
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
6
5
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
|
-
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
8
6
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
9
7
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
8
|
+
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
9
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './Input-YVCNNTYT.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
2
1
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
2
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ArrangeFrame-BW76K5LZ.css';
|
|
5
5
|
import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Divider } from './chunk-6KWNXIDE.js';
|
|
2
2
|
import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
3
3
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
4
|
-
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
5
4
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
|
+
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
6
6
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
2
1
|
import { keyGlyph, isApplePlatform, Kbd } from './chunk-25LIX6UI.js';
|
|
2
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './SendKeys-QVR5TSNA.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { usePresence, releaseFocus } from './chunk-SNKQNAJI.js';
|
|
2
1
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
2
|
+
import { usePresence, releaseFocus } from './chunk-SNKQNAJI.js';
|
|
3
3
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
4
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useListbox } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
3
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
4
3
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
4
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
6
5
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
6
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './TagsInput-MWVVKTT2.css';
|
|
9
9
|
import { forwardRef, useState, useRef, useId, useImperativeHandle, useEffect, useMemo, useLayoutEffect } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
2
|
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
3
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SelectionBar-54W5IFF5.css';
|
|
7
7
|
import { useRef, useEffect } from 'react';
|
|
@@ -2,10 +2,10 @@ import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
|
|
|
2
2
|
import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
|
|
3
3
|
import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
|
|
4
4
|
import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
|
|
5
|
-
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
5
|
import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-25LIX6UI.js';
|
|
7
6
|
import { Menu } from './chunk-43N4EHFR.js';
|
|
8
7
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
8
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
9
9
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
10
10
|
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
11
11
|
import { focusables, useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useAppShellAside } from './chunk-MBEZOURR.js';
|
|
2
2
|
import { ResizeHandle } from './chunk-FQ6J4DK7.js';
|
|
3
3
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
4
|
-
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
4
|
import { useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
|
|
5
|
+
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import { createContext, useId, useRef, useContext, useLayoutEffect, useState, useEffect, useMemo } from 'react';
|
|
8
8
|
import { MinimizeGlyph, MaximizeGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
2
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
2
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
3
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
4
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Tag-H2EA4ZCW.css';
|
|
7
7
|
import './ChipField-D4CW6XFA.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
2
|
-
import { useHeadingLevel, HeadingLevelProvider, nextHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
3
2
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
3
|
+
import { useHeadingLevel, HeadingLevelProvider, nextHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ReadingPane-2VJ4JQ3J.css';
|
|
6
6
|
import { createContext, useId, useRef, useState, useEffect, useLayoutEffect, createElement, useContext } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
2
|
-
import { announce } from './chunk-AZQBGKPR.js';
|
|
3
2
|
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
3
|
+
import { announce } from './chunk-AZQBGKPR.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ReorderHandle-CT5OMUSR.css';
|
|
6
6
|
import { useId, useState, useRef, useCallback, useLayoutEffect, useMemo } from 'react';
|