@digitalservicebund/ris-ui 3.18.1 → 3.19.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,48 +1,48 @@
1
1
  import { t as e } from "../tags-Dde6Li6m.js";
2
2
  const S = {
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-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";
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-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 = 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 && !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`), {
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`), {
7
7
  class: {
8
- [r]: !0,
9
- [o]: t.rounded,
8
+ [t]: !0,
9
+ [o]: r.rounded,
10
10
  [u]: c === "small",
11
11
  [d]: c === "normal",
12
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"
13
+ [i]: !r.text && s === "primary",
14
+ [a]: !r.text && s === "secondary",
15
+ [n]: !r.text && s === "danger",
16
+ [b]: !r.text && s === "info",
17
+ [g]: r.text && s === "primary"
18
18
  }
19
19
  };
20
20
  },
21
- label: ({ props: t }) => ({
21
+ label: ({ props: r }) => ({
22
22
  class: {
23
- hidden: !t.label
23
+ hidden: !r.label
24
24
  }
25
25
  }),
26
- icon: ({ props: t }) => ({
26
+ icon: ({ props: r }) => ({
27
27
  class: {
28
- "order-last": t.iconPos == "right"
28
+ "order-last": r.iconPos == "right"
29
29
  }
30
30
  }),
31
- loadingIcon: ({ props: t }) => {
32
- const l = t.size ?? "normal", r = e`h-[1.34em] w-[1.34em]`, o = e`h-24 w-24`;
31
+ loadingIcon: ({ props: r }) => {
32
+ const l = r.size ?? "normal", t = 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
- [r]: l === "normal",
36
+ [t]: l === "normal",
37
37
  [o]: l === "large"
38
38
  }
39
39
  };
40
40
  }
41
41
  }, h = {
42
- root: ({ props: t }) => ({
42
+ root: ({ props: r }) => ({
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,
45
- [e`h-32 min-h-32 w-32 min-w-32`]: t.size === "large"
45
+ [e`h-32 min-h-32 w-32 min-w-32`]: r.size === "large"
46
46
  }
47
47
  }),
48
48
  input: {
@@ -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-2 hover:outline-gray-500 focus-visible:outline-4 focus-visible:outline-blue-800 active:outline-none`
81
+ class: e`ris-label1-regular 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: {
@@ -108,17 +108,17 @@ const S = {
108
108
  class: e`flex`
109
109
  }
110
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
- 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`;
111
+ root: ({ props: r }) => {
112
+ 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`;
113
113
  return {
114
114
  class: {
115
115
  [y]: !0,
116
- [r]: !!t.fluid,
116
+ [t]: !!r.fluid,
117
117
  [l]: !0,
118
- [k]: !t.size || t.size === "small",
119
- [A]: t.size === "large"
118
+ [k]: !r.size || r.size === "small",
119
+ [A]: r.size === "large"
120
120
  },
121
- "data-size": t.size ?? "small"
121
+ "data-size": r.size ?? "small"
122
122
  };
123
123
  }
124
124
  }, C = {
@@ -128,12 +128,12 @@ const S = {
128
128
  list: {
129
129
  class: e`focus-visible:outline-none`
130
130
  },
131
- item: ({ context: t }) => {
132
- const l = e`relative h-48 pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = e`bg-gray-200 hover:bg-gray-200`;
131
+ item: ({ context: r }) => {
132
+ const l = e`relative h-48 pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, t = e`bg-gray-200 hover:bg-gray-200`;
133
133
  return {
134
134
  class: {
135
135
  [l]: !0,
136
- [r]: t.focused
136
+ [t]: r.focused
137
137
  }
138
138
  };
139
139
  },
@@ -144,16 +144,16 @@ const S = {
144
144
  class: e`flex items-center gap-8`
145
145
  }
146
146
  }, I = {
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`, 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 = {
147
+ root: ({ props: r, instance: l }) => {
148
+ 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 = {
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], u = e`bg-size-[20px] bg-position-[16px_18px] bg-no-repeat pl-44`;
153
+ }[o], u = e`bg-size-[1.25rem] bg-position-[1rem_1.125rem] bg-no-repeat pl-44`;
154
154
  return {
155
155
  class: {
156
- [r]: !0,
156
+ [t]: !0,
157
157
  [s]: o === "success",
158
158
  [i]: o === "info",
159
159
  [a]: o === "warn",
@@ -171,15 +171,15 @@ const S = {
171
171
  text: {
172
172
  class: e`flex-1`
173
173
  },
174
- closeButton: ({ props: t }) => {
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`;
174
+ closeButton: ({ props: r }) => {
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`, 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`;
176
176
  return {
177
177
  class: {
178
178
  [l]: !0,
179
- [o]: r === "success",
180
- [s]: r === "info",
181
- [i]: r === "warn",
182
- [a]: r === "error"
179
+ [o]: t === "success",
180
+ [s]: t === "info",
181
+ [i]: t === "warn",
182
+ [a]: t === "error"
183
183
  }
184
184
  };
185
185
  }
@@ -206,26 +206,26 @@ const S = {
206
206
  class: e`h-16 w-16 rounded-full bg-current`
207
207
  }
208
208
  }, v = e`w-full`, V = {
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`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`;
209
+ root: ({ props: r, state: l }) => {
210
+ const t = 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
- [r]: !0,
214
- [o]: !t.disabled,
215
- [s]: l.focused && !t.disabled,
216
- [i]: !t.disabled,
217
- [v]: !!t.fluid,
218
- [a]: t.invalid,
219
- [n]: t.disabled
213
+ [t]: !0,
214
+ [o]: !r.disabled,
215
+ [s]: l.focused && !r.disabled,
216
+ [i]: !r.disabled,
217
+ [v]: !!r.fluid,
218
+ [a]: r.invalid,
219
+ [n]: r.disabled
220
220
  },
221
- "aria-invalid": t.invalid ? "true" : null
221
+ "aria-invalid": r.invalid ? "true" : null
222
222
  };
223
223
  },
224
224
  pcInputText: {
225
- root: ({ props: t }) => ({
225
+ root: ({ props: r }) => ({
226
226
  class: {
227
227
  [e`focus-visible:outline-hidden`]: !0,
228
- [v]: !!t.fluid
228
+ [v]: !!r.fluid
229
229
  }
230
230
  })
231
231
  },
@@ -251,12 +251,12 @@ const S = {
251
251
  class: e`mt-12 w-full overflow-auto bg-white px-8 py-12 shadow-md`
252
252
  }
253
253
  }, j = {
254
- root: ({ props: t }) => {
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
+ root: ({ props: r }) => {
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`, t = e`w-full`;
256
256
  return {
257
257
  class: {
258
258
  [l]: !0,
259
- [r]: !!t.fluid
259
+ [t]: !!r.fluid
260
260
  }
261
261
  };
262
262
  }
@@ -264,30 +264,30 @@ const S = {
264
264
  root: {
265
265
  class: e`max-w-lg`
266
266
  },
267
- message: ({ props: t }) => {
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
+ message: ({ props: r }) => {
268
+ 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`;
269
269
  return {
270
270
  class: {
271
271
  [l]: !0,
272
- [o]: r === "success",
273
- [s]: r === "error",
274
- [i]: r === "warn",
275
- [a]: r === "info"
272
+ [o]: t === "success",
273
+ [s]: t === "error",
274
+ [i]: t === "warn",
275
+ [a]: t === "info"
276
276
  }
277
277
  };
278
278
  },
279
279
  messageContent: {
280
280
  class: e`flex w-full flex-row items-start justify-between gap-10`
281
281
  },
282
- messageIcon: ({ props: t }) => {
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
+ messageIcon: ({ props: r }) => {
283
+ 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`;
284
284
  return {
285
285
  class: {
286
286
  [l]: !0,
287
- [o]: r === "success",
288
- [s]: r === "error",
289
- [i]: r === "warn",
290
- [a]: r === "info"
287
+ [o]: t === "success",
288
+ [s]: t === "error",
289
+ [i]: t === "warn",
290
+ [a]: t === "info"
291
291
  }
292
292
  };
293
293
  },
@@ -300,15 +300,15 @@ const S = {
300
300
  detail: {
301
301
  class: e`ris-label2-regular`
302
302
  },
303
- closeButton: ({ props: t }) => {
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
+ closeButton: ({ props: r }) => {
304
+ 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`;
305
305
  return {
306
306
  class: {
307
307
  [l]: !0,
308
- [o]: r === "success",
309
- [s]: r === "error",
310
- [i]: r === "warn",
311
- [a]: r === "info"
308
+ [o]: t === "success",
309
+ [s]: t === "error",
310
+ [i]: t === "warn",
311
+ [a]: t === "info"
312
312
  }
313
313
  };
314
314
  },
@@ -316,28 +316,28 @@ const S = {
316
316
  class: e`text-black`
317
317
  }
318
318
  }, _ = {
319
- root: ({ props: t, state: l }) => {
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
+ root: ({ props: r, state: l }) => {
320
+ 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`;
321
321
  return {
322
322
  class: {
323
- [r]: !0,
324
- [o]: !t.disabled,
325
- [s]: (l.focused || l.overlayVisible) && !t.disabled,
326
- [i]: !t.disabled,
327
- [b]: !!t.fluid,
328
- [a]: t.disabled,
329
- [n]: t.invalid
323
+ [t]: !0,
324
+ [o]: !r.disabled,
325
+ [s]: (l.focused || l.overlayVisible) && !r.disabled,
326
+ [i]: !r.disabled,
327
+ [b]: !!r.fluid,
328
+ [a]: r.disabled,
329
+ [n]: r.invalid
330
330
  },
331
- "aria-invalid": t.invalid ? "true" : null
331
+ "aria-invalid": r.invalid ? "true" : null
332
332
  };
333
333
  },
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`;
334
+ dropdown: ({ state: r, props: l }) => {
335
+ 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`;
336
336
  return {
337
337
  class: {
338
- [r]: !0,
339
- [o]: !(t.focused || t.overlayVisible || l.disabled),
340
- [s]: (t.focused || t.overlayVisible) && !l.disabled,
338
+ [t]: !0,
339
+ [o]: !(r.focused || r.overlayVisible || l.disabled),
340
+ [s]: (r.focused || r.overlayVisible) && !l.disabled,
341
341
  [i]: l.disabled
342
342
  }
343
343
  };
@@ -351,12 +351,12 @@ const S = {
351
351
  overlay: {
352
352
  class: e`bg-white`
353
353
  },
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`;
354
+ option: ({ context: r, props: l }) => {
355
+ 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`;
356
356
  return {
357
357
  class: {
358
- [r]: !0,
359
- [o]: t.focused,
358
+ [t]: !0,
359
+ [o]: r.focused,
360
360
  [s]: l.checkmark
361
361
  }
362
362
  };
@@ -368,19 +368,19 @@ const S = {
368
368
  class: e`order-1`
369
369
  }
370
370
  }, P = {
371
- root: ({ props: t, state: l }) => {
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`;
371
+ root: ({ props: r, state: l }) => {
372
+ 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`;
373
373
  return {
374
374
  class: {
375
- [r]: !0,
376
- [o]: !t.disabled,
377
- [s]: l.focused && !t.disabled,
378
- [i]: !t.disabled,
379
- [b]: !!t.fluid,
380
- [a]: t.disabled,
381
- [n]: t.invalid
375
+ [t]: !0,
376
+ [o]: !r.disabled,
377
+ [s]: l.focused && !r.disabled,
378
+ [i]: !r.disabled,
379
+ [b]: !!r.fluid,
380
+ [a]: r.disabled,
381
+ [n]: r.invalid
382
382
  },
383
- "aria-invalid": t.invalid ? "true" : null
383
+ "aria-invalid": r.invalid ? "true" : null
384
384
  };
385
385
  },
386
386
  dropdown: {
@@ -407,22 +407,22 @@ const S = {
407
407
  header: {
408
408
  class: e`hidden`
409
409
  },
410
- option: ({ context: t }) => {
411
- 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`, r = e`border-l-4 border-solid border-l-blue-800 bg-gray-100`;
410
+ option: ({ context: r }) => {
411
+ 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`;
412
412
  return {
413
413
  class: {
414
414
  [l]: !0,
415
- [r]: t.focused
415
+ [t]: r.focused
416
416
  }
417
417
  };
418
418
  }
419
419
  }, Z = {
420
420
  pcInputText: {
421
- root: ({ props: t }) => ({
421
+ root: ({ props: r }) => ({
422
422
  class: {
423
423
  [y]: !0,
424
424
  [k]: !0,
425
- "w-full": !!t.fluid
425
+ "w-full": !!r.fluid
426
426
  }
427
427
  })
428
428
  }
@@ -439,17 +439,17 @@ const S = {
439
439
  separator: {
440
440
  class: e`mx-6 flex items-center text-gray-600`
441
441
  }
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 = {
442
+ }, m = e`cursor-pointer`, p = 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 = {
443
443
  root: {
444
444
  class: e`text-blue-800`
445
445
  },
446
- header: ({ context: t }) => ({
446
+ header: ({ context: r }) => ({
447
447
  class: {
448
448
  [e`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]: !0,
449
449
  [x]: !0,
450
- [p]: !0,
451
- [m]: t.active,
452
- [w]: !t.active
450
+ [m]: !0,
451
+ [p]: r.active,
452
+ [w]: !r.active
453
453
  }
454
454
  }),
455
455
  content: {
@@ -461,15 +461,15 @@ const S = {
461
461
  panel: {
462
462
  class: e`focus-visible:outline-none`
463
463
  },
464
- itemContent: ({ context: t }) => {
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`;
464
+ itemContent: ({ context: r }) => {
465
+ 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`;
466
466
  return {
467
467
  class: {
468
468
  [l]: !0,
469
- [r]: t.focused,
470
- [p]: !0,
471
- [m]: t.active,
472
- [w]: !t.active
469
+ [t]: r.focused,
470
+ [m]: !0,
471
+ [p]: r.active,
472
+ [w]: !r.active
473
473
  }
474
474
  };
475
475
  }
@@ -477,66 +477,66 @@ const S = {
477
477
  node: {
478
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`
479
479
  },
480
- nodeContent: ({ context: t }) => {
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`;
480
+ nodeContent: ({ context: r }) => {
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`, 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`;
482
482
  return {
483
483
  class: {
484
484
  [l]: !0,
485
- [r]: !0,
486
- [s]: t.selected,
487
- [i]: !t.selected,
488
- [a]: t.selected,
485
+ [t]: !0,
486
+ [s]: r.selected,
487
+ [i]: !r.selected,
488
+ [a]: r.selected,
489
489
  [o]: !0
490
490
  }
491
491
  };
492
492
  },
493
- nodeToggleButton: ({ context: t }) => {
494
- const l = e`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 group-hover:text-black hover:text-black`, r = t.leaf ? e`hidden` : e`inline-flex`;
493
+ nodeToggleButton: ({ context: r }) => {
494
+ 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`;
495
495
  return {
496
496
  class: {
497
497
  [l]: !0,
498
- [r]: t.leaf
498
+ [t]: r.leaf
499
499
  }
500
500
  };
501
501
  },
502
502
  nodeChildren: () => {
503
- const t = 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`;
503
+ 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`;
504
504
  return {
505
505
  class: {
506
- [t]: !0,
506
+ [r]: !0,
507
507
  [l]: !0
508
508
  }
509
509
  };
510
510
  },
511
- nodeLabel: ({ context: t }) => {
512
- 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`, r = e`text-black [&>*:last-child:is(span)]:text-gray-900`, o = e`[&>*:last-child]:group-hover:text-black`;
511
+ nodeLabel: ({ context: r }) => {
512
+ 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`;
513
513
  return {
514
514
  class: {
515
515
  [l]: !0,
516
- [r]: t.selected,
517
- [o]: t.selected
516
+ [t]: r.selected,
517
+ [o]: r.selected
518
518
  }
519
519
  };
520
520
  }
521
521
  }, $ = {
522
- root: ({ props: t }) => ({
522
+ root: ({ props: r }) => ({
523
523
  class: {
524
524
  [e`flex flex-nowrap rounded-none border-0 bg-transparent`]: !0,
525
- [e`flex-col`]: t.layout === "vertical"
525
+ [e`flex-col`]: r.layout === "vertical"
526
526
  }
527
527
  }),
528
- gutter: ({ props: t }) => ({
528
+ gutter: ({ props: r }) => ({
529
529
  class: {
530
530
  [e`flex shrink-0 items-center justify-center bg-gray-400 hover:bg-blue-700`]: !0,
531
- [e`h-full w-[3px] cursor-col-resize`]: t.layout === "horizontal",
532
- [e`h-[3px] w-full cursor-row-resize`]: t.layout === "vertical"
531
+ [e`h-full w-[0.1875rem] cursor-col-resize`]: r.layout === "horizontal",
532
+ [e`h-[0.1875rem] w-full cursor-row-resize`]: r.layout === "vertical"
533
533
  }
534
534
  }),
535
- gutterHandle: ({ props: t }) => ({
535
+ gutterHandle: ({ props: r }) => ({
536
536
  class: {
537
537
  [e`z-20 rounded bg-transparent outline-offset-4 outline-blue-800 focus-visible:outline-4`]: !0,
538
- [e`h-11/12 w-[3px] cursor-col-resize`]: t.layout === "horizontal",
539
- [e`h-[3px] w-11/12 cursor-row-resize`]: t.layout === "vertical"
538
+ [e`h-11/12 w-[0.1875rem] cursor-col-resize`]: r.layout === "horizontal",
539
+ [e`h-[0.1875rem] w-11/12 cursor-row-resize`]: r.layout === "vertical"
540
540
  }
541
541
  })
542
542
  }, G = {
@@ -555,12 +555,12 @@ const S = {
555
555
  tbody: {
556
556
  class: e`divide-y divide-blue-300 border-b border-blue-300`
557
557
  },
558
- bodyRow: ({ context: t }) => ({
558
+ bodyRow: ({ context: r }) => ({
559
559
  class: [
560
560
  e`-outline-offset-4 outline-blue-800 focus-visible:outline-4`,
561
561
  {
562
- "bg-blue-300": t.selected,
563
- "hover:bg-blue-100": !t.selected
562
+ "bg-blue-300": r.selected,
563
+ "hover:bg-blue-100": !r.selected
564
564
  }
565
565
  ]
566
566
  }),
@@ -595,13 +595,13 @@ const S = {
595
595
  class: e`py-96 text-center text-gray-900`
596
596
  }
597
597
  }, O = {
598
- root: ({ context: t }) => {
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`;
598
+ root: ({ context: r }) => {
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`, 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`;
600
600
  return {
601
601
  class: {
602
602
  [l]: !0,
603
- [r]: t.active,
604
- [o]: !t.active
603
+ [t]: r.active,
604
+ [o]: !r.active
605
605
  }
606
606
  };
607
607
  }
@@ -614,15 +614,15 @@ const S = {
614
614
  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)]`
615
615
  }
616
616
  }, Y = {
617
- arrow: ({ context: t }) => {
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;
617
+ arrow: ({ context: r }) => {
618
+ 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;
619
619
  return {
620
620
  class: {
621
621
  [l]: !0,
622
- [r]: t.top,
623
- [o]: t.right || a,
624
- [s]: t.bottom,
625
- [i]: t.left
622
+ [t]: r.top,
623
+ [o]: r.right || a,
624
+ [s]: r.bottom,
625
+ [i]: r.left
626
626
  }
627
627
  };
628
628
  },