@ds-autonomie/web-components 1.18.0 → 1.20.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/CHANGELOG.md +30 -0
- package/dist/chunks/{chunk.EY6DBOBY.js → chunk.3D63HEF5.js} +4 -4
- package/dist/chunks/{chunk.L2L37MWZ.js → chunk.3FPXYDA5.js} +1 -1
- package/dist/chunks/{chunk.WSP5BYQP.js → chunk.3IJMYCGV.js} +20 -7
- package/dist/chunks/{chunk.4Z3LVWYW.js → chunk.5H3FRLYG.js} +4 -0
- package/dist/chunks/{chunk.IEBTPGUT.js → chunk.6PNOLDUN.js} +11 -1
- package/dist/chunks/{chunk.BNPEW3RO.js → chunk.74PVOVK5.js} +1 -1
- package/dist/chunks/{chunk.SH26MYV3.js → chunk.7AAMT4XK.js} +1 -1
- package/dist/chunks/{chunk.MNCPUPHX.js → chunk.7FYXPV3G.js} +38 -10
- package/dist/chunks/{chunk.4IXJVHZ5.js → chunk.AV26MFR7.js} +2 -3
- package/dist/chunks/{chunk.KZ65ORAL.js → chunk.BPEI35FP.js} +4 -0
- package/dist/chunks/{chunk.HF2BKQ7K.js → chunk.CXQ4OD4X.js} +4 -4
- package/dist/chunks/{chunk.U7V5J6UX.js → chunk.DY6WZQNG.js} +1 -1
- package/dist/chunks/{chunk.IGYXUK7A.js → chunk.F6RRFM4P.js} +1 -1
- package/dist/chunks/{chunk.4QUJBAX3.js → chunk.FOGBKOQM.js} +18 -13
- package/dist/chunks/{chunk.TOZLN2DN.js → chunk.FPKXUSZ2.js} +43 -22
- package/dist/chunks/{chunk.Y2FHTUAN.js → chunk.HHFAWREW.js} +1 -0
- package/dist/chunks/{chunk.33YIN2OK.js → chunk.HMY3DD5Q.js} +2 -2
- package/dist/chunks/{chunk.3RQ3AMTB.js → chunk.IANNJ3XQ.js} +2 -2
- package/dist/chunks/{chunk.4WWQYBFA.js → chunk.JI25EHQH.js} +5 -4
- package/dist/chunks/{chunk.MWQ3CXZP.js → chunk.K747M6BH.js} +1 -1
- package/dist/chunks/{chunk.SRYBWTPD.js → chunk.L46ATINF.js} +43 -23
- package/dist/chunks/{chunk.ATFH7NZ3.js → chunk.LP7HSAS3.js} +1 -1
- package/dist/chunks/{chunk.26R2GJ3D.js → chunk.LXBTGTSE.js} +2 -10
- package/dist/chunks/{chunk.PULHNCDM.js → chunk.MILDW5D6.js} +0 -1
- package/dist/chunks/{chunk.DLMZ2MN2.js → chunk.O3HNJGYS.js} +1 -1
- package/dist/chunks/{chunk.RSX6EFCX.js → chunk.PCO6EOKB.js} +1 -1
- package/dist/chunks/{chunk.FZBZ5HAZ.js → chunk.PQ5POUST.js} +1 -1
- package/dist/chunks/{chunk.M7QP6END.js → chunk.Q3EITOMR.js} +4 -13
- package/dist/chunks/{chunk.JH5GMUO7.js → chunk.R426GAXO.js} +1 -0
- package/dist/chunks/{chunk.PT4W6K27.js → chunk.RPHNQ6G2.js} +4 -4
- package/dist/chunks/{chunk.67S77FO4.js → chunk.T2DCZWWQ.js} +2 -2
- package/dist/chunks/{chunk.YVJBJSTS.js → chunk.T34EYGAF.js} +147 -27
- package/dist/chunks/{chunk.I2FEKI3M.js → chunk.TWD6W5IY.js} +1 -1
- package/dist/chunks/{chunk.EWVN3OFD.js → chunk.UGJMPVUI.js} +14 -4
- package/dist/chunks/{chunk.NDQ5XCHJ.js → chunk.UZBA5RSV.js} +5 -21
- package/dist/chunks/{chunk.S3YBN2JX.js → chunk.W635ZS25.js} +3 -1
- package/dist/chunks/{chunk.6K3AQESH.js → chunk.WKBOF2UN.js} +6 -1
- package/dist/chunks/{chunk.KSF45YRN.js → chunk.WNKMEJJQ.js} +3 -1
- package/dist/chunks/{chunk.H3OIUOL7.js → chunk.X6777XNN.js} +1 -1
- package/dist/chunks/{chunk.QVJYJURQ.js → chunk.Y7BIBKXU.js} +4 -4
- package/dist/chunks/{chunk.TEHCPESC.js → chunk.Y7CSNRKE.js} +1 -1
- package/dist/chunks/{chunk.BPPQ62GH.js → chunk.YTRQPTZ3.js} +1 -1
- package/dist/chunks/chunk.Z2A5AEMU.js +70 -0
- package/dist/chunks/{chunk.BAASBQN5.js → chunk.Z4APA22Y.js} +12 -8
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/anchor-tag/anchor-tag.js +2 -2
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/avatar/avatar.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.d.ts +2 -0
- package/dist/components/button/button.js +4 -4
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/callout/callout.js +4 -4
- package/dist/components/card/card.js +2 -2
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-button/checkbox-button.js +4 -4
- package/dist/components/checkbox-button/checkbox-button.styles.js +2 -2
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/combobox/combobox.d.ts +5 -0
- package/dist/components/combobox/combobox.js +8 -8
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/download-card/download-card.js +1 -1
- package/dist/components/download-link/download-link.js +1 -1
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/file-upload/file-upload.js +2 -2
- package/dist/components/filter/filter-button/filter-button.js +1 -1
- package/dist/components/filter/filter-date/filter-date.js +13 -13
- package/dist/components/filter/filter-range/filter-range.js +11 -11
- package/dist/components/filter/filter-select/filter-select.js +11 -11
- package/dist/components/footer-sitemap/footer-sitemap.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon-button/icon-button.d.ts +2 -0
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.d.ts +7 -0
- package/dist/components/input/input.js +10 -10
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/input/input.utils.d.ts +6 -2
- package/dist/components/input/input.utils.js +11 -3
- package/dist/components/input-date/input-date.d.ts +1 -0
- package/dist/components/input-date/input-date.js +8 -8
- package/dist/components/input-date/input-date.styles.js +2 -2
- package/dist/components/input-mask/input-mask.d.ts +1 -0
- package/dist/components/input-mask/input-mask.js +3 -3
- package/dist/components/input-mask/input-mask.styles.js +1 -1
- package/dist/components/input-phone/input-phone.js +10 -10
- package/dist/components/menu-accordion/menu-accordion.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +2 -2
- package/dist/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/dist/components/navbar/navbar-link/navbar-link.js +3 -3
- package/dist/components/navbar/navbar-menu/navbar-menu.js +3 -3
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.js +13 -13
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/range-slider/range-slider.js +2 -2
- package/dist/components/select/select.js +7 -7
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/split-panel/split-panel.js +1 -1
- package/dist/components/step/step.js +3 -3
- package/dist/components/step/step.styles.js +1 -1
- package/dist/components/table-container/table-container.d.ts +2 -0
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-container/table-container.styles.js +1 -1
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tree/tree.js +3 -3
- package/dist/components/tree-item/tree-item.js +3 -3
- package/dist/custom-elements.json +234 -2
- package/dist/design-system.js +71 -71
- package/dist/themes/dsa-wc-theme.css +4 -1
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +4 -1
- package/dist/utilities/date.d.ts +1 -0
- package/dist/utilities/date.js +3 -1
- package/dist/utilities/helpers.js +1 -1
- package/dist/vscode.html-custom-data.json +22 -2
- package/dist/web-types.json +124 -1
- package/package.json +3 -1
- package/dist/chunks/chunk.KBT2EKLF.js +0 -25
- package/dist/chunks/{chunk.PEAFJZ6C.js → chunk.2R6P5TGQ.js} +3 -3
- package/dist/chunks/{chunk.6GVM3YU4.js → chunk.3XN3SRIA.js} +3 -3
- package/dist/chunks/{chunk.63LGJMTZ.js → chunk.ECHOZ6NC.js} +3 -3
- package/dist/chunks/{chunk.ZV7TVP6P.js → chunk.FAKJROQT.js} +3 -3
- package/dist/chunks/{chunk.4IGA5VLC.js → chunk.FKWXVC3X.js} +3 -3
- package/dist/chunks/{chunk.VLSSVYAB.js → chunk.HEKH6LVG.js} +3 -3
- package/dist/chunks/{chunk.O7DWCXXH.js → chunk.K7B6RL47.js} +3 -3
- package/dist/chunks/{chunk.2GIZK5OL.js → chunk.NTUKWCFF.js} +3 -3
- package/dist/chunks/{chunk.B5XEZJD7.js → chunk.OVE2754B.js} +3 -3
- package/dist/chunks/{chunk.KFVPJIH2.js → chunk.TGLNENJD.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 1.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4ebc866: `input` : ajout du type "amount"
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- f48934c: "`dialog`: mise en avant du header"
|
|
12
|
+
- 53ded62: `table-container` : ajout d'une variable `--toolbar-container-top` pour contrôler la position verticale de la barre d'outils
|
|
13
|
+
- c6e8ebe: `combobox`: possibilité de désactiver le filtre, équivalence de 'oe' et 'œ'
|
|
14
|
+
- 7af4f1b: `input` : correction de l'affichage de l'icône pour le type="time"
|
|
15
|
+
- 72d7d26: `input-date`, `filter-date` : correction de la gestion des chaines de caractères vides
|
|
16
|
+
- 41ec30a: `footer-sitemap` : suppression du role region quand aucun label n'est ajouté ; `drawer` : remplacement du tabindex 0 du conteneur par -1 ; `avatar` : suppression du role image quand aucun label n'est ajouté
|
|
17
|
+
- 92fff06: `button`, `icon-button` : ajout d'un attribut `description`
|
|
18
|
+
|
|
19
|
+
## 1.19.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- 33a8faf: `combobox` : ajout de l'état readonly
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 3246724: `breadcrumb` : correction de l'alignement avec des icones
|
|
28
|
+
- 03478ae: `combobox` : reset de la valeur et amélioration du style
|
|
29
|
+
- d955ede: `step`, `stepper` : les étapes sont centrées en mode horizontal
|
|
30
|
+
- 34c6cf6: `input` : affichage du texte d'aide et d'erreur avec le type date
|
|
31
|
+
- ab09aa8: `card` : suppression de la bordure de l'en-tête
|
|
32
|
+
|
|
3
33
|
## 1.18.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
select_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UZBA5RSV.js";
|
|
4
4
|
import {
|
|
5
5
|
scrollIntoView
|
|
6
6
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -13,6 +13,9 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
HasSlotController
|
|
15
15
|
} from "./chunk.YIY5RM53.js";
|
|
16
|
+
import {
|
|
17
|
+
ifDefinedAndNotEmpty
|
|
18
|
+
} from "./chunk.ZQJVCRB2.js";
|
|
16
19
|
import {
|
|
17
20
|
waitForEvent
|
|
18
21
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -30,9 +33,6 @@ import {
|
|
|
30
33
|
import {
|
|
31
34
|
watch
|
|
32
35
|
} from "./chunk.6IH66JBY.js";
|
|
33
|
-
import {
|
|
34
|
-
ifDefinedAndNotEmpty
|
|
35
|
-
} from "./chunk.ZQJVCRB2.js";
|
|
36
36
|
import {
|
|
37
37
|
ShoelaceElement
|
|
38
38
|
} from "./chunk.YCXTCVAZ.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk.7OLEA3GQ.js";
|
|
6
6
|
import {
|
|
7
7
|
input_mask_styles_default
|
|
8
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.74PVOVK5.js";
|
|
9
9
|
import {
|
|
10
10
|
defaultValue
|
|
11
11
|
} from "./chunk.CMJ2SRTL.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
HasSlotController
|
|
17
17
|
} from "./chunk.YIY5RM53.js";
|
|
18
|
+
import {
|
|
19
|
+
ifDefinedAndNotEmpty
|
|
20
|
+
} from "./chunk.ZQJVCRB2.js";
|
|
18
21
|
import {
|
|
19
22
|
LocalizeController
|
|
20
23
|
} from "./chunk.G3MRVMJ4.js";
|
|
21
24
|
import {
|
|
22
25
|
watch
|
|
23
26
|
} from "./chunk.6IH66JBY.js";
|
|
24
|
-
import {
|
|
25
|
-
ifDefinedAndNotEmpty
|
|
26
|
-
} from "./chunk.ZQJVCRB2.js";
|
|
27
27
|
import {
|
|
28
28
|
ShoelaceElement
|
|
29
29
|
} from "./chunk.YCXTCVAZ.js";
|
|
@@ -159,6 +159,15 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
+
getDescriptionIds() {
|
|
163
|
+
const ids = [
|
|
164
|
+
"input__prefix",
|
|
165
|
+
"input__suffix",
|
|
166
|
+
...this.error ? ["error-text"] : [],
|
|
167
|
+
"help-text"
|
|
168
|
+
];
|
|
169
|
+
return ids.join(" ");
|
|
170
|
+
}
|
|
162
171
|
handleDisabledChange() {
|
|
163
172
|
this.formControlController.setValidity(this.disabled);
|
|
164
173
|
}
|
|
@@ -264,7 +273,7 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
264
273
|
"input-mask--empty": !this.value
|
|
265
274
|
})}
|
|
266
275
|
>
|
|
267
|
-
<slot name="prefix" part="prefix" class="input-mask__prefix"></slot>
|
|
276
|
+
<slot name="prefix" part="prefix" id="input__prefix" class="input-mask__prefix"></slot>
|
|
268
277
|
|
|
269
278
|
|
|
270
279
|
<div class=${classMap({
|
|
@@ -301,7 +310,7 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
301
310
|
aria-label=${ifDefinedAndNotEmpty(
|
|
302
311
|
hasLabel ? void 0 : this.title
|
|
303
312
|
)}
|
|
304
|
-
aria-describedby=${this.
|
|
313
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
305
314
|
aria-invalid=${ifDefined(this.error ? "true" : void 0)}
|
|
306
315
|
@change=${this.handleChange}
|
|
307
316
|
@invalid=${this.handleInvalid}
|
|
@@ -311,7 +320,11 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
311
320
|
@blur=${this.handleBlur}
|
|
312
321
|
/>
|
|
313
322
|
|
|
314
|
-
${hasSuffixIcon ? html`<slot
|
|
323
|
+
${hasSuffixIcon ? html`<slot
|
|
324
|
+
name="suffix"
|
|
325
|
+
id="input__suffix"
|
|
326
|
+
class="input-mask__suffix"
|
|
327
|
+
></slot>` : ""}
|
|
315
328
|
|
|
316
329
|
${hasClearIcon ? html`
|
|
317
330
|
<button
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
icon_button_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5H3FRLYG.js";
|
|
4
4
|
import {
|
|
5
5
|
ifDefinedAndNotEmpty
|
|
6
6
|
} from "./chunk.ZQJVCRB2.js";
|
|
@@ -22,6 +22,7 @@ var DSAIconButton = class extends ShoelaceElement {
|
|
|
22
22
|
this.hasFocus = false;
|
|
23
23
|
this.disableTabIndex = false;
|
|
24
24
|
this.label = "";
|
|
25
|
+
this.description = "";
|
|
25
26
|
this.disabled = false;
|
|
26
27
|
this.variant = "default";
|
|
27
28
|
this.size = "medium";
|
|
@@ -101,6 +102,12 @@ var DSAIconButton = class extends ShoelaceElement {
|
|
|
101
102
|
></dsa-icon>
|
|
102
103
|
<slot></slot>
|
|
103
104
|
</${tag}>
|
|
105
|
+
${this.description !== "" ? html`
|
|
106
|
+
<p id="description" class="icon-button__description">
|
|
107
|
+
${this.description}
|
|
108
|
+
</p>
|
|
109
|
+
` : ""}
|
|
110
|
+
|
|
104
111
|
`;
|
|
105
112
|
}
|
|
106
113
|
};
|
|
@@ -135,6 +142,9 @@ __decorateClass([
|
|
|
135
142
|
__decorateClass([
|
|
136
143
|
property()
|
|
137
144
|
], DSAIconButton.prototype, "label", 2);
|
|
145
|
+
__decorateClass([
|
|
146
|
+
property({ attribute: "description" })
|
|
147
|
+
], DSAIconButton.prototype, "description", 2);
|
|
138
148
|
__decorateClass([
|
|
139
149
|
property({ type: Boolean, reflect: true })
|
|
140
150
|
], DSAIconButton.prototype, "disabled", 2);
|
|
@@ -7,7 +7,7 @@ import { css } from "lit";
|
|
|
7
7
|
var step_styles_default = css`
|
|
8
8
|
${component_styles_default}
|
|
9
9
|
|
|
10
|
-
:host(:last-of-type) .step:after {
|
|
10
|
+
:host(:last-of-type) .step:after, :host(:first-of-type) .step:before {
|
|
11
11
|
content: unset;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -15,7 +15,6 @@ var step_styles_default = css`
|
|
|
15
15
|
display: grid;
|
|
16
16
|
position: relative;
|
|
17
17
|
align-content: start;
|
|
18
|
-
padding-right: var(--dsa-spacing-24);
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
.step-container__vertical {
|
|
@@ -37,9 +36,11 @@ var step_styles_default = css`
|
|
|
37
36
|
.step-container .step {
|
|
38
37
|
grid-column: 1;
|
|
39
38
|
grid-row: 1;
|
|
39
|
+
justify-self: center;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.step:after
|
|
42
|
+
.step:after,
|
|
43
|
+
.step-container__horizontal .step:before {
|
|
43
44
|
content: '';
|
|
44
45
|
position: absolute;
|
|
45
46
|
background-color: var(--dsa-wc-stepper-color-progress-default);
|
|
@@ -48,8 +49,17 @@ var step_styles_default = css`
|
|
|
48
49
|
|
|
49
50
|
.step-container__horizontal .step:after {
|
|
50
51
|
height: 1.4px;
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
left: calc(
|
|
53
|
+
50% + var(--dsa-wc-stepper-icon-size) / 2 + var(--dsa-spacing-4)
|
|
54
|
+
);
|
|
55
|
+
right: 0;
|
|
56
|
+
}
|
|
57
|
+
.step-container__horizontal .step:before {
|
|
58
|
+
height: 1.4px;
|
|
59
|
+
left: 0;
|
|
60
|
+
right: calc(
|
|
61
|
+
50% + var(--dsa-wc-stepper-icon-size) / 2 + var(--dsa-spacing-4)
|
|
62
|
+
);
|
|
53
63
|
}
|
|
54
64
|
|
|
55
65
|
.step-container__vertical .step:after {
|
|
@@ -59,7 +69,15 @@ var step_styles_default = css`
|
|
|
59
69
|
}
|
|
60
70
|
|
|
61
71
|
.step-container__horizontal .step-title-container {
|
|
62
|
-
|
|
72
|
+
text-align: center;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.step-container__horizontal .step-content-container {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
align-items: center;
|
|
79
|
+
text-align: center;
|
|
80
|
+
padding-inline: var(--dsa-spacing-8);
|
|
63
81
|
}
|
|
64
82
|
|
|
65
83
|
.step-container__vertical .step-content-container {
|
|
@@ -70,7 +88,11 @@ var step_styles_default = css`
|
|
|
70
88
|
max-width: 300px;
|
|
71
89
|
}
|
|
72
90
|
|
|
73
|
-
.step-container--has-title .step-title-container {
|
|
91
|
+
.step-container--has-title.step-container__horizontal .step-title-container {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
}
|
|
95
|
+
.step-container--has-title.step-container__vertical .step-title-container {
|
|
74
96
|
display: flex;
|
|
75
97
|
}
|
|
76
98
|
|
|
@@ -83,12 +105,18 @@ var step_styles_default = css`
|
|
|
83
105
|
--dsa-wc-internal-icon-button-padding: var(--dsa-spacing-2);
|
|
84
106
|
|
|
85
107
|
display: inline-block;
|
|
86
|
-
margin-left: auto;
|
|
87
108
|
position: relative;
|
|
88
|
-
top:
|
|
109
|
+
top: 1px;
|
|
110
|
+
}
|
|
111
|
+
.step-container__horizontal .step-tooltip {
|
|
112
|
+
margin-left: var(--dsa-spacing-8);
|
|
113
|
+
}
|
|
114
|
+
.step-container__vertical .step-tooltip {
|
|
115
|
+
margin-left: auto;
|
|
89
116
|
}
|
|
90
117
|
|
|
91
|
-
.step--complete:after
|
|
118
|
+
.step--complete:after,
|
|
119
|
+
.step--complete:before {
|
|
92
120
|
background-color: var(--dsa-wc-stepper-color-progress-complete);
|
|
93
121
|
}
|
|
94
122
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
breadcrumb_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.F6RRFM4P.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
6
|
} from "./chunk.G3MRVMJ4.js";
|
|
@@ -37,11 +37,10 @@ var DSABreadcrumb = class extends ShoelaceElement {
|
|
|
37
37
|
return html`
|
|
38
38
|
<nav
|
|
39
39
|
part="base"
|
|
40
|
-
class="breadcrumb"
|
|
41
40
|
aria-label=${this.localize.term("youAreHere")}
|
|
42
41
|
role="navigation"
|
|
43
42
|
>
|
|
44
|
-
<div role="list">
|
|
43
|
+
<div role="list" class="breadcrumb__list">
|
|
45
44
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
46
45
|
</div>
|
|
47
46
|
</nav>
|
|
@@ -7,10 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk.EMIT7S33.js";
|
|
8
8
|
import {
|
|
9
9
|
dialog_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.R426GAXO.js";
|
|
11
11
|
import {
|
|
12
12
|
HasSlotController
|
|
13
13
|
} from "./chunk.YIY5RM53.js";
|
|
14
|
+
import {
|
|
15
|
+
ifDefinedAndNotEmpty
|
|
16
|
+
} from "./chunk.ZQJVCRB2.js";
|
|
14
17
|
import {
|
|
15
18
|
waitForEvent
|
|
16
19
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -28,9 +31,6 @@ import {
|
|
|
28
31
|
import {
|
|
29
32
|
watch
|
|
30
33
|
} from "./chunk.6IH66JBY.js";
|
|
31
|
-
import {
|
|
32
|
-
ifDefinedAndNotEmpty
|
|
33
|
-
} from "./chunk.ZQJVCRB2.js";
|
|
34
34
|
import {
|
|
35
35
|
ShoelaceElement
|
|
36
36
|
} from "./chunk.YCXTCVAZ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/utilities/helpers.ts
|
|
2
2
|
function normalizeStr(str) {
|
|
3
|
-
const withoutAccents = str.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
3
|
+
const withoutAccents = str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/œ/g, "oe");
|
|
4
4
|
const lowerCaseString = withoutAccents.toLowerCase();
|
|
5
5
|
const trimmedString = lowerCaseString.replace(/\s+/g, " ").trim();
|
|
6
6
|
return trimmedString;
|
|
@@ -148,7 +148,7 @@ var combobox_styles_default = css`
|
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.select--on-base:hover:not(.select--disabled) .select__combobox {
|
|
151
|
+
.select--on-base:hover:not(.select--disabled):not(.select--readonly) .select__combobox {
|
|
152
152
|
border-color: var(
|
|
153
153
|
--dsa-wc-internal-combobox-on-base-hover-border-color,
|
|
154
154
|
var(--dsa-wc-input-on-base-border-color-hover)
|
|
@@ -168,28 +168,29 @@ var combobox_styles_default = css`
|
|
|
168
168
|
outline: none;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
.select--on-base.select--readonly .select__combobox {
|
|
172
|
+
background-color: var(--dsa-wc-input-on-base-read-only-background-color);
|
|
173
|
+
border-color: var(--dsa-wc-input-on-base-read-only-border-color);
|
|
174
|
+
cursor: default;
|
|
175
|
+
}
|
|
176
|
+
|
|
171
177
|
.select--on-base:not(.select--disabled).select--open .select__combobox,
|
|
172
178
|
.select--on-base:not(.select--disabled).select--focused .select__combobox {
|
|
173
179
|
outline: var(--dsa-wc-focus-ring);
|
|
174
180
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
175
181
|
z-index: 2;
|
|
176
|
-
|
|
177
|
-
background-color: var(
|
|
178
|
-
--dsa-wc-internal-combobox-on-base-active-background-color,
|
|
179
|
-
inherit
|
|
180
|
-
);
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
.select--on-base select__prefix {
|
|
184
185
|
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
185
186
|
}
|
|
186
187
|
|
|
187
|
-
.select--error.select--on-base:not(.select--disabled) .select__combobox {
|
|
188
|
+
.select--error.select--on-base:not(.select--disabled):not(.select--readonly) .select__combobox {
|
|
188
189
|
background-color: var(--dsa-wc-input-on-base-background-color-error);
|
|
189
190
|
border-color: var(--dsa-wc-input-on-base-border-color-error);
|
|
190
191
|
}
|
|
191
192
|
|
|
192
|
-
.select--error.select--on-base:hover:not(.select--disabled)
|
|
193
|
+
.select--error.select--on-base:hover:not(.select--disabled):not(.select--readonly)
|
|
193
194
|
.select__combobox {
|
|
194
195
|
border-color: var(--dsa-wc-input-on-base-border-color-error-hover);
|
|
195
196
|
}
|
|
@@ -228,15 +229,16 @@ var combobox_styles_default = css`
|
|
|
228
229
|
outline: none;
|
|
229
230
|
}
|
|
230
231
|
|
|
232
|
+
.select--on-layer.select--readonly .select__combobox {
|
|
233
|
+
background-color: var(--dsa-wc-input-on-layer-read-only-background-color);
|
|
234
|
+
border-color: var(--dsa-wc-input-on-layer-read-only-border-color);
|
|
235
|
+
cursor: default;
|
|
236
|
+
}
|
|
237
|
+
|
|
231
238
|
.select--on-layer:not(.select--disabled).select--open .select__combobox,
|
|
232
239
|
.select--on-layer:not(.select--disabled).select--focused .select__combobox {
|
|
233
240
|
outline: var(--dsa-wc-focus-ring);
|
|
234
241
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
235
|
-
|
|
236
|
-
background-color: var(
|
|
237
|
-
--dsa-wc-internal-combobox-on-layer-active-background-color,
|
|
238
|
-
inherit
|
|
239
|
-
);
|
|
240
242
|
}
|
|
241
243
|
|
|
242
244
|
.select--on-layer select__prefix {
|
|
@@ -331,6 +333,8 @@ var combobox_styles_default = css`
|
|
|
331
333
|
|
|
332
334
|
.select__clear:focus {
|
|
333
335
|
outline: var(--dsa-wc-combobox-clear-button-focus-ring);
|
|
336
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
337
|
+
border-radius: 1px;
|
|
334
338
|
}
|
|
335
339
|
|
|
336
340
|
/* Expand icon */
|
|
@@ -341,6 +345,7 @@ var combobox_styles_default = css`
|
|
|
341
345
|
transition: var(--dsa-wc-transition-medium) rotate ease;
|
|
342
346
|
rotate: 0;
|
|
343
347
|
color: var(--dsa-wc-input-icon-color);
|
|
348
|
+
margin-left: var(--dsa-spacing-4);
|
|
344
349
|
}
|
|
345
350
|
|
|
346
351
|
.select--error .select__expand-icon {
|