@wistia/vhs-design-tokens 2.1.3 → 2.1.4

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/dist/index.cjs ADDED
@@ -0,0 +1,3 @@
1
+ const designTokens = require('./js/designTokens.cjs'); // eslint-disable-line import/no-unresolved, n/no-missing-require
2
+
3
+ module.exports = { designTokens };
@@ -1,4 +1,5 @@
1
- import { Unit } from '@karibash/pixel-units';
1
+ /* eslint-disable @typescript-eslint/consistent-type-definitions */
2
+ import type { Unit } from '@karibash/pixel-units';
2
3
 
3
4
  declare module '@wistia/vhs-design-tokens' {
4
5
  export type CSSHexString = `#${string}`;
@@ -171,14 +172,14 @@ declare module '@wistia/vhs-design-tokens' {
171
172
 
172
173
  export type FontWeightNumbers = 1 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
173
174
  export type FontWeightStrings =
174
- | 'normal'
175
175
  | 'bold'
176
- | 'lighter'
177
176
  | 'bolder'
178
177
  | 'inherit'
179
178
  | 'initial'
180
- | 'revert'
179
+ | 'lighter'
180
+ | 'normal'
181
181
  | 'revert-layer'
182
+ | 'revert'
182
183
  | 'unset';
183
184
  export type FontWeight = FontWeightNumbers | FontWeightStrings;
184
185
 
package/dist/index.mjs ADDED
@@ -0,0 +1,3 @@
1
+ import { designTokens } from './js/designTokens.mjs'; // eslint-disable-line import/no-unresolved, n/no-missing-import
2
+
3
+ export { designTokens };