@almadar/std 7.2.4 → 7.3.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.
@@ -115,22 +115,22 @@
115
115
  "type": "stack",
116
116
  "children": [
117
117
  {
118
- "direction": "horizontal",
118
+ "gap": "sm",
119
119
  "type": "stack",
120
120
  "align": "center",
121
+ "direction": "horizontal",
121
122
  "children": [
122
123
  {
123
- "size": "md",
124
124
  "name": "@config.icon",
125
- "type": "icon"
125
+ "type": "icon",
126
+ "size": "md"
126
127
  },
127
128
  {
128
129
  "type": "typography",
129
- "content": "@config.title",
130
- "variant": "h3"
130
+ "variant": "h3",
131
+ "content": "@config.title"
131
132
  }
132
- ],
133
- "gap": "sm"
133
+ ]
134
134
  },
135
135
  {
136
136
  "type": "divider"
@@ -141,9 +141,6 @@
141
141
  "variant": "error"
142
142
  },
143
143
  {
144
- "type": "stack",
145
- "direction": "horizontal",
146
- "justify": "end",
147
144
  "children": [
148
145
  {
149
146
  "label": "Cancel",
@@ -152,14 +149,20 @@
152
149
  "variant": "ghost"
153
150
  },
154
151
  {
155
- "label": "@config.confirmLabel",
156
152
  "action": "CONFIRM",
157
153
  "type": "button",
158
- "variant": "danger",
159
- "icon": "check"
154
+ "label": "@config.confirmLabel",
155
+ "icon": "check",
156
+ "actionPayload": {
157
+ "id": "@entity.pendingId"
158
+ },
159
+ "variant": "danger"
160
160
  }
161
161
  ],
162
- "gap": "sm"
162
+ "gap": "sm",
163
+ "direction": "horizontal",
164
+ "justify": "end",
165
+ "type": "stack"
163
166
  }
164
167
  ],
165
168
  "gap": "md",
@@ -115,22 +115,22 @@
115
115
  "type": "stack",
116
116
  "children": [
117
117
  {
118
- "direction": "horizontal",
118
+ "gap": "sm",
119
119
  "type": "stack",
120
120
  "align": "center",
121
+ "direction": "horizontal",
121
122
  "children": [
122
123
  {
123
- "size": "md",
124
124
  "name": "@config.icon",
125
- "type": "icon"
125
+ "type": "icon",
126
+ "size": "md"
126
127
  },
127
128
  {
128
129
  "type": "typography",
129
- "content": "@config.title",
130
- "variant": "h3"
130
+ "variant": "h3",
131
+ "content": "@config.title"
131
132
  }
132
- ],
133
- "gap": "sm"
133
+ ]
134
134
  },
135
135
  {
136
136
  "type": "divider"
@@ -141,9 +141,6 @@
141
141
  "variant": "error"
142
142
  },
143
143
  {
144
- "type": "stack",
145
- "direction": "horizontal",
146
- "justify": "end",
147
144
  "children": [
148
145
  {
149
146
  "label": "Cancel",
@@ -152,14 +149,20 @@
152
149
  "variant": "ghost"
153
150
  },
154
151
  {
155
- "label": "@config.confirmLabel",
156
152
  "action": "CONFIRM",
157
153
  "type": "button",
158
- "variant": "danger",
159
- "icon": "check"
154
+ "label": "@config.confirmLabel",
155
+ "icon": "check",
156
+ "actionPayload": {
157
+ "id": "@entity.pendingId"
158
+ },
159
+ "variant": "danger"
160
160
  }
161
161
  ],
162
- "gap": "sm"
162
+ "gap": "sm",
163
+ "direction": "horizontal",
164
+ "justify": "end",
165
+ "type": "stack"
163
166
  }
164
167
  ],
165
168
  "gap": "md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "7.2.4",
3
+ "version": "7.3.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",