@crewlethq/ui 0.172.2 → 0.173.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 +13 -2
- package/dist/AgentHandoffPanel/index.js +12 -12
- package/dist/AgentIdentity/AgentIdentity.d.ts +99 -0
- package/dist/AgentIdentity/AgentIdentitySheet.d.ts +122 -0
- package/dist/AgentIdentity/index.d.ts +6 -0
- package/dist/AgentIdentity/index.js +37 -0
- package/dist/AgentIdentity-KQWGKBNT.css +71 -0
- package/dist/AgentIdentitySheet-D2T7ELGN.css +35 -0
- package/dist/AppShell/index.js +3 -3
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeList/index.js +6 -6
- package/dist/ArtifactBar/index.js +5 -5
- package/dist/ArtifactCard/index.js +7 -7
- package/dist/AuthLayout/index.js +1 -1
- package/dist/AvatarPicker/index.js +7 -7
- package/dist/BriefCard/index.js +4 -4
- package/dist/CheckGrid/index.js +4 -4
- package/dist/Checkbox/index.js +3 -3
- package/dist/ChipField/index.js +2 -2
- package/dist/ColorField/index.js +3 -3
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/Combobox/index.js +4 -4
- package/dist/CommandPalette/index.js +8 -8
- package/dist/CommentThread/index.js +10 -10
- package/dist/Composer/index.js +7 -7
- package/dist/ConfirmField/index.js +3 -3
- package/dist/ContrastHelp/index.js +1 -1
- package/dist/DataGrid/index.js +9 -9
- package/dist/DataTable/index.js +9 -9
- package/dist/DataView/index.js +11 -11
- package/dist/DatasetSource/index.js +3 -3
- package/dist/DeepWorkCard/index.js +5 -5
- package/dist/DocTabsEditor/index.js +8 -8
- package/dist/DockColumn/index.js +1 -1
- package/dist/DurationField/index.js +12 -12
- package/dist/{Editor-B7KMHVA5.js → Editor-MVXYXJLY.js} +4 -4
- package/dist/EmojiPicker/index.js +3 -3
- package/dist/EntityList/index.js +4 -4
- package/dist/GraphCanvas/index.js +1 -1
- package/dist/HuePicker/index.js +5 -5
- package/dist/InlineEditor/index.js +1 -1
- package/dist/Input/index.js +2 -2
- package/dist/KeyValueRows/index.js +5 -5
- package/dist/LinkInterstitial/index.js +1 -1
- package/dist/ListInput/index.js +8 -8
- package/dist/LogoSlot/index.js +2 -2
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/MemberPicker/index.js +4 -4
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/MessageActions/index.js +4 -4
- package/dist/MoneyField/index.js +3 -3
- package/dist/NumberField/index.js +10 -10
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/OrgTable/index.js +11 -11
- package/dist/PeekRail/index.js +1 -1
- package/dist/PresetChips/index.js +5 -5
- package/dist/PrincipalPicker/index.js +5 -5
- package/dist/ProposalCard/index.js +14 -14
- package/dist/RailList/index.js +7 -7
- package/dist/ReactionBar/index.js +4 -4
- package/dist/RefusalCard/index.js +4 -4
- package/dist/ResultTableCard/index.js +5 -5
- package/dist/RichEditor/index.js +2 -2
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/ScopeList/ScopeList.d.ts +53 -0
- package/dist/ScopeList/index.d.ts +3 -0
- package/dist/ScopeList/index.js +23 -0
- package/dist/ScopeList-564YHC7Z.css +72 -0
- package/dist/SectionFrame/index.js +3 -3
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/Select/index.js +2 -2
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SendKeys/index.js +2 -2
- package/dist/SettingForm/index.js +5 -5
- package/dist/SettingsTable/index.js +1 -1
- package/dist/SetupWizard/index.js +3 -3
- package/dist/ShareDialog/index.js +10 -10
- package/dist/SheetColumnEditor/index.js +13 -13
- package/dist/SheetGrid/index.js +4 -4
- package/dist/SidebarNav/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +4 -4
- package/dist/StatusCard/index.js +3 -3
- package/dist/Switcher/index.js +8 -8
- package/dist/TableCells/index.js +5 -5
- package/dist/Tabs/index.js +3 -3
- package/dist/TagsInput/index.js +2 -2
- package/dist/ThemeGallery/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/ThreadSummary/index.js +3 -3
- package/dist/TimeRangePicker/index.js +11 -11
- package/dist/TimeWindowPicker/index.js +7 -7
- package/dist/ToolCallLog/index.js +5 -5
- package/dist/TreeCanvas/index.js +1 -1
- package/dist/TreeGrid/index.js +10 -10
- package/dist/ValueField/index.js +8 -8
- package/dist/VersionCompare/index.js +5 -5
- package/dist/{chunk-P5DKWJMS.js → chunk-2AC3U3DQ.js} +1 -1
- package/dist/{chunk-E7L4N2PY.js → chunk-32GPM3OE.js} +1 -1
- package/dist/{chunk-ERZ6RXM5.js → chunk-3EVWDE6G.js} +2 -2
- package/dist/{chunk-VQ6BPJIE.js → chunk-3JKNHTOD.js} +1 -1
- package/dist/{chunk-KZS4BOXC.js → chunk-3SJMAV7X.js} +1 -1
- package/dist/{chunk-6D2GT6FR.js → chunk-46MPHLOO.js} +1 -1
- package/dist/{chunk-MYA4J3CW.js → chunk-4Q2YPSTX.js} +1 -1
- package/dist/{chunk-SQX5NRIC.js → chunk-4UBZQ6N6.js} +1 -1
- package/dist/{chunk-D547BNT6.js → chunk-563UNS7A.js} +1 -1
- package/dist/{chunk-4NIIN32I.js → chunk-5CRBQDDG.js} +2 -2
- package/dist/{chunk-EAOB4QGU.js → chunk-5EGST7S2.js} +1 -1
- package/dist/{chunk-Y74VJ4MO.js → chunk-5M6VYJXW.js} +2 -2
- package/dist/{chunk-A3C7WRXS.js → chunk-5OJM2EIY.js} +1 -1
- package/dist/{chunk-L5NEDJC2.js → chunk-6LVS24FG.js} +1 -1
- package/dist/{chunk-N46I6MJG.js → chunk-6MMONW2C.js} +1 -1
- package/dist/{chunk-KAU5SCUQ.js → chunk-6NFJUJRZ.js} +2 -2
- package/dist/{chunk-JBJPBJQC.js → chunk-6NWO46ZX.js} +1 -1
- package/dist/{chunk-YNW3MRJB.js → chunk-6RQDQETJ.js} +2 -2
- package/dist/{chunk-N6DX2HMU.js → chunk-75TKQQPG.js} +2 -2
- package/dist/{chunk-FXWRSFCQ.js → chunk-772DMYGL.js} +1 -1
- package/dist/{chunk-UTWH3INB.js → chunk-7D237RNS.js} +1 -1
- package/dist/{chunk-Q3VLXNY4.js → chunk-7IXPM2BP.js} +2 -2
- package/dist/{chunk-MGNH3R7L.js → chunk-7KFKAGXK.js} +4 -4
- package/dist/{chunk-OGLVYWQ7.js → chunk-ADUMZELH.js} +2 -2
- package/dist/chunk-CKK5OXCO.js +389 -0
- package/dist/{chunk-LM5JYFDV.js → chunk-CVL5DPTA.js} +3 -3
- package/dist/{chunk-FUQT447B.js → chunk-CXN5GSW7.js} +4 -4
- package/dist/{chunk-L4O3X33G.js → chunk-CZLKGR6J.js} +2 -2
- package/dist/{chunk-52DWLGLR.js → chunk-DBA62TC4.js} +1 -1
- package/dist/{chunk-LC3G35W4.js → chunk-DRTN674R.js} +2 -2
- package/dist/{chunk-5CHGZYR4.js → chunk-E5GTHB5O.js} +2 -2
- package/dist/{chunk-LETBMYJG.js → chunk-EQ7OE5MY.js} +2 -2
- package/dist/{chunk-S7PWRGW3.js → chunk-EQFT236C.js} +1 -1
- package/dist/{chunk-YDCH6B75.js → chunk-FN4YNFB3.js} +2 -2
- package/dist/{chunk-NDRLHXSQ.js → chunk-GJLEIHHP.js} +2 -2
- package/dist/{chunk-AYVISS4N.js → chunk-GPYBH5E3.js} +1 -1
- package/dist/{chunk-3WRXDEO6.js → chunk-JZXM2BSZ.js} +1 -1
- package/dist/{chunk-ZBA26C6D.js → chunk-KCDGRJUF.js} +1 -1
- package/dist/{chunk-WPFK5F4Q.js → chunk-KFPESQXJ.js} +4 -4
- package/dist/{chunk-JO3IBN3U.js → chunk-KVXWOCWG.js} +3 -3
- package/dist/{chunk-CZILK3UO.js → chunk-MRYVNY4C.js} +1 -1
- package/dist/{chunk-BO44T7YG.js → chunk-MUP5RPVW.js} +1 -1
- package/dist/chunk-NU5KNA3A.js +92 -0
- package/dist/{chunk-XGEA4WD6.js → chunk-NVQERXLE.js} +1 -1
- package/dist/{chunk-7HZIH6Q2.js → chunk-P3SAKP43.js} +1 -1
- package/dist/{chunk-IZ3RMACF.js → chunk-P4RDLHFP.js} +4 -4
- package/dist/{chunk-55HBOEXP.js → chunk-QAUOY6PU.js} +2 -2
- package/dist/{chunk-7ZCIV3FC.js → chunk-RFGE3ML2.js} +1 -1
- package/dist/{chunk-NRDXN56K.js → chunk-RQATEWU5.js} +2 -2
- package/dist/{chunk-V4FYSUBJ.js → chunk-RZKRHIZN.js} +2 -2
- package/dist/{chunk-FIMLIPFC.js → chunk-UR6LTDKJ.js} +1 -1
- package/dist/{chunk-ULH34BBV.js → chunk-WIMAYZYL.js} +3 -3
- package/dist/{chunk-634JKVMX.js → chunk-XP7Q37EM.js} +1 -1
- package/dist/{chunk-I76M3NYU.js → chunk-YAM24RKM.js} +1 -1
- package/dist/{chunk-5QFS54ET.js → chunk-YXK2CURA.js} +3 -3
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +146 -144
- package/dist/index.js +146 -144
- package/dist/styles.css +187 -0
- package/dist/utils/index.js +1 -1
- package/package.json +3 -3
- package/dist/{chunk-AJFSN642.js → chunk-2ZPHAZMP.js} +1 -1
- package/dist/{chunk-ZFU3NPMI.js → chunk-5S6RR33T.js} +1 -1
- package/dist/{chunk-OYTJ4AWU.js → chunk-5XW77HAT.js} +1 -1
- package/dist/{chunk-FXAV22EB.js → chunk-B7JCU45M.js} +1 -1
- package/dist/{chunk-657WR3MX.js → chunk-D5UVJL4I.js} +1 -1
- package/dist/{chunk-TIOFWBL5.js → chunk-ERMI5DYK.js} +1 -1
- package/dist/{chunk-426IGR6U.js → chunk-FNRI25QN.js} +2 -2
- package/dist/{chunk-BPR6WAZV.js → chunk-J76BZ2T2.js} +0 -0
- package/dist/{chunk-KZ67NXBY.js → chunk-JBDTBWP3.js} +1 -1
- package/dist/{chunk-Z226JFUB.js → chunk-JBIIOFJE.js} +1 -1
- package/dist/{chunk-YMNV6GHW.js → chunk-JG3P2VAZ.js} +1 -1
- package/dist/{chunk-ITFAH735.js → chunk-L4BKQVXX.js} +1 -1
- package/dist/{chunk-R2R7IKQ6.js → chunk-MBIQD6CY.js} +1 -1
- package/dist/{chunk-Z534PYDT.js → chunk-MENY4GKL.js} +1 -1
- package/dist/{chunk-XJEAJ6KD.js → chunk-QEQWDN7K.js} +1 -1
- package/dist/{chunk-3ZBYTHLJ.js → chunk-RS2XGKHL.js} +1 -1
- package/dist/{chunk-HM3HM3OF.js → chunk-U7PELDBC.js} +1 -1
- package/dist/{chunk-DWDL5ZAJ.js → chunk-UZ7JIUAL.js} +1 -1
- package/dist/{chunk-GXX6B5XM.js → chunk-WDYEM22W.js} +2 -2
- package/dist/{chunk-W3PSFOH2.js → chunk-XZOPCQUI.js} +1 -1
- package/dist/{chunk-NFGDQQPN.js → chunk-YDUXCCW7.js} +1 -1
- package/dist/{chunk-ZQE2BHQA.js → chunk-YLZHTTHW.js} +1 -1
- package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
package/README.md
CHANGED
|
@@ -42,9 +42,10 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
|
|
|
42
42
|
| ---- | ---------- |
|
|
43
43
|
| Actions | `Button` and `ButtonLink` (variants `primary`, `secondary`, `outline`, `ghost`, `accent`, `danger`; sizes `small`, `medium`, `large`; shapes `square`, `pill`), `IconButton`, `Menu`, `Link`, `Copyable`, `CopyButton`, `DownloadButton`, `Kbd` |
|
|
44
44
|
| Content and text | `Text` (the eight registers and `inherit`; a line cut by `truncate` or `clamp` shows its whole words on hover), `Prose`, `Statement`, `Document`, `DocumentTitle` and `DocumentTitleField`, the Markdown grammar (`parseMarkdown`, `parseMarkdownSpans`, `markdownInline`, `safeHref` and the line readers, with no React in it), `Highlight`, `InlineCode`, `List` and `ListItem`, `DescriptionList`, `Timeline`, `RelativeTime`, `Note`, `Divider` |
|
|
45
|
-
| Forms | `Input`, `Textarea`, `Label`, `FormField`, `FormRow`, `Checkbox`, `CheckboxGroup`, `ConfirmField`, `Select`, `Tag`, `TagsInput`, `DateTimePicker`, `TimeWindowPicker`, `TimeRangePicker`, `ImageUpload`, `CharacterPicker`, `HuePicker`, `AvatarPicker`, `FactList`, `ChoiceList`, `ChoiceCards`, `MemberPicker` (groups granted whole, with members left out or chosen on their own, and `chosenMembers`), `KeyValueRows` (keys and their values as rows under one column head, with `keyValueRowsLabels`), `ChipField` (chosen items as chips inside the field), `PersonRow` (a person or an agent as one row of a list), `Composer`, `MarkdownEditor`, `RichEditor` (with `preloadRichEditor`, and the round trip `roundTripMarkdown` and `canonicalMarkdown` from `@crewlethq/ui/RichEditorMarkdown`), `MoneyField` (an amount typed as text, never a number, with `moneyFieldProblem`) |
|
|
45
|
+
| Forms | `Input`, `Textarea`, `Label`, `FormField`, `FormRow`, `Checkbox`, `CheckboxGroup`, `ConfirmField`, `Select`, `Tag`, `TagsInput`, `DateTimePicker`, `TimeWindowPicker`, `TimeRangePicker`, `ImageUpload`, `CharacterPicker`, `HuePicker`, `AvatarPicker`, `FactList`, `ChoiceList`, `ChoiceCards`, `MemberPicker` (groups granted whole, with members left out or chosen on their own, and `chosenMembers`), `KeyValueRows` (keys and their values as rows under one column head, with `keyValueRowsLabels`), `ChipField` (chosen items as chips inside the field), `PersonRow` (a person or an agent as one row of a list), `Composer`, `MarkdownEditor`, `RichEditor` (with `preloadRichEditor`, and the round trip `roundTripMarkdown` and `canonicalMarkdown` from `@crewlethq/ui/RichEditorMarkdown`), `MoneyField` (an amount typed as text, never a number, with `moneyFieldProblem`), `ScopeList` (what an agent may reach at a vendor, a row to tick each: the name first, its IDs quiet, with `SCOPE_LIST_LABELS`) |
|
|
46
46
|
| Data display | `DataGrid` (with `useDataGridDriving`, `useAnyDataGridDriving` and `countDataGridRows`), `DataTable`, `CopyableCell`, `Table`, the read-only table cells (`TableKeyCell`, `TableNumberCell`, `TableDateCell`, `TableEntityCell`, `TableStatusCell`, `TableTagsCell`, `TableTextCell`, `TableTwoLineCell`), `StatCard`, `Meter`, `SegmentedMeter`, `Stepper`, `PricingCard`, `Avatar`, `AvatarStack`, `EntityChip`, `CodeBlock`, `QrCode`, `ObjectHeader`, `FactLine`, `SetByLine` (set, seen, observed or confirmed by, with `SET_BY_VERBS`), `GraphCanvas` (a layered map of clusters, groups and three families of line, with its legend, the card beside an entry, the selection dock and fullscreen, its pure layout `layoutGraph`, the trunks `graphTrunks`, the reach `graphReach` and the keyboard walk `graphStep`), `Skeleton`, `Eyebrow`, `StatGroup`, `PinTile`, `IconTile`, `SettingsTable` (with `SettingsTable.Row`), `CatalogTile`, `Money` (an amount drawn from integer micros, with `formatMoney`, `parseMoney`, `moneyDecimal`, `minorUnits`, `sumByCurrency`, `toMicros` and `decimalOf`), `Rating` (stars, read only) |
|
|
47
47
|
| List screens | `DataView`, and its parts on their own: `DataViewToolbar`, `FilterAxisBar`, `FilterAxisChip`, `FilterPill`, plus the filter model (`filterDefsFromColumns`, `applyColumnFilters`, `filterPredicate`, `blankFilterValue`) |
|
|
48
|
+
| Agents at vendors | `AgentIdentity` (an agent's identity at a vendor, heading its box, with `AGENT_IDENTITY_CHIPS`, `AGENT_IDENTITY_WORDS`, `AGENT_IDENTITY_NEEDS_YOU`, `agentIdentityNeedsSetUp` and `agentIdentityNeedsYou`), `AgentIdentitySheet` (the one three-step sheet every vendor's identity is set up in) |
|
|
48
49
|
| Feedback and overlays | `Callout`, `NoticeList` and `groupNotices` (several notices from one source, each said once), `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
|
|
49
50
|
| Documents and review | `DiffView` and `DiffSummary` with the line diff they draw (`compareLines`, `compareSequences`, `changedRuns`, `diffStat`, `collapseDiff`, `firstChangedLines`, `splitLines`, with no React in it), `DiffList`, `VersionCompare`, `CommentThread` |
|
|
50
51
|
| Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `WorkingLine` (every agent at work on one line, with `workingSentence`, `workingAnnouncement` and `BouncingDots`), `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
|
|
@@ -208,7 +209,17 @@ places:
|
|
|
208
209
|
- A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
|
|
209
210
|
when the content beneath it moves, and every panel anchored inside follows.
|
|
210
211
|
|
|
211
|
-
## Changes in 0.
|
|
212
|
+
## Changes in 0.173.0
|
|
213
|
+
|
|
214
|
+
### One pattern for an agent's identity at every vendor
|
|
215
|
+
|
|
216
|
+
**`AgentIdentity` is new**: an agent's own identity at a vendor (an App Store Connect team key, a Meta system user, a Google identity, an Expo robot, a token or an app of its own), heading the agent's box on an access table the same way for every vendor. "Identity at <vendor>" and one chip on the left, the one action at the box's top right however narrow the box (a second action stacks under it on a phone), one quiet line on who the vendor sees (`summary`), and what needs a person in a callout under it (`problem`). Eight states, one chip each (`AGENT_IDENTITY_CHIPS`): Company's, Not set up, Checking, Ready, Wrong role, Wrong team, Refused, Replacing. The action is Set up identity, primary, wherever the agent has none that works, and Replace identity, quiet, once it is ready (`onSetUp`); Use the company's for now is offered only while the vendor refuses the agent's own (`onUseCompany`). A vendor with no identity per agent (`perAgent={false}`) draws no action whatever is passed. `agentIdentityNeedsYou(state, perAgent)` is the row's rule: where the vendor offers each agent its own identity, the row reads Needs you (`AGENT_IDENTITY_NEEDS_YOU`) until the agent's own is checked, and the company's identity is never In sync there. Story: `AgentIdentity` Every State, Company Only, In An Agent's Box, Narrow.
|
|
217
|
+
|
|
218
|
+
**`AgentIdentitySheet` is new**: the one sheet every vendor's Set up identity opens, in three steps. At the vendor: its steps numbered in its own labels, each value to copy under its step with the rule it keeps (`copy.rule`), the vendor's page, who may do it (`note`), a caution that applies now, and, where Crewlet can make the identity itself, Make it for me with the steps by hand folded under it (`make`, or `make.disabledReason` with the steps open). Back here: the file the vendor gave (`accept`, a value read from its name such as Apple's key ID), a token in a password field, or nothing. Check: the reads listed (`reads`, after `make.reads` for a made one), none said done before the check answers, then the verdict the page draws in a polite live region (`onCheck` resolves `{ ok, view, failedAt }`; a rejection is drawn as a check that did not finish, every read stopped). Focus follows the step to its region, so a control that leaves with its step never drops focus behind the sheet. The picker takes one file, and a refused or renamed file replaces the one before it whole. The value brought back lives only in the sheet and goes when it closes. It opens in the kit's `Modal`, or in an application's own wrapper with the same props (`modal`). Story: `AgentIdentitySheet` App Store Connect, Meta Make It For Me, Meta At The Limit, Google Play Invited, Expo Token, Checking, Works, Wrong Role, Did Not Finish.
|
|
219
|
+
|
|
220
|
+
**`ScopeList` is new**: the apps, ad accounts, properties or sites an agent may reach, a checkbox row each, the name first, a detail quiet under it in monospace (a bundle ID) and its ID quiet at the row's end, level with the name, both read with the box. A chosen row takes the selected fill; a count and Choose all or Clear stand over the rows, acting on the rows shown; from 8 options on (`searchFrom`), a search filters by name, detail or ID, and only while its field is drawn. Story: `ScopeList` Apps, Searched, In A Dialog.
|
|
221
|
+
|
|
222
|
+
## Changes in 0.172.2
|
|
212
223
|
|
|
213
224
|
### A grid row that only reads keeps the arrow
|
|
214
225
|
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-
|
|
1
|
+
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-7IXPM2BP.js';
|
|
2
2
|
import '../chunk-XDUXAQIS.js';
|
|
3
3
|
import '../chunk-WFCWPXJN.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-RUROK3EU.js';
|
|
4
|
+
import '../chunk-75TKQQPG.js';
|
|
5
|
+
import '../chunk-YUVQUJND.js';
|
|
7
6
|
import '../chunk-W4EWRZU4.js';
|
|
8
7
|
import '../chunk-PPFTKZWF.js';
|
|
9
8
|
import '../chunk-MBEZOURR.js';
|
|
10
9
|
import '../chunk-FQ6J4DK7.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-JLKO7PSK.js';
|
|
14
|
-
import '../chunk-AKLZJTOJ.js';
|
|
15
|
-
import '../chunk-TEXK4RK6.js';
|
|
10
|
+
import '../chunk-VBBLHS2Y.js';
|
|
11
|
+
import '../chunk-2YTOOH3A.js';
|
|
16
12
|
import '../chunk-SK4BIFTG.js';
|
|
17
13
|
import '../chunk-COS6LJ4K.js';
|
|
18
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-RUROK3EU.js';
|
|
19
15
|
import '../chunk-34K3XN47.js';
|
|
20
16
|
import '../chunk-XSPCITPN.js';
|
|
21
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-UZ7JIUAL.js';
|
|
18
|
+
import '../chunk-NICEDVZM.js';
|
|
19
|
+
import '../chunk-JLKO7PSK.js';
|
|
20
|
+
import '../chunk-AKLZJTOJ.js';
|
|
21
|
+
import '../chunk-TEXK4RK6.js';
|
|
22
|
+
import '../chunk-WGMKERCR.js';
|
|
22
23
|
import '../chunk-XHTQ4X4P.js';
|
|
23
24
|
import '../chunk-TDFLCUBE.js';
|
|
24
25
|
import '../chunk-KIPOJKHG.js';
|
|
@@ -30,6 +31,5 @@ import '../chunk-4ITETIGZ.js';
|
|
|
30
31
|
import '../chunk-UJRRF6RY.js';
|
|
31
32
|
import '../chunk-6YKTRAWI.js';
|
|
32
33
|
import '../chunk-PQADV6P6.js';
|
|
33
|
-
import '../chunk-WGMKERCR.js';
|
|
34
34
|
import '../chunk-RRRK2KB6.js';
|
|
35
35
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import type { Tone } from '../utils/tone.js';
|
|
3
|
+
/**
|
|
4
|
+
* Where an agent's identity at a vendor stands, the same eight states on every
|
|
5
|
+
* vendor: an App Store Connect team key, a Meta system user, a Google
|
|
6
|
+
* identity, an Expo robot, a token, an app of its own.
|
|
7
|
+
*
|
|
8
|
+
* - `company`: the agent calls as the company's identity.
|
|
9
|
+
* - `none`: the agent has no identity of its own yet.
|
|
10
|
+
* - `checking`: Crewlet is reading the one a person handed in or had made.
|
|
11
|
+
* - `ready`: its own, checked.
|
|
12
|
+
* - `wrong_role` and `wrong_team`: the check read a role or a team the agent
|
|
13
|
+
* cannot use, and Crewlet kept nothing.
|
|
14
|
+
* - `refused`: the vendor refuses the one it held (revoked, cut off, removed).
|
|
15
|
+
* - `replacing`: a new one is in use and the old one waits to be revoked.
|
|
16
|
+
*/
|
|
17
|
+
export type AgentIdentityState = 'company' | 'none' | 'checking' | 'ready' | 'wrong_role' | 'wrong_team' | 'refused' | 'replacing';
|
|
18
|
+
/** Every state, in the order an agent's identity moves through them. */
|
|
19
|
+
export declare const AGENT_IDENTITY_STATES: readonly AgentIdentityState[];
|
|
20
|
+
/** One chip: its word and its tone. */
|
|
21
|
+
export interface AgentIdentityChip {
|
|
22
|
+
label: string;
|
|
23
|
+
tone: Tone;
|
|
24
|
+
}
|
|
25
|
+
/** Each state's chip, the same word and tone on every vendor. */
|
|
26
|
+
export declare const AGENT_IDENTITY_CHIPS: Readonly<Record<AgentIdentityState, AgentIdentityChip>>;
|
|
27
|
+
/** The words every vendor's identity is set up with. */
|
|
28
|
+
export declare const AGENT_IDENTITY_WORDS: {
|
|
29
|
+
readonly setUp: "Set up identity";
|
|
30
|
+
readonly replace: "Replace identity";
|
|
31
|
+
readonly useCompany: "Use the company's for now";
|
|
32
|
+
readonly makeForMe: "Make it for me";
|
|
33
|
+
};
|
|
34
|
+
/** The row status an unfinished identity gives its agent's row: the access table's own word and tone. */
|
|
35
|
+
export declare const AGENT_IDENTITY_NEEDS_YOU: AgentIdentityChip;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the state asks a person to set the agent's identity up, or up
|
|
38
|
+
* again. On a vendor that offers each agent its own identity, the company's
|
|
39
|
+
* is one more identity to replace.
|
|
40
|
+
*/
|
|
41
|
+
export declare function agentIdentityNeedsSetUp(state: AgentIdentityState): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the agent's row reads Needs you for its identity.
|
|
44
|
+
*
|
|
45
|
+
* Where the vendor offers each agent an identity of its own (`perAgent`), the
|
|
46
|
+
* row needs a person until the agent's own is checked: the company's identity
|
|
47
|
+
* is never In sync there. Where the vendor offers none, the company's identity
|
|
48
|
+
* is the finished state and asks nothing. The row's other states (off,
|
|
49
|
+
* syncing, refused by the engine) are the page's and win over this one.
|
|
50
|
+
*/
|
|
51
|
+
export declare function agentIdentityNeedsYou(state: AgentIdentityState, perAgent: boolean): boolean;
|
|
52
|
+
/** What needs a person, said inside the box under the summary. */
|
|
53
|
+
export interface AgentIdentityProblem {
|
|
54
|
+
title: ReactNode;
|
|
55
|
+
body: ReactNode;
|
|
56
|
+
/** One control for it, such as a link to the vendor's page. */
|
|
57
|
+
action?: ReactNode;
|
|
58
|
+
}
|
|
59
|
+
export interface AgentIdentityProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
60
|
+
/** The vendor, by its own name: "Apple", "Google Play", "Meta", "Expo". */
|
|
61
|
+
vendor: string;
|
|
62
|
+
/** The agent's name, which the actions' accessible names end with. */
|
|
63
|
+
agent: string;
|
|
64
|
+
state: AgentIdentityState;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the vendor offers each agent an identity of its own. `false` for
|
|
67
|
+
* a vendor where every agent calls as the company (an ad network with one
|
|
68
|
+
* account per company): the company's identity is the finished state and
|
|
69
|
+
* there is nothing to set up, so no action is drawn whatever is passed.
|
|
70
|
+
*/
|
|
71
|
+
perAgent?: boolean | undefined;
|
|
72
|
+
/** One quiet line: who the vendor sees when the agent calls, and what it holds. */
|
|
73
|
+
summary: ReactNode;
|
|
74
|
+
/** What needs a person, in a callout inside the box. */
|
|
75
|
+
problem?: AgentIdentityProblem | undefined;
|
|
76
|
+
/** Opens the set-up sheet. Drawn as Set up identity (primary) or, once ready, Replace identity. */
|
|
77
|
+
onSetUp?: (() => void) | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Puts the agent back on the company's identity. Offered only while the
|
|
80
|
+
* vendor refuses the agent's own, so its calls can go on; never as a way
|
|
81
|
+
* round setting one up.
|
|
82
|
+
*/
|
|
83
|
+
onUseCompany?: (() => void) | undefined;
|
|
84
|
+
/** Why the actions cannot be pressed now, such as a reader without the right to change access. */
|
|
85
|
+
disabledReason?: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* An agent's identity at a vendor, heading the agent's box on an
|
|
89
|
+
* integration's access table, drawn the same way for every vendor.
|
|
90
|
+
*
|
|
91
|
+
* "Identity at <vendor>" and one chip on the left, the one action at the
|
|
92
|
+
* box's top right, one quiet line on who the vendor sees, and anything that
|
|
93
|
+
* needs a person in a callout under it. It holds no vendor words and no data:
|
|
94
|
+
* the page says the state, the line and the problem.
|
|
95
|
+
*
|
|
96
|
+
* It spans its box's whole first row, in a wrapping flex box or a grid, and
|
|
97
|
+
* rules itself off from what follows.
|
|
98
|
+
*/
|
|
99
|
+
export declare function AgentIdentity({ vendor, agent, state, perAgent, summary, problem, onSetUp, onUseCompany, disabledReason, className, ...rest }: AgentIdentityProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from 'react';
|
|
2
|
+
import { type ModalProps } from '../Modal/index.js';
|
|
3
|
+
/** A value the person copies at the vendor, and the vendor's rule it was made to. */
|
|
4
|
+
export interface AgentIdentityCopy {
|
|
5
|
+
/** What the value is, for the copy control's name: "key's name". */
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
/** The rule the value keeps, said under it: "Lowercase letters, digits and hyphens, at most 30." */
|
|
9
|
+
rule?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/** One numbered step at the vendor, in the vendor's own labels. */
|
|
12
|
+
export interface AgentIdentityVendorStep {
|
|
13
|
+
text: ReactNode;
|
|
14
|
+
/** The value to copy at this step, drawn under its words. */
|
|
15
|
+
copy?: AgentIdentityCopy | undefined;
|
|
16
|
+
}
|
|
17
|
+
/** One read the check makes, or one thing Crewlet does when it makes the identity itself. */
|
|
18
|
+
export interface AgentIdentityRead {
|
|
19
|
+
id: string;
|
|
20
|
+
label: ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/** What the person brings back from the vendor. */
|
|
23
|
+
export type AgentIdentityHandIn = {
|
|
24
|
+
kind: 'file';
|
|
25
|
+
/** The file's extension, as an input's `accept`: ".p8". */
|
|
26
|
+
accept: string;
|
|
27
|
+
/** What the file is and where it came from, under the drop area. */
|
|
28
|
+
hint: ReactNode;
|
|
29
|
+
/** A value read from the file's name, editable: Apple's key ID from `AuthKey_<ID>.p8`. */
|
|
30
|
+
field?: {
|
|
31
|
+
label: string;
|
|
32
|
+
fromName?: RegExp | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'token';
|
|
36
|
+
label: string;
|
|
37
|
+
hint?: ReactNode;
|
|
38
|
+
} | {
|
|
39
|
+
kind: 'nothing';
|
|
40
|
+
text: ReactNode;
|
|
41
|
+
};
|
|
42
|
+
/** What the person brought back, for the page to send to the check. */
|
|
43
|
+
export interface AgentIdentityBrought {
|
|
44
|
+
/** Whether the identity was made by Crewlet (Make it for me), with nothing brought back. */
|
|
45
|
+
made: boolean;
|
|
46
|
+
file?: File;
|
|
47
|
+
field?: string;
|
|
48
|
+
token?: string;
|
|
49
|
+
}
|
|
50
|
+
/** The check's answer. */
|
|
51
|
+
export interface AgentIdentityVerdict {
|
|
52
|
+
/** Whether the identity works and Crewlet keeps it. */
|
|
53
|
+
ok: boolean;
|
|
54
|
+
/** The verdict as the page words it: what was read back and what to do. */
|
|
55
|
+
view: ReactNode;
|
|
56
|
+
/** The read the check stopped at, by its id; the last read where it is left out. */
|
|
57
|
+
failedAt?: string | undefined;
|
|
58
|
+
}
|
|
59
|
+
/** Crewlet can make the identity itself, with one button. */
|
|
60
|
+
export interface AgentIdentityMake {
|
|
61
|
+
title: ReactNode;
|
|
62
|
+
/** What pressing it does, in the vendor's words, and any limit it counts against. */
|
|
63
|
+
body: ReactNode;
|
|
64
|
+
/** Why it cannot be pressed now, such as the vendor's limit reached; the steps by hand then stand open. */
|
|
65
|
+
disabledReason?: string | undefined;
|
|
66
|
+
/** What Crewlet does before the reads, listed with them in the check: "Make the system user". */
|
|
67
|
+
reads?: readonly AgentIdentityRead[] | undefined;
|
|
68
|
+
}
|
|
69
|
+
/** The sheet's three steps. */
|
|
70
|
+
export type AgentIdentitySheetStep = 'vendor' | 'back' | 'check';
|
|
71
|
+
export interface AgentIdentitySheetProps {
|
|
72
|
+
open: boolean;
|
|
73
|
+
onClose: () => void;
|
|
74
|
+
/** The agent's name, for the title: "Set up identity: Growth Marketer". */
|
|
75
|
+
agent: string;
|
|
76
|
+
/** The vendor, by its own name: "Apple". */
|
|
77
|
+
vendor: string;
|
|
78
|
+
/** One line under the title: what the agent's own identity changes. */
|
|
79
|
+
why: ReactNode;
|
|
80
|
+
/** A new identity for an agent that holds one: the title says Replace identity. */
|
|
81
|
+
replacing?: boolean | undefined;
|
|
82
|
+
/** The steps at the vendor, numbered, in its own labels. */
|
|
83
|
+
steps: readonly AgentIdentityVendorStep[];
|
|
84
|
+
/** The vendor's page the steps start on, opened in a new tab. */
|
|
85
|
+
link: {
|
|
86
|
+
label: string;
|
|
87
|
+
href: string;
|
|
88
|
+
};
|
|
89
|
+
/** Who at the vendor may do it, and what never to choose there. */
|
|
90
|
+
note?: ReactNode;
|
|
91
|
+
/** A limit or a caution that applies now, over the steps. */
|
|
92
|
+
caution?: ReactNode;
|
|
93
|
+
/** Crewlet can make it: one button, with the steps by hand folded under it. */
|
|
94
|
+
make?: AgentIdentityMake | undefined;
|
|
95
|
+
/** What comes back from the vendor: a file, a token, or nothing. */
|
|
96
|
+
handIn: AgentIdentityHandIn;
|
|
97
|
+
/** The reads the check makes, in order. */
|
|
98
|
+
reads: readonly AgentIdentityRead[];
|
|
99
|
+
/** Checks what was brought back or made, and answers the verdict. A rejection is drawn as a check that did not finish. */
|
|
100
|
+
onCheck: (brought: AgentIdentityBrought) => Promise<AgentIdentityVerdict>;
|
|
101
|
+
/** The step the sheet opens on: `back` for a person who holds the new file or token already. */
|
|
102
|
+
startAt?: Exclude<AgentIdentitySheetStep, 'check'> | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* The dialog the sheet opens in: the kit's `Modal` by default, or an
|
|
105
|
+
* application's own wrapper around it with the same props.
|
|
106
|
+
*/
|
|
107
|
+
modal?: ComponentType<ModalProps> | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The one sheet every vendor's Set up identity opens, in the same three steps:
|
|
111
|
+
*
|
|
112
|
+
* 1. At the vendor: numbered steps in its own labels, each value to copy under
|
|
113
|
+
* its step with the rule it keeps, and the vendor's page; or, where Crewlet
|
|
114
|
+
* can, one button that makes it, the steps by hand folded under it.
|
|
115
|
+
* 2. Back here: the file or the token the vendor gave, or nothing.
|
|
116
|
+
* 3. Check: the reads Crewlet makes, then the verdict.
|
|
117
|
+
*
|
|
118
|
+
* It holds no vendor words and no data: the page passes the steps, the hand-in
|
|
119
|
+
* and the check. What the person brought back lives only in the sheet until
|
|
120
|
+
* the check, and goes when it closes.
|
|
121
|
+
*/
|
|
122
|
+
export declare function AgentIdentitySheet(props: AgentIdentitySheetProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import './AgentIdentity.css';
|
|
2
|
+
import './AgentIdentitySheet.css';
|
|
3
|
+
export { AGENT_IDENTITY_CHIPS, AGENT_IDENTITY_NEEDS_YOU, AGENT_IDENTITY_STATES, AGENT_IDENTITY_WORDS, AgentIdentity, agentIdentityNeedsSetUp, agentIdentityNeedsYou, } from './AgentIdentity.js';
|
|
4
|
+
export type { AgentIdentityChip, AgentIdentityProblem, AgentIdentityProps, AgentIdentityState } from './AgentIdentity.js';
|
|
5
|
+
export { AgentIdentitySheet } from './AgentIdentitySheet.js';
|
|
6
|
+
export type { AgentIdentityBrought, AgentIdentityCopy, AgentIdentityHandIn, AgentIdentityMake, AgentIdentityRead, AgentIdentitySheetProps, AgentIdentitySheetStep, AgentIdentityVendorStep, AgentIdentityVerdict, } from './AgentIdentitySheet.js';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export { AGENT_IDENTITY_CHIPS, AGENT_IDENTITY_NEEDS_YOU, AGENT_IDENTITY_STATES, AGENT_IDENTITY_WORDS, AgentIdentity, AgentIdentitySheet, agentIdentityNeedsSetUp, agentIdentityNeedsYou } from '../chunk-CKK5OXCO.js';
|
|
2
|
+
import '../chunk-GAQU5V5R.js';
|
|
3
|
+
import '../chunk-C7YE4L5Y.js';
|
|
4
|
+
import '../chunk-2MN3RNRM.js';
|
|
5
|
+
import '../chunk-S5W7EIVC.js';
|
|
6
|
+
import '../chunk-HUIAYSOC.js';
|
|
7
|
+
import '../chunk-STJ7QBC3.js';
|
|
8
|
+
import '../chunk-DTIW4CHZ.js';
|
|
9
|
+
import '../chunk-HZXS5CEL.js';
|
|
10
|
+
import '../chunk-HHV5WHTT.js';
|
|
11
|
+
import '../chunk-I4NRQIRF.js';
|
|
12
|
+
import '../chunk-HOIZJFYS.js';
|
|
13
|
+
import '../chunk-QRE6JCHS.js';
|
|
14
|
+
import '../chunk-475DOAWF.js';
|
|
15
|
+
import '../chunk-WSIJDWUG.js';
|
|
16
|
+
import '../chunk-RUROK3EU.js';
|
|
17
|
+
import '../chunk-34K3XN47.js';
|
|
18
|
+
import '../chunk-XSPCITPN.js';
|
|
19
|
+
import '../chunk-UZ7JIUAL.js';
|
|
20
|
+
import '../chunk-NICEDVZM.js';
|
|
21
|
+
import '../chunk-JLKO7PSK.js';
|
|
22
|
+
import '../chunk-AKLZJTOJ.js';
|
|
23
|
+
import '../chunk-TEXK4RK6.js';
|
|
24
|
+
import '../chunk-WGMKERCR.js';
|
|
25
|
+
import '../chunk-XHTQ4X4P.js';
|
|
26
|
+
import '../chunk-TDFLCUBE.js';
|
|
27
|
+
import '../chunk-KIPOJKHG.js';
|
|
28
|
+
import '../chunk-L72URIHR.js';
|
|
29
|
+
import '../chunk-HTS5RJ7S.js';
|
|
30
|
+
import '../chunk-AVJKMQXK.js';
|
|
31
|
+
import '../chunk-EDPMHSLZ.js';
|
|
32
|
+
import '../chunk-4ITETIGZ.js';
|
|
33
|
+
import '../chunk-UJRRF6RY.js';
|
|
34
|
+
import '../chunk-6YKTRAWI.js';
|
|
35
|
+
import '../chunk-PQADV6P6.js';
|
|
36
|
+
import '../chunk-RRRK2KB6.js';
|
|
37
|
+
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* An agent's identity at a vendor, heading its box: the label and chip on the
|
|
3
|
+
* left, the one action held at the top right however narrow the box, and a
|
|
4
|
+
* rule under it all, which sets it off from the box's details.
|
|
5
|
+
*/
|
|
6
|
+
.crewlet-agent-identity {
|
|
7
|
+
/* The box's whole first row, in a wrapping flex box or a grid. */
|
|
8
|
+
flex: 1 1 100%;
|
|
9
|
+
grid-column: 1 / -1;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: var(--spacing-2);
|
|
13
|
+
min-inline-size: 0;
|
|
14
|
+
padding-block-end: var(--spacing-3);
|
|
15
|
+
border-block-end: 1px solid var(--color-border-default);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* TWO COLUMNS, NOT A WRAPPING ROW: in a narrow box the label and chip wrap
|
|
20
|
+
* inside the first column, and the action keeps its place at the top right
|
|
21
|
+
* rather than dropping under them to the next line.
|
|
22
|
+
*
|
|
23
|
+
* THE LABEL'S COLUMN HAS A FLOOR. An auto column grows to its whole content
|
|
24
|
+
* before a 1fr column gets anything, so two actions side by side on a phone
|
|
25
|
+
* left the label 27px and clipped the chip; held to at least 8rem (or 40% of
|
|
26
|
+
* a box narrower than 20rem), the actions stack instead.
|
|
27
|
+
*/
|
|
28
|
+
.crewlet-agent-identity__head {
|
|
29
|
+
display: grid;
|
|
30
|
+
grid-template-columns: minmax(min(8rem, 40%), 1fr) auto;
|
|
31
|
+
align-items: start;
|
|
32
|
+
gap: var(--spacing-2) var(--spacing-3);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.crewlet-agent-identity__title {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
align-items: center;
|
|
39
|
+
gap: var(--spacing-1) var(--spacing-2);
|
|
40
|
+
min-inline-size: 0;
|
|
41
|
+
/* The label's line centred on the action's, which is a little taller. */
|
|
42
|
+
min-block-size: var(--size-control-sm);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* WRAP-REVERSE: side by side the primary is the last at the right, and
|
|
47
|
+
* stacked it is the line on top, so Set up identity stays at the top right.
|
|
48
|
+
*/
|
|
49
|
+
.crewlet-agent-identity__actions {
|
|
50
|
+
grid-column: 2;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-wrap: wrap-reverse;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: flex-end;
|
|
55
|
+
gap: var(--spacing-2);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/*
|
|
59
|
+
* AN ACTION'S WORDS WRAP rather than push it out of the box: in a box under
|
|
60
|
+
* about 19rem (a 320px phone, less the page's and the box's padding) the
|
|
61
|
+
* floor above leaves "Use the company's for now" less than its one line.
|
|
62
|
+
*/
|
|
63
|
+
.crewlet-agent-identity__actions > .crewlet-btn {
|
|
64
|
+
max-inline-size: 100%;
|
|
65
|
+
white-space: normal;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.crewlet-agent-identity__summary {
|
|
69
|
+
margin: 0;
|
|
70
|
+
overflow-wrap: anywhere;
|
|
71
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The set-up sheet's step: its parts stacked at one gap, each value to copy
|
|
3
|
+
* under the words of its own step, and the vendor's page on a line of its own.
|
|
4
|
+
*/
|
|
5
|
+
.crewlet-agent-identity-sheet__step {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: var(--spacing-3);
|
|
9
|
+
min-inline-size: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.crewlet-agent-identity-sheet__copy {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: var(--spacing-1);
|
|
16
|
+
min-inline-size: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.crewlet-agent-identity-sheet__link {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.crewlet-agent-identity-sheet__note {
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/*
|
|
28
|
+
* The step takes focus when it changes, and keeps the browser's own focus
|
|
29
|
+
* treatment: after a press nothing is drawn, after a key the ring shows where
|
|
30
|
+
* the reader now is. The verdict's live region stays in the tree while empty,
|
|
31
|
+
* so a screen reader hears what fills it; empty, it takes back the gap before it.
|
|
32
|
+
*/
|
|
33
|
+
.crewlet-agent-identity-sheet__verdict:empty {
|
|
34
|
+
margin-block-start: calc(-1 * var(--spacing-3));
|
|
35
|
+
}
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-
|
|
1
|
+
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-JG3P2VAZ.js';
|
|
2
2
|
import '../chunk-SNKQNAJI.js';
|
|
3
3
|
import '../chunk-JLOESTT2.js';
|
|
4
4
|
import '../chunk-EUET4PNC.js';
|
|
5
5
|
export { useAppShellAside, useAppShellPeek } from '../chunk-MBEZOURR.js';
|
|
6
6
|
export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from '../chunk-FQ6J4DK7.js';
|
|
7
|
+
import '../chunk-VBBLHS2Y.js';
|
|
8
|
+
import '../chunk-2YTOOH3A.js';
|
|
7
9
|
import '../chunk-SK4BIFTG.js';
|
|
8
10
|
import '../chunk-COS6LJ4K.js';
|
|
9
|
-
import '../chunk-VBBLHS2Y.js';
|
|
10
11
|
import '../chunk-34K3XN47.js';
|
|
11
12
|
import '../chunk-XSPCITPN.js';
|
|
12
|
-
import '../chunk-2YTOOH3A.js';
|
|
13
13
|
import '../chunk-XHTQ4X4P.js';
|
|
14
14
|
import '../chunk-TDFLCUBE.js';
|
|
15
15
|
import '../chunk-KIPOJKHG.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { ArrangeFrame, useGridResize } from '../chunk-
|
|
1
|
+
export { ArrangeFrame, useGridResize } from '../chunk-5XW77HAT.js';
|
|
2
|
+
import '../chunk-WGMKERCR.js';
|
|
2
3
|
import '../chunk-XHTQ4X4P.js';
|
|
3
4
|
import '../chunk-TDFLCUBE.js';
|
|
4
5
|
import '../chunk-KIPOJKHG.js';
|
|
@@ -7,6 +8,5 @@ import '../chunk-HTS5RJ7S.js';
|
|
|
7
8
|
import '../chunk-AVJKMQXK.js';
|
|
8
9
|
import '../chunk-EDPMHSLZ.js';
|
|
9
10
|
import '../chunk-4ITETIGZ.js';
|
|
10
|
-
import '../chunk-WGMKERCR.js';
|
|
11
11
|
import '../chunk-RRRK2KB6.js';
|
|
12
12
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-
|
|
1
|
+
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-4Q2YPSTX.js';
|
|
2
2
|
import '../chunk-6YYRFGXO.js';
|
|
3
3
|
import '../chunk-JMBPMSNI.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-NVQERXLE.js';
|
|
5
|
+
import '../chunk-SK4BIFTG.js';
|
|
6
|
+
import '../chunk-COS6LJ4K.js';
|
|
7
|
+
import '../chunk-UZ7JIUAL.js';
|
|
6
8
|
import '../chunk-NICEDVZM.js';
|
|
7
9
|
import '../chunk-JLKO7PSK.js';
|
|
8
10
|
import '../chunk-AKLZJTOJ.js';
|
|
9
11
|
import '../chunk-TEXK4RK6.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-COS6LJ4K.js';
|
|
12
|
+
import '../chunk-WGMKERCR.js';
|
|
12
13
|
import '../chunk-XHTQ4X4P.js';
|
|
13
14
|
import '../chunk-TDFLCUBE.js';
|
|
14
15
|
import '../chunk-KIPOJKHG.js';
|
|
@@ -18,6 +19,5 @@ import '../chunk-AVJKMQXK.js';
|
|
|
18
19
|
import '../chunk-EDPMHSLZ.js';
|
|
19
20
|
import '../chunk-4ITETIGZ.js';
|
|
20
21
|
import '../chunk-PQADV6P6.js';
|
|
21
|
-
import '../chunk-WGMKERCR.js';
|
|
22
22
|
import '../chunk-RRRK2KB6.js';
|
|
23
23
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-
|
|
1
|
+
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-6NWO46ZX.js';
|
|
2
2
|
import '../chunk-DG6H4EO2.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-JZXM2BSZ.js';
|
|
4
|
+
import '../chunk-2ZPHAZMP.js';
|
|
5
5
|
import '../chunk-7F3OPUM5.js';
|
|
6
|
-
import '../chunk-QRE6JCHS.js';
|
|
7
6
|
import '../chunk-AVL52EME.js';
|
|
8
7
|
import '../chunk-RSKW25Y5.js';
|
|
9
8
|
import '../chunk-EUET4PNC.js';
|
|
10
9
|
import '../chunk-VBBLHS2Y.js';
|
|
10
|
+
import '../chunk-2YTOOH3A.js';
|
|
11
|
+
import '../chunk-QRE6JCHS.js';
|
|
11
12
|
import '../chunk-34K3XN47.js';
|
|
12
13
|
import '../chunk-XSPCITPN.js';
|
|
13
|
-
import '../chunk-2YTOOH3A.js';
|
|
14
14
|
import '../chunk-XHTQ4X4P.js';
|
|
15
15
|
import '../chunk-TDFLCUBE.js';
|
|
16
16
|
import '../chunk-KIPOJKHG.js';
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
1
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-QAUOY6PU.js';
|
|
2
2
|
import '../chunk-WFAJYBLX.js';
|
|
3
3
|
import '../chunk-265IX4YA.js';
|
|
4
4
|
import '../chunk-GBKBME7Q.js';
|
|
5
5
|
import '../chunk-WGLOH33S.js';
|
|
6
6
|
import '../chunk-5Y76EWDZ.js';
|
|
7
7
|
import '../chunk-AV2DXAEL.js';
|
|
8
|
-
import '../chunk-475DOAWF.js';
|
|
9
|
-
import '../chunk-WSIJDWUG.js';
|
|
10
8
|
import '../chunk-W3A6NBUM.js';
|
|
11
|
-
import '../chunk-XGEA4WD6.js';
|
|
12
|
-
import '../chunk-DOY3KC6I.js';
|
|
13
9
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
10
|
+
import '../chunk-NVQERXLE.js';
|
|
11
|
+
import '../chunk-DOY3KC6I.js';
|
|
14
12
|
import '../chunk-JWHXDVN5.js';
|
|
15
13
|
import '../chunk-YMFFGPFE.js';
|
|
16
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-475DOAWF.js';
|
|
15
|
+
import '../chunk-WSIJDWUG.js';
|
|
16
|
+
import '../chunk-UZ7JIUAL.js';
|
|
17
17
|
import '../chunk-NICEDVZM.js';
|
|
18
18
|
import '../chunk-JLKO7PSK.js';
|
|
19
19
|
import '../chunk-AKLZJTOJ.js';
|
|
20
20
|
import '../chunk-TEXK4RK6.js';
|
|
21
|
+
import '../chunk-WGMKERCR.js';
|
|
21
22
|
import '../chunk-XHTQ4X4P.js';
|
|
22
23
|
import '../chunk-TDFLCUBE.js';
|
|
23
24
|
import '../chunk-KIPOJKHG.js';
|
|
@@ -28,6 +29,5 @@ import '../chunk-EDPMHSLZ.js';
|
|
|
28
29
|
import '../chunk-4ITETIGZ.js';
|
|
29
30
|
import '../chunk-6YKTRAWI.js';
|
|
30
31
|
import '../chunk-PQADV6P6.js';
|
|
31
|
-
import '../chunk-WGMKERCR.js';
|
|
32
32
|
import '../chunk-RRRK2KB6.js';
|
|
33
33
|
import '../chunk-ODEQTPFM.js';
|
package/dist/AuthLayout/index.js
CHANGED
|
@@ -2,9 +2,9 @@ export { AuthLayout } from '../chunk-JNU5N67E.js';
|
|
|
2
2
|
import '../chunk-KXWJJWBD.js';
|
|
3
3
|
import '../chunk-5Y76EWDZ.js';
|
|
4
4
|
import '../chunk-AV2DXAEL.js';
|
|
5
|
+
import '../chunk-JLOESTT2.js';
|
|
5
6
|
import '../chunk-475DOAWF.js';
|
|
6
7
|
import '../chunk-WSIJDWUG.js';
|
|
7
|
-
import '../chunk-JLOESTT2.js';
|
|
8
8
|
import '../chunk-6YKTRAWI.js';
|
|
9
9
|
import '../chunk-PQADV6P6.js';
|
|
10
10
|
import '../chunk-RRRK2KB6.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { AvatarPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AvatarPicker } from '../chunk-RZKRHIZN.js';
|
|
2
|
+
import '../chunk-YAM24RKM.js';
|
|
3
3
|
import '../chunk-AJFA2XDQ.js';
|
|
4
|
-
import '../chunk-CBUAKPF7.js';
|
|
5
4
|
import '../chunk-AYKXMIOR.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-CBUAKPF7.js';
|
|
6
|
+
import '../chunk-JZXM2BSZ.js';
|
|
7
|
+
import '../chunk-2ZPHAZMP.js';
|
|
8
8
|
import '../chunk-7F3OPUM5.js';
|
|
9
|
-
import '../chunk-QRE6JCHS.js';
|
|
10
9
|
import '../chunk-EUET4PNC.js';
|
|
11
10
|
import '../chunk-YMFFGPFE.js';
|
|
11
|
+
import '../chunk-2YTOOH3A.js';
|
|
12
|
+
import '../chunk-QRE6JCHS.js';
|
|
12
13
|
import '../chunk-34K3XN47.js';
|
|
13
14
|
import '../chunk-XSPCITPN.js';
|
|
14
|
-
import '../chunk-2YTOOH3A.js';
|
|
15
15
|
import '../chunk-XHTQ4X4P.js';
|
|
16
16
|
import '../chunk-TDFLCUBE.js';
|
|
17
17
|
import '../chunk-KIPOJKHG.js';
|
package/dist/BriefCard/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-
|
|
1
|
+
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-GPYBH5E3.js';
|
|
2
2
|
import '../chunk-IR3OWPAZ.js';
|
|
3
3
|
import '../chunk-6C7GQOBV.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-HOIZJFYS.js';
|
|
4
|
+
import '../chunk-JBDTBWP3.js';
|
|
6
5
|
import '../chunk-5Y76EWDZ.js';
|
|
7
6
|
import '../chunk-AV2DXAEL.js';
|
|
7
|
+
import '../chunk-HOIZJFYS.js';
|
|
8
|
+
import '../chunk-QRE6JCHS.js';
|
|
8
9
|
import '../chunk-475DOAWF.js';
|
|
9
10
|
import '../chunk-WSIJDWUG.js';
|
|
10
|
-
import '../chunk-QRE6JCHS.js';
|
|
11
11
|
import '../chunk-34K3XN47.js';
|
|
12
12
|
import '../chunk-XSPCITPN.js';
|
|
13
13
|
import '../chunk-TDFLCUBE.js';
|