@demos-europe/demosplan-ui 0.19.0 → 0.21.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.
- package/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/encodings.xml +6 -0
- package/.idea/git_toolbox_blame.xml +6 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/sonarlint/issuestore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +11 -0
- package/.idea/sonarlint/issuestore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +2 -0
- package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/issuestore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
- package/.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
- package/.idea/sonarlint/issuestore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
- package/.idea/sonarlint/issuestore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +3 -0
- package/.idea/sonarlint/issuestore/index.pb +20 -0
- package/.idea/sonarlint/securityhotspotstore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +20 -0
- package/.idea/sonarlint-state.xml +6 -0
- package/.idea/sonarlint.xml +8 -0
- package/.idea/vcs.xml +1 -1
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +11 -0
- package/dist/demosplan-ui.mjs +21 -23
- package/docker-compose.dev.yml +7 -0
- package/package.json +1 -1
- package/src/components/DpButtonRow/DpButtonRow.vue +10 -17
- package/src/components/DpDraggable/DpDraggable.vue +1 -1
- package/src/components/DpTreeList/DpTreeList.vue +3 -1
- package/src/components/DpTreeList/DpTreeListNode.vue +3 -1
- package/style/style.css +1002 -0
- package/tokens/dist/css/theme.css +1 -1
- package/tokens/dist/js/boxShadow.js +1 -1
- package/tokens/dist/js/breakpoints.js +1 -1
- package/tokens/dist/js/color.brand.js +1 -1
- package/tokens/dist/js/color.data.js +1 -1
- package/tokens/dist/js/color.palette.js +1 -1
- package/tokens/dist/js/color.ui.js +1 -1
- package/tokens/dist/js/fontSize.js +1 -1
- package/tokens/dist/js/rounded.js +1 -1
- package/tokens/dist/js/space.js +1 -1
- package/tokens/dist/js/zIndex.js +1 -1
- package/tokens/dist/scss/_boxShadow.scss +1 -1
- package/tokens/dist/scss/_breakpoints.scss +1 -1
- package/tokens/dist/scss/_color.brand.scss +1 -1
- package/tokens/dist/scss/_color.data.scss +1 -1
- package/tokens/dist/scss/_color.palette.scss +1 -1
- package/tokens/dist/scss/_color.ui.scss +1 -1
- package/tokens/dist/scss/_fontSize.scss +1 -1
- package/tokens/dist/scss/_rounded.scss +1 -1
- package/tokens/dist/scss/_space.scss +1 -1
- package/tokens/dist/scss/_zIndex.scss +1 -1
- package/tokens/scss/_color.scss +89 -0
- package/tokens/scss/_fontSize.scss +26 -0
- package/tokens/scss/_space.scss +13 -0
- package/yarn-error.log +15486 -0
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GitToolBoxProjectSettings">
|
|
4
|
+
<option name="commitMessageIssueKeyValidationOverride">
|
|
5
|
+
<BoolValueOverride>
|
|
6
|
+
<option name="enabled" value="true" />
|
|
7
|
+
</BoolValueOverride>
|
|
8
|
+
</option>
|
|
9
|
+
<option name="commitMessageValidationEnabledOverride">
|
|
10
|
+
<BoolValueOverride>
|
|
11
|
+
<option name="enabled" value="true" />
|
|
12
|
+
</BoolValueOverride>
|
|
13
|
+
</option>
|
|
14
|
+
</component>
|
|
15
|
+
</project>
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
Hjavascript:S1128�"$Remove this unused import of 'Link'.(�֘�8����1
|
|
3
|
+
_javascript:S1125�"6Refactor the code to avoid using this boolean literal.(釶������8����1
|
|
4
|
+
sjavascript:S6638�"JUnexpected constant truthiness on the left-hand side of a `||` expression.(釶������8����1
|
|
5
|
+
Zjavascript:S1125�"6Refactor the code to avoid using this boolean literal.(ގ��8����1
|
|
6
|
+
njavascript:S6638�"JUnexpected constant truthiness on the left-hand side of a `||` expression.(ގ��8����1
|
|
7
|
+
jjavascript:S6661�"AUse an object spread instead of `Object.assign` eg: `{ ...foo }`.(���������8����1
|
|
8
|
+
Sjavascript:S5869�"*Remove duplicates in this character class.(�Ӹ������8����1
|
|
9
|
+
Sjavascript:S5869�"*Remove duplicates in this character class.(������8����1
|
|
10
|
+
Njavascript:S5869�"*Remove duplicates in this character class.(����8����1
|
|
11
|
+
}javascript:S3776�"TRefactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.(���������8����1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
9
|
|
3
|
+
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
|
4
|
+
:
|
|
5
|
+
|
|
6
|
+
.gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302
|
|
7
|
+
<
|
|
8
|
+
package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
|
|
9
|
+
T
|
|
10
|
+
$src/components/DpEditor/DpEditor.vue,7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e
|
|
11
|
+
\
|
|
12
|
+
,src/components/DpDataTable/DpTableHeader.vue,9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48
|
|
13
|
+
Z
|
|
14
|
+
*src/components/DpDataTable/DpDataTable.vue,b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7
|
|
15
|
+
<
|
|
16
|
+
CHANGELOG.md,a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7
|
|
17
|
+
9
|
|
18
|
+
yarn.lock,5/3/53585a096fe3a3b96321113856ae62602995a33b
|
|
19
|
+
Y
|
|
20
|
+
)src/components/DpUploadFiles/DpUpload.vue,8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
9
|
|
3
|
+
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
|
4
|
+
:
|
|
5
|
+
|
|
6
|
+
.gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302
|
|
7
|
+
<
|
|
8
|
+
package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
|
|
9
|
+
T
|
|
10
|
+
$src/components/DpEditor/DpEditor.vue,7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e
|
|
11
|
+
\
|
|
12
|
+
,src/components/DpDataTable/DpTableHeader.vue,9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48
|
|
13
|
+
Z
|
|
14
|
+
*src/components/DpDataTable/DpDataTable.vue,b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7
|
|
15
|
+
<
|
|
16
|
+
CHANGELOG.md,a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7
|
|
17
|
+
9
|
|
18
|
+
yarn.lock,5/3/53585a096fe3a3b96321113856ae62602995a33b
|
|
19
|
+
Y
|
|
20
|
+
)src/components/DpUploadFiles/DpUpload.vue,8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="SonarLintProjectSettings">
|
|
4
|
+
<option name="bindingEnabled" value="true" />
|
|
5
|
+
<option name="projectKey" value="demos-europe_demosplan-ui" />
|
|
6
|
+
<option name="serverId" value="dplan" />
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
CHANGED
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
4
4
|
|
|
5
5
|
## UNRELEASED
|
|
6
6
|
|
|
7
|
+
## v0.21.0 - 2026-05-15
|
|
8
|
+
|
|
9
|
+
## Fixed
|
|
10
|
+
- ([#1488](https://github.com/demos-europe/demosplan-ui/pull/1488)) DpDraggable: Use `e.item` in `onEnd` so the dragged
|
|
11
|
+
element is correct on cross-list tag drops & DpTreeList: Add `end` and `start` to the `emits` array to silence Vue warnings([@riechedemos](https://github.com/riechedemos))
|
|
12
|
+
|
|
13
|
+
## v0.20.0 - 2026-5-5
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- ([#1484](https://github.com/demos-europe/demosplan-ui/pull/1484)) DpButtonRow: new button order; set the secondary button to the outline variant ([@sakutademos](https://github.com/sakutademos))
|
|
17
|
+
|
|
7
18
|
## v0.19.0 - 2026-4-30
|
|
8
19
|
|
|
9
20
|
### Added
|
package/dist/demosplan-ui.mjs
CHANGED
|
@@ -28263,12 +28263,6 @@ const cte = /* @__PURE__ */ ae(aU, [["render", cU]]), dU = {
|
|
|
28263
28263
|
required: !1,
|
|
28264
28264
|
default: !1
|
|
28265
28265
|
},
|
|
28266
|
-
secondaryBtnVariant: {
|
|
28267
|
-
required: !1,
|
|
28268
|
-
type: String,
|
|
28269
|
-
default: "solid",
|
|
28270
|
-
validator: (t) => ["solid", "outline", "subtle"].includes(t)
|
|
28271
|
-
},
|
|
28272
28266
|
/**
|
|
28273
28267
|
* Custom text for the secondary button.
|
|
28274
28268
|
*/
|
|
@@ -28299,25 +28293,25 @@ function uU(t, e, n, r, i, s) {
|
|
|
28299
28293
|
return g(), b("div", {
|
|
28300
28294
|
class: H([[s.align, t.$attrs.class], "space-x-2"])
|
|
28301
28295
|
}, [
|
|
28302
|
-
n.
|
|
28296
|
+
n.secondary ? (g(), ue(o, {
|
|
28303
28297
|
key: 0,
|
|
28298
|
+
color: "secondary",
|
|
28299
|
+
"data-cy": `${n.dataCy}:abortButton`,
|
|
28300
|
+
disabled: s.isDisabledSecondary,
|
|
28301
|
+
href: n.href,
|
|
28302
|
+
text: n.secondaryText,
|
|
28303
|
+
variant: "outline",
|
|
28304
|
+
onClick: e[0] || (e[0] = De((a) => t.$emit("secondary-action"), ["prevent"]))
|
|
28305
|
+
}, null, 8, ["data-cy", "disabled", "href", "text"])) : L("", !0),
|
|
28306
|
+
n.primary ? (g(), ue(o, {
|
|
28307
|
+
key: 1,
|
|
28304
28308
|
busy: n.busy ? !0 : null,
|
|
28305
28309
|
"data-cy": `${n.dataCy}:saveButton`,
|
|
28306
28310
|
disabled: s.isDisabledPrimary,
|
|
28307
28311
|
text: n.primaryText,
|
|
28308
28312
|
variant: n.primaryBtnVariant,
|
|
28309
|
-
onClick: e[
|
|
28313
|
+
onClick: e[1] || (e[1] = De((a) => t.$emit("primary-action"), ["prevent"]))
|
|
28310
28314
|
}, null, 8, ["busy", "data-cy", "disabled", "text", "variant"])) : L("", !0),
|
|
28311
|
-
n.secondary ? (g(), ue(o, {
|
|
28312
|
-
key: 1,
|
|
28313
|
-
color: "secondary",
|
|
28314
|
-
"data-cy": `${n.dataCy}:abortButton`,
|
|
28315
|
-
disabled: s.isDisabledSecondary,
|
|
28316
|
-
href: n.href,
|
|
28317
|
-
text: n.secondaryText,
|
|
28318
|
-
variant: n.secondaryBtnVariant,
|
|
28319
|
-
onClick: e[1] || (e[1] = De((a) => t.$emit("secondary-action"), ["prevent"]))
|
|
28320
|
-
}, null, 8, ["data-cy", "disabled", "href", "text", "variant"])) : L("", !0),
|
|
28321
28315
|
z(t.$slots, "default")
|
|
28322
28316
|
], 2);
|
|
28323
28317
|
}
|
|
@@ -31000,7 +30994,7 @@ const fp = /* @__PURE__ */ se({
|
|
|
31000
30994
|
onChange: (a) => n.handleChange(a, n.nodeId, i),
|
|
31001
30995
|
onAdd: () => r("add"),
|
|
31002
30996
|
onEnd: (a) => {
|
|
31003
|
-
const l =
|
|
30997
|
+
const l = a.item;
|
|
31004
30998
|
n.handleDrag("end", a, l, n.nodeId), r("end", a, l, n.nodeId);
|
|
31005
30999
|
},
|
|
31006
31000
|
onMove: (a) => {
|
|
@@ -38987,8 +38981,10 @@ const C6 = /* @__PURE__ */ ae(YX, [["render", QX]]), eQ = {
|
|
|
38987
38981
|
},
|
|
38988
38982
|
emits: [
|
|
38989
38983
|
"draggable:change",
|
|
38990
|
-
"
|
|
38991
|
-
"node-selected"
|
|
38984
|
+
"end",
|
|
38985
|
+
"node-selected",
|
|
38986
|
+
"start",
|
|
38987
|
+
"tree:change"
|
|
38992
38988
|
],
|
|
38993
38989
|
data() {
|
|
38994
38990
|
return {
|
|
@@ -39413,9 +39409,11 @@ const lQ = {
|
|
|
39413
39409
|
}
|
|
39414
39410
|
},
|
|
39415
39411
|
emits: [
|
|
39416
|
-
"tree:change",
|
|
39417
39412
|
"draggable:change",
|
|
39418
|
-
"
|
|
39413
|
+
"end",
|
|
39414
|
+
"node-selection-change",
|
|
39415
|
+
"start",
|
|
39416
|
+
"tree:change"
|
|
39419
39417
|
],
|
|
39420
39418
|
data() {
|
|
39421
39419
|
return {
|
package/package.json
CHANGED
|
@@ -3,15 +3,6 @@
|
|
|
3
3
|
:class="[align, $attrs.class]"
|
|
4
4
|
class="space-x-2"
|
|
5
5
|
>
|
|
6
|
-
<dp-button
|
|
7
|
-
v-if="primary"
|
|
8
|
-
:busy="busy ? true : null"
|
|
9
|
-
:data-cy="`${dataCy}:saveButton`"
|
|
10
|
-
:disabled="isDisabledPrimary"
|
|
11
|
-
:text="primaryText"
|
|
12
|
-
:variant="primaryBtnVariant"
|
|
13
|
-
@click.prevent="$emit('primary-action')"
|
|
14
|
-
/>
|
|
15
6
|
<dp-button
|
|
16
7
|
v-if="secondary"
|
|
17
8
|
color="secondary"
|
|
@@ -19,9 +10,18 @@
|
|
|
19
10
|
:disabled="isDisabledSecondary"
|
|
20
11
|
:href="href"
|
|
21
12
|
:text="secondaryText"
|
|
22
|
-
|
|
13
|
+
variant="outline"
|
|
23
14
|
@click.prevent="$emit('secondary-action')"
|
|
24
15
|
/>
|
|
16
|
+
<dp-button
|
|
17
|
+
v-if="primary"
|
|
18
|
+
:busy="busy ? true : null"
|
|
19
|
+
:data-cy="`${dataCy}:saveButton`"
|
|
20
|
+
:disabled="isDisabledPrimary"
|
|
21
|
+
:text="primaryText"
|
|
22
|
+
:variant="primaryBtnVariant"
|
|
23
|
+
@click.prevent="$emit('primary-action')"
|
|
24
|
+
/>
|
|
25
25
|
<slot />
|
|
26
26
|
</div>
|
|
27
27
|
</template>
|
|
@@ -128,13 +128,6 @@ export default {
|
|
|
128
128
|
default: false,
|
|
129
129
|
},
|
|
130
130
|
|
|
131
|
-
secondaryBtnVariant: {
|
|
132
|
-
required: false,
|
|
133
|
-
type: String as PropType<ButtonVariant>,
|
|
134
|
-
default: 'solid',
|
|
135
|
-
validator: (prop: ButtonVariant) => ['solid', 'outline', 'subtle'].includes(prop),
|
|
136
|
-
},
|
|
137
|
-
|
|
138
131
|
/**
|
|
139
132
|
* Custom text for the secondary button.
|
|
140
133
|
*/
|
|
@@ -123,7 +123,7 @@ const { option: changeSortableOption } = useSortable(
|
|
|
123
123
|
onChange: (e: Event) => props.handleChange(e, props.nodeId, wrapper),
|
|
124
124
|
onAdd: () => emit('add'),
|
|
125
125
|
onEnd: (e) => {
|
|
126
|
-
const currentElement =
|
|
126
|
+
const currentElement = e.item
|
|
127
127
|
|
|
128
128
|
props.handleDrag('end', e, currentElement, props.nodeId)
|
|
129
129
|
emit('end', e, currentElement, props.nodeId)
|