@teamturing/react-kit 2.24.5 → 2.25.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.js CHANGED
@@ -38217,6 +38217,17 @@ const gradient = {
38217
38217
  ...overlayGradient
38218
38218
  };
38219
38219
 
38220
+ const opacity$1 = {
38221
+ opacity50: 0.5
38222
+ };
38223
+
38224
+ const accentOpacity = {
38225
+ accent: opacity$1.opacity50
38226
+ };
38227
+ const opacity = {
38228
+ ...accentOpacity
38229
+ };
38230
+
38220
38231
  const rounding = {
38221
38232
  rounding0: 0,
38222
38233
  rounding4: 4,
@@ -38549,7 +38560,8 @@ const theme = {
38549
38560
  gradients: gradient,
38550
38561
  shadows: {
38551
38562
  ...shadowElevation
38552
- }
38563
+ },
38564
+ opacity
38553
38565
  };
38554
38566
 
38555
38567
  const ThemeProvider = ({
@@ -294,5 +294,8 @@ declare const theme: {
294
294
  shadows: {
295
295
  'shadow/overlay': string;
296
296
  };
297
+ opacity: {
298
+ readonly accent: number;
299
+ };
297
300
  };
298
301
  export default theme;
@@ -0,0 +1,5 @@
1
+ const opacity = {
2
+ opacity50: 0.5
3
+ };
4
+
5
+ export { opacity as default };
@@ -0,0 +1,10 @@
1
+ import opacity$1 from '../../foundation/opacity/index.js';
2
+
3
+ const accentOpacity = {
4
+ accent: opacity$1.opacity50
5
+ };
6
+ const opacity = {
7
+ ...accentOpacity
8
+ };
9
+
10
+ export { accentOpacity, opacity as default };
@@ -2,6 +2,7 @@ import breakpoints from '../packages/token-studio/esm/token/breakpoints/index.js
2
2
  import color from '../packages/token-studio/esm/token/color/index.js';
3
3
  import { surfaceElevation, shadowElevation } from '../packages/token-studio/esm/token/elevation/index.js';
4
4
  import gradient from '../packages/token-studio/esm/token/gradient/index.js';
5
+ import opacity from '../packages/token-studio/esm/token/opacity/index.js';
5
6
  import radii from '../packages/token-studio/esm/token/radii/index.js';
6
7
  import space from '../packages/token-studio/esm/token/space/index.js';
7
8
  import '../packages/token-studio/esm/token/typography/index.js';
@@ -23,7 +24,8 @@ const theme = {
23
24
  gradients: gradient,
24
25
  shadows: {
25
26
  ...shadowElevation
26
- }
27
+ },
28
+ opacity
27
29
  };
28
30
 
29
31
  export { theme as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.24.5",
3
+ "version": "2.25.0",
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",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "ace507f8a0d1b4faf1b70a4fb90f0f57e13e84cd"
69
+ "gitHead": "49372114babdc4079f06ad66cd3cd5c7321bc621"
70
70
  }