@teamturing/react-kit 2.44.1 → 2.44.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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { TextProps } from '../Text';
3
3
  type Props = {
4
- variant: 'violet' | 'pinkBlue';
4
+ variant?: 'violet' | 'pinkBlue';
5
5
  } & TextProps;
6
6
  declare const GradientText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
7
7
  ref?: import("react").LegacyRef<HTMLSpanElement> | undefined;
package/dist/index.js CHANGED
@@ -37454,6 +37454,9 @@ const GradientText = styled__default.default(Text)({
37454
37454
  }
37455
37455
  }
37456
37456
  }));
37457
+ GradientText.defaultProps = {
37458
+ variant: 'violet'
37459
+ };
37457
37460
 
37458
37461
  const IconToggleButton = ({
37459
37462
  icon: Icon,
@@ -20,5 +20,8 @@ const GradientText = styled(Text)({
20
20
  }
21
21
  }
22
22
  }));
23
+ GradientText.defaultProps = {
24
+ variant: 'violet'
25
+ };
23
26
 
24
27
  export { GradientText as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.44.1",
3
+ "version": "2.44.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",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "a269e8830701a5a8ed3baaf3c08f07e9b006722c"
69
+ "gitHead": "48ee03441b92156b218bedb89b58751b021c91d4"
70
70
  }