@dfds-ui/spacing 2.2.0-alpha.8d87a90d → 2.2.0-alpha.8f6cde13
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 -28
- 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.8f6cde13",
|
|
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": "8f6cde130b50adb872265534050786c59541a8ac",
|
|
12
12
|
"esnext": "",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
package/cjs/index.d.ts
DELETED
package/cjs/index.js
DELETED
|
@@ -1,28 +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 get() {
|
|
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 get() {
|
|
23
|
-
return _spacing[key];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
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; }
|
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;
|