@ldmjs/ui 1.0.0-dev-9 → 1.0.0-dev-10
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/calendar.js +16057 -0
- package/dist/css/calendar.css +29 -0
- package/dist/css/main.css +10 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1279 -792
- package/dist/scss/_calendar.scss +25 -0
- package/dist/scss/_fonts.scss +13 -0
- package/dist/scss/_variables.scss +1 -0
- package/dist/scss/index.scss +2 -0
- package/dist/types/options.d.ts +2 -0
- package/package.json +8 -4
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
body {
|
|
2
|
+
.vc-blue {
|
|
3
|
+
// --vc-accent-50: #eff6ff;
|
|
4
|
+
// --vc-accent-100: #dbeafe;
|
|
5
|
+
--vc-accent-200: var(--secondary);
|
|
6
|
+
--vc-accent-300: var(--primary-l-3);
|
|
7
|
+
--vc-accent-400: var(--primary-l-2);
|
|
8
|
+
--vc-accent-500: var(--primary-l-1);
|
|
9
|
+
--vc-accent-600: var(--primary);
|
|
10
|
+
--vc-accent-700: var(--primary-d-1);
|
|
11
|
+
--vc-accent-800: var(--primary-d-1);
|
|
12
|
+
--vc-accent-900: var(--primary-d-1);
|
|
13
|
+
}
|
|
14
|
+
.vc-highlight-content-solid {
|
|
15
|
+
font-weight: normal;
|
|
16
|
+
color: var(--white);
|
|
17
|
+
}
|
|
18
|
+
.vc-attr {
|
|
19
|
+
--vc-highlight-solid-bg: var(--vc-accent-400) !important;
|
|
20
|
+
}
|
|
21
|
+
.vc-light {
|
|
22
|
+
--vc-rounded-lg: var(--border-radius);
|
|
23
|
+
--vc-border: var(--grey-l-5);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@mixin mix-font-face ($font_name, $font_file) {
|
|
2
|
+
font-family: $font_name;
|
|
3
|
+
src: local('O'),
|
|
4
|
+
url('../fonts/#{$font_file}.woff') format('woff'),
|
|
5
|
+
url('../fonts/#{$font_file}.woff2') format('woff2'),
|
|
6
|
+
url('../fonts/#{$font_file}.ttf') format('truetype');
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
@include mix-font-face('Roboto', Roboto-Regular);
|
|
13
|
+
}
|
package/dist/scss/index.scss
CHANGED
package/dist/types/options.d.ts
CHANGED
|
@@ -7,12 +7,14 @@ export interface ldmuiOptions {
|
|
|
7
7
|
'ld-toggle-buttons'?: string;
|
|
8
8
|
'ld-breadcrumbs'?: string;
|
|
9
9
|
'ld-edit-text'?: string;
|
|
10
|
+
'ld-datepicker'?: string;
|
|
10
11
|
},
|
|
11
12
|
viewport?: {
|
|
12
13
|
isMobile: string;
|
|
13
14
|
isTablet: string;
|
|
14
15
|
isDesktop: string;
|
|
15
16
|
},
|
|
17
|
+
language?: 'ru',
|
|
16
18
|
LdIcon?: {
|
|
17
19
|
path: string;
|
|
18
20
|
map: {
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
3
|
+
"version": "1.0.0-dev-10",
|
|
4
4
|
"description": "ldm ui",
|
|
5
|
-
"main": "dist/index
|
|
5
|
+
"main": "dist/index.сjs",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=16",
|
|
8
8
|
"npm": ">=8"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"dev": "webpack serve --config config/webpack.config.dev.js --progress --profile",
|
|
12
|
-
"build": "webpack --config config/webpack.config.build.js --stats-error-details",
|
|
11
|
+
"dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile",
|
|
12
|
+
"build": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.js --stats-error-details",
|
|
13
13
|
"serve": "webpack serve --config config/webpack.config.serve.js --progress --profile",
|
|
14
14
|
"test": "jest --runInBand --no-cache",
|
|
15
15
|
"pub": "node config/publish.js && npm publish --access=public"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"@babel/plugin-transform-typescript": "7.23.6",
|
|
42
42
|
"@babel/preset-env": "7.23.6",
|
|
43
43
|
"@babel/preset-typescript": "7.23.3",
|
|
44
|
+
"@popperjs/core": "^2.11.8",
|
|
44
45
|
"@types/babel__core": "^7",
|
|
45
46
|
"@types/babel__plugin-transform-runtime": "^7",
|
|
46
47
|
"@types/babel__preset-env": "^7",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"babel-jest": "29.5.0",
|
|
57
58
|
"babel-plugin-const-enum": "1.2.0",
|
|
58
59
|
"copy-webpack-plugin": "^12.0.2",
|
|
60
|
+
"cross-env": "^7.0.3",
|
|
59
61
|
"css-loader": "6.8.1",
|
|
60
62
|
"eslint": "8.56.0",
|
|
61
63
|
"html-webpack-plugin": "5.6.0",
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
"jest-transform-stub": "2.0.0",
|
|
65
67
|
"lodash-es": "4.17.21",
|
|
66
68
|
"material-design-icons-iconfont": "^6.7.0",
|
|
69
|
+
"mini-css-extract-plugin": "2.8.0",
|
|
67
70
|
"node-sass": "9.0.0",
|
|
68
71
|
"postcss-loader": "7.3.3",
|
|
69
72
|
"sass": "1.69.5",
|
|
@@ -73,6 +76,7 @@
|
|
|
73
76
|
"ts-jest": "29.0.3",
|
|
74
77
|
"ts-loader": "9.5.1",
|
|
75
78
|
"typescript": "4.9.5",
|
|
79
|
+
"v-calendar": "3.1.2",
|
|
76
80
|
"vue": "3.4.21",
|
|
77
81
|
"vue-class-component": "8.0.0-rc.1",
|
|
78
82
|
"vue-eslint-parser": "9.4.2",
|