@digitalservicebund/ris-ui 3.11.1 → 3.13.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,17 +1,19 @@
1
- const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
1
+ const S = (t, ...l) => String.raw({ raw: t }, ...l), e = S, M = {
2
2
  root: ({ props: t, instance: l }) => {
3
- const r = e`relative inline-flex max-w-full cursor-pointer items-center justify-center gap-8 rounded-none text-center focus:outline-4 focus:outline-offset-4 focus:outline-blue-800 focus:not-focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 active:outline-none disabled:cursor-not-allowed disabled:outline-hidden`, o = t.severity ?? "primary", s = 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`, n = 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`, a = e`border-2 border-red-800 bg-white text-red-800 hover:bg-gray-200 focus:bg-gray-200 focus:outline-red-800 active:border-white active:bg-white disabled:border-red-500 disabled:text-red-500 disabled:hover:bg-white`, d = 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`, i = t.size ?? "normal";
4
- let b = e`ris-body2-bold h-40 py-4`, u = e`ris-body2-bold h-48 py-4`, c = e`ris-body1-bold h-64 py-4`;
5
- return l.hasIcon && !t.label ? (b = e`${b} w-40 px-4`, u = e`${u} w-48 px-4`, c = e`${c} w-64 px-4`) : (b = e`${b} px-16`, u = e`${u} px-16`, c = e`${c} px-24`), {
3
+ const r = e`relative inline-flex max-w-full cursor-pointer items-center justify-center gap-8 text-center focus:outline-4 focus:outline-offset-4 focus:outline-blue-800 focus:not-focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 active:outline-none disabled:cursor-not-allowed disabled:outline-hidden`, o = e`rounded-full`, s = t.severity ?? "primary", a = 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`, n = 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`, c = e`border-2 border-red-800 bg-white text-red-800 hover:bg-gray-200 focus:bg-gray-200 focus:outline-red-800 active:border-white active:bg-white disabled:border-red-500 disabled:text-red-500 disabled:hover:bg-white`, u = e`border border-blue-500 bg-white font-normal 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`, h = 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`, b = t.size ?? "normal";
4
+ let i = e`ris-body2-bold h-40 py-4`, d = e`ris-body2-bold h-48 py-4`, g = e`ris-body1-bold h-64 py-4`;
5
+ return l.hasIcon && !t.label ? (i = e`${i} w-40 px-4`, d = e`${d} w-48 px-4`, g = e`${g} w-64 px-4`) : (i = e`${i} px-16`, d = e`${d} px-16`, g = e`${g} px-24`), {
6
6
  class: {
7
7
  [r]: !0,
8
- [b]: i === "small",
9
- [u]: i === "normal",
10
- [c]: i === "large",
11
- [s]: !t.text && o === "primary",
12
- [n]: !t.text && o === "secondary",
13
- [a]: !t.text && o === "danger",
14
- [d]: t.text && o === "primary"
8
+ [o]: t.rounded,
9
+ [i]: b === "small",
10
+ [d]: b === "normal",
11
+ [g]: b === "large",
12
+ [a]: !t.text && s === "primary",
13
+ [n]: !t.text && s === "secondary",
14
+ [c]: !t.text && s === "danger",
15
+ [u]: !t.text && s === "info",
16
+ [h]: t.text && s === "primary"
15
17
  }
16
18
  };
17
19
  },
@@ -35,7 +37,7 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
35
37
  }
36
38
  };
37
39
  }
