@alfalab/core-components-with-suffix 4.2.9 → 4.2.11

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_1r7lz","suffixVisible":"with-suffix__suffixVisible_1r7lz","hasSuffix":"with-suffix__hasSuffix_1r7lz","spacer":"with-suffix__spacer_1r7lz","suffix":"with-suffix__suffix_1r7lz","disabled":"with-suffix__disabled_1r7lz","inverted":"with-suffix__inverted_1r7lz","readOnly":"with-suffix__readOnly_1r7lz"};
17
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_i0mef","suffixVisible":"with-suffix__suffixVisible_i0mef","hasSuffix":"with-suffix__hasSuffix_i0mef","spacer":"with-suffix__spacer_i0mef","suffix":"with-suffix__suffix_i0mef","disabled":"with-suffix__disabled_i0mef","inverted":"with-suffix__inverted_i0mef","readOnly":"with-suffix__readOnly_i0mef"};
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_1r7lz","suffixVisible":"with-suffix__suffixVisible_1r7lz","hasSuffix":"with-suffix__hasSuffix_1r7lz","spacer":"with-suffix__spacer_1r7lz","suffix":"with-suffix__suffix_1r7lz","disabled":"with-suffix__disabled_1r7lz","inverted":"with-suffix__inverted_1r7lz","readOnly":"with-suffix__readOnly_1r7lz"};
7
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_i0mef","suffixVisible":"with-suffix__suffixVisible_i0mef","hasSuffix":"with-suffix__hasSuffix_i0mef","spacer":"with-suffix__spacer_i0mef","suffix":"with-suffix__suffix_i0mef","disabled":"with-suffix__disabled_i0mef","inverted":"with-suffix__inverted_i0mef","readOnly":"with-suffix__readOnly_i0mef"};
8
8
  require('./index.css')
9
9
 
10
10
  var withSuffix = function (Input) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 19jas */
1
+ /* hash: 4gfwx */
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);
@@ -36,7 +36,7 @@
36
36
  /* display */
37
37
 
