@sheinx/base 3.7.0-beta.38 → 3.7.0-beta.39
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/cjs/grid/util.js +2 -2
- package/esm/grid/util.js +2 -2
- package/package.json +2 -2
package/cjs/grid/util.js
CHANGED
|
@@ -28,12 +28,12 @@ function createStyle(text, id) {
|
|
|
28
28
|
}
|
|
29
29
|
function generateGrid(width, className, responsive) {
|
|
30
30
|
var minWidth = RESPONSIVE[responsive];
|
|
31
|
-
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(className, "{width: ").concat(width, "%} }");
|
|
31
|
+
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(GridClassName, ".").concat(className, "{width: ").concat(width, "%} }");
|
|
32
32
|
createStyle(text, className);
|
|
33
33
|
}
|
|
34
34
|
function generateOffset(width, className, responsive) {
|
|
35
35
|
var minWidth = RESPONSIVE[responsive];
|
|
36
|
-
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(className, "{margin-left: ").concat(width, "%} }");
|
|
36
|
+
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(GridClassName, ".").concat(className, "{margin-left: ").concat(width, "%} }");
|
|
37
37
|
createStyle(text, className);
|
|
38
38
|
}
|
|
39
39
|
function generate(w, type, res) {
|
package/esm/grid/util.js
CHANGED
|
@@ -22,12 +22,12 @@ function createStyle(text, id) {
|
|
|
22
22
|
}
|
|
23
23
|
function generateGrid(width, className, responsive) {
|
|
24
24
|
var minWidth = RESPONSIVE[responsive];
|
|
25
|
-
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(className, "{width: ").concat(width, "%} }");
|
|
25
|
+
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(GridClassName, ".").concat(className, "{width: ").concat(width, "%} }");
|
|
26
26
|
createStyle(text, className);
|
|
27
27
|
}
|
|
28
28
|
function generateOffset(width, className, responsive) {
|
|
29
29
|
var minWidth = RESPONSIVE[responsive];
|
|
30
|
-
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(className, "{margin-left: ").concat(width, "%} }");
|
|
30
|
+
var text = "@media screen and (min-width: ".concat(minWidth, "px) { .").concat(GridClassName, ".").concat(className, "{margin-left: ").concat(width, "%} }");
|
|
31
31
|
createStyle(text, className);
|
|
32
32
|
}
|
|
33
33
|
function generate(w, type, res) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.7.0-beta.
|
|
3
|
+
"version": "3.7.0-beta.39",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.7.0-beta.
|
|
13
|
+
"@sheinx/hooks": "3.7.0-beta.39",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|