@teamturing/token-studio 1.4.0 → 1.6.0

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.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './token';
2
+ export * as palette from './foundation/palette';
package/dist/index.js CHANGED
@@ -150,6 +150,22 @@ const palette = {
150
150
  ...mustardYellow
151
151
  };
152
152
 
153
+ var index = /*#__PURE__*/Object.freeze({
154
+ __proto__: null,
155
+ blue: blue,
156
+ default: palette,
157
+ fuchsiaPink: fuchsiaPink,
158
+ gray: gray,
159
+ green: green,
160
+ indianRed: indianRed,
161
+ mustardYellow: mustardYellow,
162
+ red: red,
163
+ shade: shade,
164
+ skyBlue: skyBlue,
165
+ violet: violet,
166
+ yellow: yellow
167
+ });
168
+
153
169
  const textColor = {
154
170
  'text/primary': palette.violet500,
155
171
  'text/accent/blue': palette.blue500,
@@ -425,11 +441,8 @@ const opacity$1 = {
425
441
  opacity50: 0.5
426
442
  };
427
443
 
428
- const accentOpacity = {
429
- accent: opacity$1.opacity50
430
- };
431
444
  const opacity = {
432
- ...accentOpacity
445
+ disabled: opacity$1.opacity50
433
446
  };
434
447
 
435
448
  const rounding = {
@@ -750,7 +763,6 @@ const typography = {
750
763
  }
751
764
  };
752
765
 
753
- exports.accentOpacity = accentOpacity;
754
766
  exports.baseBreakpoints = baseBreakpoints;
755
767
  exports.bgColor = bgColor;
756
768
  exports.bgGradient = bgGradient;
@@ -768,6 +780,7 @@ exports.lineHeights = lineHeights;
768
780
  exports.linkColor = linkColor;
769
781
  exports.opacity = opacity;
770
782
  exports.overlayGradient = overlayGradient;
783
+ exports.palette = index;
771
784
  exports.radii = radii;
772
785
  exports.scaleColor = scaleColor;
773
786
  exports.shadowElevation = shadowElevation;
@@ -5,8 +5,8 @@ export { default as elevation, shadowElevation, surfaceElevation } from './eleva
5
5
  export type { ElevationKey, ShadowElevationKey, SurfaceElevationKey } from './elevation';
6
6
  export { default as gradient, bgGradient, borderGradient, overlayGradient, textGradient } from './gradient';
7
7
  export type { GradientKey, BgGradientKey, BorderGradientKey, OverlayGradientKey, TextGradientKey } from './gradient';
8
- export { default as opacity, accentOpacity } from './opacity';
9
- export type { OpacityKey, AccentOpacityKey } from './opacity';
8
+ export { default as opacity } from './opacity';
9
+ export type { OpacityKey } from './opacity';
10
10
  export { default as radii } from './radii';
11
11
  export type { RadiiKey } from './radii';
12
12
  export { default as space } from './space';
@@ -1,11 +1,6 @@
1
- declare const accentOpacity: {
2
- readonly accent: number;
3
- };
4
1
  declare const opacity: {
5
- readonly accent: number;
2
+ readonly disabled: number;
6
3
  };
7
- type AccentOpacityKey = keyof typeof accentOpacity;
8
4
  type OpacityKey = keyof typeof opacity;
9
5
  export default opacity;
10
- export { accentOpacity };
11
- export type { AccentOpacityKey, OpacityKey };
6
+ export type { OpacityKey };
package/esm/index.js CHANGED
@@ -2,10 +2,12 @@ export { baseBreakpoints, default as breakpoints } from './token/breakpoints/ind
2
2
  export { bgColor, borderColor, default as color, dimColor, iconColor, linkColor, scaleColor, textColor } from './token/color/index.js';
3
3
  export { default as elevation, shadowElevation, surfaceElevation } from './token/elevation/index.js';
4
4
  export { bgGradient, borderGradient, default as gradient, overlayGradient, textGradient } from './token/gradient/index.js';
5
- export { accentOpacity, default as opacity } from './token/opacity/index.js';
5
+ export { default as opacity } from './token/opacity/index.js';
6
6
  export { default as radii } from './token/radii/index.js';
7
7
  export { default as space } from './token/space/index.js';
8
8
  export { default as typography } from './token/typography/index.js';
9
+ import * as index from './foundation/palette/index.js';
10
+ export { index as palette };
9
11
  export { default as fontSizes } from './token/typography/fontSizes.js';
10
12
  export { default as fontWeights } from './token/typography/fontWeights.js';
11
13
  export { default as lineHeights } from './token/typography/lineHeights.js';
@@ -1,10 +1,7 @@
1
1
  import opacity$1 from '../../foundation/opacity/index.js';
2
2
 
3
- const accentOpacity = {
4
- accent: opacity$1.opacity50
5
- };
6
3
  const opacity = {
7
- ...accentOpacity
4
+ disabled: opacity$1.opacity50
8
5
  };
9
6
 
10
- export { accentOpacity, opacity as default };
7
+ export { opacity as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/token-studio",
3
- "version": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "description": "Foundations, tokens for Mathking design system",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -27,5 +27,5 @@
27
27
  "bugs": {
28
28
  "url": "https://github.com/weareteamturing/bombe/issues"
29
29
  },
30
- "gitHead": "85541d2a7a6d648d8ea5e8f157efa0a1d112b54a"
30
+ "gitHead": "e4a25a048924cae1a86734841f1df13e779eaa91"
31
31
  }