@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.
- package/.nuxt/b24ui/content/table-wrapper.ts +1 -1
- package/.nuxt/b24ui/prose/table.ts +6 -0
- package/.nuxt/b24ui/prose/tbody.ts +5 -0
- package/.nuxt/b24ui/prose/td.ts +5 -0
- package/.nuxt/b24ui/prose/th.ts +5 -0
- package/.nuxt/b24ui/prose/thead.ts +5 -0
- package/.nuxt/b24ui/prose/tr.ts +5 -0
- package/dist/meta.cjs +413 -36
- package/dist/meta.d.cts +413 -36
- package/dist/meta.d.mts +413 -36
- package/dist/meta.d.ts +413 -36
- package/dist/meta.mjs +413 -36
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/App.vue +6 -6
- package/dist/runtime/composables/defineLocale.d.ts +4 -4
- package/dist/runtime/composables/useLocale.d.ts +3 -3
- package/dist/runtime/composables/useLocale.js +3 -3
- package/dist/runtime/locale/ar.d.ts +2 -1
- package/dist/runtime/locale/br.d.ts +2 -1
- package/dist/runtime/locale/de.d.ts +2 -1
- package/dist/runtime/locale/en.d.ts +2 -1
- package/dist/runtime/locale/fr.d.ts +2 -1
- package/dist/runtime/locale/id.d.ts +2 -1
- package/dist/runtime/locale/it.d.ts +2 -1
- package/dist/runtime/locale/ja.d.ts +2 -1
- package/dist/runtime/locale/kz.d.ts +2 -1
- package/dist/runtime/locale/la.d.ts +2 -1
- package/dist/runtime/locale/ms.d.ts +2 -1
- package/dist/runtime/locale/pl.d.ts +2 -1
- package/dist/runtime/locale/ru.d.ts +2 -1
- package/dist/runtime/locale/sc.d.ts +2 -1
- package/dist/runtime/locale/tc.d.ts +2 -1
- package/dist/runtime/locale/th.d.ts +2 -1
- package/dist/runtime/locale/tr.d.ts +2 -1
- package/dist/runtime/locale/ua.d.ts +2 -1
- package/dist/runtime/locale/vn.d.ts +2 -1
- package/dist/runtime/prose/Code.vue +1 -1
- package/dist/runtime/prose/Img.vue +1 -1
- package/dist/runtime/prose/Table.vue +74 -0
- package/dist/runtime/prose/Tbody.vue +34 -0
- package/dist/runtime/prose/Td.vue +34 -0
- package/dist/runtime/prose/Th.vue +34 -0
- package/dist/runtime/prose/Thead.vue +34 -0
- package/dist/runtime/prose/Tr.vue +34 -0
- package/dist/runtime/types/index.d.ts +6 -0
- package/dist/runtime/types/index.js +6 -0
- package/dist/runtime/types/locale.d.ts +2 -2
- package/dist/runtime/utils/locale.d.ts +5 -5
- package/dist/runtime/vue/stubs.d.ts +4 -0
- package/dist/runtime/vue/stubs.js +1 -0
- package/dist/shared/{b24ui-nuxt.BH-d1ImO.mjs → b24ui-nuxt.BiEJAB1L.mjs} +55 -1
- package/dist/shared/{b24ui-nuxt.DxEKoBT7.cjs → b24ui-nuxt.yyScbwpE.cjs} +55 -1
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +7 -6
|
@@ -0,0 +1,74 @@
|
|
|
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/table'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseTable = _appConfig as AppConfig & { b24ui: { prose: { table: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseTable = tv({ extend: tv(theme), ...(appConfigProseTable.b24ui?.prose?.table || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseTableProps {
|
|
12
|
+
/**
|
|
13
|
+
* The element or component this component should render as.
|
|
14
|
+
* @defaultValue 'div'
|
|
15
|
+
*/
|
|
16
|
+
as?: any
|
|
17
|
+
/**
|
|
18
|
+
* @defaultValue true
|
|
19
|
+
*/
|
|
20
|
+
rounded?: boolean
|
|
21
|
+
/**
|
|
22
|
+
* @defaultValue true
|
|
23
|
+
*/
|
|
24
|
+
zebra?: boolean
|
|
25
|
+
/**
|
|
26
|
+
* @defaultValue false
|
|
27
|
+
*/
|
|
28
|
+
rowHover?: boolean
|
|
29
|
+
/**
|
|
30
|
+
* @defaultValue false
|
|
31
|
+
*/
|
|
32
|
+
bordered?: boolean
|
|
33
|
+
class?: any
|
|
34
|
+
b24ui?: Partial<typeof proseTable.slots>
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface proseTableSlots {
|
|
38
|
+
default(props?: {}): any
|
|
39
|
+
}
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<script setup lang="ts">
|
|
43
|
+
import B24TableWrapper from './../components/content/TableWrapper.vue'
|
|
44
|
+
|
|
45
|
+
defineOptions({ inheritAttrs: false })
|
|
46
|
+
|
|
47
|
+
const props = withDefaults(defineProps<proseTableProps>(), {
|
|
48
|
+
as: 'div',
|
|
49
|
+
rounded: true,
|
|
50
|
+
zebra: true,
|
|
51
|
+
rowHover: true,
|
|
52
|
+
bordered: true
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
56
|
+
const b24ui = proseTable({})
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<template>
|
|
60
|
+
<B24TableWrapper
|
|
61
|
+
:as="as"
|
|
62
|
+
:class="b24ui.root({ class: [props.class, props.b24ui?.root] })"
|
|
63
|
+
:zebra="props.zebra"
|
|
64
|
+
:row-hover="props.rowHover"
|
|
65
|
+
:rounded="props.rounded"
|
|
66
|
+
:bordered="props.bordered"
|
|
67
|
+
>
|
|
68
|
+
<table
|
|
69
|
+
:class="b24ui.base({ class: props.b24ui?.base })"
|
|
70
|
+
>
|
|
71
|
+
<slot />
|
|
72
|
+
</table>
|
|
73
|
+
</B24TableWrapper>
|
|
74
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
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/tbody'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseTbody = _appConfig as AppConfig & { b24ui: { prose: { tbody: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseTbody = tv({ extend: tv(theme), ...(appConfigProseTbody.b24ui?.prose?.tbody || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseTbodyProps {
|
|
12
|
+
class?: any
|
|
13
|
+
b24ui?: Partial<typeof proseTbody.slots>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface proseTbodySlots {
|
|
17
|
+
default(props?: {}): any
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
const props = defineProps<proseTbodyProps>()
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
25
|
+
const b24ui = proseTbody({})
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<tbody
|
|
30
|
+
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
31
|
+
>
|
|
32
|
+
<slot />
|
|
33
|
+
</tbody>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
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/td'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseTd = _appConfig as AppConfig & { b24ui: { prose: { td: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseTd = tv({ extend: tv(theme), ...(appConfigProseTd.b24ui?.prose?.td || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseTdProps {
|
|
12
|
+
class?: any
|
|
13
|
+
b24ui?: Partial<typeof proseTd.slots>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface proseTdSlots {
|
|
17
|
+
default(props?: {}): any
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
const props = defineProps<proseTdProps>()
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
25
|
+
const b24ui = proseTd({})
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<td
|
|
30
|
+
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
31
|
+
>
|
|
32
|
+
<slot />
|
|
33
|
+
</td>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
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/th'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseTh = _appConfig as AppConfig & { b24ui: { prose: { th: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseTh = tv({ extend: tv(theme), ...(appConfigProseTh.b24ui?.prose?.th || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseThProps {
|
|
12
|
+
class?: any
|
|
13
|
+
b24ui?: Partial<typeof proseTh.slots>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface proseThSlots {
|
|
17
|
+
default(props?: {}): any
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
const props = defineProps<proseThProps>()
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
25
|
+
const b24ui = proseTh({})
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<th
|
|
30
|
+
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
31
|
+
>
|
|
32
|
+
<slot />
|
|
33
|
+
</th>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
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/thead'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseThead = _appConfig as AppConfig & { b24ui: { prose: { thead: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseThead = tv({ extend: tv(theme), ...(appConfigProseThead.b24ui?.prose?.thead || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseTheadProps {
|
|
12
|
+
class?: any
|
|
13
|
+
b24ui?: Partial<typeof proseThead.slots>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface proseTheadSlots {
|
|
17
|
+
default(props?: {}): any
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
const props = defineProps<proseTheadProps>()
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
25
|
+
const b24ui = proseThead({})
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<thead
|
|
30
|
+
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
31
|
+
>
|
|
32
|
+
<slot />
|
|
33
|
+
</thead>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
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/tr'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseTr = _appConfig as AppConfig & { b24ui: { prose: { tr: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseTr = tv({ extend: tv(theme), ...(appConfigProseTr.b24ui?.prose?.tr || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseTrProps {
|
|
12
|
+
class?: any
|
|
13
|
+
b24ui?: Partial<typeof proseTr.slots>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface proseTrSlots {
|
|
17
|
+
default(props?: {}): any
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
const props = defineProps<proseTrProps>()
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
25
|
+
const b24ui = proseTr({})
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<tr
|
|
30
|
+
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
31
|
+
>
|
|
32
|
+
<slot />
|
|
33
|
+
</tr>
|
|
34
|
+
</template>
|
|
@@ -51,6 +51,12 @@ export * from '../prose/Ol.vue';
|
|
|
51
51
|
export * from '../prose/Ul.vue';
|
|
52
52
|
export * from '../prose/Li.vue';
|
|
53
53
|
export * from '../prose/Hr.vue';
|
|
54
|
+
export * from '../prose/Table.vue';
|
|
55
|
+
export * from '../prose/Thead.vue';
|
|
56
|
+
export * from '../prose/Tbody.vue';
|
|
57
|
+
export * from '../prose/Tr.vue';
|
|
58
|
+
export * from '../prose/Th.vue';
|
|
59
|
+
export * from '../prose/Td.vue';
|
|
54
60
|
export * from '../prose/Img.vue';
|
|
55
61
|
export * from '../prose/Code.vue';
|
|
56
62
|
export * from '../prose/Pre.vue';
|
|
@@ -51,6 +51,12 @@ export * from "../prose/Ol.vue";
|
|
|
51
51
|
export * from "../prose/Ul.vue";
|
|
52
52
|
export * from "../prose/Li.vue";
|
|
53
53
|
export * from "../prose/Hr.vue";
|
|
54
|
+
export * from "../prose/Table.vue";
|
|
55
|
+
export * from "../prose/Thead.vue";
|
|
56
|
+
export * from "../prose/Tbody.vue";
|
|
57
|
+
export * from "../prose/Tr.vue";
|
|
58
|
+
export * from "../prose/Th.vue";
|
|
59
|
+
export * from "../prose/Td.vue";
|
|
54
60
|
export * from "../prose/Img.vue";
|
|
55
61
|
export * from "../prose/Code.vue";
|
|
56
62
|
export * from "../prose/Pre.vue";
|
|
@@ -3,13 +3,13 @@ import type { Locale, Direction } from '../types/locale';
|
|
|
3
3
|
import type { MaybeRef } from '@vueuse/core';
|
|
4
4
|
export type TranslatorOption = Record<string, string | number>;
|
|
5
5
|
export type Translator = (path: string, option?: TranslatorOption) => string;
|
|
6
|
-
export type LocaleContext = {
|
|
7
|
-
locale: Ref<Locale
|
|
6
|
+
export type LocaleContext<M> = {
|
|
7
|
+
locale: Ref<Locale<M>>;
|
|
8
8
|
lang: Ref<string>;
|
|
9
9
|
dir: Ref<Direction>;
|
|
10
10
|
code: Ref<string>;
|
|
11
11
|
t: Translator;
|
|
12
12
|
};
|
|
13
|
-
export declare function buildTranslator(locale: MaybeRef<Locale
|
|
14
|
-
export declare function translate(path: string, option: undefined | TranslatorOption, locale: Locale): string;
|
|
15
|
-
export declare function buildLocaleContext(locale: MaybeRef<Locale
|
|
13
|
+
export declare function buildTranslator<M>(locale: MaybeRef<Locale<M>>): Translator;
|
|
14
|
+
export declare function translate<M>(path: string, option: undefined | TranslatorOption, locale: Locale<M>): string;
|
|
15
|
+
export declare function buildLocaleContext<M>(locale: MaybeRef<Locale<M>>): LocaleContext<M>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { NuxtApp } from '#app';
|
|
3
|
+
/**
|
|
4
|
+
* @todo not use @unhead/vue/legacy
|
|
5
|
+
*/
|
|
3
6
|
export { useHead } from '@unhead/vue/legacy';
|
|
4
7
|
export { useRoute, useRouter } from 'vue-router';
|
|
5
8
|
export { defineShortcuts } from '../composables/defineShortcuts';
|
|
9
|
+
export { defineLocale } from '../composables/defineLocale';
|
|
6
10
|
export { useLocale } from '../composables/useLocale';
|
|
7
11
|
export { useConfetti } from '../composables/useConfetti';
|
|
8
12
|
export { useOverlay } from '../composables/useOverlay';
|
|
@@ -4,6 +4,7 @@ import { useColorMode as useColorModeVueUse } from "@vueuse/core";
|
|
|
4
4
|
export { useHead } from "@unhead/vue/legacy";
|
|
5
5
|
export { useRoute, useRouter } from "vue-router";
|
|
6
6
|
export { defineShortcuts } from "../composables/defineShortcuts.js";
|
|
7
|
+
export { defineLocale } from "../composables/defineLocale.js";
|
|
7
8
|
export { useLocale } from "../composables/useLocale.js";
|
|
8
9
|
export { useConfetti } from "../composables/useConfetti.js";
|
|
9
10
|
export { useOverlay } from "../composables/useOverlay.js";
|
|
@@ -5534,6 +5534,54 @@ const hr = {
|
|
|
5534
5534
|
}
|
|
5535
5535
|
};
|
|
5536
5536
|
|
|
5537
|
+
const table = {
|
|
5538
|
+
slots: {
|
|
5539
|
+
root: [
|
|
5540
|
+
"my-4",
|
|
5541
|
+
"overflow-x-auto"
|
|
5542
|
+
].join(" "),
|
|
5543
|
+
base: ""
|
|
5544
|
+
}
|
|
5545
|
+
};
|
|
5546
|
+
|
|
5547
|
+
const thead = {
|
|
5548
|
+
slots: {
|
|
5549
|
+
base: [
|
|
5550
|
+
"bg-base-50",
|
|
5551
|
+
"dark:bg-base-600"
|
|
5552
|
+
].join(" ")
|
|
5553
|
+
}
|
|
5554
|
+
};
|
|
5555
|
+
|
|
5556
|
+
const tbody = {
|
|
5557
|
+
slots: {
|
|
5558
|
+
base: ""
|
|
5559
|
+
}
|
|
5560
|
+
};
|
|
5561
|
+
|
|
5562
|
+
const tr = {
|
|
5563
|
+
slots: {
|
|
5564
|
+
base: ""
|
|
5565
|
+
}
|
|
5566
|
+
};
|
|
5567
|
+
|
|
5568
|
+
const th = {
|
|
5569
|
+
slots: {
|
|
5570
|
+
base: ""
|
|
5571
|
+
}
|
|
5572
|
+
};
|
|
5573
|
+
|
|
5574
|
+
const td = {
|
|
5575
|
+
slots: {
|
|
5576
|
+
base: [
|
|
5577
|
+
"[&_code]:text-xs/5",
|
|
5578
|
+
"[&_p]:my-0 [&_p]:leading-6",
|
|
5579
|
+
"[&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5",
|
|
5580
|
+
"[&_li]:leading-6 [&_li]:my-0.5"
|
|
5581
|
+
].join(" ")
|
|
5582
|
+
}
|
|
5583
|
+
};
|
|
5584
|
+
|
|
5537
5585
|
const img = {
|
|
5538
5586
|
slots: {
|
|
5539
5587
|
base: ""
|
|
@@ -5632,6 +5680,12 @@ const themeProse = {
|
|
|
5632
5680
|
p: p,
|
|
5633
5681
|
pre: pre,
|
|
5634
5682
|
strong: strong,
|
|
5683
|
+
table: table,
|
|
5684
|
+
tbody: tbody,
|
|
5685
|
+
td: td,
|
|
5686
|
+
th: th,
|
|
5687
|
+
thead: thead,
|
|
5688
|
+
tr: tr,
|
|
5635
5689
|
ul: ul
|
|
5636
5690
|
};
|
|
5637
5691
|
|
|
@@ -5684,7 +5738,7 @@ const tableWrapper = {
|
|
|
5684
5738
|
},
|
|
5685
5739
|
rounded: {
|
|
5686
5740
|
true: "rounded-md",
|
|
5687
|
-
false: "
|
|
5741
|
+
false: ""
|
|
5688
5742
|
},
|
|
5689
5743
|
zebra: {
|
|
5690
5744
|
true: [
|
|
@@ -5536,6 +5536,54 @@ const hr = {
|
|
|
5536
5536
|
}
|
|
5537
5537
|
};
|
|
5538
5538
|
|
|
5539
|
+
const table = {
|
|
5540
|
+
slots: {
|
|
5541
|
+
root: [
|
|
5542
|
+
"my-4",
|
|
5543
|
+
"overflow-x-auto"
|
|
5544
|
+
].join(" "),
|
|
5545
|
+
base: ""
|
|
5546
|
+
}
|
|
5547
|
+
};
|
|
5548
|
+
|
|
5549
|
+
const thead = {
|
|
5550
|
+
slots: {
|
|
5551
|
+
base: [
|
|
5552
|
+
"bg-base-50",
|
|
5553
|
+
"dark:bg-base-600"
|
|
5554
|
+
].join(" ")
|
|
5555
|
+
}
|
|
5556
|
+
};
|
|
5557
|
+
|
|
5558
|
+
const tbody = {
|
|
5559
|
+
slots: {
|
|
5560
|
+
base: ""
|
|
5561
|
+
}
|
|
5562
|
+
};
|
|
5563
|
+
|
|
5564
|
+
const tr = {
|
|
5565
|
+
slots: {
|
|
5566
|
+
base: ""
|
|
5567
|
+
}
|
|
5568
|
+
};
|
|
5569
|
+
|
|
5570
|
+
const th = {
|
|
5571
|
+
slots: {
|
|
5572
|
+
base: ""
|
|
5573
|
+
}
|
|
5574
|
+
};
|
|
5575
|
+
|
|
5576
|
+
const td = {
|
|
5577
|
+
slots: {
|
|
5578
|
+
base: [
|
|
5579
|
+
"[&_code]:text-xs/5",
|
|
5580
|
+
"[&_p]:my-0 [&_p]:leading-6",
|
|
5581
|
+
"[&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5",
|
|
5582
|
+
"[&_li]:leading-6 [&_li]:my-0.5"
|
|
5583
|
+
].join(" ")
|
|
5584
|
+
}
|
|
5585
|
+
};
|
|
5586
|
+
|
|
5539
5587
|
const img = {
|
|
5540
5588
|
slots: {
|
|
5541
5589
|
base: ""
|
|
@@ -5634,6 +5682,12 @@ const themeProse = {
|
|
|
5634
5682
|
p: p,
|
|
5635
5683
|
pre: pre,
|
|
5636
5684
|
strong: strong,
|
|
5685
|
+
table: table,
|
|
5686
|
+
tbody: tbody,
|
|
5687
|
+
td: td,
|
|
5688
|
+
th: th,
|
|
5689
|
+
thead: thead,
|
|
5690
|
+
tr: tr,
|
|
5637
5691
|
ul: ul
|
|
5638
5692
|
};
|
|
5639
5693
|
|
|
@@ -5686,7 +5740,7 @@ const tableWrapper = {
|
|
|
5686
5740
|
},
|
|
5687
5741
|
rounded: {
|
|
5688
5742
|
true: "rounded-md",
|
|
5689
|
-
false: "
|
|
5743
|
+
false: ""
|
|
5690
5744
|
},
|
|
5691
5745
|
zebra: {
|
|
5692
5746
|
true: [
|
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.
|
|
8
|
+
const templates = require('./shared/b24ui-nuxt.yyScbwpE.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.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.BiEJAB1L.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
package/dist/vite.mjs
CHANGED