@alfalab/core-components-slider-input 8.2.15 → 8.2.16

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/Component.js CHANGED
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"component":"slider-input__component_1tmfb","block":"slider-input__block_1tmfb","slider":"slider-input__slider_1tmfb","size-72":"slider-input__size-72_1tmfb","hidePips":"slider-input__hidePips_1tmfb","field":"slider-input__field_1tmfb","size-48":"slider-input__size-48_1tmfb","size-56":"slider-input__size-56_1tmfb","size-64":"slider-input__size-64_1tmfb","input":"slider-input__input_1tmfb","steps":"slider-input__steps_1tmfb","info":"slider-input__info_1tmfb","hasLabel":"slider-input__hasLabel_1tmfb","focused":"slider-input__focused_1tmfb","filled":"slider-input__filled_1tmfb"};
16
+ var styles = {"component":"slider-input__component_wc54w","block":"slider-input__block_wc54w","slider":"slider-input__slider_wc54w","size-72":"slider-input__size-72_wc54w","hidePips":"slider-input__hidePips_wc54w","field":"slider-input__field_wc54w","size-48":"slider-input__size-48_wc54w","size-56":"slider-input__size-56_wc54w","size-64":"slider-input__size-64_wc54w","input":"slider-input__input_wc54w","steps":"slider-input__steps_wc54w","info":"slider-input__info_wc54w","hasLabel":"slider-input__hasLabel_wc54w","focused":"slider-input__focused_wc54w","filled":"slider-input__filled_wc54w"};
17
17
  require('./index.css')
18
18
 
