@crewlethq/ui 0.125.0 → 0.126.1
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 +29 -1
- package/dist/AgentHandoffPanel/index.js +5 -5
- package/dist/ArrangeList/index.js +2 -2
- package/dist/ArtifactBar/index.js +6 -6
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/AttentionList/index.js +3 -3
- package/dist/AuthLayout/index.js +4 -4
- package/dist/AvatarPicker/index.js +6 -6
- package/dist/Breadcrumb/index.js +2 -2
- package/dist/BriefCard/index.js +5 -5
- package/dist/Card/index.js +2 -2
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/Charts/index.js +2 -2
- package/dist/Combobox/index.js +2 -2
- package/dist/CommandPalette/index.js +5 -5
- package/dist/CommentThread/index.js +7 -7
- package/dist/Composer/index.js +3 -3
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/DataGrid/DataGrid.d.ts +13 -1
- package/dist/DataGrid/index.js +6 -6
- package/dist/DataGrid/parts.d.ts +3 -1
- package/dist/DataTable/index.js +4 -4
- package/dist/DataView/index.js +7 -7
- package/dist/DatasetSource/index.js +1 -1
- package/dist/DeepWorkCard/index.js +5 -5
- package/dist/DocTabsEditor/index.js +4 -4
- package/dist/EditingStatus/index.js +2 -2
- package/dist/EntityList/index.js +5 -5
- package/dist/FolderTile/index.js +3 -3
- package/dist/GraphCanvas/GraphCanvas.d.ts +35 -7
- package/dist/GraphCanvas/index.d.ts +2 -2
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/{GraphCanvas-UZPZRP6S.css → GraphCanvas-V4VJADVF.css} +103 -16
- package/dist/HuePicker/index.js +4 -4
- package/dist/InlineEditor/index.js +3 -3
- package/dist/KeyValueRows/index.js +3 -3
- package/dist/LayersList/index.js +2 -2
- package/dist/ListInput/index.js +6 -6
- package/dist/LogoSlot/index.js +3 -3
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/MentionMenu/index.js +3 -3
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/ObjectHeader/index.js +2 -2
- package/dist/{ObjectHeader-BH7OBEAL.css → ObjectHeader-3YYG2BAF.css} +4 -2
- package/dist/OpenInAppCard/index.js +5 -5
- package/dist/OrgLabel/index.js +1 -1
- package/dist/{OrgLabel-AZLKOG72.css → OrgLabel-F2PW7B73.css} +1 -1
- package/dist/OrgNode/index.js +2 -2
- package/dist/OrgTable/index.js +9 -9
- package/dist/PersonRow/index.js +2 -2
- package/dist/PrincipalPicker/index.js +3 -3
- package/dist/PropertyList/index.js +3 -3
- package/dist/ProposalCard/index.js +7 -7
- package/dist/RailList/index.js +6 -6
- package/dist/RefusalCard/index.js +5 -5
- package/dist/RelatedRow/index.js +3 -3
- package/dist/ResultTableCard/index.js +5 -5
- package/dist/RichEditor/index.js +1 -1
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/{SegmentedControl-HFCBBWKH.css → SegmentedControl-RDBMHV7Q.css} +8 -3
- package/dist/Select/index.js +2 -2
- package/dist/{Select-IG3JWYSJ.css → Select-AF5YMSC6.css} +8 -0
- package/dist/ShareDialog/index.js +4 -4
- package/dist/SheetColumnEditor/index.js +11 -11
- package/dist/StatusCard/index.js +4 -4
- package/dist/Switcher/index.js +6 -6
- package/dist/TableCells/index.js +3 -3
- package/dist/Tabs/index.js +2 -2
- package/dist/Tabs/roving.d.ts +15 -0
- package/dist/{Tabs-244SPRII.css → Tabs-BJZ2W5KB.css} +33 -6
- package/dist/Text/index.js +1 -1
- package/dist/{Text-XOCOU34C.css → Text-6KVFTLYV.css} +17 -0
- package/dist/ThemeGallery/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/TimeRangePicker/index.js +8 -8
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/Toaster/index.js +2 -2
- package/dist/TreeGrid/TreeGrid.d.ts +2 -0
- package/dist/TreeGrid/index.js +7 -7
- package/dist/ValueField/index.js +4 -4
- package/dist/VersionCompare/index.js +5 -5
- package/dist/{chunk-XROJ6XQ3.js → chunk-42I2VSZZ.js} +1 -1
- package/dist/{chunk-KTH2KXZY.js → chunk-46WA7E5V.js} +1 -1
- package/dist/{chunk-XLMURU75.js → chunk-475DOAWF.js} +1 -1
- package/dist/{chunk-5PHBOCIX.js → chunk-4AJVOHLY.js} +3 -3
- package/dist/{chunk-VRDLNMST.js → chunk-54OD6YIS.js} +1 -1
- package/dist/{chunk-GIYIKUJE.js → chunk-5L56E6AF.js} +4 -3
- package/dist/{chunk-5AORKQ5Q.js → chunk-6BTQVM6O.js} +1 -1
- package/dist/{chunk-CVXQWNSM.js → chunk-6IBC6CPE.js} +1 -1
- package/dist/{chunk-5P6LLFEO.js → chunk-766IY2ZW.js} +1 -1
- package/dist/{chunk-EGMQURBR.js → chunk-7F3OPUM5.js} +12 -1
- package/dist/chunk-7U4V36SB.js +3 -0
- package/dist/{chunk-22I4FAEM.js → chunk-7Y5OSXA2.js} +1 -1
- package/dist/{chunk-P42LNYRX.js → chunk-AIIHTVWW.js} +1 -1
- package/dist/{chunk-25CL7J4J.js → chunk-B6AQY6FH.js} +1 -1
- package/dist/{chunk-T4TKY4VZ.js → chunk-BBWCMOK7.js} +1 -1
- package/dist/{chunk-DSBKVP73.js → chunk-CWHFC7FS.js} +134 -110
- package/dist/{chunk-OFNJE4BN.js → chunk-D6I7HBZC.js} +22 -9
- package/dist/{chunk-4PEPSGCZ.js → chunk-DQKNAQWN.js} +1 -1
- package/dist/{chunk-NOKZULW3.js → chunk-E32PP25Z.js} +5 -3
- package/dist/{chunk-SG3MDOVO.js → chunk-ELV2BL4R.js} +2 -2
- package/dist/{chunk-AJCPRBYJ.js → chunk-ESIB6MBQ.js} +2 -2
- package/dist/{chunk-BMXUVFV6.js → chunk-ESLLB6TP.js} +1 -1
- package/dist/{chunk-3C3TSWRR.js → chunk-GJJQPF75.js} +1 -1
- package/dist/{chunk-PMP2WNF4.js → chunk-H6QSHVKY.js} +1 -1
- package/dist/{chunk-GCPSAYA3.js → chunk-HYIBP6MW.js} +2 -2
- package/dist/{chunk-V3ZKGVC2.js → chunk-I2JRUQJ4.js} +1 -1
- package/dist/{chunk-J44ZIWGH.js → chunk-ICRFVQH5.js} +2 -2
- package/dist/{chunk-BIAAOLAX.js → chunk-IYEMN7RK.js} +1 -1
- package/dist/{chunk-DVZRAYX3.js → chunk-JDA4ADTD.js} +1 -1
- package/dist/{chunk-NSUMHNUS.js → chunk-LETSZEMX.js} +1 -1
- package/dist/{chunk-YCT7LRYR.js → chunk-LFW5ISQY.js} +2 -2
- package/dist/{chunk-SIL5WE55.js → chunk-LPQF7Z44.js} +1 -1
- package/dist/{chunk-PEYNAR4F.js → chunk-LV2CE5EN.js} +1 -1
- package/dist/{chunk-ABQTPJPW.js → chunk-M2JND4EM.js} +1 -1
- package/dist/{chunk-OBPLHZMV.js → chunk-M557YJHH.js} +1 -1
- package/dist/{chunk-4PKMM3EZ.js → chunk-MTEQ3WO3.js} +2 -2
- package/dist/{chunk-NNW5MZGO.js → chunk-NKCLA6RG.js} +1 -1
- package/dist/{chunk-4Q7AWZ6O.js → chunk-OIC6S5ES.js} +1 -1
- package/dist/{chunk-VB7KAQBN.js → chunk-ON5A6G3Z.js} +1 -1
- package/dist/{chunk-U2VCSSBW.js → chunk-PCSIMBUQ.js} +3 -3
- package/dist/{chunk-I4FO353C.js → chunk-PIYD74IU.js} +2 -2
- package/dist/{chunk-4VKFZZHS.js → chunk-RFZ5MMLI.js} +1 -1
- package/dist/{chunk-G3NIP7AZ.js → chunk-SHSQNFW2.js} +1 -1
- package/dist/{chunk-7RG5WLBS.js → chunk-SJHSUTB7.js} +3 -3
- package/dist/{chunk-JXE4SCYV.js → chunk-SON7ATOT.js} +1 -1
- package/dist/{chunk-DEVO45TG.js → chunk-SYMLWDV6.js} +1 -1
- package/dist/{chunk-VUYNNILP.js → chunk-TEOUMHAI.js} +1 -1
- package/dist/{chunk-YJ2V7QSY.js → chunk-TLHPKKWZ.js} +4 -4
- package/dist/{chunk-ZY5322MJ.js → chunk-TQ6ZPQI4.js} +1 -1
- package/dist/{chunk-EWJOBD25.js → chunk-U3VDJ7QJ.js} +2 -2
- package/dist/{chunk-SAHYQ53P.js → chunk-UGF5YD5O.js} +1 -1
- package/dist/{chunk-I4V4GUVM.js → chunk-V4T5CQA4.js} +2 -2
- package/dist/{chunk-7L75YB57.js → chunk-VDADSS7I.js} +1 -1
- package/dist/{chunk-PFZKJXEA.js → chunk-VR72FN5R.js} +1 -1
- package/dist/{chunk-WMZ2MROV.js → chunk-WGJRD3PY.js} +1 -1
- package/dist/{chunk-AYVRS4LD.js → chunk-YKCLV77Z.js} +7 -2
- package/dist/{chunk-S4JRQJEP.js → chunk-ZIL6MTMZ.js} +1 -1
- package/dist/generated/index.js +99 -99
- package/dist/index.js +99 -99
- package/dist/styles.css +181 -35
- package/package.json +3 -3
- package/dist/chunk-KWXVG3CH.js +0 -3
- package/dist/{Editor-SBHTMAEK.js → Editor-WIP3YYJ5.js} +2 -2
- package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
- package/dist/{chunk-WUJ54OTI.js → chunk-CWGZE3JW.js} +1 -1
- package/dist/{chunk-3YOLD7WG.js → chunk-F7NHMBGJ.js} +1 -1
- package/dist/{chunk-BF3PFRBE.js → chunk-G3WSU5J7.js} +1 -1
- package/dist/{chunk-L34X7Q6C.js → chunk-LBA2DNKW.js} +1 -1
- package/dist/{chunk-N4O345GS.js → chunk-NK44SXPJ.js} +2 -2
- package/dist/{chunk-FOXA6UZS.js → chunk-PHZJQU73.js} +1 -1
- package/dist/{chunk-Q7WKCU2U.js → chunk-U56B2BAX.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-MTEQ3WO3.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-U3LHWQQK.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-MTEQ3WO3.js';
|
|
3
3
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
4
4
|
import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HuePicker } from './chunk-
|
|
1
|
+
import { HuePicker } from './chunk-766IY2ZW.js';
|
|
2
2
|
import { Popover } from './chunk-KDRJZWE3.js';
|
|
3
|
-
import { CharacterPicker } from './chunk-S4JRQJEP.js';
|
|
4
3
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
4
|
+
import { CharacterPicker } from './chunk-ZIL6MTMZ.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './AvatarPicker-POOJUOKC.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
3
3
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
4
|
-
import { Card } from './chunk-
|
|
4
|
+
import { Card } from './chunk-GJJQPF75.js';
|
|
5
5
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
6
6
|
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
7
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefusalStrip, ReceiptStrip } from './chunk-TMHG4576.js';
|
|
2
2
|
import { ChangeList } from './chunk-NB53SAL4.js';
|
|
3
|
-
import { StatusCard } from './chunk-
|
|
3
|
+
import { StatusCard } from './chunk-VDADSS7I.js';
|
|
4
4
|
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
5
5
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
6
6
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { tabId } from './chunk-
|
|
2
|
-
import { useRoving, tabStop } from './chunk-
|
|
1
|
+
import { tabId } from './chunk-5L56E6AF.js';
|
|
2
|
+
import { useRoving, tabStop } from './chunk-7F3OPUM5.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
4
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
2
|
-
import { Text } from './chunk-
|
|
2
|
+
import { Text } from './chunk-475DOAWF.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './Breadcrumb-SENMIAG2.css';
|
|
5
5
|
import { useRef, useState, useLayoutEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileDrop, FilePickButton } from './chunk-XF5PDUDH.js';
|
|
2
|
-
import { contrastRatio } from './chunk-
|
|
2
|
+
import { contrastRatio } from './chunk-F7NHMBGJ.js';
|
|
3
3
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
4
4
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-WIP3YYJ5.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Combobox } from './chunk-
|
|
1
|
+
import { Select } from './chunk-YKCLV77Z.js';
|
|
2
|
+
import { Combobox } from './chunk-CWGZE3JW.js';
|
|
3
3
|
import { FormField, Textarea, InputAffix } from './chunk-NN44J7BP.js';
|
|
4
4
|
import './Input-YVCNNTYT.css';
|
|
5
5
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
7
|
import './Combobox-F5VEJIAO.css';
|
|
8
|
-
import './Select-
|
|
8
|
+
import './Select-AF5YMSC6.css';
|
|
9
9
|
import './ValueField-EIBD6RYS.css';
|
|
10
10
|
import { useId, useRef, useState } from 'react';
|
|
11
11
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -3,9 +3,9 @@ import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
|
3
3
|
import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
4
4
|
import { Popover } from './chunk-KDRJZWE3.js';
|
|
5
5
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
6
|
-
import { Text } from './chunk-
|
|
7
|
-
import { Input } from './chunk-NN44J7BP.js';
|
|
6
|
+
import { Text } from './chunk-475DOAWF.js';
|
|
8
7
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
8
|
+
import { Input } from './chunk-NN44J7BP.js';
|
|
9
9
|
import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
|
|
10
10
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
11
11
|
import { announce } from './chunk-WGMKERCR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThemeSwatch } from './chunk-3XQUEF5C.js';
|
|
2
2
|
import { useHighlightRest } from './chunk-KW7T23RT.js';
|
|
3
3
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
4
|
-
import { useRoving, tabStop } from './chunk-
|
|
4
|
+
import { useRoving, tabStop } from './chunk-7F3OPUM5.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ThemeGallery-UEFZRT6W.css';
|
|
7
7
|
import { useId } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-MTEQ3WO3.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
3
|
import { Menu } from './chunk-35S25WJZ.js';
|
|
4
4
|
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
2
|
import { FilterPill } from './chunk-E4QX4VET.js';
|
|
3
3
|
import { DateTimePicker } from './chunk-AQZPZYSY.js';
|
|
4
|
-
import { DataTable } from './chunk-
|
|
4
|
+
import { DataTable } from './chunk-PHZJQU73.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
6
6
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
7
7
|
import { Popover } from './chunk-KDRJZWE3.js';
|
|
8
|
-
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
9
8
|
import { Menu } from './chunk-35S25WJZ.js';
|
|
10
|
-
import {
|
|
9
|
+
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
11
10
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
12
11
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
12
|
+
import { Input } from './chunk-NN44J7BP.js';
|
|
13
13
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
14
14
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
15
15
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-YKCLV77Z.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
|
-
import { HueSwatch } from './chunk-
|
|
3
|
+
import { HueSwatch } from './chunk-766IY2ZW.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
6
5
|
import { Menu } from './chunk-35S25WJZ.js';
|
|
7
|
-
import {
|
|
6
|
+
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
8
7
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
9
8
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
9
|
+
import { FormField, Input } from './chunk-NN44J7BP.js';
|
|
10
10
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeGrid } from './chunk-
|
|
2
|
-
import { OrgLabel } from './chunk-
|
|
1
|
+
import { TreeGrid } from './chunk-E32PP25Z.js';
|
|
2
|
+
import { OrgLabel } from './chunk-SYMLWDV6.js';
|
|
3
3
|
import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
|
|
4
4
|
import { AddPill } from './chunk-5W3EYO5Q.js';
|
|
5
5
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Modal } from './chunk-OG4GX2TB.js';
|
|
2
2
|
import { Callout } from './chunk-RCQLXOGS.js';
|
|
3
|
-
import { SegmentedControl } from './chunk-
|
|
4
|
-
import { FormField, Input } from './chunk-NN44J7BP.js';
|
|
3
|
+
import { SegmentedControl } from './chunk-MTEQ3WO3.js';
|
|
5
4
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
5
|
+
import { FormField, Input } from './chunk-NN44J7BP.js';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { ClockGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
|
-
import { Card } from './chunk-
|
|
2
|
+
import { Card } from './chunk-GJJQPF75.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './StatusCard-72STCSWY.css';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys, useHighlightRest } from './chunk-KW7T23RT.js';
|
|
2
|
-
import { useFieldError } from './chunk-JLKO7PSK.js';
|
|
3
2
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
3
|
+
import { useFieldError } from './chunk-JLKO7PSK.js';
|
|
4
4
|
import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
|
|
5
5
|
import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
9
|
-
import './Select-
|
|
9
|
+
import './Select-AF5YMSC6.css';
|
|
10
10
|
import { forwardRef, useId, useMemo, useState, useRef, useCallback, useEffect, useLayoutEffect } from 'react';
|
|
11
11
|
import { createPortal } from 'react-dom';
|
|
12
12
|
import { ChevronDownGlyph, CheckGlyph, SearchGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -233,6 +233,7 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
233
233
|
return out;
|
|
234
234
|
}, [offered]);
|
|
235
235
|
const flat = useMemo(() => groups.flatMap((group) => group.items), [groups]);
|
|
236
|
+
const described = useMemo(() => options.some((option) => Boolean(option.description)), [options]);
|
|
236
237
|
const tickAtEnd = useMemo(() => flat.some((option) => option.leading !== void 0), [flat]);
|
|
237
238
|
const close = useCallback((restore) => {
|
|
238
239
|
setOpen(false);
|
|
@@ -493,6 +494,10 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
493
494
|
className: cx(
|
|
494
495
|
"crewlet-select__menu",
|
|
495
496
|
`crewlet-select__menu--${size}`,
|
|
497
|
+
// SIX ROWS OF THE LIST'S OWN HEIGHT: a row with a second line is two
|
|
498
|
+
// lines tall, so the one-line cap scrolled a list of four described
|
|
499
|
+
// answers and cut the first or the last of them.
|
|
500
|
+
described && "crewlet-select__menu--described",
|
|
496
501
|
container !== null && container !== document.body ? "crewlet-select__menu--in-host" : "crewlet-select__menu--fixed",
|
|
497
502
|
menuClassName
|
|
498
503
|
),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useRoving, tabStop } from './chunk-
|
|
1
|
+
import { useRoving, tabStop } from './chunk-7F3OPUM5.js';
|
|
2
2
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY } from '@crewlethq/icons/characters';
|