@almadar/std 16.21.6 → 16.22.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.
@@ -73,66 +73,67 @@
73
73
  "name": "MapBrowse",
74
74
  "linkedEntity": "MapRow",
75
75
  "config": {
76
+ "tableLook": "spacious",
77
+ "fields": [
78
+ {
79
+ "name": "name",
80
+ "label": "Name",
81
+ "variant": "h4"
82
+ },
83
+ {
84
+ "label": "Address",
85
+ "name": "address",
86
+ "variant": "caption"
87
+ },
88
+ {
89
+ "label": "Status",
90
+ "variant": "badge",
91
+ "name": "status"
92
+ }
93
+ ],
76
94
  "bodyContent": {
95
+ "gap": "md",
96
+ "className": "p-card-md",
97
+ "direction": "vertical",
77
98
  "children": [
78
99
  {
79
- "direction": "horizontal",
80
100
  "className": "w-full max-w-2xl rounded-md border border-[var(--color-border)] bg-[var(--color-surface)] px-3 py-2 shadow-sm",
101
+ "type": "stack",
81
102
  "children": [
82
103
  {
83
104
  "type": "icon",
84
- "name": "search",
85
- "className": "text-muted-foreground"
105
+ "className": "text-muted-foreground",
106
+ "name": "search"
86
107
  },
87
108
  {
109
+ "action": "REFETCH_QUERY",
88
110
  "inputType": "search",
111
+ "type": "input",
89
112
  "placeholder": "@config.searchPlaceholder",
90
- "action": "REFETCH_QUERY",
91
- "className": "flex-1",
92
- "type": "input"
113
+ "className": "flex-1"
93
114
  }
94
115
  ],
95
- "type": "stack",
116
+ "align": "center",
96
117
  "gap": "sm",
97
- "align": "center"
118
+ "direction": "horizontal"
98
119
  },
99
120
  {
100
- "className": "w-full rounded-lg overflow-hidden border border-[var(--color-border)]",
101
121
  "markers": "@payload.data",
122
+ "type": "map-view",
102
123
  "height": "440px",
103
- "type": "map-view"
124
+ "className": "w-full rounded-lg overflow-hidden border border-[var(--color-border)]"
104
125
  },
105
126
  {
106
- "fields": "@config.fields",
107
- "itemActions": "@config.itemActions",
108
127
  "gap": "sm",
109
- "look": "@config.tableLook",
110
128
  "type": "data-list",
111
- "entity": "@payload.data"
129
+ "entity": "@payload.data",
130
+ "fields": "@config.fields",
131
+ "itemActions": "@config.itemActions",
132
+ "look": "@config.tableLook"
112
133
  }
113
134
  ],
114
- "type": "stack",
115
- "direction": "vertical",
116
- "gap": "md",
117
- "className": "p-card-md"
118
- },
119
- "fields": [
120
- {
121
- "label": "Name",
122
- "variant": "h4",
123
- "name": "name"
124
- },
125
- {
126
- "label": "Address",
127
- "variant": "caption",
128
- "name": "address"
129
- },
130
- {
131
- "variant": "badge",
132
- "name": "status",
133
- "label": "Status"
134
- }
135
- ]
135
+ "type": "stack"
136
+ }
136
137
  }
137
138
  }
138
139
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "16.21.6",
3
+ "version": "16.22.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",