@equinor/eds-tokens 0.7.0 → 0.7.1

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.
@@ -417,7 +417,7 @@ const interactions = {
417
417
  focused: {
418
418
  style: 'dashed',
419
419
  color: 'rgba(0, 112, 121, 1)',
420
- width: '1px',
420
+ width: '2px',
421
421
  },
422
422
  pressed_light_overlay: {
423
423
  blendMode: 'pass_through',
@@ -432,7 +432,7 @@ const interactions = {
432
432
  focused: {
433
433
  style: 'dashed',
434
434
  color: 'rgba(0, 112, 121, 1)',
435
- width: '1px',
435
+ width: '2px',
436
436
  },
437
437
  pressed_light_overlay: {
438
438
  blendMode: 'pass_through',
@@ -413,7 +413,7 @@ const interactions = {
413
413
  focused: {
414
414
  style: 'dashed',
415
415
  color: 'rgba(0, 112, 121, 1)',
416
- width: '1px',
416
+ width: '2px',
417
417
  },
418
418
  pressed_light_overlay: {
419
419
  blendMode: 'pass_through',
@@ -428,7 +428,7 @@ const interactions = {
428
428
  focused: {
429
429
  style: 'dashed',
430
430
  color: 'rgba(0, 112, 121, 1)',
431
- width: '1px',
431
+ width: '2px',
432
432
  },
433
433
  pressed_light_overlay: {
434
434
  blendMode: 'pass_through',
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
3
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@equinor/eds-tokens'] = {}));
5
- }(this, (function (exports) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@equinor/eds-tokens"] = {}));
5
+ })(this, (function (exports) { 'use strict';
6
6
 
7
7
  const clickbounds = {
8
8
  jumbo__base: '88px',
@@ -419,7 +419,7 @@
419
419
  focused: {
420
420
  style: 'dashed',
421
421
  color: 'rgba(0, 112, 121, 1)',
422
- width: '1px',
422
+ width: '2px',
423
423
  },
424
424
  pressed_light_overlay: {
425
425
  blendMode: 'pass_through',
@@ -434,7 +434,7 @@
434
434
  focused: {
435
435
  style: 'dashed',
436
436
  color: 'rgba(0, 112, 121, 1)',
437
- width: '1px',
437
+ width: '2px',
438
438
  },
439
439
  pressed_light_overlay: {
440
440
  blendMode: 'pass_through',
@@ -1014,4 +1014,4 @@
1014
1014
 
1015
1015
  Object.defineProperty(exports, '__esModule', { value: true });
1016
1016
 
1017
- })));
1017
+ }));
@@ -1,4 +1,4 @@
1
- import { Spacing, Borders, Typography, Outline, Clickbound, Pressed } from './index';
1
+ import { Spacing, Borders, Typography, Outline, Clickbound, Pressed, Align } from './index';
2
2
  export declare type ComponentToken = {
3
3
  maxHeight?: string;
4
4
  minHeight?: string;
@@ -8,6 +8,7 @@ export declare type ComponentToken = {
8
8
  width?: string;
9
9
  boxShadow?: string;
10
10
  background?: string;
11
+ align?: Align;
11
12
  spacings?: Spacing;
12
13
  border?: Borders;
13
14
  typography?: Partial<Typography>;
@@ -29,6 +29,10 @@ export declare type Spacing = {
29
29
  top?: string;
30
30
  bottom?: string;
31
31
  };
32
+ export declare type Align = {
33
+ horizontal?: string;
34
+ vertical?: string;
35
+ };
32
36
  export declare type SpacingTokens = {
33
37
  comfortable: {
34
38
  xxx_large: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/eds-tokens",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Design tokens for the Equinor Design System",
5
5
  "main": "dist/tokens.cjs.js",
6
6
  "module": "dist/tokens.esm.js",
@@ -15,7 +15,7 @@
15
15
  "repository": {
16
16
  "type": "git",
17
17
  "url": "https://github.com/equinor/design-system",
18
- "directory": "libraries/tokens"
18
+ "directory": "packages/eds-tokens"
19
19
  },
20
20
  "bugs": {
21
21
  "url": "https://github.com/equinor/design-system/issues"
@@ -32,12 +32,12 @@
32
32
  ],
33
33
  "devDependencies": {
34
34
  "@rollup/plugin-node-resolve": "^10.0.0",
35
- "rollup": "^2.34.0",
35
+ "rollup": "^2.72.0",
36
36
  "rollup-plugin-delete": "^2.0.0",
37
37
  "rollup-plugin-size-snapshot": "^0.12.0",
38
38
  "rollup-plugin-typescript2": "^0.29.0",
39
- "tslib": "^2.0.3",
40
- "typescript": "^4.1.2"
39
+ "tslib": "^2.4.0",
40
+ "typescript": "^4.6.4"
41
41
  },
42
42
  "engines": {
43
43
  "pnpm": ">=4",
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "scripts": {
47
47
  "build": "rollup -c",
48
- "dev": "rollup -c -w"
48
+ "dev": "rollup -c -w",
49
+ "types": "tsc"
49
50
  }
50
51
  }