@digitalservicebund/ris-ui 3.17.1 → 3.18.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,20 +1,20 @@
1
1
  import { t as e } from "../tags-Dde6Li6m.js";
2
2
  const S = {
3
3
  root: ({ props: t, instance: l }) => {
4
- 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`, i = 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";
5
- let c = e`ris-body2-bold h-40 py-4`, d = e`ris-body2-bold h-48 py-4`, f = e`ris-body1-bold h-64 py-4`;
6
- return l.hasIcon && !t.label ? (c = e`${c} w-40 px-4`, d = e`${d} w-48 px-4`, f = e`${f} w-64 px-4`) : (c = e`${c} px-12`, d = e`${d} px-16`, f = e`${f} px-24`), {
4
+ const r = e`relative inline-flex max-w-full cursor-pointer items-center justify-center gap-8 text-center focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:not-focus-visible:outline-none active:outline-none disabled:cursor-not-allowed disabled:outline-hidden`, o = e`rounded-full`, s = t.severity ?? "primary", i = 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-visible:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, n = e`border-2 border-red-800 bg-white text-red-800 hover:bg-gray-200 focus-visible:bg-gray-200 focus-visible:outline-red-800 active:border-white active:bg-white disabled:border-red-500 disabled:text-red-500 disabled:hover:bg-white`, b = e`border border-blue-500 bg-white font-normal text-blue-800 hover:bg-gray-200 focus-visible:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, g = e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus-visible:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`, c = t.size ?? "normal";
5
+ let u = e`ris-body2-bold h-40 py-4`, d = e`ris-body2-bold h-48 py-4`, f = e`ris-body1-bold h-64 py-4`;
6
+ return l.hasIcon && !t.label ? (u = e`${u} w-40 px-4`, d = e`${d} w-48 px-4`, f = e`${f} w-64 px-4`) : (u = e`${u} px-12`, d = e`${d} px-16`, f = e`${f} px-24`), {
7
7
  class: {
8
8
  [r]: !0,
9
9
  [o]: t.rounded,
10
- [c]: b === "small",
11
- [d]: b === "normal",
12
- [f]: b === "large",
13
- [a]: !t.text && s === "primary",
14
- [n]: !t.text && s === "secondary",
15
- [i]: !t.text && s === "danger",
16
- [u]: !t.text && s === "info",
17
- [h]: t.text && s === "primary"
10
+ [u]: c === "small",
11
+ [d]: c === "normal",
12
+ [f]: c === "large",
13
+ [i]: !t.text && s === "primary",
14
+ [a]: !t.text && s === "secondary",
15
+ [n]: !t.text && s === "danger",
16
+ [b]: !t.text && s === "info",
17
+ [g]: t.text && s === "primary"
18
18
  }
19
19
  };
20
20
  },
@@ -38,7 +38,7 @@ const S = {
38
38
  }
39
39
  };
40
40
  }
41
- }, g = {
41
+ }, h = {
42
42
  root: ({ props: t }) => ({
43
43
  class: {
44
44
  [e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`]: !0,
@@ -46,10 +46,10 @@ const S = {
46
46
  }
47
47
  }),
48
48
  input: {
49
- class: e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white 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 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`
49
+ class: e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white checked:bg-blue-800 hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 checked:hover:bg-blue-700 checked:hover:outline-blue-700 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-hidden disabled:checked:bg-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:checked:bg-red-800 aria-[invalid]:checked:outline-red-700 aria-[invalid]:checked:hover:bg-red-700 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`
50
50
  },
51
51
  box: {
52
- 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`
52
+ class: e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-checked:text-white`
53
53
  },
