@alfalab/core-components-with-suffix 3.3.1 → 3.3.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/CHANGELOG.md +12 -0
- package/Component.js +1 -1
- package/cssm/Component.js +1 -1
- package/cssm/index.js +1 -1
- package/esm/Component.js +2 -2
- package/esm/index.css +7 -7
- package/esm/index.js +1 -1
- package/index.css +7 -7
- package/modern/Component.js +2 -2
- package/modern/index.css +7 -7
- package/modern/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.3.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-with-suffix@3.3.1...@alfalab/core-components-with-suffix@3.3.2) (2022-07-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-with-suffix@3.3.0...@alfalab/core-components-with-suffix@3.3.1) (2022-07-14)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @alfalab/core-components-with-suffix
|
|
@@ -447,4 +458,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
447
458
|
|
|
448
459
|
### Bug Fixes
|
|
449
460
|
|
|
461
|
+
|
|
450
462
|
* update versions ([#525](https://github.com/core-ds/core-components/issues/525)) ([31b2e4c](https://github.com/core-ds/core-components/commit/31b2e4c92fde6e2b63a3391a4e053cd328e93e70))
|
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-
|
|
55
|
+
var styles = {"suffixContainer":"with-suffix__suffixContainer_g70ts","suffixVisible":"with-suffix__suffixVisible_g70ts","hasSuffix":"with-suffix__hasSuffix_g70ts","spacer":"with-suffix__spacer_g70ts","suffix":"with-suffix__suffix_g70ts","disabled":"with-suffix__disabled_g70ts","readOnly":"with-suffix__readOnly_g70ts"};
|
|
56
56
|
require('./index.css')
|
|
57
57
|
|
|
58
58
|
var withSuffix = function (Input) {
|
package/cssm/Component.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var cn = require('classnames');
|
|
7
7
|
var mergeRefs = require('react-merge-refs');
|
|
8
|
-
var coreComponentsPortal = require('@alfalab/core-components-portal/
|
|
8
|
+
var coreComponentsPortal = require('@alfalab/core-components-portal/cssm');
|
|
9
9
|
var styles = require('./index.module.css');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
package/cssm/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var Component = require('./Component.js');
|
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('react-merge-refs');
|
|
9
|
-
require('@alfalab/core-components-portal/
|
|
9
|
+
require('@alfalab/core-components-portal/cssm');
|
|
10
10
|
require('./index.module.css');
|
|
11
11
|
|
|
12
12
|
|
package/esm/Component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useState, useCallback, Fragment } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
|
-
import { Portal } from '@alfalab/core-components-portal/
|
|
4
|
+
import { Portal } from '@alfalab/core-components-portal/esm';
|
|
5
5
|
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
@@ -42,7 +42,7 @@ function __rest(s, e) {
|
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
var styles = {"suffixContainer":"with-
|
|
45
|
+
var styles = {"suffixContainer":"with-suffix__suffixContainer_g70ts","suffixVisible":"with-suffix__suffixVisible_g70ts","hasSuffix":"with-suffix__hasSuffix_g70ts","spacer":"with-suffix__spacer_g70ts","suffix":"with-suffix__suffix_g70ts","disabled":"with-suffix__disabled_g70ts","readOnly":"with-suffix__readOnly_g70ts"};
|
|
46
46
|
require('./index.css')
|
|
47
47
|
|
|
48
48
|
var withSuffix = function (Input) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 469mr */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.with-
|
|
10
|
+
.with-suffix__suffixContainer_g70ts {
|
|
11
11
|
font-size: 16px;
|
|
12
12
|
line-height: 20px;
|
|
13
13
|
font-weight: 400;
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
pointer-events: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.with-
|
|
24
|
+
.with-suffix__suffixVisible_g70ts .with-suffix__suffixContainer_g70ts {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
|
-
.with-
|
|
27
|
+
.with-suffix__spacer_g70ts {
|
|
28
28
|
visibility: hidden;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
white-space: pre;
|
|
31
31
|
}
|
|
32
|
-
.with-
|
|
32
|
+
.with-suffix__suffix_g70ts {
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
|
-
.with-
|
|
35
|
+
.with-suffix__disabled_g70ts {
|
|
36
36
|
color: var(--input-disabled-color);
|
|
37
37
|
}
|
|
38
|
-
.with-
|
|
38
|
+
.with-suffix__readOnly_g70ts {
|
|
39
39
|
color: var(--input-read-only-color);
|
|
40
40
|
}
|
package/esm/index.js
CHANGED
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 469mr */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.with-
|
|
10
|
+
.with-suffix__suffixContainer_g70ts {
|
|
11
11
|
font-size: 16px;
|
|
12
12
|
line-height: 20px;
|
|
13
13
|
font-weight: 400;
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
pointer-events: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.with-
|
|
24
|
+
.with-suffix__suffixVisible_g70ts .with-suffix__suffixContainer_g70ts {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
|
-
.with-
|
|
27
|
+
.with-suffix__spacer_g70ts {
|
|
28
28
|
visibility: hidden;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
white-space: pre;
|
|
31
31
|
}
|
|
32
|
-
.with-
|
|
32
|
+
.with-suffix__suffix_g70ts {
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
|
-
.with-
|
|
35
|
+
.with-suffix__disabled_g70ts {
|
|
36
36
|
color: var(--input-disabled-color);
|
|
37
37
|
}
|
|
38
|
-
.with-
|
|
38
|
+
.with-suffix__readOnly_g70ts {
|
|
39
39
|
color: var(--input-read-only-color);
|
|
40
40
|
}
|
package/modern/Component.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useState, useCallback, Fragment } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
|
-
import { Portal } from '@alfalab/core-components-portal/
|
|
4
|
+
import { Portal } from '@alfalab/core-components-portal/modern';
|
|
5
5
|
|
|
6
|
-
var styles = {"suffixContainer":"with-
|
|
6
|
+
var styles = {"suffixContainer":"with-suffix__suffixContainer_g70ts","suffixVisible":"with-suffix__suffixVisible_g70ts","hasSuffix":"with-suffix__hasSuffix_g70ts","spacer":"with-suffix__spacer_g70ts","suffix":"with-suffix__suffix_g70ts","disabled":"with-suffix__disabled_g70ts","readOnly":"with-suffix__readOnly_g70ts"};
|
|
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:
|
|
1
|
+
/* hash: 469mr */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.with-
|
|
10
|
+
.with-suffix__suffixContainer_g70ts {
|
|
11
11
|
font-size: 16px;
|
|
12
12
|
line-height: 20px;
|
|
13
13
|
font-weight: 400;
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
pointer-events: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.with-
|
|
24
|
+
.with-suffix__suffixVisible_g70ts .with-suffix__suffixContainer_g70ts {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
|
-
.with-
|
|
27
|
+
.with-suffix__spacer_g70ts {
|
|
28
28
|
visibility: hidden;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
white-space: pre;
|
|
31
31
|
}
|
|
32
|
-
.with-
|
|
32
|
+
.with-suffix__suffix_g70ts {
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
|
-
.with-
|
|
35
|
+
.with-suffix__disabled_g70ts {
|
|
36
36
|
color: var(--input-disabled-color);
|
|
37
37
|
}
|
|
38
|
-
.with-
|
|
38
|
+
.with-suffix__readOnly_g70ts {
|
|
39
39
|
color: var(--input-read-only-color);
|
|
40
40
|
}
|
package/modern/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-with-suffix",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"react": "^16.9.0 || ^17.0.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-input": "^8.2.
|
|
21
|
-
"@alfalab/core-components-portal": "^2.0.
|
|
20
|
+
"@alfalab/core-components-input": "^8.2.2",
|
|
21
|
+
"@alfalab/core-components-portal": "^2.0.5",
|
|
22
22
|
"classnames": "^2.2.6",
|
|
23
23
|
"react-merge-refs": "^1.1.0"
|
|
24
24
|
}
|