@ldmjs/ui 1.0.0-dev-5 → 1.0.0-dev-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/LICENSE +21 -0
- package/README.md +113 -2
- package/dist/index.js +1154 -28
- package/dist/scss/_chip.scss +68 -0
- package/dist/scss/_variables.scss +2 -0
- package/dist/scss/index.scss +1 -0
- package/package.json +67 -60
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
body {
|
|
2
|
+
.v-chip {
|
|
3
|
+
.v-chip__close .v-icon {
|
|
4
|
+
font-size: 16px !important;
|
|
5
|
+
}
|
|
6
|
+
.v-chip__content {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
text-overflow: ellipsis;
|
|
9
|
+
display: flex;
|
|
10
|
+
height: 100%;
|
|
11
|
+
|
|
12
|
+
svg {
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.v-chip.v-chip--density-compact {
|
|
18
|
+
height: var(--chip-height);
|
|
19
|
+
|
|
20
|
+
&.text-grey {
|
|
21
|
+
border: 1px solid var(--grey);
|
|
22
|
+
color: var(--grey) !important;
|
|
23
|
+
.v-icon {
|
|
24
|
+
color: var(--grey) !important;
|
|
25
|
+
}
|
|
26
|
+
svg {
|
|
27
|
+
color: var(--grey) !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&.text-primary {
|
|
31
|
+
border: 1px solid var(--primary-l-2);
|
|
32
|
+
color: var(--primary-l-2) !important;
|
|
33
|
+
.v-icon {
|
|
34
|
+
color: var(--primary-l-2) !important;
|
|
35
|
+
}
|
|
36
|
+
svg {
|
|
37
|
+
color: var(--primary-l-2) !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.--active {
|
|
41
|
+
background-color: var(--primary-l-2) !important;
|
|
42
|
+
color: var(--white) !important;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.v-chip--badge {
|
|
47
|
+
border-radius: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.v-chip--variant-tonal {
|
|
52
|
+
background-color: var(--primary-l-2);
|
|
53
|
+
color: var(--white);
|
|
54
|
+
.v-chip__underlay {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
.v-chip__close {
|
|
58
|
+
opacity: 0.6;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.v-chip.small-chip {
|
|
63
|
+
font-size: var(--font-size);
|
|
64
|
+
}
|
|
65
|
+
.v-chip.v-chip--badge {
|
|
66
|
+
font-size: var(--font-size);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
$font-size: 12px !default; // основной шрифт приложения
|
|
2
2
|
$input-height: 28px !default; // высота атомарного элемента ui (button, input)
|
|
3
3
|
$border-radius: 4px !default; // радиус скругления атомарного элемента ui
|
|
4
|
+
$chip-height: 20px !default; // высота элемента chip
|
|
4
5
|
|
|
5
6
|
:root {
|
|
6
7
|
--font-size: #{$font-size};
|
|
7
8
|
--input-height: #{$input-height};
|
|
8
9
|
--border-radius: #{$border-radius};
|
|
10
|
+
--chip-height: #{$chip-height};
|
|
9
11
|
}
|
package/dist/scss/index.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,60 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
4
|
-
"description": "ldm ui",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">=16",
|
|
8
|
-
"npm": ">=8"
|
|
9
|
-
},
|
|
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"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"webpack": "5.
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ldmjs/ui",
|
|
3
|
+
"version": "1.0.0-dev-6",
|
|
4
|
+
"description": "ldm ui",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=16",
|
|
8
|
+
"npm": ">=8"
|
|
9
|
+
},
|
|
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",
|
|
13
|
+
"test": "webpack serve --config config/webpack.config.test.js --progress --profile"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/ldmjs/ui.git"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"ldm",
|
|
21
|
+
"ui"
|
|
22
|
+
],
|
|
23
|
+
"author": "ldmjs <nevezhin@lanit.ru>",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/ldmjs/ui/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/ldmjs/ui#readme",
|
|
29
|
+
"files": [
|
|
30
|
+
"dist/"
|
|
31
|
+
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"lodash-es": "4.17.21",
|
|
34
|
+
"vue": "3.4.21",
|
|
35
|
+
"vuetify": "3.5.9"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/eslint": "^8",
|
|
39
|
+
"@types/lodash-es": "^4",
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "5.41.0",
|
|
41
|
+
"@typescript-eslint/parser": "5.41.0",
|
|
42
|
+
"copy-webpack-plugin": "^12.0.2",
|
|
43
|
+
"css-loader": "6.8.1",
|
|
44
|
+
"eslint": "8.56.0",
|
|
45
|
+
"html-webpack-plugin": "5.6.0",
|
|
46
|
+
"material-design-icons-iconfont": "^6.7.0",
|
|
47
|
+
"node-sass": "9.0.0",
|
|
48
|
+
"postcss-loader": "7.3.3",
|
|
49
|
+
"sass": "1.69.5",
|
|
50
|
+
"sass-loader": "13.3.2",
|
|
51
|
+
"style-loader": "3.3.3",
|
|
52
|
+
"terser-webpack-plugin": "5.3.10",
|
|
53
|
+
"ts-loader": "9.5.1",
|
|
54
|
+
"typescript": "4.9.5",
|
|
55
|
+
"vue-class-component": "8.0.0-rc.1",
|
|
56
|
+
"vue-eslint-parser": "9.4.2",
|
|
57
|
+
"vue-loader": "17.3.1",
|
|
58
|
+
"vue-property-decorator": "10.0.0-rc.3",
|
|
59
|
+
"webpack": "5.90.2",
|
|
60
|
+
"webpack-cli": "5.1.4",
|
|
61
|
+
"webpack-dev-server": "4.15.1",
|
|
62
|
+
"webpack-plugin-vuetify": "2.0.1"
|
|
63
|
+
},
|
|
64
|
+
"volta": {
|
|
65
|
+
"node": "16.20.0"
|
|
66
|
+
}
|
|
67
|
+
}
|