@kyndryl-design-system/shidoka-applications 1.1.22 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/global/footer/footer.scss.js +21 -1
- package/components/global/footer/footer.scss.js.map +1 -1
- package/components/global/header/header.scss.js +21 -1
- package/components/global/header/header.scss.js.map +1 -1
- package/components/global/header/headerAvatar.scss.js +21 -1
- package/components/global/header/headerAvatar.scss.js.map +1 -1
- package/components/global/header/headerFlyout.scss.js +23 -3
- package/components/global/header/headerFlyout.scss.js.map +1 -1
- package/components/global/header/headerLink.scss.js +23 -3
- package/components/global/header/headerLink.scss.js.map +1 -1
- package/components/global/header/headerPanel.scss.js +21 -1
- package/components/global/header/headerPanel.scss.js.map +1 -1
- package/components/global/header/headerPanelLink.scss.js +21 -1
- package/components/global/header/headerPanelLink.scss.js.map +1 -1
- package/components/global/localNav/localNav.scss.js +21 -1
- package/components/global/localNav/localNav.scss.js.map +1 -1
- package/components/reusable/breadcrumbs/breadcrumbs.scss.js +21 -1
- package/components/reusable/breadcrumbs/breadcrumbs.scss.js.map +1 -1
- package/components/reusable/checkbox/checkboxGroup.scss.js +24 -1
- package/components/reusable/checkbox/checkboxGroup.scss.js.map +1 -1
- package/components/reusable/datePicker/datepicker.scss.js +24 -2
- package/components/reusable/datePicker/datepicker.scss.js.map +1 -1
- package/components/reusable/daterangepicker/daterangepicker.scss.js +24 -2
- package/components/reusable/daterangepicker/daterangepicker.scss.js.map +1 -1
- package/components/reusable/dropdown/dropdown.scss.js +24 -2
- package/components/reusable/dropdown/dropdown.scss.js.map +1 -1
- package/components/reusable/modal/index.d.ts +2 -0
- package/components/reusable/modal/index.d.ts.map +1 -0
- package/components/reusable/modal/index.js +2 -0
- package/components/reusable/modal/index.js.map +1 -0
- package/components/reusable/modal/modal.d.ts +42 -0
- package/components/reusable/modal/modal.d.ts.map +1 -0
- package/components/reusable/modal/modal.js +52 -0
- package/components/reusable/modal/modal.js.map +1 -0
- package/components/reusable/modal/modal.scss.js +195 -0
- package/components/reusable/modal/modal.scss.js.map +1 -0
- package/components/reusable/overflowMenu/overflowMenuItem.scss.js +21 -1
- package/components/reusable/overflowMenu/overflowMenuItem.scss.js.map +1 -1
- package/components/reusable/pagination/pagination-items-range.scss.js +23 -3
- package/components/reusable/pagination/pagination-items-range.scss.js.map +1 -1
- package/components/reusable/pagination/pagination-navigation-buttons.scss.js +23 -3
- package/components/reusable/pagination/pagination-navigation-buttons.scss.js.map +1 -1
- package/components/reusable/pagination/pagination-page-size-dropdown.scss.js +23 -3
- package/components/reusable/pagination/pagination-page-size-dropdown.scss.js.map +1 -1
- package/components/reusable/pagination/pagination.scss.js +21 -1
- package/components/reusable/pagination/pagination.scss.js.map +1 -1
- package/components/reusable/radioButton/radioButtonGroup.scss.js +24 -1
- package/components/reusable/radioButton/radioButtonGroup.scss.js.map +1 -1
- package/components/reusable/table/table-cell.scss.js +21 -1
- package/components/reusable/table/table-cell.scss.js.map +1 -1
- package/components/reusable/table/table-header.scss.js +21 -1
- package/components/reusable/table/table-header.scss.js.map +1 -1
- package/components/reusable/table/table-toolbar.scss.js +21 -1
- package/components/reusable/table/table-toolbar.scss.js.map +1 -1
- package/components/reusable/textArea/textArea.scss.js +24 -2
- package/components/reusable/textArea/textArea.scss.js.map +1 -1
- package/components/reusable/textInput/textInput.scss.js +24 -2
- package/components/reusable/textInput/textInput.scss.js.map +1 -1
- package/components/reusable/timepicker/timepicker.scss.js +24 -2
- package/components/reusable/timepicker/timepicker.scss.js.map +1 -1
- package/components/reusable/toggleButton/toggleButton.scss.js +26 -4
- package/components/reusable/toggleButton/toggleButton.scss.js.map +1 -1
- package/components/reusable/tooltip/index.d.ts +2 -0
- package/components/reusable/tooltip/index.d.ts.map +1 -0
- package/components/reusable/tooltip/index.js +2 -0
- package/components/reusable/tooltip/index.js.map +1 -0
- package/components/reusable/tooltip/tooltip.d.ts +29 -0
- package/components/reusable/tooltip/tooltip.d.ts.map +1 -0
- package/components/reusable/tooltip/tooltip.js +22 -0
- package/components/reusable/tooltip/tooltip.js.map +1 -0
- package/components/reusable/tooltip/tooltip.scss.js +260 -0
- package/components/reusable/tooltip/tooltip.scss.js.map +1 -0
- package/external/@carbon/icons/es/close/32.js +2 -0
- package/external/@carbon/icons/es/close/32.js.map +1 -0
- package/external/@carbon/icons/es/information/20.js +2 -0
- package/external/@carbon/icons/es/information/20.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"footer.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -101,7 +101,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:root {
|
|
104
|
-
--kd-
|
|
104
|
+
--kd-current-breakpoint: sm;
|
|
105
|
+
}
|
|
106
|
+
@media (min-width: 42rem) {
|
|
107
|
+
:root {
|
|
108
|
+
--kd-current-breakpoint: md;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
@media (min-width: 74rem) {
|
|
112
|
+
:root {
|
|
113
|
+
--kd-current-breakpoint: lg;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (min-width: 82rem) {
|
|
117
|
+
:root {
|
|
118
|
+
--kd-current-breakpoint: xl;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 99rem) {
|
|
122
|
+
:root {
|
|
123
|
+
--kd-current-breakpoint: max;
|
|
124
|
+
}
|
|
105
125
|
}
|
|
106
126
|
|
|
107
127
|
:host {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"header.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerAvatar.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headerAvatar.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import'./../../../external/@lit/reactive-element/reactive-element.js';import'./../../../external/lit-html/lit-html.js';import'./../../../external/lit-element/lit-element.js';import{css as e}from'./../../../external/@lit/reactive-element/css-tag.js';var
|
|
1
|
+
import'./../../../external/@lit/reactive-element/reactive-element.js';import'./../../../external/lit-html/lit-html.js';import'./../../../external/lit-element/lit-element.js';import{css as e}from'./../../../external/@lit/reactive-element/css-tag.js';var r=e`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -101,7 +101,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:root {
|
|
104
|
-
--kd-
|
|
104
|
+
--kd-current-breakpoint: sm;
|
|
105
|
+
}
|
|
106
|
+
@media (min-width: 42rem) {
|
|
107
|
+
:root {
|
|
108
|
+
--kd-current-breakpoint: md;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
@media (min-width: 74rem) {
|
|
112
|
+
:root {
|
|
113
|
+
--kd-current-breakpoint: lg;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (min-width: 82rem) {
|
|
117
|
+
:root {
|
|
118
|
+
--kd-current-breakpoint: xl;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 99rem) {
|
|
122
|
+
:root {
|
|
123
|
+
--kd-current-breakpoint: max;
|
|
124
|
+
}
|
|
105
125
|
}
|
|
106
126
|
|
|
107
127
|
:host {
|
|
@@ -180,5 +200,5 @@ kd-icon {
|
|
|
180
200
|
}
|
|
181
201
|
.open kd-icon {
|
|
182
202
|
transform: rotate(-180deg);
|
|
183
|
-
}`;export{
|
|
203
|
+
}`;export{r as default};
|
|
184
204
|
//# sourceMappingURL=headerFlyout.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerFlyout.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headerFlyout.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import'./../../../external/@lit/reactive-element/reactive-element.js';import'./../../../external/lit-html/lit-html.js';import'./../../../external/lit-element/lit-element.js';import{css as e}from'./../../../external/@lit/reactive-element/css-tag.js';var
|
|
1
|
+
import'./../../../external/@lit/reactive-element/reactive-element.js';import'./../../../external/lit-html/lit-html.js';import'./../../../external/lit-element/lit-element.js';import{css as e}from'./../../../external/@lit/reactive-element/css-tag.js';var t=e`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -101,7 +101,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:root {
|
|
104
|
-
--kd-
|
|
104
|
+
--kd-current-breakpoint: sm;
|
|
105
|
+
}
|
|
106
|
+
@media (min-width: 42rem) {
|
|
107
|
+
:root {
|
|
108
|
+
--kd-current-breakpoint: md;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
@media (min-width: 74rem) {
|
|
112
|
+
:root {
|
|
113
|
+
--kd-current-breakpoint: lg;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (min-width: 82rem) {
|
|
117
|
+
:root {
|
|
118
|
+
--kd-current-breakpoint: xl;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 99rem) {
|
|
122
|
+
:root {
|
|
123
|
+
--kd-current-breakpoint: max;
|
|
124
|
+
}
|
|
105
125
|
}
|
|
106
126
|
|
|
107
127
|
:host {
|
|
@@ -226,5 +246,5 @@ kd-icon {
|
|
|
226
246
|
|
|
227
247
|
.static {
|
|
228
248
|
flex-direction: column;
|
|
229
|
-
}`;export{
|
|
249
|
+
}`;export{t as default};
|
|
230
250
|
//# sourceMappingURL=headerLink.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerLink.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headerLink.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -101,7 +101,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:root {
|
|
104
|
-
--kd-
|
|
104
|
+
--kd-current-breakpoint: sm;
|
|
105
|
+
}
|
|
106
|
+
@media (min-width: 42rem) {
|
|
107
|
+
:root {
|
|
108
|
+
--kd-current-breakpoint: md;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
@media (min-width: 74rem) {
|
|
112
|
+
:root {
|
|
113
|
+
--kd-current-breakpoint: lg;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (min-width: 82rem) {
|
|
117
|
+
:root {
|
|
118
|
+
--kd-current-breakpoint: xl;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 99rem) {
|
|
122
|
+
:root {
|
|
123
|
+
--kd-current-breakpoint: max;
|
|
124
|
+
}
|
|
105
125
|
}
|
|
106
126
|
|
|
107
127
|
:host {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerPanel.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headerPanel.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerPanelLink.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headerPanelLink.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localNav.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"localNav.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
:root {
|
|
9
|
-
--kd-
|
|
9
|
+
--kd-current-breakpoint: sm;
|
|
10
|
+
}
|
|
11
|
+
@media (min-width: 42rem) {
|
|
12
|
+
:root {
|
|
13
|
+
--kd-current-breakpoint: md;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
@media (min-width: 74rem) {
|
|
17
|
+
:root {
|
|
18
|
+
--kd-current-breakpoint: lg;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
@media (min-width: 82rem) {
|
|
22
|
+
:root {
|
|
23
|
+
--kd-current-breakpoint: xl;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
@media (min-width: 99rem) {
|
|
27
|
+
:root {
|
|
28
|
+
--kd-current-breakpoint: max;
|
|
29
|
+
}
|
|
10
30
|
}
|
|
11
31
|
|
|
12
32
|
.breadcrumbs {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumbs.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -26,6 +46,9 @@ legend {
|
|
|
26
46
|
letter-spacing: var(--kd-letter-spacing-5);
|
|
27
47
|
text-transform: uppercase;
|
|
28
48
|
font-weight: 500;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 8px;
|
|
29
52
|
padding: 0;
|
|
30
53
|
margin-bottom: 8px;
|
|
31
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkboxGroup.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkboxGroup.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -20,7 +40,9 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
20
40
|
letter-spacing: var(--kd-letter-spacing-5);
|
|
21
41
|
text-transform: uppercase;
|
|
22
42
|
font-weight: 500;
|
|
23
|
-
display:
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 8px;
|
|
24
46
|
padding: 0;
|
|
25
47
|
margin-bottom: 8px;
|
|
26
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"datepicker.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -20,7 +40,9 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
20
40
|
letter-spacing: var(--kd-letter-spacing-5);
|
|
21
41
|
text-transform: uppercase;
|
|
22
42
|
font-weight: 500;
|
|
23
|
-
display:
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 8px;
|
|
24
46
|
padding: 0;
|
|
25
47
|
margin-bottom: 8px;
|
|
26
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daterangepicker.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"daterangepicker.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,27 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--kd-
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
9
29
|
}
|
|
10
30
|
|
|
11
31
|
:host {
|
|
@@ -20,7 +40,9 @@ import'./../../../external/@lit/reactive-element/reactive-element.js';import'./.
|
|
|
20
40
|
letter-spacing: var(--kd-letter-spacing-5);
|
|
21
41
|
text-transform: uppercase;
|
|
22
42
|
font-weight: 500;
|
|
23
|
-
display:
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 8px;
|
|
24
46
|
padding: 0;
|
|
25
47
|
margin-bottom: 8px;
|
|
26
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dropdown.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@kyndryl-design-system/shidoka-foundation/components/button';
|
|
3
|
+
import '@kyndryl-design-system/shidoka-foundation/components/icon';
|
|
4
|
+
/**
|
|
5
|
+
* Modal.
|
|
6
|
+
* @slot unnamed - Slot for modal body content.
|
|
7
|
+
* @slot anchor - Slot for the anchor button content.
|
|
8
|
+
* @slot actions - Slot for custom action buttons. Custom action buttons will not trigger the `on-close` event.
|
|
9
|
+
* @fires on-close - Emits the modal close event with `returnValue` (`'ok'` or `'cancel'`).
|
|
10
|
+
*/
|
|
11
|
+
export declare class Modal extends LitElement {
|
|
12
|
+
static styles: import("lit").CSSResultGroup;
|
|
13
|
+
/** Modal open state. */
|
|
14
|
+
open: boolean;
|
|
15
|
+
/** Modal size. `'auto'`, `'md'`, or `'lg'`. */
|
|
16
|
+
size: string;
|
|
17
|
+
/** Title/heading text, required. */
|
|
18
|
+
titleText: string;
|
|
19
|
+
/** Label text, optional. */
|
|
20
|
+
labelText: string;
|
|
21
|
+
/** OK button text. */
|
|
22
|
+
okText: string;
|
|
23
|
+
/** Cancel button text. */
|
|
24
|
+
cancelText: string;
|
|
25
|
+
/** Function to execute before the modal can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */
|
|
26
|
+
beforeClose: Function;
|
|
27
|
+
/** The dialog element
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
_dialog: any;
|
|
31
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
32
|
+
private _openModal;
|
|
33
|
+
private _closeModal;
|
|
34
|
+
private _emitCloseEvent;
|
|
35
|
+
updated(changedProps: any): void;
|
|
36
|
+
}
|
|
37
|
+
declare global {
|
|
38
|
+
interface HTMLElementTagNameMap {
|
|
39
|
+
'kyn-modal': Modal;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/modal/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,2DAA2D,CAAC;AAInE;;;;;;GAMG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,OAAgB,MAAM,+BAAa;IAEnC,wBAAwB;IAExB,IAAI,UAAS;IAEb,+CAA+C;IAE/C,IAAI,SAAU;IAEd,oCAAoC;IAEpC,SAAS,SAAM;IAEf,4BAA4B;IAE5B,SAAS,SAAM;IAEf,sBAAsB;IAEtB,MAAM,SAAQ;IAEd,0BAA0B;IAE1B,UAAU,SAAY;IAEtB,4LAA4L;IAE5L,WAAW,EAAG,QAAQ,CAAC;IAEvB;;OAEG;IAEH,OAAO,EAAG,GAAG,CAAC;IAEL,MAAM;IA8Df,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,eAAe;IAUd,OAAO,CAAC,YAAY,EAAE,GAAG;CASnC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,KAAK,CAAC;KACpB;CACF"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import{__decorate as e}from"../../../_virtual/_tslib.js";import'./../../../external/@lit/reactive-element/reactive-element.js';import{html as t}from'./../../../external/lit-html/lit-html.js';import{LitElement as o}from'./../../../external/lit-element/lit-element.js';import{customElement as s}from'./../../../external/@lit/reactive-element/decorators/custom-element.js';import{property as l}from'./../../../external/@lit/reactive-element/decorators/property.js';import{query as i}from'./../../../external/@lit/reactive-element/decorators/query.js';import'./../../../external/@lit/reactive-element/decorators/query-assigned-elements.js';import{classMap as a}from'./../../../external/lit-html/directives/class-map.js';import n from"./modal.scss.js";import"@kyndryl-design-system/shidoka-foundation/components/button";import"@kyndryl-design-system/shidoka-foundation/components/icon";import d from'./../../../external/@carbon/icons/es/close/32.js';let r=class extends o{constructor(){super(...arguments),this.open=!1,this.size="auto",this.titleText="",this.labelText="",this.okText="OK",this.cancelText="Cancel"}render(){const e={modal:!0,"size--md":"md"===this.size,"size--lg":"lg"===this.size};return t`
|
|
2
|
+
<button class="anchor" @click=${this._openModal}>
|
|
3
|
+
<slot name="anchor"></slot>
|
|
4
|
+
</button>
|
|
5
|
+
|
|
6
|
+
<dialog
|
|
7
|
+
class="${a(e)}"
|
|
8
|
+
autofocus
|
|
9
|
+
aria-labelledby="dialogLabel"
|
|
10
|
+
@cancel=${e=>this._closeModal(e,"cancel")}
|
|
11
|
+
>
|
|
12
|
+
<button
|
|
13
|
+
class="close"
|
|
14
|
+
@click=${e=>this._closeModal(e,"cancel")}
|
|
15
|
+
>
|
|
16
|
+
<kd-icon .icon=${d}></kd-icon>
|
|
17
|
+
</button>
|
|
18
|
+
|
|
19
|
+
<header>
|
|
20
|
+
<div>
|
|
21
|
+
${""!==this.labelText?t`<span class="label">${this.labelText}</span>`:null}
|
|
22
|
+
<h1 id="dialogLabel">${this.titleText}</h1>
|
|
23
|
+
</div>
|
|
24
|
+
</header>
|
|
25
|
+
|
|
26
|
+
<form method="dialog" class="body">
|
|
27
|
+
<slot></slot>
|
|
28
|
+
|
|
29
|
+
<div class="actions">
|
|
30
|
+
<kd-button
|
|
31
|
+
value="ok"
|
|
32
|
+
@click=${e=>this._closeModal(e,"ok")}
|
|
33
|
+
>
|
|
34
|
+
${this.okText}
|
|
35
|
+
</kd-button>
|
|
36
|
+
|
|
37
|
+
<kd-button
|
|
38
|
+
value="cancel"
|
|
39
|
+
kind="secondary"
|
|
40
|
+
@click=${e=>this._closeModal(e,"cancel")}
|
|
41
|
+
>
|
|
42
|
+
${this.cancelText}
|
|
43
|
+
</kd-button>
|
|
44
|
+
|
|
45
|
+
<div class="custom-actions">
|
|
46
|
+
<slot name="actions"></slot>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</form>
|
|
50
|
+
</dialog>
|
|
51
|
+
`}_openModal(){this.open=!0}_closeModal(e,t){(!this.beforeClose||this.beforeClose&&this.beforeClose(t))&&(this.open=!1,this._dialog.returnValue=t,this._emitCloseEvent(e))}_emitCloseEvent(e){const t=new CustomEvent("on-close",{detail:{returnValue:this._dialog.returnValue,origEvent:e}});this.dispatchEvent(t)}updated(e){e.has("open")&&(this.open?this._dialog.showModal():this._dialog.close())}};r.styles=n,e([l({type:Boolean})],r.prototype,"open",void 0),e([l({type:String})],r.prototype,"size",void 0),e([l({type:String})],r.prototype,"titleText",void 0),e([l({type:String})],r.prototype,"labelText",void 0),e([l({type:String})],r.prototype,"okText",void 0),e([l({type:String})],r.prototype,"cancelText",void 0),e([l({attribute:!1})],r.prototype,"beforeClose",void 0),e([i("dialog")],r.prototype,"_dialog",void 0),r=e([s("kyn-modal")],r);export{r as Modal};
|
|
52
|
+
//# sourceMappingURL=modal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.js","sources":["../../../../src/components/reusable/modal/modal.ts"],"sourcesContent":["import { LitElement, html } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport ModalScss from './modal.scss';\n\nimport '@kyndryl-design-system/shidoka-foundation/components/button';\nimport '@kyndryl-design-system/shidoka-foundation/components/icon';\n\nimport closeIcon from '@carbon/icons/es/close/32';\n\n/**\n * Modal.\n * @slot unnamed - Slot for modal body content.\n * @slot anchor - Slot for the anchor button content.\n * @slot actions - Slot for custom action buttons. Custom action buttons will not trigger the `on-close` event.\n * @fires on-close - Emits the modal close event with `returnValue` (`'ok'` or `'cancel'`).\n */\n@customElement('kyn-modal')\nexport class Modal extends LitElement {\n static override styles = ModalScss;\n\n /** Modal open state. */\n @property({ type: Boolean })\n open = false;\n\n /** Modal size. `'auto'`, `'md'`, or `'lg'`. */\n @property({ type: String })\n size = 'auto';\n\n /** Title/heading text, required. */\n @property({ type: String })\n titleText = '';\n\n /** Label text, optional. */\n @property({ type: String })\n labelText = '';\n\n /** OK button text. */\n @property({ type: String })\n okText = 'OK';\n\n /** Cancel button text. */\n @property({ type: String })\n cancelText = 'Cancel';\n\n /** Function to execute before the modal can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */\n @property({ attribute: false })\n beforeClose!: Function;\n\n /** The dialog element\n * @internal\n */\n @query('dialog')\n _dialog!: any;\n\n override render() {\n const classes = {\n modal: true,\n 'size--md': this.size === 'md',\n 'size--lg': this.size === 'lg',\n };\n\n return html`\n <button class=\"anchor\" @click=${this._openModal}>\n <slot name=\"anchor\"></slot>\n </button>\n\n <dialog\n class=\"${classMap(classes)}\"\n autofocus\n aria-labelledby=\"dialogLabel\"\n @cancel=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n <button\n class=\"close\"\n @click=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n <kd-icon .icon=${closeIcon}></kd-icon>\n </button>\n\n <header>\n <div>\n ${this.labelText !== ''\n ? html`<span class=\"label\">${this.labelText}</span>`\n : null}\n <h1 id=\"dialogLabel\">${this.titleText}</h1>\n </div>\n </header>\n\n <form method=\"dialog\" class=\"body\">\n <slot></slot>\n\n <div class=\"actions\">\n <kd-button\n value=\"ok\"\n @click=${(e: Event) => this._closeModal(e, 'ok')}\n >\n ${this.okText}\n </kd-button>\n\n <kd-button\n value=\"cancel\"\n kind=\"secondary\"\n @click=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n ${this.cancelText}\n </kd-button>\n\n <div class=\"custom-actions\">\n <slot name=\"actions\"></slot>\n </div>\n </div>\n </form>\n </dialog>\n `;\n }\n\n private _openModal() {\n this.open = true;\n }\n\n private _closeModal(e: Event, returnValue: string) {\n if (\n !this.beforeClose ||\n (this.beforeClose && this.beforeClose(returnValue))\n ) {\n this.open = false;\n this._dialog.returnValue = returnValue;\n this._emitCloseEvent(e);\n }\n }\n\n private _emitCloseEvent(e: Event) {\n const event = new CustomEvent('on-close', {\n detail: {\n returnValue: this._dialog.returnValue,\n origEvent: e,\n },\n });\n this.dispatchEvent(event);\n }\n\n override updated(changedProps: any) {\n if (changedProps.has('open')) {\n if (this.open) {\n this._dialog.showModal();\n } else {\n this._dialog.close();\n }\n }\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-modal': Modal;\n }\n}\n"],"names":["Modal","LitElement","constructor","this","open","size","titleText","labelText","okText","cancelText","render","classes","modal","html","_openModal","classMap","e","_closeModal","closeIcon","returnValue","beforeClose","_dialog","_emitCloseEvent","event","CustomEvent","detail","origEvent","dispatchEvent","updated","changedProps","has","showModal","close","styles","ModalScss","__decorate","property","type","Boolean","prototype","String","attribute","query","customElement"],"mappings":"m8BAkBO,IAAMA,EAAN,cAAoBC,EAApBC,kCAKLC,KAAIC,MAAG,EAIPD,KAAIE,KAAG,OAIPF,KAASG,UAAG,GAIZH,KAASI,UAAG,GAIZJ,KAAMK,OAAG,KAITL,KAAUM,WAAG,QA4Gd,CAhGUC,SACP,MAAMC,EAAU,CACdC,OAAO,EACP,WAA0B,OAAdT,KAAKE,KACjB,WAA0B,OAAdF,KAAKE,MAGnB,OAAOQ,CAAI;sCACuBV,KAAKW;;;;;iBAK1BC,EAASJ;;;kBAGPK,GAAab,KAAKc,YAAYD,EAAG;;;;mBAIhCA,GAAab,KAAKc,YAAYD,EAAG;;2BAE1BE;;;;;cAKM,KAAnBf,KAAKI,UACHM,CAAI,uBAAuBV,KAAKI,mBAChC;mCACmBJ,KAAKG;;;;;;;;;;uBAUhBU,GAAab,KAAKc,YAAYD,EAAG;;gBAEzCb,KAAKK;;;;;;uBAMGQ,GAAab,KAAKc,YAAYD,EAAG;;gBAEzCb,KAAKM;;;;;;;;;KAUlB,CAEOK,aACNX,KAAKC,MAAO,CACb,CAEOa,YAAYD,EAAUG,KAEzBhB,KAAKiB,aACLjB,KAAKiB,aAAejB,KAAKiB,YAAYD,MAEtChB,KAAKC,MAAO,EACZD,KAAKkB,QAAQF,YAAcA,EAC3BhB,KAAKmB,gBAAgBN,GAExB,CAEOM,gBAAgBN,GACtB,MAAMO,EAAQ,IAAIC,YAAY,WAAY,CACxCC,OAAQ,CACNN,YAAahB,KAAKkB,QAAQF,YAC1BO,UAAWV,KAGfb,KAAKwB,cAAcJ,EACpB,CAEQK,QAAQC,GACXA,EAAaC,IAAI,UACf3B,KAAKC,KACPD,KAAKkB,QAAQU,YAEb5B,KAAKkB,QAAQW,QAGlB,GAnIehC,EAAMiC,OAAGC,EAIzBC,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACLtC,EAAAuC,UAAA,YAAA,GAIbJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACJxC,EAAAuC,UAAA,YAAA,GAIdJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACHxC,EAAAuC,UAAA,iBAAA,GAIfJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACHxC,EAAAuC,UAAA,iBAAA,GAIfJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACJxC,EAAAuC,UAAA,cAAA,GAIdJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACIxC,EAAAuC,UAAA,kBAAA,GAItBJ,EAAA,CADCC,EAAS,CAAEK,WAAW,KACAzC,EAAAuC,UAAA,mBAAA,GAMvBJ,EAAA,CADCO,EAAM,WACO1C,EAAAuC,UAAA,eAAA,GAnCHvC,EAAKmC,EAAA,CADjBQ,EAAc,cACF3C"}
|