@synerise/ds-input 0.25.8 → 0.25.9
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 +8 -0
- package/dist/Input.styles.js +16 -16
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [0.25.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.25.8...@synerise/ds-input@0.25.9) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.25.8](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.25.7...@synerise/ds-input@0.25.8) (2025-03-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-input
|
package/dist/Input.styles.js
CHANGED
|
@@ -32,17 +32,17 @@ export function autoresizeConfObjToCss(_ref) {
|
|
|
32
32
|
}
|
|
33
33
|
export var Wrapper = styled.div.withConfig({
|
|
34
34
|
displayName: "Inputstyles__Wrapper",
|
|
35
|
-
componentId: "dc57an-0"
|
|
35
|
+
componentId: "sc-dc57an-0"
|
|
36
36
|
})(["margin-bottom:24px;"]);
|
|
37
37
|
export var InputWrapper = styled.div.withConfig({
|
|
38
38
|
displayName: "Inputstyles__InputWrapper",
|
|
39
|
-
componentId: "dc57an-1"
|
|
39
|
+
componentId: "sc-dc57an-1"
|
|
40
40
|
})(["position:relative;&& .ant-input{padding-right:", ";&::placeholder{line-height:1.29;}}.ant-input-group-addon{height:100%;}"], function (props) {
|
|
41
41
|
return getIconsWidth(props.iconCount || 0) + INPUT_PADDING + "px";
|
|
42
42
|
});
|
|
43
43
|
export var OuterWrapper = styled.div.withConfig({
|
|
44
44
|
displayName: "Inputstyles__OuterWrapper",
|
|
45
|
-
componentId: "dc57an-2"
|
|
45
|
+
componentId: "sc-dc57an-2"
|
|
46
46
|
})(["margin:", ";&.active{&&{input{box-shadow:inset 0 0 0 1px ", ";border-color:", ";background-color:", ";}}}input{padding:7px ", "px;", "}", ""], function (props) {
|
|
47
47
|
return props.resetMargin ? '0' : '0 0 16px 0';
|
|
48
48
|
}, function (props) {
|
|
@@ -58,7 +58,7 @@ export var OuterWrapper = styled.div.withConfig({
|
|
|
58
58
|
});
|
|
59
59
|
export var IconsWrapper = styled.div.withConfig({
|
|
60
60
|
displayName: "Inputstyles__IconsWrapper",
|
|
61
|
-
componentId: "dc57an-3"
|
|
61
|
+
componentId: "sc-dc57an-3"
|
|
62
62
|
})(["position:absolute;right:8px;top:0;z-index:2;height:100%;.icon{svg{transition:0.3s all;fill:", ";opacity:", ";}}"], function (props) {
|
|
63
63
|
return props.theme.palette['grey-600'];
|
|
64
64
|
}, function (props) {
|
|
@@ -66,7 +66,7 @@ export var IconsWrapper = styled.div.withConfig({
|
|
|
66
66
|
});
|
|
67
67
|
export var IconsFlexContainer = styled.div.withConfig({
|
|
68
68
|
displayName: "Inputstyles__IconsFlexContainer",
|
|
69
|
-
componentId: "dc57an-4"
|
|
69
|
+
componentId: "sc-dc57an-4"
|
|
70
70
|
})(["", ""], function (props) {
|
|
71
71
|
if (props.type === 'input') {
|
|
72
72
|
return css(["display:flex;align-items:center;height:100%;"]);
|
|
@@ -75,7 +75,7 @@ export var IconsFlexContainer = styled.div.withConfig({
|
|
|
75
75
|
});
|
|
76
76
|
export var IconWrapper = styled.div.withConfig({
|
|
77
77
|
displayName: "Inputstyles__IconWrapper",
|
|
78
|
-
componentId: "dc57an-5"
|
|
78
|
+
componentId: "sc-dc57an-5"
|
|
79
79
|
})([".icon:hover{svg{fill:", ";cursor:pointer;}}"], function (props) {
|
|
80
80
|
return props.theme.palette['blue-600'];
|
|
81
81
|
});
|
|
@@ -91,7 +91,7 @@ function (_ref2, ref) {
|
|
|
91
91
|
}));
|
|
92
92
|
})).withConfig({
|
|
93
93
|
displayName: "Inputstyles__AntdInput",
|
|
94
|
-
componentId: "dc57an-6"
|
|
94
|
+
componentId: "sc-dc57an-6"
|
|
95
95
|
})(["", ";&&&{min-height:", "px;transition:all 0.3s,width 0ms,min-width 0ms,max-width 0ms;grid-area:1 / 1;color:", ";z-index:1;&::placeholder{color:", ";}&::-moz-placeholder{line-height:", ";}.ds-input-prefix{border-top-left-radius:3px;border-bottom-left-radius:3px;}.ds-input-suffix{border-top-right-radius:3px;border-bottom-right-radius:3px;}", "}"], function (props) {
|
|
96
96
|
return props.error ? errorInputStyle(props) : '';
|
|
97
97
|
}, function (props) {
|
|
@@ -119,7 +119,7 @@ function (_ref4, ref) {
|
|
|
119
119
|
}));
|
|
120
120
|
})).withConfig({
|
|
121
121
|
displayName: "Inputstyles__AntdTextArea",
|
|
122
|
-
componentId: "dc57an-7"
|
|
122
|
+
componentId: "sc-dc57an-7"
|
|
123
123
|
})(["", ";&&{color:", ";}"], function (props) {
|
|
124
124
|
return props.error ? errorInputStyle(props) : '';
|
|
125
125
|
}, function (props) {
|
|
@@ -127,7 +127,7 @@ function (_ref4, ref) {
|
|
|
127
127
|
});
|
|
128
128
|
export var ExpandableWrapper = styled.div.withConfig({
|
|
129
129
|
displayName: "Inputstyles__ExpandableWrapper",
|
|
130
|
-
componentId: "dc57an-8"
|
|
130
|
+
componentId: "sc-dc57an-8"
|
|
131
131
|
})(["position:relative;overflow:visible;", "{position:absolute;top:0;left:0;right:0;z-index:999;resize:none;max-height:124px;min-width:282px;", "}"], TextareaWrapper, function (props) {
|
|
132
132
|
if (props.expanded) {
|
|
133
133
|
return css(["pointer-events:initial;display:block;"]);
|
|
@@ -136,39 +136,39 @@ export var ExpandableWrapper = styled.div.withConfig({
|
|
|
136
136
|
});
|
|
137
137
|
export var ContentBelow = styled.div.withConfig({
|
|
138
138
|
displayName: "Inputstyles__ContentBelow",
|
|
139
|
-
componentId: "dc57an-9"
|
|
139
|
+
componentId: "sc-dc57an-9"
|
|
140
140
|
})(["margin-top:8px;"]);
|
|
141
141
|
export var ErrorText = styled.div.withConfig({
|
|
142
142
|
displayName: "Inputstyles__ErrorText",
|
|
143
|
-
componentId: "dc57an-10"
|
|
143
|
+
componentId: "sc-dc57an-10"
|
|
144
144
|
})(["color:", ";margin-bottom:4px;"], function (props) {
|
|
145
145
|
return props.theme.palette['red-600'];
|
|
146
146
|
});
|
|
147
147
|
export var Label = styled.label.withConfig({
|
|
148
148
|
displayName: "Inputstyles__Label",
|
|
149
|
-
componentId: "dc57an-11"
|
|
149
|
+
componentId: "sc-dc57an-11"
|
|
150
150
|
})(["color:", ";font-weight:500;display:block;"], function (props) {
|
|
151
151
|
return props.theme.palette['grey-800'];
|
|
152
152
|
});
|
|
153
153
|
export var Counter = styled.div.withConfig({
|
|
154
154
|
displayName: "Inputstyles__Counter",
|
|
155
|
-
componentId: "dc57an-12"
|
|
155
|
+
componentId: "sc-dc57an-12"
|
|
156
156
|
})(["font-weight:500;flex:1 0 auto;text-align:end;color:", ";"], function (props) {
|
|
157
157
|
return props.theme.palette['grey-500'];
|
|
158
158
|
});
|
|
159
159
|
export var Description = styled.div.withConfig({
|
|
160
160
|
displayName: "Inputstyles__Description",
|
|
161
|
-
componentId: "dc57an-13"
|
|
161
|
+
componentId: "sc-dc57an-13"
|
|
162
162
|
})(["color:", ";"], function (props) {
|
|
163
163
|
return props.theme.palette['grey-600'];
|
|
164
164
|
});
|
|
165
165
|
export var ContentAbove = styled.div.withConfig({
|
|
166
166
|
displayName: "Inputstyles__ContentAbove",
|
|
167
|
-
componentId: "dc57an-14"
|
|
167
|
+
componentId: "sc-dc57an-14"
|
|
168
168
|
})(["display:flex;justify-content:space-between;margin-bottom:8px;min-height:18px;"]);
|
|
169
169
|
export var AddonWrapper = styled.div.withConfig({
|
|
170
170
|
displayName: "Inputstyles__AddonWrapper",
|
|
171
|
-
componentId: "dc57an-15"
|
|
171
|
+
componentId: "sc-dc57an-15"
|
|
172
172
|
})(["background:", ";display:flex;align-items:center;height:", ";"], function (props) {
|
|
173
173
|
return props.theme.palette['grey-050'];
|
|
174
174
|
}, function (props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-input",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.9",
|
|
4
4
|
"description": "Input UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
22
|
"build:watch": "npm run build:js -- --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
|
-
"pack:ci": "npm pack --pack-destination ../../
|
|
24
|
+
"pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^0.72.
|
|
38
|
-
"@synerise/ds-scrollbar": "^0.12.
|
|
39
|
-
"@synerise/ds-tooltip": "^0.16.
|
|
40
|
-
"@synerise/ds-typography": "^0.17.
|
|
41
|
-
"@synerise/ds-utils": "^0.32.
|
|
37
|
+
"@synerise/ds-icon": "^0.72.1",
|
|
38
|
+
"@synerise/ds-scrollbar": "^0.12.7",
|
|
39
|
+
"@synerise/ds-tooltip": "^0.16.3",
|
|
40
|
+
"@synerise/ds-typography": "^0.17.7",
|
|
41
|
+
"@synerise/ds-utils": "^0.32.3",
|
|
42
42
|
"csstype": "2.6.9",
|
|
43
43
|
"uuid": "^8.3.2"
|
|
44
44
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react": ">=16.9.0 <= 18.3.1",
|
|
49
49
|
"styled-components": "^5.3.3"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a176b46dab123cd503247ae57022f8e808772d68"
|
|
52
52
|
}
|