@symbo.ls/scratch 3.14.1 → 3.14.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 +2 -2
- package/dist/cjs/defaultConfig/animation.js +0 -26
- package/dist/cjs/defaultConfig/cases.js +0 -26
- package/dist/cjs/defaultConfig/class.js +0 -27
- package/dist/cjs/defaultConfig/color.js +0 -28
- package/dist/cjs/defaultConfig/document.js +0 -26
- package/dist/cjs/defaultConfig/font-family.js +0 -34
- package/dist/cjs/defaultConfig/font.js +0 -26
- package/dist/cjs/defaultConfig/grid.js +0 -27
- package/dist/cjs/defaultConfig/icons.js +0 -28
- package/dist/cjs/defaultConfig/index.js +0 -222
- package/dist/cjs/defaultConfig/media.js +0 -31
- package/dist/cjs/defaultConfig/responsive.js +0 -52
- package/dist/cjs/defaultConfig/sequence.js +0 -51
- package/dist/cjs/defaultConfig/shadow.js +0 -26
- package/dist/cjs/defaultConfig/spacing.js +0 -87
- package/dist/cjs/defaultConfig/svg.js +0 -28
- package/dist/cjs/defaultConfig/templates.js +0 -26
- package/dist/cjs/defaultConfig/theme.js +0 -26
- package/dist/cjs/defaultConfig/timing.js +0 -68
- package/dist/cjs/defaultConfig/typography.js +0 -72
- package/dist/cjs/defaultConfig/unit.js +0 -28
- package/dist/cjs/factory.js +0 -386
- package/dist/cjs/index.js +0 -6365
- package/dist/cjs/package.json +0 -4
- package/dist/cjs/set.js +0 -5681
- package/dist/cjs/system/color.js +0 -4585
- package/dist/cjs/system/document.js +0 -4396
- package/dist/cjs/system/font.js +0 -4444
- package/dist/cjs/system/index.js +0 -5764
- package/dist/cjs/system/reset.js +0 -4511
- package/dist/cjs/system/shadow.js +0 -4898
- package/dist/cjs/system/spacing.js +0 -4847
- package/dist/cjs/system/svg.js +0 -4496
- package/dist/cjs/system/theme.js +0 -4686
- package/dist/cjs/system/timing.js +0 -4724
- package/dist/cjs/system/typography.js +0 -4821
- package/dist/cjs/tests/index.js +0 -30
- package/dist/cjs/transforms/index.js +0 -5104
- package/dist/cjs/utils/color.js +0 -187
- package/dist/cjs/utils/font.js +0 -91
- package/dist/cjs/utils/index.js +0 -5084
- package/dist/cjs/utils/sequence.js +0 -4711
- package/dist/cjs/utils/sprite.js +0 -426
- package/dist/cjs/utils/theme.js +0 -31
- package/dist/cjs/utils/unit.js +0 -81
- package/dist/cjs/utils/var.js +0 -4450
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@symbo.ls/scratch",
|
|
3
3
|
"description": "Φ / CSS framework and methodology.",
|
|
4
4
|
"author": "symbo.ls",
|
|
5
|
-
"version": "3.14.
|
|
5
|
+
"version": "3.14.2",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
8
8
|
"*.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"prepublish": "npm run build && npm run copy:package:cjs"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@symbo.ls/utils": "^3.14.
|
|
34
|
+
"@symbo.ls/utils": "^3.14.2",
|
|
35
35
|
"color-contrast-checker": "^1.5.0"
|
|
36
36
|
},
|
|
37
37
|
"gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/animation.js
|
|
21
|
-
var animation_exports = {};
|
|
22
|
-
__export(animation_exports, {
|
|
23
|
-
ANIMATION: () => ANIMATION
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(animation_exports);
|
|
26
|
-
var ANIMATION = {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/cases.js
|
|
21
|
-
var cases_exports = {};
|
|
22
|
-
__export(cases_exports, {
|
|
23
|
-
CASES: () => CASES
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(cases_exports);
|
|
26
|
-
var CASES = {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/class.js
|
|
21
|
-
var class_exports = {};
|
|
22
|
-
__export(class_exports, {
|
|
23
|
-
CLASS: () => CLASS
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(class_exports);
|
|
26
|
-
var defaultProps = {};
|
|
27
|
-
var CLASS = defaultProps;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/color.js
|
|
21
|
-
var color_exports = {};
|
|
22
|
-
__export(color_exports, {
|
|
23
|
-
COLOR: () => COLOR,
|
|
24
|
-
GRADIENT: () => GRADIENT
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(color_exports);
|
|
27
|
-
var COLOR = {};
|
|
28
|
-
var GRADIENT = {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/document.js
|
|
21
|
-
var document_exports = {};
|
|
22
|
-
__export(document_exports, {
|
|
23
|
-
DOCUMENT: () => DOCUMENT
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(document_exports);
|
|
26
|
-
var DOCUMENT = {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/font-family.js
|
|
21
|
-
var font_family_exports = {};
|
|
22
|
-
__export(font_family_exports, {
|
|
23
|
-
FONT_FACE: () => FONT_FACE,
|
|
24
|
-
FONT_FAMILY: () => FONT_FAMILY,
|
|
25
|
-
FONT_FAMILY_TYPES: () => FONT_FAMILY_TYPES
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(font_family_exports);
|
|
28
|
-
var FONT_FAMILY = {};
|
|
29
|
-
var FONT_FAMILY_TYPES = {
|
|
30
|
-
"sans-serif": "Helvetica, Arial, sans-serif, --system-default",
|
|
31
|
-
serif: "Times New Roman, Georgia, serif, --system-default",
|
|
32
|
-
monospace: "Courier New, monospace, --system-default"
|
|
33
|
-
};
|
|
34
|
-
var FONT_FACE = {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/font.js
|
|
21
|
-
var font_exports = {};
|
|
22
|
-
__export(font_exports, {
|
|
23
|
-
FONT: () => FONT
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(font_exports);
|
|
26
|
-
var FONT = {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/grid.js
|
|
21
|
-
var grid_exports = {};
|
|
22
|
-
__export(grid_exports, {
|
|
23
|
-
GRID: () => GRID
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(grid_exports);
|
|
26
|
-
var defaultProps = {};
|
|
27
|
-
var GRID = defaultProps;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/icons.js
|
|
21
|
-
var icons_exports = {};
|
|
22
|
-
__export(icons_exports, {
|
|
23
|
-
ICONS: () => ICONS,
|
|
24
|
-
SEMANTIC_ICONS: () => SEMANTIC_ICONS
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(icons_exports);
|
|
27
|
-
var ICONS = {};
|
|
28
|
-
var SEMANTIC_ICONS = {};
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/index.js
|
|
21
|
-
var defaultConfig_exports = {};
|
|
22
|
-
__export(defaultConfig_exports, {
|
|
23
|
-
ANIMATION: () => ANIMATION,
|
|
24
|
-
BREAKPOINTS: () => BREAKPOINTS,
|
|
25
|
-
CASES: () => CASES,
|
|
26
|
-
CLASS: () => CLASS,
|
|
27
|
-
COLOR: () => COLOR,
|
|
28
|
-
DEVICES: () => DEVICES,
|
|
29
|
-
DOCUMENT: () => DOCUMENT,
|
|
30
|
-
FONT: () => FONT,
|
|
31
|
-
FONT_FACE: () => FONT_FACE,
|
|
32
|
-
FONT_FAMILY: () => FONT_FAMILY,
|
|
33
|
-
FONT_FAMILY_TYPES: () => FONT_FAMILY_TYPES,
|
|
34
|
-
GRADIENT: () => GRADIENT,
|
|
35
|
-
GRID: () => GRID,
|
|
36
|
-
ICONS: () => ICONS,
|
|
37
|
-
MEDIA: () => MEDIA,
|
|
38
|
-
RESET: () => RESET,
|
|
39
|
-
SEMANTIC_ICONS: () => SEMANTIC_ICONS,
|
|
40
|
-
SEQUENCE: () => SEQUENCE,
|
|
41
|
-
SHADOW: () => SHADOW,
|
|
42
|
-
SPACING: () => SPACING,
|
|
43
|
-
SVG: () => SVG,
|
|
44
|
-
SVG_DATA: () => SVG_DATA,
|
|
45
|
-
TEMPLATES: () => TEMPLATES,
|
|
46
|
-
THEME: () => THEME,
|
|
47
|
-
TIMING: () => TIMING,
|
|
48
|
-
TYPOGRAPHY: () => TYPOGRAPHY,
|
|
49
|
-
UNIT: () => UNIT
|
|
50
|
-
});
|
|
51
|
-
module.exports = __toCommonJS(defaultConfig_exports);
|
|
52
|
-
|
|
53
|
-
// src/defaultConfig/sequence.js
|
|
54
|
-
var SEQUENCE = {
|
|
55
|
-
"minor-second": 1.067,
|
|
56
|
-
"major-second": 1.125,
|
|
57
|
-
"minor-third": 1.2,
|
|
58
|
-
"major-third": 1.25,
|
|
59
|
-
"perfect-fourth": 1.333,
|
|
60
|
-
"augmented-fourth": 1.414,
|
|
61
|
-
"perfect-fifth": 1.5,
|
|
62
|
-
"minor-sixth": 1.6,
|
|
63
|
-
phi: 1.618,
|
|
64
|
-
// golden-ratio
|
|
65
|
-
"major-sixth": 1.667,
|
|
66
|
-
"square-root-3": 1.732,
|
|
67
|
-
// theodorus
|
|
68
|
-
"minor-seventh": 1.778,
|
|
69
|
-
"major-seventh": 1.875,
|
|
70
|
-
octave: 2,
|
|
71
|
-
"square-root-5": 2.23,
|
|
72
|
-
// pythagoras
|
|
73
|
-
"major-tenth": 2.5,
|
|
74
|
-
"major-eleventh": 2.667,
|
|
75
|
-
"major-twelfth": 3,
|
|
76
|
-
pi: 3.14,
|
|
77
|
-
// archimedes
|
|
78
|
-
"double-octave": 4
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
// src/defaultConfig/unit.js
|
|
82
|
-
var UNIT = {
|
|
83
|
-
default: "em"
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// src/defaultConfig/typography.js
|
|
87
|
-
var defaultProps = {
|
|
88
|
-
browserDefault: 16,
|
|
89
|
-
base: 16,
|
|
90
|
-
type: "font-size",
|
|
91
|
-
ratio: SEQUENCE["minor-third"],
|
|
92
|
-
range: [-3, 12],
|
|
93
|
-
h1Matches: 6,
|
|
94
|
-
lineHeight: 1.5,
|
|
95
|
-
subSequence: true,
|
|
96
|
-
mediaRegenerate: false,
|
|
97
|
-
unit: "em",
|
|
98
|
-
templates: {},
|
|
99
|
-
sequence: {},
|
|
100
|
-
scales: {},
|
|
101
|
-
vars: {}
|
|
102
|
-
};
|
|
103
|
-
var TYPOGRAPHY = defaultProps;
|
|
104
|
-
|
|
105
|
-
// src/defaultConfig/font.js
|
|
106
|
-
var FONT = {};
|
|
107
|
-
|
|
108
|
-
// src/defaultConfig/font-family.js
|
|
109
|
-
var FONT_FAMILY = {};
|
|
110
|
-
var FONT_FAMILY_TYPES = {
|
|
111
|
-
"sans-serif": "Helvetica, Arial, sans-serif, --system-default",
|
|
112
|
-
serif: "Times New Roman, Georgia, serif, --system-default",
|
|
113
|
-
monospace: "Courier New, monospace, --system-default"
|
|
114
|
-
};
|
|
115
|
-
var FONT_FACE = {};
|
|
116
|
-
|
|
117
|
-
// src/defaultConfig/media.js
|
|
118
|
-
var MEDIA = {
|
|
119
|
-
tv: "(min-width: 2780px)",
|
|
120
|
-
light: "(prefers-color-scheme: light)",
|
|
121
|
-
dark: "(prefers-color-scheme: dark)",
|
|
122
|
-
print: "print"
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
// src/defaultConfig/spacing.js
|
|
126
|
-
var defaultProps2 = {
|
|
127
|
-
base: TYPOGRAPHY.base,
|
|
128
|
-
type: "spacing",
|
|
129
|
-
ratio: SEQUENCE.phi,
|
|
130
|
-
range: [-5, 15],
|
|
131
|
-
subSequence: true,
|
|
132
|
-
mediaRegenerate: false,
|
|
133
|
-
unit: "em",
|
|
134
|
-
sequence: {},
|
|
135
|
-
scales: {},
|
|
136
|
-
vars: {}
|
|
137
|
-
};
|
|
138
|
-
var SPACING = defaultProps2;
|
|
139
|
-
|
|
140
|
-
// src/defaultConfig/color.js
|
|
141
|
-
var COLOR = {};
|
|
142
|
-
var GRADIENT = {};
|
|
143
|
-
|
|
144
|
-
// src/defaultConfig/theme.js
|
|
145
|
-
var THEME = {};
|
|
146
|
-
|
|
147
|
-
// src/defaultConfig/shadow.js
|
|
148
|
-
var SHADOW = {};
|
|
149
|
-
|
|
150
|
-
// src/defaultConfig/icons.js
|
|
151
|
-
var ICONS = {};
|
|
152
|
-
var SEMANTIC_ICONS = {};
|
|
153
|
-
|
|
154
|
-
// src/defaultConfig/timing.js
|
|
155
|
-
var defaultProps3 = {
|
|
156
|
-
default: 150,
|
|
157
|
-
base: 150,
|
|
158
|
-
type: "timing",
|
|
159
|
-
ratio: SEQUENCE["perfect-fourth"],
|
|
160
|
-
range: [-3, 12],
|
|
161
|
-
mediaRegenerate: false,
|
|
162
|
-
unit: "ms",
|
|
163
|
-
sequence: {},
|
|
164
|
-
scales: {},
|
|
165
|
-
vars: {}
|
|
166
|
-
};
|
|
167
|
-
var TIMING = defaultProps3;
|
|
168
|
-
|
|
169
|
-
// src/defaultConfig/document.js
|
|
170
|
-
var DOCUMENT = {};
|
|
171
|
-
|
|
172
|
-
// src/defaultConfig/responsive.js
|
|
173
|
-
var BREAKPOINTS = {
|
|
174
|
-
screenL: 1920,
|
|
175
|
-
screenM: 1680,
|
|
176
|
-
screenS: 1440,
|
|
177
|
-
tabletL: 1366,
|
|
178
|
-
tabletM: 1280,
|
|
179
|
-
tabletS: 1024,
|
|
180
|
-
mobileL: 768,
|
|
181
|
-
mobileM: 560,
|
|
182
|
-
mobileS: 480,
|
|
183
|
-
mobileXS: 375
|
|
184
|
-
};
|
|
185
|
-
var DEVICES = {
|
|
186
|
-
screenXXL: [2560, 1440],
|
|
187
|
-
screenXL: [2240, 1260],
|
|
188
|
-
screenL: [1920, 1024],
|
|
189
|
-
screenM: [1680, 1024],
|
|
190
|
-
screenS: [1440, 720],
|
|
191
|
-
tabletL: [1366, 926],
|
|
192
|
-
tabletM: [1280, 768],
|
|
193
|
-
tabletS: [1024, 768],
|
|
194
|
-
mobileL: [768, 375],
|
|
195
|
-
mobileM: [560, 768],
|
|
196
|
-
mobileS: [480, 768],
|
|
197
|
-
mobileXS: [375, 768]
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
// src/defaultConfig/cases.js
|
|
201
|
-
var CASES = {};
|
|
202
|
-
|
|
203
|
-
// src/defaultConfig/animation.js
|
|
204
|
-
var ANIMATION = {};
|
|
205
|
-
|
|
206
|
-
// src/defaultConfig/svg.js
|
|
207
|
-
var SVG = {};
|
|
208
|
-
var SVG_DATA = {};
|
|
209
|
-
|
|
210
|
-
// src/defaultConfig/templates.js
|
|
211
|
-
var TEMPLATES = {};
|
|
212
|
-
|
|
213
|
-
// src/defaultConfig/grid.js
|
|
214
|
-
var defaultProps4 = {};
|
|
215
|
-
var GRID = defaultProps4;
|
|
216
|
-
|
|
217
|
-
// src/defaultConfig/class.js
|
|
218
|
-
var defaultProps5 = {};
|
|
219
|
-
var CLASS = defaultProps5;
|
|
220
|
-
|
|
221
|
-
// src/defaultConfig/index.js
|
|
222
|
-
var RESET = {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/media.js
|
|
21
|
-
var media_exports = {};
|
|
22
|
-
__export(media_exports, {
|
|
23
|
-
MEDIA: () => MEDIA
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(media_exports);
|
|
26
|
-
var MEDIA = {
|
|
27
|
-
tv: "(min-width: 2780px)",
|
|
28
|
-
light: "(prefers-color-scheme: light)",
|
|
29
|
-
dark: "(prefers-color-scheme: dark)",
|
|
30
|
-
print: "print"
|
|
31
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/responsive.js
|
|
21
|
-
var responsive_exports = {};
|
|
22
|
-
__export(responsive_exports, {
|
|
23
|
-
BREAKPOINTS: () => BREAKPOINTS,
|
|
24
|
-
DEVICES: () => DEVICES
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(responsive_exports);
|
|
27
|
-
var BREAKPOINTS = {
|
|
28
|
-
screenL: 1920,
|
|
29
|
-
screenM: 1680,
|
|
30
|
-
screenS: 1440,
|
|
31
|
-
tabletL: 1366,
|
|
32
|
-
tabletM: 1280,
|
|
33
|
-
tabletS: 1024,
|
|
34
|
-
mobileL: 768,
|
|
35
|
-
mobileM: 560,
|
|
36
|
-
mobileS: 480,
|
|
37
|
-
mobileXS: 375
|
|
38
|
-
};
|
|
39
|
-
var DEVICES = {
|
|
40
|
-
screenXXL: [2560, 1440],
|
|
41
|
-
screenXL: [2240, 1260],
|
|
42
|
-
screenL: [1920, 1024],
|
|
43
|
-
screenM: [1680, 1024],
|
|
44
|
-
screenS: [1440, 720],
|
|
45
|
-
tabletL: [1366, 926],
|
|
46
|
-
tabletM: [1280, 768],
|
|
47
|
-
tabletS: [1024, 768],
|
|
48
|
-
mobileL: [768, 375],
|
|
49
|
-
mobileM: [560, 768],
|
|
50
|
-
mobileS: [480, 768],
|
|
51
|
-
mobileXS: [375, 768]
|
|
52
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/sequence.js
|
|
21
|
-
var sequence_exports = {};
|
|
22
|
-
__export(sequence_exports, {
|
|
23
|
-
SEQUENCE: () => SEQUENCE
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(sequence_exports);
|
|
26
|
-
var SEQUENCE = {
|
|
27
|
-
"minor-second": 1.067,
|
|
28
|
-
"major-second": 1.125,
|
|
29
|
-
"minor-third": 1.2,
|
|
30
|
-
"major-third": 1.25,
|
|
31
|
-
"perfect-fourth": 1.333,
|
|
32
|
-
"augmented-fourth": 1.414,
|
|
33
|
-
"perfect-fifth": 1.5,
|
|
34
|
-
"minor-sixth": 1.6,
|
|
35
|
-
phi: 1.618,
|
|
36
|
-
// golden-ratio
|
|
37
|
-
"major-sixth": 1.667,
|
|
38
|
-
"square-root-3": 1.732,
|
|
39
|
-
// theodorus
|
|
40
|
-
"minor-seventh": 1.778,
|
|
41
|
-
"major-seventh": 1.875,
|
|
42
|
-
octave: 2,
|
|
43
|
-
"square-root-5": 2.23,
|
|
44
|
-
// pythagoras
|
|
45
|
-
"major-tenth": 2.5,
|
|
46
|
-
"major-eleventh": 2.667,
|
|
47
|
-
"major-twelfth": 3,
|
|
48
|
-
pi: 3.14,
|
|
49
|
-
// archimedes
|
|
50
|
-
"double-octave": 4
|
|
51
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/defaultConfig/shadow.js
|
|
21
|
-
var shadow_exports = {};
|
|
22
|
-
__export(shadow_exports, {
|
|
23
|
-
SHADOW: () => SHADOW
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(shadow_exports);
|
|
26
|
-
var SHADOW = {};
|