@teamturing/react-kit 2.1.0 → 2.1.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.
package/dist/index.js CHANGED
@@ -273,10 +273,6 @@ const surfaceElevation = {
273
273
  const shadowElevation = {
274
274
  'shadow/overlay': shadow$1.shadowMedium
275
275
  };
276
- ({
277
- ...surfaceElevation,
278
- ...shadowElevation
279
- });
280
276
 
281
277
  const colorStopList = {
282
278
  colorStopListVioletPink: '#8E6CF0, #CF75F3',
@@ -4020,7 +4016,7 @@ const theme = {
4020
4016
  radii,
4021
4017
  colors: {
4022
4018
  ...color$1,
4023
- surfaceElevation
4019
+ ...surfaceElevation
4024
4020
  },
4025
4021
  gradients: gradient,
4026
4022
  shadows: {
@@ -85,10 +85,8 @@ declare const theme: {
85
85
  readonly full: number;
86
86
  };
87
87
  colors: {
88
- surfaceElevation: {
89
- readonly surface: "#FFFFFF";
90
- readonly 'surface/overlay': "#FFFFFF";
91
- };
88
+ surface: "#FFFFFF";
89
+ 'surface/overlay': "#FFFFFF";
92
90
  'scale/violet/0': "#F3EFFD";
93
91
  'scale/violet/1': "#E8E1FB";
94
92
  'scale/violet/2': "#D9CDF9";
@@ -1,5 +1,4 @@
1
1
  import color from '../../packages/token-studio/esm/token/color/index.js';
2
- import '../../packages/token-studio/esm/token/elevation/index.js';
3
2
  import radii from '../../packages/token-studio/esm/token/radii/index.js';
4
3
  import typography from '../../packages/token-studio/esm/token/typography/index.js';
5
4
  import { forwardRef } from 'react';
@@ -1,5 +1,4 @@
1
1
  import color from '../../packages/token-studio/esm/token/color/index.js';
2
- import '../../packages/token-studio/esm/token/elevation/index.js';
3
2
  import radii from '../../packages/token-studio/esm/token/radii/index.js';
4
3
  import typography from '../../packages/token-studio/esm/token/typography/index.js';
5
4
  import styled from 'styled-components';
@@ -1,4 +1,3 @@
1
- import '../../packages/token-studio/esm/token/elevation/index.js';
2
1
  import space from '../../packages/token-studio/esm/token/space/index.js';
3
2
  import '../../packages/token-studio/esm/token/typography/index.js';
4
3
  import { forwardRef } from 'react';
@@ -1,5 +1,4 @@
1
1
  import color from '../../packages/token-studio/esm/token/color/index.js';
2
- import '../../packages/token-studio/esm/token/elevation/index.js';
3
2
  import radii from '../../packages/token-studio/esm/token/radii/index.js';
4
3
  import '../../packages/token-studio/esm/token/typography/index.js';
5
4
  import { forwardRef } from 'react';
@@ -1,5 +1,4 @@
1
1
  import color from '../../packages/token-studio/esm/token/color/index.js';
2
- import '../../packages/token-studio/esm/token/elevation/index.js';
3
2
  import radii from '../../packages/token-studio/esm/token/radii/index.js';
4
3
  import '../../packages/token-studio/esm/token/typography/index.js';
5
4
  import styled from 'styled-components';
@@ -1,7 +1,6 @@
1
1
  import 'react';
2
2
  import SvgProgressGradient from '../../packages/icons/esm/ProgressGradient.js';
3
3
  import color from '../../packages/token-studio/esm/token/color/index.js';
4
- import '../../packages/token-studio/esm/token/elevation/index.js';
5
4
  import '../../packages/token-studio/esm/token/typography/index.js';
6
5
  import styled, { keyframes } from 'styled-components';
7
6
 
@@ -1,4 +1,3 @@
1
- import '../../packages/token-studio/esm/token/elevation/index.js';
2
1
  import space from '../../packages/token-studio/esm/token/space/index.js';
3
2
  import '../../packages/token-studio/esm/token/typography/index.js';
4
3
  import { forwardRef } from 'react';
@@ -1,4 +1,3 @@
1
- import '../../packages/token-studio/esm/token/elevation/index.js';
2
1
  import typography from '../../packages/token-studio/esm/token/typography/index.js';
3
2
  import styled from 'styled-components';
4
3
  import { fontSize, fontWeight, lineHeight, textAlign } from '../../node_modules/styled-system/dist/index.esm.js';
@@ -1,5 +1,4 @@
1
1
  import breakpoints from '../../packages/token-studio/esm/token/breakpoints/index.js';
2
- import '../../packages/token-studio/esm/token/elevation/index.js';
3
2
  import '../../packages/token-studio/esm/token/typography/index.js';
4
3
  import useMediaQuery from '../../hook/useMediaQuery.js';
5
4
  import SingleColumnLayout from '../Layout/SingleColumnLayout/index.js';
@@ -8,9 +8,5 @@ const surfaceElevation = {
8
8
  const shadowElevation = {
9
9
  'shadow/overlay': shadow.shadowMedium
10
10
  };
11
- ({
12
- ...surfaceElevation,
13
- ...shadowElevation
14
- });
15
11
 
16
12
  export { shadowElevation, surfaceElevation };
@@ -18,7 +18,7 @@ const theme = {
18
18
  radii,
19
19
  colors: {
20
20
  ...color,
21
- surfaceElevation
21
+ ...surfaceElevation
22
22
  },
23
23
  gradients: gradient,
24
24
  shadows: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -55,5 +55,5 @@
55
55
  "lodash.throttle": "^4.1.1",
56
56
  "styled-system": "^5.1.5"
57
57
  },
58
- "gitHead": "ff56ac7dc09f3aa5318b939a50aae9d0fdbc522c"
58
+ "gitHead": "a1f6672a71b9573e70b1105a11d8f52650bfba64"
59
59
  }