@dfds-ui/spacing 2.2.1 → 3.0.0-alpha.24ead756
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/index.js +3 -4
- package/cjs/spacing.d.ts +3 -3
- package/cjs/spacing.js +1 -2
- package/package.json +2 -2
- package/spacing.d.ts +3 -3
package/cjs/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var _exportNames = {
|
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "spacing", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function
|
|
11
|
+
get: function () {
|
|
12
12
|
return _spacing.default;
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -19,10 +19,9 @@ Object.keys(_spacing).forEach(function (key) {
|
|
|
19
19
|
if (key in exports && exports[key] === _spacing[key]) return;
|
|
20
20
|
Object.defineProperty(exports, key, {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function
|
|
22
|
+
get: function () {
|
|
23
23
|
return _spacing[key];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
|
-
function
|
|
28
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
27
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
package/cjs/spacing.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const spacing: {
|
|
|
14
14
|
/** 4rem (64px) */
|
|
15
15
|
xxl: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
type ValueOf<T> = T[keyof T];
|
|
18
|
+
export type SpacingValue = ValueOf<typeof spacing>;
|
|
19
|
+
export type SpacingKey = keyof typeof spacing;
|
|
20
20
|
export default spacing;
|
package/cjs/spacing.js
CHANGED
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"description": "Defines spacing",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "3.0.0-alpha.24ead756",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
10
10
|
"typings": "./index.d.ts",
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "24ead756072e49cc98e27ca4bbe679cc54eaf0ae",
|
|
12
12
|
"esnext": "",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
package/spacing.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const spacing: {
|
|
|
14
14
|
/** 4rem (64px) */
|
|
15
15
|
xxl: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
type ValueOf<T> = T[keyof T];
|
|
18
|
+
export type SpacingValue = ValueOf<typeof spacing>;
|
|
19
|
+
export type SpacingKey = keyof typeof spacing;
|
|
20
20
|
export default spacing;
|