@alfalab/core-components-with-suffix 4.0.1 → 4.0.2

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
@@ -52,7 +52,7 @@ function __rest(s, e) {
52
52
  return t;
53
53
  }
54
54
 
55
- var styles = {"suffixContainer":"with-suffix__suffixContainer_1m4d1","suffixVisible":"with-suffix__suffixVisible_1m4d1","hasSuffix":"with-suffix__hasSuffix_1m4d1","spacer":"with-suffix__spacer_1m4d1","suffix":"with-suffix__suffix_1m4d1","disabled":"with-suffix__disabled_1m4d1","readOnly":"with-suffix__readOnly_1m4d1"};
55
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_11ani","suffixVisible":"with-suffix__suffixVisible_11ani","hasSuffix":"with-suffix__hasSuffix_11ani","spacer":"with-suffix__spacer_11ani","suffix":"with-suffix__suffix_11ani","disabled":"with-suffix__disabled_11ani","readOnly":"with-suffix__readOnly_11ani"};
56
56
  require('./index.css')
57
57
 
58
58
  var withSuffix = function (Input) {
package/esm/Component.js CHANGED
@@ -42,7 +42,7 @@ function __rest(s, e) {
42
42
  return t;
43
43
  }
44
44
 
45
- var styles = {"suffixContainer":"with-suffix__suffixContainer_1m4d1","suffixVisible":"with-suffix__suffixVisible_1m4d1","hasSuffix":"with-suffix__hasSuffix_1m4d1","spacer":"with-suffix__spacer_1m4d1","suffix":"with-suffix__suffix_1m4d1","disabled":"with-suffix__disabled_1m4d1","readOnly":"with-suffix__readOnly_1m4d1"};
45
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_11ani","suffixVisible":"with-suffix__suffixVisible_11ani","hasSuffix":"with-suffix__hasSuffix_11ani","spacer":"with-suffix__spacer_11ani","suffix":"with-suffix__suffix_11ani","disabled":"with-suffix__disabled_11ani","readOnly":"with-suffix__readOnly_11ani"};
46
46
  require('./index.css')
47
47
 
48
48
  var withSuffix = function (Input) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: nv0ed */
1
+ /* hash: vce0o */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .with-suffix__suffixContainer_1m4d1 {
10
+ .with-suffix__suffixContainer_11ani {
11
11
  font-size: 16px;
12
12
  line-height: 20px;
13
13
  font-weight: 400;
@@ -20,25 +20,25 @@
20
20
  display: none;
21
21
  pointer-events: none;
22
22
  }
23
- input:focus:not(:read-only) + .with-suffix__suffixContainer_1m4d1,
24
- .with-suffix__suffixVisible_1m4d1 .with-suffix__suffixContainer_1m4d1 {
23
+ input:focus:not(:read-only) + .with-suffix__suffixContainer_11ani,
24
+ .with-suffix__suffixVisible_11ani .with-suffix__suffixContainer_11ani {
25
25
  display: inline-flex;
26
26
  }
27
- .with-suffix__hasSuffix_1m4d1 input:focus::placeholder {
27
+ .with-suffix__hasSuffix_11ani input:focus::placeholder {
28
28
  color: transparent;
29
29
  transition: none;
30
30
  }
31
- .with-suffix__spacer_1m4d1 {
31
+ .with-suffix__spacer_11ani {
32
32
  visibility: hidden;
33
33
  flex-shrink: 0;
34
34
  white-space: pre;
35
35
  }
36
- .with-suffix__suffix_1m4d1 {
36
+ .with-suffix__suffix_11ani {
37
37
  white-space: pre;
38
38
  }
39
- .with-suffix__disabled_1m4d1 {
39
+ .with-suffix__disabled_11ani {
40
40
  color: var(--input-disabled-color);
41
41
  }
42
- .with-suffix__readOnly_1m4d1 {
42
+ .with-suffix__readOnly_11ani {
43
43
  color: var(--input-read-only-color);
44
44
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: nv0ed */
1
+ /* hash: vce0o */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .with-suffix__suffixContainer_1m4d1 {
10
+ .with-suffix__suffixContainer_11ani {
11
11
  font-size: 16px;
12
12
  line-height: 20px;
13
13
  font-weight: 400;
@@ -20,25 +20,25 @@
20
20
  display: none;
21
21
  pointer-events: none;
22
22
  }
23
- input:focus:not(:read-only) + .with-suffix__suffixContainer_1m4d1,
24
- .with-suffix__suffixVisible_1m4d1 .with-suffix__suffixContainer_1m4d1 {
23
+ input:focus:not(:read-only) + .with-suffix__suffixContainer_11ani,
24
+ .with-suffix__suffixVisible_11ani .with-suffix__suffixContainer_11ani {
25
25
  display: inline-flex;
26
26
  }
27
- .with-suffix__hasSuffix_1m4d1 input:focus::placeholder {
27
+ .with-suffix__hasSuffix_11ani input:focus::placeholder {
28
28
  color: transparent;
29
29
  transition: none;
30
30
  }
31
- .with-suffix__spacer_1m4d1 {
31
+ .with-suffix__spacer_11ani {
32
32
  visibility: hidden;
33
33
  flex-shrink: 0;
34
34
  white-space: pre;
35
35
  }
36
- .with-suffix__suffix_1m4d1 {
36
+ .with-suffix__suffix_11ani {
37
37
  white-space: pre;
38
38
  }
39
- .with-suffix__disabled_1m4d1 {
39
+ .with-suffix__disabled_11ani {
40
40
  color: var(--input-disabled-color);
41
41
  }
42
- .with-suffix__readOnly_1m4d1 {
42
+ .with-suffix__readOnly_11ani {
43
43
  color: var(--input-read-only-color);
44
44
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import { Portal } from '@alfalab/core-components-portal/modern';
5
5
 
6
- var styles = {"suffixContainer":"with-suffix__suffixContainer_1m4d1","suffixVisible":"with-suffix__suffixVisible_1m4d1","hasSuffix":"with-suffix__hasSuffix_1m4d1","spacer":"with-suffix__spacer_1m4d1","suffix":"with-suffix__suffix_1m4d1","disabled":"with-suffix__disabled_1m4d1","readOnly":"with-suffix__readOnly_1m4d1"};
6
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_11ani","suffixVisible":"with-suffix__suffixVisible_11ani","hasSuffix":"with-suffix__hasSuffix_11ani","spacer":"with-suffix__spacer_11ani","suffix":"with-suffix__suffix_11ani","disabled":"with-suffix__disabled_11ani","readOnly":"with-suffix__readOnly_11ani"};
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: nv0ed */
1
+ /* hash: vce0o */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .with-suffix__suffixContainer_1m4d1 {
10
+ .with-suffix__suffixContainer_11ani {
11
11
  font-size: 16px;
12
12
  line-height: 20px;
13
13
  font-weight: 400;
@@ -20,25 +20,25 @@
20
20
  display: none;
21
21
  pointer-events: none;
22
22
  }
23
- input:focus:not(:read-only) + .with-suffix__suffixContainer_1m4d1,
24
- .with-suffix__suffixVisible_1m4d1 .with-suffix__suffixContainer_1m4d1 {
23
+ input:focus:not(:read-only) + .with-suffix__suffixContainer_11ani,
24
+ .with-suffix__suffixVisible_11ani .with-suffix__suffixContainer_11ani {
25
25
  display: inline-flex;
26
26
  }
27
- .with-suffix__hasSuffix_1m4d1 input:focus::placeholder {
27
+ .with-suffix__hasSuffix_11ani input:focus::placeholder {
28
28
  color: transparent;
29
29
  transition: none;
30
30
  }
31
- .with-suffix__spacer_1m4d1 {
31
+ .with-suffix__spacer_11ani {
32
32
  visibility: hidden;
33
33
  flex-shrink: 0;
34
34
  white-space: pre;
35
35
  }
36
- .with-suffix__suffix_1m4d1 {
36
+ .with-suffix__suffix_11ani {
37
37
  white-space: pre;
38
38
  }
39
- .with-suffix__disabled_1m4d1 {
39
+ .with-suffix__disabled_11ani {
40
40
  color: var(--input-disabled-color);
41
41
  }
42
- .with-suffix__readOnly_1m4d1 {
42
+ .with-suffix__readOnly_11ani {
43
43
  color: var(--input-read-only-color);
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-with-suffix",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@alfalab/core-components-input": "^10.0.1",
20
+ "@alfalab/core-components-input": "^10.0.2",
21
21
  "@alfalab/core-components-portal": "^3.0.1",
22
22
  "classnames": "^2.3.1",
23
23
  "react-merge-refs": "^1.1.0"