@ebrains/react 0.9.3-beta → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/{analytics-44b1416b.esm.js → analytics-d99780e3.esm.js} +2 -2
- package/color-primary-palette_6.entry.esm.js +106 -106
- package/components-section.entry.esm.js +22 -16
- package/correct-use-of-colors.entry.esm.js +33 -33
- package/docs-palettes.entry.esm.js +1 -1
- package/docs-tokens.entry.esm.js +1 -1
- package/eds-accordion.entry.esm.js +2 -2
- package/eds-alert.entry.esm.js +1 -1
- package/eds-app-root.entry.esm.js +4 -4
- package/eds-avatar_34.entry.esm.js +3594 -0
- package/eds-card-project.entry.esm.js +130 -13
- package/eds-card-tool.entry.esm.js +5 -5
- package/eds-cookies-preference.entry.esm.js +2 -2
- package/eds-feedback.entry.esm.js +12 -7
- package/eds-frame.entry.esm.js +6 -6
- package/eds-matomo-notice.entry.esm.js +5 -8
- package/eds-pagination_2.entry.esm.js +10 -10
- package/eds-progress-bar.entry.esm.js +19 -8
- package/eds-rating.entry.esm.js +1 -1
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-spinner.entry.esm.js +3 -3
- package/eds-splash-screen.entry.esm.js +87 -0
- package/eds-switch.entry.esm.js +21 -11
- package/eds-timeline.entry.esm.js +5 -5
- package/eds-toast-manager.entry.esm.js +33 -2
- package/eds-toast.entry.esm.js +4 -3
- package/eds-trl.entry.esm.js +2 -2
- package/incorrect-use-of-colors.entry.esm.js +11 -8
- package/index.esm.js +1 -1
- package/index.esm2.js +39 -314
- package/logo-space.entry.esm.js +9 -9
- package/logo-variations-horizontal_2.entry.esm.js +28 -28
- package/logo-variations-tabs.entry.esm.js +1 -1
- package/logo-wrong-usage.entry.esm.js +25 -25
- package/package.json +1 -1
- package/src/components.d.ts +2 -2
- package/src/generated/components.d.ts +1 -1
- package/svg-repository.entry.esm.js +2 -2
- package/token-list_3.entry.esm.js +5 -5
- package/token-ratios.entry.esm.js +3 -3
- package/token-typography.entry.esm.js +2 -2
- package/color-2554aad6.esm.js +0 -122
- package/eds-avatar_27.entry.esm.js +0 -332
- package/eds-card-desc_2.entry.esm.js +0 -86
- package/eds-card-generic.entry.esm.js +0 -114
- package/eds-card-wrapper.entry.esm.js +0 -39
- package/eds-login_2.entry.esm.js +0 -1828
- package/eds-tabs.entry.esm.js +0 -143
- package/eds-tooltip.entry.esm.js +0 -125
- package/toastManager-d9eee791.esm.js +0 -34
|
@@ -5,7 +5,7 @@ import 'react-dom';
|
|
|
5
5
|
|
|
6
6
|
const DocsOverview = () => h("div", {
|
|
7
7
|
class: "static-content container"
|
|
8
|
-
}, h("h2", null, "Load the module"), h("p", null, "Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the",
|
|
8
|
+
}, h("h2", null, "Load the module"), h("p", null, "Integrating the EBRAINS UI Components to a project ", h("b", null, "with or without a JavaScript framework"), " is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the ", h("code", null, "head"), "."), h("eds-code-block", {
|
|
9
9
|
code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>",
|
|
10
10
|
language: "javascript",
|
|
11
11
|
"copy-label": "Copy Code"
|
|
@@ -27,15 +27,15 @@ const DocsOverview = () => h("div", {
|
|
|
27
27
|
code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>',
|
|
28
28
|
language: "html",
|
|
29
29
|
"copy-label": "Copy Code"
|
|
30
|
-
}), h("h2", null, "Load the styles"), h("p", null, "To directly use the produced
|
|
31
|
-
code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/
|
|
30
|
+
}), h("h2", null, "Load the variables and styles"), h("p", null, "To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the", ' ', h("code", null, "head"), ". This approach is recommended when you\u2019re working solely with the web components and want minimal integration. That said, the components are configured to require only these CSS variables and nothing more."), h("eds-code-block", {
|
|
31
|
+
code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>',
|
|
32
32
|
language: "css",
|
|
33
33
|
"copy-label": "Copy Code"
|
|
34
|
-
}), h("p", null, "To directly use
|
|
35
|
-
code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/
|
|
34
|
+
}), h("p", null, "To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the", ' ', h("code", null, "head"), ". Use this when you want quick access to ready-made utilities for building your own components or applications and you do not wish to dive deep to css configurations."), h("eds-code-block", {
|
|
35
|
+
code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',
|
|
36
36
|
language: "css",
|
|
37
37
|
"copy-label": "Copy Code"
|
|
38
|
-
}), h("p", null, "Note that, loading the predefined CSS framework above,", ' ', h("b", null, "automatically loads the fonts so you can skip loading them separately"), ". If you wish, however, to load the fonts, add the tag below to the ", h("code", null, "head")), h("eds-code-block", {
|
|
38
|
+
}), h("p", null, "Note that, loading either the variables or the predefined CSS framework above,", ' ', h("b", null, "automatically loads the fonts so you can skip loading them separately"), ". If you wish, however, to load the fonts, add the tag below to the ", h("code", null, "head")), h("eds-code-block", {
|
|
39
39
|
code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>',
|
|
40
40
|
language: "css",
|
|
41
41
|
"copy-label": "Copy Code"
|
|
@@ -49,25 +49,31 @@ const DocsInstallation = () => h("div", null, h("p", null, "Before proceeding, e
|
|
|
49
49
|
})), h("div", {
|
|
50
50
|
class: "my-8"
|
|
51
51
|
}, h("eds-code-block", {
|
|
52
|
-
code: "npm install @ebrains/
|
|
52
|
+
code: "npm install @ebrains/react",
|
|
53
53
|
language: "html",
|
|
54
54
|
"copy-label": "Copy Code"
|
|
55
55
|
})), h("div", {
|
|
56
56
|
class: "my-8"
|
|
57
57
|
}, h("eds-code-block", {
|
|
58
|
-
code: "npm install @ebrains/
|
|
58
|
+
code: "npm install @ebrains/vue",
|
|
59
59
|
language: "html",
|
|
60
60
|
"copy-label": "Copy Code"
|
|
61
61
|
})), h("div", {
|
|
62
62
|
class: "my-8"
|
|
63
63
|
}, h("eds-code-block", {
|
|
64
|
-
code: "npm install @ebrains/
|
|
64
|
+
code: "npm install @ebrains/angular",
|
|
65
65
|
language: "html",
|
|
66
66
|
"copy-label": "Copy Code"
|
|
67
67
|
})), h("div", {
|
|
68
68
|
class: "my-8"
|
|
69
69
|
}, h("eds-code-block", {
|
|
70
|
-
code: "npm install @ebrains/
|
|
70
|
+
code: "npm install @ebrains/assets",
|
|
71
|
+
language: "html",
|
|
72
|
+
"copy-label": "Copy Code"
|
|
73
|
+
})), h("div", {
|
|
74
|
+
class: "my-8"
|
|
75
|
+
}, h("eds-code-block", {
|
|
76
|
+
code: "npm install @ebrains/svgs",
|
|
71
77
|
language: "html",
|
|
72
78
|
"copy-label": "Copy Code"
|
|
73
79
|
})));
|
|
@@ -113,16 +119,16 @@ const DocsVue = () => h("div", null, h("h2", null, "Vue Wrappers"), h("p", null,
|
|
|
113
119
|
language: "javascript",
|
|
114
120
|
"copy-label": "Copy Code"
|
|
115
121
|
})));
|
|
116
|
-
const DocsAngular = () => h("div", null, h("h2", null, "Angular Wrappers"), h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."), h("eds-code-block", {
|
|
122
|
+
const DocsAngular = () => h("div", null, h("h2", null, "Angular Wrappers"), h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples. The Angular Stencil output type used for this package = `standalone`."), h("eds-code-block", {
|
|
117
123
|
code: "npm install @ebrains/angular",
|
|
118
124
|
language: "javascript",
|
|
119
125
|
"copy-label": "Copy Code"
|
|
120
|
-
}), h("p", null, "
|
|
121
|
-
code: "
|
|
126
|
+
}), h("p", null, "Install the components dependency as this important for the angular package to work properly."), h("eds-code-block", {
|
|
127
|
+
code: "npm install @ebrains/components",
|
|
122
128
|
language: "javascript",
|
|
123
129
|
"copy-label": "Copy Code"
|
|
124
|
-
}), h("p", null, "
|
|
125
|
-
code:
|
|
130
|
+
}), h("p", null, "Define the custom elements"), h("eds-code-block", {
|
|
131
|
+
code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();",
|
|
126
132
|
language: "javascript",
|
|
127
133
|
"copy-label": "Copy Code"
|
|
128
134
|
}), h("eds-section-core", {
|
|
@@ -156,7 +162,7 @@ const ComponentsSection = class {
|
|
|
156
162
|
}
|
|
157
163
|
render() {
|
|
158
164
|
return h("div", {
|
|
159
|
-
key: '
|
|
165
|
+
key: 'd68c9ede251456d88ef2a033691927c87c8ec163',
|
|
160
166
|
class: "container"
|
|
161
167
|
}, this.renderContent());
|
|
162
168
|
}
|
|
@@ -42,13 +42,13 @@ const CorrectUseOfColors = class {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
return h("div", {
|
|
45
|
-
key: '
|
|
45
|
+
key: 'eb7fe8a13ba44aa0b8327fd042177817577aa9ca',
|
|
46
46
|
class: "container"
|
|
47
47
|
}, h("p", {
|
|
48
|
-
key: '
|
|
48
|
+
key: 'b9e731a3184cc72a0dd4c31bc207185789b1c747',
|
|
49
49
|
class: "f-body-01"
|
|
50
50
|
}, "This guide demonstrates the correct usage of the", h("eds-link", {
|
|
51
|
-
key: '
|
|
51
|
+
key: '9ac1f24993a47743b62504a9ac5cfaa67ea94867',
|
|
52
52
|
label: "primary",
|
|
53
53
|
size: "small",
|
|
54
54
|
intent: "underline",
|
|
@@ -56,7 +56,7 @@ const CorrectUseOfColors = class {
|
|
|
56
56
|
url: "../color-palette/#primary-palette",
|
|
57
57
|
"extra-class": "inline-block ml-4"
|
|
58
58
|
}), "and", h("eds-link", {
|
|
59
|
-
key: '
|
|
59
|
+
key: '82eb7946b881f69719a7785ded23355e34aa3023',
|
|
60
60
|
label: "support",
|
|
61
61
|
size: "small",
|
|
62
62
|
intent: "underline",
|
|
@@ -64,13 +64,13 @@ const CorrectUseOfColors = class {
|
|
|
64
64
|
url: "../color-palette/#support-palette",
|
|
65
65
|
"extra-class": "inline-block ml-4"
|
|
66
66
|
}), "color palettes."), h("div", {
|
|
67
|
-
key: '
|
|
67
|
+
key: 'a1bde4ba25a05fdc3a43bd008748f0ae74224142',
|
|
68
68
|
class: "flex"
|
|
69
69
|
}, h("div", {
|
|
70
|
-
key: '
|
|
70
|
+
key: 'e6399a78c1d41e79041ad0e91356468e9e94a004',
|
|
71
71
|
class: "w-full"
|
|
72
72
|
}, h("ul", {
|
|
73
|
-
key: '
|
|
73
|
+
key: '438acfe268f49ca5b77c20af74213283ac68e851',
|
|
74
74
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
75
75
|
}, primary.map(color => h("li", {
|
|
76
76
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -80,10 +80,10 @@ const CorrectUseOfColors = class {
|
|
|
80
80
|
backgroundColor: color.background
|
|
81
81
|
}
|
|
82
82
|
}))))), h("div", {
|
|
83
|
-
key: '
|
|
83
|
+
key: '41cf8ea398e273788e32889e705debd21f102a9f',
|
|
84
84
|
class: "w-full"
|
|
85
85
|
}, h("ul", {
|
|
86
|
-
key: '
|
|
86
|
+
key: 'b200fe46847e64efee26fb863151f08e2a175220',
|
|
87
87
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
88
88
|
}, support.map(color => h("li", {
|
|
89
89
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -93,10 +93,10 @@ const CorrectUseOfColors = class {
|
|
|
93
93
|
backgroundColor: color.background
|
|
94
94
|
}
|
|
95
95
|
})))))), h("p", {
|
|
96
|
-
key: '
|
|
96
|
+
key: '9fe567482bfbad7fc0bc4083756622259fd83e45',
|
|
97
97
|
class: "f-body-01"
|
|
98
98
|
}, "This guide demonstrates the correct usage of the", h("eds-link", {
|
|
99
|
-
key: '
|
|
99
|
+
key: 'bd26b1b4c4ac1082eef246f9d1b6b13245b1d69f',
|
|
100
100
|
label: "purple",
|
|
101
101
|
size: "small",
|
|
102
102
|
intent: "underline",
|
|
@@ -104,7 +104,7 @@ const CorrectUseOfColors = class {
|
|
|
104
104
|
url: "../color-palette/#primary-palette",
|
|
105
105
|
"extra-class": "inline-block ml-4"
|
|
106
106
|
}), "and", h("eds-link", {
|
|
107
|
-
key: '
|
|
107
|
+
key: 'b3a9897628cdcb7086397d7f7662591da4debdd4',
|
|
108
108
|
label: "support",
|
|
109
109
|
size: "small",
|
|
110
110
|
intent: "underline",
|
|
@@ -112,13 +112,13 @@ const CorrectUseOfColors = class {
|
|
|
112
112
|
url: "../color-palette/#support-palette",
|
|
113
113
|
"extra-class": "inline-block ml-4"
|
|
114
114
|
}), "color palettes."), h("div", {
|
|
115
|
-
key: '
|
|
115
|
+
key: 'fc54b467ddd6faa62e81fe56170f0ed43fccd52e',
|
|
116
116
|
class: "flex"
|
|
117
117
|
}, h("div", {
|
|
118
|
-
key: '
|
|
118
|
+
key: '930d475074e002439847f152d95ed1f764536791',
|
|
119
119
|
class: "w-full"
|
|
120
120
|
}, h("ul", {
|
|
121
|
-
key: '
|
|
121
|
+
key: 'ad8085fd5a4dcc8cd4cc2a4c0d6522673b0f69c3',
|
|
122
122
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
123
123
|
}, purple.map(color => h("li", {
|
|
124
124
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -128,10 +128,10 @@ const CorrectUseOfColors = class {
|
|
|
128
128
|
backgroundColor: color.background
|
|
129
129
|
}
|
|
130
130
|
}))))), h("div", {
|
|
131
|
-
key: '
|
|
131
|
+
key: 'c9d7c736f8248fa7f1b689ec7a8eed24853de384',
|
|
132
132
|
class: "w-full"
|
|
133
133
|
}, h("ul", {
|
|
134
|
-
key: '
|
|
134
|
+
key: '9191d41ef9f3947f91420e925f4ae5029aaf0e73',
|
|
135
135
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
136
136
|
}, support.map(color => h("li", {
|
|
137
137
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -141,10 +141,10 @@ const CorrectUseOfColors = class {
|
|
|
141
141
|
backgroundColor: color.background
|
|
142
142
|
}
|
|
143
143
|
})))))), h("p", {
|
|
144
|
-
key: '
|
|
144
|
+
key: 'ed9e3ebc14a1ecd0744d8adf6b58df54a325565f',
|
|
145
145
|
class: "f-body-01"
|
|
146
146
|
}, "This guide demonstrates the correct usage of the", h("eds-link", {
|
|
147
|
-
key: '
|
|
147
|
+
key: '5104e373031bc9381db7e274fba47f3d36d8fc14',
|
|
148
148
|
label: "blue",
|
|
149
149
|
size: "small",
|
|
150
150
|
intent: "underline",
|
|
@@ -152,7 +152,7 @@ const CorrectUseOfColors = class {
|
|
|
152
152
|
url: "../color-palette/#primary-palette",
|
|
153
153
|
"extra-class": "inline-block ml-4"
|
|
154
154
|
}), "and", h("eds-link", {
|
|
155
|
-
key: '
|
|
155
|
+
key: '2d0ff6d98eaf2b195725eb87b1cf8c264071787c',
|
|
156
156
|
label: "support",
|
|
157
157
|
size: "small",
|
|
158
158
|
intent: "underline",
|
|
@@ -160,13 +160,13 @@ const CorrectUseOfColors = class {
|
|
|
160
160
|
url: "../color-palette/#support-palette",
|
|
161
161
|
"extra-class": "inline-block ml-4"
|
|
162
162
|
}), "color palettes."), h("div", {
|
|
163
|
-
key: '
|
|
163
|
+
key: 'a660e8df517ab4c1b4b47fa777bd0e5c06156161',
|
|
164
164
|
class: "flex"
|
|
165
165
|
}, h("div", {
|
|
166
|
-
key: '
|
|
166
|
+
key: '7346d762b781cf27fdf784a1100608b74a28eaca',
|
|
167
167
|
class: "w-full"
|
|
168
168
|
}, h("ul", {
|
|
169
|
-
key: '
|
|
169
|
+
key: '91a7f50ffb513045c7d52987ecd33f3707332083',
|
|
170
170
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
171
171
|
}, blue.map(color => h("li", {
|
|
172
172
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -176,10 +176,10 @@ const CorrectUseOfColors = class {
|
|
|
176
176
|
backgroundColor: color.background
|
|
177
177
|
}
|
|
178
178
|
}))))), h("div", {
|
|
179
|
-
key: '
|
|
179
|
+
key: 'e4d61bb10342c7c27e19a5fc43a3823e2ac36db7',
|
|
180
180
|
class: "w-full"
|
|
181
181
|
}, h("ul", {
|
|
182
|
-
key: '
|
|
182
|
+
key: 'ab40fb356845c3c15255a591299d3aa3a4bcd415',
|
|
183
183
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
184
184
|
}, support.map(color => h("li", {
|
|
185
185
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -189,10 +189,10 @@ const CorrectUseOfColors = class {
|
|
|
189
189
|
backgroundColor: color.background
|
|
190
190
|
}
|
|
191
191
|
})))))), h("p", {
|
|
192
|
-
key: '
|
|
192
|
+
key: '15c61baa18cac41eefdfd631e6e62d8ad665fd00',
|
|
193
193
|
class: "f-body-01"
|
|
194
194
|
}, "This guide demonstrates the correct usage of the", h("eds-link", {
|
|
195
|
-
key: '
|
|
195
|
+
key: '8abd1e309700248f865906e667ffdb2db172c923',
|
|
196
196
|
label: "redish",
|
|
197
197
|
size: "small",
|
|
198
198
|
intent: "underline",
|
|
@@ -200,7 +200,7 @@ const CorrectUseOfColors = class {
|
|
|
200
200
|
url: "../color-palette/#primary-palette",
|
|
201
201
|
"extra-class": "inline-block ml-4"
|
|
202
202
|
}), "and", h("eds-link", {
|
|
203
|
-
key: '
|
|
203
|
+
key: '9cc22cdc51c4e6b5ea28afd62e5b7fe10b6f57bf',
|
|
204
204
|
label: "support",
|
|
205
205
|
size: "small",
|
|
206
206
|
intent: "underline",
|
|
@@ -208,13 +208,13 @@ const CorrectUseOfColors = class {
|
|
|
208
208
|
url: "../color-palette/#support-palette",
|
|
209
209
|
"extra-class": "inline-block ml-4"
|
|
210
210
|
}), "color palettes."), h("div", {
|
|
211
|
-
key: '
|
|
211
|
+
key: '8cb15f36de63b4425be410d395b56829427a2b13',
|
|
212
212
|
class: "flex"
|
|
213
213
|
}, h("div", {
|
|
214
|
-
key: '
|
|
214
|
+
key: 'e47f595ad0af29333fdb3090eae08b65b908e87d',
|
|
215
215
|
class: "w-full"
|
|
216
216
|
}, h("ul", {
|
|
217
|
-
key: '
|
|
217
|
+
key: '27b7f0ee1650d169f17bee8a776ced534c2f8b37',
|
|
218
218
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
219
219
|
}, red.map(color => h("li", {
|
|
220
220
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -224,10 +224,10 @@ const CorrectUseOfColors = class {
|
|
|
224
224
|
backgroundColor: color.background
|
|
225
225
|
}
|
|
226
226
|
}))))), h("div", {
|
|
227
|
-
key: '
|
|
227
|
+
key: '40ed8de907089964f83ce2ebd2734b00ba378847',
|
|
228
228
|
class: "w-full"
|
|
229
229
|
}, h("ul", {
|
|
230
|
-
key: '
|
|
230
|
+
key: '8b1bdd17aa9e0c60484120b58e67ec3d09ddc533',
|
|
231
231
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
232
232
|
}, support.map(color => h("li", {
|
|
233
233
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
package/docs-tokens.entry.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index.esm2.js';
|
|
2
|
-
import { s as sendAnalytics } from './analytics-
|
|
2
|
+
import { s as sendAnalytics } from './analytics-d99780e3.esm.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom';
|
|
6
6
|
|
|
7
|
-
const edsAccordionCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-
|
|
7
|
+
const edsAccordionCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}";
|
|
8
8
|
const EdsAccordionStyle0 = edsAccordionCss;
|
|
9
9
|
const EdsAccordion = class {
|
|
10
10
|
constructor(hostRef) {
|
package/eds-alert.entry.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom';
|
|
6
6
|
|
|
7
|
-
const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\n\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*,\n::before,\n::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: currentColor;\n /* 2 */\n}\n\n::before,\n::after {}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder,\ntextarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n:root {\n --inner-gutter: 8px;\n}\n\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n:root {}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n@media (min-width: 750px) {\n :root {}\n}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n@media (min-width: 1024px) {\n :root {}\n}\n\n.f-ui-01 b,\n.f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n\n@media (min-width: 750px) {\n .md\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .md\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n@media (min-width: 900px) {\n .lg\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .lg\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n\n.space-y-12> :not([hidden])~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-error {\n background-color: var(--red-200);\n}\n\n.bg-success {\n background-color: var(--green-200);\n}\n\n.bg-warning {\n background-color: var(--yellow-200);\n}\n\n.p-16 {\n padding: 1rem;\n}\n\n.p-20 {\n padding: 1.25rem;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pr-12 {\n padding-right: 0.75rem;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n[class*=underline-] {\n text-decoration-line: underline;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}";
|
|
7
|
+
const edsAlertCss = "*,\n::before,\n::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: currentColor;\n}\n\np {\n margin: 0;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.flex {\n display: flex;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n\n.space-y-12> :not([hidden])~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-error {\n background-color: var(--red-200);\n}\n\n.bg-success {\n background-color: var(--green-200);\n}\n\n.bg-warning {\n background-color: var(--yellow-200);\n}\n\n.p-16 {\n padding: 1rem;\n}\n\n.p-20 {\n padding: 1.25rem;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pr-12 {\n padding-right: 0.75rem;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n[class*=underline-] {\n text-decoration-line: underline;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}";
|
|
8
8
|
const EdsAlertStyle0 = edsAlertCss;
|
|
9
9
|
const alertStyles = cva(['w-full bg-dark'], {
|
|
10
10
|
variants: {
|
|
@@ -34,18 +34,18 @@ const EdsAppRoot = class {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
return h("div", {
|
|
37
|
-
key: '
|
|
37
|
+
key: 'f7ff644cea84bfc78190afcfa33f1f6d6c6de29a'
|
|
38
38
|
}, h("eds-splash-screen", {
|
|
39
|
-
key: '
|
|
39
|
+
key: '5e04f163eafe8f0d55394b8f508386bac013907e',
|
|
40
40
|
inverse: true,
|
|
41
41
|
initPromise: this.combinedInitPromise
|
|
42
42
|
}), h("eds-login", {
|
|
43
|
-
key: '
|
|
43
|
+
key: '94c9dc0546e48fe8f9e6fc17fde9dcbf75fbe3bc',
|
|
44
44
|
"keycloak-url": "http://localhost:8080",
|
|
45
45
|
"keycloak-realm": "nigeor-realm",
|
|
46
46
|
"keycloak-client-id": "stencil-app"
|
|
47
47
|
}), h("main", {
|
|
48
|
-
key: '
|
|
48
|
+
key: '975cfb32924ecf0a4bb7d8f4788792eae500e166'
|
|
49
49
|
}, this.isAuthenticated ? h("h1", null, "Welcome, authenticated user!") : h("h1", null, "Please log in.")));
|
|
50
50
|
}
|
|
51
51
|
};
|