@bitrix24/b24ui-nuxt 0.4.1 → 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.
Files changed (56) hide show
  1. package/.nuxt/b24ui/button.ts +8 -0
  2. package/.nuxt/b24ui/modal.ts +22 -4
  3. package/.nuxt/b24ui/prose/blockquote.ts +5 -0
  4. package/.nuxt/b24ui/prose/em.ts +5 -0
  5. package/.nuxt/b24ui/prose/h1.ts +6 -0
  6. package/.nuxt/b24ui/prose/{prose-h2.ts → h2.ts} +1 -1
  7. package/.nuxt/b24ui/prose/{prose-h3.ts → h3.ts} +1 -1
  8. package/.nuxt/b24ui/prose/h4.ts +16 -0
  9. package/.nuxt/b24ui/prose/h5.ts +16 -0
  10. package/.nuxt/b24ui/prose/h6.ts +16 -0
  11. package/.nuxt/b24ui/prose/hr.ts +5 -0
  12. package/.nuxt/b24ui/prose/ol.ts +5 -0
  13. package/.nuxt/b24ui/prose/strong.ts +5 -0
  14. package/.nuxt/b24ui/prose/ul.ts +5 -0
  15. package/.nuxt/b24ui/slideover.ts +25 -7
  16. package/dist/meta.cjs +854 -195
  17. package/dist/meta.d.cts +854 -195
  18. package/dist/meta.d.mts +854 -195
  19. package/dist/meta.d.ts +854 -195
  20. package/dist/meta.mjs +854 -195
  21. package/dist/module.cjs +2 -2
  22. package/dist/module.json +1 -1
  23. package/dist/module.mjs +2 -2
  24. package/dist/runtime/components/Button.vue +83 -45
  25. package/dist/runtime/components/Modal.vue +13 -2
  26. package/dist/runtime/components/Slideover.vue +10 -2
  27. package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
  28. package/dist/runtime/prose/Blockquote.vue +36 -0
  29. package/dist/runtime/prose/Em.vue +36 -0
  30. package/dist/runtime/prose/{ProseH1.vue → H1.vue} +1 -1
  31. package/dist/runtime/prose/{ProseH2.vue → H2.vue} +1 -1
  32. package/dist/runtime/prose/{ProseH3.vue → H3.vue} +1 -1
  33. package/dist/runtime/prose/H4.vue +36 -0
  34. package/dist/runtime/prose/H5.vue +36 -0
  35. package/dist/runtime/prose/H6.vue +36 -0
  36. package/dist/runtime/prose/Hr.vue +30 -0
  37. package/dist/runtime/prose/{ProseLi.vue → Li.vue} +1 -1
  38. package/dist/runtime/prose/{ProseOl.vue → Ol.vue} +1 -1
  39. package/dist/runtime/prose/{ProseP.vue → P.vue} +1 -1
  40. package/dist/runtime/prose/Strong.vue +36 -0
  41. package/dist/runtime/prose/{ProseUl.vue → Ul.vue} +1 -1
  42. package/dist/runtime/types/index.d.ts +14 -7
  43. package/dist/runtime/types/index.js +14 -7
  44. package/dist/runtime/vue/components/Link.vue +2 -2
  45. package/dist/shared/{b24ui-nuxt.CnMGpwQb.cjs → b24ui-nuxt.Bt28CeAD.cjs} +185 -40
  46. package/dist/shared/{b24ui-nuxt.BGGwh89R.mjs → b24ui-nuxt.Bx_-_mhu.mjs} +185 -40
  47. package/dist/unplugin.cjs +3 -3
  48. package/dist/unplugin.mjs +3 -3
  49. package/dist/vite.cjs +1 -1
  50. package/dist/vite.mjs +1 -1
  51. package/package.json +4 -4
  52. package/.nuxt/b24ui/prose/prose-h1.ts +0 -6
  53. package/.nuxt/b24ui/prose/prose-ol.ts +0 -5
  54. package/.nuxt/b24ui/prose/prose-ul.ts +0 -5
  55. /package/.nuxt/b24ui/prose/{prose-li.ts → li.ts} +0 -0
  56. /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 backdrop-blur-sm",
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 backdrop-blur-xs",
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 proseH1 = {
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 proseH2 = {
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 proseH3 = {
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,167 @@ const proseH3 = {
5341
5374
  }
5342
5375
  };
5343
5376
 
5344
- const proseLi = {
5377
+ const h4 = {
5345
5378
  slots: {
5346
5379
  base: [
5347
- "my-1.5 ps-1.5",
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
- "[&>ul]:my-0 [&>ol]:my-0"
5460
+ "text-pretty"
5350
5461
  ].join(" ")
5351
5462
  }
5352
5463
  };
5353
5464
 
5354
- const proseOl = {
5465
+ const blockquote = {
5466
+ slots: {
5467
+ base: "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
5468
+ }
5469
+ };
5470
+
5471
+ const strong = {
5472
+ slots: {
5473
+ base: ""
5474
+ }
5475
+ };
5476
+
5477
+ const em = {
5478
+ slots: {
5479
+ base: ""
5480
+ }
5481
+ };
5482
+
5483
+ const ol = {
5355
5484
  slots: {
5356
5485
  base: [
5357
5486
  "list-decimal",
5358
- "ps-6 mb-2",
5359
- "marker:text-base-300 dark:marker:text-base-800"
5487
+ "ps-2 mb-2 ms-3",
5488
+ "marker:text-base-master dark:marker:text-base-150"
5360
5489
  ].join(" ")
5361
5490
  }
5362
5491
  };
5363
5492
 
5364
- const proseP = {
5493
+ const ul = {
5365
5494
  slots: {
5366
5495
  base: [
5367
- "mb-2",
5496
+ "list-disc",
5497
+ "ps-2 mb-2 ms-3",
5498
+ "marker:text-base-master dark:marker:text-base-150"
5499
+ ].join(" ")
5500
+ }
5501
+ };
5502
+
5503
+ const li = {
5504
+ slots: {
5505
+ base: [
5506
+ "my-1.5 ps-1.5",
5368
5507
  "leading-relaxed",
5369
- "text-pretty"
5508
+ "[&>ul]:my-0 [&>ol]:my-0"
5370
5509
  ].join(" ")
5371
5510
  }
5372
5511
  };
5373
5512
 
5374
- const proseUl = {
5513
+ const hr = {
5375
5514
  slots: {
5376
5515
  base: [
5377
- "list-disc",
5378
- "ps-6 mb-2",
5379
- "marker:text-base-300 dark:marker:text-base-800"
5516
+ "my-4",
5517
+ "border-t border-base-master/10 dark:border-base-100/20"
5380
5518
  ].join(" ")
5381
5519
  }
5382
5520
  };
5383
5521
 
5384
5522
  const themeProse = {
5385
5523
  __proto__: null,
5386
- proseH1: proseH1,
5387
- proseH2: proseH2,
5388
- proseH3: proseH3,
5389
- proseLi: proseLi,
5390
- proseOl: proseOl,
5391
- proseP: proseP,
5392
- proseUl: proseUl
5524
+ blockquote: blockquote,
5525
+ em: em,
5526
+ h1: h1,
5527
+ h2: h2,
5528
+ h3: h3,
5529
+ h4: h4,
5530
+ h5: h5,
5531
+ h6: h6,
5532
+ hr: hr,
5533
+ li: li,
5534
+ ol: ol,
5535
+ p: p,
5536
+ strong: strong,
5537
+ ul: ul
5393
5538
  };
5394
5539
 
5395
5540
  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.Bt28CeAD.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.Bx_-_mhu.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.Bt28CeAD.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.Bx_-_mhu.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.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/bitrix24/b24ui.git"
@@ -75,8 +75,8 @@
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.10",
79
+ "@tailwindcss/vite": "^4.0.10",
80
80
  "@tanstack/vue-table": "^8.21.2",
81
81
  "@unhead/vue": "^1.11.19",
82
82
  "@vueuse/core": "^12.7.0",
@@ -101,7 +101,7 @@
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.10",
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