@teamturing/react-kit 2.32.0 → 2.32.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 CHANGED
@@ -36883,6 +36883,7 @@ const FormControlLabel = ({
36883
36883
  disabled: disabled,
36884
36884
  children: [children, typeof required === 'boolean' && required === false ? /*#__PURE__*/jsxRuntimeExports.jsx(View, {
36885
36885
  as: 'span',
36886
+ className: 'form_control_label__required__false',
36886
36887
  "aria-hidden": "true",
36887
36888
  children: ' (선택)'
36888
36889
  }) : null]
@@ -36931,7 +36932,7 @@ const LabelWrapper = styled__default.default(View)`
36931
36932
  disabled
36932
36933
  }) => disabled ? 'not-allowed' : 'pointer'};
36933
36934
 
36934
- span {
36935
+ span.form_control_label__required__false {
36935
36936
  font-size: inherit;
36936
36937
  font-weight: inherit;
36937
36938
  color: ${({
@@ -37009,8 +37010,7 @@ const FormControl = ({
37009
37010
  display: 'inline-flex',
37010
37011
  children: /*#__PURE__*/React.cloneElement(InputComponent, {
37011
37012
  id,
37012
- disabled,
37013
- required
37013
+ disabled
37014
37014
  })
37015
37015
  }), /*#__PURE__*/jsxRuntimeExports.jsxs(View, {
37016
37016
  sx: {
@@ -37036,8 +37036,7 @@ const FormControl = ({
37036
37036
  ...props,
37037
37037
  children: [relocatableComponentsObject.label, /*#__PURE__*/React.cloneElement(InputComponent, {
37038
37038
  id,
37039
- disabled,
37040
- required
37039
+ disabled
37041
37040
  }), relocatableComponentsObject.caption, relocatableComponentsObject.errorMessage, relocatableComponentsObject.successMessage]
37042
37041
  })
37043
37042
  });
@@ -28,6 +28,7 @@ const FormControlLabel = ({
28
28
  disabled: disabled,
29
29
  children: [children, typeof required === 'boolean' && required === false ? /*#__PURE__*/jsxRuntimeExports.jsx(View, {
30
30
  as: 'span',
31
+ className: 'form_control_label__required__false',
31
32
  "aria-hidden": "true",
32
33
  children: ' (선택)'
33
34
  }) : null]
@@ -76,7 +77,7 @@ const LabelWrapper = styled(View)`
76
77
  disabled
77
78
  }) => disabled ? 'not-allowed' : 'pointer'};
78
79
 
79
- span {
80
+ span.form_control_label__required__false {
80
81
  font-size: inherit;
81
82
  font-weight: inherit;
82
83
  color: ${({
@@ -53,8 +53,7 @@ const FormControl = ({
53
53
  display: 'inline-flex',
54
54
  children: /*#__PURE__*/cloneElement(InputComponent, {
55
55
  id,
56
- disabled,
57
- required
56
+ disabled
58
57
  })
59
58
  }), /*#__PURE__*/jsxRuntimeExports.jsxs(View, {
60
59
  sx: {
@@ -80,8 +79,7 @@ const FormControl = ({
80
79
  ...props,
81
80
  children: [relocatableComponentsObject.label, /*#__PURE__*/cloneElement(InputComponent, {
82
81
  id,
83
- disabled,
84
- required
82
+ disabled
85
83
  }), relocatableComponentsObject.caption, relocatableComponentsObject.errorMessage, relocatableComponentsObject.successMessage]
86
84
  })
87
85
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.32.0",
3
+ "version": "2.32.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": "6967e297d1cb06b3150091503f4ab0bf75a79ffb"
69
+ "gitHead": "2f85135f0dc73860e96d8e5ace1f3a684fb6291a"
70
70
  }