@digitalservicebund/ris-ui 1.7.1 → 2.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.
@@ -1,193 +1,208 @@
1
- function a(e) {
1
+ function h(e) {
2
2
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
3
  }
4
- var g = {
5
- theme: {
6
- colors: {
7
- inherit: "inherit",
8
- current: "currentColor",
9
- transparent: "transparent",
10
- black: "#0b0c0c",
11
- blue: {
12
- 100: "#f2f6f8",
13
- 200: "#ecf1f4",
14
- 300: "#dce8ef",
15
- 400: "#ccdbe4",
16
- 500: "#b3c9d6",
17
- 600: "#6693ad",
18
- 700: "#336f91",
19
- 800: "#004b76",
20
- 900: "#003350"
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
+ }
21
80
  },
22
- gray: {
23
- 100: "#f6f7f8",
24
- 200: "#eff2f4",
25
- 300: "#edeef0",
26
- 400: "#dcdee1",
27
- 500: "#cacdd2",
28
- 600: "#b8bdc3",
29
- 700: "#a6acb5",
30
- 800: "#6f7785",
31
- 900: "#4e596a"
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
+ ]
32
105
  },
33
- green: {
34
- 100: "#e8f7f0",
35
- 200: "#ccebdd",
36
- 300: "#b0d8c6",
37
- 400: "#97ccb4",
38
- 500: "#65b491",
39
- 600: "#349d6e",
40
- 700: "#01854a",
41
- 800: "#006538",
42
- 900: "#003e22"
43
- },
44
- orange: {
45
- 100: "#fef7e8",
46
- 200: "#fae5bb",
47
- 300: "#f9d791",
48
- 400: "#f8c967",
49
- 500: "#f7bb3d",
50
- 600: "#e9aa26",
51
- 700: "#d79815",
52
- 800: "#c18509",
53
- 900: "#ad7500"
54
- },
55
- red: {
56
- 100: "#fcf2f5",
57
- 200: "#f9e5ec",
58
- 300: "#f2ccd8",
59
- 400: "#ecb3c5",
60
- 500: "#e699b1",
61
- 600: "#d9668b",
62
- 700: "#c61a50",
63
- 800: "#b0243f",
64
- 900: "#8e001b"
65
- },
66
- white: "#fff",
67
- yellow: {
68
- 100: "#fefcef",
69
- 200: "#fff9d2",
70
- 300: "#f9ec9e",
71
- 400: "#f7e67d",
72
- 500: "#f5e05d",
73
- 600: "#f2dc5d",
74
- 700: "#e5ce5c",
75
- 800: "#dac23c",
76
- 900: "#c3a91e"
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"
77
141
  }
78
- },
79
- fontFamily: {
80
- "font-family-sans": [
81
- "BundesSansWeb",
82
- "Calibri",
83
- "Verdana",
84
- "Arial",
85
- "Helvetica",
86
- "sans-serif"
87
- ],
88
- "font-family-serif": [
89
- "BundesSerifWeb",
90
- "Cambria",
91
- "Georgia",
92
- '"Times New Roman"',
93
- "serif"
94
- ],
95
- "font-family-condensed": [
96
- "BundesSansCondWeb",
97
- "Calibri",
98
- "Verdana",
99
- "Arial",
100
- "Helvetica",
101
- "sans-serif"
102
- ]
103
- },
104
- spacing: {
105
- 0: "0rem",
106
- 1: "0.0625rem",
107
- 2: "0.125rem",
108
- 4: "0.25rem",
109
- 6: "0.375rem",
110
- 8: "0.5rem",
111
- 10: "0.625rem",
112
- 12: "0.75rem",
113
- 14: "0.875rem",
114
- 16: "1rem",
115
- 20: "1.25rem",
116
- 24: "1.5rem",
117
- 28: "1.75rem",
118
- 32: "2rem",
119
- 36: "2.25rem",
120
- 40: "2.5rem",
121
- 44: "2.75rem",
122
- 48: "3rem",
123
- 56: "3.5rem",
124
- 64: "4rem",
125
- 80: "5rem",
126
- 96: "6rem",
127
- 112: "7rem",
128
- 128: "8rem",
129
- 144: "9rem",
130
- 160: "10rem",
131
- 176: "11rem",
132
- 192: "12rem",
133
- 208: "13rem",
134
- 224: "14rem",
135
- 240: "15rem",
136
- 288: "18rem",
137
- 320: "20rem",
138
- 384: "24rem"
139
142
  }
140
- }
141
- };
142
- const u = /* @__PURE__ */ a(g);
143
- var d = {}, c = {};
144
- (function(e) {
145
- Object.defineProperty(e, "__esModule", {
146
- value: !0
147
- }), Object.defineProperty(e, "default", {
148
- enumerable: !0,
149
- get: function() {
150
- return r;
151
- }
152
- });
153
- function n(t, i) {
154
- return {
155
- handler: t,
156
- config: i
157
- };
158
- }
159
- n.withOptions = function(t, i = () => ({})) {
160
- const o = function(l) {
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) {
161
159
  return {
162
- __options: l,
163
- handler: t(l),
164
- config: i(l)
160
+ handler: r,
161
+ config: i
165
162
  };
166
- };
167
- return o.__isOptionsFunction = !0, o.__pluginFunction = t, o.__configFunction = i, o;
168
- };
169
- const r = n;
170
- })(c);
171
- (function(e) {
172
- Object.defineProperty(e, "__esModule", {
173
- value: !0
174
- }), Object.defineProperty(e, "default", {
175
- enumerable: !0,
176
- get: function() {
177
- return t;
178
163
  }
179
- });
180
- const n = /* @__PURE__ */ r(c);
181
- function r(i) {
182
- return i && i.__esModule ? i : {
183
- default: i
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;
184
173
  };
185
- }
186
- const t = n.default;
187
- })(d);
188
- let f = d;
189
- var s = (f.__esModule ? f : { default: f }).default;
190
- const b = /* @__PURE__ */ a(s), h = u, m = b(({ theme: e, addBase: n, addComponents: r }) => {
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 }) => {
191
206
  n({
192
207
  body: {
193
208
  color: e("colors.black"),
@@ -197,7 +212,7 @@ const b = /* @__PURE__ */ a(s), h = u, m = b(({ theme: e, addBase: n, addCompone
197
212
  fontFamily: e("fontFamily.font-family-sans"),
198
213
  fontStyle: "normal"
199
214
  }
200
- }), r({
215
+ }), t({
201
216
  ".ris-title-regular": {
202
217
  fontSize: "64px",
203
218
  fontWeight: "normal",
@@ -344,6 +359,6 @@ const b = /* @__PURE__ */ a(s), h = u, m = b(({ theme: e, addBase: n, addCompone
344
359
  });
345
360
  });
346
361
  export {
347
- m as RisUiPlugin,
348
- h as RisUiPreset
362
+ P as RisUiPlugin,
363
+ _ as RisUiPreset
349
364
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalservicebund/ris-ui",
3
- "version": "1.7.1",
3
+ "version": "2.0.0",
4
4
  "description": "Component library for NeuRIS",
5
5
  "author": "digitalservicebund",
6
6
  "license": "GPL-3.0-only",
@@ -43,7 +43,7 @@
43
43
  "build:storybook": "storybook build",
44
44
  "prettier:check": "prettier --check .",
45
45
  "prettier:fix": "prettier --write --ignore-unknown .",
46
- "eslint:check": "eslint --max-warnings=0",
46
+ "eslint:check": "eslint --max-warnings=0 --no-warn-ignored",
47
47
  "eslint:fix": "npm run eslint:check -- --fix",
48
48
  "audit:licenses": "license-checker --production --excludePrivatePackages --excludePackages @digitalservicebund/ris-ui@$(cat package.json | jq -r '.version') --onlyAllow \"$(. ./parse-allowed-licenses.sh)\" --csv --out ./frontend-license-report.csv",
49
49
  "typecheck": "vue-tsc",
@@ -53,10 +53,11 @@
53
53
  },
54
54
  "peerDependencies": {
55
55
  "primevue": "^4.0.0",
56
- "vue": "^3.0.0"
56
+ "vue": "^3.0.0",
57
+ "tailwindcss": "^3.0.0"
57
58
  },
58
59
  "devDependencies": {
59
- "@commitlint/config-conventional": "~19.6.0",
60
+ "@commitlint/config-conventional": "~19.7.1",
60
61
  "@digitalservice4germany/angie": "~1.2.0",
61
62
  "@digitalservice4germany/style-dictionary": "~2.0.0",
62
63
  "@eslint/compat": "~1.2.2",
@@ -64,10 +65,10 @@
64
65
  "@iconify-json/ic": "^1.2.1",
65
66
  "@iconify-json/material-symbols": "~1.2.6",
66
67
  "@iconify-json/mdi": "~1.2.1",
67
- "@iconify/vue": "~4.1.2",
68
- "@storybook/addon-essentials": "~8.4.2",
68
+ "@iconify/vue": "~4.3.0",
69
+ "@storybook/addon-essentials": "~8.5.1",
69
70
  "@storybook/blocks": "~8.4.2",
70
- "@storybook/manager-api": "~8.4.2",
71
+ "@storybook/manager-api": "~8.5.2",
71
72
  "@storybook/theming": "~8.4.2",
72
73
  "@storybook/vue3": "~8.4.2",
73
74
  "@storybook/vue3-vite": "~8.4.2",
@@ -78,25 +79,26 @@
78
79
  "@vitejs/plugin-vue": "~5.2.1",
79
80
  "@vue/test-utils": "~2.4.6",
80
81
  "autoprefixer": "~10.4.20",
81
- "eslint": "~9.14.0",
82
+ "eslint": "~9.18.0",
82
83
  "eslint-config-prettier": "~9.1.0",
83
- "globals": "~15.12.0",
84
+ "eslint-plugin-vue": "^9.32.0",
85
+ "globals": "~15.14.0",
84
86
  "jsdom": "~25.0.1",
85
87
  "license-checker": "~25.0.1",
86
88
  "lodash": "^4.17.21",
87
- "msw": "~2.6.0",
89
+ "msw": "~2.7.0",
88
90
  "msw-storybook-addon": "~2.0.3",
89
91
  "prettier": "~3.4.1",
90
92
  "prettier-plugin-tailwindcss": "~0.6.8",
91
- "storybook": "~8.4.2",
93
+ "storybook": "~8.5.0",
92
94
  "storybook-vue3-router": "~5.0.0",
93
95
  "tailwindcss": "~3.4.14",
94
- "typescript": "~5.6.3",
95
- "typescript-eslint": "~8.13.0",
96
- "unplugin-icons": "~0.20.0",
97
- "vite": "~5.4.10",
96
+ "typescript": "~5.7.3",
97
+ "typescript-eslint": "~8.20.0",
98
+ "unplugin-icons": "~0.22.0",
99
+ "vite": "~6.0.7",
98
100
  "vitest": "~2.1.4",
99
- "vue-tsc": "~2.1.10"
101
+ "vue-tsc": "~2.2.0"
100
102
  },
101
103
  "msw": {
102
104
  "workerDirectory": [