@synerise/ds-select 0.15.38 → 0.15.40
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 +19 -0
- package/dist/Select.js +1 -5
- package/dist/Select.styles.d.ts +1 -6
- package/dist/Select.styles.js +8 -16
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.15.40](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@0.15.39...@synerise/ds-select@0.15.40) (2024-03-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-select
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.15.39](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@0.15.38...@synerise/ds-select@0.15.39) (2024-03-13)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **select:** updated styles to match input ([aaea51f](https://github.com/synerise/synerise-design/commit/aaea51f40fc638308d840711131d665360dc4f17))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.15.38](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@0.15.37...@synerise/ds-select@0.15.38) (2024-03-05)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-select
|
package/dist/Select.js
CHANGED
|
@@ -85,11 +85,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
85
85
|
error: errorText || error
|
|
86
86
|
}),
|
|
87
87
|
dropdownClassName: classNames('ps__child--consume', dropdownClassName)
|
|
88
|
-
})), !!suffixel && /*#__PURE__*/React.createElement(S.SuffixWrapper, null, suffixel)), errorText && /*#__PURE__*/React.createElement(S.
|
|
89
|
-
description: Boolean(description)
|
|
90
|
-
}, /*#__PURE__*/React.createElement(ErrorText, null, errorText)), description && /*#__PURE__*/React.createElement(S.DescWrapper, {
|
|
91
|
-
withError: Boolean(errorText)
|
|
92
|
-
}, description && /*#__PURE__*/React.createElement(Description, {
|
|
88
|
+
})), !!suffixel && /*#__PURE__*/React.createElement(S.SuffixWrapper, null, suffixel)), (errorText || description) && /*#__PURE__*/React.createElement(S.ContentBelow, null, errorText && /*#__PURE__*/React.createElement(ErrorText, null, errorText), description && /*#__PURE__*/React.createElement(Description, {
|
|
93
89
|
disabled: antdProps.disabled
|
|
94
90
|
}, description)));
|
|
95
91
|
};
|
package/dist/Select.styles.d.ts
CHANGED
|
@@ -9,12 +9,7 @@ export declare const AntdSelect: import("styled-components").StyledComponent<Rea
|
|
|
9
9
|
export declare const AntdSelectOption: import("styled-components").StyledComponent<import("rc-select/lib/Option").OptionFC, any, {}, never>;
|
|
10
10
|
export declare const AntdSelectOptGroup: import("styled-components").StyledComponent<import("rc-select/lib/OptGroup").OptionGroupFC, any, {}, never>;
|
|
11
11
|
export declare const LabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
-
export declare const
|
|
13
|
-
description?: boolean | undefined;
|
|
14
|
-
}, never>;
|
|
15
|
-
export declare const DescWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
16
|
-
withError?: boolean | undefined;
|
|
17
|
-
}, never>;
|
|
12
|
+
export declare const ContentBelow: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
18
13
|
export declare const Label: import("styled-components").StyledComponent<React.FC<import("@synerise/ds-input/dist/Label/Label.types").LabelProps>, any, {}, never>;
|
|
19
14
|
export declare const PrefixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
15
|
export declare const SuffixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/Select.styles.js
CHANGED
|
@@ -29,7 +29,7 @@ var addonStyles = function addonStyles(props) {
|
|
|
29
29
|
export var SelectContainer = styled.div.withConfig({
|
|
30
30
|
displayName: "Selectstyles__SelectContainer",
|
|
31
31
|
componentId: "n9lk0v-0"
|
|
32
|
-
})(["display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;"]);
|
|
32
|
+
})(["display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;margin:0 0 16px;"]);
|
|
33
33
|
export var AntdSelect = styled(Select).withConfig({
|
|
34
34
|
displayName: "Selectstyles__AntdSelect",
|
|
35
35
|
componentId: "n9lk0v-1"
|
|
@@ -60,37 +60,29 @@ export var LabelWrapper = styled.div.withConfig({
|
|
|
60
60
|
displayName: "Selectstyles__LabelWrapper",
|
|
61
61
|
componentId: "n9lk0v-4"
|
|
62
62
|
})(["margin:0 0 8px 0;"]);
|
|
63
|
-
export var
|
|
64
|
-
displayName: "
|
|
63
|
+
export var ContentBelow = styled.div.withConfig({
|
|
64
|
+
displayName: "Selectstyles__ContentBelow",
|
|
65
65
|
componentId: "n9lk0v-5"
|
|
66
|
-
})(["margin:
|
|
67
|
-
return props.description ? '8px 0 0' : '8px 0 16px';
|
|
68
|
-
});
|
|
69
|
-
export var DescWrapper = styled.div.withConfig({
|
|
70
|
-
displayName: "Selectstyles__DescWrapper",
|
|
71
|
-
componentId: "n9lk0v-6"
|
|
72
|
-
})(["margin:", ";"], function (props) {
|
|
73
|
-
return props.withError ? '4px 0 16px' : '8px 0 16px';
|
|
74
|
-
});
|
|
66
|
+
})(["margin-top:8px;"]);
|
|
75
67
|
export var Label = styled(DSLabel).withConfig({
|
|
76
68
|
displayName: "Selectstyles__Label",
|
|
77
|
-
componentId: "n9lk0v-
|
|
69
|
+
componentId: "n9lk0v-6"
|
|
78
70
|
})(["margin-bottom:8px;span > .ds-icon > svg{margin-top:-1px;}"]);
|
|
79
71
|
export var PrefixWrapper = styled.div.withConfig({
|
|
80
72
|
displayName: "Selectstyles__PrefixWrapper",
|
|
81
|
-
componentId: "n9lk0v-
|
|
73
|
+
componentId: "n9lk0v-7"
|
|
82
74
|
})(["border-radius:3px 0 0 3px;margin-right:-2px;padding-right:1px;", ";"], function (props) {
|
|
83
75
|
return addonStyles(props);
|
|
84
76
|
});
|
|
85
77
|
export var SuffixWrapper = styled.div.withConfig({
|
|
86
78
|
displayName: "Selectstyles__SuffixWrapper",
|
|
87
|
-
componentId: "n9lk0v-
|
|
79
|
+
componentId: "n9lk0v-8"
|
|
88
80
|
})(["border-radius:0 3px 3px 0;margin-left:-1px;", ";"], function (props) {
|
|
89
81
|
return addonStyles(props);
|
|
90
82
|
});
|
|
91
83
|
export var SelectWrapper = styled.div.withConfig({
|
|
92
84
|
displayName: "Selectstyles__SelectWrapper",
|
|
93
|
-
componentId: "n9lk0v-
|
|
85
|
+
componentId: "n9lk0v-9"
|
|
94
86
|
})(["display:flex;", ""], function (props) {
|
|
95
87
|
return props.grey && !props.error && css(["&&{.ant-select-selector{background-color:", ";}}"], props.theme.palette['grey-050']);
|
|
96
88
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-select",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.40",
|
|
4
4
|
"description": "Select UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@synerise/ds-icon": "^0.60.3",
|
|
37
|
-
"@synerise/ds-input": "^0.20.
|
|
37
|
+
"@synerise/ds-input": "^0.20.1",
|
|
38
38
|
"@synerise/ds-tooltip": "^0.14.20",
|
|
39
39
|
"@synerise/ds-typography": "^0.14.3",
|
|
40
40
|
"classnames": "2.3.2"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"@synerise/ds-utils": "^0.25.0",
|
|
50
50
|
"@testing-library/react": "10.0.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "914ce4be2e0e1fe145edeca838ab04eaa1aec1bf"
|
|
53
53
|
}
|