@roadtrip/components 3.0.1 → 3.1.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.
- package/dist/cjs/{index-b51ea273.js → index-0fd360a4.js} +0 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +1 -1
- package/dist/cjs/road-banner.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +12 -2
- package/dist/cjs/road-radio.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +1 -1
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +12 -9
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/icon/svg/all-services-color.svg +1 -0
- package/dist/collection/components/icon/svg/all-services-outline.svg +1 -0
- package/dist/collection/components/icon/svg/environmental-color.svg +1 -0
- package/dist/collection/components/icon/svg/environmental-outline.svg +1 -0
- package/dist/collection/components/icon/svg/good-product-color.svg +1 -0
- package/dist/collection/components/icon/svg/good-product-outline.svg +1 -0
- package/dist/collection/components/icon/svg/people-gathering-color.svg +1 -0
- package/dist/collection/components/icon/svg/people-gathering-outline.svg +1 -0
- package/dist/collection/components/icon/svg/recycling-color.svg +1 -0
- package/dist/collection/components/icon/svg/recycling-outline.svg +1 -0
- package/dist/collection/components/icon/svg/societal-color.svg +1 -0
- package/dist/collection/components/icon/svg/societal-outline.svg +1 -0
- package/dist/collection/components/icon/svg/stocktaking-color.svg +1 -1
- package/dist/collection/components/icon/svg/stocktaking-outline.svg +1 -1
- package/dist/collection/components/icon/svg/weather-sun-outline-color.svg +1 -1
- package/dist/collection/components/progress/progress.css +25 -1
- package/dist/collection/components/progress/progress.js +47 -1
- package/dist/collection/components/progress/progress.stories.js +10 -2
- package/dist/collection/components/radio/radio.css +8 -0
- package/dist/collection/components/toast/toast.css +67 -21
- package/dist/collection/components/toast/toast.js +20 -9
- package/dist/collection/components/toast/toast.stories.js +15 -2
- package/dist/esm/{index-3e2c0645.js → index-5d7ae00a.js} +1 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-accordion.entry.js +1 -1
- package/dist/esm/road-badge_14.entry.js +1 -1
- package/dist/esm/road-banner.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +12 -2
- package/dist/esm/road-radio.entry.js +1 -1
- package/dist/esm/road-range.entry.js +1 -1
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-toast.entry.js +12 -9
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +8 -0
- package/dist/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +12 -0
- package/dist/icons/index.js +96 -84
- package/dist/roadtrip/{p-cb878cf1.entry.js → p-1e07d473.entry.js} +1 -1
- package/dist/roadtrip/{p-9d8877c2.entry.js → p-300fe50e.entry.js} +1 -1
- package/dist/roadtrip/{p-8819f735.entry.js → p-42f80999.entry.js} +1 -1
- package/dist/roadtrip/p-57e3fe85.entry.js +1 -0
- package/dist/roadtrip/{p-7c3af620.entry.js → p-7ef481b0.entry.js} +1 -1
- package/dist/roadtrip/p-87259af5.js +1 -0
- package/dist/roadtrip/{p-aab8f34a.entry.js → p-89c45d91.entry.js} +1 -1
- package/dist/roadtrip/p-921fd6c1.entry.js +1 -0
- package/dist/roadtrip/{p-93f07ab9.entry.js → p-a2999a4e.entry.js} +1 -1
- package/dist/roadtrip/{p-ca1de878.entry.js → p-a41b478a.entry.js} +1 -1
- package/dist/roadtrip/p-aa81d540.entry.js +1 -0
- package/dist/roadtrip/{p-7078ea7d.entry.js → p-d24c06f2.entry.js} +1 -1
- package/dist/roadtrip/{p-6fe541d7.entry.js → p-dced2265.entry.js} +1 -1
- package/dist/roadtrip/{p-51b4cf55.entry.js → p-f5f42766.entry.js} +1 -1
- package/dist/roadtrip/{p-3fa6acd4.entry.js → p-fb23c9b4.entry.js} +1 -1
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/svg/all-services-color.svg +1 -0
- package/dist/roadtrip/svg/all-services-outline.svg +1 -0
- package/dist/roadtrip/svg/environmental-color.svg +1 -0
- package/dist/roadtrip/svg/environmental-outline.svg +1 -0
- package/dist/roadtrip/svg/good-product-color.svg +1 -0
- package/dist/roadtrip/svg/good-product-outline.svg +1 -0
- package/dist/roadtrip/svg/people-gathering-color.svg +1 -0
- package/dist/roadtrip/svg/people-gathering-outline.svg +1 -0
- package/dist/roadtrip/svg/recycling-color.svg +1 -0
- package/dist/roadtrip/svg/recycling-outline.svg +1 -0
- package/dist/roadtrip/svg/societal-color.svg +1 -0
- package/dist/roadtrip/svg/societal-outline.svg +1 -0
- package/dist/roadtrip/svg/stocktaking-color.svg +1 -1
- package/dist/roadtrip/svg/stocktaking-outline.svg +1 -1
- package/dist/roadtrip/svg/weather-sun-outline-color.svg +1 -1
- package/dist/types/components/progress/progress.d.ts +8 -0
- package/dist/types/components/toast/toast.d.ts +8 -0
- package/dist/types/components.d.ts +16 -0
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +12 -0
- package/icons/index.js +96 -84
- package/package.json +1 -1
- package/dist/roadtrip/p-5807b1ed.entry.js +0 -1
- package/dist/roadtrip/p-5c45952d.js +0 -1
- package/dist/roadtrip/p-a43b9024.entry.js +0 -1
- package/dist/roadtrip/p-fdfbd0aa.entry.js +0 -1
- /package/dist/collection/components/icon/svg/{weather-rain-solid color.svg → weather-rain-solid-color.svg} +0 -0
- /package/dist/roadtrip/svg/{weather-rain-solid color.svg → weather-rain-solid-color.svg} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path d="M1.02 35.5v20.22l18.59 7.99 18.59-7.99V35.49l-18.59-7.97L1.02 35.5Zm23.78-3.03-14.18 6.07-5.18-2.22 14.17-6.08 5.19 2.22v.01Zm-5.19 9.92L13.8 39.9l14.17-6.07 5.81 2.49-14.17 6.07ZM3.52 38.22l14.84 6.36v15.88L3.52 54.08V38.22Zm17.34 22.24V44.58l14.84-6.36v15.86l-14.84 6.38ZM37.8 11.9H27.05v2.5H37.8v-2.
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path d="M1.02 35.5v20.22l18.59 7.99 18.59-7.99V35.49l-18.59-7.97L1.02 35.5Zm23.78-3.03-14.18 6.07-5.18-2.22 14.17-6.08 5.19 2.22v.01Zm-5.19 9.92L13.8 39.9l14.17-6.07 5.81 2.49-14.17 6.07ZM3.52 38.22l14.84 6.36v15.88L3.52 54.08V38.22Zm17.34 22.24V44.58l14.84-6.36v15.86l-14.84 6.38ZM37.8 11.9H27.05v2.5H37.8v-2.5Zm-4.61 6.15h-6.14v2.5h6.14v-2.5Zm4.61 6.14H27.05v2.5H37.8v-2.5Z"/><path d="M57.94 1.22H20.98c-2.07 0-3.75 1.68-3.75 3.75v20.47h2.5V4.97c0-.69.56-1.25 1.25-1.25h36.96c.69 0 1.25.56 1.25 1.25v48.49c0 .69-.56 1.25-1.25 1.25H40.46v2.5h17.48c2.07 0 3.75-1.68 3.75-3.75V4.97c0-2.07-1.68-3.75-3.75-3.75Z"/><path d="m48.66 45.75 7.01-8.77-1.95-1.57L48.45 42l-2.09-2.08-1.76 1.77 4.06 4.06Zm0-13.83 7.01-8.77-1.95-1.56-5.27 6.59-2.09-2.08-1.76 1.76 4.06 4.06Zm7.01-22.59-1.95-1.56-5.27 6.59-2.09-2.09-1.76 1.77 4.06 4.06 7.01-8.77ZM33.053 50.225l-4.65 1.996.987 2.298 4.65-1.997-.987-2.297Z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M5 31.25h7.787v2.5H5zm47.213 0H60v2.5h-7.787zM31.25 5h2.5v6.787h-2.5zm0 48.213h2.5V60h-2.5zM12.171 13.938l1.768-1.768 5.507 5.507-1.768 1.768zm33.384 33.385 1.767-1.767 5.506 5.505-1.768 1.767zm-33.384 3.738 4.8-4.8 1.767 1.769-4.8 4.799zM46.262 16.97l4.8-4.8 1.767 1.769-4.8 4.799zM32.5 48.4a15.9 15.9 0 1 1 15.9-15.9 15.913 15.913 0 0 1-15.9 15.9Zm0-29.3a13.4 13.4 0 1 0 13.4 13.4 13.411 13.411 0 0 0-13.4-13.4Z" fill="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M5 31.25h7.787v2.5H5zm47.213 0H60v2.5h-7.787zM31.25 5h2.5v6.787h-2.5zm0 48.213h2.5V60h-2.5zM12.171 13.938l1.768-1.768 5.507 5.507-1.768 1.768zm33.384 33.385 1.767-1.767 5.506 5.505-1.768 1.767zm-33.384 3.738 4.8-4.8 1.767 1.769-4.8 4.799zM46.262 16.97l4.8-4.8 1.767 1.769-4.8 4.799zM32.5 48.4a15.9 15.9 0 1 1 15.9-15.9 15.913 15.913 0 0 1-15.9 15.9Zm0-29.3a13.4 13.4 0 1 0 13.4 13.4 13.411 13.411 0 0 0-13.4-13.4Z" fill="#F6A404"/></svg>
|
|
@@ -21,10 +21,15 @@
|
|
|
21
21
|
height: 0.25rem;
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
font-size: var(--road-label-small);
|
|
24
|
-
background-color: var(--road-
|
|
24
|
+
background-color: var(--road-surface-disabled);
|
|
25
25
|
border-radius: var(--border-radius);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
.progress-light{
|
|
29
|
+
background-color: var(--road-overlay-inverse);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
28
33
|
.progress-element-info {
|
|
29
34
|
display: flex;
|
|
30
35
|
justify-content: space-between;
|
|
@@ -87,3 +92,22 @@
|
|
|
87
92
|
.progress.progress-danger .progress-bar {
|
|
88
93
|
background: var(--road-danger-surface-inverse);
|
|
89
94
|
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/* ANIMATION
|
|
98
|
+
-------------------- */
|
|
99
|
+
|
|
100
|
+
.animation .progress-bar{
|
|
101
|
+
animation: load 5s normal forwards;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes load {
|
|
105
|
+
|
|
106
|
+
0% {
|
|
107
|
+
width: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
100% {
|
|
111
|
+
width: 100%;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -18,6 +18,14 @@ export class ProgressBar {
|
|
|
18
18
|
* Show step
|
|
19
19
|
*/
|
|
20
20
|
this.showstep = false;
|
|
21
|
+
/**
|
|
22
|
+
* Animation progress bar
|
|
23
|
+
*/
|
|
24
|
+
this.animation = false;
|
|
25
|
+
/**
|
|
26
|
+
* Light progress background
|
|
27
|
+
*/
|
|
28
|
+
this.light = false;
|
|
21
29
|
/**
|
|
22
30
|
* Add padding if the progress is full width
|
|
23
31
|
*/
|
|
@@ -30,7 +38,9 @@ export class ProgressBar {
|
|
|
30
38
|
render() {
|
|
31
39
|
const valueRound = Math.round(this.value / 5 / 5);
|
|
32
40
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
33
|
-
|
|
41
|
+
const light = this.light ? 'progress progress-light' : 'progress';
|
|
42
|
+
const animation = this.animation ? 'animation' : '';
|
|
43
|
+
return (h(Host, { class: "progress-element" }, h("div", { class: `${light} progress-${this.color} ${animation}` }, h("div", { class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100" })), h("div", { class: `${fullwidth}` }, h("span", { class: "progress-element-label" }, this.label), this.showstep && h("span", { class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
34
44
|
}
|
|
35
45
|
static get is() { return "road-progress"; }
|
|
36
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,6 +128,42 @@ export class ProgressBar {
|
|
|
118
128
|
"reflect": false,
|
|
119
129
|
"defaultValue": "false"
|
|
120
130
|
},
|
|
131
|
+
"animation": {
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"mutable": false,
|
|
134
|
+
"complexType": {
|
|
135
|
+
"original": "boolean",
|
|
136
|
+
"resolved": "boolean",
|
|
137
|
+
"references": {}
|
|
138
|
+
},
|
|
139
|
+
"required": false,
|
|
140
|
+
"optional": false,
|
|
141
|
+
"docs": {
|
|
142
|
+
"tags": [],
|
|
143
|
+
"text": "Animation progress bar"
|
|
144
|
+
},
|
|
145
|
+
"attribute": "animation",
|
|
146
|
+
"reflect": false,
|
|
147
|
+
"defaultValue": "false"
|
|
148
|
+
},
|
|
149
|
+
"light": {
|
|
150
|
+
"type": "boolean",
|
|
151
|
+
"mutable": false,
|
|
152
|
+
"complexType": {
|
|
153
|
+
"original": "boolean",
|
|
154
|
+
"resolved": "boolean",
|
|
155
|
+
"references": {}
|
|
156
|
+
},
|
|
157
|
+
"required": false,
|
|
158
|
+
"optional": false,
|
|
159
|
+
"docs": {
|
|
160
|
+
"tags": [],
|
|
161
|
+
"text": "Light progress background"
|
|
162
|
+
},
|
|
163
|
+
"attribute": "light",
|
|
164
|
+
"reflect": false,
|
|
165
|
+
"defaultValue": "false"
|
|
166
|
+
},
|
|
121
167
|
"fullwidth": {
|
|
122
168
|
"type": "boolean",
|
|
123
169
|
"mutable": false,
|
|
@@ -5,16 +5,18 @@ export default {
|
|
|
5
5
|
component: 'road-progress',
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
export const Playground = ({ value, color, label, showstep, numbersteps, fullwidth }) => html`
|
|
9
|
-
<road-progress value="${value}" color="${color}" label="${label}" showstep="${showstep}" numbersteps="${numbersteps}" fullwidth="${fullwidth}"></road-progress>
|
|
8
|
+
export const Playground = ({ value, color, label, showstep, animation, numbersteps, fullwidth, light }) => html`
|
|
9
|
+
<road-progress value="${value}" color="${color}" light="${light}" label="${label}" showstep="${showstep}" animation="${animation}" numbersteps="${numbersteps}" fullwidth="${fullwidth}"></road-progress>
|
|
10
10
|
`;
|
|
11
11
|
Playground.args = {
|
|
12
12
|
value: 25,
|
|
13
13
|
color: 'primary',
|
|
14
14
|
label: '',
|
|
15
15
|
showstep:'false',
|
|
16
|
+
animation:'false',
|
|
16
17
|
numbersteps: '4',
|
|
17
18
|
fullwidth:'false',
|
|
19
|
+
light:'false',
|
|
18
20
|
};
|
|
19
21
|
Playground.argTypes = {
|
|
20
22
|
value: {
|
|
@@ -38,6 +40,12 @@ Playground.argTypes = {
|
|
|
38
40
|
showstep: {
|
|
39
41
|
control: 'boolean',
|
|
40
42
|
},
|
|
43
|
+
animation: {
|
|
44
|
+
control: 'boolean',
|
|
45
|
+
},
|
|
46
|
+
light: {
|
|
47
|
+
control: 'boolean',
|
|
48
|
+
},
|
|
41
49
|
fullwidth: {
|
|
42
50
|
control: 'boolean',
|
|
43
51
|
},
|
|
@@ -44,9 +44,17 @@
|
|
|
44
44
|
.form-radio-input {
|
|
45
45
|
position: absolute;
|
|
46
46
|
z-index: -1;
|
|
47
|
+
width: 20px;
|
|
48
|
+
height: 20px;
|
|
47
49
|
opacity: 0;
|
|
48
50
|
}
|
|
49
51
|
|
|
52
|
+
.form-radio-input:disabled {
|
|
53
|
+
z-index: 1;
|
|
54
|
+
width: 100%;
|
|
55
|
+
cursor: not-allowed;
|
|
56
|
+
}
|
|
57
|
+
|
|
50
58
|
/* LABEL
|
|
51
59
|
-------------------- */
|
|
52
60
|
|
|
@@ -16,17 +16,31 @@
|
|
|
16
16
|
|
|
17
17
|
:host {
|
|
18
18
|
position: fixed;
|
|
19
|
-
|
|
19
|
+
right: 0;
|
|
20
|
+
bottom: 1rem;
|
|
20
21
|
left: 0;
|
|
21
22
|
z-index: 1;
|
|
22
|
-
display:
|
|
23
|
-
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
width: 328px;
|
|
26
|
+
margin: 0 auto;
|
|
24
27
|
visibility: hidden;
|
|
25
28
|
opacity: 0;
|
|
26
|
-
transition: opacity
|
|
29
|
+
transition: opacity .3s ease-in-out,visibility .15s,transform .3s ease-in-out;
|
|
27
30
|
transform: translateY(-100%);
|
|
28
31
|
}
|
|
29
32
|
|
|
33
|
+
@media (min-width: 1200px) {
|
|
34
|
+
|
|
35
|
+
:host {
|
|
36
|
+
right: 1.5rem;
|
|
37
|
+
bottom: 3rem;
|
|
38
|
+
left: auto;
|
|
39
|
+
width: auto;
|
|
40
|
+
transform: translateX(100%);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
30
44
|
/**
|
|
31
45
|
* Open state
|
|
32
46
|
*/
|
|
@@ -45,25 +59,23 @@
|
|
|
45
59
|
box-sizing: border-box;
|
|
46
60
|
display: flex;
|
|
47
61
|
flex: 0 0 100%;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
font-family: var(--road-font, sans-serif);
|
|
62
|
+
flex-flow: wrap;
|
|
63
|
+
align-items: flex-start;
|
|
64
|
+
width: 328px;
|
|
65
|
+
padding: 0.75rem 2rem 0.6rem 1rem;
|
|
66
|
+
font-family: var(--road-font);
|
|
54
67
|
font-size: var(--road-body-medium);
|
|
55
68
|
line-height: 1.4;
|
|
69
|
+
color: var(--road-on-info-surface-inverse);
|
|
56
70
|
text-align: left;
|
|
57
|
-
|
|
71
|
+
background: var(--road-info-surface-inverse);
|
|
72
|
+
border-radius: 0.25rem;
|
|
58
73
|
}
|
|
59
74
|
|
|
60
75
|
@media (min-width: 575px) {
|
|
61
76
|
|
|
62
77
|
.toast {
|
|
63
|
-
|
|
64
|
-
justify-content: center;
|
|
65
|
-
max-width: 83.3333%;
|
|
66
|
-
padding: 1rem 2rem;
|
|
78
|
+
padding: 1rem;
|
|
67
79
|
margin-right: auto;
|
|
68
80
|
margin-left: auto;
|
|
69
81
|
}
|
|
@@ -128,9 +140,10 @@
|
|
|
128
140
|
-------------------- */
|
|
129
141
|
|
|
130
142
|
.toast-icon {
|
|
131
|
-
position: absolute;
|
|
132
143
|
top: auto;
|
|
133
144
|
left: 0.5rem;
|
|
145
|
+
margin-top: -5px;
|
|
146
|
+
margin-right: 0.5rem;
|
|
134
147
|
}
|
|
135
148
|
|
|
136
149
|
@media (min-width: 575px) {
|
|
@@ -148,16 +161,14 @@
|
|
|
148
161
|
|
|
149
162
|
.toast-close {
|
|
150
163
|
position: absolute;
|
|
151
|
-
|
|
152
|
-
right: 4px;
|
|
153
|
-
display: inline-block;
|
|
164
|
+
right: 0.5rem;
|
|
154
165
|
padding: 0;
|
|
155
166
|
color: inherit;
|
|
156
167
|
cursor: pointer;
|
|
157
168
|
background: none;
|
|
158
|
-
border:
|
|
169
|
+
border: 0;
|
|
159
170
|
border-radius: 4px;
|
|
160
|
-
-
|
|
171
|
+
fill: var(--road-info-icon-inverse);
|
|
161
172
|
}
|
|
162
173
|
|
|
163
174
|
.toast-warning .toast-close {
|
|
@@ -173,3 +184,38 @@
|
|
|
173
184
|
border-color: var(--road-info-surface-inverse);
|
|
174
185
|
outline: none;
|
|
175
186
|
}
|
|
187
|
+
|
|
188
|
+
/* TOAST LABEL
|
|
189
|
+
-------------------- */
|
|
190
|
+
|
|
191
|
+
.toast-label{
|
|
192
|
+
width: 240px;
|
|
193
|
+
margin: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* TOAST PORGRESS BAR
|
|
197
|
+
-------------------- */
|
|
198
|
+
|
|
199
|
+
:host ::slotted(road-progress) {
|
|
200
|
+
position: absolute;
|
|
201
|
+
bottom: -8px;
|
|
202
|
+
left: 0;
|
|
203
|
+
flex-basis: 100%;
|
|
204
|
+
width: 100%;
|
|
205
|
+
margin-top: 0.5rem;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* ANIMATION
|
|
209
|
+
-------------------- */
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
@keyframes load {
|
|
213
|
+
|
|
214
|
+
0% {
|
|
215
|
+
width: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
100% {
|
|
219
|
+
width: 100%;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
|
2
|
-
import { navigationClose,
|
|
2
|
+
import { navigationClose, alertDangerOutline, alertInfoOutline, alertSuccessOutline, alertWarningOutline } from '../../../icons';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @slot progress - the progress bar in the toast.
|
|
6
|
+
* color="info" for Info
|
|
7
|
+
* color="success" for success
|
|
8
|
+
* color="warning" for warning
|
|
9
|
+
* color="danger" for danger
|
|
10
|
+
*/
|
|
3
11
|
export class Toast {
|
|
4
12
|
constructor() {
|
|
5
13
|
/**
|
|
@@ -14,7 +22,7 @@ export class Toast {
|
|
|
14
22
|
* How many milliseconds to wait before hiding the toast. if `"0"`, it will show
|
|
15
23
|
* until `close()` is called.
|
|
16
24
|
*/
|
|
17
|
-
this.timeout =
|
|
25
|
+
this.timeout = 5000;
|
|
18
26
|
/**
|
|
19
27
|
* Close the dialog when clicking on the cross or layer
|
|
20
28
|
*/
|
|
@@ -60,22 +68,25 @@ export class Toast {
|
|
|
60
68
|
let icon;
|
|
61
69
|
switch (this.color) {
|
|
62
70
|
case 'info':
|
|
63
|
-
icon =
|
|
71
|
+
icon = alertInfoOutline;
|
|
64
72
|
break;
|
|
65
73
|
case 'success':
|
|
66
|
-
icon =
|
|
74
|
+
icon = alertSuccessOutline;
|
|
67
75
|
break;
|
|
68
76
|
case 'warning':
|
|
69
|
-
icon =
|
|
77
|
+
icon = alertWarningOutline;
|
|
70
78
|
break;
|
|
71
79
|
case 'danger':
|
|
72
|
-
icon =
|
|
80
|
+
icon = alertDangerOutline;
|
|
73
81
|
break;
|
|
74
82
|
default:
|
|
75
|
-
icon =
|
|
83
|
+
icon = alertInfoOutline;
|
|
76
84
|
break;
|
|
77
85
|
}
|
|
78
|
-
|
|
86
|
+
if (this.color == 'danger') {
|
|
87
|
+
this.timeout = 0;
|
|
88
|
+
}
|
|
89
|
+
return (h(Host, { class: `${toastIsOpenClass}`, role: "alert" }, h("div", { class: `toast toast-${this.color}` }, h("road-icon", { class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { class: "toast-label" }, this.label), h("button", { type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { icon: navigationClose, size: "md" })), h("slot", { name: "progress" }))));
|
|
79
90
|
}
|
|
80
91
|
static get is() { return "road-toast"; }
|
|
81
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,7 +176,7 @@ export class Toast {
|
|
|
165
176
|
},
|
|
166
177
|
"attribute": "timeout",
|
|
167
178
|
"reflect": false,
|
|
168
|
-
"defaultValue": "
|
|
179
|
+
"defaultValue": "5000"
|
|
169
180
|
}
|
|
170
181
|
};
|
|
171
182
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
import { ifDefined } from 'lit-html/directives/if-defined';
|
|
3
|
+
import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
|
|
3
4
|
|
|
4
5
|
export default {
|
|
5
6
|
title: 'Indicators/Toast',
|
|
6
7
|
component: 'road-toast',
|
|
8
|
+
subcomponents: {
|
|
9
|
+
'road-progress': 'road-progress',
|
|
10
|
+
},
|
|
7
11
|
parameters: {
|
|
8
12
|
layout: 'fullscreen',
|
|
9
13
|
actions: {
|
|
@@ -32,11 +36,15 @@ export default {
|
|
|
32
36
|
type: null,
|
|
33
37
|
},
|
|
34
38
|
},
|
|
39
|
+
progress: {
|
|
40
|
+
control: 'text',
|
|
41
|
+
},
|
|
35
42
|
},
|
|
36
43
|
args: {
|
|
37
44
|
'is-open': true,
|
|
38
45
|
label: 'Information sticky toast',
|
|
39
|
-
timeout:
|
|
46
|
+
timeout: 5000,
|
|
47
|
+
progress: undefined,
|
|
40
48
|
},
|
|
41
49
|
};
|
|
42
50
|
|
|
@@ -46,10 +54,15 @@ const Template = (args) => html`
|
|
|
46
54
|
color="${ifDefined(args.color)}"
|
|
47
55
|
label="${ifDefined(args.label)}"
|
|
48
56
|
timeout="${ifDefined(args.timeout)}"
|
|
49
|
-
|
|
57
|
+
>
|
|
58
|
+
${unsafeHTML(args.progress)}
|
|
59
|
+
</road-toast>
|
|
50
60
|
`;
|
|
51
61
|
|
|
52
62
|
export const Playground = Template.bind({});
|
|
63
|
+
Playground.args = {
|
|
64
|
+
progress: `<road-progress slot="progress" light="true" color="info" animation="true"></road-progress>`,
|
|
65
|
+
};
|
|
53
66
|
|
|
54
67
|
export const Success = Template.bind({});
|
|
55
68
|
Success.args = {
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
const alertDangerOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M40.115 55.5h-15.74a4.222 4.222 0 0 1-3.005-1.245l-11.13-11.13a4.222 4.222 0 0 1-1.245-3.005V24.38a4.222 4.222 0 0 1 1.245-3l11.13-11.13a4.222 4.222 0 0 1 3.005-1.245h15.74a4.222 4.222 0 0 1 3.005 1.245l11.13 11.13a4.222 4.222 0 0 1 1.245 3v15.74a4.222 4.222 0 0 1-1.245 3.005l-11.13 11.13a4.222 4.222 0 0 1-3.005 1.245Zm-15.74-44a1.738 1.738 0 0 0-1.237.513l-11.13 11.13a1.738 1.738 0 0 0-.513 1.237v15.74a1.742 1.742 0 0 0 .513 1.238l11.13 11.129a1.738 1.738 0 0 0 1.237.513h15.74a1.738 1.738 0 0 0 1.237-.513l11.13-11.129a1.742 1.742 0 0 0 .513-1.238V24.38a1.738 1.738 0 0 0-.513-1.237l-11.13-11.13a1.738 1.738 0 0 0-1.237-.513Z"/><path d="M30.75 21.368h3v14.003h-3zm0 18.435h3v3.329h-3z"/></svg>';
|
|
2
|
-
const alertDanger = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="m54.255 21.375-11.13-11.13A4.222 4.222 0 0 0 40.12 9H24.38a4.222 4.222 0 0 0-3 1.245l-11.135 11.13a4.222 4.222 0 0 0-1.245 3V40.12a4.222 4.222 0 0 0 1.245 3.005l11.13 11.13a4.222 4.222 0 0 0 3 1.245H40.12a4.222 4.222 0 0 0 3.005-1.245l11.13-11.13A4.222 4.222 0 0 0 55.5 40.12V24.38a4.222 4.222 0 0 0-1.245-3.005ZM33.75 43.132h-3v-3.329h3Zm0-7.761h-3v-14h3Z"/></svg>';
|
|
3
2
|
const alertInfoOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M33.75 29.128h-3v14.004h3V29.128Zm0-7.76h-3v3.328h3v-3.328Z"/><path d="M32.25 55.5A23.276 23.276 0 0 1 9 32.25 23.276 23.276 0 0 1 32.25 9 23.276 23.276 0 0 1 55.5 32.25 23.276 23.276 0 0 1 32.25 55.5Zm0-44A20.774 20.774 0 0 0 11.5 32.25 20.773 20.773 0 0 0 32.25 53 20.774 20.774 0 0 0 53 32.25 20.774 20.774 0 0 0 32.25 11.5Z"/></svg>';
|
|
4
|
-
const alertInfo = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M32.25 9A23.25 23.25 0 1 0 55.5 32.25 23.276 23.276 0 0 0 32.25 9Zm1.5 34.132h-3v-14h3Zm0-18.436h-3v-3.328h3Z"/></svg>';
|
|
5
3
|
const alertSuccessOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M32.25 55.5A23.276 23.276 0 0 1 9 32.25 23.276 23.276 0 0 1 32.25 9 23.276 23.276 0 0 1 55.5 32.25 23.276 23.276 0 0 1 32.25 55.5Zm0-44A20.774 20.774 0 0 0 11.5 32.25 20.774 20.774 0 0 0 32.25 53 20.773 20.773 0 0 0 53 32.25 20.774 20.774 0 0 0 32.25 11.5Z"/><path d="m29.53 40.779-6.964-6.963 1.768-1.768 5.2 5.2 12.637-12.64 1.768 1.768Z"/></svg>';
|
|
6
|
-
const alertSuccess = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M32.25 9A23.25 23.25 0 1 0 55.5 32.25 23.276 23.276 0 0 0 32.25 9Zm-2.721 31.779-6.963-6.962 1.767-1.767 5.2 5.195 12.633-12.64 1.768 1.767Z"/></svg>';
|
|
7
4
|
const alertWarningOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M34.295 23.155h-3v14.003h3V23.155Zm0 18.435h-3v3.329h3V41.59Z"/><path d="M53.334 53.074H12.256a4.206 4.206 0 0 1-3.68-2.125 4.21 4.21 0 0 1 0-4.25l20.539-35.574A4.208 4.208 0 0 1 32.795 9a4.208 4.208 0 0 1 3.681 2.125L57.015 46.7a4.21 4.21 0 0 1 0 4.25 4.208 4.208 0 0 1-3.681 2.125ZM32.795 11.5a1.73 1.73 0 0 0-1.515.875L10.741 47.95a1.734 1.734 0 0 0 0 1.75 1.734 1.734 0 0 0 1.515.875h41.078a1.733 1.733 0 0 0 1.516-.875 1.734 1.734 0 0 0 0-1.75L34.311 12.375a1.733 1.733 0 0 0-1.516-.875Z"/></svg>';
|
|
8
|
-
const alertWarning = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="m57.016 46.699-20.54-35.574A4.205 4.205 0 0 0 32.796 9a4.208 4.208 0 0 0-3.68 2.125L8.576 46.699a4.251 4.251 0 0 0 3.681 6.375h41.078a4.25 4.25 0 0 0 3.681-6.375Zm-22.72-1.78h-3V41.59h3Zm0-7.761h-3v-14h3Z"/></svg>';
|
|
9
5
|
const checkWide = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="m25.59 39.75-8.34-8.34-2.84 2.82 11.18 11.18 24-24-2.82-2.82Z"/></svg>';
|
|
10
6
|
const licensePlateStarEu = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="m22.457 49.187-.774-2.406-.773 2.406h-2.523l2.013 1.489-.774 2.406 2.038-1.482 2.046 1.474-.773-2.407 2.042-1.481ZM19.66 17.173l2.058-1.493 2.042 1.481-.773-2.406 2.042-1.482h-2.522l-.774-2.406-.773 2.406-2.569.012 2.043 1.482Zm-5.66.99-.774 2.406H10.7l2.023 1.482-.774 2.406L14 22.975l2.027 1.466-.774-2.406 2.047-1.466h-2.529ZM32.743 52.1l-.774-2.406-.774 2.406H28.65l2.043 1.482-.774 2.406 2.042-1.488L34 55.984l-.774-2.406 2.047-1.478Zm-2.735-37.79 2.042-1.481 2.043 1.481-.774-2.41 2.043-1.481h-2.523l-.773-2.407-.774 2.407h-2.553l2.042 1.481ZM14.647 41.644l-.774-2.406-.773 2.406h-2.523l2.043 1.481-.774 2.406 2.043-1.481 2.042 1.481-.8-2.406 2.043-1.481Zm-3.613-8.139 2.042 1.481-.776-2.406 2.045-1.48h-2.514l-.774-2.406-.774 2.406H7.761l2 1.481-.774 2.406Zm37.004-8.982 2.039-1.49 2.042 1.482-.774-2.406 2.043-1.482h-2.522l-.774-2.406-.774 2.406-2.549.008 2.043 1.481Zm2.828 17.194-.774-2.406-.774 2.406H46.8l2.039 1.483-.774 2.4 2.043-1.482L52.15 45.6l-.785-2.4 2.042-1.482Zm5.373-10.529h-2.522l-.774-2.406-.774 2.406h-2.522l2.043 1.481-.774 2.406 2.043-1.481L55 35.075l-.8-2.406ZM42.367 10.9l-.774 2.407h-2.522l2.047 1.493-.774 2.4 2.042-1.482 2.043 1.482-.774-2.406 2.062-1.489h-2.576Zm.642 38.329-.773-2.406-.774 2.406h-2.5L41 50.711l-.774 2.406 2.042-1.481 2.043 1.481-.824-2.406 2.042-1.482Z"/></svg>';
|
|
11
7
|
const navigationAddLess = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M14.706 31.135h35.355v2.5H14.706z"/></svg>';
|
|
@@ -15,4 +11,4 @@ const navigationClose = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path
|
|
|
15
11
|
const starHalfColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M32 47.425V6.5l7.514 17.755 19.17 1.637L44.152 38.61l4.384 18.89Z"/><path d="M32 47.425 15.461 57.5l4.387-18.89L5.316 25.892l19.165-1.637L32 6.5Z" fill="var(--warning, rgb(252, 183, 49))"/></svg>';
|
|
16
12
|
const star = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64"><path d="M32 47.425V6.5l7.514 17.755 19.17 1.637L44.152 38.61l4.384 18.89Zm0 0L15.461 57.5l4.387-18.89L5.316 25.892l19.165-1.637L32 6.5Z"/></svg>';
|
|
17
13
|
|
|
18
|
-
export { navigationClose as a, navigationAddLess as b, checkWide as c, alertInfoOutline as d, alertDangerOutline as e, alertWarningOutline as f, alertSuccessOutline as g, navigationAddMore as h, starHalfColor as i,
|
|
14
|
+
export { navigationClose as a, navigationAddLess as b, checkWide as c, alertInfoOutline as d, alertDangerOutline as e, alertWarningOutline as f, alertSuccessOutline as g, navigationAddMore as h, starHalfColor as i, licensePlateStarEu as l, navigationChevron as n, star as s };
|
package/dist/esm/loader.js
CHANGED
|
@@ -25,7 +25,7 @@ const patchEsm = () => {
|
|
|
25
25
|
const defineCustomElements = (win, options) => {
|
|
26
26
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
27
27
|
return patchEsm().then(() => {
|
|
28
|
-
return bootstrapLazy([["road-badge_14",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[2],"max":[2],"step":[1],"value":[2],"size":[1],"dustbin":[4],"leftIconClasses":[32],"rightIconClasses":[32],"isDustbinVisible":[32]}],[1,"road-item",{"button":[4],"detail":[4],"active":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"target":[1],"type":[1],"multipleInputs":[32]}],[1,"road-badge",{"color":[1],"bubble":[4]}],[1,"road-list",{"lines":[1]}],[1,"road-toolbar",{"color":[1]}],[33,"road-drawer",{"isOpen":[1028,"is-open"],"position":[1],"drawerWidth":[2,"drawer-width"],"hasInverseHeader":[4,"has-inverse-header"],"hasBackIcon":[4,"has-back-icon"],"backText":[1,"back-text"],"drawerTitle":[1,"drawer-title"],"hasCloseIcon":[4,"has-close-icon"],"open":[64],"close":[64],"back":[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[6,"road-input",{"inputId":[1,"input-id"],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"sizes":[1],"type":[1],"value":[1032],"label":[1],"error":[1],"helper":[1],"debounce":[2]}],[1,"road-row"],[1,"road-button",{"color":[1],"size":[513],"buttonType":[1,"button-type"],"disabled":[516],"expand":[516],"download":[1],"href":[1],"rel":[1],"target":[1],"outline":[4]}],[1,"road-input-group"],[1,"road-label"],[1,"road-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"name":[1],"src":[1],"icon":[8],"size":[1],"rotate":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["road-duration",[[1,"road-duration",{"isOpen":[1028,"is-open"],"header":[1],"min":[2],"max":[2],"step":[2],"open":[64],"close":[64]},[[0,"roadcardclick","handleClick"]]]]],["road-plate-number",[[2,"road-plate-number",{"country":[1],"disabled":[4],"placeholder":[1],"readonly":[4],"value":[1032],"motorbike":[4]}]]],["road-profil-dropdown",[[1,"road-profil-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-accordion",[[1,"road-accordion",{"isOpen":[1028,"is-open"],"isLight":[4,"is-light"],"isLightSeparator":[4,"is-light-separator"],"isSmall":[4,"is-small"]}]]],["road-banner",[[1,"road-banner",{"isOpen":[1028,"is-open"],"label":[1],"link":[1],"url":[1],"close":[64]}]]],["road-carousel",[[1,"road-carousel",{"options":[8],"pager":[4],"arrows":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["road-checkbox",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"indeterminate":[4],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1],"helper":[1]}]]],["road-chip",[[1,"road-chip",{"color":[1],"outline":[4],"size":[1],"hasCloseIcon":[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{"isOpen":[1028,"is-open"],"showMore":[1,"show-more"],"showLess":[1,"show-less"],"centered":[4]}]]],["road-dialog",[[1,"road-dialog",{"isOpen":[1028,"is-open"],"hasCloseIcon":[4,"has-close-icon"],"color":[1],"icon":[1],"label":[1],"description":[1],"open":[64],"close":[64]},[[4,"keyup","onEscape"]]]]],["road-dropdown",[[1,"road-dropdown",{"isOpen":[1028,"is-open"],"isLight":[4,"is-light"],"position":[513],"direction":[513]}]]],["road-modal",[[1,"road-modal",{"maxWidth":[2,"max-width"],"isOpen":[1028,"is-open"],"hasInverseHeader":[4,"has-inverse-header"],"modalTitle":[1,"modal-title"],"hasCloseIcon":[4,"has-close-icon"],"open":[64],"close":[64]},[[4,"keyup","onEscape"]]]]],["road-range",[[6,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"],"showTick":[4,"show-tick"],"showLabels":[4,"show-labels"]}]]],["road-rating",[[1,"road-rating",{"size":[513],"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"open":[64],"close":[64]}]]],["road-alert",[[1,"road-alert",{"color":[1],"label":[1],"link":[1],"url":[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-flap",[[1,"road-flap",{"color":[1],"size":[513]}]]],["road-global-navigation",[[1,"road-global-navigation",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-img",[[1,"road-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["road-navbar",[[1,"road-navbar",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{"value":[2],"numbersteps":[1],"label":[1],"showstep":[4],"fullwidth":[4],"color":[1]}]]],["road-radio",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"helper":[1],"inline":[4],"checked":[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["road-radio-group",[[6,"road-radio-group",{"radioGroupId":[1,"radio-group-id"],"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032],"label":[1],"asterisk":[4],"ariaLabel":[513,"aria-label"],"error":[1025],"helper":[1]}]]],["road-segmented-button",[[1,"road-segmented-button",{"size":[1],"selected":[1028],"tab":[1]},[[8,"roadSegmentedButtonBarChanged","onButtonBarChanged"],[8,"roadSegmentedButtonbarchanged","onButtonBarChanged"]]]]],["road-segmented-button-bar",[[1,"road-segmented-button-bar",{"selectedTab":[1,"selected-tab"]}]]],["road-segmented-buttons",[[1,"road-segmented-buttons",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-select",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"sizes":[1],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter",[[6,"road-select-filter",{"options":[16],"parameters":[8],"isActive":[4,"is-active"],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadBlur","handleBlur"],[0,"roadblur","handleBlur"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner",{"size":[513],"color":[513]}]]],["road-stepper",[[1,"road-stepper",{"color":[513],"light":[4],"outline":[4],"stateFirstStep":[1,"state-first-step"],"stateSecondStep":[1,"state-second-step"],"stateThirdStep":[1,"state-third-step"]}]]],["road-switch",[[2,"road-switch",{"switchId":[1,"switch-id"],"name":[1],"checked":[1028],"disabled":[4],"label":[1],"color":[1],"hasLeftLabel":[4,"has-left-label"],"isSpaced":[4,"is-spaced"],"value":[1],"on":[1],"off":[1]}]]],["road-tab",[[1,"road-tab",{"active":[1028],"tab":[1],"setActive":[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{"secondary":[4],"expand":[4],"center":[4],"selectedTab":[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{"download":[1],"href":[1],"rel":[1],"layout":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-text",[[1,"road-text",{"color":[1]}]]],["road-textarea",[[2,"road-textarea",{"textareaId":[1,"textarea-id"],"autocapitalize":[1],"autofocus":[4],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"sizes":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1],"helper":[1]}]]],["road-toggle",[[2,"road-toggle",{"toggleId":[1,"toggle-id"],"name":[1],"checked":[1028],"disabled":[4],"label":[1],"color":[1],"hasLeftLabel":[4,"has-left-label"],"isSpaced":[4,"is-spaced"],"value":[1],"on":[1],"off":[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-toolbar-title-page",[[1,"road-toolbar-title-page"]]],["road-tooltip",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"contentAlign":[1,"content-align"],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-vertical-stepper",[[1,"road-vertical-stepper"]]],["road-vertical-stepper-item",[[4,"road-vertical-stepper-item"]]],["road-avatar",[[1,"road-avatar",{"size":[513]}]]],["road-card",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]]], options);
|
|
28
|
+
return bootstrapLazy([["road-badge_14",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[2],"max":[2],"step":[1],"value":[2],"size":[1],"dustbin":[4],"leftIconClasses":[32],"rightIconClasses":[32],"isDustbinVisible":[32]}],[1,"road-item",{"button":[4],"detail":[4],"active":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"target":[1],"type":[1],"multipleInputs":[32]}],[1,"road-badge",{"color":[1],"bubble":[4]}],[1,"road-list",{"lines":[1]}],[1,"road-toolbar",{"color":[1]}],[33,"road-drawer",{"isOpen":[1028,"is-open"],"position":[1],"drawerWidth":[2,"drawer-width"],"hasInverseHeader":[4,"has-inverse-header"],"hasBackIcon":[4,"has-back-icon"],"backText":[1,"back-text"],"drawerTitle":[1,"drawer-title"],"hasCloseIcon":[4,"has-close-icon"],"open":[64],"close":[64],"back":[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[6,"road-input",{"inputId":[1,"input-id"],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"sizes":[1],"type":[1],"value":[1032],"label":[1],"error":[1],"helper":[1],"debounce":[2]}],[1,"road-row"],[1,"road-button",{"color":[1],"size":[513],"buttonType":[1,"button-type"],"disabled":[516],"expand":[516],"download":[1],"href":[1],"rel":[1],"target":[1],"outline":[4]}],[1,"road-input-group"],[1,"road-label"],[1,"road-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"name":[1],"src":[1],"icon":[8],"size":[1],"rotate":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["road-duration",[[1,"road-duration",{"isOpen":[1028,"is-open"],"header":[1],"min":[2],"max":[2],"step":[2],"open":[64],"close":[64]},[[0,"roadcardclick","handleClick"]]]]],["road-plate-number",[[2,"road-plate-number",{"country":[1],"disabled":[4],"placeholder":[1],"readonly":[4],"value":[1032],"motorbike":[4]}]]],["road-profil-dropdown",[[1,"road-profil-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-accordion",[[1,"road-accordion",{"isOpen":[1028,"is-open"],"isLight":[4,"is-light"],"isLightSeparator":[4,"is-light-separator"],"isSmall":[4,"is-small"]}]]],["road-banner",[[1,"road-banner",{"isOpen":[1028,"is-open"],"label":[1],"link":[1],"url":[1],"close":[64]}]]],["road-carousel",[[1,"road-carousel",{"options":[8],"pager":[4],"arrows":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["road-checkbox",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"indeterminate":[4],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1],"helper":[1]}]]],["road-chip",[[1,"road-chip",{"color":[1],"outline":[4],"size":[1],"hasCloseIcon":[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{"isOpen":[1028,"is-open"],"showMore":[1,"show-more"],"showLess":[1,"show-less"],"centered":[4]}]]],["road-dialog",[[1,"road-dialog",{"isOpen":[1028,"is-open"],"hasCloseIcon":[4,"has-close-icon"],"color":[1],"icon":[1],"label":[1],"description":[1],"open":[64],"close":[64]},[[4,"keyup","onEscape"]]]]],["road-dropdown",[[1,"road-dropdown",{"isOpen":[1028,"is-open"],"isLight":[4,"is-light"],"position":[513],"direction":[513]}]]],["road-modal",[[1,"road-modal",{"maxWidth":[2,"max-width"],"isOpen":[1028,"is-open"],"hasInverseHeader":[4,"has-inverse-header"],"modalTitle":[1,"modal-title"],"hasCloseIcon":[4,"has-close-icon"],"open":[64],"close":[64]},[[4,"keyup","onEscape"]]]]],["road-range",[[6,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"],"showTick":[4,"show-tick"],"showLabels":[4,"show-labels"]}]]],["road-rating",[[1,"road-rating",{"size":[513],"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"open":[64],"close":[64]}]]],["road-alert",[[1,"road-alert",{"color":[1],"label":[1],"link":[1],"url":[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-flap",[[1,"road-flap",{"color":[1],"size":[513]}]]],["road-global-navigation",[[1,"road-global-navigation",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-img",[[1,"road-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["road-navbar",[[1,"road-navbar",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{"value":[2],"numbersteps":[1],"label":[1],"showstep":[4],"animation":[4],"light":[4],"fullwidth":[4],"color":[1]}]]],["road-radio",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"helper":[1],"inline":[4],"checked":[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["road-radio-group",[[6,"road-radio-group",{"radioGroupId":[1,"radio-group-id"],"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032],"label":[1],"asterisk":[4],"ariaLabel":[513,"aria-label"],"error":[1025],"helper":[1]}]]],["road-segmented-button",[[1,"road-segmented-button",{"size":[1],"selected":[1028],"tab":[1]},[[8,"roadSegmentedButtonBarChanged","onButtonBarChanged"],[8,"roadSegmentedButtonbarchanged","onButtonBarChanged"]]]]],["road-segmented-button-bar",[[1,"road-segmented-button-bar",{"selectedTab":[1,"selected-tab"]}]]],["road-segmented-buttons",[[1,"road-segmented-buttons",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-select",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"sizes":[1],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter",[[6,"road-select-filter",{"options":[16],"parameters":[8],"isActive":[4,"is-active"],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadBlur","handleBlur"],[0,"roadblur","handleBlur"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner",{"size":[513],"color":[513]}]]],["road-stepper",[[1,"road-stepper",{"color":[513],"light":[4],"outline":[4],"stateFirstStep":[1,"state-first-step"],"stateSecondStep":[1,"state-second-step"],"stateThirdStep":[1,"state-third-step"]}]]],["road-switch",[[2,"road-switch",{"switchId":[1,"switch-id"],"name":[1],"checked":[1028],"disabled":[4],"label":[1],"color":[1],"hasLeftLabel":[4,"has-left-label"],"isSpaced":[4,"is-spaced"],"value":[1],"on":[1],"off":[1]}]]],["road-tab",[[1,"road-tab",{"active":[1028],"tab":[1],"setActive":[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{"secondary":[4],"expand":[4],"center":[4],"selectedTab":[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{"download":[1],"href":[1],"rel":[1],"layout":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-text",[[1,"road-text",{"color":[1]}]]],["road-textarea",[[2,"road-textarea",{"textareaId":[1,"textarea-id"],"autocapitalize":[1],"autofocus":[4],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"sizes":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1],"helper":[1]}]]],["road-toggle",[[2,"road-toggle",{"toggleId":[1,"toggle-id"],"name":[1],"checked":[1028],"disabled":[4],"label":[1],"color":[1],"hasLeftLabel":[4,"has-left-label"],"isSpaced":[4,"is-spaced"],"value":[1],"on":[1],"off":[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-toolbar-title-page",[[1,"road-toolbar-title-page"]]],["road-tooltip",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"contentAlign":[1,"content-align"],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-vertical-stepper",[[1,"road-vertical-stepper"]]],["road-vertical-stepper-item",[[4,"road-vertical-stepper-item"]]],["road-avatar",[[1,"road-avatar",{"size":[513]}]]],["road-card",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]]], options);
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-a99a5e7b.js';
|
|
2
|
-
import { n as navigationChevron } from './index-
|
|
2
|
+
import { n as navigationChevron } from './index-5d7ae00a.js';
|
|
3
3
|
import './polyfill-2b159e86.js';
|
|
4
4
|
|
|
5
5
|
const accordionCss = ":host{--accordion-header-border:1px;--content-margin:0 1rem 0.75rem;--content-padding:0.75rem 0 0;--header-padding:0.75rem 1rem;--icon-color:var(--road-icon);--max-height:none;display:block;margin-bottom:1rem}.accordion{--max-height:none;overflow:hidden;font-family:var(--road-font, sans-serif);font-size:var(--road-body-small);line-height:1.5;color:var(--road-on-surface);background:var(--road-surface);border:1px solid;border-color:var(--road-outline-weak);border-radius:0.25rem;transition:max-height 0.3s ease-in-out}.accordion.accordion-light{border:0}.accordion[open]{max-height:var(--max-height)}.accordion[open] .accordion-arrow{transform:rotate(-90deg)}.accordion[open] .accordion-content{padding:var(--content-padding);margin:var(--content-margin)}.accordion-light[open] .accordion-light-content{padding:0.75rem 0;margin:0 1rem 0.75rem}.accordion-light[open] .accordion-light-header::after{display:none}.accordion-trigger{box-sizing:border-box;display:block;border:1px solid transparent;border-radius:0.25rem;outline:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.accordion-trigger::-webkit-details-marker{display:none}.accordion-trigger.focus-visible{border-color:var(--road-primary)}.accordion-trigger:active{background:var(--road-surface-inverse)}.accordion-header{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;padding:var(--header-padding);font-size:var(--road-body-medium);font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.accordion-light-header{position:relative;font-size:var(--road-body-large)}.accordion-light--small .accordion-light-header{font-size:var(--road-body-medium)}.accordion-light--border .accordion-light-header::after{position:absolute;bottom:1px;width:98.3%;height:1px;content:\"\";background:var(--road-outline-weak)}.accordion-arrow{margin-left:auto;color:var(--icon-color);transform:rotate(90deg)}.accordion-light--small .accordion-arrow{width:1.5rem;height:1.5rem}::slotted([slot=\"header\"]){display:flex;align-items:center}:host(.accordion-icon-left){width:1.5rem;height:1.5rem;margin-right:1rem}.accordion-content{padding:0 0.5rem;margin:0 1rem;overflow:hidden;font-size:var(--road-body-medium);border-top:var(--accordion-header-border) solid var(--road-outline-weak)}.accordion-light-content{border-top:1px solid var(--road-outline-weak)}.accordion-light--border .accordion-light-content{border-top:1px solid var(--road-outline-weak);border-bottom:1px solid var(--road-outline-weak)}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent, e as getElement } from './index-a99a5e7b.js';
|
|
2
2
|
import './polyfill-2b159e86.js';
|
|
3
|
-
import { n as navigationChevron, a as navigationClose } from './index-
|
|
3
|
+
import { n as navigationChevron, a as navigationClose } from './index-5d7ae00a.js';
|
|
4
4
|
import { i as isStr, g as getUrl, b as getName } from './utils-0ec32b47.js';
|
|
5
5
|
|
|
6
6
|
const badgeCss = ":host{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;min-height:1rem;padding:0 0.3125rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-10);font-weight:700;white-space:nowrap;border-radius:1rem}:host(.badge-bubble){min-width:0.25rem;min-height:0.25rem;padding:0}:host(.badge-primary){color:var(--road-on-primary);background-color:var(--road-primary)}:host(.badge-secondary){color:var(--road-on-secondary);background-color:var(--road-secondary)}:host(.badge-accent){color:var(--road-on-warning-surface-inverse);background-color:var(--road-warning-surface-inverse)}:host(.badge-info){color:var(--road-on-info-surface-inverse);background-color:var(--road-info-surface-inverse)}:host(.badge-success){color:var(--road-on-success-surface-inverse);background-color:var(--road-success-surface-inverse)}:host(.badge-warning){color:var(--road-on-warning-surface-inverse);background-color:var(--road-warning-surface-inverse)}:host(.badge-danger){color:var(--road-on-danger-surface-inverse);background-color:var(--road-danger-surface-inverse)}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a99a5e7b.js';
|
|
2
|
-
import { a as navigationClose } from './index-
|
|
2
|
+
import { a as navigationClose } from './index-5d7ae00a.js';
|
|
3
3
|
|
|
4
4
|
const bannerCss = ":host{display:none}:host(.banner-open){position:relative;display:block;padding:1rem 2rem;font-size:var(--road-body-medium);text-align:center;background-color:var(--road-decorative-surface)}.banner-close{position:absolute;top:0;right:0;padding:0.25rem;color:currentColor;cursor:pointer;background:none;border:0}.banner-close road-icon{color:currentColor}.banner-open-label{font-weight:700}.banner-open-link{display:block;margin:0.25rem 0.75rem;font-size:var(--road-font-size-14);color:currentColor}@media (min-width: 992px){.banner-close{right:0.25rem;bottom:0}.banner-open-link{display:initial}}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a99a5e7b.js';
|
|
2
|
-
import { c as checkWide, b as navigationAddLess } from './index-
|
|
2
|
+
import { c as checkWide, b as navigationAddLess } from './index-5d7ae00a.js';
|
|
3
3
|
import './polyfill-2b159e86.js';
|
|
4
4
|
|
|
5
5
|
const checkboxCss = ".sc-road-checkbox-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-16);line-height:1.5;color:var(--road-on-surface)}.form-check-input.sc-road-checkbox{position:absolute;z-index:-1;opacity:0}.form-check-label.sc-road-checkbox{position:relative;display:inline-flex;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-check-label.sc-road-checkbox::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;transition:border 0.2s ease-in-out, background 0.2s ease-in-out}.form-check-icon.sc-road-checkbox{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:1.25rem;height:1.25rem;color:var(--road-primary-contrast);opacity:0;transition:opacity 0.2s ease-in-out}@media (hover: hover){.form-check-input.sc-road-checkbox:not(:disabled)~.form-check-label.sc-road-checkbox:hover::before{border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:not(:disabled):checked~.form-check-label.sc-road-checkbox:hover::before,.form-check-input.sc-road-checkbox:not(:disabled):indeterminate~.form-check-label.sc-road-checkbox:hover::before{background:var(--road-input-surface-variant)}}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{opacity:1}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface);border-color:var(--road-input-surface)}.form-check-input.focus-visible.sc-road-checkbox~.form-check-label.sc-road-checkbox::before{box-shadow:0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700)}.form-check-input.focus-visible.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.focus-visible.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface-variant);border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox{cursor:not-allowed}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox::before,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox::before{background:var(--road-surface-disabled);border:none}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{fill:var(--road-on-surface-disabled)}.invalid-feedback.sc-road-checkbox{display:none;flex:0 0 100%;width:100%;margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-danger-default)}.form-check-input.is-invalid.sc-road-checkbox~.form-check-label.sc-road-checkbox::before,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.form-check-label.sc-road-checkbox::before{border-color:var(--road-danger-outline)}.form-check-input.is-invalid.sc-road-checkbox~.invalid-feedback.sc-road-checkbox,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.invalid-feedback.sc-road-checkbox{display:block}.form-checkbox-inverse.sc-road-checkbox{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-checkbox-inverse.sc-road-checkbox::before{margin:0 0 0 1rem}.form-checkbox-inverse.sc-road-checkbox .form-check-icon.sc-road-checkbox{right:0;left:auto}.helper.sc-road-checkbox{margin-top:0.5rem;font-size:0.75rem;color:var(--road-grey-500)}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a99a5e7b.js';
|
|
2
|
-
import { a as navigationClose } from './index-
|
|
2
|
+
import { a as navigationClose } from './index-5d7ae00a.js';
|
|
3
3
|
import './polyfill-2b159e86.js';
|
|
4
4
|
|
|
5
5
|
const chipCss = ":host{box-sizing:border-box;display:inline-flex;align-items:center;height:1.5rem;padding:0.25rem 0.5rem;margin-bottom:0.5rem;font-size:var(--road-font-size-14);cursor:pointer;border:0;border-radius:1.625rem;outline:0;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}.chip-description{display:inline-flex;align-items:center;padding:0 0.5rem}:host(.chip-outline){border-style:solid;border-width:1px}::slotted(road-icon){width:1.25rem;height:1.25rem;margin-right:0.5rem;margin-left:-0.5rem}.chip-close{width:1rem;height:1rem;margin-right:-0.25rem;color:var(--road-surface);background:var(--road-on-surface-weak);border-radius:50%;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(.chip-lg){height:2.5rem;padding:0 0.75rem;font-size:var(--road-font-size-16)}:host(.chip-lg) ::slotted(road-icon){width:1.5rem;height:1.5rem;margin-right:0.75rem;margin-left:-0.75rem}:host(.chip-lg) .chip-description{padding:0 0.75rem}:host(.chip-lg) .chip-close{width:1.5rem;height:1.5rem}:host(.chip-default){color:var(--road-on-surface);background:var(--road-grey-200)}:host(.chip-outline.chip-default){background:var(--road-surface);border-color:var(--road-outline)}:host(.chip-secondary){color:var(--road-surface-inverse);background:var(--road-button-primary);border-color:transparent}:host(.chip-secondary) .chip-close{color:var(--road-primary);background:var(--road-surface)}@media (any-hover: hover){:host(.chip-outline:hover){border-color:var(--road-outline-variant)}:host(.chip-secondary:hover){background:var(--road-button-primary-variant)}:host(.chip-secondary:hover) .chip-close{color:var(--road-primary)}}:host(.chip-outline:hover){border-color:var(--road-outline-variant)}:host(.chip-secondary.focus-visible){background:var(--road-button-primary-variant)}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-a99a5e7b.js';
|
|
2
|
-
import { a as navigationClose, d as alertInfoOutline, e as alertDangerOutline, f as alertWarningOutline, g as alertSuccessOutline } from './index-
|
|
2
|
+
import { a as navigationClose, d as alertInfoOutline, e as alertDangerOutline, f as alertWarningOutline, g as alertSuccessOutline } from './index-5d7ae00a.js';
|
|
3
3
|
|
|
4
4
|
const dialogCss = ":host{--z-index:3;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--road-on-surface);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.dialog-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;background:var(--road-overlay)}:host(.dialog-has-close) .dialog-overlay{cursor:pointer}.dialog-modal{position:relative;width:auto;margin:1rem;pointer-events:none;transition:transform 0.3s ease-out;transform:translateY(50px)}:host(.dialog-open){visibility:visible !important;opacity:1}:host(.dialog-open) .dialog-modal{transform:none}.dialog-content{position:relative;display:flex;flex-direction:column;width:100%;padding:0 0 1.5rem;pointer-events:auto;background:var(--road-surface);background-clip:padding-box;border-radius:0.25rem;outline:0;box-shadow:var(--road-elevation-highest)}@media (min-width: 576px){.dialog-content{max-width:454px}}.dialog-header{display:flex;align-items:center;justify-content:flex-end;height:2.75rem;margin-bottom:1.5rem}.dialog-close{display:flex;align-items:center;align-self:flex-start;justify-content:center;width:3.5rem;height:3.5rem;padding:0;color:inherit;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.dialog-icon{display:inline-block;width:3rem;height:3rem;font-size:var(--road-font-size-48)}.dialog-body{padding:0 1.5rem;text-align:center}@media (min-width: 768px){.dialog-body{padding:0 3rem}}.dialog-title{padding:0;margin:0 0 1rem;font-size:var(--road-body-medium);font-weight:700;line-height:1.2}.dialog-description{margin:0 0 0.5rem;font-size:var(--road-body-medium)}.dialog-footer{display:flex;justify-content:center;padding:0 1.5rem}.dialog-footer ::slotted(road-button){margin-top:1rem}.dialog-footer .btn{min-width:130px;max-width:calc(50% - 0.5rem)}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-a99a5e7b.js';
|
|
2
|
-
import { a as navigationClose } from './index-
|
|
2
|
+
import { a as navigationClose } from './index-5d7ae00a.js';
|
|
3
3
|
|
|
4
4
|
const modalCss = ":host{--z-index:3;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--road-grey-900);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.modal-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay)}.modal-dialog{position:relative;width:100%;pointer-events:none;transition:transform 0.3s ease-out;transform:translateY(50px)}:host(.modal-open){visibility:visible !important;opacity:1}:host(.modal-open) .modal-dialog{transform:none}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;pointer-events:auto;background:var(--road-surface);background-clip:padding-box;box-shadow:var(--road-elevation-hight)}@media (min-width: 768px){.modal-content{height:auto;border-radius:0.25rem}}.modal-header{display:flex;align-items:center;justify-content:flex-end;color:var(--road-on-header-surface);background:var(--road-header-surface)}.modal-header road-icon{color:var(--road-header-icon)}@media (min-width: 768px){.modal-header{border-radius:0.25rem 0.25rem 0 0}}.modal-header-inverse{color:var(--road-on-surface);background:none}.modal-header-inverse road-icon{color:var(--road-icon)}.modal-action,.modal-close{display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;padding:0;font-weight:700;color:inherit;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.modal-action~.modal-title,.modal-close~.modal-title{padding-left:0}.modal-action-left,.modal-close-left{margin-right:auto}.modal-title{display:flex;flex-grow:1;align-items:center;justify-content:center;height:3.5rem;padding-left:3.5rem;margin:0;font-size:var(--road-body-medium);font-weight:400}.modal-body{padding:2.5rem 0.5rem;overflow-y:auto}.modal-header-inverse+.modal-body{padding-top:0}@media (min-width: 768px){.modal-body{max-height:86vh;padding-right:5rem;padding-left:5rem}}";
|
|
5
5
|
|