@almadar/std 15.0.1 → 15.0.2

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.
Files changed (22) hide show
  1. package/behaviors/registry/variations/chrome/std-app-layout-bottomnav.orb +5 -5
  2. package/behaviors/registry/variations/chrome/std-app-layout-minimal.orb +6 -6
  3. package/behaviors/registry/variations/chrome/std-app-layout-topnav.orb +10 -10
  4. package/behaviors/registry/variations/views/std-browse-kanban.orb +24 -16
  5. package/behaviors/registry/variations/views/std-stats-sparkline.orb +63 -3
  6. package/dist/behaviors/registry/variations/chrome/std-app-layout-bottomnav.orb +5 -5
  7. package/dist/behaviors/registry/variations/chrome/std-app-layout-minimal.orb +6 -6
  8. package/dist/behaviors/registry/variations/chrome/std-app-layout-topnav.orb +10 -10
  9. package/dist/behaviors/registry/variations/views/std-browse-kanban.orb +24 -16
  10. package/dist/behaviors/registry/variations/views/std-stats-sparkline.orb +63 -3
  11. package/dist/registry/variations/chrome/std-app-layout-bottomnav.orb +5 -5
  12. package/dist/registry/variations/chrome/std-app-layout-minimal.orb +6 -6
  13. package/dist/registry/variations/chrome/std-app-layout-topnav.orb +10 -10
  14. package/dist/registry/variations/views/std-browse-kanban.orb +24 -16
  15. package/dist/registry/variations/views/std-stats-sparkline.orb +63 -3
  16. package/package.json +1 -1
  17. package/behaviors/registry/variations/detail/std-detail-inline.orb +0 -60
  18. package/behaviors/registry/variations/detail/std-detail-page.orb +0 -60
  19. package/dist/behaviors/registry/variations/detail/std-detail-inline.orb +0 -60
  20. package/dist/behaviors/registry/variations/detail/std-detail-page.orb +0 -60
  21. package/dist/registry/variations/detail/std-detail-inline.orb +0 -60
  22. package/dist/registry/variations/detail/std-detail-page.orb +0 -60
@@ -37,19 +37,19 @@
37
37
  "icon": "home"
38
38
  },
39
39
  {
40
- "icon": "users",
41
40
  "label": "Contacts",
41
+ "icon": "users",
42
42
  "href": "/contacts"
43
43
  },
44
44
  {
45
- "href": "/tasks",
45
+ "label": "Tasks",
46
46
  "icon": "check-square",
47
- "label": "Tasks"
47
+ "href": "/tasks"
48
48
  },
49
49
  {
50
+ "href": "/settings",
50
51
  "label": "Settings",
51
- "icon": "settings",
52
- "href": "/settings"
52
+ "icon": "settings"
53
53
  }
54
54
  ]
55
55
  }
@@ -28,11 +28,12 @@
28
28
  "name": "MinimalLayout",
29
29
  "linkedEntity": "MinimalLayoutState",
30
30
  "config": {
31
+ "layoutMode": "minimal",
31
32
  "navItems": [
32
33
  {
33
- "label": "Home",
34
+ "href": "/",
34
35
  "icon": "home",
35
- "href": "/"
36
+ "label": "Home"
36
37
  },
37
38
  {
38
39
  "href": "/contacts",
@@ -40,17 +41,16 @@
40
41
  "label": "Contacts"
41
42
  },
42
43
  {
43
- "href": "/tasks",
44
44
  "label": "Tasks",
45
+ "href": "/tasks",
45
46
  "icon": "check-square"
46
47
  },
47
48
  {
48
- "href": "/settings",
49
49
  "icon": "settings",
50
- "label": "Settings"
50
+ "label": "Settings",
51
+ "href": "/settings"
51
52
  }
52
53
  ],
53
- "layoutMode": "minimal",
54
54
  "appName": "Minimal Demo"
55
55
  }
56
56
  }
@@ -28,30 +28,30 @@
28
28
  "name": "TopnavLayout",
29
29
  "linkedEntity": "TopnavLayoutState",
