@almadar/std 16.5.0 → 16.6.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.
@@ -78,11 +78,10 @@
78
78
  "linkedEntity": "SidebarRecord",
79
79
  "config": {
80
80
  "bodyContent": {
81
- "gap": "md",
82
81
  "direction": "vertical",
82
+ "gap": "md",
83
83
  "children": [
84
84
  {
85
- "gap": "xs",
86
85
  "type": "stack",
87
86
  "direction": "vertical",
88
87
  "children": [
@@ -95,53 +94,54 @@
95
94
  },
96
95
  {
97
96
  "className": "leading-snug break-words",
98
- "weight": "semibold",
99
- "variant": "h4",
100
97
  "type": "typography",
101
- "content": "@entity.title"
98
+ "weight": "semibold",
99
+ "content": "@entity.title",
100
+ "variant": "h4"
102
101
  }
103
- ]
102
+ ],
103
+ "gap": "xs"
104
104
  },
105
105
  {
106
106
  "type": "divider"
107
107
  },
108
108
  {
109
- "type": "stack",
110
- "direction": "horizontal",
109
+ "justify": "between",
111
110
  "gap": "sm",
112
111
  "align": "center",
113
112
  "children": [
114
113
  {
115
- "variant": "overline",
116
114
  "type": "typography",
115
+ "content": "Status",
117
116
  "color": "muted",
118
- "content": "Status"
117
+ "variant": "overline"
119
118
  },
120
119
  {
121
120
  "type": "badge",
122
- "label": "@entity.status",
123
- "variant": "default"
121
+ "variant": "default",
122
+ "label": "@entity.status"
124
123
  }
125
124
  ],
126
- "justify": "between"
125
+ "direction": "horizontal",
126
+ "type": "stack"
127
127
  },
128
128
  {
129
129
  "align": "center",
130
- "type": "stack",
131
- "direction": "horizontal",
132
130
  "gap": "sm",
131
+ "type": "stack",
133
132
  "justify": "between",
133
+ "direction": "horizontal",
134
134
  "children": [
135
135
  {
136
- "color": "muted",
137
- "type": "typography",
138
136
  "content": "Priority",
137
+ "type": "typography",
138
+ "color": "muted",
139
139
  "variant": "overline"
140
140
  },
141
141
  {
142
- "label": "@entity.priority",
142
+ "variant": "neutral",
143
143
  "type": "badge",
144
- "variant": "neutral"
144
+ "label": "@entity.priority"
145
145
  }
146
146
  ]
147
147
  },
@@ -150,7 +150,7 @@
150
150
  },
151
151
  {
152
152
  "type": "stack",
153
- "gap": "xs",
153
+ "direction": "vertical",
154
154
  "children": [
155
155
  {
156
156
  "content": "Assignee",
@@ -159,95 +159,95 @@
159
159
  "type": "typography"
160
160
  },
161
161
  {
162
+ "gap": "xs",
163
+ "align": "center",
164
+ "direction": "horizontal",
165
+ "className": "hover:bg-[var(--color-muted)] rounded-sm -mx-1 px-1 py-0.5 transition-colors cursor-pointer",
162
166
  "children": [
163
167
  {
164
168
  "type": "avatar",
165
- "size": "xs",
166
- "name": "@entity.assignee"
169
+ "name": "@entity.assignee",
170
+ "size": "xs"
167
171
  },
168
172
  {
169
- "type": "typography",
173
+ "variant": "body2",
170
174
  "content": "@entity.assignee",
171
- "variant": "body2"
175
+ "type": "typography"
172
176
  }
173
177
  ],
174
- "type": "stack",
175
- "direction": "horizontal",
176
- "gap": "xs",
177
- "className": "hover:bg-[var(--color-muted)] rounded-sm -mx-1 px-1 py-0.5 transition-colors cursor-pointer",
178
- "align": "center"
178
+ "type": "stack"
179
179
  }
180
180
  ],
181
- "direction": "vertical"
181
+ "gap": "xs"
182
182
  },