19
19
  var SIZE_TO_CLASSNAME_MAP = {
@@ -15,10 +15,12 @@
15
15
  --border-radius-s: 4px;
16
16
  --border-radius-m: 8px;
17
17
  --border-radius-l: 12px;
18
- } :root {
19
- --gap-xs: 8px;
20
- --gap-s: 12px;
21
- --gap-m: 16px;
18
+ } :root { /* deprecated */ /* deprecated */
19
+ --gap-xs: 8px; /* deprecated */
20
+ --gap-s: 12px; /* deprecated */ /* deprecated */
21
+ --gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
22
+
23
+ /* новые значения, используйте их */
22
24
  } :root {
23
25
  } :root {
24
26
  } :root {
package/esm/Component.js CHANGED
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { Input } from '@alfalab/core-components-input/esm';
5
5
  import { Slider } from '@alfalab/core-components-slider/esm';
6
6
 
7
- var styles = {"component":"slider-input__component_1tmfb","block":"slider-input__block_1tmfb","slider":"slider-input__slider_1tmfb","size-72":"slider-input__size-72_1tmfb","hidePips":"slider-input__hidePips_1tmfb","field":"slider-input__field_1tmfb","size-48":"slider-input__size-48_1tmfb","size-56":"slider-input__size-56_1tmfb","size-64":"slider-input__size-64_1tmfb","input":"slider-input__input_1tmfb","steps":"slider-input__steps_1tmfb","info":"slider-input__info_1tmfb","hasLabel":"slider-input__hasLabel_1tmfb","focused":"slider-input__focused_1tmfb","filled":"slider-input__filled_1tmfb"};
7
+ var styles = {"component":"slider-input__component_wc54w","block":"slider-input__block_wc54w","slider":"slider-input__slider_wc54w","size-72":"slider-input__size-72_wc54w","hidePips":"slider-input__hidePips_wc54w","field":"slider-input__field_wc54w","size-48":"slider-input__size-48_wc54w","size-56":"slider-input__size-56_wc54w","size-64":"slider-input__size-64_wc54w","input":"slider-input__input_wc54w","steps":"slider-input__steps_wc54w","info":"slider-input__info_wc54w","hasLabel":"slider-input__hasLabel_wc54w","focused":"slider-input__focused_wc54w","filled":"slider-input__filled_wc54w"};
8
8
  require('./index.css')
9
9
 
10
10
  var SIZE_TO_CLASSNAME_MAP = {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: x7s7b */
1
+ /* hash: 1cz29 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-700: #898991;
@@ -16,10 +16,12 @@
16
16
  --border-radius-s: 4px;
17
17
  --border-radius-m: 8px;
18
18
  --border-radius-l: 12px;
19
- } :root {
20
- --gap-xs: 8px;
21
- --gap-s: 12px;
22
- --gap-m: 16px;
19
+ } :root { /* deprecated */ /* deprecated */
20
+ --gap-xs: 8px; /* deprecated */
21
+ --gap-s: 12px; /* deprecated */ /* deprecated */
22
+ --gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
+
24
+ /* новые значения, используйте их */
23
25
  } :root {
24
26
  } :root {
25
27
  } :root {
@@ -72,57 +74,57 @@
72
74
  --slider-input-progress-hover-bg-color: var(--color-light-neutral-700);
73
75
  --slider-input-origin-width: calc(100% - 16px);
74
76
  --slider-input-origin-right: 8px;
75
- } .slider-input__component_1tmfb {
77
+ } .slider-input__component_wc54w {
76
78
  position: relative;
77
79
  display: inline-block;
78
- } .slider-input__block_1tmfb {
80
+ } .slider-input__block_wc54w {
79
81
  display: block;
80
- } .slider-input__slider_1tmfb {
82
+ } .slider-input__slider_wc54w {
81
83
  width: calc(100% - var(--slider-input-progress-margin-horizontal) * 2);
82
84
  margin-left: var(--slider-input-progress-margin-horizontal);
83
85
  margin-right: var(--slider-input-progress-margin-horizontal);
84
86
  margin-top: calc(var(--slider-progress-s-height) / -2);
85
87
  transform: translateY(-1px)
86
- } .slider-input__slider_1tmfb.slider-input__size-72_1tmfb {
88
+ } .slider-input__slider_wc54w.slider-input__size-72_wc54w {
87
89
  width: calc(100% - var(--slider-input-xl-progress-margin-horizontal) * 2);
88
90
  margin-left: var(--slider-input-xl-progress-margin-horizontal);
89
91
  margin-right: var(--slider-input-xl-progress-margin-horizontal);
90
- } .slider-input__slider_1tmfb .noUi-base {
92
+ } .slider-input__slider_wc54w .noUi-base {
91
93
  border-radius: var(--slider-input-progress-border-radius);
92
- } .slider-input__slider_1tmfb .noUi-base:hover > .noUi-connects {
94
+ } .slider-input__slider_wc54w .noUi-base:hover > .noUi-connects {
93
95
  background-color: var(--slider-input-progress-hover-bg-color);
94
- } .slider-input__slider_1tmfb .noUi-connects {
96
+ } .slider-input__slider_wc54w .noUi-connects {
95
97
  border-radius: var(--slider-input-progress-border-radius);
96
98
  background-color: var(--slider-input-progress-bg-color);
97
- } .slider-input__slider_1tmfb .noUi-origin {
99
+ } .slider-input__slider_wc54w .noUi-origin {
98
100
  width: var(--slider-input-origin-width);
99
101
  right: var(--slider-input-origin-right);
100
- } .slider-input__slider_1tmfb {
102
+ } .slider-input__slider_wc54w {
101
103
 
102
104
  /* TODO исправить на 6px когда слайдеру добавят position: absolute */
103
- } .slider-input__slider_1tmfb + * {
105
+ } .slider-input__slider_wc54w + * {
104
106
  margin-top: 5px;
105
- } .slider-input__hidePips_1tmfb .noUi-pips {
107
+ } .slider-input__hidePips_wc54w .noUi-pips {
106
108
  display: none;
107
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-48_1tmfb {
109
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-48_wc54w {
108
110
  border-bottom-left-radius: var(--slider-input-s-border-bottom-radius);
109
111
  border-bottom-right-radius: var(--slider-input-s-border-bottom-radius);
110
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-56_1tmfb {
112
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-56_wc54w {
111
113
  border-bottom-left-radius: var(--slider-input-m-border-bottom-radius);
112
114
  border-bottom-right-radius: var(--slider-input-m-border-bottom-radius);
113
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-64_1tmfb {
115
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-64_wc54w {
114
116
  border-bottom-left-radius: var(--slider-input-l-border-bottom-radius);
115
117
  border-bottom-right-radius: var(--slider-input-l-border-bottom-radius);
116
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-72_1tmfb {
118
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-72_wc54w {
117
119
  border-bottom-left-radius: var(--slider-input-xl-border-bottom-radius);
118
120
  border-bottom-right-radius: var(--slider-input-xl-border-bottom-radius);
119
- } .slider-input__input_1tmfb input,
120
- .slider-input__input_1tmfb input + div {
121
+ } .slider-input__input_wc54w input,
122
+ .slider-input__input_wc54w input + div {
121
123
  font-weight: var(--slider-input-font-weight);
122
124
  font-variant-numeric: tabular-nums;
123
- } .slider-input__input_1tmfb input::placeholder {
125
+ } .slider-input__input_wc54w input::placeholder {
124
126
  font-weight: 400;
125
- } .slider-input__steps_1tmfb {
127
+ } .slider-input__steps_wc54w {
126
128
  font-size: 14px;
127
129
  line-height: 18px;
128
130
  font-weight: 400;
@@ -131,7 +133,7 @@
131
133
  justify-content: space-between;
132
134
  margin-top: var(--gap-xs);
133
135
  color: var(--slider-input-steps-color);
134
- } .slider-input__info_1tmfb {
136
+ } .slider-input__info_wc54w {
135
137
  font-size: 16px;
136
138
  line-height: 20px;
137
139
  font-weight: 400;
@@ -141,24 +143,24 @@
141
143
  opacity: 0;
142
144
  transition: 0.2s ease;
143
145
  visibility: hidden;
144
- } .slider-input__size-48_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
146
+ } .slider-input__size-48_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
145
147
  padding: var(--form-control-labeled-s-paddings);
146
148
  padding-left: 0;
147
149
  padding-right: 0;
148
- } .slider-input__size-56_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
150
+ } .slider-input__size-56_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
149
151
  padding: var(--form-control-labeled-m-paddings);
150
152
  padding-left: 0;
151
153
  padding-right: 0;
152
- } .slider-input__size-64_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
154
+ } .slider-input__size-64_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
153
155
  padding: var(--form-control-labeled-l-paddings);
154
156
  padding-left: 0;
155
157
  padding-right: 0;
156
- } .slider-input__size-72_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
158
+ } .slider-input__size-72_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
157
159
  padding: var(--form-control-labeled-xl-paddings);
158
160
  padding-left: 0;
159
161
  padding-right: 0;
160
- } .slider-input__focused_1tmfb .slider-input__info_1tmfb,
161
- .slider-input__filled_1tmfb .slider-input__info_1tmfb {
162
+ } .slider-input__focused_wc54w .slider-input__info_wc54w,
163
+ .slider-input__filled_wc54w .slider-input__info_wc54w {
162
164
  visibility: visible;
163
165
  opacity: 1;
164
166
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: x7s7b */
1
+ /* hash: 1cz29 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-700: #898991;
@@ -16,10 +16,12 @@
16
16
  --border-radius-s: 4px;
17
17
  --border-radius-m: 8px;
18
18
  --border-radius-l: 12px;
19
- } :root {
20
- --gap-xs: 8px;
21
- --gap-s: 12px;
22
- --gap-m: 16px;
19
+ } :root { /* deprecated */ /* deprecated */
20
+ --gap-xs: 8px; /* deprecated */
21
+ --gap-s: 12px; /* deprecated */ /* deprecated */
22
+ --gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
+
24
+ /* новые значения, используйте их */
23
25
  } :root {
24
26
  } :root {
25
27
  } :root {
@@ -72,57 +74,57 @@
72
74
  --slider-input-progress-hover-bg-color: var(--color-light-neutral-700);
73
75
  --slider-input-origin-width: calc(100% - 16px);
74
76
  --slider-input-origin-right: 8px;
75
- } .slider-input__component_1tmfb {
77
+ } .slider-input__component_wc54w {
76
78
  position: relative;
77
79
  display: inline-block;
78
- } .slider-input__block_1tmfb {
80
+ } .slider-input__block_wc54w {
79
81
  display: block;
80
- } .slider-input__slider_1tmfb {
82
+ } .slider-input__slider_wc54w {
81
83
  width: calc(100% - var(--slider-input-progress-margin-horizontal) * 2);
82
84
  margin-left: var(--slider-input-progress-margin-horizontal);
83
85
  margin-right: var(--slider-input-progress-margin-horizontal);
84
86
  margin-top: calc(var(--slider-progress-s-height) / -2);
85
87
  transform: translateY(-1px)
86
- } .slider-input__slider_1tmfb.slider-input__size-72_1tmfb {
88
+ } .slider-input__slider_wc54w.slider-input__size-72_wc54w {
87
89
  width: calc(100% - var(--slider-input-xl-progress-margin-horizontal) * 2);
88
90
  margin-left: var(--slider-input-xl-progress-margin-horizontal);
89
91
  margin-right: var(--slider-input-xl-progress-margin-horizontal);
90
- } .slider-input__slider_1tmfb .noUi-base {
92
+ } .slider-input__slider_wc54w .noUi-base {
91
93
  border-radius: var(--slider-input-progress-border-radius);
92
- } .slider-input__slider_1tmfb .noUi-base:hover > .noUi-connects {
94
+ } .slider-input__slider_wc54w .noUi-base:hover > .noUi-connects {
93
95
  background-color: var(--slider-input-progress-hover-bg-color);
94
- } .slider-input__slider_1tmfb .noUi-connects {
96
+ } .slider-input__slider_wc54w .noUi-connects {
95
97
  border-radius: var(--slider-input-progress-border-radius);
96
98
  background-color: var(--slider-input-progress-bg-color);
97
- } .slider-input__slider_1tmfb .noUi-origin {
99
+ } .slider-input__slider_wc54w .noUi-origin {
98
100
  width: var(--slider-input-origin-width);
99
101
  right: var(--slider-input-origin-right);
100
- } .slider-input__slider_1tmfb {
102
+ } .slider-input__slider_wc54w {
101
103
 
102
104
  /* TODO исправить на 6px когда слайдеру добавят position: absolute */
103
- } .slider-input__slider_1tmfb + * {
105
+ } .slider-input__slider_wc54w + * {
104
106
  margin-top: 5px;
105
- } .slider-input__hidePips_1tmfb .noUi-pips {
107
+ } .slider-input__hidePips_wc54w .noUi-pips {
106
108
  display: none;
107
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-48_1tmfb {
109
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-48_wc54w {
108
110
  border-bottom-left-radius: var(--slider-input-s-border-bottom-radius);
109
111
  border-bottom-right-radius: var(--slider-input-s-border-bottom-radius);
110
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-56_1tmfb {
112
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-56_wc54w {
111
113
  border-bottom-left-radius: var(--slider-input-m-border-bottom-radius);
112
114
  border-bottom-right-radius: var(--slider-input-m-border-bottom-radius);
113
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-64_1tmfb {
115
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-64_wc54w {
114
116
  border-bottom-left-radius: var(--slider-input-l-border-bottom-radius);
115
117
  border-bottom-right-radius: var(--slider-input-l-border-bottom-radius);
116
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-72_1tmfb {
118
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-72_wc54w {
117
119
  border-bottom-left-radius: var(--slider-input-xl-border-bottom-radius);
118
120
  border-bottom-right-radius: var(--slider-input-xl-border-bottom-radius);
119
- } .slider-input__input_1tmfb input,
120
- .slider-input__input_1tmfb input + div {
121
+ } .slider-input__input_wc54w input,
122
+ .slider-input__input_wc54w input + div {
121
123
  font-weight: var(--slider-input-font-weight);
122
124
  font-variant-numeric: tabular-nums;
123
- } .slider-input__input_1tmfb input::placeholder {
125
+ } .slider-input__input_wc54w input::placeholder {
124
126
  font-weight: 400;
125
- } .slider-input__steps_1tmfb {
127
+ } .slider-input__steps_wc54w {
126
128
  font-size: 14px;
127
129
  line-height: 18px;
128
130
  font-weight: 400;
@@ -131,7 +133,7 @@
131
133
  justify-content: space-between;
132
134
  margin-top: var(--gap-xs);
133
135
  color: var(--slider-input-steps-color);
134
- } .slider-input__info_1tmfb {
136
+ } .slider-input__info_wc54w {
135
137
  font-size: 16px;
136
138
  line-height: 20px;
137
139
  font-weight: 400;
@@ -141,24 +143,24 @@
141
143
  opacity: 0;
142
144
  transition: 0.2s ease;
143
145
  visibility: hidden;
144
- } .slider-input__size-48_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
146
+ } .slider-input__size-48_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
145
147
  padding: var(--form-control-labeled-s-paddings);
146
148
  padding-left: 0;
147
149
  padding-right: 0;
148
- } .slider-input__size-56_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
150
+ } .slider-input__size-56_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
149
151
  padding: var(--form-control-labeled-m-paddings);
150
152
  padding-left: 0;
151
153
  padding-right: 0;
152
- } .slider-input__size-64_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
154
+ } .slider-input__size-64_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
153
155
  padding: var(--form-control-labeled-l-paddings);
154
156
  padding-left: 0;
155
157
  padding-right: 0;
156
- } .slider-input__size-72_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
158
+ } .slider-input__size-72_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
157
159
  padding: var(--form-control-labeled-xl-paddings);
158
160
  padding-left: 0;
159
161
  padding-right: 0;
160
- } .slider-input__focused_1tmfb .slider-input__info_1tmfb,
161
- .slider-input__filled_1tmfb .slider-input__info_1tmfb {
162
+ } .slider-input__focused_wc54w .slider-input__info_wc54w,
163
+ .slider-input__filled_wc54w .slider-input__info_wc54w {
162
164
  visibility: visible;
163
165
  opacity: 1;
164
166
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Input } from '@alfalab/core-components-input/modern';
4
4
  import { Slider } from '@alfalab/core-components-slider/modern';
5
5
 
6
- const styles = {"component":"slider-input__component_1tmfb","block":"slider-input__block_1tmfb","slider":"slider-input__slider_1tmfb","size-72":"slider-input__size-72_1tmfb","hidePips":"slider-input__hidePips_1tmfb","field":"slider-input__field_1tmfb","size-48":"slider-input__size-48_1tmfb","size-56":"slider-input__size-56_1tmfb","size-64":"slider-input__size-64_1tmfb","input":"slider-input__input_1tmfb","steps":"slider-input__steps_1tmfb","info":"slider-input__info_1tmfb","hasLabel":"slider-input__hasLabel_1tmfb","focused":"slider-input__focused_1tmfb","filled":"slider-input__filled_1tmfb"};
6
+ const styles = {"component":"slider-input__component_wc54w","block":"slider-input__block_wc54w","slider":"slider-input__slider_wc54w","size-72":"slider-input__size-72_wc54w","hidePips":"slider-input__hidePips_wc54w","field":"slider-input__field_wc54w","size-48":"slider-input__size-48_wc54w","size-56":"slider-input__size-56_wc54w","size-64":"slider-input__size-64_wc54w","input":"slider-input__input_wc54w","steps":"slider-input__steps_wc54w","info":"slider-input__info_wc54w","hasLabel":"slider-input__hasLabel_wc54w","focused":"slider-input__focused_wc54w","filled":"slider-input__filled_wc54w"};
7
7
  require('./index.css')
8
8
 
9
9
  const SIZE_TO_CLASSNAME_MAP = {
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: x7s7b */
1
+ /* hash: 1cz29 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-700: #898991;
@@ -16,10 +16,12 @@
16
16
  --border-radius-s: 4px;
17
17
  --border-radius-m: 8px;
18
18
  --border-radius-l: 12px;
19
- } :root {
20
- --gap-xs: 8px;
21
- --gap-s: 12px;
22
- --gap-m: 16px;
19
+ } :root { /* deprecated */ /* deprecated */
20
+ --gap-xs: 8px; /* deprecated */
21
+ --gap-s: 12px; /* deprecated */ /* deprecated */
22
+ --gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
+
24
+ /* новые значения, используйте их */
23
25
  } :root {
24
26
  } :root {
25
27
  } :root {
@@ -72,57 +74,57 @@
72
74
  --slider-input-progress-hover-bg-color: var(--color-light-neutral-700);
73
75
  --slider-input-origin-width: calc(100% - 16px);
74
76
  --slider-input-origin-right: 8px;
75
- } .slider-input__component_1tmfb {
77
+ } .slider-input__component_wc54w {
76
78
  position: relative;
77
79
  display: inline-block;
78
- } .slider-input__block_1tmfb {
80
+ } .slider-input__block_wc54w {
79
81
  display: block;
80
- } .slider-input__slider_1tmfb {
82
+ } .slider-input__slider_wc54w {
81
83
  width: calc(100% - var(--slider-input-progress-margin-horizontal) * 2);
82
84
  margin-left: var(--slider-input-progress-margin-horizontal);
83
85
  margin-right: var(--slider-input-progress-margin-horizontal);
84
86
  margin-top: calc(var(--slider-progress-s-height) / -2);
85
87
  transform: translateY(-1px)
86
- } .slider-input__slider_1tmfb.slider-input__size-72_1tmfb {
88
+ } .slider-input__slider_wc54w.slider-input__size-72_wc54w {
87
89
  width: calc(100% - var(--slider-input-xl-progress-margin-horizontal) * 2);
88
90
  margin-left: var(--slider-input-xl-progress-margin-horizontal);
89
91
  margin-right: var(--slider-input-xl-progress-margin-horizontal);
90
- } .slider-input__slider_1tmfb .noUi-base {
92
+ } .slider-input__slider_wc54w .noUi-base {
91
93
  border-radius: var(--slider-input-progress-border-radius);
92
- } .slider-input__slider_1tmfb .noUi-base:hover > .noUi-connects {
94
+ } .slider-input__slider_wc54w .noUi-base:hover > .noUi-connects {
93
95
  background-color: var(--slider-input-progress-hover-bg-color);
94
- } .slider-input__slider_1tmfb .noUi-connects {
96
+ } .slider-input__slider_wc54w .noUi-connects {
95
97
  border-radius: var(--slider-input-progress-border-radius);
96
98
  background-color: var(--slider-input-progress-bg-color);
97
- } .slider-input__slider_1tmfb .noUi-origin {
99
+ } .slider-input__slider_wc54w .noUi-origin {
98
100
  width: var(--slider-input-origin-width);
99
101
  right: var(--slider-input-origin-right);
100
- } .slider-input__slider_1tmfb {
102
+ } .slider-input__slider_wc54w {
101
103
 
102
104
  /* TODO исправить на 6px когда слайдеру добавят position: absolute */
103
- } .slider-input__slider_1tmfb + * {
105
+ } .slider-input__slider_wc54w + * {
104
106
  margin-top: 5px;
105
- } .slider-input__hidePips_1tmfb .noUi-pips {
107
+ } .slider-input__hidePips_wc54w .noUi-pips {
106
108
  display: none;
107
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-48_1tmfb {
109
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-48_wc54w {
108
110
  border-bottom-left-radius: var(--slider-input-s-border-bottom-radius);
109
111
  border-bottom-right-radius: var(--slider-input-s-border-bottom-radius);
110
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-56_1tmfb {
112
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-56_wc54w {
111
113
  border-bottom-left-radius: var(--slider-input-m-border-bottom-radius);
112
114
  border-bottom-right-radius: var(--slider-input-m-border-bottom-radius);
113
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-64_1tmfb {
115
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-64_wc54w {
114
116
  border-bottom-left-radius: var(--slider-input-l-border-bottom-radius);
115
117
  border-bottom-right-radius: var(--slider-input-l-border-bottom-radius);
116
- } .slider-input__component_1tmfb .slider-input__field_1tmfb.slider-input__size-72_1tmfb {
118
+ } .slider-input__component_wc54w .slider-input__field_wc54w.slider-input__size-72_wc54w {
117
119
  border-bottom-left-radius: var(--slider-input-xl-border-bottom-radius);
118
120
  border-bottom-right-radius: var(--slider-input-xl-border-bottom-radius);
119
- } .slider-input__input_1tmfb input,
120
- .slider-input__input_1tmfb input + div {
121
+ } .slider-input__input_wc54w input,
122
+ .slider-input__input_wc54w input + div {
121
123
  font-weight: var(--slider-input-font-weight);
122
124
  font-variant-numeric: tabular-nums;
123
- } .slider-input__input_1tmfb input::placeholder {
125
+ } .slider-input__input_wc54w input::placeholder {
124
126
  font-weight: 400;
125
- } .slider-input__steps_1tmfb {
127
+ } .slider-input__steps_wc54w {
126
128
  font-size: 14px;
127
129
  line-height: 18px;
128
130
  font-weight: 400;
@@ -131,7 +133,7 @@
131
133
  justify-content: space-between;
132
134
  margin-top: var(--gap-xs);
133
135
  color: var(--slider-input-steps-color);
134
- } .slider-input__info_1tmfb {
136
+ } .slider-input__info_wc54w {
135
137
  font-size: 16px;
136
138
  line-height: 20px;
137
139
  font-weight: 400;
@@ -141,24 +143,24 @@
141
143
  opacity: 0;
142
144
  transition: 0.2s ease;
143
145
  visibility: hidden;
144
- } .slider-input__size-48_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
146
+ } .slider-input__size-48_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
145
147
  padding: var(--form-control-labeled-s-paddings);
146
148
  padding-left: 0;
147
149
  padding-right: 0;
148
- } .slider-input__size-56_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
150
+ } .slider-input__size-56_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
149
151
  padding: var(--form-control-labeled-m-paddings);
150
152
  padding-left: 0;
151
153
  padding-right: 0;
152
- } .slider-input__size-64_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
154
+ } .slider-input__size-64_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
153
155
  padding: var(--form-control-labeled-l-paddings);
154
156
  padding-left: 0;
155
157
  padding-right: 0;
156
- } .slider-input__size-72_1tmfb.slider-input__hasLabel_1tmfb .slider-input__info_1tmfb:first-child {
158
+ } .slider-input__size-72_wc54w.slider-input__hasLabel_wc54w .slider-input__info_wc54w:first-child {
157
159
  padding: var(--form-control-labeled-xl-paddings);
158
160
  padding-left: 0;
159
161
  padding-right: 0;
160
- } .slider-input__focused_1tmfb .slider-input__info_1tmfb,
161
- .slider-input__filled_1tmfb .slider-input__info_1tmfb {
162
+ } .slider-input__focused_wc54w .slider-input__info_wc54w,
163
+ .slider-input__filled_wc54w .slider-input__info_wc54w {
162
164
  visibility: visible;
163
165
  opacity: 1;
164
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-slider-input",
3
- "version": "8.2.15",
3
+ "version": "8.2.16",
4
4
  "description": "Slider input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,9 +15,11 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-input": "^15.0.2",
18
+ "@alfalab/core-components-input": "^15.0.3",
19
19
  "@alfalab/core-components-slider": "^4.6.2",
20
20
  "classnames": "^2.3.1",
21
21
  "tslib": "^2.4.0"
22
- }
22
+ },
23
+ "themesVersion": "13.0.1",
24
+ "varsVersion": "9.10.0"
23
25
  }