@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.
Files changed (64) hide show
  1. package/.nuxt/b24ui/button.ts +8 -0
  2. package/.nuxt/b24ui/modal.ts +22 -4
  3. package/.nuxt/b24ui/prose/a.ts +5 -0
  4. package/.nuxt/b24ui/prose/blockquote.ts +5 -0
  5. package/.nuxt/b24ui/prose/code.ts +31 -0
  6. package/.nuxt/b24ui/prose/em.ts +5 -0
  7. package/.nuxt/b24ui/prose/h1.ts +6 -0
  8. package/.nuxt/b24ui/prose/{prose-h2.ts → h2.ts} +1 -1
  9. package/.nuxt/b24ui/prose/{prose-h3.ts → h3.ts} +1 -1
  10. package/.nuxt/b24ui/prose/h4.ts +16 -0
  11. package/.nuxt/b24ui/prose/h5.ts +16 -0
  12. package/.nuxt/b24ui/prose/h6.ts +16 -0
  13. package/.nuxt/b24ui/prose/hr.ts +5 -0
  14. package/.nuxt/b24ui/prose/ol.ts +5 -0
  15. package/.nuxt/b24ui/prose/pre.ts +6 -0
  16. package/.nuxt/b24ui/prose/strong.ts +5 -0
  17. package/.nuxt/b24ui/prose/ul.ts +5 -0
  18. package/.nuxt/b24ui/slideover.ts +25 -7
  19. package/dist/meta.cjs +1543 -220
  20. package/dist/meta.d.cts +1543 -220
  21. package/dist/meta.d.mts +1543 -220
  22. package/dist/meta.d.ts +1543 -220
  23. package/dist/meta.mjs +1543 -220
  24. package/dist/module.cjs +2 -2
  25. package/dist/module.json +1 -1
  26. package/dist/module.mjs +2 -2
  27. package/dist/runtime/components/Avatar.vue +2 -1
  28. package/dist/runtime/components/Button.vue +83 -45
  29. package/dist/runtime/components/Modal.vue +13 -2
  30. package/dist/runtime/components/RadioGroup.vue +3 -1
  31. package/dist/runtime/components/Slideover.vue +10 -2
  32. package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
  33. package/dist/runtime/prose/A.vue +32 -0
  34. package/dist/runtime/prose/Blockquote.vue +34 -0
  35. package/dist/runtime/prose/Code.vue +42 -0
  36. package/dist/runtime/prose/Em.vue +32 -0
  37. package/dist/runtime/prose/{ProseH1.vue → H1.vue} +1 -3
  38. package/dist/runtime/prose/{ProseH2.vue → H2.vue} +1 -3
  39. package/dist/runtime/prose/{ProseH3.vue → H3.vue} +1 -3
  40. package/dist/runtime/prose/H4.vue +34 -0
  41. package/dist/runtime/prose/H5.vue +34 -0
  42. package/dist/runtime/prose/H6.vue +34 -0
  43. package/dist/runtime/prose/Hr.vue +28 -0
  44. package/dist/runtime/prose/{ProseLi.vue → Li.vue} +1 -3
  45. package/dist/runtime/prose/{ProseOl.vue → Ol.vue} +1 -3
  46. package/dist/runtime/prose/{ProseP.vue → P.vue} +1 -3
  47. package/dist/runtime/prose/Pre.vue +44 -0
  48. package/dist/runtime/prose/Strong.vue +34 -0
  49. package/dist/runtime/prose/{ProseUl.vue → Ul.vue} +1 -3
  50. package/dist/runtime/types/index.d.ts +17 -7
  51. package/dist/runtime/types/index.js +17 -7
  52. package/dist/runtime/vue/components/Link.vue +2 -2
  53. package/dist/shared/{b24ui-nuxt.BGGwh89R.mjs → b24ui-nuxt.BRwBcdAH.mjs} +276 -40
  54. package/dist/shared/{b24ui-nuxt.CnMGpwQb.cjs → b24ui-nuxt.C1tIhR9w.cjs} +276 -40
  55. package/dist/unplugin.cjs +3 -3
  56. package/dist/unplugin.mjs +3 -3
  57. package/dist/vite.cjs +1 -1
  58. package/dist/vite.mjs +1 -1
  59. package/package.json +7 -7
  60. package/.nuxt/b24ui/prose/prose-h1.ts +0 -6
  61. package/.nuxt/b24ui/prose/prose-ol.ts +0 -5
  62. package/.nuxt/b24ui/prose/prose-ul.ts +0 -5
  63. /package/.nuxt/b24ui/prose/{prose-li.ts → li.ts} +0 -0
  64. /package/.nuxt/b24ui/prose/{prose-p.ts → p.ts} +0 -0
