@bitrix24/b24ui-nuxt 0.4.5 → 0.4.6

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 (59) hide show
  1. package/.nuxt/b24ui/content/table-wrapper.ts +1 -1
  2. package/.nuxt/b24ui/prose/table.ts +6 -0
  3. package/.nuxt/b24ui/prose/tbody.ts +5 -0
  4. package/.nuxt/b24ui/prose/td.ts +5 -0
  5. package/.nuxt/b24ui/prose/th.ts +5 -0
  6. package/.nuxt/b24ui/prose/thead.ts +5 -0
  7. package/.nuxt/b24ui/prose/tr.ts +5 -0
  8. package/dist/meta.cjs +413 -36
  9. package/dist/meta.d.cts +413 -36
  10. package/dist/meta.d.mts +413 -36
  11. package/dist/meta.d.ts +413 -36
  12. package/dist/meta.mjs +413 -36
  13. package/dist/module.cjs +1 -1
  14. package/dist/module.json +1 -1
  15. package/dist/module.mjs +1 -1
  16. package/dist/runtime/components/App.vue +6 -6
  17. package/dist/runtime/composables/defineLocale.d.ts +4 -4
  18. package/dist/runtime/composables/useLocale.d.ts +3 -3
  19. package/dist/runtime/composables/useLocale.js +3 -3
  20. package/dist/runtime/locale/ar.d.ts +2 -1
  21. package/dist/runtime/locale/br.d.ts +2 -1
  22. package/dist/runtime/locale/de.d.ts +2 -1
  23. package/dist/runtime/locale/en.d.ts +2 -1
  24. package/dist/runtime/locale/fr.d.ts +2 -1
  25. package/dist/runtime/locale/id.d.ts +2 -1
  26. package/dist/runtime/locale/it.d.ts +2 -1
  27. package/dist/runtime/locale/ja.d.ts +2 -1
  28. package/dist/runtime/locale/kz.d.ts +2 -1
  29. package/dist/runtime/locale/la.d.ts +2 -1
  30. package/dist/runtime/locale/ms.d.ts +2 -1
  31. package/dist/runtime/locale/pl.d.ts +2 -1
  32. package/dist/runtime/locale/ru.d.ts +2 -1
  33. package/dist/runtime/locale/sc.d.ts +2 -1
  34. package/dist/runtime/locale/tc.d.ts +2 -1
  35. package/dist/runtime/locale/th.d.ts +2 -1
  36. package/dist/runtime/locale/tr.d.ts +2 -1
  37. package/dist/runtime/locale/ua.d.ts +2 -1
  38. package/dist/runtime/locale/vn.d.ts +2 -1
  39. package/dist/runtime/prose/Code.vue +1 -1
  40. package/dist/runtime/prose/Img.vue +1 -1
  41. package/dist/runtime/prose/Table.vue +74 -0
  42. package/dist/runtime/prose/Tbody.vue +34 -0
  43. package/dist/runtime/prose/Td.vue +34 -0
  44. package/dist/runtime/prose/Th.vue +34 -0
  45. package/dist/runtime/prose/Thead.vue +34 -0
  46. package/dist/runtime/prose/Tr.vue +34 -0
  47. package/dist/runtime/types/index.d.ts +6 -0
  48. package/dist/runtime/types/index.js +6 -0
  49. package/dist/runtime/types/locale.d.ts +2 -2
  50. package/dist/runtime/utils/locale.d.ts +5 -5
  51. package/dist/runtime/vue/stubs.d.ts +4 -0
  52. package/dist/runtime/vue/stubs.js +1 -0
  53. package/dist/shared/{b24ui-nuxt.BH-d1ImO.mjs → b24ui-nuxt.BiEJAB1L.mjs} +55 -1
  54. package/dist/shared/{b24ui-nuxt.DxEKoBT7.cjs → b24ui-nuxt.yyScbwpE.cjs} +55 -1
  55. package/dist/unplugin.cjs +1 -1
  56. package/dist/unplugin.mjs +1 -1
  57. package/dist/vite.cjs +1 -1
  58. package/dist/vite.mjs +1 -1
  59. package/package.json +7 -6
