@almadar/std 16.232.0 → 16.233.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "$generated": "2026-09-27T02:51:38.419Z",
2
+ "$generated": "2026-09-27T12:53:28.059Z",
3
3
  "$source": "tools/almadar-pattern-sync/behaviors",
4
4
  "$package": "@almadar/std",
5
5
  "totalBehaviors": 440,
@@ -24634,6 +24634,15 @@
24634
24634
  "synonyms": "fetch limit, records per page, batch size, page limit",
24635
24635
  "tier": "presentation"
24636
24636
  },
24637
+ {
24638
+ "key": "searchField",
24639
+ "type": "string",
24640
+ "default": "title",
24641
+ "label": "Which column does the search box match against?",
24642
+ "description": "Name the field on this entity the search box's str/includes filter matches against. Declared, never inferred: an entity with no `title` column must set this to a real field (e.g. name, summary) or the search box can never match a card.",
24643
+ "synonyms": "search column, search on field, match field, search key",
24644
+ "tier": "policy"
24645
+ },
24637
24646
  {
24638
24647
  "key": "searchPlaceholder",
24639
24648
  "type": "string",
@@ -33570,6 +33579,15 @@
33570
33579
  "type": "string"
33571
33580
  }
33572
33581
  },
33582
+ {
33583
+ "key": "kindField",
33584
+ "type": "string",
33585
+ "default": "kind",
33586
+ "label": "Which column holds each entry's kind?",
33587
+ "description": "Name the field on this entity the kind filter compares against (the values of kindOptions). An entity whose kind lives under another column (e.g. status) sets it here, or the kind filter can never match an entry.",
33588
+ "synonyms": "kind column, type field, category column, filter by kind",
33589
+ "tier": "policy"
33590
+ },
33573
33591
  {
33574
33592
  "key": "kindOptions",
33575
33593
  "type": "[KindOption]",
@@ -33643,6 +33661,15 @@
33643
33661
  "synonyms": "fetch limit, records per page, page limit",
33644
33662
  "tier": "presentation"
33645
33663
  },
