@teamturing/react-kit 2.43.0 → 2.43.2
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 +35 -2
- package/dist/theme/index.d.ts +2 -0
- package/esm/packages/icons/esm/ReportColor.js +30 -0
- package/esm/packages/icons/esm/index.js +1 -0
- package/esm/packages/token-studio/esm/foundation/gradient/colorStopList/index.js +2 -1
- package/esm/packages/token-studio/esm/token/gradient/index.js +7 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -4038,6 +4038,32 @@ const SvgRepeat = props => /*#__PURE__*/React__namespace.createElement("svg", _e
|
|
|
4038
4038
|
d: "M4.3 12.37v-1.01c0-2.79 2.27-5.06 5.06-5.06h7.59l-.56.56a1.202 1.202 0 0 0 1.7 1.7l2.61-2.61c.22-.23.35-.53.35-.85 0-.32-.13-.62-.35-.85l-2.61-2.61a1.201 1.201 0 1 0-1.7 1.7l.56.56H9.36c-4.11 0-7.46 3.35-7.46 7.46v1.01c0 .66.54 1.2 1.2 1.2.66 0 1.2-.53 1.2-1.2Zm16.6-1.94c-.66 0-1.2.54-1.2 1.2v1.01c0 2.79-2.27 5.06-5.06 5.06H7.05l.56-.56a1.202 1.202 0 0 0-1.7-1.7L3.3 18.05c-.23.22-.35.53-.35.85 0 .32.13.62.35.85l2.61 2.61a1.204 1.204 0 0 0 1.7 0c.47-.47.47-1.23 0-1.7l-.56-.56h7.59c4.11 0 7.46-3.35 7.46-7.46v-1.01c0-.67-.54-1.2-1.2-1.2Z"
|
|
4039
4039
|
}));
|
|
4040
4040
|
|
|
4041
|
+
const SvgReportColor = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4042
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4043
|
+
width: "1em",
|
|
4044
|
+
height: "1em",
|
|
4045
|
+
fill: "none",
|
|
4046
|
+
viewBox: "0 0 24 24"
|
|
4047
|
+
}, props), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4048
|
+
fill: "#fff",
|
|
4049
|
+
d: "M17.086 3.164c.444 0 .805.36.805.805v17.277a.806.806 0 0 1-.805.806H3.672a.806.806 0 0 1-.805-.806V3.97c0-.445.36-.805.805-.805h13.414Z"
|
|
4050
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4051
|
+
fill: "#C6B5F6",
|
|
4052
|
+
fillRule: "evenodd",
|
|
4053
|
+
d: "M13.327 1.5c.419 0 .768.3.844.697h2.915c.978 0 1.771.794 1.771 1.772v17.277c0 .978-.794 1.772-1.771 1.772H3.672A1.772 1.772 0 0 1 1.9 21.246V3.97c0-.978.794-1.772 1.772-1.772h3.017a.858.858 0 0 1 .843-.697h5.795ZM3.672 3.164a.805.805 0 0 0-.805.805v17.277c0 .445.36.806.805.806h13.414a.806.806 0 0 0 .805-.806V3.97a.805.805 0 0 0-.805-.805h-2.9v.375a.215.215 0 0 1-.215.215H6.888a.215.215 0 0 1-.215-.215v-.375H3.672Z",
|
|
4054
|
+
clipRule: "evenodd"
|
|
4055
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4056
|
+
fill: "#C6B5F6",
|
|
4057
|
+
d: "M4.316 6.316c0-.29.234-.523.523-.523h3.14a.523.523 0 1 1 0 1.046h-3.14a.523.523 0 0 1-.523-.523ZM4.316 8.757c0-.289.234-.523.523-.523h11.08a.523.523 0 1 1 0 1.046H4.84a.523.523 0 0 1-.523-.523ZM4.316 11.199c0-.29.234-.523.523-.523h11.08a.523.523 0 1 1 0 1.046H4.84a.523.523 0 0 1-.523-.523Z"
|
|
4058
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4059
|
+
fill: "#9C7EEF",
|
|
4060
|
+
d: "m22.261 21.543-2.472-2.473a4.577 4.577 0 0 0 .931-2.766 4.614 4.614 0 0 0-4.608-4.609 4.615 4.615 0 0 0-4.609 4.61 4.614 4.614 0 0 0 4.609 4.608c1.038 0 1.995-.35 2.766-.931l2.472 2.472a.642.642 0 0 0 .911 0 .645.645 0 0 0 0-.912Zm-9.47-5.239a3.324 3.324 0 0 1 3.32-3.32c1.831 0 3.321 1.489 3.321 3.32 0 1.83-1.49 3.32-3.32 3.32a3.323 3.323 0 0 1-3.321-3.32Z"
|
|
4061
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4062
|
+
fill: "#835EEB",
|
|
4063
|
+
fillOpacity: 0.2,
|
|
4064
|
+
d: "M16.113 12.983c1.83 0 3.32 1.49 3.32 3.32 0 1.831-1.49 3.32-3.32 3.32a3.323 3.323 0 0 1-3.32-3.319 3.324 3.324 0 0 1 3.32-3.32Z"
|
|
4065
|
+
}));
|
|
4066
|
+
|
|
4041
4067
|
const SvgSchool = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4042
4068
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4043
4069
|
width: "1em",
|
|
@@ -4987,6 +5013,7 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
4987
5013
|
ReceiptIcon: SvgReceipt,
|
|
4988
5014
|
RefreshIcon: SvgRefresh,
|
|
4989
5015
|
RepeatIcon: SvgRepeat,
|
|
5016
|
+
ReportColorIcon: SvgReportColor,
|
|
4990
5017
|
SchoolColorIcon: SvgSchoolColor,
|
|
4991
5018
|
SchoolIcon: SvgSchool,
|
|
4992
5019
|
ScrollIcon: SvgScroll,
|
|
@@ -39183,7 +39210,8 @@ const colorStopList = {
|
|
|
39183
39210
|
colorStopListVioletPink: '#8E6CF0, #CF75F3',
|
|
39184
39211
|
colorStopListBlackGray: '#0F0E0F, #595959',
|
|
39185
39212
|
colorStopListWhite: '#FFFFFF, #FFFFFF00',
|
|
39186
|
-
colorStopListBlack: '#000000, #00000000'
|
|
39213
|
+
colorStopListBlack: '#000000, #00000000',
|
|
39214
|
+
colorStopListPinkVioletBlue: '#FF6DEB, #8E6EF1, #5F9EFF'
|
|
39187
39215
|
};
|
|
39188
39216
|
|
|
39189
39217
|
const direction = {
|
|
@@ -39196,12 +39224,16 @@ const direction = {
|
|
|
39196
39224
|
|
|
39197
39225
|
const generateGradientTokenValue = (direction$1, colorStopList$1) => `${direction[direction$1]}, ${colorStopList[colorStopList$1]}`;
|
|
39198
39226
|
const textGradient = {
|
|
39199
|
-
'text/accent': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
39227
|
+
'text/accent': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
39228
|
+
'text/accent/pinkblue': generateGradientTokenValue('directionToRightBottom', 'colorStopListPinkVioletBlue')
|
|
39200
39229
|
};
|
|
39201
39230
|
const bgGradient = {
|
|
39202
39231
|
'bg/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
39203
39232
|
'bg/accent/neutral': generateGradientTokenValue('directionToRightBottom', 'colorStopListBlackGray')
|
|
39204
39233
|
};
|
|
39234
|
+
const iconGradient = {
|
|
39235
|
+
'icon/accent/pinkblue': generateGradientTokenValue('directionToRightBottom', 'colorStopListPinkVioletBlue')
|
|
39236
|
+
};
|
|
39205
39237
|
const borderGradient = {
|
|
39206
39238
|
'border/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
39207
39239
|
};
|
|
@@ -39221,6 +39253,7 @@ const overlayGradient = {
|
|
|
39221
39253
|
};
|
|
39222
39254
|
const gradient = {
|
|
39223
39255
|
...textGradient,
|
|
39256
|
+
...iconGradient,
|
|
39224
39257
|
...bgGradient,
|
|
39225
39258
|
...borderGradient,
|
|
39226
39259
|
...overlayGradient
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -295,7 +295,9 @@ declare const theme: {
|
|
|
295
295
|
readonly 'border/accent/violet': string;
|
|
296
296
|
readonly 'bg/accent/violet': string;
|
|
297
297
|
readonly 'bg/accent/neutral': string;
|
|
298
|
+
readonly 'icon/accent/pinkblue': string;
|
|
298
299
|
readonly 'text/accent': string;
|
|
300
|
+
readonly 'text/accent/pinkblue': string;
|
|
299
301
|
};
|
|
300
302
|
shadows: {
|
|
301
303
|
'shadow/overlay': string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { extends as _extends } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
const SvgReportColor = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#fff",
|
|
12
|
+
d: "M17.086 3.164c.444 0 .805.36.805.805v17.277a.806.806 0 0 1-.805.806H3.672a.806.806 0 0 1-.805-.806V3.97c0-.445.36-.805.805-.805h13.414Z"
|
|
13
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
fill: "#C6B5F6",
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
d: "M13.327 1.5c.419 0 .768.3.844.697h2.915c.978 0 1.771.794 1.771 1.772v17.277c0 .978-.794 1.772-1.771 1.772H3.672A1.772 1.772 0 0 1 1.9 21.246V3.97c0-.978.794-1.772 1.772-1.772h3.017a.858.858 0 0 1 .843-.697h5.795ZM3.672 3.164a.805.805 0 0 0-.805.805v17.277c0 .445.36.806.805.806h13.414a.806.806 0 0 0 .805-.806V3.97a.805.805 0 0 0-.805-.805h-2.9v.375a.215.215 0 0 1-.215.215H6.888a.215.215 0 0 1-.215-.215v-.375H3.672Z",
|
|
17
|
+
clipRule: "evenodd"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fill: "#C6B5F6",
|
|
20
|
+
d: "M4.316 6.316c0-.29.234-.523.523-.523h3.14a.523.523 0 1 1 0 1.046h-3.14a.523.523 0 0 1-.523-.523ZM4.316 8.757c0-.289.234-.523.523-.523h11.08a.523.523 0 1 1 0 1.046H4.84a.523.523 0 0 1-.523-.523ZM4.316 11.199c0-.29.234-.523.523-.523h11.08a.523.523 0 1 1 0 1.046H4.84a.523.523 0 0 1-.523-.523Z"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fill: "#9C7EEF",
|
|
23
|
+
d: "m22.261 21.543-2.472-2.473a4.577 4.577 0 0 0 .931-2.766 4.614 4.614 0 0 0-4.608-4.609 4.615 4.615 0 0 0-4.609 4.61 4.614 4.614 0 0 0 4.609 4.608c1.038 0 1.995-.35 2.766-.931l2.472 2.472a.642.642 0 0 0 .911 0 .645.645 0 0 0 0-.912Zm-9.47-5.239a3.324 3.324 0 0 1 3.32-3.32c1.831 0 3.321 1.489 3.321 3.32 0 1.83-1.49 3.32-3.32 3.32a3.323 3.323 0 0 1-3.321-3.32Z"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
fill: "#835EEB",
|
|
26
|
+
fillOpacity: 0.2,
|
|
27
|
+
d: "M16.113 12.983c1.83 0 3.32 1.49 3.32 3.32 0 1.831-1.49 3.32-3.32 3.32a3.323 3.323 0 0 1-3.32-3.319 3.324 3.324 0 0 1 3.32-3.32Z"
|
|
28
|
+
}));
|
|
29
|
+
|
|
30
|
+
export { SvgReportColor as default };
|
|
@@ -176,6 +176,7 @@ export { default as RaffleColorIcon } from './RaffleColor.js';
|
|
|
176
176
|
export { default as ReceiptIcon } from './Receipt.js';
|
|
177
177
|
export { default as RefreshIcon } from './Refresh.js';
|
|
178
178
|
export { default as RepeatIcon } from './Repeat.js';
|
|
179
|
+
export { default as ReportColorIcon } from './ReportColor.js';
|
|
179
180
|
export { default as SchoolIcon } from './School.js';
|
|
180
181
|
export { default as SchoolColorIcon } from './SchoolColor.js';
|
|
181
182
|
export { default as ScrollIcon } from './Scroll.js';
|
|
@@ -2,7 +2,8 @@ const colorStopList = {
|
|
|
2
2
|
colorStopListVioletPink: '#8E6CF0, #CF75F3',
|
|
3
3
|
colorStopListBlackGray: '#0F0E0F, #595959',
|
|
4
4
|
colorStopListWhite: '#FFFFFF, #FFFFFF00',
|
|
5
|
-
colorStopListBlack: '#000000, #00000000'
|
|
5
|
+
colorStopListBlack: '#000000, #00000000',
|
|
6
|
+
colorStopListPinkVioletBlue: '#FF6DEB, #8E6EF1, #5F9EFF'
|
|
6
7
|
};
|
|
7
8
|
|
|
8
9
|
export { colorStopList as default };
|
|
@@ -3,12 +3,16 @@ import direction from '../../foundation/gradient/direction/index.js';
|
|
|
3
3
|
|
|
4
4
|
const generateGradientTokenValue = (direction$1, colorStopList$1) => `${direction[direction$1]}, ${colorStopList[colorStopList$1]}`;
|
|
5
5
|
const textGradient = {
|
|
6
|
-
'text/accent': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
6
|
+
'text/accent': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
7
|
+
'text/accent/pinkblue': generateGradientTokenValue('directionToRightBottom', 'colorStopListPinkVioletBlue')
|
|
7
8
|
};
|
|
8
9
|
const bgGradient = {
|
|
9
10
|
'bg/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
10
11
|
'bg/accent/neutral': generateGradientTokenValue('directionToRightBottom', 'colorStopListBlackGray')
|
|
11
12
|
};
|
|
13
|
+
const iconGradient = {
|
|
14
|
+
'icon/accent/pinkblue': generateGradientTokenValue('directionToRightBottom', 'colorStopListPinkVioletBlue')
|
|
15
|
+
};
|
|
12
16
|
const borderGradient = {
|
|
13
17
|
'border/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
14
18
|
};
|
|
@@ -28,9 +32,10 @@ const overlayGradient = {
|
|
|
28
32
|
};
|
|
29
33
|
const gradient = {
|
|
30
34
|
...textGradient,
|
|
35
|
+
...iconGradient,
|
|
31
36
|
...bgGradient,
|
|
32
37
|
...borderGradient,
|
|
33
38
|
...overlayGradient
|
|
34
39
|
};
|
|
35
40
|
|
|
36
|
-
export { bgGradient, borderGradient, gradient as default, overlayGradient, textGradient };
|
|
41
|
+
export { bgGradient, borderGradient, gradient as default, iconGradient, overlayGradient, textGradient };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.43.
|
|
3
|
+
"version": "2.43.2",
|
|
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,8 +55,8 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@floating-ui/react-dom": "^2.0.2",
|
|
57
57
|
"@primer/behaviors": "^1.3.6",
|
|
58
|
-
"@teamturing/icons": "^1.
|
|
59
|
-
"@teamturing/token-studio": "^1.
|
|
58
|
+
"@teamturing/icons": "^1.50.0",
|
|
59
|
+
"@teamturing/token-studio": "^1.11.0",
|
|
60
60
|
"@teamturing/utils": "^1.4.0",
|
|
61
61
|
"framer-motion": "^10.16.4",
|
|
62
62
|
"lodash.debounce": "^4.0.8",
|
|
@@ -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": "727e8dc5c67ce7d229e27604c7962361ac554ccf"
|
|
70
70
|
}
|