@alfalab/core-components-with-suffix 4.1.18 → 4.1.19

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_1aa59","suffixVisible":"with-suffix__suffixVisible_1aa59","hasSuffix":"with-suffix__hasSuffix_1aa59","spacer":"with-suffix__spacer_1aa59","suffix":"with-suffix__suffix_1aa59","disabled":"with-suffix__disabled_1aa59","readOnly":"with-suffix__readOnly_1aa59"};
17
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_13t4t","suffixVisible":"with-suffix__suffixVisible_13t4t","hasSuffix":"with-suffix__hasSuffix_13t4t","spacer":"with-suffix__spacer_13t4t","suffix":"with-suffix__suffix_13t4t","disabled":"with-suffix__disabled_13t4t","readOnly":"with-suffix__readOnly_13t4t"};
18
18
  require('./index.css')
19
19
 
20
20
  var withSuffix = function (Input) {
package/cssm/index.js CHANGED
@@ -3,12 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Component = require('./Component.js');
6
- require('tslib');
7
- require('react');
8
- require('react-merge-refs');
9
- require('classnames');
10
- require('@alfalab/core-components-portal/cssm');
11
- require('./index.module.css');
12
6
 
13
7
 
14
8
 
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_1aa59","suffixVisible":"with-suffix__suffixVisible_1aa59","hasSuffix":"with-suffix__hasSuffix_1aa59","spacer":"with-suffix__spacer_1aa59","suffix":"with-suffix__suffix_1aa59","disabled":"with-suffix__disabled_1aa59","readOnly":"with-suffix__readOnly_1aa59"};
7
+ var styles = {"suffixContainer":"with-suffix__suffixContainer_13t4t","suffixVisible":"with-suffix__suffixVisible_13t4t","hasSuffix":"with-suffix__hasSuffix_13t4t","spacer":"with-suffix__spacer_13t4t","suffix":"with-suffix__suffix_13t4t","disabled":"with-suffix__disabled_13t4t","readOnly":"with-suffix__readOnly_13t4t"};
8
8
  require('./index.css')
9
9
 
10
10
  var withSuffix = function (Input) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: h7eal */
1
+ /* hash: 4g8et */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-tertiary: rgba(5, 8, 29, 0.38); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -28,7 +28,7 @@
28
28
  /* display */
29
29
 
30
30
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
31
- } .with-suffix__suffixContainer_1aa59 {
31
+ } .with-suffix__suffixContainer_13t4t {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -40,20 +40,20 @@
40
40
  align-items: center;
41
41
  display: none;
42
42
  pointer-events: none;
43
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_1aa59,
44
- .with-suffix__suffixVisible_1aa59 .with-suffix__suffixContainer_1aa59 {
43
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_13t4t,
44
+ .with-suffix__suffixVisible_13t4t .with-suffix__suffixContainer_13t4t {
45
45
  display: inline-flex;
46
- } .with-suffix__hasSuffix_1aa59 input:focus::placeholder {
46
+ } .with-suffix__hasSuffix_13t4t input:focus::placeholder {
47
47
  color: transparent;
48
48
  transition: none;
49
- } .with-suffix__spacer_1aa59 {
49
+ } .with-suffix__spacer_13t4t {
50
50
  visibility: hidden;
51
51
  flex-shrink: 0;
52
52
  white-space: pre;
53
- } .with-suffix__suffix_1aa59 {
53
+ } .with-suffix__suffix_13t4t {
54
54
  white-space: pre;
55
- } .with-suffix__disabled_1aa59 {
55
+ } .with-suffix__disabled_13t4t {
56
56
  color: var(--input-disabled-color);
57
- } .with-suffix__readOnly_1aa59 {
57
+ } .with-suffix__readOnly_13t4t {
58
58
  color: var(--input-read-only-color);
59
59
  }
package/esm/index.js CHANGED
@@ -1,6 +1 @@
1
1
  export { withSuffix } from './Component.js';
2
- import 'tslib';
3
- import 'react';
4
- import 'react-merge-refs';
5
- import 'classnames';
6
- import '@alfalab/core-components-portal/esm';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: h7eal */
1
+ /* hash: 4g8et */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-tertiary: rgba(5, 8, 29, 0.38); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -28,7 +28,7 @@
28
28
  /* display */
29
29
 
30
30
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
31
- } .with-suffix__suffixContainer_1aa59 {
31
+ } .with-suffix__suffixContainer_13t4t {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -40,20 +40,20 @@
40
40
  align-items: center;
41
41
  display: none;
42
42
  pointer-events: none;
43
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_1aa59,
44
- .with-suffix__suffixVisible_1aa59 .with-suffix__suffixContainer_1aa59 {
43
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_13t4t,
44
+ .with-suffix__suffixVisible_13t4t .with-suffix__suffixContainer_13t4t {
45
45
  display: inline-flex;
46
- } .with-suffix__hasSuffix_1aa59 input:focus::placeholder {
46
+ } .with-suffix__hasSuffix_13t4t input:focus::placeholder {
47
47
  color: transparent;
48
48
  transition: none;
49
- } .with-suffix__spacer_1aa59 {
49
+ } .with-suffix__spacer_13t4t {
50
50
  visibility: hidden;
51
51
  flex-shrink: 0;
52
52
  white-space: pre;
53
- } .with-suffix__suffix_1aa59 {
53
+ } .with-suffix__suffix_13t4t {
54
54
  white-space: pre;
55
- } .with-suffix__disabled_1aa59 {
55
+ } .with-suffix__disabled_13t4t {
56
56
  color: var(--input-disabled-color);
57
- } .with-suffix__readOnly_1aa59 {
57
+ } .with-suffix__readOnly_13t4t {
58
58
  color: var(--input-read-only-color);
59
59
  }
package/index.js CHANGED
@@ -3,11 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Component = require('./Component.js');
6
- require('tslib');
7
- require('react');
8
- require('react-merge-refs');
9
- require('classnames');
10
- require('@alfalab/core-components-portal');
11
6
 
12
7
 
13
8
 
@@ -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_1aa59","suffixVisible":"with-suffix__suffixVisible_1aa59","hasSuffix":"with-suffix__hasSuffix_1aa59","spacer":"with-suffix__spacer_1aa59","suffix":"with-suffix__suffix_1aa59","disabled":"with-suffix__disabled_1aa59","readOnly":"with-suffix__readOnly_1aa59"};
6
+ const styles = {"suffixContainer":"with-suffix__suffixContainer_13t4t","suffixVisible":"with-suffix__suffixVisible_13t4t","hasSuffix":"with-suffix__hasSuffix_13t4t","spacer":"with-suffix__spacer_13t4t","suffix":"with-suffix__suffix_13t4t","disabled":"with-suffix__disabled_13t4t","readOnly":"with-suffix__readOnly_13t4t"};
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: h7eal */
1
+ /* hash: 4g8et */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-tertiary: rgba(5, 8, 29, 0.38); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -28,7 +28,7 @@
28
28
  /* display */
29
29
 
30
30
  /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
31
- } .with-suffix__suffixContainer_1aa59 {
31
+ } .with-suffix__suffixContainer_13t4t {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -40,20 +40,20 @@
40
40
  align-items: center;
41
41
  display: none;
42
42
  pointer-events: none;
43
- } input:focus:not(:read-only) + .with-suffix__suffixContainer_1aa59,
44
- .with-suffix__suffixVisible_1aa59 .with-suffix__suffixContainer_1aa59 {
43
+ } input:focus:not(:read-only) + .with-suffix__suffixContainer_13t4t,
44
+ .with-suffix__suffixVisible_13t4t .with-suffix__suffixContainer_13t4t {
45
45
  display: inline-flex;
46
- } .with-suffix__hasSuffix_1aa59 input:focus::placeholder {
46
+ } .with-suffix__hasSuffix_13t4t input:focus::placeholder {
47
47
  color: transparent;
48
48
  transition: none;
49
- } .with-suffix__spacer_1aa59 {
49
+ } .with-suffix__spacer_13t4t {
50
50
  visibility: hidden;
51
51
  flex-shrink: 0;
52
52
  white-space: pre;
53
- } .with-suffix__suffix_1aa59 {
53
+ } .with-suffix__suffix_13t4t {
54
54
  white-space: pre;
55
- } .with-suffix__disabled_1aa59 {
55
+ } .with-suffix__disabled_13t4t {
56
56
  color: var(--input-disabled-color);
57
- } .with-suffix__readOnly_1aa59 {
57
+ } .with-suffix__readOnly_13t4t {
58
58
  color: var(--input-read-only-color);
59
59
  }
package/modern/index.js CHANGED
@@ -1,5 +1 @@
1
1
  export { withSuffix } from './Component.js';
2
- import 'react';
3
- import 'react-merge-refs';
4
- import 'classnames';
5
- import '@alfalab/core-components-portal/modern';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-with-suffix",
3
- "version": "4.1.18",
3
+ "version": "4.1.19",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@alfalab/core-components-input": "^14.1.2",
17
+ "@alfalab/core-components-input": "^14.2.0",
18
18
  "@alfalab/core-components-portal": "^3.2.0",
19
19
  "classnames": "^2.3.1",
20
20
  "react-merge-refs": "^1.1.0",