@notis_ai/cli 0.2.31 → 0.2.32
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 +14 -0
- package/config/notis_app_design_rules.json +22 -0
- package/dist/agent-hooks/notis-agent-hook.mjs +352 -27
- package/dist/base-skills/notis-spaces/.notis-base-skill.json +1 -1
- package/dist/base-skills/notis-spaces/SKILL.md +4 -1
- package/dist/base-skills/notis-spaces/references/fixtures.md +4 -2
- package/dist/base-skills/notis-spaces/references/reading.md +3 -1
- package/dist/base-skills/notis-spaces/references/release.md +3 -1
- package/dist/base-skills/notis-spaces/references/sdk.md +25 -5
- package/dist/sdk/src/ui/icons.tsx +17 -1
- package/dist/space-harness/host.js +83 -79
- package/dist/space-sdk/dist/{chunk-3DFOGU26.js → chunk-I4Z4UFGB.js} +1 -1
- package/dist/space-sdk/dist/index.js +1 -1
- package/dist/space-sdk/dist/ui.js +5 -5
- package/dist/space-sdk/src/tailwind-candidates.d.ts +42 -0
- package/dist/space-sdk/src/ui/blocks/blocks.d.ts +18 -0
- package/dist/space-sdk/src/ui/blocks/index.d.ts +2 -2
- package/dist/space-sdk/src/ui/icons.d.ts +6 -0
- package/dist/space-sdk/src/ui/index.d.ts +1 -1
- package/dist/space-sdk/src/ui/list/ListReader.d.ts +8 -0
- package/dist/view-renderer/dist/host.js +151 -147
- package/package.json +3 -3
- package/skills/notis-spaces/cli.md +14 -0
- package/src/command-specs/spaces.js +67 -0
- package/src/runtime/app-boundary-validator.js +248 -3
- package/src/runtime/app-data-literals.js +32 -23
- package/src/runtime/space-test-server.js +22 -3
|
@@ -471,12 +471,16 @@ $$typeof
|
|
|
471
471
|
00.5.5h5.8a.5.5
|
|
472
472
|
00.5.5h8a.5.5
|
|
473
473
|
00.5.5h9a.5.5
|
|
474
|
+
01-.5-.5V4a.5.5
|
|
474
475
|
01-.5-.5v-10a.5.5
|
|
476
|
+
01-.5.5H3.5a.5.5
|
|
475
477
|
01-.5.5h-9a.5.5
|
|
476
478
|
01-1-1v-5a1
|
|
477
479
|
01-4-4l1.2-1.2
|
|
478
480
|
01.5-.5h2
|
|
481
|
+
01.5.5V14l-2.6-2H7a.5.5
|
|
479
482
|
01.5.5v10a.5.5
|
|
483
|
+
01.5.5v5a.5.5
|
|
480
484
|
011-1zM10.5
|
|
481
485
|
0a4.3
|
|
482
486
|
0a6.9
|
|
@@ -512,10 +516,14 @@ $$typeof
|
|
|
512
516
|
1.6l1.95
|
|
513
517
|
1.6l5-5a2.3
|
|
514
518
|
1.6rem
|
|
519
|
+
1.75v2.5M11.25
|
|
515
520
|
1.8-5.2zM4.3
|
|
516
521
|
1.9429h.2125l.2429-.2429.9835-1.3053
|
|
517
522
|
10.2h6.8
|
|
518
523
|
10.5h4
|
|
524
|
+
10.5l3-3
|
|
525
|
+
10.7c-1.3.4-2.3
|
|
526
|
+
10.8V13l2.3-2V8.2M5.3
|
|
519
527
|
100dvh
|
|
520
528
|
10a5.4
|
|
521
529
|
10l3.5-3.5M2.5
|
|
@@ -524,8 +532,10 @@ $$typeof
|
|
|
524
532
|
10v3.5H10M6
|
|
525
533
|
10v3a.5.5
|
|
526
534
|
10zM10.6
|
|
535
|
+
11.2-2.2-4.8zM7.1
|
|
527
536
|
11.3l-3.7
|
|
528
537
|
11.4l-1.2
|
|
538
|
+
11.5h3
|
|
529
539
|
11h11
|
|
530
540
|
11h4
|
|
531
541
|
11px
|
|
@@ -581,11 +591,13 @@ $$typeof
|
|
|
581
591
|
2.5h8M4
|
|
582
592
|
2.5l2.5
|
|
583
593
|
2.5v11L13
|
|
594
|
+
2.5v11h11M4.5
|
|
584
595
|
2.5v7.5M4.5
|
|
585
596
|
2.5zM2
|
|
586
597
|
2.7582a.7712.7712
|
|
587
598
|
2.7913a4.4944
|
|
588
599
|
2.7l2.5
|
|
600
|
+
2.8-2.8z
|
|
589
601
|
2.8l11
|
|
590
602
|
2026-01-01..2026-01-31~none
|
|
591
603
|
20px
|
|
@@ -599,6 +611,7 @@ $$typeof
|
|
|
599
611
|
2H4a.5.5
|
|
600
612
|
2a5
|
|
601
613
|
2a6
|
|
614
|
+
2c0
|
|
602
615
|
2d
|
|
603
616
|
2h
|
|
604
617
|
2h4M6.8
|
|
@@ -614,12 +627,15 @@ $$typeof
|
|
|
614
627
|
2v3h3M6
|
|
615
628
|
2v4.3l-3.6
|
|
616
629
|
3.1l.1-.1
|
|
630
|
+
3.5l1.2
|
|
617
631
|
30px
|
|
618
632
|
32px
|
|
619
633
|
33.99-51.98l15.36-23.6c10.67-16.39
|
|
620
634
|
36px
|
|
621
635
|
36px);
|
|
636
|
+
3h2.5
|
|
622
637
|
3h2a.5.5
|
|
638
|
+
3h6.5a.5.5
|
|
623
639
|
3l-6
|
|
624
640
|
3l3
|
|
625
641
|
3l6
|
|
@@ -630,10 +646,14 @@ $$typeof
|
|
|
630
646
|
3v10M10.5
|
|
631
647
|
3v10M3
|
|
632
648
|
3v3h-3M13
|
|
649
|
+
3z
|
|
633
650
|
4.1818a5.9847
|
|
634
651
|
4.2l2.5
|
|
635
652
|
4.4944zm-9.6607-4.1254a4.4708
|
|
653
|
+
4.4l-4.4
|
|
654
|
+
4.4zM5.2
|
|
636
655
|
4.5V8h3
|
|
656
|
+
4.5h11M4.5
|
|
637
657
|
4.5l6
|
|
638
658
|
4.66zM8.3065
|
|
639
659
|
4.6a1.1
|
|
@@ -673,6 +693,7 @@ $$typeof
|
|
|
673
693
|
58.36-37.3z
|
|
674
694
|
5a3.4
|
|
675
695
|
5h-11M5
|
|
696
|
+
5h3v3
|
|
676
697
|
5l-4.6
|
|
677
698
|
5px
|
|
678
699
|
5rem)
|
|
@@ -689,11 +710,13 @@ $$typeof
|
|
|
689
710
|
6.5v4.5
|
|
690
711
|
6.5v4.5M9.5
|
|
691
712
|
6.5v6a.5.5
|
|
713
|
+
6.7l11.2-4.2-4.2
|
|
692
714
|
639px)
|
|
693
715
|
640px
|
|
694
716
|
64rem)
|
|
695
717
|
6H7a4
|
|
696
718
|
6a5.4
|
|
719
|
+
6h3a.5.5
|
|
697
720
|
6h4
|
|
698
721
|
6h6
|
|
699
722
|
6l4
|
|
@@ -702,6 +725,8 @@ $$typeof
|
|
|
702
725
|
6z
|
|
703
726
|
7.2a.0757.0757
|
|
704
727
|
7.3757-3.4537l-.142.0805L8.704
|
|
728
|
+
7.3H3l2-2.3h2.8M8.7
|
|
729
|
+
7.3l4.4-4.4C11
|
|
705
730
|
7.5l2.5
|
|
706
731
|
7.872zm16.5963
|
|
707
732
|
7.8956a4.485
|
|
@@ -711,17 +736,21 @@ $$typeof
|
|
|
711
736
|
7h4M6
|
|
712
737
|
7h4M7
|
|
713
738
|
8.1042v-5.6772a.79.79
|
|
739
|
+
8.2l1.8
|
|
714
740
|
8.2l2
|
|
715
741
|
8.5a1.8
|
|
716
742
|
8.5h3
|
|
717
743
|
8.5h4M6
|
|
718
744
|
8.5l3
|
|
745
|
+
8.9l3.3-3.3
|
|
719
746
|
8H3m4-4L3
|
|
720
747
|
8V2a6
|
|
721
748
|
8h10
|
|
722
749
|
8h4.7
|
|
723
750
|
8h4M6
|
|
724
751
|
8h5
|
|
752
|
+
8h7M6.5
|
|
753
|
+
8l3.3-1.2zM12.5
|
|
725
754
|
8l4
|
|
726
755
|
8l4.5
|
|
727
756
|
8px
|
|
@@ -742,6 +771,7 @@ $$typeof
|
|
|
742
771
|
96px
|
|
743
772
|
9a.5.5
|
|
744
773
|
9px
|
|
774
|
+
9v3.5a.5.5
|
|
745
775
|
:disabled,
|
|
746
776
|
:focus-visible
|
|
747
777
|
:is(.nui-side-pane-main,
|
|
@@ -763,6 +793,7 @@ $$typeof
|
|
|
763
793
|
<EmptyState
|
|
764
794
|
<GithubConnect
|
|
765
795
|
<Harness>
|
|
796
|
+
<Icon
|
|
766
797
|
<KeyboardEngine>
|
|
767
798
|
<Legend
|
|
768
799
|
<OpenModeStoreProvider>
|
|
@@ -845,6 +876,7 @@ ArrowLeft
|
|
|
845
876
|
ArrowRight
|
|
846
877
|
ArrowUp
|
|
847
878
|
Ask
|
|
879
|
+
Assigned
|
|
848
880
|
At
|
|
849
881
|
Attach
|
|
850
882
|
Attachments
|
|
@@ -1218,6 +1250,7 @@ Pick
|
|
|
1218
1250
|
Pictures
|
|
1219
1251
|
Pièces
|
|
1220
1252
|
Plus
|
|
1253
|
+
Podcasts
|
|
1221
1254
|
Point
|
|
1222
1255
|
Pointe
|
|
1223
1256
|
Portal
|
|
@@ -1839,6 +1872,7 @@ changé.
|
|
|
1839
1872
|
charset
|
|
1840
1873
|
chart
|
|
1841
1874
|
chart-data
|
|
1875
|
+
chart-line-up
|
|
1842
1876
|
chartWidth
|
|
1843
1877
|
chat
|
|
1844
1878
|
chat,
|
|
@@ -1846,6 +1880,7 @@ chat-circle-text
|
|
|
1846
1880
|
chat.
|
|
1847
1881
|
chat:
|
|
1848
1882
|
check
|
|
1883
|
+
check-circle
|
|
1849
1884
|
check-circle-fill
|
|
1850
1885
|
checkbox
|
|
1851
1886
|
checked
|
|
@@ -2475,6 +2510,7 @@ full
|
|
|
2475
2510
|
fullscreen;
|
|
2476
2511
|
fullscreenchange
|
|
2477
2512
|
function
|
|
2513
|
+
funnel-simple
|
|
2478
2514
|
févr.
|
|
2479
2515
|
gap-2
|
|
2480
2516
|
gap-3
|
|
@@ -3031,6 +3067,7 @@ même
|
|
|
3031
3067
|
n,
|
|
3032
3068
|
name
|
|
3033
3069
|
name,
|
|
3070
|
+
name>
|
|
3034
3071
|
named
|
|
3035
3072
|
named,
|
|
3036
3073
|
names
|
|
@@ -3362,6 +3399,9 @@ nui-fields-bar
|
|
|
3362
3399
|
nui-fields-error
|
|
3363
3400
|
nui-fields-list
|
|
3364
3401
|
nui-fields-note
|
|
3402
|
+
nui-filter-chip
|
|
3403
|
+
nui-filter-chip-label
|
|
3404
|
+
nui-filter-chip-x
|
|
3365
3405
|
nui-gallery
|
|
3366
3406
|
nui-gallery-action
|
|
3367
3407
|
nui-gallery-card
|
|
@@ -3836,6 +3876,7 @@ pane
|
|
|
3836
3876
|
panel
|
|
3837
3877
|
panneau
|
|
3838
3878
|
paper-plane-right
|
|
3879
|
+
paper-plane-tilt
|
|
3839
3880
|
paperclip
|
|
3840
3881
|
par
|
|
3841
3882
|
param
|
|
@@ -4167,6 +4208,7 @@ rich_text
|
|
|
4167
4208
|
right
|
|
4168
4209
|
ring-1
|
|
4169
4210
|
ring-border
|
|
4211
|
+
rocket-launch
|
|
4170
4212
|
role
|
|
4171
4213
|
room
|
|
4172
4214
|
room,
|
|
@@ -36,6 +36,10 @@ export declare const BLOCK_WORDS: Readonly<{
|
|
|
36
36
|
en: string;
|
|
37
37
|
fr: string;
|
|
38
38
|
};
|
|
39
|
+
clearFilterNamed: {
|
|
40
|
+
en: string;
|
|
41
|
+
fr: string;
|
|
42
|
+
};
|
|
39
43
|
}>;
|
|
40
44
|
/**
|
|
41
45
|
* What a Section holds, which sets its spacing. bar: a period or filter bar (px 24, pt 12). stats: a full-width
|
|
@@ -73,6 +77,20 @@ export interface BadgeProps {
|
|
|
73
77
|
className?: string;
|
|
74
78
|
}
|
|
75
79
|
export declare function Badge({ tone, icon, children, className }: BadgeProps): import("react").JSX.Element;
|
|
80
|
+
export interface FilterChipProps {
|
|
81
|
+
/** What the list is narrowed to ("Podcasts", "Assigned to me"), shown on the chip. */
|
|
82
|
+
label: Text;
|
|
83
|
+
/** Removes the filter; the chip's x runs it. */
|
|
84
|
+
onClear(): void;
|
|
85
|
+
/** The x's accessible name. Default "Clear the {label} filter". */
|
|
86
|
+
clearLabel?: Text;
|
|
87
|
+
className?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* A filter the view applies, as a chip that ends in an x to clear it. `ListReader` draws its `filters` with it in the
|
|
91
|
+
* line under the toolbar; use it on its own above another view.
|
|
92
|
+
*/
|
|
93
|
+
export declare function FilterChip({ label, onClear, clearLabel, className }: FilterChipProps): import("react").JSX.Element;
|
|
76
94
|
/**
|
|
77
95
|
* default: a soft neutral fill. primary: the page's main action. secondary: the Portal's secondary fill. ghost: no
|
|
78
96
|
* fill until hover. link: text in the primary colour, underlined on hover. danger: a destructive action.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { BLOCK_WORDS, Badge, Button, EmptyState, Metric, NativeSelect, Notice, Pagination, Section, SegmentedControl, Switch, ToggleGroup, } from './blocks';
|
|
2
|
-
export type { BadgeProps, ButtonProps, ButtonSize, ButtonVariant, EmptyStateProps, MetricProps, NativeSelectOption, NativeSelectProps, NoticeProps, PaginationProps, SectionKind, SectionProps, SegmentedControlProps, SegmentedOption, SwitchProps, ToggleGroupProps, } from './blocks';
|
|
1
|
+
export { BLOCK_WORDS, Badge, Button, EmptyState, FilterChip, Metric, NativeSelect, Notice, Pagination, Section, SegmentedControl, Switch, ToggleGroup, } from './blocks';
|
|
2
|
+
export type { BadgeProps, ButtonProps, ButtonSize, ButtonVariant, EmptyStateProps, FilterChipProps, MetricProps, NativeSelectOption, NativeSelectProps, NoticeProps, PaginationProps, SectionKind, SectionProps, SegmentedControlProps, SegmentedOption, SwitchProps, ToggleGroupProps, } from './blocks';
|
|
3
3
|
export { TABROW_WORDS, TABS_WORDS, TabRow, Tabs, stepTab, tabIds, tabPanelProps } from './Tabs';
|
|
4
4
|
export type { TabItem, TabRowItem, TabRowProps, TabsProps } from './Tabs';
|
|
5
5
|
export { Meter } from './Meter';
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
* toolkit has no icon dependency. Every `icon` prop also takes any ReactNode (a Phosphor component, for example).
|
|
4
4
|
*/
|
|
5
5
|
import React, { type ReactNode } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* Every name the set draws, in the order above. `notis spaces build` refuses an `icon` or `<Icon name>` string that is
|
|
8
|
+
* not one of them; the CLI and the server read the same list from `server/config/notis_app_design_rules.json`, kept
|
|
9
|
+
* equal to this one by `icons.test.tsx`.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ICON_NAMES: readonly string[];
|
|
6
12
|
export declare function hasIcon(name: string): boolean;
|
|
7
13
|
/** A built-in icon by name; an unknown name renders nothing and warns once. Decorative: the control carries the label. */
|
|
8
14
|
export declare function Icon({ name, className }: {
|
|
@@ -17,7 +17,7 @@ export * from './actions';
|
|
|
17
17
|
export * from './open';
|
|
18
18
|
export * from './blocks';
|
|
19
19
|
export * from './gallery';
|
|
20
|
-
export { Icon, hasIcon, renderIcon } from './icons';
|
|
20
|
+
export { ICON_NAMES, Icon, hasIcon, renderIcon } from './icons';
|
|
21
21
|
export { adoptToolkitStyles, getToolkitStyleSheet, getToolkitStyleText, registerToolkitStyles, toolkitCascadeFor, TOOLKIT_CASCADE_LAYER } from './styles';
|
|
22
22
|
export type { AdoptToolkitOptions, ToolkitCascade } from './styles';
|
|
23
23
|
export { COMPARES, DEFAULT_COMPARE, DEFAULT_PRESET, EXTRA_PRESETS, PRESETS, compareRange, customPeriod, dayCount, formatPeriodParam, fromIsoDay, isCompareId, isPresetId, normalizePeriod, parsePeriodParam, periodRanges, presetRange, samePeriod, toIsoDay, } from './period/periods';
|
|
@@ -32,6 +32,7 @@ import { type ActionOption, type ActionRef, type KeySpec, type Words } from '../
|
|
|
32
32
|
import { type TravelDirection } from '../engine/step';
|
|
33
33
|
import { type ActionHandlers, type ActionOutcome, type ResolvedAction } from '../actions/useActions';
|
|
34
34
|
import type { ToastOptions } from '../actions/useToast';
|
|
35
|
+
import { type FilterChipProps } from '../blocks/blocks';
|
|
35
36
|
import { type TabRowProps } from '../blocks/Tabs';
|
|
36
37
|
import type { OpenMode } from '../open/openModeStore';
|
|
37
38
|
import { type ListBoard } from '../board/boardModel';
|
|
@@ -224,6 +225,13 @@ export interface ListReaderProps<T> {
|
|
|
224
225
|
viewMenu?: ViewMenuProps;
|
|
225
226
|
/** One 44px line under the toolbar (a sync state, a notice). */
|
|
226
227
|
infoLine?: ReactNode;
|
|
228
|
+
/**
|
|
229
|
+
* The filters the view applies on top of its tabs ("Podcasts" from a link), each a chip with an x that clears it,
|
|
230
|
+
* at the start of the info line. Chips that do not fit wrap onto another line; a cleared chip gives focus to the list.
|
|
231
|
+
*/
|
|
232
|
+
filters?: readonly (FilterChipProps & {
|
|
233
|
+
id: string;
|
|
234
|
+
})[];
|
|
227
235
|
/** The top bar search for this list. Leave out for a list with no search. */
|
|
228
236
|
search?: ListSearchProps<T>;
|
|
229
237
|
/**
|