@@ -18,7 +18,7 @@ export default {
18
18
  },
19
19
  "rounded": {
20
20
  "true": "rounded-md",
21
- "false": "rounded"
21
+ "false": ""
22
22
  },
23
23
  "zebra": {
24
24
  "true": "[&>table>tbody>tr]:even:bg-base-30 [&>table>tbody>tr]:even:[&>td]:bg-base-30 [&>table>tbody>tr]:even:[&>th]:bg-base-30 dark:[&>table>tbody>tr]:even:bg-base-dark dark:[&>table>tbody>tr]:even:[&>td]:bg-base-dark dark:[&>table>tbody>tr]:even:[&>th]:bg-base-dark"
@@ -0,0 +1,6 @@
1
+ export default {
2
+ "slots": {
3
+ "root": "my-4 overflow-x-auto",
4
+ "base": ""
5
+ }
6
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": ""
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "[&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": ""
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "bg-base-50 dark:bg-base-600"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": ""
4
+ }
5
+ }
package/dist/meta.cjs CHANGED
@@ -2050,15 +2050,15 @@ const B24UIMeta = {
2050
2050
  "description": "",
2051
2051
  "tags": [],
2052
2052
  "required": false,
2053
- "type": "Locale | undefined",
2053
+ "type": "Locale<Messages> | undefined",
2054
2054
  "schema": {
2055
2055
  "kind": "enum",
2056
- "type": "Locale | undefined",
2056
+ "type": "Locale<Messages> | undefined",
2057
2057
  "schema": {
2058
2058
  "0": "undefined",
2059
2059
  "1": {
2060
2060
  "kind": "object",
2061
- "type": "Locale",
2061
+ "type": "Locale<Messages>",
2062
2062
  "schema": {
2063
2063
  "name": {
2064
2064
  "name": "name",
@@ -5027,22 +5027,6 @@ const B24UIMeta = {
5027
5027
  }
5028
5028
  }
5029
5029
  },
5030
- {
5031
- "name": "name",
5032
- "global": false,
5033
- "description": "The name of the field. Submitted with its owning form as part of a name/value pair.",
5034
- "tags": [],
5035
- "required": false,
5036
- "type": "string | undefined",
5037
- "schema": {
5038
- "kind": "enum",
5039
- "type": "string | undefined",
5040
- "schema": {
5041
- "0": "undefined",
5042
- "1": "string"
5043
- }
5044
- }
5045
- },
5046
5030
  {
5047
5031
  "name": "value",
5048
5032
  "global": false,
@@ -5067,6 +5051,22 @@ const B24UIMeta = {
5067
5051
  }
5068
5052
  }
5069
5053
  },
5054
+ {
5055
+ "name": "name",
5056
+ "global": false,
5057
+ "description": "The name of the field. Submitted with its owning form as part of a name/value pair.",
5058
+ "tags": [],
5059
+ "required": false,
5060
+ "type": "string | undefined",
5061
+ "schema": {
5062
+ "kind": "enum",
5063
+ "type": "string | undefined",
5064
+ "schema": {
5065
+ "0": "undefined",
5066
+ "1": "string"
5067
+ }
5068
+ }
5069
+ },
5070
5070
  {
5071
5071
  "name": "required",
5072
5072
  "global": false,
@@ -12845,9 +12845,9 @@ const B24UIMeta = {
12845
12845
  }
12846
12846
  },
12847
12847
  {
12848
- "name": "defaultOpen",
12848
+ "name": "modal",
12849
12849
  "global": false,
12850
- "description": "The open state of the dropdown menu when it is initially rendered. Use when you do not need to control its open state.",
12850
+ "description": "The modality of the dropdown menu.\r\n\r\nWhen set to `true`, interaction with outside elements will be disabled and only menu content will be visible to screen readers.",
12851
12851
  "tags": [],
12852
12852
  "required": false,
12853
12853
  "type": "boolean | undefined",
@@ -12859,12 +12859,13 @@ const B24UIMeta = {
12859
12859
  "1": "false",
12860
12860
  "2": "true"
12861
12861
  }
12862
- }
12862
+ },
12863
+ "default": "true"
12863
12864
  },
12864
12865
  {
12865
- "name": "open",
12866
+ "name": "defaultOpen",
12866
12867
  "global": false,
12867
- "description": "The controlled open state of the menu. Can be used as `v-model:open`.",
12868
+ "description": "The open state of the dropdown menu when it is initially rendered. Use when you do not need to control its open state.",
12868
12869
  "tags": [],
12869
12870
  "required": false,
12870
12871
  "type": "boolean | undefined",
@@ -12879,9 +12880,9 @@ const B24UIMeta = {
12879
12880
  }
12880
12881
  },
12881
12882
  {
12882
- "name": "modal",
12883
+ "name": "open",
12883
12884
  "global": false,
12884
- "description": "The modality of the dropdown menu.\r\n\r\nWhen set to `true`, interaction with outside elements will be disabled and only menu content will be visible to screen readers.",
12885
+ "description": "The controlled open state of the menu. Can be used as `v-model:open`.",
12885
12886
  "tags": [],
12886
12887
  "required": false,
12887
12888
  "type": "boolean | undefined",
@@ -12893,8 +12894,7 @@ const B24UIMeta = {
12893
12894
  "1": "false",
12894
12895
  "2": "true"
12895
12896
  }
12896
- },
12897
- "default": "true"
12897
+ }
12898
12898
  }