38
- }, h = {
40
+ }, f = {
39
41
  root: ({ props: t }) => ({
40
42
  class: {
41
43
  [e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`]: !0,
@@ -51,9 +53,9 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
51
53
  icon: {
52
54
  class: e`h-12 w-12`
53
55
  }
54
- }, S = {
55
- // All styling implemented in primevue/dialog
56
56
  }, z = {
57
+ // All styling implemented in primevue/dialog
58
+ }, N = {
57
59
  root: () => ({
58
60
  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`
59
61
  }),
@@ -85,7 +87,7 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
85
87
  mask: {
86
88
  class: e`bg-black/40`
87
89
  }
88
- }, M = {
90
+ }, D = {
89
91
  basicContent: {
90
92
  // @ts-expect-error types appear to be wrong here
91
93
  class: e`flex flex-col items-center gap-10`
@@ -93,27 +95,20 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
93
95
  input: {
94
96
  class: e`hidden`
95
97
  }
96
- }, N = {
97
- root: {
98
- 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 has-[:focus]:outline has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800 has-[:hover]:outline has-[:hover]:outline-4 has-[:hover]:-outline-offset-4 has-[:hover]:outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[[aria-invalid]]:bg-red-200 has-[[aria-invalid]]:outline-red-800 has-[[data-size=large]]:px-24 has-[input:disabled]:border-blue-500 has-[input:disabled]:bg-white has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-hidden has-[input:read-only]:border-blue-300 has-[input:read-only]:bg-blue-300`
99
- }
100
98
  }, A = {
101
99
  root: {
102
- class: e`m-0 p-0`
100
+ class: e`flex`
103
101
  }
104
- }, w = e`[&+small]:ris-label3-regular border-2 border-blue-800 bg-white placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, x = e`ris-body2-regular h-48 px-16 py-4`, D = e`ris-body1-regular h-64 px-24 py-4`, L = e`ris-body2-regular h-[44px] p-0`, B = e`ris-body1-regular h-[60px] p-0`, I = {
105
- root: ({ props: t, parent: l }) => {
106
- const r = e`[&[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px]`, o = l.instance.$name === "InputGroup", s = e`bg-transparent placeholder:text-gray-900 focus:outline-hidden`, n = e`w-full`;
102
+ }, y = e`[&+small]:ris-label3-regular border-2 border-blue-800 bg-white placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, k = e`ris-body2-regular h-48 px-16 py-4`, L = e`ris-body1-regular h-64 px-24 py-4`, B = {
103
+ root: ({ props: t }) => {
104
+ const l = e`[&[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px]`, r = e`w-full`;
107
105
  return {
108
106
  class: {
109
- [w]: !o,
110
- [s]: o,
111
- [n]: !!t.fluid,
112
- [r]: !0,
113
- [x]: (!t.size || t.size === "small") && !o,
114
- [L]: (!t.size || t.size === "small") && o,
115
- [D]: t.size === "large" && !o,
116
- [B]: t.size === "large" && o
107
+ [y]: !0,
108
+ [r]: !!t.fluid,
109
+ [l]: !0,
110
+ [k]: !t.size || t.size === "small",
111
+ [L]: t.size === "large"
117
112
  },
118
113
  "data-size": t.size ?? "small"
119
114
  };
@@ -142,23 +137,23 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
142
137
  }
143
138
  }, T = {
144
139
  root: ({ props: t, instance: l }) => {
145
- const r = e`ris-body1-regular border-l-4 px-20 py-14`, o = t.severity ?? "info", s = e`border-l-green-800 bg-green-200`, n = e`border-l-blue-800 bg-blue-200`, a = e`border-l-yellow-800 bg-yellow-200`, d = e`border-l-red-800 bg-red-200`, i = !!l.$slots.icon, u = {
140
+ const r = e`ris-body1-regular border-l-4 px-20 py-14`, o = t.severity ?? "info", s = e`border-l-green-800 bg-green-200`, a = e`border-l-blue-800 bg-blue-200`, n = e`border-l-yellow-800 bg-yellow-200`, c = e`border-l-red-800 bg-red-200`, u = !!l.$slots.icon, b = {
146
141
  success: "var(--ris-icon-success)",
147
142
  info: "var(--ris-icon-info)",
148
143
  warn: "var(--ris-icon-warn)",
149
144
  error: "var(--ris-icon-error)"
150
- }[o], c = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
145
+ }[o], i = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
151
146
  return {
152
147
  class: {
153
148
  [r]: !0,
154
149
  [s]: o === "success",
155
- [n]: o === "info",
156
- [a]: o === "warn",
157
- [d]: o === "error",
158
- [c]: !i
150
+ [a]: o === "info",
151
+ [n]: o === "warn",
152
+ [c]: o === "error",
153
+ [i]: !u
159
154
  },
160
155
  style: {
161
- backgroundImage: i ? void 0 : u
156
+ backgroundImage: u ? void 0 : b
162
157
  }
163
158
  };
164
159
  },
@@ -169,27 +164,27 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
169
164
  class: e`flex-1`
170
165
  },
171
166
  closeButton: ({ props: t }) => {
172
- const l = 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", o = e`text-green-800 hover:bg-green-400 active:bg-green-500`, s = e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`, n = e`text-black hover:bg-yellow-400 active:bg-yellow-500`, a = e`text-red-800 hover:bg-red-400 active:bg-red-500`;
167
+ const l = 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", o = e`text-green-800 hover:bg-green-400 active:bg-green-500`, s = e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`, a = e`text-black hover:bg-yellow-400 active:bg-yellow-500`, n = e`text-red-800 hover:bg-red-400 active:bg-red-500`;
173
168
  return {
174
169
  class: {
175
170
  [l]: !0,
176
171
  [o]: r === "success",
177
172
  [s]: r === "info",
178
- [n]: r === "warn",
179
- [a]: r === "error"
173
+ [a]: r === "warn",
174
+ [n]: r === "error"
180
175
  }
181
176
  };
182
177
  }
183
178
  }, C = {
184
179
  // All styling moved to inputText.ts
185
- }, E = {
180
+ }, I = {
186
181
  root: {
187
182
  class: e`mx-auto inline-block h-28 w-28 animate-spin`
188
183
  },
189
184
  circle: {
190
185
  class: e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`
191
186
  }
192
- }, j = {
187
+ }, E = {
193
188
  root: {
194
189
  class: e`[&+label]:ris-label1-regular relative inline-block h-32 w-32 [&+label]:ml-8`
195
190
  },
@@ -202,36 +197,38 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
202
197
  icon: {
203
198
  class: e`h-16 w-16 rounded-full bg-current`
204
199
  }
205
- }, g = e`w-full`, R = {
200
+ }, v = e`w-full`, j = {
206
201
  root: ({ props: t }) => {
207
- const l = e`flex border-2 border-blue-800 bg-white placeholder:text-gray-800 focus-within:outline-4 focus-within:-outline-offset-4 focus-within:outline-blue-800 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden`, r = e`ris-body2-regular h-48 py-4 pr-4 pl-16`;
202
+ const l = e`flex border-2 border-blue-800 bg-white placeholder:text-gray-800 focus-within:outline-4 focus-within:-outline-offset-4 focus-within:outline-blue-800 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden`, r = e`ris-body2-regular h-48 py-4 pr-4 pl-16`, o = e`aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden`;
208
203
  return {
209
204
  class: {
210
205
  [l]: !0,
211
206
  [r]: !0,
212
- [g]: !!t.fluid
213
- }
207
+ [v]: !!t.fluid,
208
+ [o]: t.invalid
209
+ },
210
+ "aria-invalid": t.invalid ? "true" : null
214
211
  };
215
212
  },
216
213
  pcInputText: {
217
214
  root: ({ props: t }) => ({
218
215
  class: {
219
216
  [e`focus-visible:outline-hidden`]: !0,
220
- [g]: !!t.fluid
217
+ [v]: !!t.fluid
221
218
  }
222
219
  })
223
220
  },
224
221
  dropdown: { class: e`absolute inset-y-0 right-16` },
225
222
  option: {
226
- class: e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`
223
+ class: e`cursor-pointer border-l-4 border-transparent hover:bg-blue-100 data-[p-focused=true]:border-blue-800 data-[p-focused=true]:bg-blue-200`
227
224
  },
228
225
  optionGroup: {
229
- class: e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`
226
+ class: e`hover:bg-blue-100 data-[p-focused=true]:bg-blue-200`
230
227
  },
231
228
  overlay: {
232
- class: e`w-full overflow-auto bg-white px-8 py-12 shadow-md`
229
+ class: e`mt-12 w-full overflow-auto bg-white px-8 py-12 shadow-md`
233
230
  }
234
- }, V = {
231
+ }, R = {
235
232
  root: ({ props: t }) => {
236
233
  const l = e`ris-body1-regular [&+small]:ris-label3-regular min-h-56 border-2 border-blue-800 bg-white px-14 pt-8 pb-12 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, r = e`w-full`;
237
234
  return {
@@ -241,19 +238,19 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
241
238
  }
242
239
  };
243
240
  }
244
- }, _ = {
241
+ }, V = {
245
242
  root: {
246
243
  class: e`max-w-lg`
247
244
  },
248
245
  message: ({ props: t }) => {
249
- const l = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = t.message?.severity, o = e`border-l-green-900 bg-green-200`, s = e`border-l-red-900 bg-red-200`, n = e`border-l-yellow-900 bg-yellow-200`, a = e`border-l-blue-900 bg-blue-200`;
246
+ const l = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = t.message?.severity, o = e`border-l-green-900 bg-green-200`, s = e`border-l-red-900 bg-red-200`, a = e`border-l-yellow-900 bg-yellow-200`, n = e`border-l-blue-900 bg-blue-200`;
250
247
  return {
251
248
  class: {
252
249
  [l]: !0,
253
250
  [o]: r === "success",
254
251
  [s]: r === "error",
255
- [n]: r === "warn",
256
- [a]: r === "info"
252
+ [a]: r === "warn",
253
+ [n]: r === "info"
257
254
  }
258
255
  };
259
256
  },
@@ -261,14 +258,14 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
261
258
  class: e`flex w-full flex-row items-start justify-between gap-10`
262
259
  },
263
260
  messageIcon: ({ props: t }) => {
264
- const l = e`mt-2 h-20 w-20 flex-none shrink-0`, r = t.message?.severity ?? "info", o = e`text-green-800`, s = e`text-red-800`, n = e`text-black`, a = e`text-blue-800`;
261
+ const l = e`mt-2 h-20 w-20 flex-none shrink-0`, r = t.message?.severity ?? "info", o = e`text-green-800`, s = e`text-red-800`, a = e`text-black`, n = e`text-blue-800`;
265
262
  return {
266
263
  class: {
267
264
  [l]: !0,
268
265
  [o]: r === "success",
269
266
  [s]: r === "error",
270
- [n]: r === "warn",
271
- [a]: r === "info"
267
+ [a]: r === "warn",
268
+ [n]: r === "info"
272
269
  }
273
270
  };
274
271
  },
@@ -282,32 +279,32 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
282
279
  class: e`ris-label2-regular`
283
280
  },
284
281
  closeButton: ({ props: t }) => {
285
- const l = e`rounded-sm p-2`, r = t.message?.severity ?? "info", o = e`hover:bg-green-400`, s = e`hover:bg-red-400`, n = e`hover:bg-yellow-400`, a = e`hover:bg-blue-400`;
282
+ const l = e`rounded-sm p-2`, r = t.message?.severity ?? "info", o = e`hover:bg-green-400`, s = e`hover:bg-red-400`, a = e`hover:bg-yellow-400`, n = e`hover:bg-blue-400`;
286
283
  return {
287
284
  class: {
288
285
  [l]: !0,
289
286
  [o]: r === "success",
290
287
  [s]: r === "error",
291
- [n]: r === "warn",
292
- [a]: r === "info"
288
+ [a]: r === "warn",
289
+ [n]: r === "info"
293
290
  }
294
291
  };
295
292
  },
296
293
  closeIcon: {
297
294
  class: e`text-black`
298
295
  }
299
- }, P = {
296
+ }, _ = {
300
297
  root: ({ props: t, state: l }) => {
301
- const r = e`ris-body2-regular [&+small]:ris-label3-regular relative inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-12 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, o = e`cursor-pointer border-blue-800`, s = e`has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800`, n = e`hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, a = e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`, d = e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, i = e`w-full`;
298
+ const r = e`ris-body2-regular [&+small]:ris-label3-regular relative inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-12 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, o = e`cursor-pointer border-blue-800`, s = e`has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800`, a = e`hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, n = e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`, c = e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, u = e`w-full`;
302
299
  return {
303
300
  class: {
304
301
  [r]: !0,
305
302
  [o]: !t.disabled,
306
303
  [s]: l.focused && !t.disabled,
307
- [n]: !t.disabled,
308
- [i]: !!t.fluid,
309
- [a]: t.disabled,
310
- [d]: t.invalid
304
+ [a]: !t.disabled,
305
+ [u]: !!t.fluid,
306
+ [n]: t.disabled,
307
+ [c]: t.invalid
311
308
  },
312
309
  "aria-invalid": t.invalid ? "true" : null
313
310
  };
@@ -333,12 +330,12 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
333
330
  }
334
331
  };
335
332
  }
336
- }, G = {
333
+ }, P = {
337
334
  pcInputText: {
338
335
  root: ({ props: t }) => ({
339
336
  class: {
340
- [w]: !0,
341
- [x]: !0,
337
+ [y]: !0,
338
+ [k]: !0,
342
339
  "w-full": !!t.fluid
343
340
  }
344
341
  })
@@ -356,17 +353,17 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
356
353
  separator: {
357
354
  class: e`mx-6 flex items-center text-gray-600`
358
355
  }
359
- }, f = e`cursor-pointer`, p = e`ris-label1-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`, v = e`ris-label1-regular hover:bg-blue-200 focus-visible:bg-blue-200`, m = e`focus-visible:outline-none`, J = {
356
+ }, p = e`cursor-pointer`, m = e`ris-label1-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`, w = e`ris-label1-regular hover:bg-blue-200 focus-visible:bg-blue-200`, x = e`focus-visible:outline-none`, J = {
360
357
  root: {
361
358
  class: e`text-blue-800`
362
359
  },
363
360
  header: ({ context: t }) => ({
364
361
  class: {
365
362
  [e`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]: !0,
366
- [m]: !0,
367
- [f]: !0,
368
- [p]: t.active,
369
- [v]: !t.active
363
+ [x]: !0,
364
+ [p]: !0,
365
+ [m]: t.active,
366
+ [w]: !t.active
370
367
  }
371
368
  }),
372
369
  content: {
@@ -385,10 +382,10 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
385
382
  [l]: !0,
386
383
  [r]: t.active && t.focused,
387
384
  [o]: !t.active && t.focused,
388
- [m]: !0,
389
- [f]: !0,
390
- [p]: t.active,
391
- [v]: !t.active
385
+ [x]: !0,
386
+ [p]: !0,
387
+ [m]: t.active,
388
+ [w]: !t.active
392
389
  }
393
390
  };
394
391
  }
@@ -397,14 +394,14 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
397
394
  class: e`mb-24 last:mb-0 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>ul:first-of-type]:border-l-0`
398
395
  },
399
396
  nodeContent: ({ context: t }) => {
400
- const l = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`, r = e`cursor-pointer select-none`, o = e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, s = e`border-l-blue-800 bg-blue-200 text-black`, n = e`hover:bg-blue-200`, a = e`hover:bg-blue-300`;
397
+ const l = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`, r = e`cursor-pointer select-none`, o = e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, s = e`border-l-blue-800 bg-blue-200 text-black`, a = e`hover:bg-blue-200`, n = e`hover:bg-blue-300`;
401
398
  return {
402
399
  class: {
403
400
  [l]: !0,
404
401
  [r]: !0,
405
402
  [s]: t.selected,
406
- [n]: !t.selected,
407
- [a]: t.selected,
403
+ [a]: !t.selected,
404
+ [n]: t.selected,
408
405
  [o]: !0
409
406
  }
410
407
  };
@@ -458,7 +455,7 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
458
455
  [e`h-[3px] w-11/12 cursor-row-resize`]: t.layout === "vertical"
459
456
  }
460
457
  })
461
- }, $ = {
458
+ }, G = {
462
459
  root: {
463
460
  class: e`relative`
464
461
  },
@@ -472,7 +469,7 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
472
469
  class: e`sticky top-0 bg-white shadow-[0_1px_0_var(--color-blue-300)]`
473
470
  },
474
471
  tbody: {
475
- class: e`divide-y divide-blue-300`
472
+ class: e`divide-y divide-blue-300 border-b border-blue-300`
476
473
  },
477
474
  bodyRow: ({ context: t }) => ({
478
475
  class: [
@@ -492,13 +489,13 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
492
489
  class: e`ris-body1-regular h-56 px-16 py-12`
493
490
  },
494
491
  pcHeaderCheckbox: {
495
- ...h,
492
+ ...f,
496
493
  root: {
497
494
  class: e`relative block h-24 w-24`
498
495
  }
499
496
  },
500
497
  pcRowCheckbox: {
501
- ...h,
498
+ ...f,
502
499
  root: {
503
500
  class: e`relative block h-24 w-24`
504
501
  }
@@ -528,20 +525,20 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
528
525
  root: {
529
526
  class: e`min-h-96 bg-[var(--p-tabs-tabpanel-background)] py-24 outline-blue-800 focus-visible:outline-solid`
530
527
  }
531
- }, U = {
528
+ }, $ = {
532
529
  tabList: {
533
530
  class: e`relative flex before:absolute before:bottom-0 before:left-[50%] before:h-px before:w-[var(--tab-list-separator-width,100%)] before:-translate-x-1/2 before:bg-[var(--p-tabs-tablist-border-color)]`
534
531
  }
535
- }, Y = {
532
+ }, U = {
536
533
  arrow: ({ context: t }) => {
537
- const l = e`absolute h-0 w-0 border-[7px] border-solid`, r = e`-mr-[7px] border-b-0 border-t-gray-900 border-r-transparent border-l-transparent`, o = e`-mt-[7px] border-l-0 border-t-transparent border-r-gray-900 border-b-transparent`, s = e`-ml-[7px] border-t-0 border-r-transparent border-b-gray-900 border-l-transparent`, n = e`-mt-[7px] border-r-0 border-t-transparent border-b-transparent border-l-gray-900`, a = !t.top && !t.right && !t.bottom && !t.left;
534
+ const l = e`absolute h-0 w-0 border-[7px] border-solid`, r = e`-mr-[7px] border-b-0 border-t-gray-900 border-r-transparent border-l-transparent`, o = e`-mt-[7px] border-l-0 border-t-transparent border-r-gray-900 border-b-transparent`, s = e`-ml-[7px] border-t-0 border-r-transparent border-b-gray-900 border-l-transparent`, a = e`-mt-[7px] border-r-0 border-t-transparent border-b-transparent border-l-gray-900`, n = !t.top && !t.right && !t.bottom && !t.left;
538
535
  return {
539
536
  class: {
540
537
  [l]: !0,
541
538
  [r]: t.top,
542
- [o]: t.right || a,
539
+ [o]: t.right || n,
543
540
  [s]: t.bottom,
544
- [n]: t.left
541
+ [a]: t.left
545
542
  }
546
543
  };
547
544
  },
@@ -551,7 +548,7 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
551
548
  root: {
552
549
  class: e`absolute`
553
550
  }
554
- }, q = {
551
+ }, Y = {
555
552
  startsWith: "Beginnt mit",
556
553
  contains: "Enthält",
557
554
  notContains: "Enthält nicht",
@@ -705,41 +702,40 @@ const y = (t, ...l) => String.raw({ raw: t }, ...l), e = y, k = {
705
702
  rotateLeft: "Links drehen",
706
703
  listLabel: "Optionsliste"
707
704
  }
708
- }, Q = {
709
- button: k,
710
- checkbox: h,
711
- confirmDialog: S,
712
- dialog: z,
713
- fileUpload: M,
714
- inputGroup: N,
715
- inputGroupAddon: A,
716
- inputText: I,
705
+ }, q = {
706
+ button: M,
707
+ checkbox: f,
708
+ confirmDialog: z,
709
+ dialog: N,
710
+ fileUpload: D,
711
+ inputGroup: A,
712
+ inputText: B,
717
713
  menu: F,
718
714
  message: T,
719
715
  password: C,
720
- progressSpinner: E,
721
- radioButton: j,
722
- textarea: V,
723
- toast: _,
724
- autocomplete: R,
725
- select: P,
726
- inputMask: G,
716
+ progressSpinner: I,
717
+ radioButton: E,
718
+ textarea: R,
719
+ toast: V,
720
+ autocomplete: j,
721
+ select: _,
722
+ inputMask: P,
727
723
  breadcrumb: Z,
728
724
  tree: H,
729
725
  panelmenu: J,
730
726
  splitter: K,
731
- dataTable: $,
727
+ dataTable: G,
732
728
  tab: O,
733
729
  tabPanel: W,
734
- tabList: U,
730
+ tabList: $,
735
731
  directives: {
736
- tooltip: Y
732
+ tooltip: U
737
733
  }
738
- }, X = {
739
- deDE: q
734
+ }, Q = {
735
+ deDE: Y
740
736
  };
741
737
  export {
742
- X as RisUiLocale,
743
- Q as RisUiTheme
738
+ Q as RisUiLocale,
739
+ q as RisUiTheme
744
740
  };
745
741
  //# sourceMappingURL=index.js.map