@alfalab/core-components-with-suffix 3.3.1 → 3.3.4
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 +28 -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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-with-suffix@3.3.3...@alfalab/core-components-with-suffix@3.3.4) (2022-07-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-with-suffix
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.3.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-with-suffix@3.3.2...@alfalab/core-components-with-suffix@3.3.3) (2022-07-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @alfalab/core-components-with-suffix
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [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)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## [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
34
|
|
|
8
35
|
**Note:** Version bump only for package @alfalab/core-components-with-suffix
|
|
@@ -447,4 +474,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
447
474
|
|
|
448
475
|
### Bug Fixes
|
|
449
476
|
|
|
477
|
+
|
|
450
478
|
* 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_z7x78","suffixVisible":"with-suffix__suffixVisible_z7x78","hasSuffix":"with-suffix__hasSuffix_z7x78","spacer":"with-suffix__spacer_z7x78","suffix":"with-suffix__suffix_z7x78","disabled":"with-suffix__disabled_z7x78","readOnly":"with-suffix__readOnly_z7x78"};
|
|
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_z7x78","suffixVisible":"with-suffix__suffixVisible_z7x78","hasSuffix":"with-suffix__hasSuffix_z7x78","spacer":"with-suffix__spacer_z7x78","suffix":"with-suffix__suffix_z7x78","disabled":"with-suffix__disabled_z7x78","readOnly":"with-suffix__readOnly_z7x78"};
|
|
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: 1mwul */
|
|
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_z7x78 {
|
|
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_z7x78 .with-suffix__suffixContainer_z7x78 {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
|
-
.with-
|
|
27
|
+
.with-suffix__spacer_z7x78 {
|
|
28
28
|
visibility: hidden;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
white-space: pre;
|
|
31
31
|
}
|
|
32
|
-
.with-
|
|
32
|
+
.with-suffix__suffix_z7x78 {
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
|
-
.with-
|
|
35
|
+
.with-suffix__disabled_z7x78 {
|
|
36
36
|
color: var(--input-disabled-color);
|
|
37
37
|
}
|
|
38
|
-
.with-
|
|
38
|
+
.with-suffix__readOnly_z7x78 {
|
|
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: 1mwul */
|
|
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_z7x78 {
|
|
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_z7x78 .with-suffix__suffixContainer_z7x78 {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
|
-
.with-
|
|
27
|
+
.with-suffix__spacer_z7x78 {
|
|
28
28
|
visibility: hidden;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
white-space: pre;
|
|
31
31
|
}
|
|
32
|
-
.with-
|
|
32
|
+
.with-suffix__suffix_z7x78 {
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
|
-
.with-
|
|
35
|
+
.with-suffix__disabled_z7x78 {
|
|
36
36
|
color: var(--input-disabled-color);
|
|
37
37
|
}
|
|
38
|
-
.with-
|
|
38
|
+
.with-suffix__readOnly_z7x78 {
|
|
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_z7x78","suffixVisible":"with-suffix__suffixVisible_z7x78","hasSuffix":"with-suffix__hasSuffix_z7x78","spacer":"with-suffix__spacer_z7x78","suffix":"with-suffix__suffix_z7x78","disabled":"with-suffix__disabled_z7x78","readOnly":"with-suffix__readOnly_z7x78"};
|
|
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: 1mwul */
|
|
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_z7x78 {
|
|
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_z7x78 .with-suffix__suffixContainer_z7x78 {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
|
-
.with-
|
|
27
|
+
.with-suffix__spacer_z7x78 {
|
|
28
28
|
visibility: hidden;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
white-space: pre;
|
|
31
31
|
}
|
|
32
|
-
.with-
|
|
32
|
+
.with-suffix__suffix_z7x78 {
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
|
-
.with-
|
|
35
|
+
.with-suffix__disabled_z7x78 {
|
|
36
36
|
color: var(--input-disabled-color);
|
|
37
37
|
}
|
|
38
|
-
.with-
|
|
38
|
+
.with-suffix__readOnly_z7x78 {
|
|
39
39
|
color: var(--input-read-only-color);
|
|
40
40
|
}
|
package/modern/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-with-suffix",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"postinstall": "node ./send-stats.js
|
|
10
|
+
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
13
13
|
"access": "public",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"react": "^16.9.0 || ^17.0.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-input": "^
|
|
21
|
-
"@alfalab/core-components-portal": "^2.0.
|
|
20
|
+
"@alfalab/core-components-input": "^9.0.0",
|
|
21
|
+
"@alfalab/core-components-portal": "^2.0.6",
|
|
22
22
|
"classnames": "^2.2.6",
|
|
23
23
|
"react-merge-refs": "^1.1.0"
|
|
24
24
|
}
|