30
30
  "config": {
31
- "appName": "Topnav Demo",
32
31
  "navItems": [
33
32
  {
34
- "icon": "home",
33
+ "label": "Home",
35
34
  "href": "/",
36
- "label": "Home"
35
+ "icon": "home"
37
36
  },
38
37
  {
38
+ "icon": "users",
39
39
  "label": "Contacts",
40
- "href": "/contacts",
41
- "icon": "users"
40
+ "href": "/contacts"
42
41
  },
43
42
  {
44
- "label": "Tasks",
43
+ "icon": "check-square",
45
44
  "href": "/tasks",
46
- "icon": "check-square"
45
+ "label": "Tasks"
47
46
  },
48
47
  {
49
48
  "label": "Settings",
50
- "icon": "settings",
51
- "href": "/settings"
49
+ "href": "/settings",
50
+ "icon": "settings"
52
51
  }
53
52
  ],
54
- "layoutMode": "topnav"
53
+ "layoutMode": "topnav",
54
+ "appName": "Topnav Demo"
55
55
  }
56
56
  }
57
57
  ],
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "std-browse-kanban",
3
- "version": "1.0.0",
4
- "description": "Kanban view for std-browse. Embeds base browse atom with kanban pattern override.",
3
+ "version": "1.1.0",
4
+ "description": "Kanban view. Composes std-board (the N-column board primitive with dragGroup/accepts/dropEvent wiring on the nested data-list inside each column card). Topology = loading / viewing_board / viewing_card / adding / error — same as std-pipeline, distinct from std-browse's loading/browsing/error CRUD shape. Cards drag between columns to update their stage via the bus.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "KanbanBrowseItemOrbital",
8
8
  "uses": [
9
9
  {
10
- "from": "std/behaviors/std-browse",
11
- "as": "Browse"
10
+ "from": "std/behaviors/std-board",
11
+ "as": "Board"
12
12
  }
13
13
  ],
14
14
  "entity": {
15
15
  "name": "KanbanBrowseItem",
16
- "persistence": "runtime",
16
+ "collection": "kanban_browse_items",
17
+ "persistence": "persistent",
17
18
  "fields": [
18
19
  {
19
20
  "name": "id",
@@ -21,37 +22,44 @@
21
22
  "required": true
22
23
  },
23
24
  {
24
- "name": "name",
25
+ "name": "title",
25
26
  "type": "string",
26
27
  "required": true
27
28
  },
28
29
  {
29
30
  "name": "description",
30
- "type": "string"
31
+ "type": "string",
32
+ "default": ""
31
33
  },
32
34
  {
33
- "name": "status",
35
+ "name": "stage",
34
36
  "type": "string",
35
- "default": "active",
37
+ "default": "todo",
36
38
  "values": [
37
- "active",
38
- "inactive",
39
- "pending"
39
+ "todo",
40
+ "doing",
41
+ "done"
40
42
  ]
41
43
  },
42
44
  {
43
- "name": "createdAt",
44
- "type": "string"
45
+ "name": "notes",
46
+ "type": "string",
47
+ "default": ""
48
+ },
49
+ {
50
+ "name": "position",
51
+ "type": "number",
52
+ "default": 0.0
45
53
  }
46
54
  ]
47
55
  },