38
38
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
39
- } .with-suffix__suffixContainer_1r7lz {
39
+ } .with-suffix__suffixContainer_i0mef {
40
40
  font-size: 16px;
41
41
  line-height: 20px;
42
42
  font-weight: 400;
@@ -48,24 +48,24 @@
48
48
  align-items: center;
49
49
  display: none;
50
50
  pointer-events: none;
51
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_1r7lz,
52
- .with-suffix__suffixVisible_1r7lz .with-suffix__suffixContainer_1r7lz {
51
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_i0mef,
52
+ .with-suffix__suffixVisible_i0mef .with-suffix__suffixContainer_i0mef {
53
53
  display: inline-flex;
54
- } .with-suffix__hasSuffix_1r7lz input:focus::placeholder {
54
+ } .with-suffix__hasSuffix_i0mef input:focus::placeholder {
55
55
  color: transparent;
56
56
  transition: none;
57
- } .with-suffix__spacer_1r7lz {
57
+ } .with-suffix__spacer_i0mef {
58
58
  visibility: hidden;
59
59
  flex-shrink: 0;
60
60
  white-space: pre;
61
- } .with-suffix__suffix_1r7lz {
61
+ } .with-suffix__suffix_i0mef {
62
62
  white-space: pre;
63
- } .with-suffix__disabled_1r7lz {
63
+ } .with-suffix__disabled_i0mef {
64
64
  color: var(--input-disabled-color)
65
- } .with-suffix__disabled_1r7lz.with-suffix__inverted_1r7lz {
65
+ } .with-suffix__disabled_i0mef.with-suffix__inverted_i0mef {
66
66
  color: var(--input-inverted-disabled-color);
67
- } .with-suffix__readOnly_1r7lz {
67
+ } .with-suffix__readOnly_i0mef {
68
68
  color: var(--input-read-only-color)
69
- } .with-suffix__readOnly_1r7lz.with-suffix__inverted_1r7lz {
69
+ } .with-suffix__readOnly_i0mef.with-suffix__inverted_i0mef {
70
70
  color: var(--input-inverted-read-only-color);
71
71
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 19jas */
1
+ /* hash: 4gfwx */
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);
@@ -36,7 +36,7 @@
36
36
  /* display */
37
37
 
38
38
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
39
- } .with-suffix__suffixContainer_1r7lz {
39
+ } .with-suffix__suffixContainer_i0mef {
40
40
  font-size: 16px;
41
41
  line-height: 20px;
42
42
  font-weight: 400;
@@ -48,24 +48,24 @@
48
48
  align-items: center;
49
49
  display: none;
50
50
  pointer-events: none;
51
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_1r7lz,
52
- .with-suffix__suffixVisible_1r7lz .with-suffix__suffixContainer_1r7lz {
51
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_i0mef,
52
+ .with-suffix__suffixVisible_i0mef .with-suffix__suffixContainer_i0mef {
53
53
  display: inline-flex;
54
- } .with-suffix__hasSuffix_1r7lz input:focus::placeholder {
54
+ } .with-suffix__hasSuffix_i0mef input:focus::placeholder {
55
55
  color: transparent;
56
56
  transition: none;
57
- } .with-suffix__spacer_1r7lz {
57
+ } .with-suffix__spacer_i0mef {
58
58
  visibility: hidden;
59
59
  flex-shrink: 0;
60
60
  white-space: pre;
61
- } .with-suffix__suffix_1r7lz {
61
+ } .with-suffix__suffix_i0mef {
62
62
  white-space: pre;
63
- } .with-suffix__disabled_1r7lz {
63
+ } .with-suffix__disabled_i0mef {
64
64
  color: var(--input-disabled-color)
65
- } .with-suffix__disabled_1r7lz.with-suffix__inverted_1r7lz {
65
+ } .with-suffix__disabled_i0mef.with-suffix__inverted_i0mef {
66
66
  color: var(--input-inverted-disabled-color);
67
- } .with-suffix__readOnly_1r7lz {
67
+ } .with-suffix__readOnly_i0mef {
68
68
  color: var(--input-read-only-color)
69
- } .with-suffix__readOnly_1r7lz.with-suffix__inverted_1r7lz {
69
+ } .with-suffix__readOnly_i0mef.with-suffix__inverted_i0mef {
70
70
  color: var(--input-inverted-read-only-color);
71
71
  }
@@ -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_1r7lz","suffixVisible":"with-suffix__suffixVisible_1r7lz","hasSuffix":"with-suffix__hasSuffix_1r7lz","spacer":"with-suffix__spacer_1r7lz","suffix":"with-suffix__suffix_1r7lz","disabled":"with-suffix__disabled_1r7lz","inverted":"with-suffix__inverted_1r7lz","readOnly":"with-suffix__readOnly_1r7lz"};
6
+ const styles = {"suffixContainer":"with-suffix__suffixContainer_i0mef","suffixVisible":"with-suffix__suffixVisible_i0mef","hasSuffix":"with-suffix__hasSuffix_i0mef","spacer":"with-suffix__spacer_i0mef","suffix":"with-suffix__suffix_i0mef","disabled":"with-suffix__disabled_i0mef","inverted":"with-suffix__inverted_i0mef","readOnly":"with-suffix__readOnly_i0mef"};
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: 19jas */
1
+ /* hash: 4gfwx */
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);
@@ -36,7 +36,7 @@
36
36
  /* display */
37
37
 
38
38
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
39
- } .with-suffix__suffixContainer_1r7lz {
39
+ } .with-suffix__suffixContainer_i0mef {
40
40
  font-size: 16px;
41
41
  line-height: 20px;
42
42
  font-weight: 400;
@@ -48,24 +48,24 @@
48
48
  align-items: center;
49
49
  display: none;
50
50
  pointer-events: none;
51
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_1r7lz,
52
- .with-suffix__suffixVisible_1r7lz .with-suffix__suffixContainer_1r7lz {
51
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_i0mef,
52
+ .with-suffix__suffixVisible_i0mef .with-suffix__suffixContainer_i0mef {
53
53
  display: inline-flex;
54
- } .with-suffix__hasSuffix_1r7lz input:focus::placeholder {
54
+ } .with-suffix__hasSuffix_i0mef input:focus::placeholder {
55
55
  color: transparent;
56
56
  transition: none;
57
- } .with-suffix__spacer_1r7lz {
57
+ } .with-suffix__spacer_i0mef {
58
58
  visibility: hidden;
59
59
  flex-shrink: 0;
60
60
  white-space: pre;
61
- } .with-suffix__suffix_1r7lz {
61
+ } .with-suffix__suffix_i0mef {
62
62
  white-space: pre;
63
- } .with-suffix__disabled_1r7lz {
63
+ } .with-suffix__disabled_i0mef {
64
64
  color: var(--input-disabled-color)
65
- } .with-suffix__disabled_1r7lz.with-suffix__inverted_1r7lz {
65
+ } .with-suffix__disabled_i0mef.with-suffix__inverted_i0mef {
66
66
  color: var(--input-inverted-disabled-color);
67
- } .with-suffix__readOnly_1r7lz {
67
+ } .with-suffix__readOnly_i0mef {
68
68
  color: var(--input-read-only-color)
69
- } .with-suffix__readOnly_1r7lz.with-suffix__inverted_1r7lz {
69
+ } .with-suffix__readOnly_i0mef.with-suffix__inverted_i0mef {
70
70
  color: var(--input-inverted-read-only-color);
71
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-with-suffix",
3
- "version": "4.2.9",
3
+ "version": "4.2.11",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,13 +10,14 @@
10
10
  "access": "public",
11
11
  "directory": "dist"
12
12
  },
13
+ "sideEffects": false,
13
14
  "peerDependencies": {
14
15
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
15
16
  },
16
17
  "dependencies": {
17
- "@alfalab/core-components-input": "^15.3.3",
18
- "@alfalab/core-components-portal": "^3.3.4",
19
- "classnames": "^2.3.1",
18
+ "@alfalab/core-components-input": "^15.4.0",
19
+ "@alfalab/core-components-portal": "^3.3.5",
20
+ "classnames": "^2.5.1",
20
21
  "react-merge-refs": "^1.1.0",
21
22
  "tslib": "^2.4.0"
22
23
  },