@descope-ui/theme-input-wrapper 3.3.5 → 3.5.0
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 +9 -0
- package/package.json +3 -3
- package/src/index.js +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [3.5.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.4.0...web-components-ui-3.5.0) (2026-05-07)
|
|
6
|
+
|
|
7
|
+
## [3.4.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.5...web-components-ui-3.4.0) (2026-05-07)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* add inputs font weight ([#1019](https://github.com/descope/web-components-ui/issues/1019)) ([65d958f](https://github.com/descope/web-components-ui/commit/65d958f4f35ab2d9bd0b25383a629d53ac63ac11))
|
|
13
|
+
|
|
5
14
|
## [3.3.5](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.4...web-components-ui-3.3.5) (2026-05-06)
|
|
6
15
|
|
|
7
16
|
## [3.3.4](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.3...web-components-ui-3.3.4) (2026-05-06)
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope-ui/theme-input-wrapper",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@descope-ui/
|
|
7
|
-
"@descope-ui/
|
|
6
|
+
"@descope-ui/theme-globals": "3.5.0",
|
|
7
|
+
"@descope-ui/common": "3.5.0"
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"link-workspace-packages": false
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import globals from '@descope-ui/theme-globals';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
getThemeRefs,
|
|
4
|
+
createHelperVars,
|
|
5
|
+
} from '@descope-ui/common/theme-helpers';
|
|
3
6
|
import { getComponentName } from '@descope-ui/common/components-helpers';
|
|
4
7
|
|
|
5
8
|
const componentName = getComponentName('input-wrapper');
|
|
@@ -10,6 +13,10 @@ const [theme, refs, vars] = createHelperVars(
|
|
|
10
13
|
labelTextColor: globalRefs.colors.surface.dark,
|
|
11
14
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
12
15
|
labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
|
|
16
|
+
inputValueFontWeight: '400',
|
|
17
|
+
inputPlaceholderFontWeight: '400',
|
|
18
|
+
helperTextFontWeight: '400',
|
|
19
|
+
errorMessageFontWeight: '400',
|
|
13
20
|
valueTextColor: globalRefs.colors.surface.contrast,
|
|
14
21
|
placeholderTextColor: globalRefs.colors.surface.dark,
|
|
15
22
|
requiredIndicator: "'*'",
|
|
@@ -49,7 +56,6 @@ const [theme, refs, vars] = createHelperVars(
|
|
|
49
56
|
errorMessageIconPosition: '0 0.4em',
|
|
50
57
|
errorMessageFontSize: '0.8125rem',
|
|
51
58
|
errorMessageIconRepeat: 'no-repeat',
|
|
52
|
-
errorMessageIconRepeat: 'no-repeat',
|
|
53
59
|
|
|
54
60
|
size: {
|
|
55
61
|
xs: { fontSize: '12px', chipFontSize: '10px' },
|