@dfds-ui/spacing 2.2.0-alpha.98e68873 → 2.2.0-alpha.9edc847c
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/cjs/index.d.ts +0 -2
- package/cjs/index.js +0 -27
- package/cjs/spacing.d.ts +0 -20
- package/cjs/spacing.js +0 -24
- package/index.d.ts +0 -2
- package/index.js +0 -2
- package/spacing.d.ts +0 -20
- package/spacing.js +0 -17
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"description": "Defines spacing",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.2.0-alpha.
|
|
6
|
+
"version": "2.2.0-alpha.9edc847c",
|
|
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": "9edc847c21d2f86054d768d1f84d34027ca9d675",
|
|
12
12
|
"esnext": "",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
package/cjs/index.d.ts
DELETED
package/cjs/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {
|
|
7
|
-
spacing: true
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "spacing", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () {
|
|
12
|
-
return _spacing.default;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
var _spacing = _interopRequireWildcard(require("./spacing"));
|
|
16
|
-
Object.keys(_spacing).forEach(function (key) {
|
|
17
|
-
if (key === "default" || key === "__esModule") return;
|
|
18
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
19
|
-
if (key in exports && exports[key] === _spacing[key]) return;
|
|
20
|
-
Object.defineProperty(exports, key, {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () {
|
|
23
|
-
return _spacing[key];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
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
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const spacing: {
|
|
2
|
-
/** 0.25rem (4px) */
|
|
3
|
-
xxs: string;
|
|
4
|
-
/** 0.5rem (8px) */
|
|
5
|
-
xs: string;
|
|
6
|
-
/** 1rem (16px) */
|
|
7
|
-
s: string;
|
|
8
|
-
/** 1.5rem (24px) */
|
|
9
|
-
m: string;
|
|
10
|
-
/** 2rem (32px) */
|
|
11
|
-
l: string;
|
|
12
|
-
/** 3rem (48px) */
|
|
13
|
-
xl: string;
|
|
14
|
-
/** 4rem (64px) */
|
|
15
|
-
xxl: string;
|
|
16
|
-
};
|
|
17
|
-
declare type ValueOf<T> = T[keyof T];
|
|
18
|
-
export declare type SpacingValue = ValueOf<typeof spacing>;
|
|
19
|
-
export declare type SpacingKey = keyof typeof spacing;
|
|
20
|
-
export default spacing;
|
package/cjs/spacing.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
const spacing = {
|
|
8
|
-
/** 0.25rem (4px) */
|
|
9
|
-
xxs: '.25rem',
|
|
10
|
-
/** 0.5rem (8px) */
|
|
11
|
-
xs: '.5rem',
|
|
12
|
-
/** 1rem (16px) */
|
|
13
|
-
s: '1rem',
|
|
14
|
-
/** 1.5rem (24px) */
|
|
15
|
-
m: '1.5rem',
|
|
16
|
-
/** 2rem (32px) */
|
|
17
|
-
l: '2rem',
|
|
18
|
-
/** 3rem (48px) */
|
|
19
|
-
xl: '3rem',
|
|
20
|
-
/** 4rem (64px) */
|
|
21
|
-
xxl: '4rem'
|
|
22
|
-
};
|
|
23
|
-
var _default = spacing;
|
|
24
|
-
exports.default = _default;
|
package/index.d.ts
DELETED
package/index.js
DELETED
package/spacing.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const spacing: {
|
|
2
|
-
/** 0.25rem (4px) */
|
|
3
|
-
xxs: string;
|
|
4
|
-
/** 0.5rem (8px) */
|
|
5
|
-
xs: string;
|
|
6
|
-
/** 1rem (16px) */
|
|
7
|
-
s: string;
|
|
8
|
-
/** 1.5rem (24px) */
|
|
9
|
-
m: string;
|
|
10
|
-
/** 2rem (32px) */
|
|
11
|
-
l: string;
|
|
12
|
-
/** 3rem (48px) */
|
|
13
|
-
xl: string;
|
|
14
|
-
/** 4rem (64px) */
|
|
15
|
-
xxl: string;
|
|
16
|
-
};
|
|
17
|
-
declare type ValueOf<T> = T[keyof T];
|
|
18
|
-
export declare type SpacingValue = ValueOf<typeof spacing>;
|
|
19
|
-
export declare type SpacingKey = keyof typeof spacing;
|
|
20
|
-
export default spacing;
|
package/spacing.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var spacing = {
|
|
2
|
-
/** 0.25rem (4px) */
|
|
3
|
-
xxs: '.25rem',
|
|
4
|
-
/** 0.5rem (8px) */
|
|
5
|
-
xs: '.5rem',
|
|
6
|
-
/** 1rem (16px) */
|
|
7
|
-
s: '1rem',
|
|
8
|
-
/** 1.5rem (24px) */
|
|
9
|
-
m: '1.5rem',
|
|
10
|
-
/** 2rem (32px) */
|
|
11
|
-
l: '2rem',
|
|
12
|
-
/** 3rem (48px) */
|
|
13
|
-
xl: '3rem',
|
|
14
|
-
/** 4rem (64px) */
|
|
15
|
-
xxl: '4rem'
|
|
16
|
-
};
|
|
17
|
-
export default spacing;
|