@crewlethq/ui 0.52.2 → 0.54.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 +26 -0
- package/dist/AgentHandoffPanel/index.js +5 -5
- package/dist/AppShell/index.js +3 -3
- package/dist/{AppShell-BIUFNT3J.css → AppShell-5LPXYUV3.css} +19 -3
- package/dist/ArrangeList/index.js +5 -5
- package/dist/ArtifactBar/index.js +5 -5
- package/dist/ArtifactCard/index.js +5 -5
- package/dist/AvatarPicker/index.js +7 -7
- package/dist/Canvas/index.js +2 -2
- package/dist/CanvasBoard/index.js +4 -4
- package/dist/CanvasToolbar/index.js +3 -3
- package/dist/Checkbox/index.js +4 -4
- package/dist/ColorField/index.js +4 -4
- package/dist/Combobox/index.js +4 -4
- package/dist/CommandPalette/index.js +4 -4
- package/dist/CommentThread/index.js +5 -5
- package/dist/Composer/index.js +4 -4
- package/dist/ConfirmField/index.js +4 -4
- package/dist/ContrastHelp/index.js +1 -1
- package/dist/DataGrid/index.js +5 -5
- package/dist/DataTable/index.js +6 -6
- package/dist/DataView/index.js +8 -8
- package/dist/DateTimePicker/index.js +2 -2
- package/dist/DocTabsEditor/index.js +5 -5
- package/dist/{Editor-FEKMRFBK.js → Editor-RMM3NQJ2.js} +4 -4
- package/dist/FolderTile/FolderTile.d.ts +20 -13
- package/dist/FolderTile/index.d.ts +1 -1
- package/dist/FolderTile/index.js +1 -1
- package/dist/{FolderTile-MIUEB7SO.css → FolderTile-NM7CRTVH.css} +168 -29
- package/dist/HuePicker/index.js +5 -5
- package/dist/Input/index.js +3 -3
- package/dist/LinkInterstitial/index.js +1 -1
- package/dist/ListInput/index.js +4 -4
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/Menu/index.js +2 -2
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/Modal/index.js +1 -1
- package/dist/OrgTable/index.js +1 -1
- package/dist/PresenterView/index.js +1 -1
- package/dist/PrincipalPicker/index.js +5 -5
- package/dist/ReviewList/ReviewList.d.ts +58 -0
- package/dist/ReviewList/index.d.ts +3 -0
- package/dist/ReviewList/index.js +6 -0
- package/dist/ReviewList-TIN6C2JN.css +116 -0
- package/dist/RichEditor/index.js +1 -1
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SetupWizard/SetupWizard.d.ts +17 -11
- package/dist/SetupWizard/index.js +1 -1
- package/dist/{SetupWizard-GZK5UDKC.css → SetupWizard-Z54H6RYW.css} +86 -15
- package/dist/ShareDialog/index.js +1 -1
- package/dist/SheetColumnEditor/index.js +9 -9
- package/dist/SheetGrid/index.js +4 -4
- package/dist/SlideFilmstrip/index.js +4 -4
- package/dist/Switcher/index.js +4 -4
- package/dist/Tabs/index.js +3 -3
- package/dist/TagsInput/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/TimeWindowPicker/index.js +4 -4
- package/dist/TreeCanvas/index.js +3 -3
- package/dist/TreeGrid/index.js +1 -1
- package/dist/VersionCompare/index.js +5 -5
- package/dist/{chunk-D6MTBXAJ.js → chunk-4QIGQC6Y.js} +2 -2
- package/dist/{chunk-CQEYF3UW.js → chunk-6PEALINJ.js} +2 -2
- package/dist/{chunk-2GIWL7IS.js → chunk-BR4FA2NG.js} +1 -1
- package/dist/{chunk-VP2ODUCC.js → chunk-CNTBUK24.js} +2 -2
- package/dist/{chunk-J53T2QAH.js → chunk-CONCQJ2X.js} +4 -4
- package/dist/{chunk-GRKGLZFM.js → chunk-DTCX5KCL.js} +4 -4
- package/dist/{chunk-EZ43L6T7.js → chunk-DU5AHR5B.js} +1 -1
- package/dist/{chunk-3NXWH5NC.js → chunk-E2X2MXVK.js} +1 -1
- package/dist/{chunk-G5SUSCWL.js → chunk-EMC2QD76.js} +1 -1
- package/dist/{chunk-SS4XCUUJ.js → chunk-F45VSK2M.js} +2 -2
- package/dist/{chunk-ILFEWRLG.js → chunk-GKRPPSWY.js} +1 -1
- package/dist/{chunk-7PE56HHD.js → chunk-GM2LN24I.js} +1 -1
- package/dist/{chunk-5O72FSOK.js → chunk-HEBW53YG.js} +2 -2
- package/dist/{chunk-VN47PYUF.js → chunk-IRAS2CZ5.js} +3 -3
- package/dist/{chunk-CUL5XV6O.js → chunk-JM5AN3CF.js} +1 -1
- package/dist/{chunk-SQ4JFHO7.js → chunk-K2FNW3MK.js} +1 -1
- package/dist/{chunk-3QSKDZR5.js → chunk-LHKIP4ZP.js} +2 -2
- package/dist/{chunk-VVOPDWLX.js → chunk-LVFG2RER.js} +1 -1
- package/dist/{chunk-SEPSXOGJ.js → chunk-LXCRHVMZ.js} +1 -1
- package/dist/{chunk-GPZXBJFU.js → chunk-M5LON3CU.js} +2 -2
- package/dist/{chunk-CAVWDJF4.js → chunk-MZ3QFQDL.js} +1 -1
- package/dist/{chunk-WXOYHVWG.js → chunk-N224FUS3.js} +1 -1
- package/dist/{chunk-X4NIE7CI.js → chunk-NILOJV62.js} +1 -1
- package/dist/chunk-OBUQVGEG.js +38 -0
- package/dist/{chunk-C6Z3MLSA.js → chunk-PZQK7DWI.js} +1 -1
- package/dist/{chunk-XS2FJVMT.js → chunk-PZZHO6OS.js} +1 -1
- package/dist/{chunk-SSHDQBHR.js → chunk-QEVW4DIN.js} +1 -1
- package/dist/{chunk-RQI43UJ7.js → chunk-QRA2GOK2.js} +1 -1
- package/dist/{chunk-34RMTXDZ.js → chunk-RBUA7ZNK.js} +1 -1
- package/dist/{chunk-6FVGSWLS.js → chunk-SMVWDO72.js} +1 -1
- package/dist/{chunk-FXHWOXGD.js → chunk-TFIINTEU.js} +17 -9
- package/dist/{chunk-5WYPSVRX.js → chunk-UD76FCAO.js} +1 -1
- package/dist/{chunk-RFPCHMSX.js → chunk-VBEMIZIJ.js} +1 -1
- package/dist/{chunk-NMR7AJSB.js → chunk-VEXOODVM.js} +1 -1
- package/dist/{chunk-DTSZUH6H.js → chunk-WXWMHYKW.js} +1 -1
- package/dist/{chunk-FNPZ3LLQ.js → chunk-XNKARRTG.js} +2 -2
- package/dist/{chunk-UJ4VVK7R.js → chunk-XS7HRQVY.js} +1 -1
- package/dist/{chunk-6VQA2LZC.js → chunk-ZBZUTUE7.js} +2 -2
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +68 -67
- package/dist/index.js +68 -67
- package/dist/styles.css +395 -50
- package/package.json +3 -3
- package/dist/{chunk-SXBJMBSV.js → chunk-25S5YROP.js} +2 -2
- package/dist/{chunk-TMM32U7D.js → chunk-3JIZ2A6K.js} +1 -1
- package/dist/{chunk-P432I5DQ.js → chunk-55MPFB2U.js} +0 -0
- package/dist/{chunk-OCRVY42T.js → chunk-F6CKQX5D.js} +1 -1
- package/dist/{chunk-ZFM5L7M4.js → chunk-I6NNUIIT.js} +1 -1
- package/dist/{chunk-D7Q5MQRF.js → chunk-ICPQIAD6.js} +1 -1
- package/dist/{chunk-LJHH4WWB.js → chunk-QLEJPU5R.js} +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
4
|
import { useModalLayer, focusables } from './chunk-H5XTJ7GJ.js';
|
|
5
5
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
9
|
-
import './AppShell-
|
|
9
|
+
import './AppShell-5LPXYUV3.css';
|
|
10
10
|
import { createContext, forwardRef, useContext, useId, useState, useRef, useCallback, useEffect, useLayoutEffect } from 'react';
|
|
11
11
|
import { breakpoint } from '@crewlethq/tokens';
|
|
12
12
|
import { ChevronUpGlyph, ChevronsUpDownGlyph, ChevronRightGlyph, MenuGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useReorder } from './chunk-XJ2QEBMM.js';
|
|
2
2
|
import { Kbd } from './chunk-SMBKXWML.js';
|
|
3
|
-
import { FormField, Textarea } from './chunk-
|
|
3
|
+
import { FormField, Textarea } from './chunk-QLEJPU5R.js';
|
|
4
4
|
import { characterCountState, CharacterCount, countCharacters } from './chunk-XCUUI7E7.js';
|
|
5
|
-
import { announce } from './chunk-RSAQOKH3.js';
|
|
6
5
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
7
6
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
7
|
+
import { announce } from './chunk-RSAQOKH3.js';
|
|
8
8
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ListInput-RLQND5QK.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Note } from './chunk-5SZGKSGL.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-NILOJV62.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-ICPQIAD6.js';
|
|
4
4
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-JMYNIAHK.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-XQZ6EWOE.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-RBUA7ZNK.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-QRA2GOK2.js';
|
|
6
6
|
import { Kbd } from './chunk-SMBKXWML.js';
|
|
7
|
-
import { FormField, Input } from './chunk-
|
|
8
|
-
import { Menu } from './chunk-
|
|
7
|
+
import { FormField, Input } from './chunk-QLEJPU5R.js';
|
|
8
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
9
9
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
10
10
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-DKB73KZI.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { DateTimePicker } from './chunk-I6NNUIIT.js';
|
|
3
|
+
import { DataTable } from './chunk-HEBW53YG.js';
|
|
4
4
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
5
5
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
6
6
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
7
7
|
import { RelativeTime } from './chunk-3CZ7XAVY.js';
|
|
8
8
|
import { Kbd } from './chunk-SMBKXWML.js';
|
|
9
|
-
import { Input } from './chunk-
|
|
9
|
+
import { Input } from './chunk-QLEJPU5R.js';
|
|
10
10
|
import { Count } from './chunk-BHHIIK3M.js';
|
|
11
|
-
import { Menu } from './chunk-
|
|
11
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
12
12
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
13
13
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
14
14
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
|
|
2
2
|
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-3CZ7XAVY.js';
|
|
3
3
|
import { Document } from './chunk-PWG3VHRQ.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-XS7HRQVY.js';
|
|
5
5
|
import { Count } from './chunk-BHHIIK3M.js';
|
|
6
6
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
7
7
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Timeline } from './chunk-AUQPBL4O.js';
|
|
2
2
|
import { Section } from './chunk-JQ7IFSF6.js';
|
|
3
3
|
import { Disclosure } from './chunk-OGXHZHRX.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-XS7HRQVY.js';
|
|
5
5
|
import { ArtifactPanel } from './chunk-NBDN5JZV.js';
|
|
6
6
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
-
import { tabId } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-SMVWDO72.js';
|
|
3
|
+
import { tabId } from './chunk-GKRPPSWY.js';
|
|
4
4
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './MarkdownEditor-WOKV7CLK.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
2
2
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
3
3
|
import { Count } from './chunk-BHHIIK3M.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
5
5
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -2,8 +2,8 @@ import { Modal } from './chunk-YCC2S7DF.js';
|
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
3
|
import { EmptyValue } from './chunk-EUCC37WY.js';
|
|
4
4
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
6
|
-
import { Menu } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-QRA2GOK2.js';
|
|
6
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
7
7
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
8
8
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Tooltip } from './chunk-I33UIUZD.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-SMVWDO72.js';
|
|
3
3
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
4
4
|
import { isApplePlatform, Kbd } from './chunk-SMBKXWML.js';
|
|
5
|
-
import { Menu } from './chunk-
|
|
5
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
6
6
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
7
|
-
import { IconButton } from './chunk-LACA4JGC.js';
|
|
8
7
|
import { returnFocus } from './chunk-NUZHC6MM.js';
|
|
8
|
+
import { IconButton } from './chunk-LACA4JGC.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ArtifactKinds-O3CALPVX.css';
|
|
11
11
|
import './ArtifactBar-UMZCTARR.css';
|
|
@@ -4,7 +4,7 @@ import { RelativeTime } from './chunk-3CZ7XAVY.js';
|
|
|
4
4
|
import { AvatarStack } from './chunk-5AQBPHZD.js';
|
|
5
5
|
import { ArtifactKindGround } from './chunk-RV6XB5UV.js';
|
|
6
6
|
import { Card } from './chunk-INHXF2CL.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-QRA2GOK2.js';
|
|
8
8
|
import { ArtifactAccessGlyph } from './chunk-BGLKLXL3.js';
|
|
9
9
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-RMEBFYL7.js';
|
|
2
2
|
import { useReorder } from './chunk-XJ2QEBMM.js';
|
|
3
3
|
import { Kbd, isApplePlatform } from './chunk-SMBKXWML.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './SlideFilmstrip-PAT7P4OG.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HuePicker } from './chunk-
|
|
1
|
+
import { HuePicker } from './chunk-RBUA7ZNK.js';
|
|
2
2
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
3
|
-
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
4
3
|
import { CharacterPicker } from './chunk-SNQRGH4A.js';
|
|
4
|
+
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './AvatarPicker-PREY36MG.css';
|
|
@@ -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-RMM3NQJ2.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-SMVWDO72.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -3,11 +3,11 @@ import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
|
3
3
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
4
4
|
import { KeyChip, highlightMatch } from './chunk-FYTIJM2T.js';
|
|
5
5
|
import { Skeleton } from './chunk-TEUQWOWZ.js';
|
|
6
|
-
import { Input } from './chunk-
|
|
7
|
-
import { announce } from './chunk-RSAQOKH3.js';
|
|
6
|
+
import { Input } from './chunk-QLEJPU5R.js';
|
|
8
7
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
9
8
|
import { focusables, isComposing } from './chunk-H5XTJ7GJ.js';
|
|
10
9
|
import { returnFocus } from './chunk-NUZHC6MM.js';
|
|
10
|
+
import { announce } from './chunk-RSAQOKH3.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
13
13
|
import './Switcher-K3EPA2RB.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeState, useMeasuredSizes, layoutForest, treeAncestors, useLayoutAnchor, treeExpandable, layoutConnectors, treeItemAction, treeStep, treePosInSet, treeSetSize, treeLevel, placeGroups } from './chunk-MY374UUD.js';
|
|
2
|
-
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-
|
|
2
|
+
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-ICPQIAD6.js';
|
|
3
3
|
import { focusables } from './chunk-H5XTJ7GJ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './TreeCanvas-QA3PDFTK.css';
|
|
@@ -9,7 +9,7 @@ import { Popover } from './chunk-KHJIEPZV.js';
|
|
|
9
9
|
import { Tooltip } from './chunk-I33UIUZD.js';
|
|
10
10
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
11
11
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
12
|
-
import { Menu } from './chunk-
|
|
12
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
13
13
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
14
14
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
15
15
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
2
|
-
import { ShortcutTip } from './chunk-
|
|
2
|
+
import { ShortcutTip } from './chunk-ICPQIAD6.js';
|
|
3
3
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CanvasToolbar-EM5EVZED.css';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IconTile } from './chunk-IXJHTFXG.js';
|
|
2
|
+
import { Tag } from './chunk-KYIAFNU7.js';
|
|
3
|
+
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
4
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
+
import './ReviewList-TIN6C2JN.css';
|
|
6
|
+
import { createElement } from 'react';
|
|
7
|
+
import { CircleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
8
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
function ReviewList({ label, className, children, ...rest }) {
|
|
11
|
+
return /* @__PURE__ */ jsx("ul", { ...rest, "aria-label": label, className: cx("crewlet-review-list", className), children });
|
|
12
|
+
}
|
|
13
|
+
function ReviewListItem({ icon, title, status, action, error, className, children, ...rest }) {
|
|
14
|
+
const level = useHeadingLevel();
|
|
15
|
+
return /* @__PURE__ */ jsxs(
|
|
16
|
+
"li",
|
|
17
|
+
{
|
|
18
|
+
...rest,
|
|
19
|
+
className: cx("crewlet-review-list__item", !icon && "crewlet-review-list__item--plain", Boolean(error) && "is-error", className),
|
|
20
|
+
children: [
|
|
21
|
+
icon ? /* @__PURE__ */ jsx(IconTile, { size: "sm", className: "crewlet-review-list__icon", children: icon }) : null,
|
|
22
|
+
/* @__PURE__ */ jsxs("div", { className: "crewlet-review-list__head", children: [
|
|
23
|
+
createElement(headingTag(level), { className: "crewlet-review-list__title" }, title),
|
|
24
|
+
status ? /* @__PURE__ */ jsx(Tag, { size: "sm", variant: status.tone, children: status.label }) : null
|
|
25
|
+
] }),
|
|
26
|
+
action ? /* @__PURE__ */ jsx("div", { className: "crewlet-review-list__action", children: action }) : null,
|
|
27
|
+
children !== void 0 && children !== null && children !== false ? /* @__PURE__ */ jsx("div", { className: "crewlet-review-list__body", children }) : null,
|
|
28
|
+
error ? /* @__PURE__ */ jsxs("p", { className: "crewlet-review-list__error", role: "alert", children: [
|
|
29
|
+
/* @__PURE__ */ jsx(CircleAlertGlyph, { size: "sm", "aria-hidden": "true" }),
|
|
30
|
+
/* @__PURE__ */ jsx("span", { children: error })
|
|
31
|
+
] }) : null
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
ReviewList.Item = ReviewListItem;
|
|
37
|
+
|
|
38
|
+
export { ReviewList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-QLEJPU5R.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Switch } from './chunk-A722MUNR.js';
|
|
2
2
|
import { useReorder } from './chunk-XJ2QEBMM.js';
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
3
|
+
import { Checkbox } from './chunk-QRA2GOK2.js';
|
|
4
4
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Card } from './chunk-INHXF2CL.js';
|
|
2
2
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './FolderTile-
|
|
4
|
+
import './FolderTile-NM7CRTVH.css';
|
|
5
5
|
import { useId } from 'react';
|
|
6
6
|
import { FolderGlyph } from '@crewlethq/icons/glyphs';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -11,12 +11,15 @@ var CONTENTS = {
|
|
|
11
11
|
folders: (count) => count === 1 ? "1 folder" : `${count} folders`,
|
|
12
12
|
nothing: "Nothing you can open yet"
|
|
13
13
|
};
|
|
14
|
-
function
|
|
14
|
+
function folderContentsParts(contents, labels) {
|
|
15
15
|
const text = { ...CONTENTS, ...labels };
|
|
16
16
|
const parts = [];
|
|
17
17
|
if (contents.artifacts > 0) parts.push(text.artifacts(contents.artifacts));
|
|
18
18
|
if (contents.folders > 0) parts.push(text.folders(contents.folders));
|
|
19
|
-
return parts.length > 0 ? parts
|
|
19
|
+
return parts.length > 0 ? parts : [text.nothing];
|
|
20
|
+
}
|
|
21
|
+
function describeFolderContents(contents, labels) {
|
|
22
|
+
return folderContentsParts(contents, labels).join(" \xB7 ");
|
|
20
23
|
}
|
|
21
24
|
var LABELS = {
|
|
22
25
|
...CONTENTS,
|
|
@@ -54,7 +57,7 @@ function FolderTile({
|
|
|
54
57
|
),
|
|
55
58
|
children: [
|
|
56
59
|
/* @__PURE__ */ jsxs("a", { href, className: "crewlet-folder-tile__link", "aria-labelledby": nameId, "aria-describedby": factsId, children: [
|
|
57
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-folder-tile__glyph", "aria-hidden": "true", children: /* @__PURE__ */ jsx(FolderGlyph, { size:
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-folder-tile__glyph", "aria-hidden": "true", children: /* @__PURE__ */ jsx(FolderGlyph, { size: "lg" }) }),
|
|
58
61
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-folder-tile__body", children: [
|
|
59
62
|
/* @__PURE__ */ jsx("span", { id: nameId, className: "crewlet-folder-tile__name", title: name, children: name }),
|
|
60
63
|
/* @__PURE__ */ jsxs("span", { id: factsId, className: "crewlet-folder-tile__facts", children: [
|
|
@@ -63,10 +66,15 @@ function FolderTile({
|
|
|
63
66
|
selected ? `, ${text.selected}` : "",
|
|
64
67
|
visibility || contents ? ", " : ""
|
|
65
68
|
] }),
|
|
66
|
-
visibility ? /* @__PURE__ */
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
visibility || contents ? /* @__PURE__ */ jsxs("span", { className: "crewlet-folder-tile__run", children: [
|
|
70
|
+
visibility ? /* @__PURE__ */ jsx("span", { className: "crewlet-folder-tile__fact crewlet-folder-tile__visibility", children: visibility }) : null,
|
|
71
|
+
contents ? /* @__PURE__ */ jsxs("span", { className: "crewlet-folder-tile__fact crewlet-folder-tile__contents", children: [
|
|
72
|
+
visibility ? /* @__PURE__ */ jsx(VisuallyHidden, { children: ", " }) : null,
|
|
73
|
+
folderContentsParts(contents, text).map((part, index, parts) => /* @__PURE__ */ jsxs("span", { className: "crewlet-folder-tile__count-part", children: [
|
|
74
|
+
part,
|
|
75
|
+
index < parts.length - 1 ? /* @__PURE__ */ jsx("span", { className: "crewlet-folder-tile__count-dot", children: /* @__PURE__ */ jsx(VisuallyHidden, { children: " \xB7 " }) }) : null
|
|
76
|
+
] }, part))
|
|
77
|
+
] }) : null
|
|
70
78
|
] }) : null
|
|
71
79
|
] })
|
|
72
80
|
] })
|
|
@@ -77,4 +85,4 @@ function FolderTile({
|
|
|
77
85
|
);
|
|
78
86
|
}
|
|
79
87
|
|
|
80
|
-
export { FolderTile, describeFolderContents };
|
|
88
|
+
export { FolderTile, describeFolderContents, folderContentsParts };
|
|
@@ -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-QLEJPU5R.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ColorField-2OIOWT3Z.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-BVWSLXTY.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-SMVWDO72.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
1
|
import { Modal } from './chunk-YCC2S7DF.js';
|
|
2
2
|
import { useListbox, useHighlightRest } from './chunk-7KHM2FZH.js';
|
|
3
3
|
import { Kbd } from './chunk-SMBKXWML.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
4
|
+
import { Input } from './chunk-QLEJPU5R.js';
|
|
5
5
|
import { Count } from './chunk-BHHIIK3M.js';
|
|
6
6
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
7
7
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
@@ -4,7 +4,7 @@ import { Disclosure } from './chunk-OGXHZHRX.js';
|
|
|
4
4
|
import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './SetupWizard-
|
|
7
|
+
import './SetupWizard-Z54H6RYW.css';
|
|
8
8
|
import { useId, useRef, useEffect, createElement } from 'react';
|
|
9
9
|
import { breakpoint } from '@crewlethq/tokens';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useReorder } from './chunk-XJ2QEBMM.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
3
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Input } from './chunk-QLEJPU5R.js';
|
|
3
|
+
import { Menu } from './chunk-3JIZ2A6K.js';
|
|
4
4
|
import { IconButton } from './chunk-LACA4JGC.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-XQZ6EWOE.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-GXQ3B46I.js';
|
|
3
3
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
4
|
+
import { Input } from './chunk-QLEJPU5R.js';
|
|
5
5
|
import { Button } from './chunk-OG6CL3EB.js';
|
|
6
6
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
7
|
-
import { IconButton } from './chunk-LACA4JGC.js';
|
|
8
7
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
8
|
+
import { IconButton } from './chunk-LACA4JGC.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './TimeWindowPicker-I3HXC74I.css';
|
|
11
11
|
import { useMemo, useState, useRef, useId, useEffect } from 'react';
|
|
@@ -146,6 +146,7 @@ export * from '../ReadingPane/index.js';
|
|
|
146
146
|
export * from '../RelatedRow/index.js';
|
|
147
147
|
export * from '../RelativeTime/index.js';
|
|
148
148
|
export * from '../Reorder/index.js';
|
|
149
|
+
export * from '../ReviewList/index.js';
|
|
149
150
|
export * from '../RichEditor/index.js';
|
|
150
151
|
export * from '../RichEditorMarkdown/index.js';
|
|
151
152
|
export * from '../SandboxedFrame/index.js';
|