@dfds-ui/spacing 2.2.1 → 3.0.0-alpha.2acb68f8

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 CHANGED
@@ -8,7 +8,7 @@ var _exportNames = {
8
8
  };
9
9
  Object.defineProperty(exports, "spacing", {
10
10
  enumerable: true,
11
- get: function get() {
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 get() {
22
+ get: function () {
23
23
  return _spacing[key];
24
24
  }
25
25
  });
26
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; }
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
- declare type ValueOf<T> = T[keyof T];
18
- export declare type SpacingValue = ValueOf<typeof spacing>;
19
- export declare type SpacingKey = keyof typeof spacing;
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
@@ -20,5 +20,4 @@ const spacing = {
20
20
  /** 4rem (64px) */
21
21
  xxl: '4rem'
22
22
  };
23
- var _default = spacing;
24
- exports.default = _default;
23
+ var _default = exports.default = spacing;
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.1",
6
+ "version": "3.0.0-alpha.2acb68f8",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
9
9
  "module": "./index.js",
10
10
  "typings": "./index.d.ts",
11
- "gitHead": "ff968cd26c278c656e617042759efdea213c0661",
11
+ "gitHead": "2acb68f8d36d638def6fb8f77d19073760d9b7d0",
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
- declare type ValueOf<T> = T[keyof T];
18
- export declare type SpacingValue = ValueOf<typeof spacing>;
19
- export declare type SpacingKey = keyof typeof spacing;
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;