@digitalservicebund/ris-ui 1.0.1 → 1.1.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 CHANGED
@@ -19,7 +19,7 @@ npm install vue primevue tailwindcss
19
19
  npm install @digitalservicebund/ris-ui
20
20
  ```
21
21
 
22
- ## Usage
22
+ ### Vue setup
23
23
 
24
24
  Import and apply the RIS UI theme, styling, and fonts where you set up your application (typically `main.ts`):
25
25
 
@@ -27,16 +27,70 @@ Import and apply the RIS UI theme, styling, and fonts where you set up your appl
27
27
  // main.ts
28
28
  import { createApp } from "vue";
29
29
  import PrimeVue from "primevue/config";
30
- + import { RisUiTheme } from "@digitalservicebund/ris-ui/primevue";
30
+ + import { RisUiTheme, RisUiLocale } from "@digitalservicebund/ris-ui/primevue";
31
31
  + import "@digitalservicebund/ris-ui/primevue/style.css";
32
32
  + import "@digitalservicebund/ris-ui/fonts.css";
33
33
 
34
34
  const app = createApp().use(PrimeVue, {
35
35
  + unstyled: true,
36
36
  + pt: RisUiTheme,
37
+ + locale: RisUiLocale.deDE
37
38
  })
38
39
  ```
39
40
 
41
+ ### Nuxt setup
42
+
43
+ If using Nuxt, skip the Vue setup above.
44
+
45
+ Install the Nuxt PrimeVue module:
46
+
47
+ ```sh
48
+ npm install @primevue/nuxt-module
49
+ ```
50
+
51
+ Add the PrimeVue module and configure it in `nuxt.config.ts`:
52
+
53
+ ```diff
54
+ // nuxt.config.ts
55
+ export default defineNuxtConfig({
56
+ // your other configuration
57
+ modules: [
58
+ + "@primevue/nuxt-module",
59
+ ],
60
+ + primevue: {
61
+ + usePrimeVue: false, // configured in plugins/ris-ui.ts
62
+ + },
63
+ })
64
+ ```
65
+
66
+ Add a new Nuxt plugin to configure PrimeVue:
67
+
68
+ ```typescript
69
+ // plugins/ris-ui.ts
70
+ import { RisUiTheme } from "@digitalservicebund/ris-ui/primevue";
71
+ import PrimeVue from "primevue/config";
72
+
73
+ export default defineNuxtPlugin((nuxtApp) => {
74
+ nuxtApp.vueApp.use(PrimeVue, {
75
+ pt: RisUiTheme,
76
+ unstyled: true,
77
+ });
78
+ });
79
+ ```
80
+
81
+ Finally, add the styles (e.g. `assets/main.css`):
82
+
83
+ ```css
84
+ @import "@digitalservicebund/ris-ui/primevue/style.css";
85
+ @import "@digitalservicebund/ris-ui/fonts.css";
86
+
87
+ /* Your other CSS */
88
+ ```
89
+
90
+ If not using Tailwind, you may also add these styles directly to the `css` section of `nuxt.config.ts`.
91
+
92
+ ## Tailwind usage
93
+
40
94
  If you want, also install the Tailwind preset (for colors, spacings, etc.) and plugin (for typography classes, etc.):
41
95
 
42
96
  ```diff
@@ -51,6 +105,25 @@ If you want, also install the Tailwind preset (for colors, spacings, etc.) and p
51
105
  };
52
106
  ```
53
107
 
108
+ To avoid issues with conflicting `@layer` directives, make sure to integrate the `postcss-import` module in your PostCSS configuration:
109
+
110
+ See https://tailwindcss.com/docs/adding-custom-styles#using-multiple-css-files
111
+
112
+ ### Using Nuxt
113
+
114
+ You may add the `postcss-import` module to your `nuxt.config.ts` file:
115
+
116
+ ```diff
117
+ // nuxt.config.ts
118
+ postcss: {
119
+ plugins: {
120
+ + "postcss-import": {},
121
+ tailwindcss: {},
122
+ autoprefixer: {},
123
+ },
124
+ },
125
+ ```
126
+
54
127
  ## Development
55
128
 
56
129
  To make changes to RIS UI, you'll need the current [Node.js LTS](https://nodejs.org/en/download/package-manager) along with npm installed on your machine.