48
56
  "traits": [
49
57
  {
50
- "ref": "Browse.traits.BrowseItemBrowse",
58
+ "ref": "Board.traits.BoardItemBoard",
51
59
  "name": "KanbanBrowseItemBrowse",
52
60
  "linkedEntity": "KanbanBrowseItem",
53
61
  "config": {
54
- "viewPattern": "data-grid"
62
+ "title": "Kanban Browse"
55
63
  }
56
64
  }
57
65
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-stats-sparkline",
3
- "version": "1.0.0",
4
- "description": "Sparkline stat view. Embeds std-stats with sparkline pattern override.",
3
+ "version": "1.1.0",
4
+ "description": "Sparkline stat view. Composes std-stats with metrics that carry `sparklineData` arrays so each stat-display item renders its mini line chart. std-stats already supports per-metric sparkline rendering — the variation supplies the data; the atom does the rest. Distinguishes from std-stats-bignumber by the presence of sparklineData on every metric.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SparklineStatsItemOrbital",
@@ -36,7 +36,67 @@
36
36
  "name": "SparklineStatsItemStats",
37
37
  "linkedEntity": "SparklineStatsItem",
38
38
  "config": {
39
- "viewPattern": "data-grid"
39
+ "metrics": [
40
+ {
41
+ "format": "number",
42
+ "sparklineData": [
43
+ 4.0,
44
+ 7.0,
45
+ 5.0,
46
+ 9.0,
47
+ 12.0,
48
+ 8.0,
49
+ 11.0,
50
+ 14.0,
51
+ 13.0,
52
+ 17.0
53
+ ],
54
+ "label": "Active Sessions",
55
+ "aggregation": "count",
56
+ "icon": "activity",
57
+ "variant": "primary"
58
+ },
59
+ {
60
+ "variant": "success",
61
+ "aggregation": "count",
62
+ "label": "Conversions",
63
+ "icon": "trending-up",
64
+ "format": "number",
65
+ "sparklineData": [
66
+ 2.0,
67
+ 5.0,
68
+ 4.0,
69
+ 7.0,
70
+ 6.0,
71
+ 9.0,
72
+ 8.0,
73
+ 11.0,
74
+ 13.0,
75
+ 15.0
76
+ ]
77
+ },
78
+ {
79
+ "icon": "clock",
80
+ "format": "number",
81
+ "field": "value",
82
+ "sparklineData": [
83
+ 12.0,
84
+ 14.0,
85
+ 13.0,
86
+ 16.0,
87
+ 18.0,
88
+ 15.0,
89
+ 19.0,
90
+ 17.0,
91
+ 20.0,
92
+ 22.0
93
+ ],
94
+ "label": "Avg Duration",
95
+ "aggregation": "avg",
96
+ "variant": "info"
97
+ }
98
+ ],
99
+ "title": "Trend Summary"
40
100
  }
41
101
  }
42
102
  ],
@@ -37,19 +37,19 @@
37
37
  "icon": "home"
38
38
  },
39
39
  {
40
- "icon": "users",
41
40
  "label": "Contacts",
41
+ "icon": "users",
42
42
  "href": "/contacts"
43
43
  },
44
44
  {
45
- "href": "/tasks",
45
+ "label": "Tasks",
46
46
  "icon": "check-square",
47
- "label": "Tasks"
47
+ "href": "/tasks"
48
48
  },
49
49
  {
50
+ "href": "/settings",
50
51
  "label": "Settings",
51
- "icon": "settings",
52
- "href": "/settings"
52
+ "icon": "settings"
53
53
  }
54
54
  ]
55
55
  }
@@ -28,11 +28,12 @@
28
28
  "name": "MinimalLayout",
29
29
  "linkedEntity": "MinimalLayoutState",
30
30
  "config": {
31
+ "layoutMode": "minimal",
31
32
  "navItems": [
32
33
  {
33
- "label": "Home",
34
+ "href": "/",
34
35
  "icon": "home",
35
- "href": "/"
36
+ "label": "Home"
36
37
  },
37
38
  {
38
39
  "href": "/contacts",
@@ -40,17 +41,16 @@
40
41
  "label": "Contacts"
41
42
  },
42
43
  {
43
- "href": "/tasks",
44
44
  "label": "Tasks",
45
+ "href": "/tasks",
45
46
  "icon": "check-square"
46
47
  },
47
48
  {
48
- "href": "/settings",
49
49
  "icon": "settings",
50
- "label": "Settings"
50
+ "label": "Settings",
51
+ "href": "/settings"
51
52
  }
52
53
  ],
53
- "layoutMode": "minimal",
54
54
  "appName": "Minimal Demo"
55
55
  }
56
56
  }
@@ -28,30 +28,30 @@
28
28
  "name": "TopnavLayout",
29
29
  "linkedEntity": "TopnavLayoutState",
30
30
  "config": {
31
- "appName": "Topnav Demo",
32
31
  "navItems": [
33
32
  {
34
- "icon": "home",
33
+ "label": "Home",
35
34
  "href": "/",
36
- "label": "Home"
35
+ "icon": "home"
37
36
  },
38
37
  {
38
+ "icon": "users",
39
39
  "label": "Contacts",
40
- "href": "/contacts",
41
- "icon": "users"
40
+ "href": "/contacts"
42
41
  },
43
42
  {
44
- "label": "Tasks",
43
+ "icon": "check-square",
45
44
  "href": "/tasks",
46
- "icon": "check-square"
45
+ "label": "Tasks"
47
46
  },
48
47
  {
49
48
  "label": "Settings",
50
- "icon": "settings",
51
- "href": "/settings"
49
+ "href": "/settings",
50
+ "icon": "settings"
52
51
  }
53
52
  ],
54
- "layoutMode": "topnav"
53
+ "layoutMode": "topnav",
54
+ "appName": "Topnav Demo"
55
55
  }
