@semcore/radio 5.1.2 → 5.1.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/CHANGELOG.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [5.1.2] - 2022-10-20
5
+ ## [5.1.3] - 2022-10-28
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/utils` [3.39.0 ~> 3.39.1], `@semcore/flex-box` [4.6.1 ~> 4.6.2]).
9
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.40.0 ~> 3.40.0], `@semcore/flex-box` [4.6.2 ~> 4.6.3]).
10
10
 
11
11
  ## [5.1.0] - 2022-10-10
12
12
 
package/lib/cjs/Radio.js CHANGED
@@ -62,23 +62,23 @@ var style = (
62
62
  /*__reshadow_css_start__*/
63
63
  _core.sstyled.insert(
64
64
  /*__inner_css_start__*/
65
- ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SRadio_c35ug_gg_ {\n display: inline-flex;\n align-items: flex-start;\n cursor: pointer;\n}\n\n.___SRadio_c35ug_gg_.__disabled_c35ug_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n.___SText_c35ug_gg_ {\n margin-left: 8px;\n}\n\n.___SText_c35ug_gg_._size_m_c35ug_gg_ {\n font-size: 14px;\n line-height: 1.42;\n}\n\n.___SText_c35ug_gg_._size_l_c35ug_gg_ {\n font-size: 16px;\n line-height: 1.5;\n}\n\n.___SValue_c35ug_gg_ {\n position: relative;\n flex-shrink: 0;\n padding: 0;\n outline: none;\n z-index: 0;\n\n margin-top: 2px\n}\n\n.___SValue_c35ug_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #fff;\n border: 1px solid;\n border-radius: 50%;\n }\n\n.___SValue_c35ug_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0;\n height: 0;\n border-radius: 50%;\n background: #fff;\n }\n\n.___SValue_c35ug_gg_._size_m_c35ug_gg_ {\n width: 16px;\n height: 16px;\n}\n\n.___SValue_c35ug_gg_._size_l_c35ug_gg_ {\n width: 20px;\n height: 20px;\n}\n\n.___SValue_c35ug_gg_._state_normal_c35ug_gg_::before {\n border-color: #c4c7cf;\n}\n\n.___SValue_c35ug_gg_._state_invalid_c35ug_gg_::before {\n border-color: #ff4953;\n}\n\n.___SControl_c35ug_gg_ {\n position: absolute;\n clip: rect(1px, 1px, 1px, 1px);\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_::before {\n border-color: #008ff8;\n background-color: #008ff8;\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_._size_m_c35ug_gg_::after {\n width: 6px;\n height: 6px;\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_._size_l_c35ug_gg_::after {\n width: 8px;\n height: 8px;\n}\n\n.___SValue_c35ug_gg_._state_normal_c35ug_gg_.__keyboardFocused_c35ug_gg_::before {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n border-color: #008ff8;\n}\n\n.___SValue_c35ug_gg_._state_invalid_c35ug_gg_.__keyboardFocused_c35ug_gg_::before {\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_.__theme_c35ug_gg_::before {\n border-color: var(--theme_c35ug);\n background-color: var(--theme_c35ug);\n}\n\n.___SValue_c35ug_gg_._state_normal_c35ug_gg_.__theme_c35ug_gg_::before {\n border-color: var(--theme_c35ug);\n}\n"
65
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SRadio_9lhri_gg_ {\n display: inline-flex;\n align-items: flex-start;\n cursor: pointer;\n}\n\n.___SRadio_9lhri_gg_.__disabled_9lhri_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n.___SText_9lhri_gg_ {\n margin-left: 8px;\n}\n\n.___SText_9lhri_gg_._size_m_9lhri_gg_ {\n font-size: 14px;\n line-height: 1.42;\n}\n\n.___SText_9lhri_gg_._size_l_9lhri_gg_ {\n font-size: 16px;\n line-height: 1.5;\n}\n\n.___SValue_9lhri_gg_ {\n position: relative;\n flex-shrink: 0;\n padding: 0;\n outline: none;\n z-index: 0;\n\n margin-top: 2px\n}\n\n.___SValue_9lhri_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #fff;\n border: 1px solid;\n border-radius: 50%;\n }\n\n.___SValue_9lhri_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0;\n height: 0;\n border-radius: 50%;\n background: #fff;\n }\n\n.___SValue_9lhri_gg_._size_m_9lhri_gg_ {\n width: 16px;\n height: 16px;\n}\n\n.___SValue_9lhri_gg_._size_l_9lhri_gg_ {\n width: 20px;\n height: 20px;\n}\n\n.___SValue_9lhri_gg_._state_normal_9lhri_gg_::before {\n border-color: #c4c7cf;\n}\n\n.___SValue_9lhri_gg_._state_invalid_9lhri_gg_::before {\n border-color: #ff4953;\n}\n\n.___SControl_9lhri_gg_ {\n position: absolute;\n clip: rect(1px, 1px, 1px, 1px);\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_::before {\n border-color: #008ff8;\n background-color: #008ff8;\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_._size_m_9lhri_gg_::after {\n width: 6px;\n height: 6px;\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_._size_l_9lhri_gg_::after {\n width: 8px;\n height: 8px;\n}\n\n.___SValue_9lhri_gg_._state_normal_9lhri_gg_.__keyboardFocused_9lhri_gg_::before {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n border-color: #008ff8;\n}\n\n.___SValue_9lhri_gg_._state_invalid_9lhri_gg_.__keyboardFocused_9lhri_gg_::before {\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_.__theme_9lhri_gg_::before {\n border-color: var(--theme_9lhri);\n background-color: var(--theme_9lhri);\n}\n\n.___SValue_9lhri_gg_._state_normal_9lhri_gg_.__theme_9lhri_gg_::before {\n border-color: var(--theme_9lhri);\n}\n"
66
66
  /*__inner_css_end__*/
67
- , "c35ug_gg_")
67
+ , "9lhri_gg_")
68
68
  /*__reshadow_css_end__*/
69
69
  , {
70
- "__SRadio": "___SRadio_c35ug_gg_",
71
- "_disabled": "__disabled_c35ug_gg_",
72
- "__SText": "___SText_c35ug_gg_",
73
- "_size_m": "_size_m_c35ug_gg_",
74
- "_size_l": "_size_l_c35ug_gg_",
75
- "__SValue": "___SValue_c35ug_gg_",
76
- "_state_normal": "_state_normal_c35ug_gg_",
77
- "_state_invalid": "_state_invalid_c35ug_gg_",
78
- "__SControl": "___SControl_c35ug_gg_",
79
- "_keyboardFocused": "__keyboardFocused_c35ug_gg_",
80
- "_theme": "__theme_c35ug_gg_",
81
- "--theme": "--theme_c35ug"
70
+ "__SRadio": "___SRadio_9lhri_gg_",
71
+ "_disabled": "__disabled_9lhri_gg_",
72
+ "__SText": "___SText_9lhri_gg_",
73
+ "_size_m": "_size_m_9lhri_gg_",
74
+ "_size_l": "_size_l_9lhri_gg_",
75
+ "__SValue": "___SValue_9lhri_gg_",
76
+ "_state_normal": "_state_normal_9lhri_gg_",
77
+ "_state_invalid": "_state_invalid_9lhri_gg_",
78
+ "__SControl": "___SControl_9lhri_gg_",
79
+ "_keyboardFocused": "__keyboardFocused_9lhri_gg_",
80
+ "_theme": "__theme_9lhri_gg_",
81
+ "--theme": "--theme_9lhri"
82
82
  });
83
83
 
84
84
  var RadioGroupRoot = /*#__PURE__*/function (_Component) {
package/lib/es6/Radio.js CHANGED
@@ -31,23 +31,23 @@ var style = (
31
31
  /*__reshadow_css_start__*/
32
32
  _sstyled.insert(
33
33
  /*__inner_css_start__*/
34
- ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SRadio_c35ug_gg_ {\n display: inline-flex;\n align-items: flex-start;\n cursor: pointer;\n}\n\n.___SRadio_c35ug_gg_.__disabled_c35ug_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n.___SText_c35ug_gg_ {\n margin-left: 8px;\n}\n\n.___SText_c35ug_gg_._size_m_c35ug_gg_ {\n font-size: 14px;\n line-height: 1.42;\n}\n\n.___SText_c35ug_gg_._size_l_c35ug_gg_ {\n font-size: 16px;\n line-height: 1.5;\n}\n\n.___SValue_c35ug_gg_ {\n position: relative;\n flex-shrink: 0;\n padding: 0;\n outline: none;\n z-index: 0;\n\n margin-top: 2px\n}\n\n.___SValue_c35ug_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #fff;\n border: 1px solid;\n border-radius: 50%;\n }\n\n.___SValue_c35ug_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0;\n height: 0;\n border-radius: 50%;\n background: #fff;\n }\n\n.___SValue_c35ug_gg_._size_m_c35ug_gg_ {\n width: 16px;\n height: 16px;\n}\n\n.___SValue_c35ug_gg_._size_l_c35ug_gg_ {\n width: 20px;\n height: 20px;\n}\n\n.___SValue_c35ug_gg_._state_normal_c35ug_gg_::before {\n border-color: #c4c7cf;\n}\n\n.___SValue_c35ug_gg_._state_invalid_c35ug_gg_::before {\n border-color: #ff4953;\n}\n\n.___SControl_c35ug_gg_ {\n position: absolute;\n clip: rect(1px, 1px, 1px, 1px);\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_::before {\n border-color: #008ff8;\n background-color: #008ff8;\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_._size_m_c35ug_gg_::after {\n width: 6px;\n height: 6px;\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_._size_l_c35ug_gg_::after {\n width: 8px;\n height: 8px;\n}\n\n.___SValue_c35ug_gg_._state_normal_c35ug_gg_.__keyboardFocused_c35ug_gg_::before {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n border-color: #008ff8;\n}\n\n.___SValue_c35ug_gg_._state_invalid_c35ug_gg_.__keyboardFocused_c35ug_gg_::before {\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n\n.___SControl_c35ug_gg_:checked ~ .___SValue_c35ug_gg_.__theme_c35ug_gg_::before {\n border-color: var(--theme_c35ug);\n background-color: var(--theme_c35ug);\n}\n\n.___SValue_c35ug_gg_._state_normal_c35ug_gg_.__theme_c35ug_gg_::before {\n border-color: var(--theme_c35ug);\n}\n"
34
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SRadio_9lhri_gg_ {\n display: inline-flex;\n align-items: flex-start;\n cursor: pointer;\n}\n\n.___SRadio_9lhri_gg_.__disabled_9lhri_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n.___SText_9lhri_gg_ {\n margin-left: 8px;\n}\n\n.___SText_9lhri_gg_._size_m_9lhri_gg_ {\n font-size: 14px;\n line-height: 1.42;\n}\n\n.___SText_9lhri_gg_._size_l_9lhri_gg_ {\n font-size: 16px;\n line-height: 1.5;\n}\n\n.___SValue_9lhri_gg_ {\n position: relative;\n flex-shrink: 0;\n padding: 0;\n outline: none;\n z-index: 0;\n\n margin-top: 2px\n}\n\n.___SValue_9lhri_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #fff;\n border: 1px solid;\n border-radius: 50%;\n }\n\n.___SValue_9lhri_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0;\n height: 0;\n border-radius: 50%;\n background: #fff;\n }\n\n.___SValue_9lhri_gg_._size_m_9lhri_gg_ {\n width: 16px;\n height: 16px;\n}\n\n.___SValue_9lhri_gg_._size_l_9lhri_gg_ {\n width: 20px;\n height: 20px;\n}\n\n.___SValue_9lhri_gg_._state_normal_9lhri_gg_::before {\n border-color: #c4c7cf;\n}\n\n.___SValue_9lhri_gg_._state_invalid_9lhri_gg_::before {\n border-color: #ff4953;\n}\n\n.___SControl_9lhri_gg_ {\n position: absolute;\n clip: rect(1px, 1px, 1px, 1px);\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_::before {\n border-color: #008ff8;\n background-color: #008ff8;\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_._size_m_9lhri_gg_::after {\n width: 6px;\n height: 6px;\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_._size_l_9lhri_gg_::after {\n width: 8px;\n height: 8px;\n}\n\n.___SValue_9lhri_gg_._state_normal_9lhri_gg_.__keyboardFocused_9lhri_gg_::before {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n border-color: #008ff8;\n}\n\n.___SValue_9lhri_gg_._state_invalid_9lhri_gg_.__keyboardFocused_9lhri_gg_::before {\n box-shadow: 0px 0px 0px 3px rgba(255, 73, 83, 0.2);\n}\n\n.___SControl_9lhri_gg_:checked ~ .___SValue_9lhri_gg_.__theme_9lhri_gg_::before {\n border-color: var(--theme_9lhri);\n background-color: var(--theme_9lhri);\n}\n\n.___SValue_9lhri_gg_._state_normal_9lhri_gg_.__theme_9lhri_gg_::before {\n border-color: var(--theme_9lhri);\n}\n"
35
35
  /*__inner_css_end__*/
36
- , "c35ug_gg_")
36
+ , "9lhri_gg_")
37
37
  /*__reshadow_css_end__*/
38
38
  , {
39
- "__SRadio": "___SRadio_c35ug_gg_",
40
- "_disabled": "__disabled_c35ug_gg_",
41
- "__SText": "___SText_c35ug_gg_",
42
- "_size_m": "_size_m_c35ug_gg_",
43
- "_size_l": "_size_l_c35ug_gg_",
44
- "__SValue": "___SValue_c35ug_gg_",
45
- "_state_normal": "_state_normal_c35ug_gg_",
46
- "_state_invalid": "_state_invalid_c35ug_gg_",
47
- "__SControl": "___SControl_c35ug_gg_",
48
- "_keyboardFocused": "__keyboardFocused_c35ug_gg_",
49
- "_theme": "__theme_c35ug_gg_",
50
- "--theme": "--theme_c35ug"
39
+ "__SRadio": "___SRadio_9lhri_gg_",
40
+ "_disabled": "__disabled_9lhri_gg_",
41
+ "__SText": "___SText_9lhri_gg_",
42
+ "_size_m": "_size_m_9lhri_gg_",
43
+ "_size_l": "_size_l_9lhri_gg_",
44
+ "__SValue": "___SValue_9lhri_gg_",
45
+ "_state_normal": "_state_normal_9lhri_gg_",
46
+ "_state_invalid": "_state_invalid_9lhri_gg_",
47
+ "__SControl": "___SControl_9lhri_gg_",
48
+ "_keyboardFocused": "__keyboardFocused_9lhri_gg_",
49
+ "_theme": "__theme_9lhri_gg_",
50
+ "--theme": "--theme_9lhri"
51
51
  });
52
52
 
53
53
  var RadioGroupRoot = /*#__PURE__*/function (_Component) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/radio",
3
3
  "description": "Semrush Radio Component",
4
- "version": "5.1.2",
4
+ "version": "5.1.3",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",