@teamturing/react-kit 2.24.4 → 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 +14 -1
- package/dist/theme/index.d.ts +3 -0
- package/esm/packages/icons/esm/Clip.js +1 -0
- package/esm/packages/token-studio/esm/foundation/opacity/index.js +5 -0
- package/esm/packages/token-studio/esm/token/opacity/index.js +10 -0
- package/esm/theme/index.js +3 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1905,6 +1905,7 @@ const SvgClip = props => /*#__PURE__*/React__namespace.createElement("svg", _ext
|
|
|
1905
1905
|
fill: "none",
|
|
1906
1906
|
viewBox: "0 0 24 24"
|
|
1907
1907
|
}, props), /*#__PURE__*/React__namespace.createElement("path", {
|
|
1908
|
+
fill: "currentColor",
|
|
1908
1909
|
d: "M8.4 21.6c-1.9 0-3.9-.7-5.3-2.2-2.9-2.9-2.9-7.7 0-10.7l4.5-4.5c.4-.4 1.1-.4 1.6 0 .4.4.4 1.1 0 1.6l-4.5 4.5c-2.1 2.1-2.1 5.5 0 7.5 2.1 2.1 5.5 2.1 7.5 0L20 10c1.2-1.2 1.2-3.3 0-4.5-1.2-1.2-3.3-1.2-4.5 0l-7.1 7.1c-.4.4-.4 1.1 0 1.5.4.4 1.1.4 1.5 0l4.8-4.8c.4-.4 1.1-.4 1.6 0 .4.4.4 1.1 0 1.6l-4.8 4.8C10.1 17 8 17 6.8 15.7c-1.3-1.3-1.3-3.3 0-4.6L13.9 4c2.1-2.1 5.5-2.1 7.6 0 2.1 2.1 2.1 5.5 0 7.6l-7.8 7.8c-1.4 1.4-3.3 2.2-5.3 2.2Z"
|
|
1909
1910
|
}));
|
|
1910
1911
|
|
|
@@ -38216,6 +38217,17 @@ const gradient = {
|
|
|
38216
38217
|
...overlayGradient
|
|
38217
38218
|
};
|
|
38218
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
|
+
|
|
38219
38231
|
const rounding = {
|
|
38220
38232
|
rounding0: 0,
|
|
38221
38233
|
rounding4: 4,
|
|
@@ -38548,7 +38560,8 @@ const theme = {
|
|
|
38548
38560
|
gradients: gradient,
|
|
38549
38561
|
shadows: {
|
|
38550
38562
|
...shadowElevation
|
|
38551
|
-
}
|
|
38563
|
+
},
|
|
38564
|
+
opacity
|
|
38552
38565
|
};
|
|
38553
38566
|
|
|
38554
38567
|
const ThemeProvider = ({
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ const SvgClip = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
|
8
8
|
fill: "none",
|
|
9
9
|
viewBox: "0 0 24 24"
|
|
10
10
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "currentColor",
|
|
11
12
|
d: "M8.4 21.6c-1.9 0-3.9-.7-5.3-2.2-2.9-2.9-2.9-7.7 0-10.7l4.5-4.5c.4-.4 1.1-.4 1.6 0 .4.4.4 1.1 0 1.6l-4.5 4.5c-2.1 2.1-2.1 5.5 0 7.5 2.1 2.1 5.5 2.1 7.5 0L20 10c1.2-1.2 1.2-3.3 0-4.5-1.2-1.2-3.3-1.2-4.5 0l-7.1 7.1c-.4.4-.4 1.1 0 1.5.4.4 1.1.4 1.5 0l4.8-4.8c.4-.4 1.1-.4 1.6 0 .4.4.4 1.1 0 1.6l-4.8 4.8C10.1 17 8 17 6.8 15.7c-1.3-1.3-1.3-3.3 0-4.6L13.9 4c2.1-2.1 5.5-2.1 7.6 0 2.1 2.1 2.1 5.5 0 7.6l-7.8 7.8c-1.4 1.4-3.3 2.2-5.3 2.2Z"
|
|
12
13
|
}));
|
|
13
14
|
|
package/esm/theme/index.js
CHANGED
|
@@ -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.
|
|
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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@floating-ui/react-dom": "^2.0.2",
|
|
57
57
|
"@primer/behaviors": "^1.3.6",
|
|
58
|
-
"@teamturing/icons": "^1.38.
|
|
58
|
+
"@teamturing/icons": "^1.38.2",
|
|
59
59
|
"@teamturing/token-studio": "^1.5.0",
|
|
60
60
|
"@teamturing/utils": "^1.3.0",
|
|
61
61
|
"framer-motion": "^10.16.4",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react-textarea-autosize": "^8.5.3",
|
|
67
67
|
"styled-system": "^5.1.5"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "49372114babdc4079f06ad66cd3cd5c7321bc621"
|
|
70
70
|
}
|