56
56
  }
57
57
  ],
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "std-browse-kanban",
3
- "version": "1.0.0",
4
- "description": "Kanban view for std-browse. Embeds base browse atom with kanban pattern override.",
3
+ "version": "1.1.0",
4
+ "description": "Kanban view. Composes std-board (the N-column board primitive with dragGroup/accepts/dropEvent wiring on the nested data-list inside each column card). Topology = loading / viewing_board / viewing_card / adding / error — same as std-pipeline, distinct from std-browse's loading/browsing/error CRUD shape. Cards drag between columns to update their stage via the bus.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "KanbanBrowseItemOrbital",
8
8
  "uses": [
9
9
  {
10
- "from": "std/behaviors/std-browse",
11
- "as": "Browse"
10
+ "from": "std/behaviors/std-board",
11
+ "as": "Board"
12
12
  }
13
13
  ],
14
14
  "entity": {
15
15
  "name": "KanbanBrowseItem",
16
- "persistence": "runtime",
16
+ "collection": "kanban_browse_items",
17
+ "persistence": "persistent",
17
18
  "fields": [
18
19
  {
19
20
  "name": "id",
@@ -21,37 +22,44 @@
21
22
  "required": true
22
23
  },
23
24
  {
24
- "name": "name",
25
+ "name": "title",
25
26
  "type": "string",
26
27
  "required": true
27
28
  },
28
29
  {
29
30
  "name": "description",
30
- "type": "string"
31
+ "type": "string",
32
+ "default": ""
31
33
  },
32
34
  {
33
- "name": "status",
35
+ "name": "stage",
34
36
  "type": "string",
35
- "default": "active",
37
+ "default": "todo",
36
38
  "values": [
37
- "active",
38
- "inactive",
39
- "pending"
39
+ "todo",
40
+ "doing",
41
+ "done"
40
42
  ]
41
43
  },
42
44
  {
43
- "name": "createdAt",
44
- "type": "string"
45
+ "name": "notes",
46
+ "type": "string",
47
+ "default": ""
48
+ },
49
+ {
50
+ "name": "position",
51
+ "type": "number",
52
+ "default": 0.0
45
53
  }
46
54
  ]
47
55
  },
48
56
  "traits": [
49
57
  {
50
- "ref": "Browse.traits.BrowseItemBrowse",
58
+ "ref": "Board.traits.BoardItemBoard",
51
59
  "name": "KanbanBrowseItemBrowse",
52
60
  "linkedEntity": "KanbanBrowseItem",
53
61
  "config": {
54
- "viewPattern": "data-grid"
62
+ "title": "Kanban Browse"
55
63
  }
56
64
  }
57
65
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-stats-sparkline",
3
- "version": "1.0.0",
4
- "description": "Sparkline stat view. Embeds std-stats with sparkline pattern override.",
3
+ "version": "1.1.0",
4
+ "description": "Sparkline stat view. Composes std-stats with metrics that carry `sparklineData` arrays so each stat-display item renders its mini line chart. std-stats already supports per-metric sparkline rendering — the variation supplies the data; the atom does the rest. Distinguishes from std-stats-bignumber by the presence of sparklineData on every metric.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SparklineStatsItemOrbital",
@@ -36,7 +36,67 @@
36
36
  "name": "SparklineStatsItemStats",
37
37
  "linkedEntity": "SparklineStatsItem",
38
38
  "config": {
39
- "viewPattern": "data-grid"
39
+ "metrics": [
40
+ {
41
+ "format": "number",
42
+ "sparklineData": [
43
+ 4.0,
44
+ 7.0,
45
+ 5.0,
46
+ 9.0,
47
+ 12.0,
48
+ 8.0,
49
+ 11.0,
50
+ 14.0,
51
+ 13.0,
52
+ 17.0
53
+ ],
54
+ "label": "Active Sessions",
55
+ "aggregation": "count",
56
+ "icon": "activity",
57
+ "variant": "primary"
58
+ },
59
+ {
60
+ "variant": "success",
61
+ "aggregation": "count",
62
+ "label": "Conversions",
63
+ "icon": "trending-up",
64
+ "format": "number",
65
+ "sparklineData": [
66
+ 2.0,
67
+ 5.0,
68
+ 4.0,
69
+ 7.0,
70
+ 6.0,
71
+ 9.0,
72
+ 8.0,
73
+ 11.0,
74
+ 13.0,
75
+ 15.0
76
+ ]
77
+ },
78
+ {
79
+ "icon": "clock",
80
+ "format": "number",
81
+ "field": "value",
82
+ "sparklineData": [
83
+ 12.0,
84
+ 14.0,
85
+ 13.0,
86
+ 16.0,
87
+ 18.0,
88
+ 15.0,
89
+ 19.0,
90
+ 17.0,
91
+ 20.0,
92
+ 22.0
93
+ ],
94
+ "label": "Avg Duration",
95
+ "aggregation": "avg",
96
+ "variant": "info"
97
+ }
98
+ ],
99
+ "title": "Trend Summary"
40
100
  }
41
101
  }
