@snabcentr/vue-ui-lib 2.15.2 → 2.16.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/dist/manifest.json +2 -2
- package/dist/release_notes.tmp +2 -8
- package/dist/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +1732 -1741
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +74 -74
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/contacts/email.vue.d.ts +1 -1
- package/dist/src/components/debt.vue.d.ts +2 -2
- package/dist/src/providers/ui-provider/ui-provider.d.ts +1 -2
- package/dist/src/window/index.d.ts +0 -1
- package/dist/tailwind.config.js +20 -0
- package/package.json +6 -5
- package/dist/src/window/enums/index.d.ts +0 -1
- package/dist/src/window/enums/window-resolution-enum.d.ts +0 -17
@@ -22,5 +22,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
22
22
|
}> & Readonly<{}>, {
|
23
23
|
email: string;
|
24
24
|
showEmailIcon: boolean;
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
26
26
|
export default _default;
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
11
11
|
*/
|
12
12
|
showLabel?: boolean;
|
13
13
|
/**
|
14
|
-
* Признак необходимости
|
14
|
+
* Признак необходимости представить значение маленьким текстом.
|
15
15
|
*/
|
16
16
|
wrapAsSmall?: boolean;
|
17
17
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
@@ -24,7 +24,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
24
24
|
*/
|
25
25
|
showLabel?: boolean;
|
26
26
|
/**
|
27
|
-
* Признак необходимости
|
27
|
+
* Признак необходимости представить значение маленьким текстом.
|
28
28
|
*/
|
29
29
|
wrapAsSmall?: boolean;
|
30
30
|
}> & Readonly<{}>, {
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { IUiConfig } from '../../configs/interfaces';
|
2
|
-
import { WindowResolutionEnum } from '
|
3
|
-
import { IFieldValidationResultData, IHttpResponseError } from '@snabcentr/common-lib';
|
2
|
+
import { IFieldValidationResultData, IHttpResponseError, WindowResolutionEnum } from '@snabcentr/common-lib';
|
4
3
|
import { MessageApiInjection } from 'naive-ui/es/message/src/MessageProvider';
|
5
4
|
import { NotificationApiInjection } from 'naive-ui/es/notification/src/NotificationProvider';
|
6
5
|
import { Ref } from 'vue';
|
package/dist/tailwind.config.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
/* eslint-disable import/no-extraneous-dependencies,global-require */
|
2
|
+
|
1
3
|
module.exports = {
|
2
4
|
content: ['./example/**/*.{vue,js,ts,jsx,tsx}', './src/**/*.{vue,js,ts,jsx,tsx}'],
|
3
5
|
corePlugins: {
|
@@ -5,6 +7,7 @@ module.exports = {
|
|
5
7
|
visibility: false // Отключён из-за конфликтов в iternal Ui. Переопределён ниже.
|
6
8
|
},
|
7
9
|
plugins: [
|
10
|
+
require('@tailwindcss/container-queries'),
|
8
11
|
({ addUtilities }) => {
|
9
12
|
// Переопределяем visible классы.
|
10
13
|
addUtilities({
|
@@ -15,6 +18,23 @@ module.exports = {
|
|
15
18
|
}
|
16
19
|
],
|
17
20
|
theme: {
|
21
|
+
fontSize: {
|
22
|
+
xs: ['var(--sc-text-xs, 0.75rem)', {
|
23
|
+
lineHeight: 'var(--sc-text-xs-line-height, 1rem)',
|
24
|
+
}],
|
25
|
+
sm: ['var(--sc-text-sm, 0.875rem)', {
|
26
|
+
lineHeight: 'var(--sc-text-sm-line-height, 1.25rem)',
|
27
|
+
}],
|
28
|
+
base: ['var(--sc-text-base, 1rem)', {
|
29
|
+
lineHeight: 'var(--sc-text-base-line-height, 1.5rem)',
|
30
|
+
}],
|
31
|
+
lg: ['var(--sc-text-lg, 1.125rem)', {
|
32
|
+
lineHeight: 'var(--sc-text-lg-line-height, 1.75rem)',
|
33
|
+
}],
|
34
|
+
xl: ['var(--sc-text-xl, 1.25rem)', {
|
35
|
+
lineHeight: 'var(--sc-text-xl-line-height, 1.75rem)',
|
36
|
+
}],
|
37
|
+
},
|
18
38
|
screens: {
|
19
39
|
sm: '600px',
|
20
40
|
md: '768px',
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"keywords": [],
|
5
5
|
"author": "Sergey S. Smirnov <dev@snabcentr.com>",
|
6
6
|
"type": "module",
|
7
|
-
"version": "2.
|
7
|
+
"version": "2.16.1",
|
8
8
|
"license": "ISC",
|
9
9
|
"scripts": {
|
10
10
|
"dev": "vite",
|
@@ -45,7 +45,8 @@
|
|
45
45
|
"@iconify-json/logos": "^1.2.4",
|
46
46
|
"@iconify-json/mdi": "^1.2.3",
|
47
47
|
"@iconify-json/tabler": "^1.2.16",
|
48
|
-
"@snabcentr/common-lib": "^1.
|
48
|
+
"@snabcentr/common-lib": "^1.53.5",
|
49
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
49
50
|
"date-fns": "^3.6.0",
|
50
51
|
"lightgallery": "^2.8.3",
|
51
52
|
"libphonenumber-js": "^1.12.4",
|
@@ -53,6 +54,9 @@
|
|
53
54
|
"mitt": "^3.0.1",
|
54
55
|
"naive-ui": "^2.41.0",
|
55
56
|
"pinia": "^3.0.1",
|
57
|
+
"postcss": "^8.5.3",
|
58
|
+
"sass": "^1.85.1",
|
59
|
+
"tailwindcss": "^3.4.17",
|
56
60
|
"ts-case-convert": "^2.1.0",
|
57
61
|
"vue": "^3.5.13",
|
58
62
|
"vue-tel-input": "^9.3.0"
|
@@ -68,10 +72,7 @@
|
|
68
72
|
"husky": "^9.1.7",
|
69
73
|
"lint-staged": "^15.4.3",
|
70
74
|
"path": "^0.12.7",
|
71
|
-
"postcss": "^8.5.3",
|
72
75
|
"rollup-plugin-visualizer": "^5.14.0",
|
73
|
-
"sass": "^1.85.1",
|
74
|
-
"tailwindcss": "^3.4.17",
|
75
76
|
"two.js": "^0.8.14",
|
76
77
|
"typescript": "~5.8.2",
|
77
78
|
"unplugin-icons": "^22.1.0",
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './window-resolution-enum';
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Перечисление условных разрешений экрана.
|
3
|
-
*/
|
4
|
-
export declare enum WindowResolutionEnum {
|
5
|
-
/**
|
6
|
-
* Мобильный телефон.
|
7
|
-
*/
|
8
|
-
phone = "phone",
|
9
|
-
/**
|
10
|
-
* Планшет.
|
11
|
-
*/
|
12
|
-
tablet = "tablet",
|
13
|
-
/**
|
14
|
-
* Компьютер.
|
15
|
-
*/
|
16
|
-
laptop = "laptop"
|
17
|
-
}
|