@maxio-com/design-tokens 4.1.7 → 4.1.8

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.
@@ -57,6 +57,11 @@ declare const semanticColors: {
57
57
  'highlight-secondary': string;
58
58
  avatar: string;
59
59
  };
60
+ divideColor: ({ theme }: {
61
+ theme: ThemePlaceholder;
62
+ }) => {
63
+ DEFAULT: string;
64
+ };
60
65
  textColor: ({ theme }: {
61
66
  theme: ThemePlaceholder;
62
67
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"semanticColors.d.ts","sourceRoot":"","sources":["../../src/config/semanticColors.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEhE,QAAA,MAAM,cAAc;;eACoB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAiCpB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;eAsBlB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;eA6BhB,gBAAgB;;;;;;eAKV,gBAAgB;;;;;CAKvD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"semanticColors.d.ts","sourceRoot":"","sources":["../../src/config/semanticColors.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEhE,QAAA,MAAM,cAAc;;eACoB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAiCpB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;eAsBhB,gBAAgB;;;;;eAIlB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;eA6BhB,gBAAgB;;;;;;eAKV,gBAAgB;;;;;CAKvD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,6 +1,7 @@
1
1
  const semanticColors = {
2
2
  backgroundColor: ({ theme }) => (Object.assign(Object.assign({}, theme('colors')), { primary: 'var(--maxio-color-bg-primary)', 'primary-hover': 'var(--maxio-color-bg-primary-hover)', 'primary-active': 'var(--maxio-color-bg-primary-active)', secondary: 'var(--maxio-color-bg-secondary)', 'secondary-hover': 'var(--maxio-color-bg-secondary-hover)', 'secondary-active': 'var(--maxio-color-bg-secondary-active)', tertiary: 'var(--maxio-color-bg-tertiary)', 'tertiary-hover': 'var(--maxio-color-bg-tertiary-hover)', 'tertiary-active': 'var(--maxio-color-bg-tertiary-active)', inverse: 'var(--maxio-color-bg-inverse)', 'inverse-hover': 'var(--maxio-color-bg-inverse-hover)', 'inverse-active': 'var(--maxio-color-bg-inverse-active)', neutral: 'var(--maxio-color-bg-neutral)', info: 'var(--maxio-color-bg-info)', success: 'var(--maxio-color-bg-success)', warning: 'var(--maxio-color-bg-warning)', danger: 'var(--maxio-color-bg-danger)', highlight: 'var(--maxio-color-bg-highlight)', 'fill-brand': 'var(--maxio-color-bg-fill-brand)', 'fill-brand-hover': 'var(--maxio-color-bg-fill-brand-hover)', 'fill-brand-active': 'var(--maxio-color-bg-fill-brand-active)', 'fill-neutral': 'var(--maxio-color-bg-fill-neutral)', 'fill-info': 'var(--maxio-color-bg-fill-info)', 'fill-success': 'var(--maxio-color-bg-fill-success)', 'fill-warning': 'var(--maxio-color-bg-fill-warning)', 'fill-danger': 'var(--maxio-color-bg-fill-danger)', 'fill-danger-hover': 'var(--maxio-color-bg-fill-danger-hover)', 'fill-danger-active': 'var(--maxio-color-bg-fill-danger-active)', 'fill-highlight': 'var(--maxio-color-bg-fill-highlight)', 'fill-disabled': 'var(--maxio-color-bg-fill-disabled)' })),
3
3
  borderColor: ({ theme }) => (Object.assign(Object.assign({}, theme('colors')), { DEFAULT: 'var(--maxio-color-border-primary)', primary: 'var(--maxio-color-border-primary)', secondary: 'var(--maxio-color-border-secondary)', tertiary: 'var(--maxio-color-border-tertiary)', inverse: 'var(--maxio-color-border-inverse)', focus: 'var(--maxio-color-border-focus)', 'focus-inset': 'var(--maxio-color-border-focus-inset)', brand: 'var(--maxio-color-border-brand)', info: 'var(--maxio-color-border-info)', 'info-secondary': 'var(--maxio-color-border-info-secondary)', success: 'var(--maxio-color-border-success)', 'success-secondary': 'var(--maxio-color-border-success-secondary)', warning: 'var(--maxio-color-border-warning)', 'warning-secondary': 'var(--maxio-color-border-warning-secondary)', danger: 'var(--maxio-color-border-danger)', 'danger-secondary': 'var(--maxio-color-border-danger-secondary)', highlight: 'var(--maxio-color-border-highlight)', 'highlight-secondary': 'var(--maxio-color-border-highlight-secondary)', avatar: 'var(--maxio-color-border-avatar)' })),
4
+ divideColor: ({ theme }) => (Object.assign(Object.assign({}, theme('borderColor')), { DEFAULT: 'var(--maxio-color-border-primary)' })),
4
5
  textColor: ({ theme }) => (Object.assign(Object.assign({}, theme('colors')), { primary: 'var(--maxio-color-text-primary)', secondary: 'var(--maxio-color-text-secondary)', tertiary: 'var(--maxio-color-text-tertiary)', inverse: 'var(--maxio-color-text-inverse)', 'on-bg-fill-disabled': 'var(--maxio-color-text-on-bg-fill-disabled)', disabled: 'var(--maxio-color-text-disabled)', danger: 'var(--maxio-color-text-danger)', 'icon-primary': 'var(--maxio-color-icon-primary)', 'icon-secondary': 'var(--maxio-color-icon-secondary)', 'icon-inverse': 'var(--maxio-color-icon-inverse)', 'icon-disabled': 'var(--maxio-color-icon-disabled)', 'icon-on-bg-fill-disabled': 'var(--maxio-color-icon-on-bg-fill-disabled)', 'icon-neutral': 'var(--maxio-color-icon-neutral)', 'icon-info': 'var(--maxio-color-icon-info)', 'icon-success': 'var(--maxio-color-icon-success)', 'icon-warning': 'var(--maxio-color-icon-warning)', 'icon-danger': 'var(--maxio-color-icon-danger)', 'icon-highlight': 'var(--maxio-color-icon-highlight)', link: 'var(--maxio-color-link)', 'link-high-contrast': 'var(--maxio-color-link-high-contrast)', 'link-hover': 'var(--maxio-color-link-hover)', 'link-active': 'var(--maxio-color-link-active)' })),
5
6
  ringColor: ({ theme }) => (Object.assign(Object.assign({}, theme('colors')), { focus: 'var(--maxio-color-border-focus)', 'focus-inset': 'var(--maxio-color-border-focus-inset)' })),
6
7
  ringOffsetColor: ({ theme }) => (Object.assign(Object.assign({}, theme('colors')), { focus: 'var(--maxio-color-border-focus)', 'focus-inset': 'var(--maxio-color-border-focus-inset)' })),
@@ -127,6 +127,11 @@ declare const _default: {
127
127
  'highlight-secondary': string;
128
128
  avatar: string;
129
129
  };
130
+ divideColor: ({ theme }: {
131
+ theme: (key: string) => Record<string, string>;
132
+ }) => {
133
+ DEFAULT: string;
134
+ };
130
135
  textColor: ({ theme }: {
131
136
  theme: (key: string) => Record<string, string>;
132
137
  }) => {
@@ -165,9 +170,6 @@ declare const _default: {
165
170
  focus: string;
166
171
  'focus-inset': string;
167
172
  };
168
- boxShadow: {
169
- dropdown: string;
170
- };
171
173
  };
172
174
  };
173
175
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindTheme.d.ts","sourceRoot":"","sources":["../src/tailwindTheme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAgBE"}
1
+ {"version":3,"file":"tailwindTheme.d.ts","sourceRoot":"","sources":["../src/tailwindTheme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAaE"}
@@ -4,7 +4,5 @@ export default {
4
4
  fontSize,
5
5
  lineHeight,
6
6
  colors: Object.assign({ current: 'currentColor', inherit: 'inherit', transparent: 'transparent' }, colors),
7
- extend: Object.assign({ boxShadow: {
8
- dropdown: '0px 4px 4px rgba(0, 0, 0, 0.25)',
9
- } }, semanticColors),
7
+ extend: Object.assign({}, semanticColors),
10
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maxio-com/design-tokens",
3
3
  "type": "module",
4
- "version": "4.1.7",
4
+ "version": "4.1.8",
5
5
  "description": "Design Tokens definition",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
@@ -15,6 +15,7 @@
15
15
  ],
16
16
  "exports": {
17
17
  ".": "./dist/index.js",
18
+ "./dist/variables.css": "./dist/variables.css",
18
19
  "./variables.css": "./dist/variables.css",
19
20
  "./package.json": "./package.json"
20
21
  },
@@ -29,5 +30,5 @@
29
30
  "publishConfig": {
30
31
  "access": "public"
31
32
  },
32
- "gitHead": "d1b0a3acabf595a599055abd4175504157f562d0"
33
+ "gitHead": "9e2e990fc770e80d9f489a0415386140bcfb78fa"
33
34
  }