@@ -157,8 +230,8 @@ To release a new version, run the ["Release to npm"](https://github.com/digitals
157
230
  - Create a Git tag and GitHub release
158
231
  - Generate a changelog based on the commits since the last release
159
232
 
160
- Releases are created automatically by [semantic-release](https://github.com/semantic-release/semantic-release?tab=readme-ov-file). Please refer to their documentation to learn more about how version numbers are inferred and how changelogs are created.
233
+ Releases are created automatically by [semantic-release](https://github.com/semantic-release/semantic-release?tab=readme-ov-file). Please refer to their documentation to learn more about how version numbers are inferred and how changelogs are created.
161
234
 
162
235
  ## Contributing
163
236
 
164
- See [CONTRIBUTING.md](./CONTRIBUTING.md).
237
+ See [CONTRIBUTING.md](./CONTRIBUTING.md).
@@ -0,0 +1,2 @@
1
+ import { PrimeVueLocaleOptions } from "primevue/config";
2
+ export declare const deDE: PrimeVueLocaleOptions;
@@ -0,0 +1,284 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+
4
+ /**
5
+ * Mock Service Worker.
6
+ * @see https://github.com/mswjs/msw
7
+ * - Please do NOT modify this file.
8
+ * - Please do NOT serve this file on production.
9
+ */
10
+
11
+ const PACKAGE_VERSION = '2.4.5'
12
+ const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423'
13
+ const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
14
+ const activeClientIds = new Set()
15
+
16
+ self.addEventListener('install', function () {
17
+ self.skipWaiting()
18
+ })
19
+
20
+ self.addEventListener('activate', function (event) {
21
+ event.waitUntil(self.clients.claim())
22
+ })
23
+
24
+ self.addEventListener('message', async function (event) {
25
+ const clientId = event.source.id
26
+
27
+ if (!clientId || !self.clients) {
28
+ return
29
+ }
30
+
31
+ const client = await self.clients.get(clientId)
32
+
33
+ if (!client) {
34
+ return
35
+ }
36
+
37
+ const allClients = await self.clients.matchAll({
38
+ type: 'window',
39
+ })
40
+
41
+ switch (event.data) {
42
+ case 'KEEPALIVE_REQUEST': {
43
+ sendToClient(client, {
44
+ type: 'KEEPALIVE_RESPONSE',
45
+ })
46
+ break
47
+ }
48
+
49
+ case 'INTEGRITY_CHECK_REQUEST': {
50
+ sendToClient(client, {
51
+ type: 'INTEGRITY_CHECK_RESPONSE',
52
+ payload: {
53
+ packageVersion: PACKAGE_VERSION,
54
+ checksum: INTEGRITY_CHECKSUM,
55
+ },
56
+ })
57
+ break
58
+ }
59
+
60
+ case 'MOCK_ACTIVATE': {
61
+ activeClientIds.add(clientId)
62
+
63
+ sendToClient(client, {
64
+ type: 'MOCKING_ENABLED',
65
+ payload: true,
66
+ })
67
+ break
68
+ }
69
+
70
+ case 'MOCK_DEACTIVATE': {
71
+ activeClientIds.delete(clientId)
72
+ break
73
+ }
74
+
75
+ case 'CLIENT_CLOSED': {
76
+ activeClientIds.delete(clientId)
77
+
78
+ const remainingClients = allClients.filter((client) => {
79
+ return client.id !== clientId
80
+ })
81
+
82
+ // Unregister itself when there are no more clients
83
+ if (remainingClients.length === 0) {
84
+ self.registration.unregister()
85
+ }
86
+
87
+ break
88
+ }
89
+ }
90
+ })
91
+
92
+ self.addEventListener('fetch', function (event) {
93
+ const { request } = event
94
+
95
+ // Bypass navigation requests.
96
+ if (request.mode === 'navigate') {
97
+ return
98
+ }
99
+
100
+ // Opening the DevTools triggers the "only-if-cached" request
101
+ // that cannot be handled by the worker. Bypass such requests.
102
+ if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {
103
+ return
104
+ }
105
+
106
+ // Bypass all requests when there are no active clients.
107
+ // Prevents the self-unregistered worked from handling requests
108
+ // after it's been deleted (still remains active until the next reload).
109
+ if (activeClientIds.size === 0) {
110
+ return
111
+ }
112
+
113
+ // Generate unique request ID.
114
+ const requestId = crypto.randomUUID()
115
+ event.respondWith(handleRequest(event, requestId))
116
+ })
117
+
118
+ async function handleRequest(event, requestId) {
119
+ const client = await resolveMainClient(event)
120
+ const response = await getResponse(event, client, requestId)
121
+
122
+ // Send back the response clone for the "response:*" life-cycle events.
123
+ // Ensure MSW is active and ready to handle the message, otherwise
124
+ // this message will pend indefinitely.
125
+ if (client && activeClientIds.has(client.id)) {
126
+ ;(async function () {
127
+ const responseClone = response.clone()
128
+
129
+ sendToClient(
130
+ client,
131
+ {
132
+ type: 'RESPONSE',
133
+ payload: {
134
+ requestId,
135
+ isMockedResponse: IS_MOCKED_RESPONSE in response,
136
+ type: responseClone.type,
137
+ status: responseClone.status,
138
+ statusText: responseClone.statusText,
139
+ body: responseClone.body,
140
+ headers: Object.fromEntries(responseClone.headers.entries()),
141
+ },
142
+ },
143
+ [responseClone.body],
144
+ )
145
+ })()
146
+ }
147
+
148
+ return response
149
+ }
150
+
151
+ // Resolve the main client for the given event.
152
+ // Client that issues a request doesn't necessarily equal the client
153
+ // that registered the worker. It's with the latter the worker should
154
+ // communicate with during the response resolving phase.
155
+ async function resolveMainClient(event) {
156
+ const client = await self.clients.get(event.clientId)
157
+
158
+ if (client?.frameType === 'top-level') {
159
+ return client
160
+ }
161
+
162
+ const allClients = await self.clients.matchAll({
163
+ type: 'window',
164
+ })
165
+
166
+ return allClients
167
+ .filter((client) => {
168
+ // Get only those clients that are currently visible.
169
+ return client.visibilityState === 'visible'
170
+ })
171
+ .find((client) => {
172
+ // Find the client ID that's recorded in the
173
+ // set of clients that have registered the worker.
174
+ return activeClientIds.has(client.id)
175
+ })
176
+ }
177
+
178
+ async function getResponse(event, client, requestId) {
179
+ const { request } = event
180
+
181
+ // Clone the request because it might've been already used
182
+ // (i.e. its body has been read and sent to the client).
183
+ const requestClone = request.clone()
184
+
185
+ function passthrough() {
186
+ const headers = Object.fromEntries(requestClone.headers.entries())
187
+
188
+ // Remove internal MSW request header so the passthrough request
189
+ // complies with any potential CORS preflight checks on the server.
190
+ // Some servers forbid unknown request headers.
191
+ delete headers['x-msw-intention']
192
+
193
+ return fetch(requestClone, { headers })
194
+ }
195
+
196
+ // Bypass mocking when the client is not active.
197
+ if (!client) {
198
+ return passthrough()
199
+ }
200
+
201
+ // Bypass initial page load requests (i.e. static assets).
202
+ // The absence of the immediate/parent client in the map of the active clients
203
+ // means that MSW hasn't dispatched the "MOCK_ACTIVATE" event yet
204
+ // and is not ready to handle requests.
205
+ if (!activeClientIds.has(client.id)) {
206
+ return passthrough()
207
+ }
208
+
209
+ // Notify the client that a request has been intercepted.
210
+ const requestBuffer = await request.arrayBuffer()
211
+ const clientMessage = await sendToClient(
212
+ client,
213
+ {
214
+ type: 'REQUEST',
215
+ payload: {
216
+ id: requestId,
217
+ url: request.url,
218
+ mode: request.mode,
219
+ method: request.method,
220
+ headers: Object.fromEntries(request.headers.entries()),
221
+ cache: request.cache,
222
+ credentials: request.credentials,
223
+ destination: request.destination,
224
+ integrity: request.integrity,
225
+ redirect: request.redirect,
226
+ referrer: request.referrer,
227
+ referrerPolicy: request.referrerPolicy,
228
+ body: requestBuffer,
229
+ keepalive: request.keepalive,
230
+ },
231
+ },
232
+ [requestBuffer],
233
+ )
234
+
235
+ switch (clientMessage.type) {
236
+ case 'MOCK_RESPONSE': {
237
+ return respondWithMock(clientMessage.data)
238
+ }
239
+
240
+ case 'PASSTHROUGH': {
241
+ return passthrough()
242
+ }
243
+ }
244
+
245
+ return passthrough()
246
+ }
247
+
248
+ function sendToClient(client, message, transferrables = []) {
249
+ return new Promise((resolve, reject) => {
250
+ const channel = new MessageChannel()
251
+
252
+ channel.port1.onmessage = (event) => {
253
+ if (event.data && event.data.error) {
254
+ return reject(event.data.error)
255
+ }
256
+
257
+ resolve(event.data)
258
+ }
259
+
260
+ client.postMessage(
261
+ message,
262
+ [channel.port2].concat(transferrables.filter(Boolean)),
263
+ )
264
+ })
265
+ }
266
+
267
+ async function respondWithMock(response) {
268
+ // Setting response status code to 0 is a no-op.
269
+ // However, when responding with a "Response.error()", the produced Response
270
+ // instance will have status code set to 0. Since it's not possible to create
271
+ // a Response instance with status code 0, handle that use-case separately.
272
+ if (response.status === 0) {
273
+ return Response.error()
274
+ }
275
+
276
+ const mockedResponse = new Response(response.body, response)
277
+
278
+ Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, {
279
+ value: true,
280
+ enumerable: true,
281
+ })
282
+
283
+ return mockedResponse
284
+ }
@@ -0,0 +1,3 @@
1
+ import { CheckboxPassThroughOptions } from "primevue/checkbox";
2
+ declare const checkbox: CheckboxPassThroughOptions;
3
+ export default checkbox;
@@ -0,0 +1,3 @@
1
+ import { ConfirmDialogPassThroughOptions } from "primevue/confirmdialog";
2
+ declare const confirmDialog: ConfirmDialogPassThroughOptions;
3
+ export default confirmDialog;
@@ -0,0 +1,4 @@
1
+ import { DialogPassThroughOptions } from "primevue/dialog";
2
+ import "./dialog.css";
3
+ declare const dialog: DialogPassThroughOptions;
4
+ export default dialog;
@@ -0,0 +1,3 @@
1
+ import { FileUploadPassThroughOptions } from "primevue/fileupload";
2
+ declare const fileUpload: FileUploadPassThroughOptions;
3
+ export default fileUpload;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(e,...n)=>{let o=e[0];for(let a=1,i=e.length;a<i;a++)o+=n[a-1],o+=e[a];return o},t=c,h={root:({props:e,instance:n})=>{const o=t`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`,a=e.severity??"primary",i=t`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`,b=t`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`,u=t`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`,s=e.size??"small";let l=t`ris-body2-bold h-48 py-4`,r=t`ris-body1-bold h-64 py-4`;const d=e.iconPos??"left";return n.hasIcon&&e.label?d==="left"?(l=t`${l} pl-8 pr-16`,r=t`${r} pl-20 pr-24`):d==="right"&&(l=t`${l} pl-16 pr-8`,r=t`${r} pl-24 pr-20`):n.hasIcon&&!e.label?(l=t`${l} w-48 px-4`,r=t`${r} w-64 px-4`):(l=t`${l} px-16`,r=t`${r} px-24`),{class:{[o]:!0,[l]:s==="small",[r]:s==="large",[i]:!e.text&&a==="primary",[b]:!e.text&&a==="secondary",[u]:e.text&&a==="primary"}}},label:({props:e})=>({class:{hidden:!e.label,[t`-order-1`]:e.iconPos==="right"}}),loadingIcon:({props:e})=>({class:{[t`animate-spin`]:!0,[t`h-24 w-24`]:e.size==="large",[t`h-[1.34em] w-[1.34em]`]:!e.size||e.size==="small"}})},g={root:{class:t`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`}},y={root:{class:t`m-0 p-0`}},p={root:({props:e,parent:n})=>{const o=t`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`,a=t`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`,i=n.instance.$name==="InputGroup",b=t`bg-transparent placeholder:text-gray-900 focus:outline-none`,u=t`w-full`,s=t`ris-body2-regular h-48 px-16 py-4`,l=t`ris-body1-regular h-64 px-24 py-4`,r=t`ris-body2-regular h-[44px] p-0`,d=t`ris-body1-regular h-[60px] p-0`;return{class:{[o]:!i,[b]:i,[u]:!!e.fluid,[a]:!0,[s]:(!e.size||e.size==="small")&&!i,[r]:(!e.size||e.size==="small")&&i,[l]:e.size==="large"&&!i,[d]:e.size==="large"&&i},"data-size":e.size??"small"}}},x={},w={button:h,inputText:p,inputGroup:g,inputGroupAddon:y,password:x};exports.RisUiTheme=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=(t,...o)=>{let r=t[0];for(let n=1,l=t.length;n<l;n++)r+=o[n-1],r+=t[n];return r},e=g,h={root:({props:t,instance:o})=>{const r=e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`,n=t.severity??"primary",l=e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`,a=e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`,i=e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`,s=t.size??"normal";let c=e`ris-body2-bold h-48 py-4`,u=e`ris-body1-bold h-64 py-4`;return o.hasIcon&&!t.label?(c=e`${c} w-48 px-4`,u=e`${u} w-64 px-4`):(c=e`${c} px-16`,u=e`${u} px-24`),{class:{[r]:!0,[c]:s==="normal",[u]:s==="large",[l]:!t.text&&n==="primary",[a]:!t.text&&n==="secondary",[i]:t.text&&n==="primary"}}},label:({props:t})=>({class:{hidden:!t.label,[e`-order-1`]:t.iconPos==="right"}}),loadingIcon:({props:t})=>{const o=t.size??"normal",r=e`h-[1.34em] w-[1.34em]`,n=e`h-24 w-24`;return{class:{[e`animate-spin`]:!0,[r]:o==="normal",[n]:o==="large"}}}},p={root:{class:e`relative inline-block h-24 w-24 [&+label]:ris-label2-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`}},m={},v={root:()=>({class:e`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg`}),header:{class:e`mb-16 flex`},title:{class:e`ris-label1-bold flex-1`},headerActions:{class:e`flex-none`},pcCloseButton:{root:{class:e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-2 outline-gray-500 hover:outline focus:outline active:outline-none`}},content:{class:e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8`},footer:{class:e`mt-40 flex items-center justify-end gap-12`},mask:{class:e`bg-black/40`}},f={root:()=>({class:{[e`flex flex-col items-center gap-10`]:!0}}),input:()=>({class:"hidden"})},w={root:{class:e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`}},x={root:{class:e`m-0 p-0`}},y={root:({props:t,parent:o})=>{const r=e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`,n=e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`,l=o.instance.$name==="InputGroup",a=e`bg-transparent placeholder:text-gray-900 focus:outline-none`,i=e`w-full`,s=e`ris-body2-regular h-48 px-16 py-4`,c=e`ris-body1-regular h-64 px-24 py-4`,u=e`ris-body2-regular h-[44px] p-0`,d=e`ris-body1-regular h-[60px] p-0`;return{class:{[r]:!l,[a]:l,[i]:!!t.fluid,[n]:!0,[s]:(!t.size||t.size==="small")&&!l,[u]:(!t.size||t.size==="small")&&l,[c]:t.size==="large"&&!l,[d]:t.size==="large"&&l},"data-size":t.size??"small"}}},S={root:({props:t,instance:o})=>{const r=e`ris-body1-regular border-l-4 px-20 py-14`,n=t.severity??"info",l=e`border-l-green-800 bg-green-200`,a=e`border-l-blue-800 bg-blue-200`,i=e`border-l-yellow-800 bg-yellow-200`,s=e`border-l-red-800 bg-red-200`,c=!!o.$slots.icon,d={success:"var(--ris-icon-success)",info:"var(--ris-icon-info)",warn:"var(--ris-icon-warn)",error:"var(--ris-icon-error)"}[n],b=e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;return{class:{[r]:!0,[l]:n==="success",[a]:n==="info",[i]:n==="warn",[s]:n==="error",[b]:!c},style:{backgroundImage:c?void 0:d}}},content:{class:e`flex items-start gap-8`},text:{class:e`flex-1`},closeButton:({props:t})=>{const o=e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`,r=t.severity??"info",n=e`text-green-800 hover:bg-green-400 active:bg-green-500`,l=e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`,a=e`text-black hover:bg-yellow-400 active:bg-yellow-500`,i=e`text-red-800 hover:bg-red-400 active:bg-red-500`;return{class:{[o]:!0,[n]:r==="success",[l]:r==="info",[a]:r==="warn",[i]:r==="error"}}}},M={},N={root:{class:e`relative mx-auto inline-block h-28 w-28 animate-spin`},circle:{class:e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`}},k={root:{class:e`relative inline-block h-32 w-32 [&+label]:ris-label2-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-16 w-16 rounded-full bg-current`}},z={root:({props:t})=>{const o=e`ris-body2-regular h-48 border-2 border-blue-800 bg-white px-16 py-10 outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`,r=e`w-full`;return{class:{[o]:!0,[r]:!!t.fluid}}}},D={message:({props:t})=>{var s;const o=e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`,r=(s=t.message)==null?void 0:s.severity,n=e`border-l-green-900 bg-green-200`,l=e`border-l-red-900 bg-red-200`,a=e`border-l-yellow-900 bg-yellow-200`,i=e`border-l-blue-900 bg-blue-200`;return{class:{[o]:!0,[n]:r==="success",[l]:r==="error",[a]:r==="warn",[i]:r==="info"}}},messageContent:{class:e`flex w-full flex-row items-start justify-between gap-10`},messageIcon:({props:t})=>{var s;const o=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((s=t.message)==null?void 0:s.severity)??"info",n=e`text-green-800`,l=e`text-red-800`,a=e`text-black`,i=e`text-blue-800`;return{class:{[o]:!0,[n]:r==="success",[l]:r==="error",[a]:r==="warn",[i]:r==="info"}}},messageText:{class:e`flex-grow text-black`},summary:{class:e`ris-label2-bold`},detail:{class:e`ris-label2-regular`},closeButton:({props:t})=>{var s;const o=e`rounded-sm p-2`,r=((s=t.message)==null?void 0:s.severity)??"info",n=e`hover:bg-green-400`,l=e`hover:bg-red-400`,a=e`hover:bg-yellow-400`,i=e`hover:bg-blue-400`;return{class:{[o]:!0,[n]:r==="success",[l]:r==="error",[a]:r==="warn",[i]:r==="info"}}},closeIcon:{class:e`text-black`}},A={startsWith:"Beginnt mit",contains:"Enthält",notContains:"Enthält nicht",endsWith:"Endet mit",equals:"Gleich",notEquals:"Ungleich",noFilter:"Kein Filter",lt:"Weniger als",lte:"Weniger oder gleich",gt:"Größer als",gte:"Größer oder gleich",dateIs:"Datum ist",dateIsNot:"Datum ist nicht",dateBefore:"Datum ist vor",dateAfter:"Datum ist nach",clear:"Löschen",apply:"Anwenden",matchAll:"Alle erfüllen",matchAny:"Beliebige erfüllen",addRule:"Regel hinzufügen",removeRule:"Regel entfernen",accept:"Ja",reject:"Nein",choose:"Auswählen",upload:"Hochladen",cancel:"Abbrechen",completed:"Abgeschlossen",pending:"Ausstehend",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],chooseYear:"Jahr wählen",chooseMonth:"Monat wählen",chooseDate:"Datum wählen",prevDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",prevYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",prevHour:"Vorherige Stunde",nextHour:"Nächste Stunde",prevMinute:"Vorherige Minute",nextMinute:"Nächste Minute",prevSecond:"Vorherige Sekunde",nextSecond:"Nächste Sekunde",am:"vorm.",pm:"nachm.",today:"Heute",weekHeader:"KW",firstDayOfWeek:1,showMonthAfterYear:!1,dateFormat:"dd.mm.yy",weak:"Schwach",medium:"Mittel",strong:"Stark",passwordPrompt:"Passwort eingeben",emptyFilterMessage:"Keine Ergebnisse gefunden",searchMessage:"{0} Ergebnisse verfügbar",selectionMessage:"{0} Elemente ausgewählt",emptySelectionMessage:"Kein Element ausgewählt",emptySearchMessage:"Keine Ergebnisse gefunden",fileChosenMessage:"{0} Dateien",noFileChosenMessage:"Keine Datei ausgewählt",emptyMessage:"Keine Optionen verfügbar",aria:{trueLabel:"Wahr",falseLabel:"Falsch",nullLabel:"Nicht ausgewählt",star:"1 Stern",stars:"{star} Sterne",selectAll:"Alle Elemente ausgewählt",unselectAll:"Alle Elemente abgewählt",close:"Schließen",previous:"Vorherige",next:"Nächste",navigation:"Navigation",scrollTop:"Nach oben scrollen",moveTop:"Nach oben bewegen",moveUp:"Nach oben bewegen",moveDown:"Nach unten bewegen",moveBottom:"Nach unten bewegen",moveToTarget:"Zum Ziel verschieben",moveToSource:"Zur Quelle verschieben",moveAllToTarget:"Alle zum Ziel verschieben",moveAllToSource:"Alle zur Quelle verschieben",pageLabel:"Seite {page}",firstPageLabel:"Erste Seite",lastPageLabel:"Letzte Seite",nextPageLabel:"Nächste Seite",prevPageLabel:"Vorherige Seite",rowsPerPageLabel:"Zeilen pro Seite",jumpToPageDropdownLabel:"Zu Seite springen (Dropdown)",jumpToPageInputLabel:"Zu Seite springen (Eingabe)",selectRow:"Zeile ausgewählt",unselectRow:"Zeile abgewählt",expandRow:"Zeile erweitert",collapseRow:"Zeile reduziert",showFilterMenu:"Filtermenü anzeigen",hideFilterMenu:"Filtermenü ausblenden",filterOperator:"Filteroperator",filterConstraint:"Filterbedingung",editRow:"Zeile bearbeiten",saveEdit:"Bearbeitung speichern",cancelEdit:"Bearbeitung abbrechen",listView:"Listenansicht",gridView:"Gitteransicht",slide:"Folie",slideNumber:"Folie {slideNumber}",zoomImage:"Bild vergrößern",zoomIn:"Vergrößern",zoomOut:"Verkleinern",rotateRight:"Rechts drehen",rotateLeft:"Links drehen",listLabel:"Optionsliste"}},B={button:h,checkbox:p,confirmDialog:m,dialog:v,fileUpload:f,inputGroup:w,inputGroupAddon:x,inputText:y,message:S,password:M,progressSpinner:N,radioButton:k,textarea:z,toast:D},F={deDE:A};exports.RisUiLocale=F;exports.RisUiTheme=B;
@@ -1,8 +1,20 @@
1
1
  import "./global.css";
2
2
  export declare const RisUiTheme: {
3
3
  button: import("primevue/button").ButtonPassThroughOptions<any>;
4
- inputText: import("primevue/inputtext").InputTextPassThroughOptions<any>;
4
+ checkbox: import("primevue/checkbox").CheckboxPassThroughOptions;
5
+ confirmDialog: import("primevue/confirmdialog").ConfirmDialogPassThroughOptions;
6
+ dialog: import("primevue/dialog").DialogPassThroughOptions<any>;
7
+ fileUpload: import("primevue/fileupload").FileUploadPassThroughOptions;
5
8
  inputGroup: import("primevue/inputgroup").InputGroupPassThroughOptions;
6
9
  inputGroupAddon: import("primevue/inputgroupaddon").InputGroupAddonPassThroughOptions;
10
+ inputText: import("primevue/inputtext").InputTextPassThroughOptions<any>;
11
+ message: import("primevue/message").MessagePassThroughOptions<any>;
7
12
  password: import("primevue/password").PasswordPassThroughOptions;
13
+ progressSpinner: import("primevue/progressspinner").ProgressSpinnerPassThroughOptions;
14
+ radioButton: import("primevue/radiobutton").RadioButtonPassThroughOptions;
15
+ textarea: import("primevue/textarea").TextareaPassThroughOptions;
16
+ toast: import("primevue/toast").ToastPassThroughOptions;
17
+ };
18
+ export declare const RisUiLocale: {
19
+ deDE: import("@primevue/core").PrimeVueLocaleOptions;
8
20
  };
@@ -1,71 +1,417 @@
1
- const c = (e, ...n) => {
2
- let o = e[0];
3
- for (let a = 1, i = e.length; a < i; a++)
4
- o += n[a - 1], o += e[a];
5
- return o;
6
- }, t = c, h = {
7
- root: ({ props: e, instance: n }) => {
8
- const o = t`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`, a = e.severity ?? "primary", i = t`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`, b = t`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, u = t`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`, s = e.size ?? "small";
9
- let l = t`ris-body2-bold h-48 py-4`, r = t`ris-body1-bold h-64 py-4`;
10
- const d = e.iconPos ?? "left";
11
- return n.hasIcon && e.label ? d === "left" ? (l = t`${l} pl-8 pr-16`, r = t`${r} pl-20 pr-24`) : d === "right" && (l = t`${l} pl-16 pr-8`, r = t`${r} pl-24 pr-20`) : n.hasIcon && !e.label ? (l = t`${l} w-48 px-4`, r = t`${r} w-64 px-4`) : (l = t`${l} px-16`, r = t`${r} px-24`), {
1
+ const g = (t, ...o) => {
2
+ let r = t[0];
3
+ for (let n = 1, l = t.length; n < l; n++)
4
+ r += o[n - 1], r += t[n];
5
+ return r;
6
+ }, e = g, h = {
7
+ root: ({ props: t, instance: o }) => {
8
+ const r = e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`, n = t.severity ?? "primary", l = e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`, s = e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, i = e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`, a = t.size ?? "normal";
9
+ let c = e`ris-body2-bold h-48 py-4`, u = e`ris-body1-bold h-64 py-4`;
10
+ return o.hasIcon && !t.label ? (c = e`${c} w-48 px-4`, u = e`${u} w-64 px-4`) : (c = e`${c} px-16`, u = e`${u} px-24`), {
12
11
  class: {
13
- [o]: !0,
14
- [l]: s === "small",
15
- [r]: s === "large",
16
- [i]: !e.text && a === "primary",
17
- [b]: !e.text && a === "secondary",
18
- [u]: e.text && a === "primary"
12
+ [r]: !0,
13
+ [c]: a === "normal",
14
+ [u]: a === "large",
15
+ [l]: !t.text && n === "primary",
16
+ [s]: !t.text && n === "secondary",
17
+ [i]: t.text && n === "primary"
19
18
  }
20
19
  };
21
20
  },
22
- label: ({ props: e }) => ({
21
+ label: ({ props: t }) => ({
23
22
  class: {
24
- hidden: !e.label,
25
- [t`-order-1`]: e.iconPos === "right"
23
+ hidden: !t.label,
24
+ [e`-order-1`]: t.iconPos === "right"
26
25
  }
27
26
  }),
28
- loadingIcon: ({ props: e }) => ({
27
+ loadingIcon: ({ props: t }) => {
28
+ const o = t.size ?? "normal", r = e`h-[1.34em] w-[1.34em]`, n = e`h-24 w-24`;
29
+ return {
30
+ class: {
31
+ [e`animate-spin`]: !0,
32
+ [r]: o === "normal",
33
+ [n]: o === "large"
34
+ }
35
+ };
36
+ }
37
+ }, p = {
38
+ root: {
39
+ class: e`relative inline-block h-24 w-24 [&+label]:ris-label2-regular [&+label]:ml-8`
40
+ },
41
+ input: {
42
+ class: e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`
43
+ },
44
+ box: {
45
+ class: e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`
46
+ }
47
+ }, m = {
48
+ // All styling implemented in primevue/dialog
49
+ }, v = {
50
+ root: () => ({
51
+ class: e`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg`
52
+ }),
53
+ header: {
54
+ class: e`mb-16 flex`
55
+ },
56
+ title: {
57
+ class: e`ris-label1-bold flex-1`
58
+ },
59
+ headerActions: {
60
+ class: e`flex-none`
61
+ },
62
+ pcCloseButton: {
63
+ root: {
64
+ class: e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-2 outline-gray-500 hover:outline focus:outline active:outline-none`
65
+ }
66
+ },
67
+ content: {
68
+ // When an SVG is the first child of the content, we're applying a flex
69
+ // styling. This is a heuristic for an icon in the dialog content, used
70
+ // (for example) by the confirm dialog. If the svg is not the first child,
71
+ // we assume that it is used in the context of some other layout and don't
72
+ // apply extra styling.
73
+ class: e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8`
74
+ },
75
+ footer: {
76
+ class: e`mt-40 flex items-center justify-end gap-12`
77
+ },
78
+ mask: {
79
+ class: e`bg-black/40`
80
+ }
81
+ }, f = {
82
+ root: () => ({
29
83
  class: {
30
- [t`animate-spin`]: !0,
31
- [t`h-24 w-24`]: e.size === "large",
32
- [t`h-[1.34em] w-[1.34em]`]: !e.size || e.size === "small"
84
+ [e`flex flex-col items-center gap-10`]: !0
33
85
  }
86
+ }),
87
+ input: () => ({
88
+ class: "hidden"
34
89
  })
35
- }, g = {
90
+ }, w = {
36
91
  root: {
37
- class: t`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`
92
+ class: e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`
38
93
  }
39
- }, p = {
94
+ }, x = {
40
95
  root: {
41
- class: t`m-0 p-0`
96
+ class: e`m-0 p-0`
42
97
  }
43
98
  }, y = {
44
- root: ({ props: e, parent: n }) => {
45
- const o = t`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`, a = t`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`, i = n.instance.$name === "InputGroup", b = t`bg-transparent placeholder:text-gray-900 focus:outline-none`, u = t`w-full`, s = t`ris-body2-regular h-48 px-16 py-4`, l = t`ris-body1-regular h-64 px-24 py-4`, r = t`ris-body2-regular h-[44px] p-0`, d = t`ris-body1-regular h-[60px] p-0`;
99
+ root: ({ props: t, parent: o }) => {
100
+ const r = e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`, n = e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`, l = o.instance.$name === "InputGroup", s = e`bg-transparent placeholder:text-gray-900 focus:outline-none`, i = e`w-full`, a = e`ris-body2-regular h-48 px-16 py-4`, c = e`ris-body1-regular h-64 px-24 py-4`, u = e`ris-body2-regular h-[44px] p-0`, d = e`ris-body1-regular h-[60px] p-0`;
46
101
  return {
47
102
  class: {
48
- [o]: !i,
49
- [b]: i,
50
- [u]: !!e.fluid,
51
- [a]: !0,
52
- [s]: (!e.size || e.size === "small") && !i,
53
- [r]: (!e.size || e.size === "small") && i,
54
- [l]: e.size === "large" && !i,
55
- [d]: e.size === "large" && i
103
+ [r]: !l,
104
+ [s]: l,
105
+ [i]: !!t.fluid,
106
+ [n]: !0,
107
+ [a]: (!t.size || t.size === "small") && !l,
108
+ [u]: (!t.size || t.size === "small") && l,
109
+ [c]: t.size === "large" && !l,
110
+ [d]: t.size === "large" && l
56
111
  },
57
- "data-size": e.size ?? "small"
112
+ "data-size": t.size ?? "small"
58
113
  };
59
114
  }
60
- }, x = {
115
+ }, S = {
116
+ root: ({ props: t, instance: o }) => {
117
+ const r = e`ris-body1-regular border-l-4 px-20 py-14`, n = t.severity ?? "info", l = e`border-l-green-800 bg-green-200`, s = e`border-l-blue-800 bg-blue-200`, i = e`border-l-yellow-800 bg-yellow-200`, a = e`border-l-red-800 bg-red-200`, c = !!o.$slots.icon, d = {
118
+ success: "var(--ris-icon-success)",
119
+ info: "var(--ris-icon-info)",
120
+ warn: "var(--ris-icon-warn)",
121
+ error: "var(--ris-icon-error)"
122
+ }[n], b = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
123
+ return {
124
+ class: {
125
+ [r]: !0,
126
+ [l]: n === "success",
127
+ [s]: n === "info",
128
+ [i]: n === "warn",
129
+ [a]: n === "error",
130
+ [b]: !c
131
+ },
132
+ style: {
133
+ backgroundImage: c ? void 0 : d
134
+ }
135
+ };
136
+ },
137
+ content: {
138
+ class: e`flex items-start gap-8`
139
+ },
140
+ text: {
141
+ class: e`flex-1`
142
+ },
143
+ closeButton: ({ props: t }) => {
144
+ const o = e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`, r = t.severity ?? "info", n = e`text-green-800 hover:bg-green-400 active:bg-green-500`, l = e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`, s = e`text-black hover:bg-yellow-400 active:bg-yellow-500`, i = e`text-red-800 hover:bg-red-400 active:bg-red-500`;
145
+ return {
146
+ class: {
147
+ [o]: !0,
148
+ [n]: r === "success",
149
+ [l]: r === "info",
150
+ [s]: r === "warn",
151
+ [i]: r === "error"
152
+ }
153
+ };
154
+ }
155
+ }, M = {
61
156
  // All styling moved to inputText.ts
62
- }, w = {
157
+ }, N = {
158
+ root: {
159
+ class: e`relative mx-auto inline-block h-28 w-28 animate-spin`
160
+ },
161
+ circle: {
162
+ class: e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`
163
+ }
164
+ }, k = {
165
+ root: {
166
+ class: e`relative inline-block h-32 w-32 [&+label]:ris-label2-regular [&+label]:ml-8`
167
+ },
168
+ input: {
169
+ class: e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`
170
+ },
171
+ box: {
172
+ class: e`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`
173
+ },
174
+ icon: {
175
+ class: e`h-16 w-16 rounded-full bg-current`
176
+ }
177
+ }, z = {
178
+ root: ({ props: t }) => {
179
+ const o = e`ris-body2-regular h-48 border-2 border-blue-800 bg-white px-16 py-10 outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`, r = e`w-full`;
180
+ return {
181
+ class: {
182
+ [o]: !0,
183
+ [r]: !!t.fluid
184
+ }
185
+ };
186
+ }
187
+ }, D = {
188
+ message: ({ props: t }) => {
189
+ var a;
190
+ const o = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = (a = t.message) == null ? void 0 : a.severity, n = e`border-l-green-900 bg-green-200`, l = e`border-l-red-900 bg-red-200`, s = e`border-l-yellow-900 bg-yellow-200`, i = e`border-l-blue-900 bg-blue-200`;
191
+ return {
192
+ class: {
193
+ [o]: !0,
194
+ [n]: r === "success",
195
+ [l]: r === "error",
196
+ [s]: r === "warn",
197
+ [i]: r === "info"
198
+ }
199
+ };
200
+ },
201
+ messageContent: {
202
+ class: e`flex w-full flex-row items-start justify-between gap-10`
203
+ },
204
+ messageIcon: ({ props: t }) => {
205
+ var a;
206
+ const o = e`mt-2 h-20 w-20 flex-none shrink-0`, r = ((a = t.message) == null ? void 0 : a.severity) ?? "info", n = e`text-green-800`, l = e`text-red-800`, s = e`text-black`, i = e`text-blue-800`;
207
+ return {
208
+ class: {
209
+ [o]: !0,
210
+ [n]: r === "success",
211
+ [l]: r === "error",
212
+ [s]: r === "warn",
213
+ [i]: r === "info"
214
+ }
215
+ };
216
+ },
217
+ messageText: {
218
+ class: e`flex-grow text-black`
219
+ },
220
+ summary: {
221
+ class: e`ris-label2-bold`
222
+ },
223
+ detail: {
224
+ class: e`ris-label2-regular`
225
+ },
226
+ closeButton: ({ props: t }) => {
227
+ var a;
228
+ const o = e`rounded-sm p-2`, r = ((a = t.message) == null ? void 0 : a.severity) ?? "info", n = e`hover:bg-green-400`, l = e`hover:bg-red-400`, s = e`hover:bg-yellow-400`, i = e`hover:bg-blue-400`;
229
+ return {
230
+ class: {
231
+ [o]: !0,
232
+ [n]: r === "success",
233
+ [l]: r === "error",
234
+ [s]: r === "warn",
235
+ [i]: r === "info"
236
+ }
237
+ };
238
+ },
239
+ closeIcon: {
240
+ class: e`text-black`
241
+ }
242
+ }, A = {
243
+ startsWith: "Beginnt mit",
244
+ contains: "Enthält",
245
+ notContains: "Enthält nicht",
246
+ endsWith: "Endet mit",
247
+ equals: "Gleich",
248
+ notEquals: "Ungleich",
249
+ noFilter: "Kein Filter",
250
+ lt: "Weniger als",
251
+ lte: "Weniger oder gleich",
252
+ gt: "Größer als",
253
+ gte: "Größer oder gleich",
254
+ dateIs: "Datum ist",
255
+ dateIsNot: "Datum ist nicht",
256
+ dateBefore: "Datum ist vor",
257
+ dateAfter: "Datum ist nach",
258
+ clear: "Löschen",
259
+ apply: "Anwenden",
260
+ matchAll: "Alle erfüllen",
261
+ matchAny: "Beliebige erfüllen",
262
+ addRule: "Regel hinzufügen",
263
+ removeRule: "Regel entfernen",
264
+ accept: "Ja",
265
+ reject: "Nein",
266
+ choose: "Auswählen",
267
+ upload: "Hochladen",
268
+ cancel: "Abbrechen",
269
+ completed: "Abgeschlossen",
270
+ pending: "Ausstehend",
271
+ fileSizeTypes: ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"],
272
+ dayNames: [
273
+ "Sonntag",
274
+ "Montag",
275
+ "Dienstag",
276
+ "Mittwoch",
277
+ "Donnerstag",
278
+ "Freitag",
279
+ "Samstag"
280
+ ],
281
+ dayNamesShort: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
282
+ dayNamesMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
283
+ monthNames: [
284
+ "Januar",
285
+ "Februar",
286
+ "März",
287
+ "April",
288
+ "Mai",
289
+ "Juni",
290
+ "Juli",
291
+ "August",
292
+ "September",
293
+ "Oktober",
294
+ "November",
295
+ "Dezember"
296
+ ],
297
+ monthNamesShort: [
298
+ "Jan",
299
+ "Feb",
300
+ "Mär",
301
+ "Apr",
302
+ "Mai",
303
+ "Jun",
304
+ "Jul",
305
+ "Aug",
306
+ "Sep",
307
+ "Okt",
308
+ "Nov",
309
+ "Dez"
310
+ ],
311
+ chooseYear: "Jahr wählen",
312
+ chooseMonth: "Monat wählen",
313
+ chooseDate: "Datum wählen",
314
+ prevDecade: "Vorheriges Jahrzehnt",
315
+ nextDecade: "Nächstes Jahrzehnt",
316
+ prevYear: "Vorheriges Jahr",
317
+ nextYear: "Nächstes Jahr",
318
+ prevMonth: "Vorheriger Monat",
319
+ nextMonth: "Nächster Monat",
320
+ prevHour: "Vorherige Stunde",
321
+ nextHour: "Nächste Stunde",
322
+ prevMinute: "Vorherige Minute",
323
+ nextMinute: "Nächste Minute",
324
+ prevSecond: "Vorherige Sekunde",
325
+ nextSecond: "Nächste Sekunde",
326
+ am: "vorm.",
327
+ pm: "nachm.",
328
+ today: "Heute",
329
+ weekHeader: "KW",
330
+ firstDayOfWeek: 1,
331
+ showMonthAfterYear: !1,
332
+ dateFormat: "dd.mm.yy",
333
+ weak: "Schwach",
334
+ medium: "Mittel",
335
+ strong: "Stark",
336
+ passwordPrompt: "Passwort eingeben",
337
+ emptyFilterMessage: "Keine Ergebnisse gefunden",
338
+ searchMessage: "{0} Ergebnisse verfügbar",
339
+ selectionMessage: "{0} Elemente ausgewählt",
340
+ emptySelectionMessage: "Kein Element ausgewählt",
341
+ emptySearchMessage: "Keine Ergebnisse gefunden",
342
+ fileChosenMessage: "{0} Dateien",
343
+ noFileChosenMessage: "Keine Datei ausgewählt",
344
+ emptyMessage: "Keine Optionen verfügbar",
345
+ aria: {
346
+ trueLabel: "Wahr",
347
+ falseLabel: "Falsch",
348
+ nullLabel: "Nicht ausgewählt",
349
+ star: "1 Stern",
350
+ stars: "{star} Sterne",
351
+ selectAll: "Alle Elemente ausgewählt",
352
+ unselectAll: "Alle Elemente abgewählt",
353
+ close: "Schließen",
354
+ previous: "Vorherige",
355
+ next: "Nächste",
356
+ navigation: "Navigation",
357
+ scrollTop: "Nach oben scrollen",
358
+ moveTop: "Nach oben bewegen",
359
+ moveUp: "Nach oben bewegen",
360
+ moveDown: "Nach unten bewegen",
361
+ moveBottom: "Nach unten bewegen",
362
+ moveToTarget: "Zum Ziel verschieben",
363
+ moveToSource: "Zur Quelle verschieben",
364
+ moveAllToTarget: "Alle zum Ziel verschieben",
365
+ moveAllToSource: "Alle zur Quelle verschieben",
366
+ pageLabel: "Seite {page}",
367
+ firstPageLabel: "Erste Seite",
368
+ lastPageLabel: "Letzte Seite",
369
+ nextPageLabel: "Nächste Seite",
370
+ prevPageLabel: "Vorherige Seite",
371
+ rowsPerPageLabel: "Zeilen pro Seite",
372
+ jumpToPageDropdownLabel: "Zu Seite springen (Dropdown)",
373
+ jumpToPageInputLabel: "Zu Seite springen (Eingabe)",
374
+ selectRow: "Zeile ausgewählt",
375
+ unselectRow: "Zeile abgewählt",
376
+ expandRow: "Zeile erweitert",
377
+ collapseRow: "Zeile reduziert",
378
+ showFilterMenu: "Filtermenü anzeigen",
379
+ hideFilterMenu: "Filtermenü ausblenden",
380
+ filterOperator: "Filteroperator",
381
+ filterConstraint: "Filterbedingung",
382
+ editRow: "Zeile bearbeiten",
383
+ saveEdit: "Bearbeitung speichern",
384
+ cancelEdit: "Bearbeitung abbrechen",
385
+ listView: "Listenansicht",
386
+ gridView: "Gitteransicht",
387
+ slide: "Folie",
388
+ slideNumber: "Folie {slideNumber}",
389
+ zoomImage: "Bild vergrößern",
390
+ zoomIn: "Vergrößern",
391
+ zoomOut: "Verkleinern",
392
+ rotateRight: "Rechts drehen",
393
+ rotateLeft: "Links drehen",
394
+ listLabel: "Optionsliste"
395
+ }
396
+ }, B = {
63
397
  button: h,
398
+ checkbox: p,
399
+ confirmDialog: m,
400
+ dialog: v,
401
+ fileUpload: f,
402
+ inputGroup: w,
403
+ inputGroupAddon: x,
64
404
  inputText: y,
65
- inputGroup: g,
66
- inputGroupAddon: p,
67
- password: x
405
+ message: S,
406
+ password: M,
407
+ progressSpinner: N,
408
+ radioButton: k,
409
+ textarea: z,
410
+ toast: D
411
+ }, F = {
412
+ deDE: A
68
413
  };
69
414
  export {
70
- w as RisUiTheme
415
+ F as RisUiLocale,
416
+ B as RisUiTheme
71
417
  };
@@ -0,0 +1,3 @@
1
+ import { MessagePassThroughOptions } from "primevue/message";
2
+ declare const message: MessagePassThroughOptions;
3
+ export default message;
@@ -0,0 +1,3 @@
1
+ import { ProgressSpinnerPassThroughOptions } from "primevue/progressspinner";
2
+ declare const progressSpinner: ProgressSpinnerPassThroughOptions;
3
+ export default progressSpinner;
@@ -0,0 +1,3 @@
1
+ import { RadioButtonPassThroughOptions } from "primevue/radiobutton";
2
+ declare const radioButton: RadioButtonPassThroughOptions;
3
+ export default radioButton;
@@ -0,0 +1,4 @@
1
+ import { TextareaPassThroughOptions } from "primevue/textarea";
2
+ import "./textarea.css";
3
+ declare const textarea: TextareaPassThroughOptions;
4
+ export default textarea;
@@ -0,0 +1,3 @@
1
+ import { ToastPassThroughOptions } from "primevue/toast";
2
+ declare const toast: ToastPassThroughOptions;
3
+ export default toast;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- *,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#eff2f4}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}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}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#dcdee1}input::placeholder,textarea::placeholder{opacity:1;color:#dcdee1}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}body{color:#0b0c0c;font-family:BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif}::-moz-placeholder{font-family:BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif;font-style:normal}::placeholder{font-family:BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif;font-style:normal}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(179 201 214 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(179 201 214 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.ris-title-regular{font-size:64px;font-weight:400;line-height:1.1875}.ris-heading1-regular{font-size:48px;font-weight:400;line-height:1.2}.ris-heading1-bold{font-size:48px;font-weight:700;line-height:1.2}.ris-heading2-regular{font-size:32px;font-weight:400;line-height:1.1875}.ris-heading2-bold{font-size:32px;font-weight:700;line-height:1.1875}.ris-heading3-regular{font-size:26px;font-weight:400;line-height:1.23}.ris-heading3-bold{font-size:26px;font-weight:700;line-height:1.23}.ris-subhead-regular{font-size:20px;font-weight:400;line-height:1.5}.ris-body1-regular{font-size:18px;font-weight:400;line-height:1.5}.ris-body1-bold{font-size:18px;font-weight:700;line-height:1.5}.ris-body2-regular{font-size:16px;font-weight:400;line-height:1.5}.ris-body2-bold{font-size:16px;font-weight:700;line-height:1.5}.ris-body3-regular{font-size:14px;font-weight:400;line-height:1.5}.ris-body3-bold{font-size:14px;font-weight:700;line-height:1.5}.ris-label1-regular{font-size:18px;font-weight:400;line-height:1.25}.ris-label1-bold{font-size:18px;font-weight:700;line-height:1.25}.ris-label2-regular{font-size:16px;font-weight:400;line-height:1.25}.ris-label2-bold{font-size:16px;font-weight:700;line-height:1.25}.ris-label3-regular{font-size:14px;font-weight:400;line-height:1.25}.ris-label3-bold{font-size:14px;font-weight:700;line-height:1.25}.ris-link1-regular{color:#004b76;font-size:18px;font-weight:400;line-height:1.5;text-decoration:underline}.ris-link1-bold{color:#004b76;font-size:18px;font-weight:700;line-height:1.5;text-decoration:underline}.ris-link2-regular{color:#004b76;font-size:16px;font-weight:400;line-height:1.5;text-decoration:underline}.ris-link2-bold{color:#004b76;font-size:16px;font-weight:700;line-height:1.5;text-decoration:underline}.ris-link3-regular{color:#004b76;font-size:14px;font-weight:400;line-height:1.5;text-decoration:underline}.ris-link3-bold{color:#004b76;font-size:14px;font-weight:700;line-height:1.5;text-decoration:underline}.relative{position:relative}.-order-1{order:-1}.m-0{margin:0rem}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-24{height:1.5rem}.h-48{height:3rem}.h-64{height:4rem}.h-\[1\.34em\]{height:1.34em}.h-\[44px\]{height:44px}.h-\[60px\]{height:60px}.w-24{width:1.5rem}.w-320{width:20rem}.w-48{width:3rem}.w-64{width:4rem}.w-\[1\.34em\]{width:1.34em}.w-full{width:100%}.max-w-full{max-width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-16{gap:1rem}.gap-2{gap:.125rem}.gap-4{gap:.25rem}.gap-8{gap:.5rem}.rounded-none{border-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(0 75 118 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(236 241 244 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(0 75 118 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0rem}.px-16{padding-left:1rem;padding-right:1rem}.px-24{padding-left:1.5rem;padding-right:1.5rem}.px-4{padding-left:.25rem;padding-right:.25rem}.py-0{padding-top:0rem;padding-bottom:0rem}.py-4{padding-top:.25rem;padding-bottom:.25rem}.pl-16{padding-left:1rem}.pl-20{padding-left:1.25rem}.pl-24{padding-left:1.5rem}.pl-8{padding-left:.5rem}.pr-16{padding-right:1rem}.pr-20{padding-right:1.25rem}.pr-24{padding-right:1.5rem}.pr-8{padding-right:.5rem}.text-center{text-align:center}.text-blue-800{--tw-text-opacity: 1;color:rgb(0 75 118 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.outline-4{outline-width:4px}.-outline-offset-4{outline-offset:-4px}.outline-offset-4{outline-offset:4px}.outline-blue-800{outline-color:#004b76}.placeholder\:text-gray-900::-moz-placeholder{--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}.placeholder\:text-gray-900::placeholder{--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}.read-only\:cursor-not-allowed:-moz-read-only{cursor:not-allowed}.read-only\:cursor-not-allowed:read-only{cursor:not-allowed}.read-only\:border-blue-300:-moz-read-only{--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.read-only\:border-blue-300:read-only{--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.read-only\:bg-blue-300:-moz-read-only{--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.read-only\:bg-blue-300:read-only{--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(202 205 210 / var(--tw-border-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 111 145 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(239 242 244 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:outline:hover{outline-style:solid}.focus\:border-gray-500:focus{--tw-border-opacity: 1;border-color:rgb(202 205 210 / var(--tw-border-opacity))}.focus\:bg-gray-200:focus{--tw-bg-opacity: 1;background-color:rgb(239 242 244 / var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline:focus{outline-style:solid}.active\:border-white:active{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.active\:bg-blue-500:active{--tw-bg-opacity: 1;background-color:rgb(179 201 214 / var(--tw-bg-opacity))}.active\:bg-white:active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.active\:text-blue-800:active{--tw-text-opacity: 1;color:rgb(0 75 118 / var(--tw-text-opacity))}.active\:outline-none:active{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-blue-500:disabled{--tw-border-opacity: 1;border-color:rgb(179 201 214 / var(--tw-border-opacity))}.disabled\:bg-gray-400:disabled{--tw-bg-opacity: 1;background-color:rgb(220 222 225 / var(--tw-bg-opacity))}.disabled\:bg-transparent:disabled{background-color:transparent}.disabled\:bg-white:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\:text-blue-500:disabled{--tw-text-opacity: 1;color:rgb(179 201 214 / var(--tw-text-opacity))}.disabled\:text-gray-500:disabled{--tw-text-opacity: 1;color:rgb(202 205 210 / var(--tw-text-opacity))}.disabled\:text-gray-600:disabled{--tw-text-opacity: 1;color:rgb(184 189 195 / var(--tw-text-opacity))}.disabled\:outline-none:disabled{outline:2px solid transparent;outline-offset:2px}.disabled\:hover\:bg-white:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.has-\[\[aria-invalid\]\]\:border-red-800:has([aria-invalid]){--tw-border-opacity: 1;border-color:rgb(176 36 63 / var(--tw-border-opacity))}.has-\[input\:disabled\]\:border-blue-500:has(input:disabled){--tw-border-opacity: 1;border-color:rgb(179 201 214 / var(--tw-border-opacity))}.has-\[input\:-moz-read-only\]\:border-blue-300:has(input:-moz-read-only){--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.has-\[input\:read-only\]\:border-blue-300:has(input:read-only){--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.has-\[\[aria-invalid\]\]\:bg-red-200:has([aria-invalid]){--tw-bg-opacity: 1;background-color:rgb(249 229 236 / var(--tw-bg-opacity))}.has-\[input\:disabled\]\:bg-white:has(input:disabled){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.has-\[input\:-moz-read-only\]\:bg-blue-300:has(input:-moz-read-only){--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.has-\[input\:read-only\]\:bg-blue-300:has(input:read-only){--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.has-\[\[data-size\=large\]\]\:px-24:has([data-size=large]){padding-left:1.5rem;padding-right:1.5rem}.has-\[input\:disabled\]\:text-blue-500:has(input:disabled){--tw-text-opacity: 1;color:rgb(179 201 214 / var(--tw-text-opacity))}.has-\[input\:disabled\]\:outline-none:has(input:disabled){outline:2px solid transparent;outline-offset:2px}.has-\[\:focus\]\:outline:has(:focus){outline-style:solid}.has-\[\:hover\]\:outline:has(:hover){outline-style:solid}.has-\[\[aria-invalid\]\]\:outline-red-800:has([aria-invalid]){outline-color:#b0243f}.aria-\[invalid\]\:border-red-800[aria-invalid]{--tw-border-opacity: 1;border-color:rgb(176 36 63 / var(--tw-border-opacity))}.aria-\[invalid\]\:bg-red-200[aria-invalid]{--tw-bg-opacity: 1;background-color:rgb(249 229 236 / var(--tw-bg-opacity))}.aria-\[invalid\]\:outline-red-800[aria-invalid]{outline-color:#b0243f}.aria-\[invalid\]\:disabled\:outline-none:disabled[aria-invalid]{outline:2px solid transparent;outline-offset:2px}.\[\&\[type\=password\]\:not\(\:-moz-placeholder-shown\)\]\:text-\[28px\][type=password]:not(:-moz-placeholder-shown){font-size:28px}.\[\&\[type\=password\]\:not\(\:placeholder-shown\)\]\:text-\[28px\][type=password]:not(:placeholder-shown){font-size:28px}.\[\&\[type\=password\]\:not\(\:-moz-placeholder-shown\)\]\:tracking-\[4px\][type=password]:not(:-moz-placeholder-shown){letter-spacing:4px}.\[\&\[type\=password\]\:not\(\:placeholder-shown\)\]\:tracking-\[4px\][type=password]:not(:placeholder-shown){letter-spacing:4px}.\[\&\[type\=password\]\]\:w-full[type=password]{width:100%}input+small{font-size:14px;font-weight:400;line-height:1.25;margin-top:.125rem;display:flex;align-items:center;gap:.25rem;--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}input[aria-invalid=true]+small{--tw-text-opacity: 1;color:rgb(142 0 27 / var(--tw-text-opacity))}
1
+ *,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#eff2f4}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}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}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#dcdee1}input::placeholder,textarea::placeholder{opacity:1;color:#dcdee1}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}body{color:#0b0c0c;font-family:BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif}::-moz-placeholder{font-family:BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif;font-style:normal}::placeholder{font-family:BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif;font-style:normal}:root{--ris-icon-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 5.99L19.53 19H4.47zM12 2L1 21h22z'/%3E%3Cpath fill='%23000' d='M13 16h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E");--ris-icon-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238E001B' d='M12 5.99L19.53 19H4.47zM12 2L1 21h22z'/%3E%3Cpath fill='%238E001B' d='M13 16h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E");--ris-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23004B76' d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8'/%3E%3C/svg%3E");--ris-icon-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23005E34' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(179 201 214 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(179 201 214 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.ris-title-regular{font-size:64px;font-weight:400;line-height:1.1875}.ris-heading1-regular{font-size:48px;font-weight:400;line-height:1.2}.ris-heading1-bold{font-size:48px;font-weight:700;line-height:1.2}.ris-heading2-regular{font-size:32px;font-weight:400;line-height:1.1875}.ris-heading2-bold{font-size:32px;font-weight:700;line-height:1.1875}.ris-heading3-regular{font-size:26px;font-weight:400;line-height:1.23}.ris-heading3-bold{font-size:26px;font-weight:700;line-height:1.23}.ris-subhead-regular{font-size:20px;font-weight:400;line-height:1.5}.ris-body1-regular{font-size:18px;font-weight:400;line-height:1.5}.ris-body1-bold{font-size:18px;font-weight:700;line-height:1.5}.ris-body2-regular{font-size:16px;font-weight:400;line-height:1.5}.ris-body2-bold{font-size:16px;font-weight:700;line-height:1.5}.ris-body3-regular{font-size:14px;font-weight:400;line-height:1.5}.ris-body3-bold{font-size:14px;font-weight:700;line-height:1.5}.ris-label1-regular{font-size:18px;font-weight:400;line-height:1.25}.ris-label1-bold{font-size:18px;font-weight:700;line-height:1.25}.ris-label2-regular{font-size:16px;font-weight:400;line-height:1.25}.ris-label2-bold{font-size:16px;font-weight:700;line-height:1.25}.ris-label3-regular{font-size:14px;font-weight:400;line-height:1.25}.ris-label3-bold{font-size:14px;font-weight:700;line-height:1.25}.ris-link1-regular{color:#004b76;font-size:18px;font-weight:400;line-height:1.5;text-decoration:underline}.ris-link1-bold{color:#004b76;font-size:18px;font-weight:700;line-height:1.5;text-decoration:underline}.ris-link2-regular{color:#004b76;font-size:16px;font-weight:400;line-height:1.5;text-decoration:underline}.ris-link2-bold{color:#004b76;font-size:16px;font-weight:700;line-height:1.5;text-decoration:underline}.ris-link3-regular{color:#004b76;font-size:14px;font-weight:400;line-height:1.5;text-decoration:underline}.ris-link3-bold{color:#004b76;font-size:14px;font-weight:700;line-height:1.5;text-decoration:underline}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0rem;right:0rem;bottom:0rem;left:0rem}.-order-1{order:-1}.m-0{margin:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-16{margin-bottom:1rem}.mb-4{margin-bottom:.25rem}.mb-8{margin-bottom:.5rem}.mt-16{margin-top:1rem}.mt-2{margin-top:.125rem}.mt-4{margin-top:.25rem}.mt-40{margin-top:2.5rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-16{height:1rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-48{height:3rem}.h-64{height:4rem}.h-\[1\.34em\]{height:1.34em}.h-\[44px\]{height:44px}.h-\[60px\]{height:60px}.h-full{height:100%}.max-h-\[90dvh\]{max-height:90dvh}.w-16{width:1rem}.w-20{width:1.25rem}.w-24{width:1.5rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-320{width:20rem}.w-48{width:3rem}.w-64{width:4rem}.w-\[1\.34em\]{width:1.34em}.w-\[95dvw\]{width:95dvw}.w-full{width:100%}.max-w-\[25rem\]{max-width:25rem}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-none{flex:none}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10{gap:.625rem}.gap-12{gap:.75rem}.gap-16{gap:1rem}.gap-2{gap:.125rem}.gap-24{gap:1.5rem}.gap-32{gap:2rem}.gap-4{gap:.25rem}.gap-8{gap:.5rem}.overflow-auto{overflow:auto}.rounded-full{border-radius:9999px}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-2{border-width:2px}.border-l-4{border-left-width:4px}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(0 75 118 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-l-blue-800{--tw-border-opacity: 1;border-left-color:rgb(0 75 118 / var(--tw-border-opacity))}.border-l-blue-900{--tw-border-opacity: 1;border-left-color:rgb(0 51 80 / var(--tw-border-opacity))}.border-l-green-800{--tw-border-opacity: 1;border-left-color:rgb(0 101 56 / var(--tw-border-opacity))}.border-l-green-900{--tw-border-opacity: 1;border-left-color:rgb(0 62 34 / var(--tw-border-opacity))}.border-l-red-800{--tw-border-opacity: 1;border-left-color:rgb(176 36 63 / var(--tw-border-opacity))}.border-l-red-900{--tw-border-opacity: 1;border-left-color:rgb(142 0 27 / var(--tw-border-opacity))}.border-l-yellow-800{--tw-border-opacity: 1;border-left-color:rgb(218 194 60 / var(--tw-border-opacity))}.border-l-yellow-900{--tw-border-opacity: 1;border-left-color:rgb(195 169 30 / var(--tw-border-opacity))}.bg-black\/40{background-color:#0b0c0c66}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(236 241 244 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(0 75 118 / var(--tw-bg-opacity))}.bg-current{background-color:currentColor}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(204 235 221 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(249 229 236 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(255 249 210 / var(--tw-bg-opacity))}.bg-\[length\:20px\]{background-size:20px}.bg-\[16px_18px\]{background-position:16px 18px}.bg-no-repeat{background-repeat:no-repeat}.fill-transparent{fill:transparent}.stroke-current{stroke:currentColor}.stroke-\[4px\]{stroke-width:4px}.p-0{padding:0rem}.p-16{padding:1rem}.p-2{padding:.125rem}.p-4{padding:.25rem}.px-16{padding-left:1rem;padding-right:1rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.px-24{padding-left:1.5rem;padding-right:1.5rem}.px-4{padding-left:.25rem;padding-right:.25rem}.px-56{padding-left:3.5rem;padding-right:3.5rem}.py-0{padding-top:0rem;padding-bottom:0rem}.py-10{padding-top:.625rem;padding-bottom:.625rem}.py-14{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:.25rem;padding-bottom:.25rem}.py-44{padding-top:2.75rem;padding-bottom:2.75rem}.pl-44{padding-left:2.75rem}.text-center{text-align:center}.leading-none{line-height:1}.text-black{--tw-text-opacity: 1;color:rgb(11 12 12 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(0 75 118 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(0 101 56 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(176 36 63 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-2{outline-width:2px}.outline-4{outline-width:4px}.-outline-offset-4{outline-offset:-4px}.outline-offset-4{outline-offset:4px}.outline-blue-800{outline-color:#004b76}.outline-gray-500{outline-color:#cacdd2}.\[stroke-dasharray\:200\]{stroke-dasharray:200}.\[stroke-dashoffset\:100\]{stroke-dashoffset:100}.\[\&\+label\]\:ris-label2-regular+label{font-size:16px;font-weight:400;line-height:1.25}.placeholder\:text-gray-900::-moz-placeholder{--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}.placeholder\:text-gray-900::placeholder{--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}.read-only\:cursor-not-allowed:-moz-read-only{cursor:not-allowed}.read-only\:cursor-not-allowed:read-only{cursor:not-allowed}.read-only\:border-blue-300:-moz-read-only{--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.read-only\:border-blue-300:read-only{--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.read-only\:bg-blue-300:-moz-read-only{--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.read-only\:bg-blue-300:read-only{--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(202 205 210 / var(--tw-border-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(204 219 228 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 111 145 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(239 242 244 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(151 204 180 / var(--tw-bg-opacity))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(236 179 197 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-400:hover{--tw-bg-opacity: 1;background-color:rgb(247 230 125 / var(--tw-bg-opacity))}.hover\:outline:hover{outline-style:solid}.focus\:border-gray-500:focus{--tw-border-opacity: 1;border-color:rgb(202 205 210 / var(--tw-border-opacity))}.focus\:bg-gray-200:focus{--tw-bg-opacity: 1;background-color:rgb(239 242 244 / var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline:focus{outline-style:solid}.active\:border-white:active{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.active\:bg-blue-500:active{--tw-bg-opacity: 1;background-color:rgb(179 201 214 / var(--tw-bg-opacity))}.active\:bg-green-500:active{--tw-bg-opacity: 1;background-color:rgb(101 180 145 / var(--tw-bg-opacity))}.active\:bg-red-500:active{--tw-bg-opacity: 1;background-color:rgb(230 153 177 / var(--tw-bg-opacity))}.active\:bg-white:active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.active\:bg-yellow-500:active{--tw-bg-opacity: 1;background-color:rgb(245 224 93 / var(--tw-bg-opacity))}.active\:text-blue-800:active{--tw-text-opacity: 1;color:rgb(0 75 118 / var(--tw-text-opacity))}.active\:outline-none:active{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-blue-500:disabled{--tw-border-opacity: 1;border-color:rgb(179 201 214 / var(--tw-border-opacity))}.disabled\:border-gray-600:disabled{--tw-border-opacity: 1;border-color:rgb(184 189 195 / var(--tw-border-opacity))}.disabled\:bg-gray-400:disabled{--tw-bg-opacity: 1;background-color:rgb(220 222 225 / var(--tw-bg-opacity))}.disabled\:bg-transparent:disabled{background-color:transparent}.disabled\:bg-white:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\:text-blue-500:disabled{--tw-text-opacity: 1;color:rgb(179 201 214 / var(--tw-text-opacity))}.disabled\:text-gray-500:disabled{--tw-text-opacity: 1;color:rgb(202 205 210 / var(--tw-text-opacity))}.disabled\:text-gray-600:disabled{--tw-text-opacity: 1;color:rgb(184 189 195 / var(--tw-text-opacity))}.disabled\:outline-none:disabled{outline:2px solid transparent;outline-offset:2px}.disabled\:hover\:bg-white:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-blue-800{--tw-text-opacity: 1;color:rgb(0 75 118 / var(--tw-text-opacity))}.peer:disabled~.peer-disabled\:text-gray-600{--tw-text-opacity: 1;color:rgb(184 189 195 / var(--tw-text-opacity))}.has-\[svg\:first-child\]\:flex:has(svg:first-child){display:flex}.has-\[svg\:first-child\]\:gap-8:has(svg:first-child){gap:.5rem}.has-\[\[aria-invalid\]\]\:border-red-800:has([aria-invalid]){--tw-border-opacity: 1;border-color:rgb(176 36 63 / var(--tw-border-opacity))}.has-\[input\:disabled\]\:border-blue-500:has(input:disabled){--tw-border-opacity: 1;border-color:rgb(179 201 214 / var(--tw-border-opacity))}.has-\[input\:-moz-read-only\]\:border-blue-300:has(input:-moz-read-only){--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.has-\[input\:read-only\]\:border-blue-300:has(input:read-only){--tw-border-opacity: 1;border-color:rgb(220 232 239 / var(--tw-border-opacity))}.has-\[\[aria-invalid\]\]\:bg-red-200:has([aria-invalid]){--tw-bg-opacity: 1;background-color:rgb(249 229 236 / var(--tw-bg-opacity))}.has-\[input\:disabled\]\:bg-white:has(input:disabled){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.has-\[input\:-moz-read-only\]\:bg-blue-300:has(input:-moz-read-only){--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.has-\[input\:read-only\]\:bg-blue-300:has(input:read-only){--tw-bg-opacity: 1;background-color:rgb(220 232 239 / var(--tw-bg-opacity))}.has-\[\[data-size\=large\]\]\:px-24:has([data-size=large]){padding-left:1.5rem;padding-right:1.5rem}.has-\[input\:disabled\]\:text-blue-500:has(input:disabled){--tw-text-opacity: 1;color:rgb(179 201 214 / var(--tw-text-opacity))}.has-\[input\:disabled\]\:outline-none:has(input:disabled){outline:2px solid transparent;outline-offset:2px}.has-\[\:focus\]\:outline:has(:focus){outline-style:solid}.has-\[\:hover\]\:outline:has(:hover){outline-style:solid}.has-\[\[aria-invalid\]\]\:outline-red-800:has([aria-invalid]){outline-color:#b0243f}.aria-\[invalid\]\:border-red-800[aria-invalid]{--tw-border-opacity: 1;border-color:rgb(176 36 63 / var(--tw-border-opacity))}.aria-\[invalid\]\:bg-red-200[aria-invalid]{--tw-bg-opacity: 1;background-color:rgb(249 229 236 / var(--tw-bg-opacity))}.aria-\[invalid\]\:outline-red-800[aria-invalid]{outline-color:#b0243f}.aria-\[invalid\]\:active\:outline-none:active[aria-invalid]{outline:2px solid transparent;outline-offset:2px}.aria-\[invalid\]\:disabled\:outline-none:disabled[aria-invalid]{outline:2px solid transparent;outline-offset:2px}.peer[aria-invalid]~.peer-aria-\[invalid\]\:text-red-800{--tw-text-opacity: 1;color:rgb(176 36 63 / var(--tw-text-opacity))}.\[\&\+label\]\:ml-8+label{margin-left:.5rem}.\[\&\[type\=password\]\:not\(\:-moz-placeholder-shown\)\]\:text-\[28px\][type=password]:not(:-moz-placeholder-shown){font-size:28px}.\[\&\[type\=password\]\:not\(\:placeholder-shown\)\]\:text-\[28px\][type=password]:not(:placeholder-shown){font-size:28px}.\[\&\[type\=password\]\:not\(\:-moz-placeholder-shown\)\]\:tracking-\[4px\][type=password]:not(:-moz-placeholder-shown){letter-spacing:4px}.\[\&\[type\=password\]\:not\(\:placeholder-shown\)\]\:tracking-\[4px\][type=password]:not(:placeholder-shown){letter-spacing:4px}.\[\&\[type\=password\]\]\:w-full[type=password]{width:100%}.ris-dialog-content svg:first-child{flex:none}input+small{font-size:14px;font-weight:400;line-height:1.25;margin-top:.125rem;display:flex;align-items:center;gap:.25rem;--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}input[aria-invalid=true]+small{--tw-text-opacity: 1;color:rgb(142 0 27 / var(--tw-text-opacity))}textarea+small{font-size:14px;font-weight:400;line-height:1.25;margin-top:.125rem;display:flex;align-items:center;gap:.25rem;--tw-text-opacity: 1;color:rgb(78 89 106 / var(--tw-text-opacity))}textarea[aria-invalid=true]+small{--tw-text-opacity: 1;color:rgb(142 0 27 / var(--tw-text-opacity))}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalservicebund/ris-ui",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Component library for NeuRIS",
5
5
  "author": "digitalservicebund",
6
6
  "license": "GPL-3.0-only",
@@ -72,6 +72,8 @@
72
72
  "eslint-config-prettier": "~9.1.0",
73
73
  "globals": "~15.9.0",
74
74
  "license-checker": "~25.0.1",
75
+ "msw": "^2.4.5",
76
+ "msw-storybook-addon": "^2.0.3",
75
77
  "noop-tag": "~2.0.0",
76
78
  "prettier": "~3.3.3",
77
79
  "prettier-plugin-tailwindcss": "~0.6.6",
@@ -82,5 +84,10 @@
82
84
  "unplugin-icons": "~0.19.2",
83
85
  "vite": "~5.4.1",
84
86
  "vue-tsc": "~2.0.29"
87
+ },
88
+ "msw": {
89
+ "workerDirectory": [
90
+ "public"
91
+ ]
85
92
  }
86
93
  }