@rogatio/cli 6.6.0 → 6.6.1
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.
- package/dist/editor/index.css +3 -1
- package/dist/editor/index.js +5 -2
- package/package.json +1 -1
package/dist/editor/index.css
CHANGED
|
@@ -398,7 +398,8 @@
|
|
|
398
398
|
justify-content: space-between;
|
|
399
399
|
gap: 0.65rem;
|
|
400
400
|
}
|
|
401
|
-
.rogatio-editor [data-group-identity]
|
|
401
|
+
.rogatio-editor [data-group-identity],
|
|
402
|
+
.rogatio-editor [data-rule-identity] {
|
|
402
403
|
display: flex;
|
|
403
404
|
flex: 1 1 auto;
|
|
404
405
|
align-items: center;
|
|
@@ -539,6 +540,7 @@
|
|
|
539
540
|
flex-wrap: wrap;
|
|
540
541
|
gap: 0.4rem;
|
|
541
542
|
justify-content: flex-end;
|
|
543
|
+
margin-left: auto;
|
|
542
544
|
}
|
|
543
545
|
.rogatio-editor [data-rule-actions] button {
|
|
544
546
|
font-size: 0.8125rem;
|
package/dist/editor/index.js
CHANGED
|
@@ -4176,6 +4176,8 @@ var EditorControllerImpl = class {
|
|
|
4176
4176
|
card.tabIndex = -1;
|
|
4177
4177
|
const headingRow = this.document.createElement("div");
|
|
4178
4178
|
headingRow.dataset.ruleHeading = "true";
|
|
4179
|
+
const identity = this.document.createElement("div");
|
|
4180
|
+
identity.dataset.ruleIdentity = "true";
|
|
4179
4181
|
const heading = this.document.createElement("h3");
|
|
4180
4182
|
const headingId = `${this.instanceId}-rule-title-${groupIndex}-${ruleIndex}`;
|
|
4181
4183
|
card.setAttribute("aria-labelledby", headingId);
|
|
@@ -4207,7 +4209,7 @@ var EditorControllerImpl = class {
|
|
|
4207
4209
|
)
|
|
4208
4210
|
);
|
|
4209
4211
|
this.renderNameHeading({
|
|
4210
|
-
row:
|
|
4212
|
+
row: identity,
|
|
4211
4213
|
heading,
|
|
4212
4214
|
headingId,
|
|
4213
4215
|
kind: "rule",
|
|
@@ -4216,8 +4218,9 @@ var EditorControllerImpl = class {
|
|
|
4216
4218
|
namePath: `${rulePath}/name`,
|
|
4217
4219
|
name: rule.name,
|
|
4218
4220
|
fallback: "Unnamed rule",
|
|
4219
|
-
commands: [
|
|
4221
|
+
commands: []
|
|
4220
4222
|
});
|
|
4223
|
+
headingRow.append(identity, actions);
|
|
4221
4224
|
card.append(headingRow);
|
|
4222
4225
|
this.renderSource(card, rule, rulePath, groupId, ruleId);
|
|
4223
4226
|
this.renderResourceTypes(card, rule, rulePath);
|
package/package.json
CHANGED