54
54
  icon: {
55
55
  class: e`h-12 w-12`
@@ -78,7 +78,7 @@ const S = {
78
78
  },
79
79
  pcCloseButton: {
80
80
  root: {
81
- class: e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-hidden hover:outline hover:outline-2 hover:outline-gray-500 focus:outline focus:outline-2 focus:outline-gray-500 active:outline-hidden`
81
+ class: e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-hidden hover:outline-2 hover:outline-gray-500 focus-visible:outline-4 focus-visible:outline-blue-800 active:outline-none`
82
82
  }
83
83
  },
84
84
  content: {
@@ -103,20 +103,20 @@ const S = {
103
103
  input: {
104
104
  class: e`hidden`
105
105
  }
106
- }, A = {
106
+ }, L = {
107
107
  root: {
108
108
  class: e`flex`
109
109
  }
110
- }, 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 = {
110
+ }, 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-visible:outline-4 focus-visible:-outline-offset-4 focus-visible: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`, A = e`ris-body1-regular h-64 px-24 py-4`, B = {
111
111
  root: ({ props: t }) => {
112
- 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`;
112
+ 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`;
113
113
  return {
114
114
  class: {
115
115
  [y]: !0,
116
116
  [r]: !!t.fluid,
117
117
  [l]: !0,
118
118
  [k]: !t.size || t.size === "small",
119
- [L]: t.size === "large"
119
+ [A]: t.size === "large"
120
120
  },
121
121
  "data-size": t.size ?? "small"
122
122
  };
@@ -143,25 +143,25 @@ const S = {
143
143
  itemLink: {
144
144
  class: e`flex items-center gap-8`
145
145
  }
146
- }, F = {
146
+ }, I = {
147
147
  root: ({ props: t, instance: l }) => {
148
- 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`, i = e`border-l-red-800 bg-red-200`, u = !!l.$slots.icon, b = {
148
+ 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`, i = e`border-l-blue-800 bg-blue-200`, a = e`border-l-yellow-800 bg-yellow-200`, n = e`border-l-red-800 bg-red-200`, b = !!l.$slots.icon, c = {
149
149
  success: "var(--ris-icon-success)",
150
150
  info: "var(--ris-icon-info)",
151
151
  warn: "var(--ris-icon-warn)",
152
152
  error: "var(--ris-icon-error)"
153
- }[o], c = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
153
+ }[o], u = e`bg-size-[20px] bg-position-[16px_18px] bg-no-repeat pl-44`;
154
154
  return {
155
155
  class: {
156
156
  [r]: !0,
157
157
  [s]: o === "success",
158
- [a]: o === "info",
159
- [n]: o === "warn",
160
- [i]: o === "error",
161
- [c]: !u
158
+ [i]: o === "info",
159
+ [a]: o === "warn",
160
+ [n]: o === "error",
161
+ [u]: !b
162
162
  },
163
163
  style: {
164
- backgroundImage: u ? void 0 : b
164
+ backgroundImage: b ? void 0 : c
165
165
  }
166
166
  };
167
167
  },
@@ -172,18 +172,18 @@ const S = {
172
172
  class: e`flex-1`
173
173
  },
174
174
  closeButton: ({ props: t }) => {
175
- 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`;
175
+ const l = e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center p-2 leading-none outline-offset-4 outline-blue-800 focus-visible:outline-4`, 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`, i = e`text-black hover:bg-yellow-400 active:bg-yellow-500`, a = e`text-red-800 hover:bg-red-400 active:bg-red-500`;
176
176
  return {
177
177
  class: {
178
178
  [l]: !0,
179
179
  [o]: r === "success",
180
180
  [s]: r === "info",
181
- [a]: r === "warn",
182
- [n]: r === "error"
181
+ [i]: r === "warn",
182
+ [a]: r === "error"
183
183
  }
184
184
  };
185
185
  }
186
- }, I = {
186
+ }, F = {
187
187
  // All styling moved to inputText.ts
188
188
  }, T = {
189
189
  root: {
@@ -197,7 +197,7 @@ const S = {
197
197
  class: e`[&+label]:ris-label1-regular relative inline-block h-32 w-32 [&+label]:ml-8`
198
198
  },
199
199
  input: {
200
- class: e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white 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 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`
200
+ class: e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus-visible:outline focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`
201
201
  },
202
202
  box: {
203
203
  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`
@@ -205,18 +205,18 @@ const S = {
205
205
  icon: {
206
206
  class: e`h-16 w-16 rounded-full bg-current`
207
207
  }
208
- }, v = e`w-full`, j = {
208
+ }, v = e`w-full`, V = {
209
209
  root: ({ props: t, state: l }) => {
210
- const r = e`ris-body2-regular flex min-h-48 border-2 bg-white py-4 pr-4 pl-16 placeholder:text-gray-800`, 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`aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden`, i = e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`;
210
+ const r = e`ris-body2-regular flex min-h-48 border-2 bg-white py-4 pr-4 pl-16 placeholder:text-gray-800`, o = e`cursor-pointer border-blue-800`, s = e`outline-4 -outline-offset-4 outline-blue-800`, i = e`hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, a = e`aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden`, n = e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`;
211
211
  return {
212
212
  class: {
213
213
  [r]: !0,
214
214
  [o]: !t.disabled,
215
215
  [s]: l.focused && !t.disabled,
216
- [a]: !t.disabled,
216
+ [i]: !t.disabled,
217
217
  [v]: !!t.fluid,
218
- [n]: t.invalid,
219
- [i]: t.disabled
218
+ [a]: t.invalid,
219
+ [n]: t.disabled
220
220
  },
221
221
  "aria-invalid": t.invalid ? "true" : null
222
222
  };
@@ -238,9 +238,11 @@ const S = {
238
238
  input: {
239
239
  class: e`w-full focus-visible:outline-hidden`
240
240
  },
241
- dropdown: { class: e`absolute inset-y-0 right-16` },
241
+ dropdown: {
242
+ class: e`absolute inset-y-0 right-16`
243
+ },
242
244
  option: {
243
- 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`
245
+ class: e`cursor-pointer border-l-4 border-transparent hover:border-blue-600 hover:bg-blue-200 data-[p-focused=true]:border-blue-600 data-[p-focused=true]:bg-blue-200`
244
246
  },
245
247
  optionGroup: {
246
248
  class: e`hover:bg-blue-100 data-[p-focused=true]:bg-blue-200`
@@ -248,9 +250,9 @@ const S = {
248
250
  overlay: {
249
251
  class: e`mt-12 w-full overflow-auto bg-white px-8 py-12 shadow-md`
250
252
  }
251
- }, R = {
253
+ }, j = {
252
254
  root: ({ props: t }) => {
253
- 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`;
255
+ 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-visible:outline focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible: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`;
254
256
  return {
255
257
  class: {
256
258
  [l]: !0,
@@ -258,19 +260,19 @@ const S = {
258
260
  }
259
261
  };
260
262
  }
261
- }, V = {
263
+ }, R = {
262
264
  root: {
263
265
  class: e`max-w-lg`
264
266
  },
265
267
  message: ({ props: t }) => {
266
- 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`;
268
+ 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`, i = e`border-l-yellow-900 bg-yellow-200`, a = e`border-l-blue-900 bg-blue-200`;
267
269
  return {
268
270
  class: {
269
271
  [l]: !0,
270
272
  [o]: r === "success",
271
273
  [s]: r === "error",
272
- [a]: r === "warn",
273
- [n]: r === "info"
274
+ [i]: r === "warn",
275
+ [a]: r === "info"
274
276
  }
275
277
  };
276
278
  },
@@ -278,19 +280,19 @@ const S = {
278
280
  class: e`flex w-full flex-row items-start justify-between gap-10`
279
281
  },
280
282
  messageIcon: ({ props: t }) => {
281
- 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`;
283
+ 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`, i = e`text-black`, a = e`text-blue-800`;
282
284
  return {
283
285
  class: {
284
286
  [l]: !0,
285
287
  [o]: r === "success",
286
288
  [s]: r === "error",
287
- [a]: r === "warn",
288
- [n]: r === "info"
289
+ [i]: r === "warn",
290
+ [a]: r === "info"
289
291
  }
290
292
  };
291
293
  },
292
294
  messageText: {
293
- class: e`flex-grow text-black`
295
+ class: e`grow text-black`
294
296
  },
295
297
  summary: {
296
298
  class: e`ris-label2-bold`
@@ -299,14 +301,14 @@ const S = {
299
301
  class: e`ris-label2-regular`
300
302
  },
301
303
  closeButton: ({ props: t }) => {
302
- 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`;
304
+ const l = e`p-2 outline-offset-4 outline-blue-800 focus-visible:outline-4`, r = t.message?.severity ?? "info", o = e`hover:bg-green-400`, s = e`hover:bg-red-400`, i = e`hover:bg-yellow-400`, a = e`hover:bg-blue-400`;
303
305
  return {
304
306
  class: {
305
307
  [l]: !0,
306
308
  [o]: r === "success",
307
309
  [s]: r === "error",
308
- [a]: r === "warn",
309
- [n]: r === "info"
310
+ [i]: r === "warn",
311
+ [a]: r === "info"
310
312
  }
311
313
  };
312
314
  },
@@ -315,53 +317,68 @@ const S = {
315
317
  }
316
318
  }, _ = {
317
319
  root: ({ props: t, state: l }) => {
318
- 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`, i = 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`;
320
+ const r = e`group ris-body2-regular [&+small]:ris-label3-regular relative inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-6 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`outline-4 -outline-offset-4 outline-blue-800`, i = 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`, n = e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, b = e`w-full`;
319
321
  return {
320
322
  class: {
321
323
  [r]: !0,
322
324
  [o]: !t.disabled,
323
- [s]: l.focused && !t.disabled,
324
- [a]: !t.disabled,
325
- [u]: !!t.fluid,
326
- [n]: t.disabled,
327
- [i]: t.invalid
325
+ [s]: (l.focused || l.overlayVisible) && !t.disabled,
326
+ [i]: !t.disabled,
327
+ [b]: !!t.fluid,
328
+ [a]: t.disabled,
329
+ [n]: t.invalid
328
330
  },
329
331
  "aria-invalid": t.invalid ? "true" : null
330
332
  };
331
333
  },
332
- dropdown: {
333
- class: e`pl-12`
334
+ dropdown: ({ state: t, props: l }) => {
335
+ const r = e`ml-8 p-10`, o = e`text-blue-800 group-hover:bg-blue-200`, s = e`bg-blue-800 text-white`, i = e`text-blue-500`;
336
+ return {
337
+ class: {
338
+ [r]: !0,
339
+ [o]: !(t.focused || t.overlayVisible || l.disabled),
340
+ [s]: (t.focused || t.overlayVisible) && !l.disabled,
341
+ [i]: l.disabled
342
+ }
343
+ };
334
344
  },
335
345
  listContainer: {
336
346
  class: e`overflow-auto shadow-md`
337
347
  },
338
348
  label: {
339
- class: e`line-clamp-1 flex-grow outline-none`
349
+ class: e`line-clamp-1 grow outline-none`
340
350
  },
341
351
  overlay: {
342
352
  class: e`bg-white`
343
353
  },
344
- option: ({ context: t }) => {
345
- const l = e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = e`bg-gray-100`;
354
+ option: ({ context: t, props: l }) => {
355
+ const r = e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-16 py-12 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, o = e`bg-gray-100`, s = e`flex items-center gap-16`;
346
356
  return {
347
357
  class: {
348
- [l]: !0,
349
- [r]: t.focused
358
+ [r]: !0,
359
+ [o]: t.focused,
360
+ [s]: l.checkmark
350
361
  }
351
362
  };
363
+ },
364
+ optionCheckIcon: {
365
+ class: e`order-1 text-blue-800`
366
+ },
367
+ optionBlankIcon: {
368
+ class: e`order-1`
352
369
  }
353
370
  }, P = {
354
371
  root: ({ props: t, state: l }) => {
355
- const r = e`ris-body2-regular [&+small]:ris-label3-regular relative inline-flex min-h-48 items-center justify-start border-2 bg-white py-2 pr-12 pl-12 [&+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`, i = 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`;
372
+ const r = e`ris-body2-regular [&+small]:ris-label3-regular relative inline-flex min-h-48 items-center justify-start border-2 bg-white py-2 pr-12 pl-12 [&+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-visible:outline-4 has-focus-visible:-outline-offset-4 has-focus-visible:outline-blue-800`, i = 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`, n = e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, b = e`w-full`;
356
373
  return {
357
374
  class: {
358
375
  [r]: !0,
359
376
  [o]: !t.disabled,
360
377
  [s]: l.focused && !t.disabled,
361
- [a]: !t.disabled,
362
- [u]: !!t.fluid,
363
- [n]: t.disabled,
364
- [i]: t.invalid
378
+ [i]: !t.disabled,
379
+ [b]: !!t.fluid,
380
+ [a]: t.disabled,
381
+ [n]: t.invalid
365
382
  },
366
383
  "aria-invalid": t.invalid ? "true" : null
367
384
  };
@@ -417,12 +434,12 @@ const S = {
417
434
  class: e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`
418
435
  },
419
436
  itemLink: {
420
- class: e`inline-flex cursor-pointer items-center text-blue-800 hover:underline focus:outline focus:outline-4 focus:outline-offset-4 focus:outline-blue-800`
437
+ class: e`inline-flex cursor-pointer items-center text-blue-800 underline-offset-[3px] hover:underline focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`
421
438
  },
422
439
  separator: {
423
440
  class: e`mx-6 flex items-center text-gray-600`
424
441
  }
425
- }, 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`, H = {
442
+ }, p = e`cursor-pointer`, m = e`ris-label1-bold border-l-blue-800 bg-blue-200 text-blue-900 hover:bg-blue-300`, w = e`ris-label1-regular hover:border-l-blue-600 hover:bg-blue-200`, x = e`-outline-offset-4 outline-blue-800 focus-visible:outline-4`, H = {
426
443
  root: {
427
444
  class: e`text-blue-800`
428
445
  },
@@ -445,13 +462,11 @@ const S = {
445
462
  class: e`focus-visible:outline-none`
446
463
  },
447
464
  itemContent: ({ context: t }) => {
448
- const l = e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`, r = e`bg-blue-300`, o = e`bg-blue-200`;
465
+ const l = e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`, r = e`${x} not-[:hover]:outline-4`;
449
466
  return {
450
467
  class: {
451
468
  [l]: !0,
452
- [r]: t.active && t.focused,
453
- [o]: !t.active && t.focused,
454
- [x]: !0,
469
+ [r]: t.focused,
455
470
  [p]: !0,
456
471
  [m]: t.active,
457
472
  [w]: !t.active
@@ -463,14 +478,14 @@ const S = {
463
478
  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`
464
479
  },
465
480
  nodeContent: ({ context: t }) => {
466
- 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`;
481
+ 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`, i = e`hover:bg-blue-200`, a = e`hover:bg-blue-300`;
467
482
  return {
468
483
  class: {
469
484
  [l]: !0,
470
485
  [r]: !0,
471
486
  [s]: t.selected,
472
- [a]: !t.selected,
473
- [n]: t.selected,
487
+ [i]: !t.selected,
488
+ [a]: t.selected,
474
489
  [o]: !0
475
490
  }
476
491
  };
@@ -503,7 +518,7 @@ const S = {
503
518
  }
504
519
  };
505
520
  }
506
- }, G = {
521
+ }, $ = {
507
522
  root: ({ props: t }) => ({
508
523
  class: {
509
524
  [e`flex flex-nowrap rounded-none border-0 bg-transparent`]: !0,
@@ -519,12 +534,12 @@ const S = {
519
534
  }),
520
535
  gutterHandle: ({ props: t }) => ({
521
536
  class: {
522
- [e`z-20 rounded bg-transparent outline-offset-2 outline-blue-800 focus:outline-2`]: !0,
537
+ [e`z-20 rounded bg-transparent outline-offset-4 outline-blue-800 focus-visible:outline-4`]: !0,
523
538
  [e`h-11/12 w-[3px] cursor-col-resize`]: t.layout === "horizontal",
524
539
  [e`h-[3px] w-11/12 cursor-row-resize`]: t.layout === "vertical"
525
540
  }
526
541
  })
527
- }, O = {
542
+ }, G = {
528
543
  root: {
529
544
  class: e`relative`
530
545
  },
@@ -542,7 +557,7 @@ const S = {
542
557
  },
543
558
  bodyRow: ({ context: t }) => ({
544
559
  class: [
545
- e`focus:outline-4 focus:-outline-offset-5 focus:outline-blue-800 focus:not-focus-visible:outline-none focus-visible:outline-4 focus-visible:-outline-offset-5 focus-visible:outline-blue-800`,
560
+ e`-outline-offset-4 outline-blue-800 focus-visible:outline-4`,
546
561
  {
547
562
  "bg-blue-300": t.selected,
548
563
  "hover:bg-blue-100": !t.selected
@@ -558,13 +573,13 @@ const S = {
558
573
  class: e`ris-body1-regular h-56 px-16 py-12`
559
574
  },
560
575
  pcHeaderCheckbox: {
561
- ...g,
576
+ ...h,
562
577
  root: {
563
578
  class: e`relative block h-24 w-24`
564
579
  }
565
580
  },
566
581
  pcRowCheckbox: {
567
- ...g,
582
+ ...h,
568
583
  root: {
569
584
  class: e`relative block h-24 w-24`
570
585
  }
@@ -579,7 +594,7 @@ const S = {
579
594
  emptyMessageCell: {
580
595
  class: e`py-96 text-center text-gray-900`
581
596
  }
582
- }, W = {
597
+ }, O = {
583
598
  root: ({ context: t }) => {
584
599
  const l = e`ris-body2-bold h-64 border-b-4 border-b-transparent py-4 pr-24 pl-20 outline-0 -outline-offset-4 outline-blue-800 focus-visible:outline-4`, r = e`z-10 bg-[var(--p-tabs-tab-active-background)] text-black shadow-[-1px_-1px_0_0_var(--p-tabs-tab-border-color),1px_-1px_0_0_var(--p-tabs-tab-border-color)]`, o = e`cursor-pointer text-blue-800 hover:border-b-blue-800`;
585
600
  return {
@@ -590,7 +605,7 @@ const S = {
590
605
  }
591
606
  };
592
607
  }
593
- }, $ = {
608
+ }, W = {
594
609
  root: {
595
610
  class: e`min-h-96 bg-[var(--p-tabs-tabpanel-background)] py-24 outline-blue-800 focus-visible:outline-solid`
596
611
  }
@@ -600,14 +615,14 @@ const S = {
600
615
  }
601
616
  }, Y = {
602
617
  arrow: ({ context: t }) => {
603
- 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;
618
+ 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`, i = 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;
604
619
  return {
605
620
  class: {
606
621
  [l]: !0,
607
622
  [r]: t.top,
608
- [o]: t.right || n,
623
+ [o]: t.right || a,
609
624
  [s]: t.bottom,
610
- [a]: t.left
625
+ [i]: t.left
611
626
  }
612
627
  };
613
628
  },
@@ -773,31 +788,31 @@ const S = {
773
788
  }
774
789
  }, X = {
775
790
  button: S,
776
- checkbox: g,
791
+ checkbox: h,
777
792
  chip: M,
778
793
  confirmDialog: z,
779
794
  dialog: N,
780
795
  fileUpload: D,
781
- inputGroup: A,
796
+ inputGroup: L,
782
797
  inputText: B,
783
798
  menu: C,
784
- message: F,
785
- password: I,
799
+ message: I,
800
+ password: F,
786
801
  progressSpinner: T,
787
802
  radioButton: E,
788
- textarea: R,
789
- toast: V,
790
- autocomplete: j,
803
+ textarea: j,
804
+ toast: R,
805
+ autocomplete: V,
791
806
  select: _,
792
807
  multiselect: P,
793
808
  inputMask: Z,
794
809
  breadcrumb: J,
795
810
  tree: K,
796
811
  panelmenu: H,
797
- splitter: G,
798
- dataTable: O,
799
- tab: W,
800
- tabPanel: $,
812
+ splitter: $,
813
+ dataTable: G,
814
+ tab: O,
815
+ tabPanel: W,
801
816
  tabList: U,
802
817
  directives: {
803
818
  tooltip: Y