@bitrix24/b24ui-nuxt 0.4.2 → 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 (39) hide show
  1. package/.nuxt/b24ui/prose/a.ts +5 -0
  2. package/.nuxt/b24ui/prose/code.ts +31 -0
  3. package/.nuxt/b24ui/prose/pre.ts +6 -0
  4. package/dist/meta.cjs +664 -0
  5. package/dist/meta.d.cts +664 -0
  6. package/dist/meta.d.mts +664 -0
  7. package/dist/meta.d.ts +664 -0
  8. package/dist/meta.mjs +664 -0
  9. package/dist/module.cjs +1 -1
  10. package/dist/module.json +1 -1
  11. package/dist/module.mjs +1 -1
  12. package/dist/runtime/components/Avatar.vue +2 -1
  13. package/dist/runtime/components/RadioGroup.vue +3 -1
  14. package/dist/runtime/prose/A.vue +32 -0
  15. package/dist/runtime/prose/Blockquote.vue +0 -2
  16. package/dist/runtime/prose/Code.vue +42 -0
  17. package/dist/runtime/prose/Em.vue +8 -12
  18. package/dist/runtime/prose/H1.vue +0 -2
  19. package/dist/runtime/prose/H2.vue +0 -2
  20. package/dist/runtime/prose/H3.vue +0 -2
  21. package/dist/runtime/prose/H4.vue +0 -2
  22. package/dist/runtime/prose/H5.vue +0 -2
  23. package/dist/runtime/prose/H6.vue +0 -2
  24. package/dist/runtime/prose/Hr.vue +0 -2
  25. package/dist/runtime/prose/Li.vue +0 -2
  26. package/dist/runtime/prose/Ol.vue +0 -2
  27. package/dist/runtime/prose/P.vue +0 -2
  28. package/dist/runtime/prose/Pre.vue +44 -0
  29. package/dist/runtime/prose/Strong.vue +0 -2
  30. package/dist/runtime/prose/Ul.vue +0 -2
  31. package/dist/runtime/types/index.d.ts +3 -0
  32. package/dist/runtime/types/index.js +3 -0
  33. package/dist/shared/{b24ui-nuxt.Bx_-_mhu.mjs → b24ui-nuxt.BRwBcdAH.mjs} +91 -0
  34. package/dist/shared/{b24ui-nuxt.Bt28CeAD.cjs → b24ui-nuxt.C1tIhR9w.cjs} +91 -0
  35. package/dist/unplugin.cjs +1 -1
  36. package/dist/unplugin.mjs +1 -1
  37. package/dist/vite.cjs +1 -1
  38. package/dist/vite.mjs +1 -1
  39. package/package.json +7 -7
package/dist/module.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  const defu = require('defu');
4
4
  const kit = require('@nuxt/kit');
5
- const templates = require('./shared/b24ui-nuxt.Bt28CeAD.cjs');
5
+ const templates = require('./shared/b24ui-nuxt.C1tIhR9w.cjs');
6
6
  require('node:url');
7
7
  require('scule');
8
8
 
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.13.1"
6
6
  },
7
7
  "docs": "https://bitrix24.github.io/b24ui/guide/installation-nuxt-app.html",
8
- "version": "0.4.2",
8
+ "version": "0.4.3",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "0.8.4",
11
11
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defu } from 'defu';
2
2
  import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addComponentsDir, addImportsDir, hasNuxtModule, installModule } from '@nuxt/kit';
3
- import { d as defaultOptions, a as getDefaultUiConfig, b as addTemplates } from './shared/b24ui-nuxt.Bx_-_mhu.mjs';
3
+ import { d as defaultOptions, a as getDefaultUiConfig, b as addTemplates } from './shared/b24ui-nuxt.BRwBcdAH.mjs';
4
4
  import 'node:url';
5
5
  import 'scule';
6
6
 
@@ -31,6 +31,7 @@ export interface AvatarProps {
31
31
  */
32
32
  size?: AvatarVariants['size']
33
33
  class?: any
34
+ style?: any
34
35
  b24ui?: Partial<typeof avatar.slots>
35
36
  }
36
37
 
