@alfalab/core-components-with-suffix 4.2.17 → 4.2.18

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
@@ -14,7 +14,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"suffixContainer":"with-suffix__suffixContainer_d07nk","size-40":"with-suffix__size-40_d07nk","suffixVisible":"with-suffix__suffixVisible_d07nk","hasSuffix":"with-suffix__hasSuffix_d07nk","spacer":"with-suffix__spacer_d07nk","suffix":"with-suffix__suffix_d07nk","disabled":"with-suffix__disabled_d07nk","inverted":"with-suffix__inverted_d07nk","readOnly":"with-suffix__readOnly_d07nk"};
17
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_wkllc","size-40":"with-suffix__size-40_wkllc","suffixVisible":"with-suffix__suffixVisible_wkllc","hasSuffix":"with-suffix__hasSuffix_wkllc","spacer":"with-suffix__spacer_wkllc","suffix":"with-suffix__suffix_wkllc","disabled":"with-suffix__disabled_wkllc","inverted":"with-suffix__inverted_wkllc","readOnly":"with-suffix__readOnly_wkllc"};
18
18
  require('./index.css')
19
19
 
20
20
  var withSuffix = function (Input) {
package/esm/Component.js CHANGED
@@ -4,7 +4,7 @@ import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
5
  import { Portal } from '@alfalab/core-components-portal/esm';
6
6
 
7
- var styles = {"suffixContainer":"with-suffix__suffixContainer_d07nk","size-40":"with-suffix__size-40_d07nk","suffixVisible":"with-suffix__suffixVisible_d07nk","hasSuffix":"with-suffix__hasSuffix_d07nk","spacer":"with-suffix__spacer_d07nk","suffix":"with-suffix__suffix_d07nk","disabled":"with-suffix__disabled_d07nk","inverted":"with-suffix__inverted_d07nk","readOnly":"with-suffix__readOnly_d07nk"};
7
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_wkllc","size-40":"with-suffix__size-40_wkllc","suffixVisible":"with-suffix__suffixVisible_wkllc","hasSuffix":"with-suffix__hasSuffix_wkllc","spacer":"with-suffix__spacer_wkllc","suffix":"with-suffix__suffix_wkllc","disabled":"with-suffix__disabled_wkllc","inverted":"with-suffix__inverted_wkllc","readOnly":"with-suffix__readOnly_wkllc"};
8
8
  require('./index.css')
9
9
 
10
10
  var withSuffix = function (Input) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1rkg8 */
1
+ /* hash: 1hmtg */
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-text-tertiary: rgba(5, 8, 29, 0.38);
@@ -41,7 +41,7 @@
41
41
  /* display */
42
42
 
43
43
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
44
- } .with-suffix__suffixContainer_d07nk {
44
+ } .with-suffix__suffixContainer_wkllc {
45
45
  font-size: 16px;
46
46
  line-height: 20px;
47
47
  font-weight: 400;
@@ -53,29 +53,29 @@
53
53
  align-items: center;
54
54
  display: none;
55
55
  pointer-events: none
56
- } .with-suffix__suffixContainer_d07nk.with-suffix__size-40_d07nk {
56
+ } .with-suffix__suffixContainer_wkllc.with-suffix__size-40_wkllc {
57
57
  font-size: 14px;
58
58
  line-height: 18px;
59
59
  font-weight: 400;
60
60
  padding: var(--gap-0) var(--gap-8);
61
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_d07nk,
62
- .with-suffix__suffixVisible_d07nk .with-suffix__suffixContainer_d07nk {
61
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_wkllc,
62
+ .with-suffix__suffixVisible_wkllc .with-suffix__suffixContainer_wkllc {
63
63
  display: inline-flex;
64
- } .with-suffix__hasSuffix_d07nk input:focus::placeholder {
64
+ } .with-suffix__hasSuffix_wkllc input:focus::placeholder {
65
65
  color: transparent;
66
66
  transition: none;
67
- } .with-suffix__spacer_d07nk {
67
+ } .with-suffix__spacer_wkllc {
68
68
  visibility: hidden;
69
69
  flex-shrink: 0;
70
70
  white-space: pre;
71
- } .with-suffix__suffix_d07nk {
71
+ } .with-suffix__suffix_wkllc {
72
72
  white-space: pre;
73
- } .with-suffix__disabled_d07nk {
73
+ } .with-suffix__disabled_wkllc {
74
74
  color: var(--input-disabled-color)
75
- } .with-suffix__disabled_d07nk.with-suffix__inverted_d07nk {
75
+ } .with-suffix__disabled_wkllc.with-suffix__inverted_wkllc {
76
76
  color: var(--input-inverted-disabled-color);
77
- } .with-suffix__readOnly_d07nk {
77
+ } .with-suffix__readOnly_wkllc {
78
78
  color: var(--input-read-only-color)
79
- } .with-suffix__readOnly_d07nk.with-suffix__inverted_d07nk {
79
+ } .with-suffix__readOnly_wkllc.with-suffix__inverted_wkllc {
80
80
  color: var(--input-inverted-read-only-color);
81
81
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1rkg8 */
1
+ /* hash: 1hmtg */
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-text-tertiary: rgba(5, 8, 29, 0.38);
@@ -41,7 +41,7 @@
41
41
  /* display */
42
42
 
43
43
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
44
- } .with-suffix__suffixContainer_d07nk {
44
+ } .with-suffix__suffixContainer_wkllc {
45
45
  font-size: 16px;
46
46
  line-height: 20px;
47
47
  font-weight: 400;
@@ -53,29 +53,29 @@
53
53
  align-items: center;
54
54
  display: none;
55
55
  pointer-events: none
56
- } .with-suffix__suffixContainer_d07nk.with-suffix__size-40_d07nk {
56
+ } .with-suffix__suffixContainer_wkllc.with-suffix__size-40_wkllc {
57
57
  font-size: 14px;
58
58
  line-height: 18px;
59
59
  font-weight: 400;
60
60
  padding: var(--gap-0) var(--gap-8);
61
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_d07nk,
62
- .with-suffix__suffixVisible_d07nk .with-suffix__suffixContainer_d07nk {
61
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_wkllc,
62
+ .with-suffix__suffixVisible_wkllc .with-suffix__suffixContainer_wkllc {
63
63
  display: inline-flex;
64
- } .with-suffix__hasSuffix_d07nk input:focus::placeholder {
64
+ } .with-suffix__hasSuffix_wkllc input:focus::placeholder {
65
65
  color: transparent;
66
66
  transition: none;
67
- } .with-suffix__spacer_d07nk {
67
+ } .with-suffix__spacer_wkllc {
68
68
  visibility: hidden;
69
69
  flex-shrink: 0;
70
70
  white-space: pre;
71
- } .with-suffix__suffix_d07nk {
71
+ } .with-suffix__suffix_wkllc {
72
72
  white-space: pre;
73
- } .with-suffix__disabled_d07nk {
73
+ } .with-suffix__disabled_wkllc {
74
74
  color: var(--input-disabled-color)
75
- } .with-suffix__disabled_d07nk.with-suffix__inverted_d07nk {
75
+ } .with-suffix__disabled_wkllc.with-suffix__inverted_wkllc {
76
76
  color: var(--input-inverted-disabled-color);
77
- } .with-suffix__readOnly_d07nk {
77
+ } .with-suffix__readOnly_wkllc {
78
78
  color: var(--input-read-only-color)
79
- } .with-suffix__readOnly_d07nk.with-suffix__inverted_d07nk {
79
+ } .with-suffix__readOnly_wkllc.with-suffix__inverted_wkllc {
80
80
  color: var(--input-inverted-read-only-color);
81
81
  }
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { Portal } from '@alfalab/core-components-portal/modern';
5
5
 
6
- const styles = {"suffixContainer":"with-suffix__suffixContainer_d07nk","size-40":"with-suffix__size-40_d07nk","suffixVisible":"with-suffix__suffixVisible_d07nk","hasSuffix":"with-suffix__hasSuffix_d07nk","spacer":"with-suffix__spacer_d07nk","suffix":"with-suffix__suffix_d07nk","disabled":"with-suffix__disabled_d07nk","inverted":"with-suffix__inverted_d07nk","readOnly":"with-suffix__readOnly_d07nk"};
6
+ const styles = {"suffixContainer":"with-suffix__suffixContainer_wkllc","size-40":"with-suffix__size-40_wkllc","suffixVisible":"with-suffix__suffixVisible_wkllc","hasSuffix":"with-suffix__hasSuffix_wkllc","spacer":"with-suffix__spacer_wkllc","suffix":"with-suffix__suffix_wkllc","disabled":"with-suffix__disabled_wkllc","inverted":"with-suffix__inverted_wkllc","readOnly":"with-suffix__readOnly_wkllc"};
7
7
  require('./index.css')
8
8
 
9
9
  const withSuffix = (Input) => forwardRef(({ value, defaultValue, onChange, onClear, suffix = '', placeholder, className, disabled, readOnly, suffixContainerClassName, ...restProps }, ref) => {
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1rkg8 */
1
+ /* hash: 1hmtg */
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-text-tertiary: rgba(5, 8, 29, 0.38);
@@ -41,7 +41,7 @@
41
41
  /* display */
42
42
 
43
43
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
44
- } .with-suffix__suffixContainer_d07nk {
44
+ } .with-suffix__suffixContainer_wkllc {
45
45
  font-size: 16px;
46
46
  line-height: 20px;
47
47
  font-weight: 400;
@@ -53,29 +53,29 @@
53
53
  align-items: center;
54
54
  display: none;
55
55
  pointer-events: none
56
- } .with-suffix__suffixContainer_d07nk.with-suffix__size-40_d07nk {
56
+ } .with-suffix__suffixContainer_wkllc.with-suffix__size-40_wkllc {
57
57
  font-size: 14px;
58
58
  line-height: 18px;
59
59
  font-weight: 400;
60
60
  padding: var(--gap-0) var(--gap-8);
61
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_d07nk,
62
- .with-suffix__suffixVisible_d07nk .with-suffix__suffixContainer_d07nk {
61
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_wkllc,
62
+ .with-suffix__suffixVisible_wkllc .with-suffix__suffixContainer_wkllc {
63
63
  display: inline-flex;
64
- } .with-suffix__hasSuffix_d07nk input:focus::placeholder {
64
+ } .with-suffix__hasSuffix_wkllc input:focus::placeholder {
65
65
  color: transparent;
66
66
  transition: none;
67
- } .with-suffix__spacer_d07nk {
67
+ } .with-suffix__spacer_wkllc {
68
68
  visibility: hidden;
69
69
  flex-shrink: 0;
70
70
  white-space: pre;
71
- } .with-suffix__suffix_d07nk {
71
+ } .with-suffix__suffix_wkllc {
72
72
  white-space: pre;
73
- } .with-suffix__disabled_d07nk {
73
+ } .with-suffix__disabled_wkllc {
74
74
  color: var(--input-disabled-color)
75
- } .with-suffix__disabled_d07nk.with-suffix__inverted_d07nk {
75
+ } .with-suffix__disabled_wkllc.with-suffix__inverted_wkllc {
76
76
  color: var(--input-inverted-disabled-color);
77
- } .with-suffix__readOnly_d07nk {
77
+ } .with-suffix__readOnly_wkllc {
78
78
  color: var(--input-read-only-color)
79
- } .with-suffix__readOnly_d07nk.with-suffix__inverted_d07nk {
79
+ } .with-suffix__readOnly_wkllc.with-suffix__inverted_wkllc {
80
80
  color: var(--input-inverted-read-only-color);
81
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-with-suffix",
3
- "version": "4.2.17",
3
+ "version": "4.2.18",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-input": "^15.5.5",
18
+ "@alfalab/core-components-input": "^15.6.0",
19
19
  "@alfalab/core-components-portal": "^3.3.8",
20
20
  "classnames": "^2.5.1",
21
21
  "react-merge-refs": "^1.1.0",