@@ -733,6 +733,7 @@ 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",
@@ -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: [
@@ -3327,7 +3336,7 @@ const link = (options) => ({
3327
3336
 
3328
3337
  const modal = {
3329
3338
  slots: {
3330
- overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-sm",
3339
+ overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
3331
3340
  content: [
3332
3341
  "py-md2 px-5",
3333
3342
  "fixed bg-white dark:bg-base-950",
@@ -3342,10 +3351,21 @@ const modal = {
3342
3351
  close: "absolute top-2 end-1.5 p-0.5"
3343
3352
  },
3344
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
+ },
3345
3365
  transition: {
3346
3366
  true: {
3347
- overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
3348
- 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]"
3349
3369
  }
3350
3370
  },
3351
3371
  fullscreen: {
@@ -3368,7 +3388,8 @@ const modal = {
3368
3388
  }
3369
3389
  },
3370
3390
  defaultVariants: {
3371
- scrollbarThin: true
3391
+ scrollbarThin: true,
3392
+ overlayBlur: "auto"
3372
3393
  }
3373
3394
  };
3374
3395
 
@@ -4173,7 +4194,7 @@ const safeList = [
4173
4194
  ].join(" ");
4174
4195
  const slideover = {
4175
4196
  slots: {
4176
- overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-xs",
4197
+ overlay: "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
4177
4198
  content: [
4178
4199
  "fixed",
4179
4200
  "bg-base-50 dark:bg-base-950",
@@ -4197,6 +4218,17 @@ const slideover = {
4197
4218
  safeList
4198
4219
  },
4199
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
+ },
4200
4232
  side: {
4201
4233
  top: {
4202
4234
  content: "inset-x-0 top-0 max-h-full"
@@ -4213,7 +4245,7 @@ const slideover = {
4213
4245
  },
4214
4246
  transition: {
4215
4247
  true: {
4216
- 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]"
4217
4249
  }
4218
4250
  },
4219
4251
  scrollbarThin: {
@@ -4259,34 +4291,35 @@ const slideover = {
4259
4291
  transition: true,
4260
4292
  side: "top",
4261
4293
  class: {
4262
- 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]"
4263
4295
  }
4264
4296
  },
4265
4297
  {
4266
4298
  transition: true,
4267
4299
  side: "right",
4268
4300
  class: {
4269
- 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]"
4270
4302
  }
4271
4303
  },
4272
4304
  {
4273
4305
  transition: true,
4274
4306
  side: "bottom",
4275
4307
  class: {
4276
- 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]"
4277
4309
  }
4278
4310
  },
4279
4311
  {
4280
4312
  transition: true,
4281
4313
  side: "left",
4282
4314
  class: {
4283
- 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]"
4284
4316
  }
4285
4317
  }
4286
4318
  ],
4287
4319
  defaultVariants: {
4288
4320
  side: "right",
4289
- scrollbarThin: true
4321
+ scrollbarThin: true,
4322
+ overlayBlur: "auto"
4290
4323
  }
4291
4324
  };
4292
4325
 
@@ -5279,29 +5312,29 @@ const theme = {
5279
5312
  tooltip: tooltip
5280
5313
  };
5281
5314
 
5282
- const proseH1 = {
5315
+ const h1 = {
5283
5316
  slots: {
5284
5317
  base: [
5285
5318
  "mb-2",
5286
- "text-5xl leading-3xs font-light",
5287
5319
  "text-base-master dark:text-base-150",
5288
- "scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)"
5320
+ "scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)",
5321
+ "text-h1"
5289
5322
  ].join(" "),
5290
5323
  link: "inline-flex items-center gap-2"
5291
5324
  }
5292
5325
  };
5293
5326
 
5294
- const proseH2 = {
5327
+ const h2 = {
5295
5328
  slots: {
5296
5329
  base: [
5297
5330
  "relative mb-2",
5298
- "text-4xl leading-2xs font-light",
5299
5331
  "[&>a>code]:text-xl/7 [&>a>code]:font-bold",
5300
5332
  "text-base-master dark:text-base-150",
5301
5333
  "scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))]",
5302
5334
  "[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
5303
5335
  "hover:[&>a>code]:text-info-text",
5304
- "[&>a>code]:border-dashed [&>a>code]:transition-colors"
5336
+ "[&>a>code]:border-dashed [&>a>code]:transition-colors",
5337
+ "text-h2"
5305
5338
  ].join(" "),
5306
5339
  leading: [
5307
5340
  "absolute -ms-8 top-1 p-1",
@@ -5317,17 +5350,17 @@ const proseH2 = {
5317
5350
  }
5318
5351
  };
5319
5352
 
5320
- const proseH3 = {
5353
+ const h3 = {
5321
5354
  slots: {
5322
5355
  base: [
5323
5356
  "relative mb-2",
5324
- "text-3xl leading-2xs font-light",
5325
5357
  "[&>a>code]:text-lg/7 [&>a>code]:font-bold",
5326
5358
  "text-base-master dark:text-base-150",
5327
5359
  "scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))]",
5328
5360
  "[&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text",
5329
5361
  "hover:[&>a>code]:text-info-text",
5330
- "[&>a>code]:border-dashed [&>a>code]:transition-colors"
5362
+ "[&>a>code]:border-dashed [&>a>code]:transition-colors",
5363
+ "text-h3"
5331
5364
  ].join(" "),
5332
5365
  leading: [
5333
5366
  "absolute -ms-8 top-0.5 p-1",
@@ -5343,55 +5376,258 @@ const proseH3 = {
5343
5376
  }
5344
5377
  };
5345
5378
 
5346
- const proseLi = {
5379
+ const h4 = {
5347
5380
  slots: {
5348
5381
  base: [
5349
- "my-1.5 ps-1.5",
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",
5350
5461
  "leading-relaxed",
5351
- "[&>ul]:my-0 [&>ol]:my-0"
5462
+ "text-pretty"
5463
+ ].join(" ")
5464
+ }
5465
+ };
5466
+
5467
+ const a = {
5468
+ slots: {
5469
+ base: [
5470
+ "cursor-pointer",
5471
+ "text-blue-700 dark:text-blue-300",
5472
+ "hover:underline underline-offset-2",
5473
+ "focus-visible:outline-info-text",
5474
+ "transition-colors [&>code]:transition-colors",
5475
+ "[&>code]:ring-dashed",
5476
+ "hover:[&>code]:text-blue-700 hover:[&>code]:bg-blue-250 hover:[&>code]:ring-blue-250",
5477
+ "dark:hover:[&>code]:text-blue-700 dark:hover:[&>code]:bg-blue-250 dark:hover:[&>code]:ring-blue-250"
5352
5478
  ].join(" ")
5353
5479
  }
5354
5480
  };
5355
5481
 
5356
- const proseOl = {
5482
+ const blockquote = {
5483
+ slots: {
5484
+ base: "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
5485
+ }
5486
+ };
5487
+
5488
+ const strong = {
5489
+ slots: {
5490
+ base: ""
5491
+ }
5492
+ };
5493
+
5494
+ const em = {
5495
+ slots: {
5496
+ base: ""
5497
+ }
5498
+ };
5499
+
5500
+ const ol = {
5357
5501
  slots: {
5358
5502
  base: [
5359
5503
  "list-decimal",
5360
- "ps-6 mb-2",
5361
- "marker:text-base-300 dark:marker:text-base-800"
5504
+ "ps-2 mb-2 ms-3",
5505
+ "marker:text-base-master dark:marker:text-base-150"
5362
5506
  ].join(" ")
5363
5507
  }
5364
5508
  };
5365
5509
 
5366
- const proseP = {
5510
+ const ul = {
5367
5511
  slots: {
5368
5512
  base: [
5369
- "mb-2",
5513
+ "list-disc",
5514
+ "ps-2 mb-2 ms-3",
5515
+ "marker:text-base-master dark:marker:text-base-150"
5516
+ ].join(" ")
5517
+ }
5518
+ };
5519
+
5520
+ const li = {
5521
+ slots: {
5522
+ base: [
5523
+ "my-1.5 ps-1.5",
5370
5524
  "leading-relaxed",
5371
- "text-pretty"
5525
+ "[&>ul]:my-0 [&>ol]:my-0"
5372
5526
  ].join(" ")
5373
5527
  }
5374
5528
  };
5375
5529
 
5376
- const proseUl = {
5530
+ const hr = {
5377
5531
  slots: {
5378
5532
  base: [
5379
- "list-disc",
5380
- "ps-6 mb-2",
5381
- "marker:text-base-300 dark:marker:text-base-800"
5533
+ "my-4",
5534
+ "border-t border-base-master/10 dark:border-base-100/20"
5535
+ ].join(" ")
5536
+ }
5537
+ };
5538
+
5539
+ const code = {
5540
+ slots: {
5541
+ base: [
5542
+ "px-1.5 py-0.5",
5543
+ "font-b24-system-mono font-medium text-sm leading-normal",
5544
+ "rounded-md",
5545
+ "inline-block"
5546
+ ].join(" ")
5547
+ },
5548
+ variants: {
5549
+ color: {
5550
+ default: [
5551
+ "ring ring-inset",
5552
+ "text-base-800 bg-base-150 ring-base-300",
5553
+ "dark:text-base-950 dark:bg-base-200 dark:ring-base-800"
5554
+ ].join(" "),
5555
+ danger: [
5556
+ "ring ring-inset",
5557
+ "text-red-800 bg-red-250 ring-red-250",
5558
+ "dark:text-red-800 dark:bg-red-350 dark:ring-red-350"
5559
+ ].join(" "),
5560
+ success: [
5561
+ "ring ring-inset",
5562
+ "text-green-800 bg-green-300 ring-green-300",
5563
+ "dark:text-green-800 dark:bg-green-330 dark:ring-green-330"
5564
+ ].join(" "),
5565
+ warning: [
5566
+ "ring ring-inset",
5567
+ "text-orange-800 bg-orange-300 ring-orange-300",
5568
+ "dark:text-orange-800 dark:bg-orange-400 dark:ring-orange-400"
5569
+ ].join(" "),
5570
+ primary: [
5571
+ "ring ring-inset",
5572
+ "text-blue-700 bg-blue-250 ring-blue-250",
5573
+ "dark:text-blue-700 dark:bg-blue-300 dark:ring-blue-300"
5574
+ ].join(" "),
5575
+ secondary: [
5576
+ "ring ring-inset",
5577
+ "text-white bg-cyan-350 ring-cyan-350",
5578
+ "dark:text-cyan-100 dark:bg-cyan-400 dark:ring-cyan-400"
5579
+ ].join(" "),
5580
+ collab: [
5581
+ "ring ring-inset",
5582
+ "text-collab-800 bg-collab-300 ring-collab-300",
5583
+ "dark:text-collab-800 dark:bg-collab-300 dark:ring-collab-300"
5584
+ ].join(" "),
5585
+ ai: [
5586
+ "ring ring-inset",
5587
+ "text-ai-500 bg-ai-150 ring-ai-150",
5588
+ "dark:text-ai-600 dark:bg-ai-200 dark:ring-ai-200"
5589
+ ].join(" ")
5590
+ }
5591
+ },
5592
+ defaultVariants: {
5593
+ color: "default"
5594
+ }
5595
+ };
5596
+
5597
+ const pre = {
5598
+ slots: {
5599
+ root: [
5600
+ "my-4 p-4",
5601
+ "font-b24-system-mono font-semibold text-sm leading-4",
5602
+ "bg-black",
5603
+ "overflow-auto rounded w-full",
5604
+ "text-pretty"
5605
+ ].join(" "),
5606
+ base: [
5607
+ "text-green-350"
5382
5608
  ].join(" ")
5383
5609
  }
5384
5610
  };
5385
5611
 
5386
5612
  const themeProse = {
5387
5613
  __proto__: null,
5388
- proseH1: proseH1,
5389
- proseH2: proseH2,
5390
- proseH3: proseH3,
5391
- proseLi: proseLi,
5392
- proseOl: proseOl,
5393
- proseP: proseP,
5394
- proseUl: proseUl
5614
+ a: a,
5615
+ blockquote: blockquote,
5616
+ code: code,
5617
+ em: em,
5618
+ h1: h1,
5619
+ h2: h2,
5620
+ h3: h3,
5621
+ h4: h4,
5622
+ h5: h5,
5623
+ h6: h6,
5624
+ hr: hr,
5625
+ li: li,
5626
+ ol: ol,
5627
+ p: p,
5628
+ pre: pre,
5629
+ strong: strong,
5630
+ ul: ul
5395
5631
  };
5396
5632
 
5397
5633
  const variantTable = "[&>table]";
package/dist/unplugin.cjs CHANGED
@@ -5,7 +5,7 @@ const pathe = require('pathe');
5
5
  const unplugin = require('unplugin');
6
6
  const defu = require('defu');
7
7
  const tailwind = require('@tailwindcss/vite');
8
- const templates = require('./shared/b24ui-nuxt.CnMGpwQb.cjs');
8
+ const templates = require('./shared/b24ui-nuxt.C1tIhR9w.cjs');
9
9
  const tinyglobby = require('tinyglobby');
10
10
  const knitwork = require('knitwork');
11
11
  const MagicString = require('magic-string');
@@ -118,7 +118,7 @@ function ComponentImportPlugin(options, meta) {
118
118
  const componentsContent = tinyglobby.globSync("**/*.vue", { cwd: pathe.join(runtimeDir, "components/content") });
119
119
  const componentContentNames = new Set(componentsContent.map((c) => `B24${c.replace(/\.vue$/, "")}`));
120
120
  const componentsProse = tinyglobby.globSync("**/*.vue", { cwd: pathe.join(runtimeDir, "prose") });
121
- const componentProseNames = new Set(componentsProse.map((c) => `${c.replace(/\.vue$/, "")}`));
121
+ const componentProseNames = new Set(componentsProse.map((c) => `Prose${c.replace(/\.vue$/, "")}`));
122
122
  const overrides = tinyglobby.globSync("**/*.vue", { cwd: pathe.join(runtimeDir, "vue/components") });
123
123
  const overrideNames = new Set(overrides.map((c) => `B24${c.replace(/\.vue$/, "")}`));
124
124
  const pluginOptions = defu.defu(options.components, {
@@ -129,7 +129,7 @@ function ComponentImportPlugin(options, meta) {
129
129
  if (overrideNames.has(componentName))
130
130
  return { name: "default", from: pathe.join(runtimeDir, "vue/components", `${componentName.slice("B24".length)}.vue`) };
131
131
  if (componentProseNames.has(componentName))
132
- return { name: "default", from: pathe.join(runtimeDir, "prose", `${componentName.slice(0)}.vue`) };
132
+ return { name: "default", from: pathe.join(runtimeDir, "prose", `${componentName.slice("Prose".length)}.vue`) };
133
133
  if (componentContentNames.has(componentName))
134
134
  return { name: "default", from: pathe.join(runtimeDir, "components/content", `${componentName.slice("B24".length)}.vue`) };
135
135
  if (componentNames.has(componentName))
package/dist/unplugin.mjs CHANGED
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
3
3
  import { createUnplugin } from 'unplugin';
4
4
  import { defu } from 'defu';
5
5
  import tailwind from '@tailwindcss/vite';
6
- import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.BGGwh89R.mjs';
6
+ import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.BRwBcdAH.mjs';
7
7
  import { globSync } from 'tinyglobby';
8
8
  import { genSafeVariableName } from 'knitwork';
9
9
  import MagicString from 'magic-string';
@@ -108,7 +108,7 @@ function ComponentImportPlugin(options, meta) {
108
108
  const componentsContent = globSync("**/*.vue", { cwd: join(runtimeDir, "components/content") });
109
109
  const componentContentNames = new Set(componentsContent.map((c) => `B24${c.replace(/\.vue$/, "")}`));
110
110
  const componentsProse = globSync("**/*.vue", { cwd: join(runtimeDir, "prose") });
111
- const componentProseNames = new Set(componentsProse.map((c) => `${c.replace(/\.vue$/, "")}`));
111
+ const componentProseNames = new Set(componentsProse.map((c) => `Prose${c.replace(/\.vue$/, "")}`));
112
112
  const overrides = globSync("**/*.vue", { cwd: join(runtimeDir, "vue/components") });
113
113
  const overrideNames = new Set(overrides.map((c) => `B24${c.replace(/\.vue$/, "")}`));
114
114
  const pluginOptions = defu(options.components, {
@@ -119,7 +119,7 @@ function ComponentImportPlugin(options, meta) {
119
119
  if (overrideNames.has(componentName))
120
120
  return { name: "default", from: join(runtimeDir, "vue/components", `${componentName.slice("B24".length)}.vue`) };
121
121
  if (componentProseNames.has(componentName))
122
- return { name: "default", from: join(runtimeDir, "prose", `${componentName.slice(0)}.vue`) };
122
+ return { name: "default", from: join(runtimeDir, "prose", `${componentName.slice("Prose".length)}.vue`) };
123
123
  if (componentContentNames.has(componentName))
124
124
  return { name: "default", from: join(runtimeDir, "components/content", `${componentName.slice("B24".length)}.vue`) };
125
125
  if (componentNames.has(componentName))
package/dist/vite.cjs CHANGED
@@ -6,7 +6,7 @@ require('pathe');
6
6
  require('unplugin');
7
7
  require('defu');
8
8
  require('@tailwindcss/vite');
9
- require('./shared/b24ui-nuxt.CnMGpwQb.cjs');
9
+ require('./shared/b24ui-nuxt.C1tIhR9w.cjs');
10
10
  require('scule');
11
11
  require('@nuxt/kit');
12
12
  require('tinyglobby');
package/dist/vite.mjs CHANGED
@@ -4,7 +4,7 @@ import 'pathe';
4
4
  import 'unplugin';
5
5
  import 'defu';
6
6
  import '@tailwindcss/vite';
7
- import './shared/b24ui-nuxt.BGGwh89R.mjs';
7
+ import './shared/b24ui-nuxt.BRwBcdAH.mjs';
8
8
  import 'scule';
9
9
  import '@nuxt/kit';
10
10
  import 'tinyglobby';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrix24/b24ui-nuxt",
3
3
  "description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
4
- "version": "0.4.1",
4
+ "version": "0.4.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/bitrix24/b24ui.git"
@@ -75,12 +75,12 @@
75
75
  "@nuxt/kit": "^3.15.4",
76
76
  "@nuxt/schema": "^3.15.4",
77
77
  "@nuxtjs/color-mode": "^3.5.2",
78
- "@tailwindcss/postcss": "^4.0.9",
79
- "@tailwindcss/vite": "^4.0.9",
78
+ "@tailwindcss/postcss": "^4.0.11",
79
+ "@tailwindcss/vite": "^4.0.11",
80
80
  "@tanstack/vue-table": "^8.21.2",
81
81
  "@unhead/vue": "^1.11.19",
82
- "@vueuse/core": "^12.7.0",
83
- "@vueuse/integrations": "^12.7.0",
82
+ "@vueuse/core": "^12.8.2",
83
+ "@vueuse/integrations": "^12.8.2",
84
84
  "canvas-confetti": "^1.9.3",
85
85
  "colortranslator": "^4.1.0",
86
86
  "consola": "^3.4.0",
@@ -96,12 +96,12 @@
96
96
  "knitwork": "^1.2.0",
97
97
  "magic-string": "^0.30.17",
98
98
  "mlly": "^1.7.4",
99
- "ohash": "^2.0.10",
99
+ "ohash": "^2.0.11",
100
100
  "pathe": "^2.0.3",
101
101
  "reka-ui": "^2.0.2",
102
102
  "scule": "^1.3.0",
103
103
  "tailwind-variants": "^0.3.1",
104
- "tailwindcss": "^4.0.9",
104
+ "tailwindcss": "^4.0.11",
105
105
  "tinyglobby": "^0.2.12",
106
106
  "unplugin": "^2.2.0",
107
107
  "unplugin-auto-import": "^19.1.1",
@@ -1,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "mb-2 text-5xl leading-3xs font-light text-base-master dark:text-base-150 scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)",
4
- "link": "inline-flex items-center gap-2"
5
- }
6
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "list-decimal ps-6 mb-2 marker:text-base-300 dark:marker:text-base-800"
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "list-disc ps-6 mb-2 marker:text-base-300 dark:marker:text-base-800"
4
- }
5
- }
File without changes
File without changes