183
183
  {
184
- "type": "stack",
185
184
  "gap": "xs",
186
- "direction": "vertical",
187
185
  "children": [
188
186
  {
189
187
  "color": "muted",
190
188
  "type": "typography",
191
- "variant": "overline",
192
- "content": "Reporter"
189
+ "content": "Reporter",
190
+ "variant": "overline"
193
191
  },
194
192
  {
195
193
  "gap": "xs",
196
194
  "type": "stack",
197
195
  "direction": "horizontal",
198
- "align": "center",
199
196
  "children": [
200
197
  {
201
- "type": "avatar",
202
198
  "size": "xs",
203
- "name": "@entity.reporter"
199
+ "name": "@entity.reporter",
200
+ "type": "avatar"
204
201
  },
205
202
  {
206
- "variant": "body2",
207
203
  "type": "typography",
204
+ "variant": "body2",
208
205
  "content": "@entity.reporter"
209
206
  }
210
- ]
207
+ ],
208
+ "align": "center"
211
209
  }
212
- ]
210
+ ],
211
+ "type": "stack",
212
+ "direction": "vertical"
213
213
  },
214
214
  {
215
215
  "type": "divider"
216
216
  },
217
217
  {
218
- "type": "stack",
218
+ "direction": "horizontal",
219
219
  "justify": "between",
220
+ "gap": "sm",
221
+ "type": "stack",
222
+ "align": "center",
220
223
  "children": [
221
224
  {
222
- "color": "muted",
223
- "content": "Milestone",
224
225
  "variant": "overline",
225
- "type": "typography"
226
+ "type": "typography",
227
+ "color": "muted",
228
+ "content": "Milestone"
226
229
  },
227
230
  {
228
231
  "variant": "body2",
229
232
  "content": "@entity.milestone",
230
233
  "type": "typography"
231
234
  }
232
- ],
233
- "direction": "horizontal",
234
- "gap": "sm",
235
- "align": "center"
235
+ ]
236
236
  },
237
237
  {
238
238
  "direction": "vertical",
239
239
  "type": "stack",
240
240
  "children": [
241
241
  {
242
- "variant": "overline",
243
242
  "content": "Labels",
244
- "type": "typography",
245
- "color": "muted"
243
+ "variant": "overline",
244
+ "color": "muted",
245
+ "type": "typography"
246
246
  },
247
247
  {
248
- "label": "@entity.labels",
248
+ "type": "badge",
249
249
  "variant": "neutral",
250
- "type": "badge"
250
+ "label": "@entity.labels"
251
251
  }
252
252
  ],
253
253
  "gap": "xs"
@@ -256,52 +256,52 @@
256
256
  "type": "divider"
257
257
  },
258
258
  {
259
- "justify": "between",
259
+ "direction": "horizontal",
260
+ "type": "stack",
260
261
  "gap": "sm",
262
+ "justify": "between",
261
263
  "children": [
262
264
  {
263
265
  "color": "muted",
264
- "type": "typography",
265
266
  "content": "Created",
267
+ "type": "typography",
266
268
  "variant": "overline"
267
269
  },
268
270
  {
269
- "type": "typography",
270
271
  "content": "@entity.createdAt",
272
+ "className": "tabular-nums",
273
+ "type": "typography",
271
274
  "variant": "caption",
272
- "color": "muted",
273
- "className": "tabular-nums"
275
+ "color": "muted"
274
276
  }
275
277
  ],
276
- "type": "stack",
277
- "direction": "horizontal",
278
278
  "align": "center"
279
279
  },
280
280
  {
281
+ "gap": "sm",
282
+ "direction": "horizontal",
283
+ "type": "stack",
284
+ "align": "center",
285
+ "justify": "between",
281
286
  "children": [
282
287
  {
283
- "variant": "overline",
284
- "content": "Updated",
285
288
  "type": "typography",
286
- "color": "muted"
289
+ "content": "Updated",
290
+ "color": "muted",
291
+ "variant": "overline"
287
292
  },
288
293
  {
289
- "variant": "caption",
294
+ "content": "@entity.updatedAt",
290
295
  "className": "tabular-nums",
291
- "color": "muted",
296
+ "variant": "caption",
292
297
  "type": "typography",
293
- "content": "@entity.updatedAt"
298
+ "color": "muted"
294
299
  }
295
- ],
296
- "type": "stack",
297
- "direction": "horizontal",
298
- "gap": "sm",
299
- "justify": "between",
300
- "align": "center"
300
+ ]
301
301
  }
302
302
  ],
303
- "type": "stack",
304
- "className": "max-w-[280px] w-full p-card-md"
303
+ "className": "max-w-[280px] w-full p-card-md",
304
+ "type": "stack"
305
305
  }
306
306
  }
307
307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "16.5.0",
3
+ "version": "16.6.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",