42
102
  ],
@@ -37,19 +37,19 @@
37
37
  "icon": "home"
38
38
  },
39
39
  {
40
- "icon": "users",
41
40
  "label": "Contacts",
41
+ "icon": "users",
42
42
  "href": "/contacts"
43
43
  },
44
44
  {
45
- "href": "/tasks",
45
+ "label": "Tasks",
46
46
  "icon": "check-square",
47
- "label": "Tasks"
47
+ "href": "/tasks"
48
48
  },
49
49
  {
50
+ "href": "/settings",
50
51
  "label": "Settings",
51
- "icon": "settings",
52
- "href": "/settings"
52
+ "icon": "settings"
53
53
  }
54
54
  ]
55
55
  }
@@ -28,11 +28,12 @@
28
28
  "name": "MinimalLayout",
29
29
  "linkedEntity": "MinimalLayoutState",
30
30
  "config": {
31
+ "layoutMode": "minimal",
31
32
  "navItems": [
32
33
  {
33
- "label": "Home",
34
+ "href": "/",
34
35
  "icon": "home",
35
- "href": "/"
36
+ "label": "Home"
36
37
  },
37
38
  {
38
39
  "href": "/contacts",
@@ -40,17 +41,16 @@
40
41
  "label": "Contacts"
41
42
  },
42
43
  {
43
- "href": "/tasks",
44
44
  "label": "Tasks",
45
+ "href": "/tasks",
45
46
  "icon": "check-square"
46
47
  },
47
48
  {
48
- "href": "/settings",
49
49
  "icon": "settings",
50
- "label": "Settings"
50
+ "label": "Settings",
51
+ "href": "/settings"
51
52
  }
52
53
  ],
53
- "layoutMode": "minimal",
54
54
  "appName": "Minimal Demo"
55
55
  }
56
56
  }
@@ -28,30 +28,30 @@
28
28
  "name": "TopnavLayout",
29
29
  "linkedEntity": "TopnavLayoutState",
30
30
  "config": {
31
- "appName": "Topnav Demo",
32
31
  "navItems": [
33
32
  {
34
- "icon": "home",
33
+ "label": "Home",
35
34
  "href": "/",
36
- "label": "Home"
35
+ "icon": "home"
37
36
  },
38
37
  {
38
+ "icon": "users",
39
39
  "label": "Contacts",
40
- "href": "/contacts",
41
- "icon": "users"
40
+ "href": "/contacts"
42
41
  },
43
42
  {
44
- "label": "Tasks",
43
+ "icon": "check-square",
45
44
  "href": "/tasks",
46
- "icon": "check-square"
45
+ "label": "Tasks"
47
46
  },
48
47
  {
49
48
  "label": "Settings",
50
- "icon": "settings",
51
- "href": "/settings"
49
+ "href": "/settings",
50
+ "icon": "settings"
52
51
  }
53
52
  ],
54
- "layoutMode": "topnav"
53
+ "layoutMode": "topnav",
54
+ "appName": "Topnav Demo"
55
55
  }
56
56
  }