12899
12899
  ],
12900
12900
  "slots": [
@@ -18134,15 +18134,15 @@ const B24UIMeta = {
18134
18134
  }
18135
18135
  ],
18136
18136
  "required": false,
18137
- "type": "\"start\" | \"center\" | \"end\" | undefined",
18137
+ "type": "\"start\" | \"end\" | \"center\" | undefined",
18138
18138
  "schema": {
18139
18139
  "kind": "enum",
18140
- "type": "\"start\" | \"center\" | \"end\" | undefined",
18140
+ "type": "\"start\" | \"end\" | \"center\" | undefined",
18141
18141
  "schema": {
18142
18142
  "0": "undefined",
18143
18143
  "1": "\"start\"",
18144
- "2": "\"center\"",
18145
- "3": "\"end\""
18144
+ "2": "\"end\"",
18145
+ "3": "\"center\""
18146
18146
  }
18147
18147
  }
18148
18148
  },
@@ -40916,9 +40916,9 @@ const B24UIMeta = {
40916
40916
  }
40917
40917
  },
40918
40918
  {
40919
- "name": "name",
40919
+ "name": "value",
40920
40920
  "global": false,
40921
- "description": "The name of the field. Submitted with its owning form as part of a name/value pair.",
40921
+ "description": "The value given as data when submitted with a `name`.",
40922
40922
  "tags": [],
40923
40923
  "required": false,
40924
40924
  "type": "string | undefined",
@@ -40932,9 +40932,9 @@ const B24UIMeta = {
40932
40932
  }
40933
40933
  },
40934
40934
  {
40935
- "name": "value",
40935
+ "name": "name",
40936
40936
  "global": false,
40937
- "description": "The value given as data when submitted with a `name`.",
40937
+ "description": "The name of the field. Submitted with its owning form as part of a name/value pair.",
40938
40938
  "tags": [],
40939
40939
  "required": false,
40940
40940
  "type": "string | undefined",
@@ -46235,6 +46235,383 @@ const B24UIMeta = {
46235
46235
  "exposed": []
46236
46236
  }
46237
46237
  },