@@ -90,7 +91,7 @@ function onError() {
90
91
  </script>
91
92
 
92
93
  <template>
93
- <Primitive :as="as" :class="b24ui.root({ class: [props.class, props.b24ui?.root] })">
94
+ <Primitive :as="as" :class="b24ui.root({ class: [props.class, props.b24ui?.root] })" :style="props.style">
94
95
  <component
95
96
  :is="ImageComponent"
96
97
  v-if="src && !error"
@@ -170,7 +170,9 @@ function onUpdate(value: any) {
170
170
 
171
171
  <div :class="b24ui.wrapper({ class: props.b24ui?.wrapper })">
172
172
  <Label :class="b24ui.label({ class: props.b24ui?.label })" :for="item.id">
173
- <slot name="label" :item="item" :model-value="modelValue">{{ item.label }}</slot>
173
+ <slot name="label" :item="item" :model-value="modelValue">
174
+ {{ item.label }}
175
+ </slot>
174
176
  </Label>
175
177
  <p v-if="item.description || !!slots.description" :class="b24ui.description({ class: props.b24ui?.description })">
176
178
  <slot name="description" :item="item" :model-value="modelValue">
@@ -0,0 +1,32 @@
1
+ <script lang="ts">
2
+ import type { AppConfig } from '@nuxt/schema'
3
+ import _appConfig from '#build/app.config'
4
+ import theme from '#build/b24ui/prose/a'
5
+ import { tv } from '../utils/tv'
6
+
7
+ const appConfigProseA = _appConfig as AppConfig & { b24ui: { prose: { a: Partial<typeof theme> } } }
8
+
9
+ const proseA = tv({ extend: tv(theme), ...(appConfigProseA.b24ui?.prose?.a || {}) })
10
+
11
+ export interface proseAProps {
12
+ class?: any
13
+ b24ui?: Partial<typeof proseA.slots>
14
+ }
15
+
16
+ export interface proseASlots {
17
+ default(props?: {}): any
18
+ }
19
+ </script>
20
+
21
+ <script setup lang="ts">
22
+ const props = defineProps<proseAProps>()
23
+
24
+ // eslint-disable-next-line vue/no-dupe-keys
25
+ const b24ui = proseA({})
26
+ </script>
27
+
28
+ <template>
29
+ <a
30
+ :class="b24ui.base({ class: props.b24ui?.base })"
31
+ ><slot /></a>
32
+ </template>
@@ -19,8 +19,6 @@ export interface proseBlockquoteSlots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseBlockquoteProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -0,0 +1,42 @@
1
+ <script lang="ts">
2
+ import type { VariantProps } from 'tailwind-variants'
3
+ import type { AppConfig } from '@nuxt/schema'
4
+ import _appConfig from '#build/app.config'
5
+ import theme from '#build/b24ui/prose/code'
6
+ import { tv } from '../utils/tv'
7
+
8
+ const appConfigProseCode = _appConfig as AppConfig & { b24ui: { prose: { code: Partial<typeof theme> } } }
9
+
10
+ const proseCode = tv({ extend: tv(theme), ...(appConfigProseCode.b24ui?.prose?.code || {}) })
11
+
12
+ type ProseCodeVariants = VariantProps<typeof proseCode>
13
+
14
+ export interface proseCodeProps {
15
+ /**
16
+ * @defaultValue 'default'
17
+ */
18
+ color?: ProseCodeVariants['color']
19
+ class?: any
20
+ b24ui?: Partial<typeof proseCode.slots>
21
+ }
22
+
23
+ export interface proseCodeSlots {
24
+ default(props?: {}): any
25
+ }
26
+ </script>
27
+
28
+ <script setup lang="ts">
29
+ import { computed } from 'vue'
30
+
31
+ const props = defineProps<proseCodeProps>()
32
+
33
+ const b24ui = computed(() => proseCode({
34
+ color: props.color
35
+ }))
36
+ </script>
37
+
38
+ <template>
39
+ <code
40
+ :class="b24ui.base({ class: props.b24ui?.base })"
41
+ ><slot /></code>
42
+ </template>
@@ -4,33 +4,29 @@ import _appConfig from '#build/app.config'
4
4
  import theme from '#build/b24ui/prose/em'
5
5
  import { tv } from '../utils/tv'
6
6
 
7
- const appConfigPproseEm = _appConfig as AppConfig & { b24ui: { prose: { em: Partial<typeof theme> } } }
7
+ const appConfigProseEm = _appConfig as AppConfig & { b24ui: { prose: { em: Partial<typeof theme> } } }
8
8
 
9
- const pproseEm = tv({ extend: tv(theme), ...(appConfigPproseEm.b24ui?.prose?.em || {}) })
9
+ const proseEm = tv({ extend: tv(theme), ...(appConfigProseEm.b24ui?.prose?.em || {}) })
10
10
 
11
- export interface pproseEmProps {
11
+ export interface proseEmProps {
12
12
  class?: any
13
- b24ui?: Partial<typeof pproseEm.slots>
13
+ b24ui?: Partial<typeof proseEm.slots>
14
14
  }
15
15
 
16
- export interface pproseEmSlots {
16
+ export interface proseEmSlots {
17
17
  default(props?: {}): any
18
18
  }
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
- const props = defineProps<pproseEmProps>()
22
+ const props = defineProps<proseEmProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
27
- const b24ui = pproseEm({})
25
+ const b24ui = proseEm({})
28
26
  </script>
29
27
 
30
28
  <template>
31
29
  <em
32
30
  :class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
33
- >
34
- <slot />
35
- </em>
31
+ ><slot /></em>
36
32
  </template>
@@ -19,8 +19,6 @@ export interface proseH1Slots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseH1Props>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseH2Slots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseH2Props>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseH3Slots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseH3Props>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseH4Slots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseH4Props>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseH5Slots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseH5Props>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseH6Slots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseH6Props>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -15,8 +15,6 @@ export interface proseHrProps {
15
15
  </script>
16
16
 
17
17
  <script setup lang="ts">
18
- defineOptions({ inheritAttrs: false })
19
-
20
18
  const props = defineProps<proseHrProps>()
21
19
 
22
20
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseLiSlots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseLiProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseOlSlots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseOlProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface prosePSlots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<prosePProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -0,0 +1,44 @@
1
+ <script lang="ts">
2
+ import type { AppConfig } from '@nuxt/schema'
3
+ import _appConfig from '#build/app.config'
4
+ import theme from '#build/b24ui/prose/pre'
5
+ import { tv } from '../utils/tv'
6
+
7
+ const appConfigProsePre = _appConfig as AppConfig & { b24ui: { prose: { pre: Partial<typeof theme> } } }
8
+
9
+ const prosePre = tv({ extend: tv(theme), ...(appConfigProsePre.b24ui?.prose?.pre || {}) })
10
+
11
+ export interface prosePreProps {
12
+ /**
13
+ * The element or component this component should render as.
14
+ * @defaultValue 'div'
15
+ */
16
+ as?: any
17
+ class?: any
18
+ style?: any
19
+ b24ui?: Partial<typeof prosePre.slots>
20
+ }
21
+
22
+ export interface prosePreSlots {
23
+ default(props?: {}): any
24
+ }
25
+ </script>
26
+
27
+ <script setup lang="ts">
28
+ import { Primitive } from 'reka-ui'
29
+
30
+ defineOptions({ inheritAttrs: false })
31
+
32
+ const props = withDefaults(defineProps<prosePreProps>(), { as: 'div' })
33
+
34
+ // eslint-disable-next-line vue/no-dupe-keys
35
+ const b24ui = prosePre({})
36
+ </script>
37
+
38
+ <template>
39
+ <Primitive :as="as" :class="b24ui.root({ class: [props.class, props.b24ui?.root] })" :style="props.style">
40
+ <pre
41
+ :class="b24ui.base({ class: props.b24ui?.base })"
42
+ ><slot /></pre>
43
+ </Primitive>
44
+ </template>
@@ -19,8 +19,6 @@ export interface proseStrongSlots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseStrongProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -19,8 +19,6 @@ export interface proseUlSlots {
19
19
  </script>
20
20
 
21
21
  <script setup lang="ts">
22
- defineOptions({ inheritAttrs: false })
23
-
24
22
  const props = defineProps<proseUlProps>()
25
23
 
26
24
  // eslint-disable-next-line vue/no-dupe-keys
@@ -44,12 +44,15 @@ export * from '../prose/H4.vue';
44
44
  export * from '../prose/H5.vue';
45
45
  export * from '../prose/H6.vue';
46
46
  export * from '../prose/P.vue';
47
+ export * from '../prose/A.vue';
47
48
  export * from '../prose/Blockquote.vue';
48
49
  export * from '../prose/Strong.vue';
49
50
  export * from '../prose/Ol.vue';
50
51
  export * from '../prose/Ul.vue';
51
52
  export * from '../prose/Li.vue';
52
53
  export * from '../prose/Hr.vue';
54
+ export * from '../prose/Code.vue';
55
+ export * from '../prose/Pre.vue';
53
56
  export * from './form';
54
57
  export * from './icons';
55
58
  export * from './locale';
@@ -44,12 +44,15 @@ export * from "../prose/H4.vue";
44
44
  export * from "../prose/H5.vue";
45
45
  export * from "../prose/H6.vue";
46
46
  export * from "../prose/P.vue";
47
+ export * from "../prose/A.vue";
47
48
  export * from "../prose/Blockquote.vue";
48
49
  export * from "../prose/Strong.vue";
49
50
  export * from "../prose/Ol.vue";
50
51
  export * from "../prose/Ul.vue";
51
52
  export * from "../prose/Li.vue";
52
53
  export * from "../prose/Hr.vue";
54
+ export * from "../prose/Code.vue";
55
+ export * from "../prose/Pre.vue";
53
56
  export * from "./form.js";
54
57
  export * from "./icons.js";
55
58
  export * from "./locale.js";
@@ -5462,6 +5462,21 @@ const p = {
5462
5462
  }
5463
5463
  };
5464
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"
5476
+ ].join(" ")
5477
+ }
5478
+ };
5479
+
5465
5480
  const blockquote = {
5466
5481
  slots: {
5467
5482
  base: "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
@@ -5519,9 +5534,84 @@ const hr = {
5519
5534
  }
5520
5535
  };
5521
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"
5606
+ ].join(" ")
5607
+ }
5608
+ };
5609
+
5522
5610
  const themeProse = {
5523
5611
  __proto__: null,
5612
+ a: a,
5524
5613
  blockquote: blockquote,
5614
+ code: code,
5525
5615
  em: em,
5526
5616
  h1: h1,
5527
5617
  h2: h2,
@@ -5533,6 +5623,7 @@ const themeProse = {
5533
5623
  li: li,
5534
5624
  ol: ol,
5535
5625
  p: p,
5626
+ pre: pre,
5536
5627
  strong: strong,
5537
5628
  ul: ul
5538
5629
  };
@@ -5464,6 +5464,21 @@ const p = {
5464
5464
  }
5465
5465
  };
5466
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"
5478
+ ].join(" ")
5479
+ }
5480
+ };
5481
+
5467
5482
  const blockquote = {
5468
5483
  slots: {
5469
5484
  base: "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
@@ -5521,9 +5536,84 @@ const hr = {
5521
5536
  }
5522
5537
  };
5523
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"
5608
+ ].join(" ")
5609
+ }
5610
+ };
5611
+
5524
5612
  const themeProse = {
5525
5613
  __proto__: null,
5614
+ a: a,
5526
5615
  blockquote: blockquote,
5616
+ code: code,
5527
5617
  em: em,
5528
5618
  h1: h1,
5529
5619
  h2: h2,
@@ -5535,6 +5625,7 @@ const themeProse = {
5535
5625
  li: li,
5536
5626
  ol: ol,
5537
5627
  p: p,
5628
+ pre: pre,
5538
5629
  strong: strong,
5539
5630
  ul: ul
5540
5631
  };
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.Bt28CeAD.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');
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.Bx_-_mhu.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';
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.Bt28CeAD.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.Bx_-_mhu.mjs';
7
+ import './shared/b24ui-nuxt.BRwBcdAH.mjs';
8
8
  import 'scule';
9
9
  import '@nuxt/kit';
10
10
  import 'tinyglobby';