@digitalservicebund/ris-ui 2.0.0 → 3.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 +25 -24
- package/dist/components/RisAutoComplete/RisAutoComplete.vue.d.ts +6 -15
- package/dist/components/RisCopyableLabel/RisCopyableLabel.vue.d.ts +1 -1
- package/dist/components/RisExpandableText/RisExpandableText.vue.d.ts +72 -16
- package/dist/components/RisGhostButton/RisGhostButton.vue.d.ts +9 -12
- package/dist/components/RisSingleAccordion/RisSingleAccordion.vue.d.ts +37 -13
- package/dist/components/index.cjs +246 -202
- package/dist/components/index.js +3031 -2774
- package/dist/mockServiceWorker.js +1 -1
- package/dist/primevue/index.cjs +1 -1
- package/dist/primevue/index.d.ts +0 -1
- package/dist/primevue/index.js +59 -59
- package/dist/style.css +1 -1
- package/dist/tailwind/index.cjs +1 -1
- package/dist/tailwind/index.d.ts +1 -6
- package/dist/tailwind/index.js +1 -364
- package/package.json +39 -41
package/dist/tailwind/index.js
CHANGED
@@ -1,364 +1 @@
|
|
1
|
-
|
2
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
3
|
-
}
|
4
|
-
var a, c;
|
5
|
-
function m() {
|
6
|
-
return c || (c = 1, a = {
|
7
|
-
theme: {
|
8
|
-
colors: {
|
9
|
-
inherit: "inherit",
|
10
|
-
current: "currentColor",
|
11
|
-
transparent: "transparent",
|
12
|
-
black: "#0b0c0c",
|
13
|
-
blue: {
|
14
|
-
100: "#f2f6f8",
|
15
|
-
200: "#ecf1f4",
|
16
|
-
300: "#dce8ef",
|
17
|
-
400: "#ccdbe4",
|
18
|
-
500: "#b3c9d6",
|
19
|
-
600: "#6693ad",
|
20
|
-
700: "#336f91",
|
21
|
-
800: "#004b76",
|
22
|
-
900: "#003350"
|
23
|
-
},
|
24
|
-
gray: {
|
25
|
-
100: "#f6f7f8",
|
26
|
-
200: "#eff2f4",
|
27
|
-
300: "#edeef0",
|
28
|
-
400: "#dcdee1",
|
29
|
-
500: "#cacdd2",
|
30
|
-
600: "#b8bdc3",
|
31
|
-
700: "#a6acb5",
|
32
|
-
800: "#6f7785",
|
33
|
-
900: "#4e596a"
|
34
|
-
},
|
35
|
-
green: {
|
36
|
-
100: "#e8f7f0",
|
37
|
-
200: "#ccebdd",
|
38
|
-
300: "#b0d8c6",
|
39
|
-
400: "#97ccb4",
|
40
|
-
500: "#65b491",
|
41
|
-
600: "#349d6e",
|
42
|
-
700: "#01854a",
|
43
|
-
800: "#006538",
|
44
|
-
900: "#003e22"
|
45
|
-
},
|
46
|
-
orange: {
|
47
|
-
100: "#fef7e8",
|
48
|
-
200: "#fae5bb",
|
49
|
-
300: "#f9d791",
|
50
|
-
400: "#f8c967",
|
51
|
-
500: "#f7bb3d",
|
52
|
-
600: "#e9aa26",
|
53
|
-
700: "#d79815",
|
54
|
-
800: "#c18509",
|
55
|
-
900: "#ad7500"
|
56
|
-
},
|
57
|
-
red: {
|
58
|
-
100: "#fcf2f5",
|
59
|
-
200: "#f9e5ec",
|
60
|
-
300: "#f2ccd8",
|
61
|
-
400: "#ecb3c5",
|
62
|
-
500: "#e699b1",
|
63
|
-
600: "#d9668b",
|
64
|
-
700: "#c61a50",
|
65
|
-
800: "#b0243f",
|
66
|
-
900: "#8e001b"
|
67
|
-
},
|
68
|
-
white: "#fff",
|
69
|
-
yellow: {
|
70
|
-
100: "#fefcef",
|
71
|
-
200: "#fff9d2",
|
72
|
-
300: "#f9ec9e",
|
73
|
-
400: "#f7e67d",
|
74
|
-
500: "#f5e05d",
|
75
|
-
600: "#f2dc5d",
|
76
|
-
700: "#e5ce5c",
|
77
|
-
800: "#dac23c",
|
78
|
-
900: "#c3a91e"
|
79
|
-
}
|
80
|
-
},
|
81
|
-
fontFamily: {
|
82
|
-
"font-family-sans": [
|
83
|
-
"BundesSansWeb",
|
84
|
-
"Calibri",
|
85
|
-
"Verdana",
|
86
|
-
"Arial",
|
87
|
-
"Helvetica",
|
88
|
-
"sans-serif"
|
89
|
-
],
|
90
|
-
"font-family-serif": [
|
91
|
-
"BundesSerifWeb",
|
92
|
-
"Cambria",
|
93
|
-
"Georgia",
|
94
|
-
'"Times New Roman"',
|
95
|
-
"serif"
|
96
|
-
],
|
97
|
-
"font-family-condensed": [
|
98
|
-
"BundesSansCondWeb",
|
99
|
-
"Calibri",
|
100
|
-
"Verdana",
|
101
|
-
"Arial",
|
102
|
-
"Helvetica",
|
103
|
-
"sans-serif"
|
104
|
-
]
|
105
|
-
},
|
106
|
-
spacing: {
|
107
|
-
0: "0rem",
|
108
|
-
1: "0.0625rem",
|
109
|
-
2: "0.125rem",
|
110
|
-
4: "0.25rem",
|
111
|
-
6: "0.375rem",
|
112
|
-
8: "0.5rem",
|
113
|
-
10: "0.625rem",
|
114
|
-
12: "0.75rem",
|
115
|
-
14: "0.875rem",
|
116
|
-
16: "1rem",
|
117
|
-
20: "1.25rem",
|
118
|
-
24: "1.5rem",
|
119
|
-
28: "1.75rem",
|
120
|
-
32: "2rem",
|
121
|
-
36: "2.25rem",
|
122
|
-
40: "2.5rem",
|
123
|
-
44: "2.75rem",
|
124
|
-
48: "3rem",
|
125
|
-
56: "3.5rem",
|
126
|
-
64: "4rem",
|
127
|
-
80: "5rem",
|
128
|
-
96: "6rem",
|
129
|
-
112: "7rem",
|
130
|
-
128: "8rem",
|
131
|
-
144: "9rem",
|
132
|
-
160: "10rem",
|
133
|
-
176: "11rem",
|
134
|
-
192: "12rem",
|
135
|
-
208: "13rem",
|
136
|
-
224: "14rem",
|
137
|
-
240: "15rem",
|
138
|
-
288: "18rem",
|
139
|
-
320: "20rem",
|
140
|
-
384: "24rem"
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}), a;
|
144
|
-
}
|
145
|
-
var p = m();
|
146
|
-
const x = /* @__PURE__ */ h(p);
|
147
|
-
var f = {}, u = {}, g;
|
148
|
-
function S() {
|
149
|
-
return g || (g = 1, function(e) {
|
150
|
-
Object.defineProperty(e, "__esModule", {
|
151
|
-
value: !0
|
152
|
-
}), Object.defineProperty(e, "default", {
|
153
|
-
enumerable: !0,
|
154
|
-
get: function() {
|
155
|
-
return t;
|
156
|
-
}
|
157
|
-
});
|
158
|
-
function n(r, i) {
|
159
|
-
return {
|
160
|
-
handler: r,
|
161
|
-
config: i
|
162
|
-
};
|
163
|
-
}
|
164
|
-
n.withOptions = function(r, i = () => ({})) {
|
165
|
-
const o = function(l) {
|
166
|
-
return {
|
167
|
-
__options: l,
|
168
|
-
handler: r(l),
|
169
|
-
config: i(l)
|
170
|
-
};
|
171
|
-
};
|
172
|
-
return o.__isOptionsFunction = !0, o.__pluginFunction = r, o.__configFunction = i, o;
|
173
|
-
};
|
174
|
-
const t = n;
|
175
|
-
}(u)), u;
|
176
|
-
}
|
177
|
-
var s;
|
178
|
-
function W() {
|
179
|
-
return s || (s = 1, function(e) {
|
180
|
-
Object.defineProperty(e, "__esModule", {
|
181
|
-
value: !0
|
182
|
-
}), Object.defineProperty(e, "default", {
|
183
|
-
enumerable: !0,
|
184
|
-
get: function() {
|
185
|
-
return r;
|
186
|
-
}
|
187
|
-
});
|
188
|
-
const n = /* @__PURE__ */ t(S());
|
189
|
-
function t(i) {
|
190
|
-
return i && i.__esModule ? i : {
|
191
|
-
default: i
|
192
|
-
};
|
193
|
-
}
|
194
|
-
const r = n.default;
|
195
|
-
}(f)), f;
|
196
|
-
}
|
197
|
-
var d, b;
|
198
|
-
function H() {
|
199
|
-
if (b) return d;
|
200
|
-
b = 1;
|
201
|
-
let e = W();
|
202
|
-
return d = (e.__esModule ? e : { default: e }).default, d;
|
203
|
-
}
|
204
|
-
var y = H();
|
205
|
-
const z = /* @__PURE__ */ h(y), _ = x, P = z(({ theme: e, addBase: n, addComponents: t }) => {
|
206
|
-
n({
|
207
|
-
body: {
|
208
|
-
color: e("colors.black"),
|
209
|
-
fontFamily: e("fontFamily.font-family-sans")
|
210
|
-
},
|
211
|
-
"::placeholder": {
|
212
|
-
fontFamily: e("fontFamily.font-family-sans"),
|
213
|
-
fontStyle: "normal"
|
214
|
-
}
|
215
|
-
}), t({
|
216
|
-
".ris-title-regular": {
|
217
|
-
fontSize: "64px",
|
218
|
-
fontWeight: "normal",
|
219
|
-
lineHeight: "1.1875"
|
220
|
-
},
|
221
|
-
".ris-heading1-regular": {
|
222
|
-
fontSize: "48px",
|
223
|
-
fontWeight: "normal",
|
224
|
-
lineHeight: "1.2"
|
225
|
-
},
|
226
|
-
".ris-heading1-bold": {
|
227
|
-
fontSize: "48px",
|
228
|
-
fontWeight: "bold",
|
229
|
-
lineHeight: "1.2"
|
230
|
-
},
|
231
|
-
// TODO: Heading 1 mobile
|
232
|
-
".ris-heading2-regular": {
|
233
|
-
fontSize: "32px",
|
234
|
-
fontWeight: "normal",
|
235
|
-
lineHeight: "1.1875"
|
236
|
-
},
|
237
|
-
".ris-heading2-bold": {
|
238
|
-
fontSize: "32px",
|
239
|
-
fontWeight: "bold",
|
240
|
-
lineHeight: "1.1875"
|
241
|
-
},
|
242
|
-
".ris-heading3-regular": {
|
243
|
-
fontSize: "26px",
|
244
|
-
fontWeight: "normal",
|
245
|
-
lineHeight: "1.23"
|
246
|
-
},
|
247
|
-
".ris-heading3-bold": {
|
248
|
-
fontSize: "26px",
|
249
|
-
fontWeight: "bold",
|
250
|
-
lineHeight: "1.23"
|
251
|
-
},
|
252
|
-
".ris-subhead-regular": {
|
253
|
-
fontSize: "20px",
|
254
|
-
fontWeight: "normal",
|
255
|
-
lineHeight: "1.5"
|
256
|
-
},
|
257
|
-
".ris-body1-regular": {
|
258
|
-
fontSize: "18px",
|
259
|
-
fontWeight: "normal",
|
260
|
-
lineHeight: "1.5"
|
261
|
-
},
|
262
|
-
".ris-body1-bold": {
|
263
|
-
fontSize: "18px",
|
264
|
-
fontWeight: "bold",
|
265
|
-
lineHeight: "1.5"
|
266
|
-
},
|
267
|
-
".ris-body2-regular": {
|
268
|
-
fontSize: "16px",
|
269
|
-
fontWeight: "normal",
|
270
|
-
lineHeight: "1.5"
|
271
|
-
},
|
272
|
-
".ris-body2-bold": {
|
273
|
-
fontSize: "16px",
|
274
|
-
fontWeight: "bold",
|
275
|
-
lineHeight: "1.5"
|
276
|
-
},
|
277
|
-
".ris-body3-regular": {
|
278
|
-
fontSize: "14px",
|
279
|
-
fontWeight: "normal",
|
280
|
-
lineHeight: "1.5"
|
281
|
-
},
|
282
|
-
".ris-body3-bold": {
|
283
|
-
fontSize: "14px",
|
284
|
-
fontWeight: "bold",
|
285
|
-
lineHeight: "1.5"
|
286
|
-
},
|
287
|
-
".ris-label1-regular": {
|
288
|
-
fontSize: "18px",
|
289
|
-
fontWeight: "normal",
|
290
|
-
lineHeight: "1.25"
|
291
|
-
},
|
292
|
-
".ris-label1-bold": {
|
293
|
-
fontSize: "18px",
|
294
|
-
fontWeight: "bold",
|
295
|
-
lineHeight: "1.25"
|
296
|
-
},
|
297
|
-
".ris-label2-regular": {
|
298
|
-
fontSize: "16px",
|
299
|
-
fontWeight: "normal",
|
300
|
-
lineHeight: "1.25"
|
301
|
-
},
|
302
|
-
".ris-label2-bold": {
|
303
|
-
fontSize: "16px",
|
304
|
-
fontWeight: "bold",
|
305
|
-
lineHeight: "1.25"
|
306
|
-
},
|
307
|
-
".ris-label3-regular": {
|
308
|
-
fontSize: "14px",
|
309
|
-
fontWeight: "normal",
|
310
|
-
lineHeight: "1.25"
|
311
|
-
},
|
312
|
-
".ris-label3-bold": {
|
313
|
-
fontSize: "14px",
|
314
|
-
fontWeight: "bold",
|
315
|
-
lineHeight: "1.25"
|
316
|
-
},
|
317
|
-
".ris-link1-regular": {
|
318
|
-
color: e("colors.blue.800"),
|
319
|
-
fontSize: "18px",
|
320
|
-
fontWeight: "normal",
|
321
|
-
lineHeight: "1.5",
|
322
|
-
textDecoration: "underline"
|
323
|
-
},
|
324
|
-
".ris-link1-bold": {
|
325
|
-
color: e("colors.blue.800"),
|
326
|
-
fontSize: "18px",
|
327
|
-
fontWeight: "bold",
|
328
|
-
lineHeight: "1.5",
|
329
|
-
textDecoration: "underline"
|
330
|
-
},
|
331
|
-
".ris-link2-regular": {
|
332
|
-
color: e("colors.blue.800"),
|
333
|
-
fontSize: "16px",
|
334
|
-
fontWeight: "normal",
|
335
|
-
lineHeight: "1.5",
|
336
|
-
textDecoration: "underline"
|
337
|
-
},
|
338
|
-
".ris-link2-bold": {
|
339
|
-
color: e("colors.blue.800"),
|
340
|
-
fontSize: "16px",
|
341
|
-
fontWeight: "bold",
|
342
|
-
lineHeight: "1.5",
|
343
|
-
textDecoration: "underline"
|
344
|
-
},
|
345
|
-
".ris-link3-regular": {
|
346
|
-
color: e("colors.blue.800"),
|
347
|
-
fontSize: "14px",
|
348
|
-
fontWeight: "normal",
|
349
|
-
lineHeight: "1.5",
|
350
|
-
textDecoration: "underline"
|
351
|
-
},
|
352
|
-
".ris-link3-bold": {
|
353
|
-
color: e("colors.blue.800"),
|
354
|
-
fontSize: "14px",
|
355
|
-
fontWeight: "bold",
|
356
|
-
lineHeight: "1.5",
|
357
|
-
textDecoration: "underline"
|
358
|
-
}
|
359
|
-
});
|
360
|
-
});
|
361
|
-
export {
|
362
|
-
P as RisUiPlugin,
|
363
|
-
_ as RisUiPreset
|
364
|
-
};
|
1
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digitalservicebund/ris-ui",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "Component library for NeuRIS",
|
5
5
|
"author": "digitalservicebund",
|
6
6
|
"license": "GPL-3.0-only",
|
@@ -14,25 +14,25 @@
|
|
14
14
|
],
|
15
15
|
"exports": {
|
16
16
|
"./primevue": {
|
17
|
-
"
|
17
|
+
"types": "./dist/primevue/index.d.ts",
|
18
18
|
"import": "./dist/primevue/index.js",
|
19
|
-
"
|
19
|
+
"require": "./dist/primevue/index.cjs"
|
20
20
|
},
|
21
21
|
"./primevue/style.css": {
|
22
22
|
"import": "./dist/style.css"
|
23
23
|
},
|
24
24
|
"./tailwind": {
|
25
|
-
"
|
25
|
+
"types": "./dist/tailwind/index.d.ts",
|
26
26
|
"import": "./dist/tailwind/index.js",
|
27
|
-
"
|
27
|
+
"require": "./dist/tailwind/index.cjs"
|
28
28
|
},
|
29
29
|
"./fonts.css": {
|
30
30
|
"import": "./dist/fonts.css"
|
31
31
|
},
|
32
32
|
"./components": {
|
33
|
-
"
|
33
|
+
"types": "./dist/components/index.d.ts",
|
34
34
|
"import": "./dist/components/index.js",
|
35
|
-
"
|
35
|
+
"require": "./dist/components/index.cjs"
|
36
36
|
}
|
37
37
|
},
|
38
38
|
"scripts": {
|
@@ -53,52 +53,50 @@
|
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
55
55
|
"primevue": "^4.0.0",
|
56
|
-
"
|
57
|
-
"
|
56
|
+
"tailwindcss": "^4.0.0",
|
57
|
+
"vue": "^3.0.0"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
60
|
"@commitlint/config-conventional": "~19.7.1",
|
61
61
|
"@digitalservice4germany/angie": "~1.2.0",
|
62
|
-
"@
|
63
|
-
"@eslint/
|
64
|
-
"@
|
65
|
-
"@iconify-json/
|
66
|
-
"@iconify-json/
|
67
|
-
"@iconify-json/mdi": "~1.2.1",
|
62
|
+
"@eslint/compat": "~1.2.7",
|
63
|
+
"@eslint/js": "~9.21.0",
|
64
|
+
"@iconify-json/ic": "~1.2.2",
|
65
|
+
"@iconify-json/material-symbols": "~1.2.14",
|
66
|
+
"@iconify-json/mdi": "~1.2.3",
|
68
67
|
"@iconify/vue": "~4.3.0",
|
69
|
-
"@storybook/addon-essentials": "~8.
|
70
|
-
"@storybook/blocks": "~8.
|
71
|
-
"@storybook/manager-api": "~8.
|
72
|
-
"@storybook/theming": "~8.
|
73
|
-
"@storybook/vue3": "~8.
|
74
|
-
"@storybook/vue3-vite": "~8.
|
68
|
+
"@storybook/addon-essentials": "~8.6.3",
|
69
|
+
"@storybook/blocks": "~8.6.3",
|
70
|
+
"@storybook/manager-api": "~8.6.3",
|
71
|
+
"@storybook/theming": "~8.6.3",
|
72
|
+
"@storybook/vue3": "~8.6.3",
|
73
|
+
"@storybook/vue3-vite": "~8.6.3",
|
74
|
+
"@tailwindcss/postcss": "~4.0.7",
|
75
75
|
"@testing-library/jest-dom": "~6.6.3",
|
76
|
-
"@testing-library/user-event": "~14.
|
76
|
+
"@testing-library/user-event": "~14.6.1",
|
77
77
|
"@testing-library/vue": "~8.1.0",
|
78
|
-
"@types/lodash": "
|
78
|
+
"@types/lodash": "~4.17.16",
|
79
79
|
"@vitejs/plugin-vue": "~5.2.1",
|
80
80
|
"@vue/test-utils": "~2.4.6",
|
81
|
-
"
|
82
|
-
"eslint": "~
|
83
|
-
"eslint-
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"jsdom": "~25.0.1",
|
81
|
+
"eslint": "~9.21.0",
|
82
|
+
"eslint-config-prettier": "~10.0.2",
|
83
|
+
"eslint-plugin-vue": "~9.32.0",
|
84
|
+
"globals": "~16.0.0",
|
85
|
+
"jsdom": "~26.0.0",
|
87
86
|
"license-checker": "~25.0.1",
|
88
|
-
"lodash": "
|
89
|
-
"msw": "~2.7.
|
90
|
-
"msw-storybook-addon": "~2.0.
|
91
|
-
"prettier": "~3.
|
92
|
-
"prettier-plugin-tailwindcss": "~0.6.
|
93
|
-
"storybook": "~8.
|
87
|
+
"lodash": "~4.17.21",
|
88
|
+
"msw": "~2.7.3",
|
89
|
+
"msw-storybook-addon": "~2.0.4",
|
90
|
+
"prettier": "~3.5.3",
|
91
|
+
"prettier-plugin-tailwindcss": "~0.6.11",
|
92
|
+
"storybook": "~8.6.3",
|
94
93
|
"storybook-vue3-router": "~5.0.0",
|
95
|
-
"tailwindcss": "~3.4.14",
|
96
94
|
"typescript": "~5.7.3",
|
97
|
-
"typescript-eslint": "~8.
|
98
|
-
"unplugin-icons": "~
|
99
|
-
"vite": "~6.0
|
100
|
-
"vitest": "~
|
101
|
-
"vue-tsc": "~2.2.
|
95
|
+
"typescript-eslint": "~8.25.0",
|
96
|
+
"unplugin-icons": "~22.1.0",
|
97
|
+
"vite": "~6.2.0",
|
98
|
+
"vitest": "~3.0.7",
|
99
|
+
"vue-tsc": "~2.2.8"
|
102
100
|
},
|
103
101
|
"msw": {
|
104
102
|
"workerDirectory": [
|