@skf-design-system/ui-components 1.0.2-beta.2 → 1.0.2-beta.4
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/README.md +7 -1
- package/dist/components/accordion/accordion-item.component.js +49 -38
- package/dist/components/accordion/accordion.component.d.ts +1 -1
- package/dist/components/accordion/accordion.component.js +10 -10
- package/dist/components/alert/alert.component.d.ts +5 -1
- package/dist/components/alert/alert.component.js +57 -54
- package/dist/components/alert/alert.styles.js +51 -47
- package/dist/components/breadcrumb/breadcrumb-item.component.js +24 -25
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.styles.js +16 -15
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +5 -2
- package/dist/components/breadcrumb/breadcrumb.component.js +51 -46
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb.styles.js +13 -10
- package/dist/components/button/button.component.js +39 -39
- package/dist/components/button/button.styles.js +2 -1
- package/dist/components/card/card.component.d.ts +5 -0
- package/dist/components/card/card.component.js +46 -24
- package/dist/components/card/card.styles.js +31 -14
- package/dist/components/{date-picker/datepicker.calendar.component.d.ts → datepicker/datepicker-calendar.component.d.ts} +4 -1
- package/dist/components/{date-picker/datepicker.calendar.component.js → datepicker/datepicker-calendar.component.js} +7 -7
- package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
- package/dist/components/datepicker/datepicker-calendar.js +6 -0
- package/dist/components/{date-picker/datepicker.component.d.ts → datepicker/datepicker-popup.component.d.ts} +5 -20
- package/dist/components/{date-picker/datepicker.component.js → datepicker/datepicker-popup.component.js} +12 -12
- package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
- package/dist/components/{date-picker/datepicker.helpers.d.ts → datepicker/datepicker-popup.helpers.d.ts} +3 -3
- package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
- package/dist/components/datepicker/datepicker-popup.js +6 -0
- package/dist/components/{date-picker/datepicker.styles.js → datepicker/datepicker-popup.styles.js} +3 -3
- package/dist/components/{date-picker-input/datepicker-input.component.d.ts → datepicker/datepicker.component.d.ts} +17 -12
- package/dist/components/{date-picker-input/datepicker-input.component.js → datepicker/datepicker.component.js} +110 -97
- package/dist/components/datepicker/datepicker.d.ts +8 -0
- package/dist/components/datepicker/datepicker.js +6 -0
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/drawer/drawer.d.ts +2 -2
- package/dist/components/header/header.d.ts +2 -2
- package/dist/components/heading/heading.component.d.ts +5 -1
- package/dist/components/heading/heading.component.js +54 -27
- package/dist/components/heading/heading.styles.js +34 -36
- package/dist/components/icon/icon.component.d.ts +4 -0
- package/dist/components/icon/icon.component.js +52 -43
- package/dist/components/icon/icon.styles.js +60 -60
- package/dist/components/input/input.component.js +26 -26
- package/dist/components/logo/logo.component.d.ts +4 -1
- package/dist/components/logo/logo.component.js +55 -51
- package/dist/components/logo/logo.styles.js +26 -16
- package/dist/components/menu/menu-item.d.ts +2 -2
- package/dist/components/menu/menu.d.ts +2 -2
- package/dist/components/nav/nav-item.component.d.ts +2 -2
- package/dist/components/nav/nav.d.ts +2 -2
- package/dist/components/popover/popover.component.js +1 -1
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/progress/progress.styles.js +8 -6
- package/dist/components/segmented-button/segmented-button-item.d.ts +2 -2
- package/dist/components/segmented-button/segmented-button.d.ts +2 -2
- package/dist/components/select/select-option-group.d.ts +2 -2
- package/dist/components/select/select-option.component.d.ts +2 -2
- package/dist/components/select/select-option.component.js +9 -9
- package/dist/components/select/select.component.d.ts +2 -2
- package/dist/components/select/select.component.js +3 -4
- package/dist/components/select/select.controllers.js +11 -14
- package/dist/components/stepper/stepper-item.component.js +47 -47
- package/dist/components/stepper/stepper-item.d.ts +2 -2
- package/dist/components/stepper/stepper.d.ts +2 -2
- package/dist/components/switch/switch.d.ts +2 -2
- package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
- package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
- package/dist/components/{tab → tabs}/tab.d.ts +2 -2
- package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
- package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +35 -36
- package/dist/components/tabs/tabs.d.ts +8 -0
- package/dist/components/tabs/tabs.js +6 -0
- package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
- package/dist/components/tag/tag.component.d.ts +7 -2
- package/dist/components/tag/tag.component.js +69 -65
- package/dist/components/tag/tag.d.ts +2 -2
- package/dist/components/tag/tag.styles.js +63 -50
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/custom-elements.json +233 -126
- package/dist/index.d.ts +6 -5
- package/dist/index.js +96 -93
- package/dist/internal/base-classes/popover/popover.base.js +1 -1
- package/dist/internal/components/skf-element.d.ts +1 -3
- package/dist/internal/components/skf-element.js +4 -9
- package/dist/internal/helpers/stateMap.d.ts +14 -0
- package/dist/internal/helpers/stateMap.js +68 -0
- package/dist/internal/helpers/watch.d.ts +1 -1
- package/dist/internal/helpers/watch.js +12 -12
- package/dist/styles/component.styles.js +37 -36
- package/dist/styles/{global-without-fonts.css → global-alt.css} +1 -1
- package/dist/styles/global.css +1 -1
- package/dist/types/jsx/custom-element-jsx.d.ts +86 -44
- package/dist/types/vue/index.d.ts +86 -44
- package/dist/vscode.html-custom-data.json +103 -17
- package/dist/web-types.json +208 -55
- package/package.json +14 -20
- package/dist/components/accordion/accordion-item.test.d.ts +0 -1
- package/dist/components/accordion/accordion.test.d.ts +0 -1
- package/dist/components/checkbox/checkbox.test.d.ts +0 -1
- package/dist/components/date-picker/datepicker.d.ts +0 -10
- package/dist/components/date-picker/datepicker.helpers.js +0 -76
- package/dist/components/date-picker/datepicker.js +0 -8
- package/dist/components/date-picker-input/datepicker-input.d.ts +0 -8
- package/dist/components/date-picker-input/datepicker-input.js +0 -6
- package/dist/components/input/input.test.d.ts +0 -1
- package/dist/components/radio/radio.test.d.ts +0 -1
- package/dist/components/switch/switch.test.d.ts +0 -1
- package/dist/components/tab-group/tab-group.d.ts +0 -8
- package/dist/components/tab-group/tab-group.js +0 -6
- package/dist/internal/playwright/index.d.ts +0 -1
- /package/dist/components/{date-picker/datepicker.calendar.styles.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
- /package/dist/components/{date-picker/datepicker.calendar.styles.js → datepicker/datepicker-calendar.styles.js} +0 -0
- /package/dist/components/{date-picker/datepicker.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.helpers.d.ts → datepicker/datepicker.helpers.d.ts} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.helpers.js → datepicker/datepicker.helpers.js} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.styles.d.ts → datepicker/datepicker.styles.d.ts} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.styles.js → datepicker/datepicker.styles.js} +0 -0
- /package/dist/components/select/{select.stories.icons.d.ts → stories/select.stories.icons.d.ts} +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.component.js +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.styles.d.ts +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
- /package/dist/components/{tab → tabs}/tab.component.js +0 -0
- /package/dist/components/{tab → tabs}/tab.js +0 -0
- /package/dist/components/{tab → tabs}/tab.styles.d.ts +0 -0
- /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
- /package/dist/components/{tab-group/tab-group.styles.d.ts → tabs/tabs.styles.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
@@ -6,8 +6,9 @@ export { default as SkfBreadcrumb } from './components/breadcrumb/breadcrumb.js'
|
|
6
6
|
export { default as SkfButton } from './components/button/button.js';
|
7
7
|
export { default as SkfCard } from './components/card/card.js';
|
8
8
|
export { default as SkfCheckbox } from './components/checkbox/checkbox.js';
|
9
|
-
export { default as
|
10
|
-
export { default as
|
9
|
+
export { default as SkfDatepickerCalendar } from './components/datepicker/datepicker-calendar.js';
|
10
|
+
export { default as SkfDatepickerPopup } from './components/datepicker/datepicker-popup.js';
|
11
|
+
export { default as SkfDatepicker } from './components/datepicker/datepicker.js';
|
11
12
|
export { default as SkfDialog } from './components/dialog/dialog.js';
|
12
13
|
export { default as SkfDivider } from './components/divider/divider.js';
|
13
14
|
export { default as SkfDrawer } from './components/drawer/drawer.js';
|
@@ -33,9 +34,9 @@ export { default as SkfSelect } from './components/select/select.js';
|
|
33
34
|
export { default as SkfStepperItem } from './components/stepper/stepper-item.js';
|
34
35
|
export { default as SkfStepper } from './components/stepper/stepper.js';
|
35
36
|
export { default as SkfSwitch } from './components/switch/switch.js';
|
36
|
-
export { default as
|
37
|
-
export { default as
|
38
|
-
export { default as
|
37
|
+
export { default as SkfTabPanel } from './components/tabs/tab-panel.js';
|
38
|
+
export { default as SkfTab } from './components/tabs/tab.js';
|
39
|
+
export { default as SkfTabs } from './components/tabs/tabs.js';
|
39
40
|
export { default as SkfTag } from './components/tag/tag.js';
|
40
41
|
export { default as SkfTextArea } from './components/textarea/textarea.js';
|
41
42
|
export { default as SkfToastItem } from './components/toast/toast-item.js';
|
package/dist/index.js
CHANGED
@@ -6,8 +6,9 @@ import "./components/breadcrumb/breadcrumb.js";
|
|
6
6
|
import "./components/button/button.js";
|
7
7
|
import "./components/card/card.js";
|
8
8
|
import "./components/checkbox/checkbox.js";
|
9
|
-
import "./components/
|
10
|
-
import "./components/
|
9
|
+
import "./components/datepicker/datepicker-calendar.js";
|
10
|
+
import "./components/datepicker/datepicker-popup.js";
|
11
|
+
import "./components/datepicker/datepicker.js";
|
11
12
|
import "./components/dialog/dialog.js";
|
12
13
|
import "./components/divider/divider.js";
|
13
14
|
import "./components/drawer/drawer.js";
|
@@ -33,102 +34,104 @@ import "./components/select/select.js";
|
|
33
34
|
import "./components/stepper/stepper-item.js";
|
34
35
|
import "./components/stepper/stepper.js";
|
35
36
|
import "./components/switch/switch.js";
|
36
|
-
import "./components/
|
37
|
-
import "./components/
|
38
|
-
import "./components/
|
37
|
+
import "./components/tabs/tab-panel.js";
|
38
|
+
import "./components/tabs/tab.js";
|
39
|
+
import "./components/tabs/tabs.js";
|
39
40
|
import "./components/tag/tag.js";
|
40
41
|
import "./components/textarea/textarea.js";
|
41
42
|
import "./components/toast/toast-item.js";
|
42
43
|
import "./components/toast/toast-wrapper.js";
|
43
44
|
import "./components/toast/toast.js";
|
44
45
|
import "./components/tooltip/tooltip.js";
|
45
|
-
import { SkfAccordionItem as
|
46
|
-
import { SkfAccordion as
|
47
|
-
import { SkfAlert as
|
48
|
-
import { SkfBreadcrumbItem as
|
49
|
-
import { SkfBreadcrumb as
|
50
|
-
import { SkfButton as
|
51
|
-
import { SkfCard as
|
52
|
-
import { SkfCheckbox as
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import {
|
66
|
-
import {
|
67
|
-
import {
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
71
|
-
import {
|
72
|
-
import {
|
73
|
-
import {
|
74
|
-
import {
|
75
|
-
import {
|
76
|
-
import {
|
77
|
-
import {
|
78
|
-
import {
|
79
|
-
import {
|
80
|
-
import {
|
81
|
-
import { SkfTabPanel as
|
82
|
-
import { SkfTab as
|
83
|
-
import {
|
84
|
-
import {
|
85
|
-
import {
|
86
|
-
import {
|
87
|
-
import {
|
88
|
-
import {
|
46
|
+
import { SkfAccordionItem as U } from "./components/accordion/accordion-item.component.js";
|
47
|
+
import { SkfAccordion as X } from "./components/accordion/accordion.component.js";
|
48
|
+
import { SkfAlert as Z } from "./components/alert/alert.component.js";
|
49
|
+
import { SkfBreadcrumbItem as $ } from "./components/breadcrumb/breadcrumb-item.component.js";
|
50
|
+
import { SkfBreadcrumb as ro } from "./components/breadcrumb/breadcrumb.component.js";
|
51
|
+
import { SkfButton as po } from "./components/button/button.component.js";
|
52
|
+
import { SkfCard as eo } from "./components/card/card.component.js";
|
53
|
+
import { SkfCheckbox as io } from "./components/checkbox/checkbox.component.js";
|
54
|
+
import { SkfDatepickerCalendar as ko } from "./components/datepicker/datepicker-calendar.component.js";
|
55
|
+
import { SkfDatepickerPopup as ao } from "./components/datepicker/datepicker-popup.component.js";
|
56
|
+
import { SkfDatepicker as co } from "./components/datepicker/datepicker.component.js";
|
57
|
+
import { SkfDialog as Io } from "./components/dialog/dialog.component.js";
|
58
|
+
import { SkfDivider as lo } from "./components/divider/divider.component.js";
|
59
|
+
import { SkfDrawer as go } from "./components/drawer/drawer.component.js";
|
60
|
+
import { SkfHeader as Do } from "./components/header/header.component.js";
|
61
|
+
import { SkfHeading as vo } from "./components/heading/heading.component.js";
|
62
|
+
import { SkfIcon as Oo } from "./components/icon/icon.component.js";
|
63
|
+
import { SkfInput as Co } from "./components/input/input.component.js";
|
64
|
+
import { SkfLink as ho } from "./components/link/link.component.js";
|
65
|
+
import { SkfLoader as Go } from "./components/loader/loader.component.js";
|
66
|
+
import { SkfLogo as Mo } from "./components/logo/logo.component.js";
|
67
|
+
import { SkfMenuItem as Ro } from "./components/menu/menu-item.component.js";
|
68
|
+
import { SkfMenu as jo } from "./components/menu/menu.component.js";
|
69
|
+
import { SkfNavItem as yo } from "./components/nav/nav-item.component.js";
|
70
|
+
import { SkfNav as Eo } from "./components/nav/nav.component.js";
|
71
|
+
import { SkfPopover as Jo } from "./components/popover/popover.component.js";
|
72
|
+
import { SkfProgress as Qo } from "./components/progress/progress.component.js";
|
73
|
+
import { SkfRadio as Vo } from "./components/radio/radio.component.js";
|
74
|
+
import { SkfSegmentedButtonItem as Yo } from "./components/segmented-button/segmented-button-item.component.js";
|
75
|
+
import { SkfSegmentedButton as _o } from "./components/segmented-button/segmented-button.component.js";
|
76
|
+
import { SkfSelectOptionGroup as or } from "./components/select/select-option-group.component.js";
|
77
|
+
import { SkfSelectOption as tr } from "./components/select/select-option.component.js";
|
78
|
+
import { SkfSelect as mr } from "./components/select/select.component.js";
|
79
|
+
import { SkfStepperItem as fr } from "./components/stepper/stepper-item.component.js";
|
80
|
+
import { SkfStepper as Sr } from "./components/stepper/stepper.component.js";
|
81
|
+
import { SkfSwitch as xr } from "./components/switch/switch.component.js";
|
82
|
+
import { SkfTabPanel as nr } from "./components/tabs/tab-panel.component.js";
|
83
|
+
import { SkfTab as dr } from "./components/tabs/tab.component.js";
|
84
|
+
import { SkfTabs as Ir } from "./components/tabs/tabs.component.js";
|
85
|
+
import { SkfTag as lr } from "./components/tag/tag.component.js";
|
86
|
+
import { SkfTextArea as gr } from "./components/textarea/textarea.component.js";
|
87
|
+
import { SkfToastItem as Dr } from "./components/toast/toast-item.component.js";
|
88
|
+
import { SkfToastWrapper as vr } from "./components/toast/toast-wrapper.component.js";
|
89
|
+
import { SkfToast as Or } from "./components/toast/toast.component.js";
|
90
|
+
import { SkfTooltip as Cr } from "./components/tooltip/tooltip.component.js";
|
89
91
|
export {
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
vr as
|
92
|
+
X as SkfAccordion,
|
93
|
+
U as SkfAccordionItem,
|
94
|
+
Z as SkfAlert,
|
95
|
+
ro as SkfBreadcrumb,
|
96
|
+
$ as SkfBreadcrumbItem,
|
97
|
+
po as SkfButton,
|
98
|
+
eo as SkfCard,
|
99
|
+
io as SkfCheckbox,
|
100
|
+
co as SkfDatepicker,
|
101
|
+
ko as SkfDatepickerCalendar,
|
102
|
+
ao as SkfDatepickerPopup,
|
103
|
+
Io as SkfDialog,
|
104
|
+
lo as SkfDivider,
|
105
|
+
go as SkfDrawer,
|
106
|
+
Do as SkfHeader,
|
107
|
+
vo as SkfHeading,
|
108
|
+
Oo as SkfIcon,
|
109
|
+
Co as SkfInput,
|
110
|
+
ho as SkfLink,
|
111
|
+
Go as SkfLoader,
|
112
|
+
Mo as SkfLogo,
|
113
|
+
jo as SkfMenu,
|
114
|
+
Ro as SkfMenuItem,
|
115
|
+
Eo as SkfNav,
|
116
|
+
yo as SkfNavItem,
|
117
|
+
tr as SkfOption,
|
118
|
+
or as SkfOptionGroup,
|
119
|
+
Jo as SkfPopover,
|
120
|
+
Qo as SkfProgress,
|
121
|
+
Vo as SkfRadio,
|
122
|
+
_o as SkfSegmentedButton,
|
123
|
+
Yo as SkfSegmentedButtonItem,
|
124
|
+
mr as SkfSelect,
|
125
|
+
Sr as SkfStepper,
|
126
|
+
fr as SkfStepperItem,
|
127
|
+
xr as SkfSwitch,
|
128
|
+
dr as SkfTab,
|
129
|
+
nr as SkfTabPanel,
|
130
|
+
Ir as SkfTabs,
|
131
|
+
lr as SkfTag,
|
132
|
+
gr as SkfTextArea,
|
133
|
+
Or as SkfToast,
|
134
|
+
Dr as SkfToastItem,
|
135
|
+
vr as SkfToastWrapper,
|
136
|
+
Cr as SkfTooltip
|
134
137
|
};
|
@@ -78,7 +78,7 @@ const s = (p = class extends S {
|
|
78
78
|
t && i || this.close();
|
79
79
|
},
|
80
80
|
{ signal: this.signal }
|
81
|
-
), this.$popover.id = _(this.$anchor.id), ["popup", "menu"].includes(this.variant) && (this.$anchor.setAttribute("aria-haspopup", "true"), this.setAttribute("aria-labelledby", this.$anchor.id)), ["menu"].includes(this.variant) && this.$anchor.setAttribute("aria-controls", this.$popover.id), ["popup"].includes(this.variant) && t && (this.role = "dialog"
|
81
|
+
), this.$popover.id = _(this.$anchor.id), ["popup", "menu"].includes(this.variant) && (this.$anchor.setAttribute("aria-haspopup", "true"), this.setAttribute("aria-labelledby", this.$anchor.id)), ["menu"].includes(this.variant) && this.$anchor.setAttribute("aria-controls", this.$popover.id), ["popup"].includes(this.variant) && t && (this.role = "dialog"), ["tooltip"].includes(this.variant) && this.$anchor.addEventListener("focusin", this.open.bind(this), { signal: this.signal });
|
82
82
|
}
|
83
83
|
open(t) {
|
84
84
|
t.stopPropagation(), this._toggleOpen(!0), document.addEventListener("keydown", this.handleEscapeKey.bind(this), { signal: this.signal }), this.openExtended();
|
@@ -1,10 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { LitElement } from 'lit';
|
2
2
|
export declare class SkfElement extends LitElement {
|
3
3
|
static define(name: string, elementConstructor?: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
4
4
|
static dependencies: Record<string, typeof SkfElement>;
|
5
5
|
constructor();
|
6
6
|
/** Custom event emitter helper function. Transmits user actions or component state change. Use composed=false for event that should not pierce shadowDom. */
|
7
7
|
emit(name: string, options?: CustomEventInit): Event;
|
8
|
-
/** This let's a component set styles in the light DOM. Scope css selectors with custom tag name to just target the slot. */
|
9
|
-
protected _setSlotStyles(slottedStyles: CSSResult): void;
|
10
8
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { LitElement as d } from "lit";
|
2
2
|
const s = class s extends d {
|
3
|
-
static define(e, t = this,
|
3
|
+
static define(e, t = this, r = {}) {
|
4
4
|
if (!customElements.get(e)) {
|
5
5
|
customElements.define(e, class extends t {
|
6
|
-
},
|
6
|
+
}, r);
|
7
7
|
return;
|
8
8
|
}
|
9
9
|
}
|
@@ -64,19 +64,14 @@ const s = class s extends d {
|
|
64
64
|
};
|
65
65
|
return this.dispatchEvent(new Event(e, u)), new Event(e, t);
|
66
66
|
}
|
67
|
-
const
|
67
|
+
const n = new CustomEvent(e, {
|
68
68
|
bubbles: !0,
|
69
69
|
cancelable: !0,
|
70
70
|
composed: !0,
|
71
71
|
detail: {},
|
72
72
|
...t
|
73
73
|
});
|
74
|
-
return this.dispatchEvent(
|
75
|
-
}
|
76
|
-
/** This let's a component set styles in the light DOM. Scope css selectors with custom tag name to just target the slot. */
|
77
|
-
_setSlotStyles(e) {
|
78
|
-
const t = new CSSStyleSheet();
|
79
|
-
t.replaceSync(e.cssText), document.adoptedStyleSheets = [...document.adoptedStyleSheets, t];
|
74
|
+
return this.dispatchEvent(n), n;
|
80
75
|
}
|
81
76
|
};
|
82
77
|
s.dependencies = {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* CSS pseudo class state helper, handles state management within scope of set states (stateOptions),
|
3
|
+
* allowing for easy state manipulation and retrieval within one or multiple state scopes.
|
4
|
+
* Helper currently assumes only one state within scope is allowed at a time.
|
5
|
+
*/
|
6
|
+
export declare function stateMap<T extends string>(states: CustomStateSet, options: T | T[]): {
|
7
|
+
clear: () => void;
|
8
|
+
get: () => T | undefined;
|
9
|
+
set: (state?: T | boolean) => void;
|
10
|
+
has: (state?: T) => boolean;
|
11
|
+
add: (state: T) => void;
|
12
|
+
remove: (state?: T) => void;
|
13
|
+
toggle: (state?: T | boolean) => void;
|
14
|
+
};
|
@@ -0,0 +1,68 @@
|
|
1
|
+
function w(o, u) {
|
2
|
+
const r = Array.isArray(u) ? u : [u];
|
3
|
+
function f() {
|
4
|
+
r.forEach((n) => {
|
5
|
+
o.delete(n);
|
6
|
+
});
|
7
|
+
}
|
8
|
+
function l() {
|
9
|
+
const n = [];
|
10
|
+
if (r.forEach((e) => {
|
11
|
+
o.has(e) && n.push(e);
|
12
|
+
}), n.length !== 0)
|
13
|
+
return n.length > 1 && (console.warn("Multiple states found, returning first state"), console.warn(n)), n[0];
|
14
|
+
}
|
15
|
+
function d(n) {
|
16
|
+
if (typeof n == "boolean" || !n)
|
17
|
+
if (n)
|
18
|
+
n = r[0];
|
19
|
+
else {
|
20
|
+
f();
|
21
|
+
return;
|
22
|
+
}
|
23
|
+
if (typeof n == "boolean") throw new Error("State must be a string from here on out");
|
24
|
+
r.forEach((e) => {
|
25
|
+
o.has(e) && o.delete(e);
|
26
|
+
}), o.add(n);
|
27
|
+
}
|
28
|
+
function c(n) {
|
29
|
+
if (n ?? (n = r[0]), typeof n == "boolean") {
|
30
|
+
n ? o.add(r[0]) : f();
|
31
|
+
return;
|
32
|
+
}
|
33
|
+
i(n), o.has(n) ? o.delete(n) : o.add(n);
|
34
|
+
}
|
35
|
+
function h(n) {
|
36
|
+
return n ?? (n = r[0]), i(n), o.has(n);
|
37
|
+
}
|
38
|
+
function p(n) {
|
39
|
+
if (typeof n == "boolean")
|
40
|
+
if (n === !0)
|
41
|
+
n = r[0];
|
42
|
+
else {
|
43
|
+
f();
|
44
|
+
return;
|
45
|
+
}
|
46
|
+
if (typeof n == "boolean") throw new Error("State must be a string from here on out");
|
47
|
+
i(n), o.add(n);
|
48
|
+
}
|
49
|
+
function g(n) {
|
50
|
+
n ?? (n = r[0]), i(n), o.delete(n);
|
51
|
+
}
|
52
|
+
function i(n) {
|
53
|
+
if (!r.includes(n))
|
54
|
+
throw new Error(`State "${n}" is not a valid state option.`);
|
55
|
+
}
|
56
|
+
return {
|
57
|
+
clear: f,
|
58
|
+
get: l,
|
59
|
+
set: d,
|
60
|
+
has: h,
|
61
|
+
add: p,
|
62
|
+
remove: g,
|
63
|
+
toggle: c
|
64
|
+
};
|
65
|
+
}
|
66
|
+
export {
|
67
|
+
w as stateMap
|
68
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { LitElement } from 'lit';
|
2
|
-
type UpdateHandler = (prev?: unknown, next?: unknown) => void;
|
2
|
+
type UpdateHandler = (property: string, prev?: unknown, next?: unknown) => void;
|
3
3
|
type NonUndefined<A> = A extends undefined ? never : A;
|
4
4
|
type UpdateHandlerFunctionKeys<T extends object> = {
|
5
5
|
[K in keyof T]-?: NonUndefined<T[K]> extends UpdateHandler ? K : never;
|
@@ -1,28 +1,28 @@
|
|
1
|
-
function
|
2
|
-
const
|
1
|
+
function u(n, U) {
|
2
|
+
const f = {
|
3
3
|
waitUntilFirstUpdate: !1,
|
4
4
|
afterUpdate: !1,
|
5
5
|
...U
|
6
6
|
};
|
7
7
|
return (l, c) => {
|
8
|
-
const { update: d } = l, h = Array.isArray(
|
8
|
+
const { update: d } = l, h = Array.isArray(n) ? n : [n];
|
9
9
|
l.update = function(i) {
|
10
|
-
|
11
|
-
const t =
|
10
|
+
f.afterUpdate || h.forEach((a) => {
|
11
|
+
const t = a;
|
12
12
|
if (i.has(t)) {
|
13
|
-
const
|
14
|
-
|
13
|
+
const s = i.get(t), e = this[t];
|
14
|
+
s !== e && (!f.waitUntilFirstUpdate || this.hasUpdated) && this[c](a, s, e);
|
15
15
|
}
|
16
|
-
}), d.call(this, i),
|
17
|
-
const t =
|
16
|
+
}), d.call(this, i), f.afterUpdate && h.forEach((a) => {
|
17
|
+
const t = a;
|
18
18
|
if (i.has(t)) {
|
19
|
-
const
|
20
|
-
|
19
|
+
const s = i.get(t), e = this[t];
|
20
|
+
s !== e && (!f.waitUntilFirstUpdate || this.hasUpdated) && this[c](a, s, e);
|
21
21
|
}
|
22
22
|
});
|
23
23
|
};
|
24
24
|
};
|
25
25
|
}
|
26
26
|
export {
|
27
|
-
|
27
|
+
u as watch
|
28
28
|
};
|
@@ -1,48 +1,49 @@
|
|
1
1
|
import { css as e } from "lit";
|
2
2
|
const t = e`
|
3
|
-
@layer
|
4
|
-
|
5
|
-
@layer
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
padding: 0;
|
3
|
+
@layer base, components, overrides;
|
4
|
+
|
5
|
+
@layer base {
|
6
|
+
@layer props {
|
7
|
+
:host {
|
8
|
+
--skf-is-tablet: false;
|
9
|
+
--skf-box-spacing: var(--skf-spacing-100);
|
10
|
+
|
11
|
+
/* mq-token needed here */
|
12
|
+
@media screen and (width >= 768px) {
|
13
|
+
--skf-is-tablet: true;
|
14
|
+
--skf-box-spacing: var(--skf-spacing-150);
|
15
|
+
}
|
17
16
|
}
|
18
17
|
}
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
--skf-box-spacing: var(--skf-spacing-150);
|
19
|
+
@layer normalize {
|
20
|
+
:host {
|
21
|
+
box-sizing: border-box;
|
22
|
+
color: var(--skf-text-color-primary);
|
23
|
+
contain: content;
|
24
|
+
display: block;
|
25
|
+
|
26
|
+
*,
|
27
|
+
*::before,
|
28
|
+
*::after {
|
29
|
+
box-sizing: inherit;
|
30
|
+
margin: 0;
|
31
|
+
padding: 0;
|
32
|
+
}
|
35
33
|
}
|
36
34
|
|
37
|
-
|
38
|
-
|
35
|
+
:is(button, input, select, textarea) {
|
36
|
+
all: unset;
|
37
|
+
font: inherit;
|
38
|
+
}
|
39
39
|
|
40
|
-
|
41
|
-
|
40
|
+
:is(button, input, label, select) {
|
41
|
+
cursor: pointer;
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
&:disabled,
|
44
|
+
&:has(:disabled) {
|
45
|
+
cursor: not-allowed;
|
46
|
+
}
|
46
47
|
}
|
47
48
|
}
|
48
49
|
}
|
@@ -1 +1 @@
|
|
1
|
-
@charset "UTF-8";:host,:where(:root){--skf-color-green-lightest: #e5f3ecff;--skf-color-green-base: #048942ff;--skf-color-green-dark: #097c42ff;--skf-color-green-darker: #106b41ff;--skf-color-blue-lighest: #e7eefbff;--skf-color-blue-base: #4f84e0ff;--skf-color-blue-dark: #4978c8ff;--skf-color-blue-darker: #4167a8ff;--skf-color-yellow-lightest: #fff9e7ff;--skf-color-yellow-base: #ffca15ff;--skf-color-yellow-darker: #dfb31bff;--skf-color-yellow-darkest: #b49524ff;--skf-color-orange-lightest: #fff2e5ff;--skf-color-orange-base: #ff8004ff;--skf-color-orange-darker: #df740dff;--skf-color-orange-darkest: #b46518ff;--skf-color-red-lightest: #f9e5e5ff;--skf-color-red-base: #cc0000ff;--skf-color-red-darker: #b3080aff;--skf-color-red-darkest: #921217ff;--skf-color-neutral-lightest: #f6f6f6ff;--skf-color-neutral-lighter: #ebeceeff;--skf-color-neutral-light: #d5d8dcff;--skf-color-neutral-base: #c7cad0ff;--skf-color-neutral-dark: #aaafb8ff;--skf-color-neutral-darker: #808895ff;--skf-color-neutral-darkest: #676f7cff;--skf-color-neutral-black: #273342ff;--skf-color-neutral-white: #ffffffff;--skf-color-brand-base: #0f58d6ff;--skf-color-brand-lightest: #d9e4f8ff;--skf-color-brand-lighter: #c5d7f5ff;--skf-color-brand-dark: #084abdff;--skf-color-neutral-transparent: #ffffff00;--skf-color-neutral-opacity: #12111199;--skf-color-brand-darker: #0b3e96ff}:host,:where(:root){--skf-size-1: .0625rem;--skf-size-2: .125rem;--skf-size-4: .25rem;--skf-size-8: .5rem;--skf-size-12: .75rem;--skf-size-16: 1rem;--skf-size-20: 1.25rem;--skf-size-24: 1.5rem;--skf-size-32: 2rem;--skf-size-44: 2.75rem;--skf-size-48: 3rem;--skf-size-56: 3.5rem}:host,:where(:root){--skf-type-scale-10: .625rem;--skf-type-scale-12: .75rem;--skf-type-scale-14: .875rem;--skf-type-scale-16: 1rem;--skf-type-scale-18: 1.125rem;--skf-type-scale-20: 1.25rem;--skf-type-scale-22: 1.375rem;--skf-type-scale-24: 1.5rem;--skf-type-scale-28: 1.75rem;--skf-type-scale-32: 2rem;--skf-type-scale-36: 2.25rem;--skf-type-scale-40: 2.5rem;--skf-type-scale-46: 2.875rem;--skf-type-scale-50: 3.125rem;--skf-type-scale-56: 3.5rem;--skf-type-scale-64: 4rem;--skf-type-scale-72: 4.5rem;--skf-type-scale-90: 5.625rem;--skf-type-scale-124: 7.75rem}:host,:where(:root){--skf-bg-color-neutral-1: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-light) );--skf-bg-color-neutral-2: var(--skf-color-neutral-lighter);--skf-bg-color-neutral-3: var(--skf-color-neutral-light);--skf-bg-color-neutral-4: light-dark( var(--skf-color-neutral-base), var(--skf-color-neutral-base) );--skf-bg-color-neutral-5: var(--skf-color-neutral-dark);--skf-bg-color-neutral-6: var(--skf-color-neutral-darker);--skf-bg-color-neutral-7: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-white) );--skf-bg-color-emphasised: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base))}:host,:where(:root){--skf-text-color-primary: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-lightest) );--skf-text-color-secondary: var(--skf-color-neutral-darkest);--skf-text-color-tertiary: var(--skf-color-neutral-dark);--skf-text-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-text-color-emphasised: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base))}:host,:where(:root){--skf-icon-size-xs: var(--skf-size-16);--skf-icon-size-sm: var(--skf-size-20);--skf-icon-size-md: var(--skf-size-24);--skf-icon-size-lg: var(--skf-size-32)}:host,:where(:root){--skf-icon-color-primary: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-black) );--skf-icon-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-icon-color-emphasised: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base));--skf-icon-color-secondary: var(--skf-color-neutral-darkest)}:host,:where(:root){--skf-border-color-emphasised: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-border-color-primary: var(--skf-color-neutral-dark);--skf-border-color-secondary: light-dark( var(--skf-color-neutral-base), var(--skf-color-neutral-base) );--skf-border-color-tertiary: var(--skf-color-neutral-light);--skf-border-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) )}:host,:where(:root){--skf-border-width-md: var(--skf-size-2);--skf-border-width-lg: var(--skf-size-4);--skf-border-width-sm: var(--skf-size-1)}:host,:where(:root){--skf-border-radius-md: var(--skf-size-8);--skf-border-radius-lg: var(--skf-size-16);--skf-border-radius-sm: var(--skf-size-2)}:host,:where(:root){--skf-interactive-bg-color-primary: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-lightest) );--skf-interactive-bg-color-primary-hover: var(--skf-color-brand-dark);--skf-interactive-bg-color-primary-active: var(--skf-color-brand-darker);--skf-interactive-bg-color-secondary: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-interactive-bg-color-secondary-hover: var(--skf-color-brand-lightest);--skf-interactive-bg-color-secondary-active: var(--skf-color-brand-lighter);--skf-interactive-bg-color-tertiary: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-lightest) );--skf-interactive-bg-color-destructive: light-dark( var(--skf-color-red-base), var(--skf-color-red-base) );--skf-interactive-bg-color-destructive-hover: var(--skf-color-red-darker);--skf-interactive-bg-color-destructive-active: var(--skf-color-red-darkest);--skf-interactive-bg-color-disabled: var(--skf-color-neutral-lighter);--skf-interactive-bg-color-tertiary-hover: var(--skf-color-neutral-lighter);--skf-interactive-bg-color-tertiary-active: light-dark( var(--skf-color-neutral-base), var(--skf-color-neutral-lightest) );--skf-interactive-text-color-disabled: var(--skf-color-neutral-darker);--skf-interactive-text-color-primary: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-interactive-text-color-primary-hover: var(--skf-color-brand-dark);--skf-interactive-text-color-primary-active: var(--skf-color-brand-dark);--skf-interactive-text-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-interactive-text-color-inverse-hover: var(--skf-color-neutral-lightest);--skf-interactive-text-color-inverse-active: var(--skf-color-neutral-lightest);--skf-interactive-border-color-focus: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-interactive-border-color-disabled: var(--skf-color-neutral-darker);--skf-interactive-border-color-primary-hover: var(--skf-color-neutral-darkest);--skf-interactive-border-color-primary: var(--skf-color-neutral-dark);--skf-interactive-border-color-primary-active: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-interactive-icon-color-primary: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-black) );--skf-interactive-icon-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-interactive-icon-color-disabled: var(--skf-color-neutral-darker);--skf-interactive-icon-color-primary-hover: var(--skf-color-neutral-darkest);--skf-interactive-icon-color-inverse-hover: var(--skf-color-neutral-lightest)}:host,:where(:root){--skf-severity-bg-color-success: var(--skf-color-green-lightest);--skf-severity-bg-color-info: light-dark( var(--skf-color-blue-lighest), var(--skf-color-blue-lighest) );--skf-severity-bg-color-warning: var(--skf-color-orange-lightest);--skf-severity-bg-color-alert: var(--skf-color-yellow-lightest);--skf-severity-bg-color-error: var(--skf-color-red-lightest)}:host,:where(:root){--skf-severity-fg-color-success: light-dark( var(--skf-color-green-base), var(--skf-color-green-base) );--skf-severity-fg-color-info: light-dark(var(--skf-color-blue-base), var(--skf-color-blue-base));--skf-severity-fg-color-warning: light-dark( var(--skf-color-orange-base), var(--skf-color-orange-base) );--skf-severity-fg-color-error: light-dark(var(--skf-color-red-base), var(--skf-color-red-base));--skf-severity-fg-color-alert: light-dark( var(--skf-color-yellow-base), var(--skf-color-yellow-base) )}:host,:where(:root){--skf-spacing-25: var(--skf-size-4);--skf-spacing-50: var(--skf-size-8);--skf-spacing-75: var(--skf-size-12);--skf-spacing-100: var(--skf-size-16);--skf-spacing-125: var(--skf-size-20);--skf-spacing-150: var(--skf-size-24);--skf-spacing-200: var(--skf-size-32);--skf-spacing-250: var(--skf-size-44);--skf-spacing-300: var(--skf-size-48);--skf-spacing-400: var(--skf-size-56)}:host,:where(:root){--skf-font-size-25: var(--skf-type-scale-10);--skf-font-size-50: var(--skf-type-scale-12);--skf-font-size-75: var(--skf-type-scale-14);--skf-font-size-100: var(--skf-type-scale-16);--skf-font-size-200: var(--skf-type-scale-18);--skf-font-size-300: var(--skf-type-scale-20);--skf-font-size-400: var(--skf-type-scale-22);--skf-font-size-500: var(--skf-type-scale-24);--skf-font-size-600: var(--skf-type-scale-28);--skf-font-size-700: var(--skf-type-scale-32);--skf-font-size-800: var(--skf-type-scale-36);--skf-font-size-900: var(--skf-type-scale-40);--skf-font-size-1000: var(--skf-type-scale-46);--skf-font-size-1100: var(--skf-type-scale-50);--skf-font-size-1200: var(--skf-type-scale-56);--skf-font-size-1300: var(--skf-type-scale-64);--skf-font-size-1400: var(--skf-type-scale-72);--skf-font-size-1500: var(--skf-type-scale-90);--skf-font-size-1600: var(--skf-type-scale-124)}:host,:where(:root){--skf-font-weight-light: 100;--skf-font-weight-regular: 400;--skf-font-weight-medium: 500;--skf-font-weight-bold: 700}:host,:where(:root){--skf-font-family-sans: SKFSans}:host,:where(:root){--skf-line-height-25: var(--skf-type-scale-10);--skf-line-height-50: var(--skf-type-scale-12);--skf-line-height-75: var(--skf-type-scale-14);--skf-line-height-100: var(--skf-type-scale-16);--skf-line-height-200: var(--skf-type-scale-18);--skf-line-height-300: var(--skf-type-scale-20);--skf-line-height-400: var(--skf-type-scale-22);--skf-line-height-500: var(--skf-type-scale-24);--skf-line-height-600: var(--skf-type-scale-28);--skf-line-height-700: var(--skf-type-scale-32);--skf-line-height-800: var(--skf-type-scale-36);--skf-line-height-900: var(--skf-type-scale-40);--skf-line-height-1000: var(--skf-type-scale-46);--skf-line-height-1100: var(--skf-type-scale-50);--skf-line-height-1200: var(--skf-type-scale-56);--skf-line-height-1300: var(--skf-type-scale-64);--skf-line-height-1400: var(--skf-type-scale-72);--skf-line-height-1500: var(--skf-type-scale-90);--skf-line-height-size-1600: var(--skf-type-scale-124)}:host,:where(:root){--skf-motion-duration-fast: 200;--skf-motion-duration-normal: 300;--skf-motion-duration-slow: 400}:host,:where(:root){--skf-motion-easing-ease-in: ease-in;--skf-motion-easing-ease-out: ease-out}:host,:where(:root){--skf-shadow-xl: 0 10px 15px -3px #0000001a;--skf-shadow-md: 0 1px 3px 0 #0000001a;--skf-shadow-sm: 0 1px 2px 0 #0000000d;--skf-shadow-lg: 0 4px 6px -1px #0000001a}:host,:where(:root){--skf-logo-primary: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base));--skf-logo-secondary: light-dark(var(--skf-color-neutral-black), var(--skf-color-neutral-black));--skf-logo-inverse: light-dark(var(--skf-color-neutral-white), var(--skf-color-neutral-white))}body{color:var(--skf-text-color-primary);font:var(--skf-font-size-100) / var(--skf-line-height-300) var(--skf-font-family-sans);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}body:has(skf-dialog[open]){overflow:hidden}:not(:defined){visibility:hidden}
|
1
|
+
@charset "UTF-8";:host,:where(:root){--skf-color-green-lightest: #e5f3ecff;--skf-color-green-base: #048942ff;--skf-color-green-dark: #097c42ff;--skf-color-green-darker: #106b41ff;--skf-color-blue-lighest: #e7eefbff;--skf-color-blue-base: #4f84e0ff;--skf-color-blue-dark: #4978c8ff;--skf-color-blue-darker: #4167a8ff;--skf-color-yellow-lightest: #fff9e7ff;--skf-color-yellow-base: #ffca15ff;--skf-color-yellow-darker: #dfb31bff;--skf-color-yellow-darkest: #b49524ff;--skf-color-orange-lightest: #fff2e5ff;--skf-color-orange-base: #ff8004ff;--skf-color-orange-darker: #df740dff;--skf-color-orange-darkest: #b46518ff;--skf-color-red-lightest: #f9e5e5ff;--skf-color-red-base: #cc0000ff;--skf-color-red-darker: #b3080aff;--skf-color-red-darkest: #921217ff;--skf-color-neutral-lightest: #f6f6f6ff;--skf-color-neutral-lighter: #ebeceeff;--skf-color-neutral-light: #d5d8dcff;--skf-color-neutral-base: #c7cad0ff;--skf-color-neutral-dark: #aaafb8ff;--skf-color-neutral-darker: #808895ff;--skf-color-neutral-darkest: #676f7cff;--skf-color-neutral-black: #273342ff;--skf-color-neutral-white: #ffffffff;--skf-color-brand-base: #0f58d6ff;--skf-color-brand-lightest: #d9e4f8ff;--skf-color-brand-lighter: #c5d7f5ff;--skf-color-brand-dark: #084abdff;--skf-color-neutral-transparent: #ffffff00;--skf-color-neutral-opacity: #12111199;--skf-color-brand-darker: #0b3e96ff}:host,:where(:root){--skf-size-1: .0625rem;--skf-size-2: .125rem;--skf-size-4: .25rem;--skf-size-8: .5rem;--skf-size-12: .75rem;--skf-size-16: 1rem;--skf-size-20: 1.25rem;--skf-size-24: 1.5rem;--skf-size-32: 2rem;--skf-size-44: 2.75rem;--skf-size-48: 3rem;--skf-size-56: 3.5rem}:host,:where(:root){--skf-type-scale-10: .625rem;--skf-type-scale-12: .75rem;--skf-type-scale-14: .875rem;--skf-type-scale-16: 1rem;--skf-type-scale-18: 1.125rem;--skf-type-scale-20: 1.25rem;--skf-type-scale-22: 1.375rem;--skf-type-scale-24: 1.5rem;--skf-type-scale-28: 1.75rem;--skf-type-scale-32: 2rem;--skf-type-scale-36: 2.25rem;--skf-type-scale-40: 2.5rem;--skf-type-scale-46: 2.875rem;--skf-type-scale-50: 3.125rem;--skf-type-scale-56: 3.5rem;--skf-type-scale-64: 4rem;--skf-type-scale-72: 4.5rem;--skf-type-scale-90: 5.625rem;--skf-type-scale-124: 7.75rem}:host,:where(:root){--skf-bg-color-neutral-1: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-light) );--skf-bg-color-neutral-2: var(--skf-color-neutral-lighter);--skf-bg-color-neutral-3: var(--skf-color-neutral-light);--skf-bg-color-neutral-4: light-dark( var(--skf-color-neutral-base), var(--skf-color-neutral-base) );--skf-bg-color-neutral-5: var(--skf-color-neutral-dark);--skf-bg-color-neutral-6: var(--skf-color-neutral-darker);--skf-bg-color-neutral-7: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-white) );--skf-bg-color-emphasised: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base))}:host,:where(:root){--skf-text-color-primary: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-lightest) );--skf-text-color-secondary: var(--skf-color-neutral-darkest);--skf-text-color-tertiary: var(--skf-color-neutral-dark);--skf-text-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-text-color-emphasised: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base))}:host,:where(:root){--skf-icon-size-xs: var(--skf-size-16);--skf-icon-size-sm: var(--skf-size-20);--skf-icon-size-md: var(--skf-size-24);--skf-icon-size-lg: var(--skf-size-32)}:host,:where(:root){--skf-icon-color-primary: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-black) );--skf-icon-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-icon-color-emphasised: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base));--skf-icon-color-secondary: var(--skf-color-neutral-darkest)}:host,:where(:root){--skf-border-color-emphasised: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-border-color-primary: var(--skf-color-neutral-dark);--skf-border-color-secondary: light-dark( var(--skf-color-neutral-base), var(--skf-color-neutral-base) );--skf-border-color-tertiary: var(--skf-color-neutral-light);--skf-border-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) )}:host,:where(:root){--skf-border-width-md: var(--skf-size-2);--skf-border-width-lg: var(--skf-size-4);--skf-border-width-sm: var(--skf-size-1)}:host,:where(:root){--skf-border-radius-md: var(--skf-size-8);--skf-border-radius-lg: var(--skf-size-16);--skf-border-radius-sm: var(--skf-size-2)}:host,:where(:root){--skf-interactive-bg-color-primary: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-lightest) );--skf-interactive-bg-color-primary-hover: var(--skf-color-brand-dark);--skf-interactive-bg-color-primary-active: var(--skf-color-brand-darker);--skf-interactive-bg-color-secondary: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-interactive-bg-color-secondary-hover: var(--skf-color-brand-lightest);--skf-interactive-bg-color-secondary-active: var(--skf-color-brand-lighter);--skf-interactive-bg-color-tertiary: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-lightest) );--skf-interactive-bg-color-destructive: light-dark( var(--skf-color-red-base), var(--skf-color-red-base) );--skf-interactive-bg-color-destructive-hover: var(--skf-color-red-darker);--skf-interactive-bg-color-destructive-active: var(--skf-color-red-darkest);--skf-interactive-bg-color-disabled: var(--skf-color-neutral-lighter);--skf-interactive-bg-color-tertiary-hover: var(--skf-color-neutral-lighter);--skf-interactive-bg-color-tertiary-active: light-dark( var(--skf-color-neutral-base), var(--skf-color-neutral-lightest) );--skf-interactive-text-color-disabled: var(--skf-color-neutral-darker);--skf-interactive-text-color-primary: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-interactive-text-color-primary-hover: var(--skf-color-brand-dark);--skf-interactive-text-color-primary-active: var(--skf-color-brand-dark);--skf-interactive-text-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-interactive-text-color-inverse-hover: var(--skf-color-neutral-lightest);--skf-interactive-text-color-inverse-active: var(--skf-color-neutral-lightest);--skf-interactive-border-color-focus: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-interactive-border-color-disabled: var(--skf-color-neutral-darker);--skf-interactive-border-color-primary-hover: var(--skf-color-neutral-darkest);--skf-interactive-border-color-primary: var(--skf-color-neutral-dark);--skf-interactive-border-color-primary-active: light-dark( var(--skf-color-brand-base), var(--skf-color-brand-base) );--skf-interactive-icon-color-primary: light-dark( var(--skf-color-neutral-black), var(--skf-color-neutral-black) );--skf-interactive-icon-color-inverse: light-dark( var(--skf-color-neutral-white), var(--skf-color-neutral-white) );--skf-interactive-icon-color-disabled: var(--skf-color-neutral-darker);--skf-interactive-icon-color-primary-hover: var(--skf-color-neutral-darkest);--skf-interactive-icon-color-inverse-hover: var(--skf-color-neutral-lightest)}:host,:where(:root){--skf-severity-bg-color-success: var(--skf-color-green-lightest);--skf-severity-bg-color-info: light-dark( var(--skf-color-blue-lighest), var(--skf-color-blue-lighest) );--skf-severity-bg-color-warning: var(--skf-color-orange-lightest);--skf-severity-bg-color-alert: var(--skf-color-yellow-lightest);--skf-severity-bg-color-error: var(--skf-color-red-lightest)}:host,:where(:root){--skf-severity-fg-color-success: light-dark( var(--skf-color-green-base), var(--skf-color-green-base) );--skf-severity-fg-color-info: light-dark(var(--skf-color-blue-base), var(--skf-color-blue-base));--skf-severity-fg-color-warning: light-dark( var(--skf-color-orange-base), var(--skf-color-orange-base) );--skf-severity-fg-color-error: light-dark(var(--skf-color-red-base), var(--skf-color-red-base));--skf-severity-fg-color-alert: light-dark( var(--skf-color-yellow-base), var(--skf-color-yellow-base) )}:host,:where(:root){--skf-spacing-25: var(--skf-size-4);--skf-spacing-50: var(--skf-size-8);--skf-spacing-75: var(--skf-size-12);--skf-spacing-100: var(--skf-size-16);--skf-spacing-125: var(--skf-size-20);--skf-spacing-150: var(--skf-size-24);--skf-spacing-200: var(--skf-size-32);--skf-spacing-250: var(--skf-size-44);--skf-spacing-300: var(--skf-size-48);--skf-spacing-400: var(--skf-size-56)}:host,:where(:root){--skf-font-size-25: var(--skf-type-scale-10);--skf-font-size-50: var(--skf-type-scale-12);--skf-font-size-75: var(--skf-type-scale-14);--skf-font-size-100: var(--skf-type-scale-16);--skf-font-size-200: var(--skf-type-scale-18);--skf-font-size-300: var(--skf-type-scale-20);--skf-font-size-400: var(--skf-type-scale-22);--skf-font-size-500: var(--skf-type-scale-24);--skf-font-size-600: var(--skf-type-scale-28);--skf-font-size-700: var(--skf-type-scale-32);--skf-font-size-800: var(--skf-type-scale-36);--skf-font-size-900: var(--skf-type-scale-40);--skf-font-size-1000: var(--skf-type-scale-46);--skf-font-size-1100: var(--skf-type-scale-50);--skf-font-size-1200: var(--skf-type-scale-56);--skf-font-size-1300: var(--skf-type-scale-64);--skf-font-size-1400: var(--skf-type-scale-72);--skf-font-size-1500: var(--skf-type-scale-90);--skf-font-size-1600: var(--skf-type-scale-124)}:host,:where(:root){--skf-font-weight-light: 100;--skf-font-weight-regular: 400;--skf-font-weight-medium: 500;--skf-font-weight-bold: 700}:host,:where(:root){--skf-font-family-sans: SKFSans}:host,:where(:root){--skf-line-height-25: var(--skf-type-scale-10);--skf-line-height-50: var(--skf-type-scale-12);--skf-line-height-75: var(--skf-type-scale-14);--skf-line-height-100: var(--skf-type-scale-16);--skf-line-height-200: var(--skf-type-scale-18);--skf-line-height-300: var(--skf-type-scale-20);--skf-line-height-400: var(--skf-type-scale-22);--skf-line-height-500: var(--skf-type-scale-24);--skf-line-height-600: var(--skf-type-scale-28);--skf-line-height-700: var(--skf-type-scale-32);--skf-line-height-800: var(--skf-type-scale-36);--skf-line-height-900: var(--skf-type-scale-40);--skf-line-height-1000: var(--skf-type-scale-46);--skf-line-height-1100: var(--skf-type-scale-50);--skf-line-height-1200: var(--skf-type-scale-56);--skf-line-height-1300: var(--skf-type-scale-64);--skf-line-height-1400: var(--skf-type-scale-72);--skf-line-height-1500: var(--skf-type-scale-90);--skf-line-height-size-1600: var(--skf-type-scale-124)}:host,:where(:root){--skf-motion-duration-fast: 200;--skf-motion-duration-normal: 300;--skf-motion-duration-slow: 400}:host,:where(:root){--skf-motion-easing-ease-in: ease-in;--skf-motion-easing-ease-out: ease-out}:host,:where(:root){--skf-shadow-xl: 0 10px 15px -3px #0000001a;--skf-shadow-md: 0 1px 3px 0 #0000001a;--skf-shadow-sm: 0 1px 2px 0 #0000000d;--skf-shadow-lg: 0 4px 6px -1px #0000001a}:host,:where(:root){--skf-logo-primary: light-dark(var(--skf-color-brand-base), var(--skf-color-brand-base));--skf-logo-secondary: light-dark(var(--skf-color-neutral-black), var(--skf-color-neutral-black));--skf-logo-inverse: light-dark(var(--skf-color-neutral-white), var(--skf-color-neutral-white))}body{color:var(--skf-text-color-primary);font:var(--skf-font-size-100) / var(--skf-line-height-300) var(--skf-font-family-sans);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}body:has(skf-dialog[open]){overflow:hidden}
|