@bitrix24/b24ui-nuxt 0.4.0 → 0.4.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.
- package/.nuxt/b24ui/button.ts +8 -0
- package/.nuxt/b24ui/index.ts +1 -0
- package/.nuxt/b24ui/modal.ts +21 -3
- package/.nuxt/b24ui/prose/blockquote.ts +5 -0
- package/.nuxt/b24ui/prose/em.ts +5 -0
- package/.nuxt/b24ui/prose/h1.ts +6 -0
- package/.nuxt/b24ui/prose/h2.ts +16 -0
- package/.nuxt/b24ui/prose/h3.ts +16 -0
- package/.nuxt/b24ui/prose/h4.ts +16 -0
- package/.nuxt/b24ui/prose/h5.ts +16 -0
- package/.nuxt/b24ui/prose/h6.ts +16 -0
- package/.nuxt/b24ui/prose/hr.ts +5 -0
- package/.nuxt/b24ui/prose/li.ts +5 -0
- package/.nuxt/b24ui/prose/ol.ts +5 -0
- package/.nuxt/b24ui/prose/p.ts +5 -0
- package/.nuxt/b24ui/prose/strong.ts +5 -0
- package/.nuxt/b24ui/prose/ul.ts +5 -0
- package/.nuxt/b24ui/slideover.ts +26 -7
- package/dist/meta.cjs +32768 -29015
- package/dist/meta.d.cts +32768 -29015
- package/dist/meta.d.mts +32768 -29015
- package/dist/meta.d.ts +32768 -29015
- package/dist/meta.mjs +32768 -29015
- package/dist/module.cjs +6 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -1
- package/dist/runtime/components/Advice.vue +3 -0
- package/dist/runtime/components/Alert.vue +17 -2
- package/dist/runtime/components/Avatar.vue +7 -0
- package/dist/runtime/components/AvatarGroup.vue +3 -0
- package/dist/runtime/components/Badge.vue +21 -3
- package/dist/runtime/components/Button.vue +120 -52
- package/dist/runtime/components/ButtonGroup.vue +7 -1
- package/dist/runtime/components/Checkbox.vue +6 -0
- package/dist/runtime/components/Chip.vue +18 -2
- package/dist/runtime/components/Countdown.vue +32 -8
- package/dist/runtime/components/{content/DescriptionList.vue → DescriptionList.vue} +19 -8
- package/dist/runtime/components/DropdownMenu.vue +14 -2
- package/dist/runtime/components/DropdownMenuContent.vue +6 -0
- package/dist/runtime/components/FormField.vue +6 -0
- package/dist/runtime/components/Input.vue +50 -6
- package/dist/runtime/components/InputMenu.vue +67 -15
- package/dist/runtime/components/InputNumber.vue +42 -8
- package/dist/runtime/components/Kbd.vue +6 -0
- package/dist/runtime/components/Link.vue +8 -4
- package/dist/runtime/components/Modal.vue +22 -5
- package/dist/runtime/components/Progress.vue +19 -3
- package/dist/runtime/components/RadioGroup.vue +6 -0
- package/dist/runtime/components/Range.vue +9 -1
- package/dist/runtime/components/Select.vue +47 -10
- package/dist/runtime/components/SelectMenu.vue +52 -12
- package/dist/runtime/components/Separator.vue +16 -2
- package/dist/runtime/components/Slideover.vue +22 -4
- package/dist/runtime/components/Switch.vue +19 -3
- package/dist/runtime/components/Tabs.vue +12 -0
- package/dist/runtime/components/Textarea.vue +50 -6
- package/dist/runtime/components/Toast.vue +13 -2
- package/dist/runtime/components/Toaster.vue +8 -0
- package/dist/runtime/components/{prose → content}/TableWrapper.vue +27 -3
- package/dist/runtime/composables/useComponentIcons.d.ts +9 -2
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/prose/Blockquote.vue +36 -0
- package/dist/runtime/prose/Em.vue +36 -0
- package/dist/runtime/prose/H1.vue +36 -0
- package/dist/runtime/prose/H2.vue +36 -0
- package/dist/runtime/prose/H3.vue +36 -0
- package/dist/runtime/prose/H4.vue +36 -0
- package/dist/runtime/prose/H5.vue +36 -0
- package/dist/runtime/prose/H6.vue +36 -0
- package/dist/runtime/prose/Hr.vue +30 -0
- package/dist/runtime/prose/Li.vue +36 -0
- package/dist/runtime/prose/Ol.vue +36 -0
- package/dist/runtime/prose/P.vue +36 -0
- package/dist/runtime/prose/Strong.vue +36 -0
- package/dist/runtime/prose/Ul.vue +36 -0
- package/dist/runtime/types/index.d.ts +16 -2
- package/dist/runtime/types/index.js +16 -2
- package/dist/runtime/utils/index.js +1 -1
- package/dist/runtime/vue/components/Link.vue +10 -6
- package/dist/shared/{b24ui-nuxt.BT9wxrhm.cjs → b24ui-nuxt.Bt28CeAD.cjs} +350 -90
- package/dist/shared/{b24ui-nuxt.CBO0gAWn.mjs → b24ui-nuxt.Bx_-_mhu.mjs} +350 -90
- package/dist/unplugin.cjs +4 -4
- package/dist/unplugin.mjs +4 -4
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +7 -6
- /package/.nuxt/b24ui/{prose → content}/table-wrapper.ts +0 -0
- /package/.nuxt/b24ui/{content/description-list.ts → description-list.ts} +0 -0
|
@@ -715,7 +715,7 @@ const badge = {
|
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
|
|
718
|
-
const safeList = [
|
|
718
|
+
const safeList$1 = [
|
|
719
719
|
"h-full w-full absolute inset-0 flex flex-row flex-nowrap items-center justify-center",
|
|
720
720
|
"w-[28px] h-[28px]",
|
|
721
721
|
"size-lg animate-spin stroke-2",
|
|
@@ -733,13 +733,14 @@ const button = {
|
|
|
733
733
|
],
|
|
734
734
|
baseLine: [
|
|
735
735
|
"inline-flex items-center"
|
|
736
|
+
// justify-center
|
|
736
737
|
].join(" "),
|
|
737
738
|
label: "truncate",
|
|
738
739
|
leadingIcon: "shrink-0",
|
|
739
740
|
leadingAvatar: "shrink-0",
|
|
740
741
|
leadingAvatarSize: "",
|
|
741
742
|
trailingIcon: "shrink-0",
|
|
742
|
-
safeList
|
|
743
|
+
safeList: safeList$1
|
|
743
744
|
},
|
|
744
745
|
variants: {
|
|
745
746
|
...buttonGroupVariant,
|
|
@@ -890,6 +891,14 @@ const button = {
|
|
|
890
891
|
normalCase: {
|
|
891
892
|
true: "font-semibold normal-case",
|
|
892
893
|
false: "font-bold uppercase"
|
|
894
|
+
},
|
|
895
|
+
active: {
|
|
896
|
+
true: {
|
|
897
|
+
base: ""
|
|
898
|
+
},
|
|
899
|
+
false: {
|
|
900
|
+
base: ""
|
|
901
|
+
}
|
|
893
902
|
}
|
|
894
903
|
},
|
|
895
904
|
compoundVariants: [
|
|
@@ -1608,6 +1617,78 @@ const countdown = {
|
|
|
1608
1617
|
}
|
|
1609
1618
|
};
|
|
1610
1619
|
|
|
1620
|
+
const descriptionList = {
|
|
1621
|
+
slots: {
|
|
1622
|
+
root: "w-full shrink-0",
|
|
1623
|
+
legend: "font-semibold text-black dark:text-base-150",
|
|
1624
|
+
text: "text-base-500 dark:text-base-400",
|
|
1625
|
+
container: "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
|
|
1626
|
+
labelWrapper: [
|
|
1627
|
+
"col-start-1 border-t first:border-none sm:border-t",
|
|
1628
|
+
"flex flex-nowrap flex-row items-center justify-start gap-1.5",
|
|
1629
|
+
"border-base-950/5 text-base-500 sm:border-base-950/5",
|
|
1630
|
+
"dark:border-white/5 dark:text-base-400 sm:dark:border-white/5"
|
|
1631
|
+
].join(" "),
|
|
1632
|
+
icon: "shrink-0 size-6 text-base-500 dark:text-base-400",
|
|
1633
|
+
avatar: "shrink-0",
|
|
1634
|
+
avatarSize: "",
|
|
1635
|
+
label: "",
|
|
1636
|
+
descriptionWrapper: [
|
|
1637
|
+
"sm:border-t sm:[&:nth-child(2)]:border-none",
|
|
1638
|
+
"text-base-900 sm:border-base-950/5",
|
|
1639
|
+
"dark:text-base-150 dark:sm:border-white/5"
|
|
1640
|
+
].join(" "),
|
|
1641
|
+
description: "",
|
|
1642
|
+
actions: "flex flex-wrap gap-1.5 shrink-0",
|
|
1643
|
+
footer: "border-t border-base-950/5 dark:border-white/5"
|
|
1644
|
+
},
|
|
1645
|
+
variants: {
|
|
1646
|
+
size: {
|
|
1647
|
+
sm: {
|
|
1648
|
+
legend: "text-md",
|
|
1649
|
+
text: "mt-1 max-w-2/3 text-sm",
|
|
1650
|
+
container: "mt-2.5 text-md",
|
|
1651
|
+
labelWrapper: "pt-3 sm:py-3",
|
|
1652
|
+
avatarSize: "xs",
|
|
1653
|
+
label: "",
|
|
1654
|
+
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
1655
|
+
description: "",
|
|
1656
|
+
footer: "mt-2 p-2"
|
|
1657
|
+
},
|
|
1658
|
+
md: {
|
|
1659
|
+
legend: "text-xl",
|
|
1660
|
+
text: "mt-2 max-w-2/3 text-lg leading-5",
|
|
1661
|
+
container: "mt-3 text-lg",
|
|
1662
|
+
labelWrapper: "pt-3 sm:py-3",
|
|
1663
|
+
avatarSize: "xs",
|
|
1664
|
+
label: "",
|
|
1665
|
+
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
1666
|
+
description: "",
|
|
1667
|
+
footer: "mt-4 p-4"
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
orientation: {
|
|
1671
|
+
horizontal: {
|
|
1672
|
+
descriptionWrapper: "w-full flex flex-row items-center justify-between gap-4",
|
|
1673
|
+
actions: "items-center"
|
|
1674
|
+
},
|
|
1675
|
+
vertical: {
|
|
1676
|
+
descriptionWrapper: "",
|
|
1677
|
+
actions: "items-start mt-2.5"
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
title: {
|
|
1681
|
+
true: {
|
|
1682
|
+
description: "mt-1"
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
compoundVariants: [],
|
|
1687
|
+
defaultVariants: {
|
|
1688
|
+
size: "md"
|
|
1689
|
+
}
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1611
1692
|
const dropdownMenu = {
|
|
1612
1693
|
slots: {
|
|
1613
1694
|
content: [
|
|
@@ -3270,10 +3351,21 @@ const modal = {
|
|
|
3270
3351
|
close: "absolute top-2 end-1.5 p-0.5"
|
|
3271
3352
|
},
|
|
3272
3353
|
variants: {
|
|
3354
|
+
overlayBlur: {
|
|
3355
|
+
auto: {
|
|
3356
|
+
overlay: "motion-safe:backdrop-blur-sm"
|
|
3357
|
+
},
|
|
3358
|
+
on: {
|
|
3359
|
+
overlay: "backdrop-blur-sm"
|
|
3360
|
+
},
|
|
3361
|
+
off: {
|
|
3362
|
+
overlay: ""
|
|
3363
|
+
}
|
|
3364
|
+
},
|
|
3273
3365
|
transition: {
|
|
3274
3366
|
true: {
|
|
3275
|
-
overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
|
|
3276
|
-
content: "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
|
|
3367
|
+
overlay: "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]",
|
|
3368
|
+
content: "motion-safe:data-[state=open]:animate-[scale-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_200ms_ease-in]"
|
|
3277
3369
|
}
|
|
3278
3370
|
},
|
|
3279
3371
|
fullscreen: {
|
|
@@ -3296,7 +3388,8 @@ const modal = {
|
|
|
3296
3388
|
}
|
|
3297
3389
|
},
|
|
3298
3390
|
defaultVariants: {
|
|
3299
|
-
scrollbarThin: true
|
|
3391
|
+
scrollbarThin: true,
|
|
3392
|
+
overlayBlur: "auto"
|
|
3300
3393
|
}
|
|
3301
3394
|
};
|
|
3302
3395
|
|
|
@@ -4096,6 +4189,9 @@ const skeleton = {
|
|
|
4096
4189
|
base: "animate-pulse rounded-md bg-gray-200 dark:bg-gray-800"
|
|
4097
4190
|
};
|
|
4098
4191
|
|
|
4192
|
+
const safeList = [
|
|
4193
|
+
"group-hover:rounded-full group-hover:border-1 group-hover:border-current"
|
|
4194
|
+
].join(" ");
|
|
4099
4195
|
const slideover = {
|
|
4100
4196
|
slots: {
|
|
4101
4197
|
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
@@ -4118,9 +4214,21 @@ const slideover = {
|
|
|
4118
4214
|
footer: "bg-white dark:bg-base-950 flex items-center justify-center gap-3 py-4 border-t border-t-1 border-t-base-900/10 dark:border-t-white/20 shadow-top-md p-2 pr-(--scrollbar-width)",
|
|
4119
4215
|
title: "font-b24-system font-light text-4.5xl leading-none text-base-900 dark:text-base-150",
|
|
4120
4216
|
description: "mt-2 mb-1 text-base-500 dark:text-base-400 text-sm",
|
|
4121
|
-
close: "absolute"
|
|
4217
|
+
close: "absolute",
|
|
4218
|
+
safeList
|
|
4122
4219
|
},
|
|
4123
4220
|
variants: {
|
|
4221
|
+
overlayBlur: {
|
|
4222
|
+
auto: {
|
|
4223
|
+
overlay: "motion-safe:backdrop-blur-sm"
|
|
4224
|
+
},
|
|
4225
|
+
on: {
|
|
4226
|
+
overlay: "backdrop-blur-sm"
|
|
4227
|
+
},
|
|
4228
|
+
off: {
|
|
4229
|
+
overlay: ""
|
|
4230
|
+
}
|
|
4231
|
+
},
|
|
4124
4232
|
side: {
|
|
4125
4233
|
top: {
|
|
4126
4234
|
content: "inset-x-0 top-0 max-h-full"
|
|
@@ -4137,7 +4245,7 @@ const slideover = {
|
|
|
4137
4245
|
},
|
|
4138
4246
|
transition: {
|
|
4139
4247
|
true: {
|
|
4140
|
-
overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"
|
|
4248
|
+
overlay: "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]"
|
|
4141
4249
|
}
|
|
4142
4250
|
},
|
|
4143
4251
|
scrollbarThin: {
|
|
@@ -4183,34 +4291,35 @@ const slideover = {
|
|
|
4183
4291
|
transition: true,
|
|
4184
4292
|
side: "top",
|
|
4185
4293
|
class: {
|
|
4186
|
-
content: "data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"
|
|
4294
|
+
content: "motion-safe:data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"
|
|
4187
4295
|
}
|
|
4188
4296
|
},
|
|
4189
4297
|
{
|
|
4190
4298
|
transition: true,
|
|
4191
4299
|
side: "right",
|
|
4192
4300
|
class: {
|
|
4193
|
-
content: "data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"
|
|
4301
|
+
content: "motion-safe:data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"
|
|
4194
4302
|
}
|
|
4195
4303
|
},
|
|
4196
4304
|
{
|
|
4197
4305
|
transition: true,
|
|
4198
4306
|
side: "bottom",
|
|
4199
4307
|
class: {
|
|
4200
|
-
content: "data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"
|
|
4308
|
+
content: "motion-safe:data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"
|
|
4201
4309
|
}
|
|
4202
4310
|
},
|
|
4203
4311
|
{
|
|
4204
4312
|
transition: true,
|
|
4205
4313
|
side: "left",
|
|
4206
4314
|
class: {
|
|
4207
|
-
content: "data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"
|
|
4315
|
+
content: "motion-safe:data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"
|
|
4208
4316
|
}
|
|
4209
4317
|
}
|
|
4210
4318
|
],
|
|
4211
4319
|
defaultVariants: {
|
|
4212
4320
|
side: "right",
|
|
4213
|
-
scrollbarThin: true
|
|
4321
|
+
scrollbarThin: true,
|
|
4322
|
+
overlayBlur: "auto"
|
|
4214
4323
|
}
|
|
4215
4324
|
};
|
|
4216
4325
|
|
|
@@ -5177,6 +5286,7 @@ const theme = {
|
|
|
5177
5286
|
chip: chip,
|
|
5178
5287
|
container: container,
|
|
5179
5288
|
countdown: countdown,
|
|
5289
|
+
descriptionList: descriptionList,
|
|
5180
5290
|
dropdownMenu: dropdownMenu,
|
|
5181
5291
|
form: form,
|
|
5182
5292
|
formField: formField,
|
|
@@ -5202,6 +5312,233 @@ const theme = {
|
|
|
5202
5312
|
tooltip: tooltip
|
|
5203
5313
|
};
|
|
5204
5314
|
|
|
5315
|
+
const h1 = {
|
|
5316
|
+
slots: {
|
|
5317
|
+
base: [
|
|
5318
|
+
"mb-2",
|
|
5319
|
+
"text-base-master dark:text-base-150",
|
|
5320
|
+
"scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)",
|
|
5321
|
+
"text-h1"
|
|
5322
|
+
].join(" "),
|
|
5323
|
+
link: "inline-flex items-center gap-2"
|
|
5324
|
+
}
|
|
5325
|
+
};
|
|
5326
|
+
|
|
5327
|
+
const h2 = {
|
|
5328
|
+
slots: {
|
|
5329
|
+
base: [
|
|
5330
|
+
"relative mb-2",
|
|
5331
|
+
"[&>a>code]:text-xl/7 [&>a>code]:font-bold",
|
|
5332
|
+
"text-base-master dark:text-base-150",
|
|
5333
|
+
"scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))]",
|
|
5334
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5335
|
+
"hover:[&>a>code]:text-info-text",
|
|
5336
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5337
|
+
"text-h2"
|
|
5338
|
+
].join(" "),
|
|
5339
|
+
leading: [
|
|
5340
|
+
"absolute -ms-8 top-1 p-1",
|
|
5341
|
+
"rounded-md hidden lg:flex",
|
|
5342
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5343
|
+
"bg-base-100 dark:bg-base-900",
|
|
5344
|
+
"text-base-500 dark:text-base-600",
|
|
5345
|
+
"hover:text-outline-info-text",
|
|
5346
|
+
"transition"
|
|
5347
|
+
],
|
|
5348
|
+
leadingIcon: "size-4 shrink-0",
|
|
5349
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5350
|
+
}
|
|
5351
|
+
};
|
|
5352
|
+
|
|
5353
|
+
const h3 = {
|
|
5354
|
+
slots: {
|
|
5355
|
+
base: [
|
|
5356
|
+
"relative mb-2",
|
|
5357
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5358
|
+
"text-base-master dark:text-base-150",
|
|
5359
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5360
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5361
|
+
"hover:[&>a>code]:text-info-text",
|
|
5362
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5363
|
+
"text-h3"
|
|
5364
|
+
].join(" "),
|
|
5365
|
+
leading: [
|
|
5366
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5367
|
+
"rounded-md hidden lg:flex",
|
|
5368
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5369
|
+
"bg-base-100 dark:bg-base-900",
|
|
5370
|
+
"text-base-500 dark:text-base-600",
|
|
5371
|
+
"hover:text-outline-info-text",
|
|
5372
|
+
"transition"
|
|
5373
|
+
],
|
|
5374
|
+
leadingIcon: "size-4 shrink-0",
|
|
5375
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5376
|
+
}
|
|
5377
|
+
};
|
|
5378
|
+
|
|
5379
|
+
const h4 = {
|
|
5380
|
+
slots: {
|
|
5381
|
+
base: [
|
|
5382
|
+
"relative mb-2",
|
|
5383
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5384
|
+
"text-base-master dark:text-base-150",
|
|
5385
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5386
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5387
|
+
"hover:[&>a>code]:text-info-text",
|
|
5388
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5389
|
+
"text-h4"
|
|
5390
|
+
].join(" "),
|
|
5391
|
+
leading: [
|
|
5392
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5393
|
+
"rounded-md hidden lg:flex",
|
|
5394
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5395
|
+
"bg-base-100 dark:bg-base-900",
|
|
5396
|
+
"text-base-500 dark:text-base-600",
|
|
5397
|
+
"hover:text-outline-info-text",
|
|
5398
|
+
"transition"
|
|
5399
|
+
],
|
|
5400
|
+
leadingIcon: "size-4 shrink-0",
|
|
5401
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5402
|
+
}
|
|
5403
|
+
};
|
|
5404
|
+
|
|
5405
|
+
const h5 = {
|
|
5406
|
+
slots: {
|
|
5407
|
+
base: [
|
|
5408
|
+
"relative mb-2",
|
|
5409
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5410
|
+
"text-base-master dark:text-base-150",
|
|
5411
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5412
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5413
|
+
"hover:[&>a>code]:text-info-text",
|
|
5414
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5415
|
+
"text-h5"
|
|
5416
|
+
].join(" "),
|
|
5417
|
+
leading: [
|
|
5418
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5419
|
+
"rounded-md hidden lg:flex",
|
|
5420
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5421
|
+
"bg-base-100 dark:bg-base-900",
|
|
5422
|
+
"text-base-500 dark:text-base-600",
|
|
5423
|
+
"hover:text-outline-info-text",
|
|
5424
|
+
"transition"
|
|
5425
|
+
],
|
|
5426
|
+
leadingIcon: "size-4 shrink-0",
|
|
5427
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5428
|
+
}
|
|
5429
|
+
};
|
|
5430
|
+
|
|
5431
|
+
const h6 = {
|
|
5432
|
+
slots: {
|
|
5433
|
+
base: [
|
|
5434
|
+
"relative mb-2",
|
|
5435
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5436
|
+
"text-base-master dark:text-base-150",
|
|
5437
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5438
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5439
|
+
"hover:[&>a>code]:text-info-text",
|
|
5440
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5441
|
+
"text-h6"
|
|
5442
|
+
].join(" "),
|
|
5443
|
+
leading: [
|
|
5444
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5445
|
+
"rounded-md hidden lg:flex",
|
|
5446
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5447
|
+
"bg-base-100 dark:bg-base-900",
|
|
5448
|
+
"text-base-500 dark:text-base-600",
|
|
5449
|
+
"hover:text-outline-info-text",
|
|
5450
|
+
"transition"
|
|
5451
|
+
],
|
|
5452
|
+
leadingIcon: "size-4 shrink-0",
|
|
5453
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5454
|
+
}
|
|
5455
|
+
};
|
|
5456
|
+
|
|
5457
|
+
const p = {
|
|
5458
|
+
slots: {
|
|
5459
|
+
base: [
|
|
5460
|
+
"mb-2",
|
|
5461
|
+
"leading-relaxed",
|
|
5462
|
+
"text-pretty"
|
|
5463
|
+
].join(" ")
|
|
5464
|
+
}
|
|
5465
|
+
};
|
|
5466
|
+
|
|
5467
|
+
const blockquote = {
|
|
5468
|
+
slots: {
|
|
5469
|
+
base: "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
|
|
5470
|
+
}
|
|
5471
|
+
};
|
|
5472
|
+
|
|
5473
|
+
const strong = {
|
|
5474
|
+
slots: {
|
|
5475
|
+
base: ""
|
|
5476
|
+
}
|
|
5477
|
+
};
|
|
5478
|
+
|
|
5479
|
+
const em = {
|
|
5480
|
+
slots: {
|
|
5481
|
+
base: ""
|
|
5482
|
+
}
|
|
5483
|
+
};
|
|
5484
|
+
|
|
5485
|
+
const ol = {
|
|
5486
|
+
slots: {
|
|
5487
|
+
base: [
|
|
5488
|
+
"list-decimal",
|
|
5489
|
+
"ps-2 mb-2 ms-3",
|
|
5490
|
+
"marker:text-base-master dark:marker:text-base-150"
|
|
5491
|
+
].join(" ")
|
|
5492
|
+
}
|
|
5493
|
+
};
|
|
5494
|
+
|
|
5495
|
+
const ul = {
|
|
5496
|
+
slots: {
|
|
5497
|
+
base: [
|
|
5498
|
+
"list-disc",
|
|
5499
|
+
"ps-2 mb-2 ms-3",
|
|
5500
|
+
"marker:text-base-master dark:marker:text-base-150"
|
|
5501
|
+
].join(" ")
|
|
5502
|
+
}
|
|
5503
|
+
};
|
|
5504
|
+
|
|
5505
|
+
const li = {
|
|
5506
|
+
slots: {
|
|
5507
|
+
base: [
|
|
5508
|
+
"my-1.5 ps-1.5",
|
|
5509
|
+
"leading-relaxed",
|
|
5510
|
+
"[&>ul]:my-0 [&>ol]:my-0"
|
|
5511
|
+
].join(" ")
|
|
5512
|
+
}
|
|
5513
|
+
};
|
|
5514
|
+
|
|
5515
|
+
const hr = {
|
|
5516
|
+
slots: {
|
|
5517
|
+
base: [
|
|
5518
|
+
"my-4",
|
|
5519
|
+
"border-t border-base-master/10 dark:border-base-100/20"
|
|
5520
|
+
].join(" ")
|
|
5521
|
+
}
|
|
5522
|
+
};
|
|
5523
|
+
|
|
5524
|
+
const themeProse = {
|
|
5525
|
+
__proto__: null,
|
|
5526
|
+
blockquote: blockquote,
|
|
5527
|
+
em: em,
|
|
5528
|
+
h1: h1,
|
|
5529
|
+
h2: h2,
|
|
5530
|
+
h3: h3,
|
|
5531
|
+
h4: h4,
|
|
5532
|
+
h5: h5,
|
|
5533
|
+
h6: h6,
|
|
5534
|
+
hr: hr,
|
|
5535
|
+
li: li,
|
|
5536
|
+
ol: ol,
|
|
5537
|
+
p: p,
|
|
5538
|
+
strong: strong,
|
|
5539
|
+
ul: ul
|
|
5540
|
+
};
|
|
5541
|
+
|
|
5205
5542
|
const variantTable = "[&>table]";
|
|
5206
5543
|
const variantHeadTr = "[&>table>thead>tr]";
|
|
5207
5544
|
const variantBodyTr = "[&>table>tbody>tr]";
|
|
@@ -5287,86 +5624,9 @@ const tableWrapper = {
|
|
|
5287
5624
|
}
|
|
5288
5625
|
};
|
|
5289
5626
|
|
|
5290
|
-
const themeProse = {
|
|
5291
|
-
__proto__: null,
|
|
5292
|
-
tableWrapper: tableWrapper
|
|
5293
|
-
};
|
|
5294
|
-
|
|
5295
|
-
const descriptionList = {
|
|
5296
|
-
slots: {
|
|
5297
|
-
root: "w-full shrink-0",
|
|
5298
|
-
legend: "font-semibold text-black dark:text-base-150",
|
|
5299
|
-
text: "text-base-500 dark:text-base-400",
|
|
5300
|
-
container: "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
|
|
5301
|
-
labelWrapper: [
|
|
5302
|
-
"col-start-1 border-t first:border-none sm:border-t",
|
|
5303
|
-
"flex flex-nowrap flex-row items-center justify-start gap-1.5",
|
|
5304
|
-
"border-base-950/5 text-base-500 sm:border-base-950/5",
|
|
5305
|
-
"dark:border-white/5 dark:text-base-400 sm:dark:border-white/5"
|
|
5306
|
-
].join(" "),
|
|
5307
|
-
icon: "shrink-0 size-6 text-base-500 dark:text-base-400",
|
|
5308
|
-
avatar: "shrink-0",
|
|
5309
|
-
avatarSize: "",
|
|
5310
|
-
label: "",
|
|
5311
|
-
descriptionWrapper: [
|
|
5312
|
-
"sm:border-t sm:[&:nth-child(2)]:border-none",
|
|
5313
|
-
"text-base-900 sm:border-base-950/5",
|
|
5314
|
-
"dark:text-base-150 dark:sm:border-white/5"
|
|
5315
|
-
].join(" "),
|
|
5316
|
-
description: "",
|
|
5317
|
-
actions: "flex flex-wrap gap-1.5 shrink-0",
|
|
5318
|
-
footer: "border-t border-base-950/5 dark:border-white/5"
|
|
5319
|
-
},
|
|
5320
|
-
variants: {
|
|
5321
|
-
size: {
|
|
5322
|
-
sm: {
|
|
5323
|
-
legend: "text-md",
|
|
5324
|
-
text: "mt-1 max-w-2/3 text-sm",
|
|
5325
|
-
container: "mt-2.5 text-md",
|
|
5326
|
-
labelWrapper: "pt-3 sm:py-3",
|
|
5327
|
-
avatarSize: "xs",
|
|
5328
|
-
label: "",
|
|
5329
|
-
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
5330
|
-
description: "",
|
|
5331
|
-
footer: "mt-2 p-2"
|
|
5332
|
-
},
|
|
5333
|
-
md: {
|
|
5334
|
-
legend: "text-xl",
|
|
5335
|
-
text: "mt-2 max-w-2/3 text-lg leading-5",
|
|
5336
|
-
container: "mt-3 text-lg",
|
|
5337
|
-
labelWrapper: "pt-3 sm:py-3",
|
|
5338
|
-
avatarSize: "xs",
|
|
5339
|
-
label: "",
|
|
5340
|
-
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
5341
|
-
description: "",
|
|
5342
|
-
footer: "mt-4 p-4"
|
|
5343
|
-
}
|
|
5344
|
-
},
|
|
5345
|
-
orientation: {
|
|
5346
|
-
horizontal: {
|
|
5347
|
-
descriptionWrapper: "w-full flex flex-row items-center justify-between gap-4",
|
|
5348
|
-
actions: "items-center"
|
|
5349
|
-
},
|
|
5350
|
-
vertical: {
|
|
5351
|
-
descriptionWrapper: "",
|
|
5352
|
-
actions: "items-start mt-2.5"
|
|
5353
|
-
}
|
|
5354
|
-
},
|
|
5355
|
-
title: {
|
|
5356
|
-
true: {
|
|
5357
|
-
description: "mt-1"
|
|
5358
|
-
}
|
|
5359
|
-
}
|
|
5360
|
-
},
|
|
5361
|
-
compoundVariants: [],
|
|
5362
|
-
defaultVariants: {
|
|
5363
|
-
size: "md"
|
|
5364
|
-
}
|
|
5365
|
-
};
|
|
5366
|
-
|
|
5367
5627
|
const themeContent = {
|
|
5368
5628
|
__proto__: null,
|
|
5369
|
-
|
|
5629
|
+
tableWrapper: tableWrapper
|
|
5370
5630
|
};
|
|
5371
5631
|
|
|
5372
5632
|
function replaceBrackets(value) {
|