@dfds-ui/spacing 2.0.23 → 2.0.24-alpha.71c1c34f
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.0.
|
|
6
|
+
"version": "2.0.24-alpha.71c1c34f",
|
|
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": "71c1c34f7c1371c595a770af623f7dc1809a2b1e",
|
|
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(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
28
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
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;
|