@itcase/forms 1.0.55 → 1.0.56

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.
@@ -3,12 +3,12 @@
3
3
  }
4
4
  .form-radio {
5
5
  &_state_success {
6
- & .radio-button__state {
6
+ & .radio__state {
7
7
  border: solid 1px var(--radio-success-border);
8
8
  }
9
9
  }
10
10
  &_state_error {
11
- & .radio-button__state {
11
+ & .radio__state {
12
12
  border: solid 1px var(--radio-error-border);
13
13
  }
14
14
  }
@@ -23,7 +23,7 @@ var Loader = require('@itcase/ui/components/Loader');
23
23
  var Title = require('@itcase/ui/components/Title');
24
24
  var Input = require('@itcase/ui/components/Input');
25
25
  var Icon = require('@itcase/ui/components/Icon');
26
- var RadioButton = require('@itcase/ui/components/RadioButton');
26
+ var Radio = require('@itcase/ui/components/Radio');
27
27
  var Segmented = require('@itcase/ui/components/Segmented');
28
28
  var Select = require('@itcase/ui/components/Select');
29
29
  var Switch = require('@itcase/ui/components/Switch');
@@ -1425,7 +1425,7 @@ function RadioGroupItem(props) {
1425
1425
  onChange(option.value);
1426
1426
  }
1427
1427
  }, [onChange]);
1428
- return /*#__PURE__*/React__default.default.createElement(RadioButton.RadioButton, Object.assign({
1428
+ return /*#__PURE__*/React__default.default.createElement(Radio.Radio, Object.assign({
1429
1429
  className: "form-radio__item",
1430
1430
  checked: option.value === input.value,
1431
1431
  name: input.name,
@@ -22,7 +22,7 @@ import { Loader } from '@itcase/ui/components/Loader';
22
22
  import { Title } from '@itcase/ui/components/Title';
23
23
  import { Input } from '@itcase/ui/components/Input';
24
24
  import { Icon } from '@itcase/ui/components/Icon';
25
- import { RadioButton } from '@itcase/ui/components/RadioButton';
25
+ import { Radio } from '@itcase/ui/components/Radio';
26
26
  import { Segmented } from '@itcase/ui/components/Segmented';
27
27
  import { Select } from '@itcase/ui/components/Select';
28
28
  import { Switch } from '@itcase/ui/components/Switch';
@@ -1415,7 +1415,7 @@ function RadioGroupItem(props) {
1415
1415
  onChange(option.value);
1416
1416
  }
1417
1417
  }, [onChange]);
1418
- return /*#__PURE__*/React.createElement(RadioButton, Object.assign({
1418
+ return /*#__PURE__*/React.createElement(Radio, Object.assign({
1419
1419
  className: "form-radio__item",
1420
1420
  checked: option.value === input.value,
1421
1421
  name: input.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/forms",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "description": "Forms fields, inputs, etc.",
5
5
  "keywords": [],
6
6
  "license": "MIT",