@astryxdesign/cli 0.7.9-canary.d0cf29a → 0.7.9-canary.f8a309d
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/api/search/_main-searcher.mjs +1 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerClear.doc.mjs +2 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerClear.tsx +2 -2
- package/assets/templates/blocks/components/Tokenizer/TokenizerCreatable.tsx +0 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerEndContent.tsx +0 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerOverflow.doc.mjs +2 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerOverflow.tsx +0 -2
- package/assets/templates/pages/table-inbox/page.tsx +11 -8
- package/assets/templates/pages/work-item-detail/page.tsx +6 -2
- package/package.json +9 -9
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* domain the query wants. Its weights are static numbers in
|
|
9
9
|
* _main-searcher.weights.json.
|
|
10
10
|
* @input {query, options} and the gathered catalog with its static data
|
|
11
|
-
* @output the search response, the lexical response's shape and
|
|
11
|
+
* @output the search response, the lexical response's shape and count
|
|
12
12
|
* @position api/search; a child of the root dispatcher in tree.mjs
|
|
13
13
|
*/
|
|
14
14
|
|
|
@@ -6,7 +6,8 @@ export const doc = {
|
|
|
6
6
|
exampleFor: 'Tokenizer',
|
|
7
7
|
name: 'Tokenizer \u2014 Clear',
|
|
8
8
|
displayName: 'Tokenizer \u2014 Clear',
|
|
9
|
-
description:
|
|
9
|
+
description:
|
|
10
|
+
"Tokenizer with a built-in clear-all button for bulk removal of all selected tokens. On touch screens, clear through the sheet's Clear all.",
|
|
10
11
|
isReady: true,
|
|
11
12
|
aspectRatio: 16 / 9,
|
|
12
13
|
componentsUsed: ['Tokenizer', 'Layout', 'Text'],
|
|
@@ -29,7 +29,8 @@ export default function TokenizerClear() {
|
|
|
29
29
|
<div style={{display: 'grid', gridTemplateColumns: 'minmax(0, 400px)'}}>
|
|
30
30
|
<Stack direction="vertical" gap={2}>
|
|
31
31
|
<Text type="supporting" color="secondary">
|
|
32
|
-
Clear-all button appears when tokens are selected
|
|
32
|
+
Clear-all button appears when tokens are selected; on touch screens,
|
|
33
|
+
clear through the sheet's Clear all
|
|
33
34
|
</Text>
|
|
34
35
|
<Tokenizer
|
|
35
36
|
label="Team Members"
|
|
@@ -38,7 +39,6 @@ export default function TokenizerClear() {
|
|
|
38
39
|
value={value}
|
|
39
40
|
onChange={items => setValue(items)}
|
|
40
41
|
hasClear
|
|
41
|
-
presentation="popover"
|
|
42
42
|
/>
|
|
43
43
|
</Stack>
|
|
44
44
|
</div>
|
|
@@ -6,7 +6,8 @@ export const doc = {
|
|
|
6
6
|
exampleFor: 'Tokenizer',
|
|
7
7
|
name: 'Tokenizer \u2014 Overflow',
|
|
8
8
|
displayName: 'Tokenizer \u2014 Overflow',
|
|
9
|
-
description:
|
|
9
|
+
description:
|
|
10
|
+
'Tokenizer with overflow truncation when unfocused. Inline mode pushes content down on expand; layer mode overlays without shifting layout. Overflow modes apply to the inline field.',
|
|
10
11
|
isReady: true,
|
|
11
12
|
aspectRatio: 16 / 9,
|
|
12
13
|
componentsUsed: ['Tokenizer', 'Layout', 'Text'],
|
|
@@ -41,7 +41,6 @@ export default function TokenizerOverflow() {
|
|
|
41
41
|
value={inlineValue}
|
|
42
42
|
onChange={items => setInlineValue(items)}
|
|
43
43
|
tokenOverflowBehavior="unfocusedInline"
|
|
44
|
-
presentation="popover"
|
|
45
44
|
/>
|
|
46
45
|
</Stack>
|
|
47
46
|
<Stack direction="vertical" gap={1}>
|
|
@@ -55,7 +54,6 @@ export default function TokenizerOverflow() {
|
|
|
55
54
|
value={layerValue}
|
|
56
55
|
onChange={items => setLayerValue(items)}
|
|
57
56
|
tokenOverflowBehavior="unfocusedLayer"
|
|
58
|
-
presentation="popover"
|
|
59
57
|
/>
|
|
60
58
|
</Stack>
|
|
61
59
|
</Stack>
|
|
@@ -82,6 +82,7 @@ import {
|
|
|
82
82
|
StackItem,
|
|
83
83
|
VStack,
|
|
84
84
|
} from '@astryxdesign/core/Layout';
|
|
85
|
+
import {rtlStyles} from '@astryxdesign/core/utils';
|
|
85
86
|
import {
|
|
86
87
|
durationVars,
|
|
87
88
|
easeVars,
|
|
@@ -1391,7 +1392,13 @@ function ConversationPane({
|
|
|
1391
1392
|
<Button
|
|
1392
1393
|
label="Inbox"
|
|
1393
1394
|
variant="ghost"
|
|
1394
|
-
icon={
|
|
1395
|
+
icon={
|
|
1396
|
+
<Icon
|
|
1397
|
+
icon={ArrowLeftIcon}
|
|
1398
|
+
size="sm"
|
|
1399
|
+
xstyle={rtlStyles.mirror}
|
|
1400
|
+
/>
|
|
1401
|
+
}
|
|
1395
1402
|
onClick={onClose}
|
|
1396
1403
|
/>
|
|
1397
1404
|
}
|
|
@@ -1840,7 +1847,9 @@ function ComposeWindow({
|
|
|
1840
1847
|
// than being rejected for not matching anything.
|
|
1841
1848
|
hasCreate
|
|
1842
1849
|
// Stamps data-autofocus, which is what the sheet looks for
|
|
1843
|
-
// once the window is actually visible.
|
|
1850
|
+
// once the window is actually visible. It applies to the
|
|
1851
|
+
// inline field: on a compact touch screen the field opens
|
|
1852
|
+
// its own sheet and ignores it.
|
|
1844
1853
|
//
|
|
1845
1854
|
// Deliberately without `hasEntriesOnFocus`: the two together
|
|
1846
1855
|
// mean the window can never open without the full directory
|
|
@@ -1874,10 +1883,6 @@ function ComposeWindow({
|
|
|
1874
1883
|
)}
|
|
1875
1884
|
</>
|
|
1876
1885
|
}
|
|
1877
|
-
// The recipient rows read as one header, so all three stay
|
|
1878
|
-
// inline fields on every device; the sheet has no end lane
|
|
1879
|
-
// for the Cc and Bcc buttons.
|
|
1880
|
-
presentation="popover"
|
|
1881
1886
|
/>
|
|
1882
1887
|
{hasCc ? (
|
|
1883
1888
|
<Tokenizer
|
|
@@ -1888,7 +1893,6 @@ function ComposeWindow({
|
|
|
1888
1893
|
value={cc}
|
|
1889
1894
|
onChange={items => setCc(items)}
|
|
1890
1895
|
hasCreate
|
|
1891
|
-
presentation="popover"
|
|
1892
1896
|
/>
|
|
1893
1897
|
) : null}
|
|
1894
1898
|
{hasBcc ? (
|
|
@@ -1900,7 +1904,6 @@ function ComposeWindow({
|
|
|
1900
1904
|
value={bcc}
|
|
1901
1905
|
onChange={items => setBcc(items)}
|
|
1902
1906
|
hasCreate
|
|
1903
|
-
presentation="popover"
|
|
1904
1907
|
/>
|
|
1905
1908
|
) : null}
|
|
1906
1909
|
<TextInput
|
|
@@ -29,6 +29,7 @@ import {MoreMenu} from '@astryxdesign/core/MoreMenu';
|
|
|
29
29
|
import type {DropdownMenuOption} from '@astryxdesign/core/DropdownMenu';
|
|
30
30
|
import {Link} from '@astryxdesign/core/Link';
|
|
31
31
|
import {Icon} from '@astryxdesign/core/Icon';
|
|
32
|
+
import {rtlStyles} from '@astryxdesign/core/utils';
|
|
32
33
|
import {AspectRatio} from '@astryxdesign/core/AspectRatio';
|
|
33
34
|
import {Divider} from '@astryxdesign/core/Divider';
|
|
34
35
|
import {StatusDot} from '@astryxdesign/core/StatusDot';
|
|
@@ -381,7 +382,11 @@ function PageHeader({
|
|
|
381
382
|
<HStack gap={4} vAlign="center" wrap="wrap">
|
|
382
383
|
<Link href="#" type="supporting" color="secondary">
|
|
383
384
|
<HStack as="span" gap={1} vAlign="center">
|
|
384
|
-
<Icon
|
|
385
|
+
<Icon
|
|
386
|
+
icon={ArrowLeftIcon}
|
|
387
|
+
size="sm"
|
|
388
|
+
xstyle={rtlStyles.mirror}
|
|
389
|
+
/>
|
|
385
390
|
All Tasks
|
|
386
391
|
</HStack>
|
|
387
392
|
</Link>
|
|
@@ -463,7 +468,6 @@ function PageHeader({
|
|
|
463
468
|
onRemove={onRemove}
|
|
464
469
|
/>
|
|
465
470
|
)}
|
|
466
|
-
presentation="popover"
|
|
467
471
|
/>
|
|
468
472
|
</HStack>
|
|
469
473
|
</VStack>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.9-canary.
|
|
3
|
+
"version": "0.7.9-canary.f8a309d",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
"zod": "^4.4.3"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"@astryxdesign/charts": "0.7.9-canary.
|
|
128
|
-
"@astryxdesign/core": "0.7.9-canary.
|
|
129
|
-
"@astryxdesign/lab": "0.7.9-canary.
|
|
130
|
-
"@astryxdesign/theme-neutral": "0.7.9-canary.
|
|
127
|
+
"@astryxdesign/charts": "0.7.9-canary.f8a309d",
|
|
128
|
+
"@astryxdesign/core": "0.7.9-canary.f8a309d",
|
|
129
|
+
"@astryxdesign/lab": "0.7.9-canary.f8a309d",
|
|
130
|
+
"@astryxdesign/theme-neutral": "0.7.9-canary.f8a309d"
|
|
131
131
|
},
|
|
132
132
|
"peerDependenciesMeta": {
|
|
133
133
|
"@astryxdesign/charts": {
|
|
@@ -144,10 +144,10 @@
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@astryxdesign/charts": "0.7.9-canary.
|
|
148
|
-
"@astryxdesign/core": "0.7.9-canary.
|
|
149
|
-
"@astryxdesign/lab": "0.7.9-canary.
|
|
150
|
-
"@astryxdesign/theme-neutral": "0.7.9-canary.
|
|
147
|
+
"@astryxdesign/charts": "0.7.9-canary.f8a309d",
|
|
148
|
+
"@astryxdesign/core": "0.7.9-canary.f8a309d",
|
|
149
|
+
"@astryxdesign/lab": "0.7.9-canary.f8a309d",
|
|
150
|
+
"@astryxdesign/theme-neutral": "0.7.9-canary.f8a309d",
|
|
151
151
|
"@heroicons/react": "^2.2.0",
|
|
152
152
|
"@stylexjs/stylex": "^0.19.0",
|
|
153
153
|
"@types/babel__core": "^7.20.5",
|