46238
+ "ProseTable": {
46239
+ "mode": "all",
46240
+ "prefetch": false,
46241
+ "preload": false,
46242
+ "pascalName": "ProseTable",
46243
+ "kebabName": "prose-table",
46244
+ "chunkName": "components/prose-table",
46245
+ "priority": 0,
46246
+ "_scanned": true,
46247
+ "meta": {
46248
+ "type": 0,
46249
+ "props": [
46250
+ {
46251
+ "name": "as",
46252
+ "global": false,
46253
+ "description": "The element or component this component should render as.",
46254
+ "tags": [
46255
+ {
46256
+ "name": "defaultValue",
46257
+ "text": "'div'"
46258
+ }
46259
+ ],
46260
+ "required": false,
46261
+ "type": "any",
46262
+ "schema": "any",
46263
+ "default": "\"div\""
46264
+ },
46265
+ {
46266
+ "name": "rounded",
46267
+ "global": false,
46268
+ "description": "",
46269
+ "tags": [
46270
+ {
46271
+ "name": "defaultValue",
46272
+ "text": "true"
46273
+ }
46274
+ ],
46275
+ "required": false,
46276
+ "type": "boolean | undefined",
46277
+ "schema": {
46278
+ "kind": "enum",
46279
+ "type": "boolean | undefined",
46280
+ "schema": {
46281
+ "0": "undefined",
46282
+ "1": "false",
46283
+ "2": "true"
46284
+ }
46285
+ },
46286
+ "default": "true"
46287
+ },
46288
+ {
46289
+ "name": "zebra",
46290
+ "global": false,
46291
+ "description": "",
46292
+ "tags": [
46293
+ {
46294
+ "name": "defaultValue",
46295
+ "text": "true"
46296
+ }
46297
+ ],
46298
+ "required": false,
46299
+ "type": "boolean | undefined",
46300
+ "schema": {
46301
+ "kind": "enum",
46302
+ "type": "boolean | undefined",
46303
+ "schema": {
46304
+ "0": "undefined",
46305
+ "1": "false",
46306
+ "2": "true"
46307
+ }
46308
+ },
46309
+ "default": "true"
46310
+ },
46311
+ {
46312
+ "name": "rowHover",
46313
+ "global": false,
46314
+ "description": "",
46315
+ "tags": [
46316
+ {
46317
+ "name": "defaultValue",
46318
+ "text": "false"
46319
+ }
46320
+ ],
46321
+ "required": false,
46322
+ "type": "boolean | undefined",
46323
+ "schema": {
46324
+ "kind": "enum",
46325
+ "type": "boolean | undefined",
46326
+ "schema": {
46327
+ "0": "undefined",
46328
+ "1": "false",
46329
+ "2": "true"
46330
+ }
46331
+ },
46332
+ "default": "true"
46333
+ },
46334
+ {
46335
+ "name": "bordered",
46336
+ "global": false,
46337
+ "description": "",
46338
+ "tags": [
46339
+ {
46340
+ "name": "defaultValue",
46341
+ "text": "false"
46342
+ }
46343
+ ],
46344
+ "required": false,
46345
+ "type": "boolean | undefined",
46346
+ "schema": {
46347
+ "kind": "enum",
46348
+ "type": "boolean | undefined",
46349
+ "schema": {
46350
+ "0": "undefined",
46351
+ "1": "false",
46352
+ "2": "true"
46353
+ }
46354
+ },
46355
+ "default": "true"
46356
+ },
46357
+ {
46358
+ "name": "b24ui",
46359
+ "global": false,
46360
+ "description": "",
46361
+ "tags": [],
46362
+ "required": false,
46363
+ "type": "Partial<{ root: string; base: string; }> | undefined",
46364
+ "schema": {
46365
+ "kind": "enum",
46366
+ "type": "Partial<{ root: string; base: string; }> | undefined",
46367
+ "schema": {
46368
+ "0": "undefined",
46369
+ "1": "Partial<{ root: string; base: string; }>"
46370
+ }
46371
+ }
46372
+ }
46373
+ ],
46374
+ "slots": [
46375
+ {
46376
+ "name": "default",
46377
+ "type": "{}",
46378
+ "description": "",
46379
+ "schema": {
46380
+ "kind": "object",
46381
+ "type": "{}",
46382
+ "schema": {}
46383
+ }
46384
+ }
46385
+ ],
46386
+ "events": [],
46387
+ "exposed": []
46388
+ }
46389
+ },
46390
+ "ProseTbody": {
46391
+ "mode": "all",
46392
+ "prefetch": false,
46393
+ "preload": false,
46394
+ "pascalName": "ProseTbody",
46395
+ "kebabName": "prose-tbody",
46396
+ "chunkName": "components/prose-tbody",
46397
+ "priority": 0,
46398
+ "_scanned": true,
46399
+ "meta": {
46400
+ "type": 0,
46401
+ "props": [
46402
+ {
46403
+ "name": "b24ui",
46404
+ "global": false,
46405
+ "description": "",
46406
+ "tags": [],
46407
+ "required": false,
46408
+ "type": "Partial<{ base: string; }> | undefined",
46409
+ "schema": {
46410
+ "kind": "enum",
46411
+ "type": "Partial<{ base: string; }> | undefined",
46412
+ "schema": {
46413
+ "0": "undefined",
46414
+ "1": "Partial<{ base: string; }>"
46415
+ }
46416
+ }
46417
+ }
46418
+ ],
46419
+ "slots": [
46420
+ {
46421
+ "name": "default",
46422
+ "type": "{}",
46423
+ "description": "",
46424
+ "schema": {
46425
+ "kind": "object",
46426
+ "type": "{}",
46427
+ "schema": {}
46428
+ }
46429
+ }
46430
+ ],
46431
+ "events": [],
46432
+ "exposed": []
46433
+ }
46434
+ },
46435
+ "ProseTd": {
46436
+ "mode": "all",
46437
+ "prefetch": false,
46438
+ "preload": false,
46439
+ "pascalName": "ProseTd",
46440
+ "kebabName": "prose-td",
46441
+ "chunkName": "components/prose-td",
46442
+ "priority": 0,
46443
+ "_scanned": true,
46444
+ "meta": {
46445
+ "type": 0,
46446
+ "props": [
46447
+ {
46448
+ "name": "b24ui",
46449
+ "global": false,
46450
+ "description": "",
46451
+ "tags": [],
46452
+ "required": false,
46453
+ "type": "Partial<{ base: string; }> | undefined",
46454
+ "schema": {
46455
+ "kind": "enum",
46456
+ "type": "Partial<{ base: string; }> | undefined",
46457
+ "schema": {
46458
+ "0": "undefined",
46459
+ "1": "Partial<{ base: string; }>"
46460
+ }
46461
+ }
46462
+ }
46463
+ ],
46464
+ "slots": [
46465
+ {
46466
+ "name": "default",
46467
+ "type": "{}",
46468
+ "description": "",
46469
+ "schema": {
46470
+ "kind": "object",
46471
+ "type": "{}",
46472
+ "schema": {}
46473
+ }
46474
+ }
46475
+ ],
46476
+ "events": [],
46477
+ "exposed": []
46478
+ }
46479
+ },
46480
+ "ProseTh": {
46481
+ "mode": "all",
46482
+ "prefetch": false,
46483
+ "preload": false,
46484
+ "pascalName": "ProseTh",
46485
+ "kebabName": "prose-th",
46486
+ "chunkName": "components/prose-th",
46487
+ "priority": 0,
46488
+ "_scanned": true,
46489
+ "meta": {
46490
+ "type": 0,
46491
+ "props": [
46492
+ {
46493
+ "name": "b24ui",
46494
+ "global": false,
46495
+ "description": "",
46496
+ "tags": [],
46497
+ "required": false,
46498
+ "type": "Partial<{ base: string; }> | undefined",
46499
+ "schema": {
46500
+ "kind": "enum",
46501
+ "type": "Partial<{ base: string; }> | undefined",
46502
+ "schema": {
46503
+ "0": "undefined",
46504
+ "1": "Partial<{ base: string; }>"
46505
+ }
46506
+ }
46507
+ }
46508
+ ],
46509
+ "slots": [
46510
+ {
46511
+ "name": "default",
46512
+ "type": "{}",
46513
+ "description": "",
46514
+ "schema": {
46515
+ "kind": "object",
46516
+ "type": "{}",
46517
+ "schema": {}
46518
+ }
46519
+ }
46520
+ ],
46521
+ "events": [],
46522
+ "exposed": []
46523
+ }
46524
+ },
46525
+ "ProseThead": {
46526
+ "mode": "all",
46527
+ "prefetch": false,
46528
+ "preload": false,
46529
+ "pascalName": "ProseThead",
46530
+ "kebabName": "prose-thead",
46531
+ "chunkName": "components/prose-thead",
46532
+ "priority": 0,
46533
+ "_scanned": true,
46534
+ "meta": {
46535
+ "type": 0,
46536
+ "props": [
46537
+ {
46538
+ "name": "b24ui",
46539
+ "global": false,
46540
+ "description": "",
46541
+ "tags": [],
46542
+ "required": false,
46543
+ "type": "Partial<{ base: string; }> | undefined",
46544
+ "schema": {
46545
+ "kind": "enum",
46546
+ "type": "Partial<{ base: string; }> | undefined",
46547
+ "schema": {
46548
+ "0": "undefined",
46549
+ "1": "Partial<{ base: string; }>"
46550
+ }
46551
+ }
46552
+ }
46553
+ ],
46554
+ "slots": [
46555
+ {
46556
+ "name": "default",
46557
+ "type": "{}",
46558
+ "description": "",
46559
+ "schema": {
46560
+ "kind": "object",
46561
+ "type": "{}",
46562
+ "schema": {}
46563
+ }
46564
+ }
46565
+ ],
46566
+ "events": [],
46567
+ "exposed": []
46568
+ }
46569
+ },
46570
+ "ProseTr": {
46571
+ "mode": "all",
46572
+ "prefetch": false,
46573
+ "preload": false,
46574
+ "pascalName": "ProseTr",
46575
+ "kebabName": "prose-tr",
46576
+ "chunkName": "components/prose-tr",
46577
+ "priority": 0,
46578
+ "_scanned": true,
46579
+ "meta": {
46580
+ "type": 0,
46581
+ "props": [
46582
+ {
46583
+ "name": "b24ui",
46584
+ "global": false,
46585
+ "description": "",
46586
+ "tags": [],
46587
+ "required": false,
46588
+ "type": "Partial<{ base: string; }> | undefined",
46589
+ "schema": {
46590
+ "kind": "enum",
46591
+ "type": "Partial<{ base: string; }> | undefined",
46592
+ "schema": {
46593
+ "0": "undefined",
46594
+ "1": "Partial<{ base: string; }>"
46595
+ }
46596
+ }
46597
+ }
46598
+ ],
46599
+ "slots": [
46600
+ {
46601
+ "name": "default",
46602
+ "type": "{}",
46603
+ "description": "",
46604
+ "schema": {
46605
+ "kind": "object",
46606
+ "type": "{}",
46607
+ "schema": {}
46608
+ }
46609
+ }
46610
+ ],
46611
+ "events": [],
46612
+ "exposed": []
46613
+ }
46614
+ },
46238
46615
  "ProseUl": {
46239
46616
  "mode": "all",
46240
46617
  "prefetch": false,