@digitalservicebund/ris-ui 3.21.0 → 3.21.2

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,11 +1,11 @@
1
1
  import { t as e } from "../tags-Dde6Li6m.js";
2
2
  const S = {
3
- root: ({ props: r, instance: l }) => {
4
- const t = 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 = r.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-blue-200 focus-visible:bg-blue-200 active:bg-blue-400 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-red-100 focus-visible:bg-red-100 focus-visible:outline-red-800 active:border-red-800 active:bg-red-400 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-blue-600 active:bg-blue-400 disabled:bg-transparent disabled:text-gray-500`, c = r.size ?? "normal";
3
+ root: ({ props: r, instance: t }) => {
4
+ const l = 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 = r.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-blue-200 focus-visible:bg-blue-200 active:bg-blue-400 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-red-100 focus-visible:bg-red-100 active:border-red-800 active:bg-red-300 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-blue-600 active:bg-blue-400 disabled:bg-transparent disabled:text-gray-500`, c = r.size ?? "normal";
5
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 && !r.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`), {
6
+ return t.hasIcon && !r.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
- [t]: !0,
8
+ [l]: !0,
9
9
  [o]: r.rounded,
10
10
  [u]: c === "small",
11
11
  [d]: c === "normal",
@@ -29,24 +29,23 @@ const S = {
29
29
  }
30
30
  }),
31
31
  loadingIcon: ({ props: r }) => {
32
- const l = r.size ?? "normal", t = e`h-[1.34em] w-[1.34em]`, o = e`h-24 w-24`;
32
+ const t = r.size ?? "normal", l = e`h-[1.34em] w-[1.34em]`, o = e`h-24 w-24`;
33
33
  return {
34
34
  class: {
35
35
  [e`animate-spin`]: !0,
36
- [t]: l === "normal",
37
- [o]: l === "large"
36
+ [l]: t === "normal",
37
+ [o]: t === "large"
38
38
  }
39
39
  };
40
40
  }
41
41
  }, h = {
42
42
  root: ({ props: r }) => {
43
- const l = r.size === "large", t = e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`, o = l ? e`[&+label]:ris-label1-regular` : e`[&+label]:ris-label2-regular`;
43
+ const t = r.size === "large";
44
44
  return {
45
45
  class: [
46
- t,
47
- o,
46
+ e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`,
48
47
  {
49
- [e`h-32 min-h-32 w-32 min-w-32`]: l
48
+ [e`h-32 min-h-32 w-32 min-w-32`]: t
50
49
  }
51
50
  ]
52
51
  };
@@ -115,12 +114,12 @@ const S = {
115
114
  }
116
115
  }, 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 = {
117
116
  root: ({ props: r }) => {
118
- const l = e`[[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[1.75rem] [&[type=password]:not(:placeholder-shown)]:tracking-[0.25rem]`, t = e`w-full`;
117
+ const t = e`[[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[1.75rem] [&[type=password]:not(:placeholder-shown)]:tracking-[0.25rem]`, l = e`w-full`;
119
118
  return {
120
119
  class: {
121
120
  [y]: !0,
122
- [t]: !!r.fluid,
123
- [l]: !0,
121
+ [l]: !!r.fluid,
122
+ [t]: !0,
124
123
  [k]: !r.size || r.size === "small",
125
124
  [A]: r.size === "large"
126
125
  },
@@ -135,11 +134,11 @@ const S = {
135
134
  class: e`focus-visible:outline-none`
136
135
  },
137
136
  item: ({ context: r }) => {
138
- const l = e`relative h-48 border-l-4 border-l-transparent pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-12 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:border-l-blue-400 hover:bg-blue-100`, t = e`bg-blue-200 -outline-offset-4 outline-blue-800 not-hover:outline-4 hover:bg-blue-200`;
137
+ const t = e`relative h-48 border-l-4 border-l-transparent pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-12 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:border-l-blue-400 hover:bg-blue-100 active:border-l-blue-800 active:bg-blue-300`, l = e`bg-blue-200 -outline-offset-4 outline-blue-800 not-hover:outline-4 hover:bg-blue-200`;
139
138
  return {
140
139
  class: {
141
- [l]: !0,
142
- [t]: r.focused
140
+ [t]: !0,
141
+ [l]: r.focused
143
142
  }
144
143
  };
145
144
  },
@@ -150,8 +149,8 @@ const S = {
150
149
  class: e`flex items-center gap-8`
151
150
  }
152
151
  }, I = {
153
- root: ({ props: r, instance: l }) => {
154
- const t = e`ris-body1-regular border-l-4 px-20 py-14`, o = r.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 = {
152
+ root: ({ props: r, instance: t }) => {
153
+ const l = e`ris-body1-regular border-l-4 px-20 py-14`, o = r.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 = !!t.$slots.icon, c = {
155
154
  success: "var(--ris-icon-success)",
156
155
  info: "var(--ris-icon-info)",
157
156
  warn: "var(--ris-icon-warn)",
@@ -159,7 +158,7 @@ const S = {
159
158
  }[o], u = e`bg-size-[1.25rem] bg-position-[1rem_1.125rem] bg-no-repeat pl-44`;
160
159
  return {
161
160
  class: {
162
- [t]: !0,
161
+ [l]: !0,
163
162
  [s]: o === "success",
164
163
  [i]: o === "info",
165
164
  [a]: o === "warn",
@@ -178,20 +177,20 @@ const S = {
178
177
  class: e`flex-1`
179
178
  },
180
179
  closeButton: ({ props: r }) => {
181
- 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`, t = r.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`;
180
+ const t = 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`, l = r.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`;
182
181
  return {
183
182
  class: {
184
- [l]: !0,
185
- [o]: t === "success",
186
- [s]: t === "info",
187
- [i]: t === "warn",
188
- [a]: t === "error"
183
+ [t]: !0,
184
+ [o]: l === "success",
185
+ [s]: l === "info",
186
+ [i]: l === "warn",
187
+ [a]: l === "error"
189
188
  }
190
189
  };
191
190
  }
192
- }, T = {
193
- // All styling moved to inputText.ts
194
191
  }, F = {
192
+ // All styling moved to inputText.ts
193
+ }, T = {
195
194
  root: {
196
195
  class: e`mx-auto inline-block h-28 w-28 animate-spin`
197
196
  },
@@ -200,11 +199,11 @@ const S = {
200
199
  }
201
200
  }, E = {
202
201
  root: ({ props: r }) => {
203
- const l = r.size === "small";
202
+ const t = r.size === "small";
204
203
  return {
205
204
  class: [
206
- e`relative inline-block [&+label]:ml-8`,
207
- l ? e`[&+label]:ris-label2-regular h-24 w-24` : e`[&+label]:ris-label1-regular h-32 w-32`
205
+ e`[&+label]:ris-label1-regular relative inline-block [&+label]:ml-8`,
206
+ t ? e`h-24 w-24` : e`h-32 w-32`
208
207
  ]
209
208
  };
210
209
  },
@@ -215,22 +214,22 @@ const S = {
215
214
  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`
216
215
  },
217
216
  icon: ({ props: r }) => {
218
- const l = r.size === "small";
217
+ const t = r.size === "small";
219
218
  return {
220
219
  class: [
221
220
  e`rounded-full bg-current`,
222
- l ? e`h-12 w-12` : e`h-16 w-16`
221
+ t ? e`h-12 w-12` : e`h-16 w-16`
223
222
  ]
224
223
  };
225
224
  }
226
225
  }, v = e`w-full`, V = {
227
- root: ({ props: r, state: l }) => {
228
- const t = e`ris-body2-regular flex min-h-48 border-2 bg-white py-4 pr-4 pl-16 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 has-focus-visible:outline-4`, o = e`cursor-pointer border-blue-800`, s = e`outline-4`, i = e`hover:outline-4`, 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`;
226
+ root: ({ props: r, state: t }) => {
227
+ const l = e`ris-body2-regular flex min-h-48 border-2 bg-white py-4 pr-4 pl-16 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 has-focus-visible:outline-4`, o = e`cursor-pointer border-blue-800`, s = e`outline-4`, i = e`hover:outline-4`, 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`;
229
228
  return {
230
229
  class: {
231
- [t]: !0,
230
+ [l]: !0,
232
231
  [o]: !r.disabled,
233
- [s]: l.focused && !r.disabled,
232
+ [s]: t.focused && !r.disabled,
234
233
  [i]: !r.disabled,
235
234
  [v]: !!r.fluid,
236
235
  [a]: r.invalid,
@@ -270,11 +269,11 @@ const S = {
270
269
  }
271
270
  }, j = {
272
271
  root: ({ props: r }) => {
273
- 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`, t = e`w-full`;
272
+ const t = 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`, l = e`w-full`;
274
273
  return {
275
274
  class: {
276
- [l]: !0,
277
- [t]: !!r.fluid
275
+ [t]: !0,
276
+ [l]: !!r.fluid
278
277
  }
279
278
  };
280
279
  }
@@ -283,14 +282,14 @@ const S = {
283
282
  class: e`max-w-lg`
284
283
  },
285
284
  message: ({ props: r }) => {
286
- const l = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, t = r.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`;
285
+ const t = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, l = r.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`;
287
286
  return {
288
287
  class: {
289
- [l]: !0,
290
- [o]: t === "success",
291
- [s]: t === "error",
292
- [i]: t === "warn",
293
- [a]: t === "info"
288
+ [t]: !0,
289
+ [o]: l === "success",
290
+ [s]: l === "error",
291
+ [i]: l === "warn",
292
+ [a]: l === "info"
294
293
  }
295
294
  };
296
295
  },
@@ -298,14 +297,14 @@ const S = {
298
297
  class: e`flex w-full flex-row items-start justify-between gap-10`
299
298
  },
300
299
  messageIcon: ({ props: r }) => {
301
- const l = e`mt-2 h-20 w-20 flex-none shrink-0`, t = r.message?.severity ?? "info", o = e`text-green-800`, s = e`text-red-800`, i = e`text-black`, a = e`text-blue-800`;
300
+ const t = e`mt-2 h-20 w-20 flex-none shrink-0`, l = r.message?.severity ?? "info", o = e`text-green-800`, s = e`text-red-800`, i = e`text-black`, a = e`text-blue-800`;
302
301
  return {
303
302
  class: {
304
- [l]: !0,
305
- [o]: t === "success",
306
- [s]: t === "error",
307
- [i]: t === "warn",
308
- [a]: t === "info"
303
+ [t]: !0,
304
+ [o]: l === "success",
305
+ [s]: l === "error",
306
+ [i]: l === "warn",
307
+ [a]: l === "info"
309
308
  }
310
309
  };
311
310
  },
@@ -319,14 +318,14 @@ const S = {
319
318
  class: e`ris-label2-regular`
320
319
  },
321
320
  closeButton: ({ props: r }) => {
322
- const l = e`p-2 outline-offset-4 outline-blue-800 focus-visible:outline-4`, t = r.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`;
321
+ const t = e`p-2 outline-offset-4 outline-blue-800 focus-visible:outline-4`, l = r.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`;
323
322
  return {
324
323
  class: {
325
- [l]: !0,
326
- [o]: t === "success",
327
- [s]: t === "error",
328
- [i]: t === "warn",
329
- [a]: t === "info"
324
+ [t]: !0,
325
+ [o]: l === "success",
326
+ [s]: l === "error",
327
+ [i]: l === "warn",
328
+ [a]: l === "info"
330
329
  }
331
330
  };
332
331
  },
@@ -334,13 +333,13 @@ const S = {
334
333
  class: e`text-black`
335
334
  }
336
335
  }, _ = {
337
- root: ({ props: r, state: l }) => {
338
- const t = 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`;
336
+ root: ({ props: r, state: t }) => {
337
+ const l = 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`;
339
338
  return {
340
339
  class: {
341
- [t]: !0,
340
+ [l]: !0,
342
341
  [o]: !r.disabled,
343
- [s]: (l.focused || l.overlayVisible) && !r.disabled,
342
+ [s]: (t.focused || t.overlayVisible) && !r.disabled,
344
343
  [i]: !r.disabled,
345
344
  [b]: !!r.fluid,
346
345
  [a]: r.disabled,
@@ -349,14 +348,14 @@ const S = {
349
348
  "aria-invalid": r.invalid ? "true" : null
350
349
  };
351
350
  },
352
- dropdown: ({ state: r, props: l }) => {
353
- const t = 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`;
351
+ dropdown: ({ state: r, props: t }) => {
352
+ const l = 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`;
354
353
  return {
355
354
  class: {
356
- [t]: !0,
357
- [o]: !(r.focused || r.overlayVisible || l.disabled),
358
- [s]: (r.focused || r.overlayVisible) && !l.disabled,
359
- [i]: l.disabled
355
+ [l]: !0,
356
+ [o]: !(r.focused || r.overlayVisible || t.disabled),
357
+ [s]: (r.focused || r.overlayVisible) && !t.disabled,
358
+ [i]: t.disabled
360
359
  }
361
360
  };
362
361
  },
@@ -369,13 +368,13 @@ const S = {
369
368
  overlay: {
370
369
  class: e`bg-white`
371
370
  },
372
- option: ({ context: r, props: l }) => {
373
- const t = 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`;
371
+ option: ({ context: r, props: t }) => {
372
+ const l = 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`;
374
373
  return {
375
374
  class: {
376
- [t]: !0,
375
+ [l]: !0,
377
376
  [o]: r.focused,
378
- [s]: l.checkmark
377
+ [s]: t.checkmark
379
378
  }
380
379
  };
381
380
  },
@@ -386,13 +385,13 @@ const S = {
386
385
  class: e`order-1`
387
386
  }
388
387
  }, P = {
389
- root: ({ props: r, state: l }) => {
390
- const t = 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`;
388
+ root: ({ props: r, state: t }) => {
389
+ const l = 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`;
391
390
  return {
392
391
  class: {
393
- [t]: !0,
392
+ [l]: !0,
394
393
  [o]: !r.disabled,
395
- [s]: l.focused && !r.disabled,
394
+ [s]: t.focused && !r.disabled,
396
395
  [i]: !r.disabled,
397
396
  [b]: !!r.fluid,
398
397
  [a]: r.disabled,
@@ -426,11 +425,11 @@ const S = {
426
425
  class: e`hidden`
427
426
  },
428
427
  option: ({ context: r }) => {
429
- const l = e`ris-body2-regular relative flex h-full min-h-48 w-full cursor-pointer border-l-4 border-transparent py-16 pr-24 pl-20 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`, t = e`border-l-4 border-solid border-l-blue-800 bg-gray-100`;
428
+ const t = e`ris-body2-regular relative flex h-full min-h-48 w-full cursor-pointer border-l-4 border-transparent py-16 pr-24 pl-20 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`, l = e`border-l-4 border-solid border-l-blue-800 bg-gray-100`;
430
429
  return {
431
430
  class: {
432
- [l]: !0,
433
- [t]: r.focused
431
+ [t]: !0,
432
+ [l]: r.focused
434
433
  }
435
434
  };
436
435
  }
@@ -480,11 +479,11 @@ const S = {
480
479
  class: e`focus-visible:outline-none`
481
480
  },
482
481
  itemContent: ({ context: r }) => {
483
- const l = e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`, t = e`${x} not-[:hover]:outline-4`;
482
+ const t = e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`, l = e`${x} not-[:hover]:outline-4`;
484
483
  return {
485
484
  class: {
486
- [l]: !0,
487
- [t]: r.focused,
485
+ [t]: !0,
486
+ [l]: r.focused,
488
487
  [m]: !0,
489
488
  [p]: r.active,
490
489
  [w]: !r.active
@@ -496,11 +495,11 @@ const S = {
496
495
  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`
497
496
  },
498
497
  nodeContent: ({ context: r }) => {
499
- const l = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`, t = 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`;
498
+ const t = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`, l = 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`;
500
499
  return {
501
500
  class: {
502
- [l]: !0,
503
501
  [t]: !0,
502
+ [l]: !0,
504
503
  [s]: r.selected,
505
504
  [i]: !r.selected,
506
505
  [a]: r.selected,
@@ -509,29 +508,29 @@ const S = {
509
508
  };
510
509
  },
511
510
  nodeToggleButton: ({ context: r }) => {
512
- const l = e`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 group-hover:text-black hover:text-black`, t = r.leaf ? e`hidden` : e`inline-flex`;
511
+ const t = e`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 group-hover:text-black hover:text-black`, l = r.leaf ? e`hidden` : e`inline-flex`;
513
512
  return {
514
513
  class: {
515
- [l]: !0,
516
- [t]: r.leaf
514
+ [t]: !0,
515
+ [l]: r.leaf
517
516
  }
518
517
  };
519
518
  },
520
519
  nodeChildren: () => {
521
- const r = e`m-0 list-none border-l border-gray-600 p-0 pl-36 [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`, l = e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;
520
+ const r = e`m-0 list-none border-l border-gray-600 p-0 pl-36 [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`, t = e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;
522
521
  return {
523
522
  class: {
524
523
  [r]: !0,
525
- [l]: !0
524
+ [t]: !0
526
525
  }
527
526
  };
528
527
  },
529
528
  nodeLabel: ({ context: r }) => {
530
- const l = e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`, t = e`text-black [&>*:last-child:is(span)]:text-gray-900`, o = e`[&>*:last-child]:group-hover:text-black`;
529
+ const t = e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`, l = e`text-black [&>*:last-child:is(span)]:text-gray-900`, o = e`[&>*:last-child]:group-hover:text-black`;
531
530
  return {
532
531
  class: {
533
- [l]: !0,
534
- [t]: r.selected,
532
+ [t]: !0,
533
+ [l]: r.selected,
535
534
  [o]: r.selected
536
535
  }
537
536
  };
@@ -614,11 +613,11 @@ const S = {
614
613
  }
615
614
  }, O = {
616
615
  root: ({ context: r }) => {
617
- 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`, t = 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`;
616
+ const t = 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`, l = 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`;
618
617
  return {
619
618
  class: {
620
- [l]: !0,
621
- [t]: r.active,
619
+ [t]: !0,
620
+ [l]: r.active,
622
621
  [o]: !r.active
623
622
  }
624
623
  };
@@ -633,11 +632,11 @@ const S = {
633
632
  }
634
633
  }, Y = {
635
634
  arrow: ({ context: r }) => {
636
- const l = e`absolute h-0 w-0 border-[7px] border-solid`, t = 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 = !r.top && !r.right && !r.bottom && !r.left;
635
+ const t = e`absolute h-0 w-0 border-[7px] border-solid`, l = 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 = !r.top && !r.right && !r.bottom && !r.left;
637
636
  return {
638
637
  class: {
639
- [l]: !0,
640
- [t]: r.top,
638
+ [t]: !0,
639
+ [l]: r.top,
641
640
  [o]: r.right || a,
642
641
  [s]: r.bottom,
643
642
  [i]: r.left
@@ -815,8 +814,8 @@ const S = {
815
814
  inputText: B,
816
815
  menu: C,
817
816
  message: I,
818
- password: T,
819
- progressSpinner: F,
817
+ password: F,
818
+ progressSpinner: T,
820
819
  radioButton: E,
821
820
  textarea: j,
822
821
  toast: R,