57
57
  ],
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "std-browse-kanban",
3
- "version": "1.0.0",
4
- "description": "Kanban view for std-browse. Embeds base browse atom with kanban pattern override.",
3
+ "version": "1.1.0",
4
+ "description": "Kanban view. Composes std-board (the N-column board primitive with dragGroup/accepts/dropEvent wiring on the nested data-list inside each column card). Topology = loading / viewing_board / viewing_card / adding / error — same as std-pipeline, distinct from std-browse's loading/browsing/error CRUD shape. Cards drag between columns to update their stage via the bus.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "KanbanBrowseItemOrbital",
8
8
  "uses": [
9
9
  {
10
- "from": "std/behaviors/std-browse",
11
- "as": "Browse"
10
+ "from": "std/behaviors/std-board",
11
+ "as": "Board"
12
12
  }
13
13
  ],
14
14
  "entity": {
15
15
  "name": "KanbanBrowseItem",
16
- "persistence": "runtime",
16
+ "collection": "kanban_browse_items",
17
+ "persistence": "persistent",
17
18
  "fields": [
18
19
  {
19
20
  "name": "id",
@@ -21,37 +22,44 @@
21
22
  "required": true
22
23
  },
23
24
  {
24
- "name": "name",
25
+ "name": "title",
25
26
  "type": "string",
26
27
  "required": true
27
28
  },
28
29
  {
29
30
  "name": "description",
30
- "type": "string"
31
+ "type": "string",
32
+ "default": ""
31
33
  },
32
34
  {
33
- "name": "status",
35
+ "name": "stage",
34
36
  "type": "string",
35
- "default": "active",
37
+ "default": "todo",
36
38
  "values": [
37
- "active",
38
- "inactive",
39
- "pending"
39
+ "todo",
40
+ "doing",
41
+ "done"
40
42
  ]
41
43
  },
42
44
  {
43
- "name": "createdAt",
44
- "type": "string"
45
+ "name": "notes",
46
+ "type": "string",
47
+ "default": ""
48
+ },
49
+ {
50
+ "name": "position",
51
+ "type": "number",
52
+ "default": 0.0
45
53
  }
46
54
  ]
47
55
  },
48
56
  "traits": [
49
57
  {
50
- "ref": "Browse.traits.BrowseItemBrowse",
58
+ "ref": "Board.traits.BoardItemBoard",
51
59
  "name": "KanbanBrowseItemBrowse",
52
60
  "linkedEntity": "KanbanBrowseItem",
53
61
  "config": {
54
- "viewPattern": "data-grid"
62
+ "title": "Kanban Browse"
55
63
  }
56
64
  }
57
65
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-stats-sparkline",
3
- "version": "1.0.0",
4
- "description": "Sparkline stat view. Embeds std-stats with sparkline pattern override.",
3
+ "version": "1.1.0",
4
+ "description": "Sparkline stat view. Composes std-stats with metrics that carry `sparklineData` arrays so each stat-display item renders its mini line chart. std-stats already supports per-metric sparkline rendering — the variation supplies the data; the atom does the rest. Distinguishes from std-stats-bignumber by the presence of sparklineData on every metric.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SparklineStatsItemOrbital",
@@ -36,7 +36,67 @@
36
36
  "name": "SparklineStatsItemStats",
37
37
  "linkedEntity": "SparklineStatsItem",
38
38
  "config": {
39
- "viewPattern": "data-grid"
39
+ "metrics": [
40
+ {
41
+ "format": "number",
42
+ "sparklineData": [
43
+ 4.0,
44
+ 7.0,
45
+ 5.0,
46
+ 9.0,
47
+ 12.0,
48
+ 8.0,
49
+ 11.0,
50
+ 14.0,
51
+ 13.0,
52
+ 17.0
53
+ ],
54
+ "label": "Active Sessions",
55
+ "aggregation": "count",
56
+ "icon": "activity",
57
+ "variant": "primary"
58
+ },
59
+ {
60
+ "variant": "success",
61
+ "aggregation": "count",
62
+ "label": "Conversions",
63
+ "icon": "trending-up",
64
+ "format": "number",
65
+ "sparklineData": [
66
+ 2.0,
67
+ 5.0,
68
+ 4.0,
69
+ 7.0,
70
+ 6.0,
71
+ 9.0,
72
+ 8.0,
73
+ 11.0,
74
+ 13.0,
75
+ 15.0
76
+ ]
77
+ },
78
+ {
79
+ "icon": "clock",
80
+ "format": "number",
81
+ "field": "value",
82
+ "sparklineData": [
83
+ 12.0,
84
+ 14.0,
85
+ 13.0,
86
+ 16.0,
87
+ 18.0,
88
+ 15.0,
89
+ 19.0,
90
+ 17.0,
91
+ 20.0,
92
+ 22.0
93
+ ],
94
+ "label": "Avg Duration",
95
+ "aggregation": "avg",
96
+ "variant": "info"
97
+ }
98
+ ],
99
+ "title": "Trend Summary"
40
100
  }
41
101
  }
