@teamturing/react-kit 2.44.2 → 2.44.3

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
@@ -37437,11 +37437,7 @@ var index$5 = Object.assign( /*#__PURE__*/React.forwardRef(FormControl), {
37437
37437
  TooltipIcon: FormControlTooltipIcon
37438
37438
  });
37439
37439
 
37440
- const GradientText = styled__default.default(Text)({
37441
- backgroundClip: 'text',
37442
- WebkitBackgroundClip: 'text',
37443
- WebkitTextFillColor: 'transparent'
37444
- }, ({
37440
+ const GradientText = styled__default.default(Text)(({
37445
37441
  theme
37446
37442
  }) => variant({
37447
37443
  prop: 'variant',
@@ -37453,7 +37449,11 @@ const GradientText = styled__default.default(Text)({
37453
37449
  background: `linear-gradient(${theme.gradients['text/accent/pinkblue']})`
37454
37450
  }
37455
37451
  }
37456
- }));
37452
+ }), {
37453
+ backgroundClip: 'text',
37454
+ WebkitBackgroundClip: 'text',
37455
+ WebkitTextFillColor: 'transparent'
37456
+ });
37457
37457
  GradientText.defaultProps = {
37458
37458
  variant: 'violet'
37459
37459
  };
@@ -3,11 +3,7 @@ import '../../node_modules/styled-system/dist/index.esm.js';
3
3
  import Text from '../Text/index.js';
4
4
  import { variant } from '../../node_modules/@styled-system/variant/dist/index.esm.js';
5
5
 
6
- const GradientText = styled(Text)({
7
- backgroundClip: 'text',
8
- WebkitBackgroundClip: 'text',
9
- WebkitTextFillColor: 'transparent'
10
- }, ({
6
+ const GradientText = styled(Text)(({
11
7
  theme
12
8
  }) => variant({
13
9
  prop: 'variant',
@@ -19,7 +15,11 @@ const GradientText = styled(Text)({
19
15
  background: `linear-gradient(${theme.gradients['text/accent/pinkblue']})`
20
16
  }
21
17
  }
22
- }));
18
+ }), {
19
+ backgroundClip: 'text',
20
+ WebkitBackgroundClip: 'text',
21
+ WebkitTextFillColor: 'transparent'
22
+ });
23
23
  GradientText.defaultProps = {
24
24
  variant: 'violet'
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.44.2",
3
+ "version": "2.44.3",
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": "48ee03441b92156b218bedb89b58751b021c91d4"
69
+ "gitHead": "c10654d1ff666973d217a2fef4383089bd23671c"
70
70
  }