@bitrix24/b24ui-nuxt 0.4.0 → 0.4.1
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/index.ts +1 -0
- package/.nuxt/b24ui/modal.ts +1 -1
- package/.nuxt/b24ui/prose/prose-h1.ts +6 -0
- package/.nuxt/b24ui/prose/prose-h2.ts +16 -0
- package/.nuxt/b24ui/prose/prose-h3.ts +16 -0
- package/.nuxt/b24ui/prose/prose-li.ts +5 -0
- package/.nuxt/b24ui/prose/prose-ol.ts +5 -0
- package/.nuxt/b24ui/prose/prose-p.ts +5 -0
- package/.nuxt/b24ui/prose/prose-ul.ts +5 -0
- package/.nuxt/b24ui/slideover.ts +3 -2
- package/dist/meta.cjs +31777 -28683
- package/dist/meta.d.cts +31777 -28683
- package/dist/meta.d.mts +31777 -28683
- package/dist/meta.d.ts +31777 -28683
- package/dist/meta.mjs +31777 -28683
- package/dist/module.cjs +6 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -1
- package/dist/runtime/components/Advice.vue +3 -0
- package/dist/runtime/components/Alert.vue +17 -2
- package/dist/runtime/components/Avatar.vue +7 -0
- package/dist/runtime/components/AvatarGroup.vue +3 -0
- package/dist/runtime/components/Badge.vue +21 -3
- package/dist/runtime/components/Button.vue +37 -7
- package/dist/runtime/components/ButtonGroup.vue +7 -1
- package/dist/runtime/components/Checkbox.vue +6 -0
- package/dist/runtime/components/Chip.vue +18 -2
- package/dist/runtime/components/Countdown.vue +32 -8
- package/dist/runtime/components/{content/DescriptionList.vue → DescriptionList.vue} +19 -8
- package/dist/runtime/components/DropdownMenu.vue +14 -2
- package/dist/runtime/components/DropdownMenuContent.vue +6 -0
- package/dist/runtime/components/FormField.vue +6 -0
- package/dist/runtime/components/Input.vue +50 -6
- package/dist/runtime/components/InputMenu.vue +67 -15
- package/dist/runtime/components/InputNumber.vue +42 -8
- package/dist/runtime/components/Kbd.vue +6 -0
- package/dist/runtime/components/Link.vue +8 -4
- package/dist/runtime/components/Modal.vue +9 -3
- package/dist/runtime/components/Progress.vue +19 -3
- package/dist/runtime/components/RadioGroup.vue +6 -0
- package/dist/runtime/components/Range.vue +9 -1
- package/dist/runtime/components/Select.vue +47 -10
- package/dist/runtime/components/SelectMenu.vue +52 -12
- package/dist/runtime/components/Separator.vue +16 -2
- package/dist/runtime/components/Slideover.vue +12 -2
- package/dist/runtime/components/Switch.vue +19 -3
- package/dist/runtime/components/Tabs.vue +12 -0
- package/dist/runtime/components/Textarea.vue +50 -6
- package/dist/runtime/components/Toast.vue +13 -2
- package/dist/runtime/components/Toaster.vue +8 -0
- package/dist/runtime/components/{prose → content}/TableWrapper.vue +27 -3
- package/dist/runtime/composables/useComponentIcons.d.ts +11 -4
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/prose/ProseH1.vue +36 -0
- package/dist/runtime/prose/ProseH2.vue +36 -0
- package/dist/runtime/prose/ProseH3.vue +36 -0
- package/dist/runtime/prose/ProseLi.vue +36 -0
- package/dist/runtime/prose/ProseOl.vue +36 -0
- package/dist/runtime/prose/ProseP.vue +36 -0
- package/dist/runtime/prose/ProseUl.vue +36 -0
- package/dist/runtime/types/index.d.ts +9 -2
- package/dist/runtime/types/index.js +9 -2
- package/dist/runtime/utils/index.js +1 -1
- package/dist/runtime/vue/components/Link.vue +8 -4
- package/dist/shared/{b24ui-nuxt.CBO0gAWn.mjs → b24ui-nuxt.BGGwh89R.mjs} +198 -83
- package/dist/shared/{b24ui-nuxt.BT9wxrhm.cjs → b24ui-nuxt.CnMGpwQb.cjs} +198 -83
- package/dist/unplugin.cjs +4 -4
- package/dist/unplugin.mjs +4 -4
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +4 -3
- /package/.nuxt/b24ui/{prose → content}/table-wrapper.ts +0 -0
- /package/.nuxt/b24ui/{content/description-list.ts → description-list.ts} +0 -0
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.CnMGpwQb.cjs');
|
|
9
9
|
const tinyglobby = require('tinyglobby');
|
|
10
10
|
const knitwork = require('knitwork');
|
|
11
11
|
const MagicString = require('magic-string');
|
|
@@ -117,8 +117,8 @@ function ComponentImportPlugin(options, meta) {
|
|
|
117
117
|
const componentNames = new Set(components.map((c) => `B24${c.replace(/\.vue$/, "")}`));
|
|
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
|
-
const componentsProse = tinyglobby.globSync("**/*.vue", { cwd: pathe.join(runtimeDir, "
|
|
121
|
-
const componentProseNames = new Set(componentsProse.map((c) =>
|
|
120
|
+
const componentsProse = tinyglobby.globSync("**/*.vue", { cwd: pathe.join(runtimeDir, "prose") });
|
|
121
|
+
const componentProseNames = new Set(componentsProse.map((c) => `${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, "
|
|
132
|
+
return { name: "default", from: pathe.join(runtimeDir, "prose", `${componentName.slice(0)}.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.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.BGGwh89R.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
|
@@ -107,8 +107,8 @@ function ComponentImportPlugin(options, meta) {
|
|
|
107
107
|
const componentNames = new Set(components.map((c) => `B24${c.replace(/\.vue$/, "")}`));
|
|
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
|
-
const componentsProse = globSync("**/*.vue", { cwd: join(runtimeDir, "
|
|
111
|
-
const componentProseNames = new Set(componentsProse.map((c) =>
|
|
110
|
+
const componentsProse = globSync("**/*.vue", { cwd: join(runtimeDir, "prose") });
|
|
111
|
+
const componentProseNames = new Set(componentsProse.map((c) => `${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, "
|
|
122
|
+
return { name: "default", from: join(runtimeDir, "prose", `${componentName.slice(0)}.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
package/dist/vite.mjs
CHANGED
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.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/bitrix24/b24ui.git"
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"types": "./vue-plugin.d.ts"
|
|
36
36
|
},
|
|
37
37
|
"./runtime/*": "./dist/runtime/*",
|
|
38
|
+
"./prose/*": "./dist/runtime/prose/*",
|
|
38
39
|
"./components/*": "./dist/runtime/components/*",
|
|
39
40
|
"./composables/*": "./dist/runtime/composables/*",
|
|
40
41
|
"./types/*": "./dist/runtime/types/*",
|
|
@@ -95,7 +96,7 @@
|
|
|
95
96
|
"knitwork": "^1.2.0",
|
|
96
97
|
"magic-string": "^0.30.17",
|
|
97
98
|
"mlly": "^1.7.4",
|
|
98
|
-
"ohash": "^
|
|
99
|
+
"ohash": "^2.0.10",
|
|
99
100
|
"pathe": "^2.0.3",
|
|
100
101
|
"reka-ui": "^2.0.2",
|
|
101
102
|
"scule": "^1.3.0",
|
|
@@ -111,7 +112,7 @@
|
|
|
111
112
|
"@types/canvas-confetti": "^1.9.0",
|
|
112
113
|
"@nuxt/eslint-config": "^1.1.0",
|
|
113
114
|
"@nuxt/module-builder": "^0.8.4",
|
|
114
|
-
"@nuxt/test-utils": "^3.17.
|
|
115
|
+
"@nuxt/test-utils": "^3.17.1",
|
|
115
116
|
"@standard-schema/spec": "^1.0.0",
|
|
116
117
|
"@vue/test-utils": "^2.4.6",
|
|
117
118
|
"embla-carousel": "^8.5.2",
|
|
File without changes
|
|
File without changes
|