33664
+ {
33665
+ "key": "searchField",
33666
+ "type": "string",
33667
+ "default": "title",
33668
+ "label": "Which column does the search box match against?",
33669
+ "description": "Name the field on this entity the search box's str/includes filter matches against. Declared, never inferred: an entity with no `title` column must set this to a real field or the search box can never match an entry.",
33670
+ "synonyms": "search column, search on field, match field, search key",
33671
+ "tier": "policy"
33672
+ },
33646
33673
  {
33647
33674
  "key": "searchPlaceholder",
33648
33675
  "type": "string",
@@ -67767,7 +67794,7 @@
67767
67794
  {
67768
67795
  "key": "border",
67769
67796
  "type": "boolean",
67770
- "default": false,
67797
+ "default": true,
67771
67798
  "label": "Border",
67772
67799
  "description": "Show border",
67773
67800
  "tier": "presentation"
@@ -67911,7 +67938,7 @@
67911
67938
  {
67912
67939
  "key": "padding",
67913
67940
  "type": "string",
67914
- "default": "none",
67941
+ "default": "md",
67915
67942
  "label": "Padding",
67916
67943
  "description": "Padding on all sides",
67917
67944
  "tier": "presentation",
@@ -68569,6 +68596,7 @@
68569
68596
  {
68570
68597
  "key": "label",
68571
68598
  "type": "string",
68599
+ "default": "Button",
68572
68600
  "label": "Label",
68573
68601
  "description": "Button label text (alternative to children for schema-driven rendering)",
68574
68602
  "tier": "presentation"
@@ -97170,7 +97198,15 @@
97170
97198
  {
97171
97199
  "key": "items",
97172
97200
  "type": "[BreadcrumbItemsItem]",
97173
- "default": [],
97201
+ "default": [
97202
+ {
97203
+ "href": "/",
97204
+ "label": "Home"
97205
+ },
97206
+ {
97207
+ "label": "Page"
97208
+ }
97209
+ ],
97174
97210
  "label": "Items",
97175
97211
  "description": "Breadcrumb items. Omit together with `fromNavStack` to render the orbital-scoped navigation stack instead of an authored trail.",
97176
97212
  "tier": "presentation",
@@ -114786,6 +114822,11 @@
114786
114822
  "required": true,
114787
114823
  "type": "string"
114788
114824
  },
114825
+ "note": {
114826
+ "name": "note",
114827
+ "required": false,
114828
+ "type": "string"
114829
+ },
114789
114830
  "path": {
114790
114831
  "name": "path",
114791
114832
  "required": true,
@@ -241,7 +241,7 @@ orbital BoardOrbital {
241
241
  REFETCH_QUERY -> viewing_board
242
242
  (fetch BoardView {
243
243
  emit: { failure: BoardItemsLoadFailed, success: BoardItemsLoaded }
244
- filter: (or ["=", ?searchTerm, ""] (str/includes (object/get @entity title) ?searchTerm))
244
+ filter: (or ["=", ?searchTerm, ""] (str/includes (object/get @entity @config.searchField) ?searchTerm))
245
245
  })
246
246
  REFETCH_FILTER -> viewing_board
247
247
  (fetch BoardView {
@@ -535,6 +535,11 @@ orbital BoardOrbital {
535
535
  @label "Board title"
536
536
  @description "Heading shown above the column board"
537
537
  @tier "presentation"
538
+ searchField : string = "title"
539
+ @label "Which column does the search box match against?"
540
+ @description "Name the field on this entity the search box's str/includes filter matches against. Declared, never inferred: an entity with no `title` column must set this to a real field (e.g. name, summary) or the search box can never match a card."
541
+ @synonyms "search column, search on field, match field, search key"
542
+ @tier "policy"
538
543
  columns : [ColumnSpec] = [{
539
544
  icon: circle
540
545
  key: todo
@@ -241,12 +241,12 @@ orbital EventLogOrbital {
241
241
  REFETCH_QUERY -> viewing
242
242
  (fetch EventLogView {
243
243
  emit: { failure: EventLogLoadFailed, success: EventLogLoaded }
244
- filter: (and (or ["=", @entity.filterKind, ""] ["=", (object/get @entity kind), @entity.filterKind]) (or ["=", ?searchTerm, ""] (str/includes (object/get @entity title) ?searchTerm)))
244
+ filter: (and (or ["=", @entity.filterKind, ""] ["=", (object/get @entity @config.kindField), @entity.filterKind]) (or ["=", ?searchTerm, ""] (str/includes (object/get @entity @config.searchField) ?searchTerm)))
245
245
  })
246
246
  REFETCH_FILTER -> viewing
247
247
  (fetch EventLogView {
248
248
  emit: { failure: EventLogLoadFailed, success: EventLogLoaded }
249
- filter: (and (or ["=", @entity.filterKind, ""] ["=", (object/get @entity kind), @entity.filterKind]) (or ["=", ?value, ""] ["=", (object/get @entity ?field), ?value]))
249
+ filter: (and (or ["=", @entity.filterKind, ""] ["=", (object/get @entity @config.kindField), @entity.filterKind]) (or ["=", ?value, ""] ["=", (object/get @entity ?field), ?value]))
250
250
  })
251
251
  ;; No filter carried over on REFETCH_PAGE, mirroring std-browse exactly —
252
252
  ;; the reference page arm does not preserve query/filter either.
@@ -588,6 +588,16 @@ orbital EventLogOrbital {
588
588
  @label "Section title"
589
589
  @description "Heading shown above the activity timeline"
590
590
  @tier "presentation"
591
+ searchField : string = "title"
592
+ @label "Which column does the search box match against?"
593
+ @description "Name the field on this entity the search box's str/includes filter matches against. Declared, never inferred: an entity with no `title` column must set this to a real field or the search box can never match an entry."
594
+ @synonyms "search column, search on field, match field, search key"
595
+ @tier "policy"
596
+ kindField : string = "kind"
597
+ @label "Which column holds each entry's kind?"
598
+ @description "Name the field on this entity the kind filter compares against (the values of kindOptions). An entity whose kind lives under another column (e.g. status) sets it here, or the kind filter can never match an entry."
599
+ @synonyms "kind column, type field, category column, filter by kind"
600
+ @tier "policy"
591
601
  kindOptions : [KindOption] = [{
592
602
  icon: plus-circle
593
603
  key: created
@@ -59,7 +59,7 @@ orbital BoxOrbital {
59
59
  @label "Dir"
60
60
  @description "Text direction for this subtree: 'ltr', 'rtl' (Arabic/Hebrew content) or 'auto'"
61
61
  @tier "presentation"
62
- padding : "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" = none
62
+ padding : "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" = md
63
63
  @label "Padding"
64
64
  @description "Padding on all sides"
65
65
  @tier "presentation"
@@ -87,7 +87,7 @@ orbital BoxOrbital {
87
87
  @label "Bg"
88
88
  @description "Background color"
89
89
  @tier "presentation"
90
- border : boolean = false
90
+ border : boolean = true
91
91
  @label "Border"
92
92
  @description "Show border"
93
93
  @tier "presentation"
@@ -96,7 +96,7 @@ orbital ButtonOrbital {
96
96
  @label "Action Payload"
97
97
  @description "Payload to include with the action event"
98
98
  @tier "presentation"
99
- label : string
99
+ label : string = Button
100
100
  @label "Label"
101
101
  @description "Button label text (alternative to children for schema-driven rendering)"
102
102
  @tier "presentation"
@@ -42,7 +42,7 @@ orbital BreadcrumbOrbital {
42
42
  }
43
43
 
44
44
  config {
45
- items : [BreadcrumbItemsItem] = []
45
+ items : [BreadcrumbItemsItem] = [{ label: "Home", href: "/" } { label: "Page" }]
46
46
  @label "Items"
47
47
  @description "Breadcrumb items. Omit together with `fromNavStack` to render the orbital-scoped navigation stack instead of an authored trail."
48
48
  @tier "presentation"
@@ -7,6 +7,7 @@ orbital FileTreeOrbital {
7
7
  path : string!
8
8
  type : "file" | "dir"!
9
9
  children : [FileTreeTreeItem]
10
+ note : string
10
11
  size : number
11
12
  language : string
12
13
  }