@bitrix24/b24ui-nuxt 0.4.0 → 0.4.1
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/index.ts +1 -0
- package/.nuxt/b24ui/modal.ts +1 -1
- package/.nuxt/b24ui/prose/prose-h1.ts +6 -0
- package/.nuxt/b24ui/prose/prose-h2.ts +16 -0
- package/.nuxt/b24ui/prose/prose-h3.ts +16 -0
- package/.nuxt/b24ui/prose/prose-li.ts +5 -0
- package/.nuxt/b24ui/prose/prose-ol.ts +5 -0
- package/.nuxt/b24ui/prose/prose-p.ts +5 -0
- package/.nuxt/b24ui/prose/prose-ul.ts +5 -0
- package/.nuxt/b24ui/slideover.ts +3 -2
- package/dist/meta.cjs +31777 -28683
- package/dist/meta.d.cts +31777 -28683
- package/dist/meta.d.mts +31777 -28683
- package/dist/meta.d.ts +31777 -28683
- package/dist/meta.mjs +31777 -28683
- 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 +37 -7
- 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 +9 -3
- 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 +12 -2
- 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 +11 -4
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/prose/ProseH1.vue +36 -0
- package/dist/runtime/prose/ProseH2.vue +36 -0
- package/dist/runtime/prose/ProseH3.vue +36 -0
- package/dist/runtime/prose/ProseLi.vue +36 -0
- package/dist/runtime/prose/ProseOl.vue +36 -0
- package/dist/runtime/prose/ProseP.vue +36 -0
- package/dist/runtime/prose/ProseUl.vue +36 -0
- package/dist/runtime/types/index.d.ts +9 -2
- package/dist/runtime/types/index.js +9 -2
- package/dist/runtime/utils/index.js +1 -1
- package/dist/runtime/vue/components/Link.vue +8 -4
- package/dist/shared/{b24ui-nuxt.CBO0gAWn.mjs → b24ui-nuxt.BGGwh89R.mjs} +198 -83
- package/dist/shared/{b24ui-nuxt.BT9wxrhm.cjs → b24ui-nuxt.CnMGpwQb.cjs} +198 -83
- 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 +4 -3
- /package/.nuxt/b24ui/{prose → content}/table-wrapper.ts +0 -0
- /package/.nuxt/b24ui/{content/description-list.ts → description-list.ts} +0 -0
|
@@ -713,7 +713,7 @@ const badge = {
|
|
|
713
713
|
}
|
|
714
714
|
};
|
|
715
715
|
|
|
716
|
-
const safeList = [
|
|
716
|
+
const safeList$1 = [
|
|
717
717
|
"h-full w-full absolute inset-0 flex flex-row flex-nowrap items-center justify-center",
|
|
718
718
|
"w-[28px] h-[28px]",
|
|
719
719
|
"size-lg animate-spin stroke-2",
|
|
@@ -737,7 +737,7 @@ const button = {
|
|
|
737
737
|
leadingAvatar: "shrink-0",
|
|
738
738
|
leadingAvatarSize: "",
|
|
739
739
|
trailingIcon: "shrink-0",
|
|
740
|
-
safeList
|
|
740
|
+
safeList: safeList$1
|
|
741
741
|
},
|
|
742
742
|
variants: {
|
|
743
743
|
...buttonGroupVariant,
|
|
@@ -1606,6 +1606,78 @@ const countdown = {
|
|
|
1606
1606
|
}
|
|
1607
1607
|
};
|
|
1608
1608
|
|
|
1609
|
+
const descriptionList = {
|
|
1610
|
+
slots: {
|
|
1611
|
+
root: "w-full shrink-0",
|
|
1612
|
+
legend: "font-semibold text-black dark:text-base-150",
|
|
1613
|
+
text: "text-base-500 dark:text-base-400",
|
|
1614
|
+
container: "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
|
|
1615
|
+
labelWrapper: [
|
|
1616
|
+
"col-start-1 border-t first:border-none sm:border-t",
|
|
1617
|
+
"flex flex-nowrap flex-row items-center justify-start gap-1.5",
|
|
1618
|
+
"border-base-950/5 text-base-500 sm:border-base-950/5",
|
|
1619
|
+
"dark:border-white/5 dark:text-base-400 sm:dark:border-white/5"
|
|
1620
|
+
].join(" "),
|
|
1621
|
+
icon: "shrink-0 size-6 text-base-500 dark:text-base-400",
|
|
1622
|
+
avatar: "shrink-0",
|
|
1623
|
+
avatarSize: "",
|
|
1624
|
+
label: "",
|
|
1625
|
+
descriptionWrapper: [
|
|
1626
|
+
"sm:border-t sm:[&:nth-child(2)]:border-none",
|
|
1627
|
+
"text-base-900 sm:border-base-950/5",
|
|
1628
|
+
"dark:text-base-150 dark:sm:border-white/5"
|
|
1629
|
+
].join(" "),
|
|
1630
|
+
description: "",
|
|
1631
|
+
actions: "flex flex-wrap gap-1.5 shrink-0",
|
|
1632
|
+
footer: "border-t border-base-950/5 dark:border-white/5"
|
|
1633
|
+
},
|
|
1634
|
+
variants: {
|
|
1635
|
+
size: {
|
|
1636
|
+
sm: {
|
|
1637
|
+
legend: "text-md",
|
|
1638
|
+
text: "mt-1 max-w-2/3 text-sm",
|
|
1639
|
+
container: "mt-2.5 text-md",
|
|
1640
|
+
labelWrapper: "pt-3 sm:py-3",
|
|
1641
|
+
avatarSize: "xs",
|
|
1642
|
+
label: "",
|
|
1643
|
+
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
1644
|
+
description: "",
|
|
1645
|
+
footer: "mt-2 p-2"
|
|
1646
|
+
},
|
|
1647
|
+
md: {
|
|
1648
|
+
legend: "text-xl",
|
|
1649
|
+
text: "mt-2 max-w-2/3 text-lg leading-5",
|
|
1650
|
+
container: "mt-3 text-lg",
|
|
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-4 p-4"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
orientation: {
|
|
1660
|
+
horizontal: {
|
|
1661
|
+
descriptionWrapper: "w-full flex flex-row items-center justify-between gap-4",
|
|
1662
|
+
actions: "items-center"
|
|
1663
|
+
},
|
|
1664
|
+
vertical: {
|
|
1665
|
+
descriptionWrapper: "",
|
|
1666
|
+
actions: "items-start mt-2.5"
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
title: {
|
|
1670
|
+
true: {
|
|
1671
|
+
description: "mt-1"
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
compoundVariants: [],
|
|
1676
|
+
defaultVariants: {
|
|
1677
|
+
size: "md"
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1609
1681
|
const dropdownMenu = {
|
|
1610
1682
|
slots: {
|
|
1611
1683
|
content: [
|
|
@@ -3253,7 +3325,7 @@ const link = (options) => ({
|
|
|
3253
3325
|
|
|
3254
3326
|
const modal = {
|
|
3255
3327
|
slots: {
|
|
3256
|
-
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
3328
|
+
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-sm",
|
|
3257
3329
|
content: [
|
|
3258
3330
|
"py-md2 px-5",
|
|
3259
3331
|
"fixed bg-white dark:bg-base-950",
|
|
@@ -4094,9 +4166,12 @@ const skeleton = {
|
|
|
4094
4166
|
base: "animate-pulse rounded-md bg-gray-200 dark:bg-gray-800"
|
|
4095
4167
|
};
|
|
4096
4168
|
|
|
4169
|
+
const safeList = [
|
|
4170
|
+
"group-hover:rounded-full group-hover:border-1 group-hover:border-current"
|
|
4171
|
+
].join(" ");
|
|
4097
4172
|
const slideover = {
|
|
4098
4173
|
slots: {
|
|
4099
|
-
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
4174
|
+
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-xs",
|
|
4100
4175
|
content: [
|
|
4101
4176
|
"fixed",
|
|
4102
4177
|
"bg-base-50 dark:bg-base-950",
|
|
@@ -4116,7 +4191,8 @@ const slideover = {
|
|
|
4116
4191
|
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)",
|
|
4117
4192
|
title: "font-b24-system font-light text-4.5xl leading-none text-base-900 dark:text-base-150",
|
|
4118
4193
|
description: "mt-2 mb-1 text-base-500 dark:text-base-400 text-sm",
|
|
4119
|
-
close: "absolute"
|
|
4194
|
+
close: "absolute",
|
|
4195
|
+
safeList
|
|
4120
4196
|
},
|
|
4121
4197
|
variants: {
|
|
4122
4198
|
side: {
|
|
@@ -5175,6 +5251,7 @@ const theme = {
|
|
|
5175
5251
|
chip: chip,
|
|
5176
5252
|
container: container,
|
|
5177
5253
|
countdown: countdown,
|
|
5254
|
+
descriptionList: descriptionList,
|
|
5178
5255
|
dropdownMenu: dropdownMenu,
|
|
5179
5256
|
form: form,
|
|
5180
5257
|
formField: formField,
|
|
@@ -5200,6 +5277,121 @@ const theme = {
|
|
|
5200
5277
|
tooltip: tooltip
|
|
5201
5278
|
};
|
|
5202
5279
|
|
|
5280
|
+
const proseH1 = {
|
|
5281
|
+
slots: {
|
|
5282
|
+
base: [
|
|
5283
|
+
"mb-2",
|
|
5284
|
+
"text-5xl leading-3xs font-light",
|
|
5285
|
+
"text-base-master dark:text-base-150",
|
|
5286
|
+
"scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)"
|
|
5287
|
+
].join(" "),
|
|
5288
|
+
link: "inline-flex items-center gap-2"
|
|
5289
|
+
}
|
|
5290
|
+
};
|
|
5291
|
+
|
|
5292
|
+
const proseH2 = {
|
|
5293
|
+
slots: {
|
|
5294
|
+
base: [
|
|
5295
|
+
"relative mb-2",
|
|
5296
|
+
"text-4xl leading-2xs font-light",
|
|
5297
|
+
"[&>a>code]:text-xl/7 [&>a>code]:font-bold",
|
|
5298
|
+
"text-base-master dark:text-base-150",
|
|
5299
|
+
"scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))]",
|
|
5300
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5301
|
+
"hover:[&>a>code]:text-info-text",
|
|
5302
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors"
|
|
5303
|
+
].join(" "),
|
|
5304
|
+
leading: [
|
|
5305
|
+
"absolute -ms-8 top-1 p-1",
|
|
5306
|
+
"rounded-md hidden lg:flex",
|
|
5307
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5308
|
+
"bg-base-100 dark:bg-base-900",
|
|
5309
|
+
"text-base-500 dark:text-base-600",
|
|
5310
|
+
"hover:text-outline-info-text",
|
|
5311
|
+
"transition"
|
|
5312
|
+
],
|
|
5313
|
+
leadingIcon: "size-4 shrink-0",
|
|
5314
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5315
|
+
}
|
|
5316
|
+
};
|
|
5317
|
+
|
|
5318
|
+
const proseH3 = {
|
|
5319
|
+
slots: {
|
|
5320
|
+
base: [
|
|
5321
|
+
"relative mb-2",
|
|
5322
|
+
"text-3xl leading-2xs font-light",
|
|
5323
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5324
|
+
"text-base-master dark:text-base-150",
|
|
5325
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5326
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5327
|
+
"hover:[&>a>code]:text-info-text",
|
|
5328
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors"
|
|
5329
|
+
].join(" "),
|
|
5330
|
+
leading: [
|
|
5331
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5332
|
+
"rounded-md hidden lg:flex",
|
|
5333
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5334
|
+
"bg-base-100 dark:bg-base-900",
|
|
5335
|
+
"text-base-500 dark:text-base-600",
|
|
5336
|
+
"hover:text-outline-info-text",
|
|
5337
|
+
"transition"
|
|
5338
|
+
],
|
|
5339
|
+
leadingIcon: "size-4 shrink-0",
|
|
5340
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5341
|
+
}
|
|
5342
|
+
};
|
|
5343
|
+
|
|
5344
|
+
const proseLi = {
|
|
5345
|
+
slots: {
|
|
5346
|
+
base: [
|
|
5347
|
+
"my-1.5 ps-1.5",
|
|
5348
|
+
"leading-relaxed",
|
|
5349
|
+
"[&>ul]:my-0 [&>ol]:my-0"
|
|
5350
|
+
].join(" ")
|
|
5351
|
+
}
|
|
5352
|
+
};
|
|
5353
|
+
|
|
5354
|
+
const proseOl = {
|
|
5355
|
+
slots: {
|
|
5356
|
+
base: [
|
|
5357
|
+
"list-decimal",
|
|
5358
|
+
"ps-6 mb-2",
|
|
5359
|
+
"marker:text-base-300 dark:marker:text-base-800"
|
|
5360
|
+
].join(" ")
|
|
5361
|
+
}
|
|
5362
|
+
};
|
|
5363
|
+
|
|
5364
|
+
const proseP = {
|
|
5365
|
+
slots: {
|
|
5366
|
+
base: [
|
|
5367
|
+
"mb-2",
|
|
5368
|
+
"leading-relaxed",
|
|
5369
|
+
"text-pretty"
|
|
5370
|
+
].join(" ")
|
|
5371
|
+
}
|
|
5372
|
+
};
|
|
5373
|
+
|
|
5374
|
+
const proseUl = {
|
|
5375
|
+
slots: {
|
|
5376
|
+
base: [
|
|
5377
|
+
"list-disc",
|
|
5378
|
+
"ps-6 mb-2",
|
|
5379
|
+
"marker:text-base-300 dark:marker:text-base-800"
|
|
5380
|
+
].join(" ")
|
|
5381
|
+
}
|
|
5382
|
+
};
|
|
5383
|
+
|
|
5384
|
+
const themeProse = {
|
|
5385
|
+
__proto__: null,
|
|
5386
|
+
proseH1: proseH1,
|
|
5387
|
+
proseH2: proseH2,
|
|
5388
|
+
proseH3: proseH3,
|
|
5389
|
+
proseLi: proseLi,
|
|
5390
|
+
proseOl: proseOl,
|
|
5391
|
+
proseP: proseP,
|
|
5392
|
+
proseUl: proseUl
|
|
5393
|
+
};
|
|
5394
|
+
|
|
5203
5395
|
const variantTable = "[&>table]";
|
|
5204
5396
|
const variantHeadTr = "[&>table>thead>tr]";
|
|
5205
5397
|
const variantBodyTr = "[&>table>tbody>tr]";
|
|
@@ -5285,86 +5477,9 @@ const tableWrapper = {
|
|
|
5285
5477
|
}
|
|
5286
5478
|
};
|
|
5287
5479
|
|
|
5288
|
-
const themeProse = {
|
|
5289
|
-
__proto__: null,
|
|
5290
|
-
tableWrapper: tableWrapper
|
|
5291
|
-
};
|
|
5292
|
-
|
|
5293
|
-
const descriptionList = {
|
|
5294
|
-
slots: {
|
|
5295
|
-
root: "w-full shrink-0",
|
|
5296
|
-
legend: "font-semibold text-black dark:text-base-150",
|
|
5297
|
-
text: "text-base-500 dark:text-base-400",
|
|
5298
|
-
container: "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
|
|
5299
|
-
labelWrapper: [
|
|
5300
|
-
"col-start-1 border-t first:border-none sm:border-t",
|
|
5301
|
-
"flex flex-nowrap flex-row items-center justify-start gap-1.5",
|
|
5302
|
-
"border-base-950/5 text-base-500 sm:border-base-950/5",
|
|
5303
|
-
"dark:border-white/5 dark:text-base-400 sm:dark:border-white/5"
|
|
5304
|
-
].join(" "),
|
|
5305
|
-
icon: "shrink-0 size-6 text-base-500 dark:text-base-400",
|
|
5306
|
-
avatar: "shrink-0",
|
|
5307
|
-
avatarSize: "",
|
|
5308
|
-
label: "",
|
|
5309
|
-
descriptionWrapper: [
|
|
5310
|
-
"sm:border-t sm:[&:nth-child(2)]:border-none",
|
|
5311
|
-
"text-base-900 sm:border-base-950/5",
|
|
5312
|
-
"dark:text-base-150 dark:sm:border-white/5"
|
|
5313
|
-
].join(" "),
|
|
5314
|
-
description: "",
|
|
5315
|
-
actions: "flex flex-wrap gap-1.5 shrink-0",
|
|
5316
|
-
footer: "border-t border-base-950/5 dark:border-white/5"
|
|
5317
|
-
},
|
|
5318
|
-
variants: {
|
|
5319
|
-
size: {
|
|
5320
|
-
sm: {
|
|
5321
|
-
legend: "text-md",
|
|
5322
|
-
text: "mt-1 max-w-2/3 text-sm",
|
|
5323
|
-
container: "mt-2.5 text-md",
|
|
5324
|
-
labelWrapper: "pt-3 sm:py-3",
|
|
5325
|
-
avatarSize: "xs",
|
|
5326
|
-
label: "",
|
|
5327
|
-
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
5328
|
-
description: "",
|
|
5329
|
-
footer: "mt-2 p-2"
|
|
5330
|
-
},
|
|
5331
|
-
md: {
|
|
5332
|
-
legend: "text-xl",
|
|
5333
|
-
text: "mt-2 max-w-2/3 text-lg leading-5",
|
|
5334
|
-
container: "mt-3 text-lg",
|
|
5335
|
-
labelWrapper: "pt-3 sm:py-3",
|
|
5336
|
-
avatarSize: "xs",
|
|
5337
|
-
label: "",
|
|
5338
|
-
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
5339
|
-
description: "",
|
|
5340
|
-
footer: "mt-4 p-4"
|
|
5341
|
-
}
|
|
5342
|
-
},
|
|
5343
|
-
orientation: {
|
|
5344
|
-
horizontal: {
|
|
5345
|
-
descriptionWrapper: "w-full flex flex-row items-center justify-between gap-4",
|
|
5346
|
-
actions: "items-center"
|
|
5347
|
-
},
|
|
5348
|
-
vertical: {
|
|
5349
|
-
descriptionWrapper: "",
|
|
5350
|
-
actions: "items-start mt-2.5"
|
|
5351
|
-
}
|
|
5352
|
-
},
|
|
5353
|
-
title: {
|
|
5354
|
-
true: {
|
|
5355
|
-
description: "mt-1"
|
|
5356
|
-
}
|
|
5357
|
-
}
|
|
5358
|
-
},
|
|
5359
|
-
compoundVariants: [],
|
|
5360
|
-
defaultVariants: {
|
|
5361
|
-
size: "md"
|
|
5362
|
-
}
|
|
5363
|
-
};
|
|
5364
|
-
|
|
5365
5480
|
const themeContent = {
|
|
5366
5481
|
__proto__: null,
|
|
5367
|
-
|
|
5482
|
+
tableWrapper: tableWrapper
|
|
5368
5483
|
};
|
|
5369
5484
|
|
|
5370
5485
|
function replaceBrackets(value) {
|
|
@@ -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",
|
|
@@ -739,7 +739,7 @@ const button = {
|
|
|
739
739
|
leadingAvatar: "shrink-0",
|
|
740
740
|
leadingAvatarSize: "",
|
|
741
741
|
trailingIcon: "shrink-0",
|
|
742
|
-
safeList
|
|
742
|
+
safeList: safeList$1
|
|
743
743
|
},
|
|
744
744
|
variants: {
|
|
745
745
|
...buttonGroupVariant,
|
|
@@ -1608,6 +1608,78 @@ const countdown = {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
};
|
|
1610
1610
|
|
|
1611
|
+
const descriptionList = {
|
|
1612
|
+
slots: {
|
|
1613
|
+
root: "w-full shrink-0",
|
|
1614
|
+
legend: "font-semibold text-black dark:text-base-150",
|
|
1615
|
+
text: "text-base-500 dark:text-base-400",
|
|
1616
|
+
container: "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
|
|
1617
|
+
labelWrapper: [
|
|
1618
|
+
"col-start-1 border-t first:border-none sm:border-t",
|
|
1619
|
+
"flex flex-nowrap flex-row items-center justify-start gap-1.5",
|
|
1620
|
+
"border-base-950/5 text-base-500 sm:border-base-950/5",
|
|
1621
|
+
"dark:border-white/5 dark:text-base-400 sm:dark:border-white/5"
|
|
1622
|
+
].join(" "),
|
|
1623
|
+
icon: "shrink-0 size-6 text-base-500 dark:text-base-400",
|
|
1624
|
+
avatar: "shrink-0",
|
|
1625
|
+
avatarSize: "",
|
|
1626
|
+
label: "",
|
|
1627
|
+
descriptionWrapper: [
|
|
1628
|
+
"sm:border-t sm:[&:nth-child(2)]:border-none",
|
|
1629
|
+
"text-base-900 sm:border-base-950/5",
|
|
1630
|
+
"dark:text-base-150 dark:sm:border-white/5"
|
|
1631
|
+
].join(" "),
|
|
1632
|
+
description: "",
|
|
1633
|
+
actions: "flex flex-wrap gap-1.5 shrink-0",
|
|
1634
|
+
footer: "border-t border-base-950/5 dark:border-white/5"
|
|
1635
|
+
},
|
|
1636
|
+
variants: {
|
|
1637
|
+
size: {
|
|
1638
|
+
sm: {
|
|
1639
|
+
legend: "text-md",
|
|
1640
|
+
text: "mt-1 max-w-2/3 text-sm",
|
|
1641
|
+
container: "mt-2.5 text-md",
|
|
1642
|
+
labelWrapper: "pt-3 sm:py-3",
|
|
1643
|
+
avatarSize: "xs",
|
|
1644
|
+
label: "",
|
|
1645
|
+
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
1646
|
+
description: "",
|
|
1647
|
+
footer: "mt-2 p-2"
|
|
1648
|
+
},
|
|
1649
|
+
md: {
|
|
1650
|
+
legend: "text-xl",
|
|
1651
|
+
text: "mt-2 max-w-2/3 text-lg leading-5",
|
|
1652
|
+
container: "mt-3 text-lg",
|
|
1653
|
+
labelWrapper: "pt-3 sm:py-3",
|
|
1654
|
+
avatarSize: "xs",
|
|
1655
|
+
label: "",
|
|
1656
|
+
descriptionWrapper: "pb-3 pt-1 sm:py-3",
|
|
1657
|
+
description: "",
|
|
1658
|
+
footer: "mt-4 p-4"
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
orientation: {
|
|
1662
|
+
horizontal: {
|
|
1663
|
+
descriptionWrapper: "w-full flex flex-row items-center justify-between gap-4",
|
|
1664
|
+
actions: "items-center"
|
|
1665
|
+
},
|
|
1666
|
+
vertical: {
|
|
1667
|
+
descriptionWrapper: "",
|
|
1668
|
+
actions: "items-start mt-2.5"
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
title: {
|
|
1672
|
+
true: {
|
|
1673
|
+
description: "mt-1"
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
compoundVariants: [],
|
|
1678
|
+
defaultVariants: {
|
|
1679
|
+
size: "md"
|
|
1680
|
+
}
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1611
1683
|
const dropdownMenu = {
|
|
1612
1684
|
slots: {
|
|
1613
1685
|
content: [
|
|
@@ -3255,7 +3327,7 @@ const link = (options) => ({
|
|
|
3255
3327
|
|
|
3256
3328
|
const modal = {
|
|
3257
3329
|
slots: {
|
|
3258
|
-
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
3330
|
+
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-sm",
|
|
3259
3331
|
content: [
|
|
3260
3332
|
"py-md2 px-5",
|
|
3261
3333
|
"fixed bg-white dark:bg-base-950",
|
|
@@ -4096,9 +4168,12 @@ const skeleton = {
|
|
|
4096
4168
|
base: "animate-pulse rounded-md bg-gray-200 dark:bg-gray-800"
|
|
4097
4169
|
};
|
|
4098
4170
|
|
|
4171
|
+
const safeList = [
|
|
4172
|
+
"group-hover:rounded-full group-hover:border-1 group-hover:border-current"
|
|
4173
|
+
].join(" ");
|
|
4099
4174
|
const slideover = {
|
|
4100
4175
|
slots: {
|
|
4101
|
-
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
4176
|
+
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-xs",
|
|
4102
4177
|
content: [
|
|
4103
4178
|
"fixed",
|
|
4104
4179
|
"bg-base-50 dark:bg-base-950",
|
|
@@ -4118,7 +4193,8 @@ const slideover = {
|
|
|
4118
4193
|
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
4194
|
title: "font-b24-system font-light text-4.5xl leading-none text-base-900 dark:text-base-150",
|
|
4120
4195
|
description: "mt-2 mb-1 text-base-500 dark:text-base-400 text-sm",
|
|
4121
|
-
close: "absolute"
|
|
4196
|
+
close: "absolute",
|
|
4197
|
+
safeList
|
|
4122
4198
|
},
|
|
4123
4199
|
variants: {
|
|
4124
4200
|
side: {
|
|
@@ -5177,6 +5253,7 @@ const theme = {
|
|
|
5177
5253
|
chip: chip,
|
|
5178
5254
|
container: container,
|
|
5179
5255
|
countdown: countdown,
|
|
5256
|
+
descriptionList: descriptionList,
|
|
5180
5257
|
dropdownMenu: dropdownMenu,
|
|
5181
5258
|
form: form,
|
|
5182
5259
|
formField: formField,
|
|
@@ -5202,6 +5279,121 @@ const theme = {
|
|
|
5202
5279
|
tooltip: tooltip
|
|
5203
5280
|
};
|
|
5204
5281
|
|
|
5282
|
+
const proseH1 = {
|
|
5283
|
+
slots: {
|
|
5284
|
+
base: [
|
|
5285
|
+
"mb-2",
|
|
5286
|
+
"text-5xl leading-3xs font-light",
|
|
5287
|
+
"text-base-master dark:text-base-150",
|
|
5288
|
+
"scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)"
|
|
5289
|
+
].join(" "),
|
|
5290
|
+
link: "inline-flex items-center gap-2"
|
|
5291
|
+
}
|
|
5292
|
+
};
|
|
5293
|
+
|
|
5294
|
+
const proseH2 = {
|
|
5295
|
+
slots: {
|
|
5296
|
+
base: [
|
|
5297
|
+
"relative mb-2",
|
|
5298
|
+
"text-4xl leading-2xs font-light",
|
|
5299
|
+
"[&>a>code]:text-xl/7 [&>a>code]:font-bold",
|
|
5300
|
+
"text-base-master dark:text-base-150",
|
|
5301
|
+
"scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))]",
|
|
5302
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5303
|
+
"hover:[&>a>code]:text-info-text",
|
|
5304
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors"
|
|
5305
|
+
].join(" "),
|
|
5306
|
+
leading: [
|
|
5307
|
+
"absolute -ms-8 top-1 p-1",
|
|
5308
|
+
"rounded-md hidden lg:flex",
|
|
5309
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5310
|
+
"bg-base-100 dark:bg-base-900",
|
|
5311
|
+
"text-base-500 dark:text-base-600",
|
|
5312
|
+
"hover:text-outline-info-text",
|
|
5313
|
+
"transition"
|
|
5314
|
+
],
|
|
5315
|
+
leadingIcon: "size-4 shrink-0",
|
|
5316
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5317
|
+
}
|
|
5318
|
+
};
|
|
5319
|
+
|
|
5320
|
+
const proseH3 = {
|
|
5321
|
+
slots: {
|
|
5322
|
+
base: [
|
|
5323
|
+
"relative mb-2",
|
|
5324
|
+
"text-3xl leading-2xs font-light",
|
|
5325
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5326
|
+
"text-base-master dark:text-base-150",
|
|
5327
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5328
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5329
|
+
"hover:[&>a>code]:text-info-text",
|
|
5330
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors"
|
|
5331
|
+
].join(" "),
|
|
5332
|
+
leading: [
|
|
5333
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5334
|
+
"rounded-md hidden lg:flex",
|
|
5335
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5336
|
+
"bg-base-100 dark:bg-base-900",
|
|
5337
|
+
"text-base-500 dark:text-base-600",
|
|
5338
|
+
"hover:text-outline-info-text",
|
|
5339
|
+
"transition"
|
|
5340
|
+
],
|
|
5341
|
+
leadingIcon: "size-4 shrink-0",
|
|
5342
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5343
|
+
}
|
|
5344
|
+
};
|
|
5345
|
+
|
|
5346
|
+
const proseLi = {
|
|
5347
|
+
slots: {
|
|
5348
|
+
base: [
|
|
5349
|
+
"my-1.5 ps-1.5",
|
|
5350
|
+
"leading-relaxed",
|
|
5351
|
+
"[&>ul]:my-0 [&>ol]:my-0"
|
|
5352
|
+
].join(" ")
|
|
5353
|
+
}
|
|
5354
|
+
};
|
|
5355
|
+
|
|
5356
|
+
const proseOl = {
|
|
5357
|
+
slots: {
|
|
5358
|
+
base: [
|
|
5359
|
+
"list-decimal",
|
|
5360
|
+
"ps-6 mb-2",
|
|
5361
|
+
"marker:text-base-300 dark:marker:text-base-800"
|
|
5362
|
+
].join(" ")
|
|
5363
|
+
}
|
|
5364
|
+
};
|
|
5365
|
+
|
|
5366
|
+
const proseP = {
|
|
5367
|
+
slots: {
|
|
5368
|
+
base: [
|
|
5369
|
+
"mb-2",
|
|
5370
|
+
"leading-relaxed",
|
|
5371
|
+
"text-pretty"
|
|
5372
|
+
].join(" ")
|
|
5373
|
+
}
|
|
5374
|
+
};
|
|
5375
|
+
|
|
5376
|
+
const proseUl = {
|
|
5377
|
+
slots: {
|
|
5378
|
+
base: [
|
|
5379
|
+
"list-disc",
|
|
5380
|
+
"ps-6 mb-2",
|
|
5381
|
+
"marker:text-base-300 dark:marker:text-base-800"
|
|
5382
|
+
].join(" ")
|
|
5383
|
+
}
|
|
5384
|
+
};
|
|
5385
|
+
|
|
5386
|
+
const themeProse = {
|
|
5387
|
+
__proto__: null,
|
|
5388
|
+
proseH1: proseH1,
|
|
5389
|
+
proseH2: proseH2,
|
|
5390
|
+
proseH3: proseH3,
|
|
5391
|
+
proseLi: proseLi,
|
|
5392
|
+
proseOl: proseOl,
|
|
5393
|
+
proseP: proseP,
|
|
5394
|
+
proseUl: proseUl
|
|
5395
|
+
};
|
|
5396
|
+
|
|
5205
5397
|
const variantTable = "[&>table]";
|
|
5206
5398
|
const variantHeadTr = "[&>table>thead>tr]";
|
|
5207
5399
|
const variantBodyTr = "[&>table>tbody>tr]";
|
|
@@ -5287,86 +5479,9 @@ const tableWrapper = {
|
|
|
5287
5479
|
}
|
|
5288
5480
|
};
|
|
5289
5481
|
|
|
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
5482
|
const themeContent = {
|
|
5368
5483
|
__proto__: null,
|
|
5369
|
-
|
|
5484
|
+
tableWrapper: tableWrapper
|
|
5370
5485
|
};
|
|
5371
5486
|
|
|
5372
5487
|
function replaceBrackets(value) {
|