42
102
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "15.0.1",
3
+ "version": "15.0.2",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,60 +0,0 @@
1
- {
2
- "name": "std-detail-inline",
3
- "version": "1.0.0",
4
- "description": "Inline detail view. Embeds std-modal with inline form pattern override.",
5
- "orbitals": [
6
- {
7
- "name": "DetailInlineOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-modal",
11
- "as": "Modal"
12
- }
13
- ],
14
- "entity": {
15
- "name": "DetailInlineRecord",
16
- "persistence": "runtime",
17
- "fields": [
18
- {
19
- "name": "id",
20
- "type": "string"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string"
25
- },
26
- {
27
- "name": "description",
28
- "type": "string"
29
- },
30
- {
31
- "name": "status",
32
- "type": "string"
33
- }
34
- ]
35
- },
36
- "traits": [
37
- {
38
- "ref": "Modal.traits.ModalRecordModal",
39
- "name": "DetailInlineModal",
40
- "linkedEntity": "DetailInlineRecord",
41
- "config": {
42
- "detailSlot": "main",
43
- "detailPattern": "stack"
44
- }
45
- }
46
- ],
47
- "pages": [
48
- {
49
- "name": "DetailInlinePage",
50
- "path": "/detail-inline",
51
- "traits": [
52
- {
53
- "ref": "DetailInlineModal"
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
60
- }
@@ -1,60 +0,0 @@
1
- {
2
- "name": "std-detail-page",
3
- "version": "1.0.0",
4
- "description": "Full-page detail view. Embeds std-modal with full-page form pattern override.",
5
- "orbitals": [
6
- {
7
- "name": "DetailPageOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-modal",
11
- "as": "Modal"
12
- }
13
- ],
14
- "entity": {
15
- "name": "DetailPageRecord",
16
- "persistence": "runtime",
17
- "fields": [
18
- {
19
- "name": "id",
20
- "type": "string"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string"
25
- },
26
- {
27
- "name": "description",
28
- "type": "string"
29
- },
30
- {
31
- "name": "status",
32
- "type": "string"
33
- }
34
- ]
35
- },
36
- "traits": [
37
- {
38
- "ref": "Modal.traits.ModalRecordModal",
39
- "name": "DetailPageModal",
40
- "linkedEntity": "DetailPageRecord",
41
- "config": {
42
- "detailSlot": "main",
43
- "detailPattern": "form-section"
44
- }
45
- }
46
- ],
47
- "pages": [
48
- {
49
- "name": "DetailPagePage",
50
- "path": "/detail-page",
51
- "traits": [
52
- {
53
- "ref": "DetailPageModal"
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
60
- }
@@ -1,60 +0,0 @@
1
- {
2
- "name": "std-detail-inline",
3
- "version": "1.0.0",
4
- "description": "Inline detail view. Embeds std-modal with inline form pattern override.",
5
- "orbitals": [
6
- {
7
- "name": "DetailInlineOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-modal",
11
- "as": "Modal"
12
- }
13
- ],
14
- "entity": {
15
- "name": "DetailInlineRecord",
16
- "persistence": "runtime",
17
- "fields": [
18
- {
19
- "name": "id",
20
- "type": "string"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string"
25
- },
26
- {
27
- "name": "description",
28
- "type": "string"
29
- },
30
- {
31
- "name": "status",
32
- "type": "string"
33
- }
34
- ]
35
- },
36
- "traits": [
37
- {
38
- "ref": "Modal.traits.ModalRecordModal",
39
- "name": "DetailInlineModal",
40
- "linkedEntity": "DetailInlineRecord",
41
- "config": {
42
- "detailSlot": "main",
43
- "detailPattern": "stack"
44
- }
45
- }
46
- ],
47
- "pages": [
48
- {
49
- "name": "DetailInlinePage",
50
- "path": "/detail-inline",
51
- "traits": [
52
- {
53
- "ref": "DetailInlineModal"
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
60
- }
@@ -1,60 +0,0 @@
1
- {
2
- "name": "std-detail-page",
3
- "version": "1.0.0",
4
- "description": "Full-page detail view. Embeds std-modal with full-page form pattern override.",
5
- "orbitals": [
6
- {
7
- "name": "DetailPageOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-modal",
11
- "as": "Modal"
12
- }
13
- ],
14
- "entity": {
15
- "name": "DetailPageRecord",
16
- "persistence": "runtime",
17
- "fields": [
18
- {
19
- "name": "id",
20
- "type": "string"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string"
25
- },
26
- {
27
- "name": "description",
28
- "type": "string"
29
- },
30
- {
31
- "name": "status",
32
- "type": "string"
33
- }
34
- ]
35
- },
36
- "traits": [
37
- {
38
- "ref": "Modal.traits.ModalRecordModal",
39
- "name": "DetailPageModal",
40
- "linkedEntity": "DetailPageRecord",
41
- "config": {
42
- "detailSlot": "main",
43
- "detailPattern": "form-section"
44
- }
45
- }
46
- ],
47
- "pages": [
48
- {
49
- "name": "DetailPagePage",
50
- "path": "/detail-page",
51
- "traits": [
52
- {
53
- "ref": "DetailPageModal"
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
60
- }
@@ -1,60 +0,0 @@
1
- {
2
- "name": "std-detail-inline",
3
- "version": "1.0.0",
4
- "description": "Inline detail view. Embeds std-modal with inline form pattern override.",
5
- "orbitals": [
6
- {
7
- "name": "DetailInlineOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-modal",
11
- "as": "Modal"
12
- }
13
- ],
14
- "entity": {
15
- "name": "DetailInlineRecord",
16
- "persistence": "runtime",
17
- "fields": [
18
- {
19
- "name": "id",
20
- "type": "string"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string"
25
- },
26
- {
27
- "name": "description",
28
- "type": "string"
29
- },
30
- {
31
- "name": "status",
32
- "type": "string"
33
- }
34
- ]
35
- },
36
- "traits": [
37
- {
38
- "ref": "Modal.traits.ModalRecordModal",
39
- "name": "DetailInlineModal",
40
- "linkedEntity": "DetailInlineRecord",
41
- "config": {
42
- "detailSlot": "main",
43
- "detailPattern": "stack"
44
- }
45
- }
46
- ],
47
- "pages": [
48
- {
49
- "name": "DetailInlinePage",
50
- "path": "/detail-inline",
51
- "traits": [
52
- {
53
- "ref": "DetailInlineModal"
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
60
- }
@@ -1,60 +0,0 @@
1
- {
2
- "name": "std-detail-page",
3
- "version": "1.0.0",
4
- "description": "Full-page detail view. Embeds std-modal with full-page form pattern override.",
5
- "orbitals": [
6
- {
7
- "name": "DetailPageOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-modal",
11
- "as": "Modal"
12
- }
13
- ],
14
- "entity": {
15
- "name": "DetailPageRecord",
16
- "persistence": "runtime",
17
- "fields": [
18
- {
19
- "name": "id",
20
- "type": "string"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string"
25
- },
26
- {
27
- "name": "description",
28
- "type": "string"
29
- },
30
- {
31
- "name": "status",
32
- "type": "string"
33
- }
34
- ]
35
- },
36
- "traits": [
37
- {
38
- "ref": "Modal.traits.ModalRecordModal",
39
- "name": "DetailPageModal",
40
- "linkedEntity": "DetailPageRecord",
41
- "config": {
42
- "detailSlot": "main",
43
- "detailPattern": "form-section"
44
- }
45
- }
46
- ],
47
- "pages": [
48
- {
49
- "name": "DetailPagePage",
50
- "path": "/detail-page",
51
- "traits": [
52
- {
53
- "ref": "DetailPageModal"
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
60
- }