@bitrix24/b24ui-nuxt 0.4.1 → 0.4.3
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/modal.ts +22 -4
- package/.nuxt/b24ui/prose/a.ts +5 -0
- package/.nuxt/b24ui/prose/blockquote.ts +5 -0
- package/.nuxt/b24ui/prose/code.ts +31 -0
- package/.nuxt/b24ui/prose/em.ts +5 -0
- package/.nuxt/b24ui/prose/h1.ts +6 -0
- package/.nuxt/b24ui/prose/{prose-h2.ts → h2.ts} +1 -1
- package/.nuxt/b24ui/prose/{prose-h3.ts → h3.ts} +1 -1
- 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/ol.ts +5 -0
- package/.nuxt/b24ui/prose/pre.ts +6 -0
- package/.nuxt/b24ui/prose/strong.ts +5 -0
- package/.nuxt/b24ui/prose/ul.ts +5 -0
- package/.nuxt/b24ui/slideover.ts +25 -7
- package/dist/meta.cjs +1543 -220
- package/dist/meta.d.cts +1543 -220
- package/dist/meta.d.mts +1543 -220
- package/dist/meta.d.ts +1543 -220
- package/dist/meta.mjs +1543 -220
- package/dist/module.cjs +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Avatar.vue +2 -1
- package/dist/runtime/components/Button.vue +83 -45
- package/dist/runtime/components/Modal.vue +13 -2
- package/dist/runtime/components/RadioGroup.vue +3 -1
- package/dist/runtime/components/Slideover.vue +10 -2
- package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/prose/A.vue +32 -0
- package/dist/runtime/prose/Blockquote.vue +34 -0
- package/dist/runtime/prose/Code.vue +42 -0
- package/dist/runtime/prose/Em.vue +32 -0
- package/dist/runtime/prose/{ProseH1.vue → H1.vue} +1 -3
- package/dist/runtime/prose/{ProseH2.vue → H2.vue} +1 -3
- package/dist/runtime/prose/{ProseH3.vue → H3.vue} +1 -3
- package/dist/runtime/prose/H4.vue +34 -0
- package/dist/runtime/prose/H5.vue +34 -0
- package/dist/runtime/prose/H6.vue +34 -0
- package/dist/runtime/prose/Hr.vue +28 -0
- package/dist/runtime/prose/{ProseLi.vue → Li.vue} +1 -3
- package/dist/runtime/prose/{ProseOl.vue → Ol.vue} +1 -3
- package/dist/runtime/prose/{ProseP.vue → P.vue} +1 -3
- package/dist/runtime/prose/Pre.vue +44 -0
- package/dist/runtime/prose/Strong.vue +34 -0
- package/dist/runtime/prose/{ProseUl.vue → Ul.vue} +1 -3
- package/dist/runtime/types/index.d.ts +17 -7
- package/dist/runtime/types/index.js +17 -7
- package/dist/runtime/vue/components/Link.vue +2 -2
- package/dist/shared/{b24ui-nuxt.BGGwh89R.mjs → b24ui-nuxt.BRwBcdAH.mjs} +276 -40
- package/dist/shared/{b24ui-nuxt.CnMGpwQb.cjs → b24ui-nuxt.C1tIhR9w.cjs} +276 -40
- package/dist/unplugin.cjs +3 -3
- package/dist/unplugin.mjs +3 -3
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +7 -7
- package/.nuxt/b24ui/prose/prose-h1.ts +0 -6
- package/.nuxt/b24ui/prose/prose-ol.ts +0 -5
- package/.nuxt/b24ui/prose/prose-ul.ts +0 -5
- /package/.nuxt/b24ui/prose/{prose-li.ts → li.ts} +0 -0
- /package/.nuxt/b24ui/prose/{prose-p.ts → p.ts} +0 -0
|
@@ -731,6 +731,7 @@ const button = {
|
|
|
731
731
|
],
|
|
732
732
|
baseLine: [
|
|
733
733
|
"inline-flex items-center"
|
|
734
|
+
// justify-center
|
|
734
735
|
].join(" "),
|
|
735
736
|
label: "truncate",
|
|
736
737
|
leadingIcon: "shrink-0",
|
|
@@ -888,6 +889,14 @@ const button = {
|
|
|
888
889
|
normalCase: {
|
|
889
890
|
true: "font-semibold normal-case",
|
|
890
891
|
false: "font-bold uppercase"
|
|
892
|
+
},
|
|
893
|
+
active: {
|
|
894
|
+
true: {
|
|
895
|
+
base: ""
|
|
896
|
+
},
|
|
897
|
+
false: {
|
|
898
|
+
base: ""
|
|
899
|
+
}
|
|
891
900
|
}
|
|
892
901
|
},
|
|
893
902
|
compoundVariants: [
|
|
@@ -3325,7 +3334,7 @@ const link = (options) => ({
|
|
|
3325
3334
|
|
|
3326
3335
|
const modal = {
|
|
3327
3336
|
slots: {
|
|
3328
|
-
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30
|
|
3337
|
+
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
3329
3338
|
content: [
|
|
3330
3339
|
"py-md2 px-5",
|
|
3331
3340
|
"fixed bg-white dark:bg-base-950",
|
|
@@ -3340,10 +3349,21 @@ const modal = {
|
|
|
3340
3349
|
close: "absolute top-2 end-1.5 p-0.5"
|
|
3341
3350
|
},
|
|
3342
3351
|
variants: {
|
|
3352
|
+
overlayBlur: {
|
|
3353
|
+
auto: {
|
|
3354
|
+
overlay: "motion-safe:backdrop-blur-sm"
|
|
3355
|
+
},
|
|
3356
|
+
on: {
|
|
3357
|
+
overlay: "backdrop-blur-sm"
|
|
3358
|
+
},
|
|
3359
|
+
off: {
|
|
3360
|
+
overlay: ""
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3343
3363
|
transition: {
|
|
3344
3364
|
true: {
|
|
3345
|
-
overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
|
|
3346
|
-
content: "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
|
|
3365
|
+
overlay: "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]",
|
|
3366
|
+
content: "motion-safe:data-[state=open]:animate-[scale-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_200ms_ease-in]"
|
|
3347
3367
|
}
|
|
3348
3368
|
},
|
|
3349
3369
|
fullscreen: {
|
|
@@ -3366,7 +3386,8 @@ const modal = {
|
|
|
3366
3386
|
}
|
|
3367
3387
|
},
|
|
3368
3388
|
defaultVariants: {
|
|
3369
|
-
scrollbarThin: true
|
|
3389
|
+
scrollbarThin: true,
|
|
3390
|
+
overlayBlur: "auto"
|
|
3370
3391
|
}
|
|
3371
3392
|
};
|
|
3372
3393
|
|
|
@@ -4171,7 +4192,7 @@ const safeList = [
|
|
|
4171
4192
|
].join(" ");
|
|
4172
4193
|
const slideover = {
|
|
4173
4194
|
slots: {
|
|
4174
|
-
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30
|
|
4195
|
+
overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
4175
4196
|
content: [
|
|
4176
4197
|
"fixed",
|
|
4177
4198
|
"bg-base-50 dark:bg-base-950",
|
|
@@ -4195,6 +4216,17 @@ const slideover = {
|
|
|
4195
4216
|
safeList
|
|
4196
4217
|
},
|
|
4197
4218
|
variants: {
|
|
4219
|
+
overlayBlur: {
|
|
4220
|
+
auto: {
|
|
4221
|
+
overlay: "motion-safe:backdrop-blur-sm"
|
|
4222
|
+
},
|
|
4223
|
+
on: {
|
|
4224
|
+
overlay: "backdrop-blur-sm"
|
|
4225
|
+
},
|
|
4226
|
+
off: {
|
|
4227
|
+
overlay: ""
|
|
4228
|
+
}
|
|
4229
|
+
},
|
|
4198
4230
|
side: {
|
|
4199
4231
|
top: {
|
|
4200
4232
|
content: "inset-x-0 top-0 max-h-full"
|
|
@@ -4211,7 +4243,7 @@ const slideover = {
|
|
|
4211
4243
|
},
|
|
4212
4244
|
transition: {
|
|
4213
4245
|
true: {
|
|
4214
|
-
overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"
|
|
4246
|
+
overlay: "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]"
|
|
4215
4247
|
}
|
|
4216
4248
|
},
|
|
4217
4249
|
scrollbarThin: {
|
|
@@ -4257,34 +4289,35 @@ const slideover = {
|
|
|
4257
4289
|
transition: true,
|
|
4258
4290
|
side: "top",
|
|
4259
4291
|
class: {
|
|
4260
|
-
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]"
|
|
4292
|
+
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]"
|
|
4261
4293
|
}
|
|
4262
4294
|
},
|
|
4263
4295
|
{
|
|
4264
4296
|
transition: true,
|
|
4265
4297
|
side: "right",
|
|
4266
4298
|
class: {
|
|
4267
|
-
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]"
|
|
4299
|
+
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]"
|
|
4268
4300
|
}
|
|
4269
4301
|
},
|
|
4270
4302
|
{
|
|
4271
4303
|
transition: true,
|
|
4272
4304
|
side: "bottom",
|
|
4273
4305
|
class: {
|
|
4274
|
-
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]"
|
|
4306
|
+
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]"
|
|
4275
4307
|
}
|
|
4276
4308
|
},
|
|
4277
4309
|
{
|
|
4278
4310
|
transition: true,
|
|
4279
4311
|
side: "left",
|
|
4280
4312
|
class: {
|
|
4281
|
-
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]"
|
|
4313
|
+
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]"
|
|
4282
4314
|
}
|
|
4283
4315
|
}
|
|
4284
4316
|
],
|
|
4285
4317
|
defaultVariants: {
|
|
4286
4318
|
side: "right",
|
|
4287
|
-
scrollbarThin: true
|
|
4319
|
+
scrollbarThin: true,
|
|
4320
|
+
overlayBlur: "auto"
|
|
4288
4321
|
}
|
|
4289
4322
|
};
|
|
4290
4323
|
|
|
@@ -5277,29 +5310,29 @@ const theme = {
|
|
|
5277
5310
|
tooltip: tooltip
|
|
5278
5311
|
};
|
|
5279
5312
|
|
|
5280
|
-
const
|
|
5313
|
+
const h1 = {
|
|
5281
5314
|
slots: {
|
|
5282
5315
|
base: [
|
|
5283
5316
|
"mb-2",
|
|
5284
|
-
"text-5xl leading-3xs font-light",
|
|
5285
5317
|
"text-base-master dark:text-base-150",
|
|
5286
|
-
"scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)"
|
|
5318
|
+
"scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)",
|
|
5319
|
+
"text-h1"
|
|
5287
5320
|
].join(" "),
|
|
5288
5321
|
link: "inline-flex items-center gap-2"
|
|
5289
5322
|
}
|
|
5290
5323
|
};
|
|
5291
5324
|
|
|
5292
|
-
const
|
|
5325
|
+
const h2 = {
|
|
5293
5326
|
slots: {
|
|
5294
5327
|
base: [
|
|
5295
5328
|
"relative mb-2",
|
|
5296
|
-
"text-4xl leading-2xs font-light",
|
|
5297
5329
|
"[&>a>code]:text-xl/7 [&>a>code]:font-bold",
|
|
5298
5330
|
"text-base-master dark:text-base-150",
|
|
5299
5331
|
"scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))]",
|
|
5300
5332
|
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5301
5333
|
"hover:[&>a>code]:text-info-text",
|
|
5302
|
-
"[&>a>code]:border-dashed [&>a>code]:transition-colors"
|
|
5334
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5335
|
+
"text-h2"
|
|
5303
5336
|
].join(" "),
|
|
5304
5337
|
leading: [
|
|
5305
5338
|
"absolute -ms-8 top-1 p-1",
|
|
@@ -5315,17 +5348,17 @@ const proseH2 = {
|
|
|
5315
5348
|
}
|
|
5316
5349
|
};
|
|
5317
5350
|
|
|
5318
|
-
const
|
|
5351
|
+
const h3 = {
|
|
5319
5352
|
slots: {
|
|
5320
5353
|
base: [
|
|
5321
5354
|
"relative mb-2",
|
|
5322
|
-
"text-3xl leading-2xs font-light",
|
|
5323
5355
|
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5324
5356
|
"text-base-master dark:text-base-150",
|
|
5325
5357
|
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5326
5358
|
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5327
5359
|
"hover:[&>a>code]:text-info-text",
|
|
5328
|
-
"[&>a>code]:border-dashed [&>a>code]:transition-colors"
|
|
5360
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5361
|
+
"text-h3"
|
|
5329
5362
|
].join(" "),
|
|
5330
5363
|
leading: [
|
|
5331
5364
|
"absolute -ms-8 top-0.5 p-1",
|
|
@@ -5341,55 +5374,258 @@ const proseH3 = {
|
|
|
5341
5374
|
}
|
|
5342
5375
|
};
|
|
5343
5376
|
|
|
5344
|
-
const
|
|
5377
|
+
const h4 = {
|
|
5345
5378
|
slots: {
|
|
5346
5379
|
base: [
|
|
5347
|
-
"
|
|
5380
|
+
"relative mb-2",
|
|
5381
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5382
|
+
"text-base-master dark:text-base-150",
|
|
5383
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5384
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5385
|
+
"hover:[&>a>code]:text-info-text",
|
|
5386
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5387
|
+
"text-h4"
|
|
5388
|
+
].join(" "),
|
|
5389
|
+
leading: [
|
|
5390
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5391
|
+
"rounded-md hidden lg:flex",
|
|
5392
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5393
|
+
"bg-base-100 dark:bg-base-900",
|
|
5394
|
+
"text-base-500 dark:text-base-600",
|
|
5395
|
+
"hover:text-outline-info-text",
|
|
5396
|
+
"transition"
|
|
5397
|
+
],
|
|
5398
|
+
leadingIcon: "size-4 shrink-0",
|
|
5399
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5400
|
+
}
|
|
5401
|
+
};
|
|
5402
|
+
|
|
5403
|
+
const h5 = {
|
|
5404
|
+
slots: {
|
|
5405
|
+
base: [
|
|
5406
|
+
"relative mb-2",
|
|
5407
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5408
|
+
"text-base-master dark:text-base-150",
|
|
5409
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5410
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5411
|
+
"hover:[&>a>code]:text-info-text",
|
|
5412
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5413
|
+
"text-h5"
|
|
5414
|
+
].join(" "),
|
|
5415
|
+
leading: [
|
|
5416
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5417
|
+
"rounded-md hidden lg:flex",
|
|
5418
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5419
|
+
"bg-base-100 dark:bg-base-900",
|
|
5420
|
+
"text-base-500 dark:text-base-600",
|
|
5421
|
+
"hover:text-outline-info-text",
|
|
5422
|
+
"transition"
|
|
5423
|
+
],
|
|
5424
|
+
leadingIcon: "size-4 shrink-0",
|
|
5425
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5426
|
+
}
|
|
5427
|
+
};
|
|
5428
|
+
|
|
5429
|
+
const h6 = {
|
|
5430
|
+
slots: {
|
|
5431
|
+
base: [
|
|
5432
|
+
"relative mb-2",
|
|
5433
|
+
"[&>a>code]:text-lg/7 [&>a>code]:font-bold",
|
|
5434
|
+
"text-base-master dark:text-base-150",
|
|
5435
|
+
"scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
|
|
5436
|
+
"[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
|
|
5437
|
+
"hover:[&>a>code]:text-info-text",
|
|
5438
|
+
"[&>a>code]:border-dashed [&>a>code]:transition-colors",
|
|
5439
|
+
"text-h6"
|
|
5440
|
+
].join(" "),
|
|
5441
|
+
leading: [
|
|
5442
|
+
"absolute -ms-8 top-0.5 p-1",
|
|
5443
|
+
"rounded-md hidden lg:flex",
|
|
5444
|
+
"opacity-0 group-hover:opacity-100 group-focus:opacity-100",
|
|
5445
|
+
"bg-base-100 dark:bg-base-900",
|
|
5446
|
+
"text-base-500 dark:text-base-600",
|
|
5447
|
+
"hover:text-outline-info-text",
|
|
5448
|
+
"transition"
|
|
5449
|
+
],
|
|
5450
|
+
leadingIcon: "size-4 shrink-0",
|
|
5451
|
+
link: "group lg:ps-2 lg:-ms-2"
|
|
5452
|
+
}
|
|
5453
|
+
};
|
|
5454
|
+
|
|
5455
|
+
const p = {
|
|
5456
|
+
slots: {
|
|
5457
|
+
base: [
|
|
5458
|
+
"mb-2",
|
|
5348
5459
|
"leading-relaxed",
|
|
5349
|
-
"
|
|
5460
|
+
"text-pretty"
|
|
5461
|
+
].join(" ")
|
|
5462
|
+
}
|
|
5463
|
+
};
|
|
5464
|
+
|
|
5465
|
+
const a = {
|
|
5466
|
+
slots: {
|
|
5467
|
+
base: [
|
|
5468
|
+
"cursor-pointer",
|
|
5469
|
+
"text-blue-700 dark:text-blue-300",
|
|
5470
|
+
"hover:underline underline-offset-2",
|
|
5471
|
+
"focus-visible:outline-info-text",
|
|
5472
|
+
"transition-colors [&>code]:transition-colors",
|
|
5473
|
+
"[&>code]:ring-dashed",
|
|
5474
|
+
"hover:[&>code]:text-blue-700 hover:[&>code]:bg-blue-250 hover:[&>code]:ring-blue-250",
|
|
5475
|
+
"dark:hover:[&>code]:text-blue-700 dark:hover:[&>code]:bg-blue-250 dark:hover:[&>code]:ring-blue-250"
|
|
5350
5476
|
].join(" ")
|
|
5351
5477
|
}
|
|
5352
5478
|
};
|
|
5353
5479
|
|
|
5354
|
-
const
|
|
5480
|
+
const blockquote = {
|
|
5481
|
+
slots: {
|
|
5482
|
+
base: "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
|
|
5483
|
+
}
|
|
5484
|
+
};
|
|
5485
|
+
|
|
5486
|
+
const strong = {
|
|
5487
|
+
slots: {
|
|
5488
|
+
base: ""
|
|
5489
|
+
}
|
|
5490
|
+
};
|
|
5491
|
+
|
|
5492
|
+
const em = {
|
|
5493
|
+
slots: {
|
|
5494
|
+
base: ""
|
|
5495
|
+
}
|
|
5496
|
+
};
|
|
5497
|
+
|
|
5498
|
+
const ol = {
|
|
5355
5499
|
slots: {
|
|
5356
5500
|
base: [
|
|
5357
5501
|
"list-decimal",
|
|
5358
|
-
"ps-
|
|
5359
|
-
"marker:text-base-
|
|
5502
|
+
"ps-2 mb-2 ms-3",
|
|
5503
|
+
"marker:text-base-master dark:marker:text-base-150"
|
|
5360
5504
|
].join(" ")
|
|
5361
5505
|
}
|
|
5362
5506
|
};
|
|
5363
5507
|
|
|
5364
|
-
const
|
|
5508
|
+
const ul = {
|
|
5365
5509
|
slots: {
|
|
5366
5510
|
base: [
|
|
5367
|
-
"
|
|
5511
|
+
"list-disc",
|
|
5512
|
+
"ps-2 mb-2 ms-3",
|
|
5513
|
+
"marker:text-base-master dark:marker:text-base-150"
|
|
5514
|
+
].join(" ")
|
|
5515
|
+
}
|
|
5516
|
+
};
|
|
5517
|
+
|
|
5518
|
+
const li = {
|
|
5519
|
+
slots: {
|
|
5520
|
+
base: [
|
|
5521
|
+
"my-1.5 ps-1.5",
|
|
5368
5522
|
"leading-relaxed",
|
|
5369
|
-
"
|
|
5523
|
+
"[&>ul]:my-0 [&>ol]:my-0"
|
|
5370
5524
|
].join(" ")
|
|
5371
5525
|
}
|
|
5372
5526
|
};
|
|
5373
5527
|
|
|
5374
|
-
const
|
|
5528
|
+
const hr = {
|
|
5375
5529
|
slots: {
|
|
5376
5530
|
base: [
|
|
5377
|
-
"
|
|
5378
|
-
"
|
|
5379
|
-
|
|
5531
|
+
"my-4",
|
|
5532
|
+
"border-t border-base-master/10 dark:border-base-100/20"
|
|
5533
|
+
].join(" ")
|
|
5534
|
+
}
|
|
5535
|
+
};
|
|
5536
|
+
|
|
5537
|
+
const code = {
|
|
5538
|
+
slots: {
|
|
5539
|
+
base: [
|
|
5540
|
+
"px-1.5 py-0.5",
|
|
5541
|
+
"font-b24-system-mono font-medium text-sm leading-normal",
|
|
5542
|
+
"rounded-md",
|
|
5543
|
+
"inline-block"
|
|
5544
|
+
].join(" ")
|
|
5545
|
+
},
|
|
5546
|
+
variants: {
|
|
5547
|
+
color: {
|
|
5548
|
+
default: [
|
|
5549
|
+
"ring ring-inset",
|
|
5550
|
+
"text-base-800 bg-base-150 ring-base-300",
|
|
5551
|
+
"dark:text-base-950 dark:bg-base-200 dark:ring-base-800"
|
|
5552
|
+
].join(" "),
|
|
5553
|
+
danger: [
|
|
5554
|
+
"ring ring-inset",
|
|
5555
|
+
"text-red-800 bg-red-250 ring-red-250",
|
|
5556
|
+
"dark:text-red-800 dark:bg-red-350 dark:ring-red-350"
|
|
5557
|
+
].join(" "),
|
|
5558
|
+
success: [
|
|
5559
|
+
"ring ring-inset",
|
|
5560
|
+
"text-green-800 bg-green-300 ring-green-300",
|
|
5561
|
+
"dark:text-green-800 dark:bg-green-330 dark:ring-green-330"
|
|
5562
|
+
].join(" "),
|
|
5563
|
+
warning: [
|
|
5564
|
+
"ring ring-inset",
|
|
5565
|
+
"text-orange-800 bg-orange-300 ring-orange-300",
|
|
5566
|
+
"dark:text-orange-800 dark:bg-orange-400 dark:ring-orange-400"
|
|
5567
|
+
].join(" "),
|
|
5568
|
+
primary: [
|
|
5569
|
+
"ring ring-inset",
|
|
5570
|
+
"text-blue-700 bg-blue-250 ring-blue-250",
|
|
5571
|
+
"dark:text-blue-700 dark:bg-blue-300 dark:ring-blue-300"
|
|
5572
|
+
].join(" "),
|
|
5573
|
+
secondary: [
|
|
5574
|
+
"ring ring-inset",
|
|
5575
|
+
"text-white bg-cyan-350 ring-cyan-350",
|
|
5576
|
+
"dark:text-cyan-100 dark:bg-cyan-400 dark:ring-cyan-400"
|
|
5577
|
+
].join(" "),
|
|
5578
|
+
collab: [
|
|
5579
|
+
"ring ring-inset",
|
|
5580
|
+
"text-collab-800 bg-collab-300 ring-collab-300",
|
|
5581
|
+
"dark:text-collab-800 dark:bg-collab-300 dark:ring-collab-300"
|
|
5582
|
+
].join(" "),
|
|
5583
|
+
ai: [
|
|
5584
|
+
"ring ring-inset",
|
|
5585
|
+
"text-ai-500 bg-ai-150 ring-ai-150",
|
|
5586
|
+
"dark:text-ai-600 dark:bg-ai-200 dark:ring-ai-200"
|
|
5587
|
+
].join(" ")
|
|
5588
|
+
}
|
|
5589
|
+
},
|
|
5590
|
+
defaultVariants: {
|
|
5591
|
+
color: "default"
|
|
5592
|
+
}
|
|
5593
|
+
};
|
|
5594
|
+
|
|
5595
|
+
const pre = {
|
|
5596
|
+
slots: {
|
|
5597
|
+
root: [
|
|
5598
|
+
"my-4 p-4",
|
|
5599
|
+
"font-b24-system-mono font-semibold text-sm leading-4",
|
|
5600
|
+
"bg-black",
|
|
5601
|
+
"overflow-auto rounded w-full",
|
|
5602
|
+
"text-pretty"
|
|
5603
|
+
].join(" "),
|
|
5604
|
+
base: [
|
|
5605
|
+
"text-green-350"
|
|
5380
5606
|
].join(" ")
|
|
5381
5607
|
}
|
|
5382
5608
|
};
|
|
5383
5609
|
|
|
5384
5610
|
const themeProse = {
|
|
5385
5611
|
__proto__: null,
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5612
|
+
a: a,
|
|
5613
|
+
blockquote: blockquote,
|
|
5614
|
+
code: code,
|
|
5615
|
+
em: em,
|
|
5616
|
+
h1: h1,
|
|
5617
|
+
h2: h2,
|
|
5618
|
+
h3: h3,
|
|
5619
|
+
h4: h4,
|
|
5620
|
+
h5: h5,
|
|
5621
|
+
h6: h6,
|
|
5622
|
+
hr: hr,
|
|
5623
|
+
li: li,
|
|
5624
|
+
ol: ol,
|
|
5625
|
+
p: p,
|
|
5626
|
+
pre: pre,
|
|
5627
|
+
strong: strong,
|
|
5628
|
+
ul: ul
|
|
5393
5629
|
};
|
|
5394
5630
|
|
|
5395
5631
|
const variantTable = "[&>table]";
|