@wui-js/plugins 0.4.0 → 0.5.2
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/package.json +9 -10
- package/themes/default/{dark-0.2.css → dark-0.3.css} +9 -5
- package/themes/default/{light-0.2.css → light-0.3.css} +9 -5
- package/themes/default/{settings-0.2.css → settings-0.3.css} +2 -2
- package/themes/{wuiplugin-themes-0.3.css → wuiplugin-themes-0.4.css} +7 -3
- package/themes/{wuiplugin-themes-0.3.js → wuiplugin-themes-0.4.js} +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wui-js/plugins",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.5.2",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"author": "Sergio E. Belmar V. <wuijs.project@gmail.com>",
|
|
6
|
+
"description": "WUI/JS Plugins Lib - WUI/JS Plugins Lib is an open-source JavaScript/CSS library that provides a collection of plugins for WUI/JS Main Lib classes.",
|
|
5
7
|
"keywords": [
|
|
6
8
|
"ui",
|
|
7
9
|
"components",
|
|
@@ -13,25 +15,22 @@
|
|
|
13
15
|
"library"
|
|
14
16
|
],
|
|
15
17
|
"homepage": "https://wuijs.dev",
|
|
16
|
-
"bugs": {
|
|
17
|
-
"url": "https://github.com/wui-js/wuijs-plugins-lib/issues"
|
|
18
|
-
},
|
|
19
18
|
"repository": {
|
|
20
19
|
"type": "git",
|
|
21
20
|
"url": "git+https://github.com/wui-js/wuijs-plugins-lib.git"
|
|
22
21
|
},
|
|
23
|
-
"
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/wui-js/wuijs-plugins-lib/issues"
|
|
24
|
+
},
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|
|
26
27
|
},
|
|
27
|
-
"author": "Sergio E. Belmar V. <wuijs.project@gmail.com>",
|
|
28
28
|
"files": [
|
|
29
|
-
"LICENSE",
|
|
30
29
|
"selector",
|
|
31
30
|
"themes"
|
|
32
31
|
],
|
|
33
32
|
"scripts": {
|
|
34
|
-
"prepack": "
|
|
35
|
-
"postpack": "
|
|
33
|
+
"prepack": "rm README.md && cp NPM.md README.md && cp -r src/wui-js/plugins/. .",
|
|
34
|
+
"postpack": "rm -f README.md && ln -s docs/README-en.md README.md && ls src/wui-js/plugins/ | grep -vE '^LICENSE$' | xargs rm -rf"
|
|
36
35
|
}
|
|
37
36
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @file dark-0.
|
|
3
|
-
* @version 0.
|
|
2
|
+
* @file dark-0.3.css
|
|
3
|
+
* @version 0.3
|
|
4
4
|
* @author Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
5
5
|
* @copyright Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
.wuiplugin-themes.default.dark {
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/* wuiplugin-theme */
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
--wuiplugin-theme-name: "default";
|
|
13
13
|
|
|
14
14
|
/* wui-scrolly */
|
|
15
15
|
|
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
--wui-modal-slidepage-box-margin: 10px;
|
|
66
66
|
--wui-modal-smallpage-box-width: 340px;
|
|
67
67
|
--wui-modal-smallpage-box-height: 280px;
|
|
68
|
+
--wui-modal-mobile-page-box-topmargin: 0px;
|
|
69
|
+
--wui-modal-mobile-page-box-borderradius-maximized: 0px;
|
|
68
70
|
|
|
69
71
|
/* wui-paging */
|
|
70
72
|
|
|
@@ -138,13 +140,15 @@
|
|
|
138
140
|
--wui-menubar-tooltip-textcolor: #fff;
|
|
139
141
|
--wui-menubar-bubble-bgcolor: #f44343;
|
|
140
142
|
--wui-menubar-bubble-textcolor: #fff;
|
|
143
|
+
--wui-menubar-mobile-bar-horizpadding: 10px;
|
|
144
|
+
--wui-menubar-mobile-bar-vertpadding: 0px;
|
|
141
145
|
--wui-menubar-mobile-opener-closeicon-src: none;
|
|
142
146
|
|
|
143
147
|
/* wui-list */
|
|
144
148
|
|
|
145
149
|
--wui-list-shadowcolor: #1f2937;
|
|
146
150
|
--wui-list-borderradius: 10px;
|
|
147
|
-
--wui-list-borderwidth:
|
|
151
|
+
--wui-list-borderwidth: 0px;
|
|
148
152
|
--wui-list-bordercolor: #374151;
|
|
149
153
|
--wui-list-scroll-bgcolor-out: rgb(from #4b5563 r g b / 20%);
|
|
150
154
|
--wui-list-scroll-bgcolor-over: rgb(from #4b5563 r g b / 40%);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @file light-0.
|
|
3
|
-
* @version 0.
|
|
2
|
+
* @file light-0.3.css
|
|
3
|
+
* @version 0.3
|
|
4
4
|
* @author Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
5
5
|
* @copyright Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
.wuiplugin-themes.default.light {
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/* wuiplugin-theme */
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
--wuiplugin-theme-name: "default";
|
|
13
13
|
|
|
14
14
|
/* wui-scrolly */
|
|
15
15
|
|
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
--wui-modal-slidepage-box-margin: 10px;
|
|
66
66
|
--wui-modal-smallpage-box-width: 340px;
|
|
67
67
|
--wui-modal-smallpage-box-height: 280px;
|
|
68
|
+
--wui-modal-mobile-page-box-topmargin: 0px;
|
|
69
|
+
--wui-modal-mobile-page-box-borderradius-maximized: 0px;
|
|
68
70
|
|
|
69
71
|
/* wui-paging */
|
|
70
72
|
|
|
@@ -138,13 +140,15 @@
|
|
|
138
140
|
--wui-menubar-tooltip-textcolor: #fff;
|
|
139
141
|
--wui-menubar-bubble-bgcolor: #f44343;
|
|
140
142
|
--wui-menubar-bubble-textcolor: #fff;
|
|
143
|
+
--wui-menubar-mobile-bar-horizpadding: 10px;
|
|
144
|
+
--wui-menubar-mobile-bar-vertpadding: 0px;
|
|
141
145
|
--wui-menubar-mobile-opener-closeicon-src: none;
|
|
142
146
|
|
|
143
147
|
/* wui-list */
|
|
144
148
|
|
|
145
149
|
--wui-list-shadowcolor: #959da5;
|
|
146
150
|
--wui-list-borderradius: 10px;
|
|
147
|
-
--wui-list-borderwidth:
|
|
151
|
+
--wui-list-borderwidth: 0px;
|
|
148
152
|
--wui-list-bordercolor: #f0f0f3;
|
|
149
153
|
--wui-list-scroll-bgcolor-out: rgb(from #353a40 r g b / 20%);
|
|
150
154
|
--wui-list-scroll-bgcolor-over: rgb(from #353a40 r g b / 40%);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @file wuiplugin-themes-0.
|
|
3
|
-
* @version 0.
|
|
2
|
+
* @file wuiplugin-themes-0.4.css
|
|
3
|
+
* @version 0.4
|
|
4
4
|
* @author Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
5
5
|
* @copyright Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
6
6
|
*/
|
|
@@ -63,6 +63,8 @@
|
|
|
63
63
|
--wui-modal-slidepage-box-margin: 10px;
|
|
64
64
|
--wui-modal-smallpage-box-width: 340px;
|
|
65
65
|
--wui-modal-smallpage-box-height: 280px;
|
|
66
|
+
--wui-modal-mobile-page-box-topmargin: 0px;
|
|
67
|
+
--wui-modal-mobile-page-box-borderradius-maximized: 0px;
|
|
66
68
|
|
|
67
69
|
/* wui-paging */
|
|
68
70
|
|
|
@@ -136,13 +138,15 @@
|
|
|
136
138
|
--wui-menubar-tooltip-textcolor: #fff;
|
|
137
139
|
--wui-menubar-bubble-bgcolor: var(--wuiplugin-theme-utilitycolor-warning);
|
|
138
140
|
--wui-menubar-bubble-textcolor: #fff;
|
|
141
|
+
--wui-menubar-mobile-bar-horizpadding: 10px;
|
|
142
|
+
--wui-menubar-mobile-bar-vertpadding: 0px;
|
|
139
143
|
--wui-menubar-mobile-opener-closeicon-src: none;
|
|
140
144
|
|
|
141
145
|
/* wui-list */
|
|
142
146
|
|
|
143
147
|
--wui-list-shadowcolor: var(--wuiplugin-theme-shadowcolor-low);
|
|
144
148
|
--wui-list-borderradius: var(--wuiplugin-theme-borderradius-low);
|
|
145
|
-
--wui-list-borderwidth:
|
|
149
|
+
--wui-list-borderwidth: 0px;
|
|
146
150
|
--wui-list-bordercolor: var(--wuiplugin-theme-bordercolor-low);
|
|
147
151
|
--wui-list-scroll-bgcolor-out: rgb(from var(--wuiplugin-theme-bgcolor-scroll) r g b / 20%);
|
|
148
152
|
--wui-list-scroll-bgcolor-over: rgb(from var(--wuiplugin-theme-bgcolor-scroll) r g b / 40%);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @file wuiplugin-themes-0.
|
|
2
|
+
* @file wuiplugin-themes-0.4.js
|
|
3
3
|
* @class WUIPluginThemes
|
|
4
|
-
* @version 0.
|
|
4
|
+
* @version 0.4
|
|
5
5
|
* @author Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
6
6
|
* @copyright Sergio E. Belmar V. (wuijs.project@gmail.com)
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
class WUIPluginThemes {
|
|
10
10
|
|
|
11
|
-
static version = "0.
|
|
11
|
+
static version = "0.4";
|
|
12
12
|
|
|
13
13
|
getScheme() {
|
|
14
14
|
return getComputedStyle(document.documentElement).getPropertyValue("color-scheme").trim();
|