@synerise/ds-select 0.17.8 → 1.0.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 +8 -0
- package/dist/Select.js +1 -1
- package/dist/Select.styles.js +10 -10
- 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.17.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@0.17.8...@synerise/ds-select@0.17.9) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-select
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.17.8](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@0.17.7...@synerise/ds-select@0.17.8) (2025-03-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-select
|
package/dist/Select.js
CHANGED
|
@@ -13,10 +13,10 @@ import { getPopupContainer as defaultGetPopupContainer } from '@synerise/ds-util
|
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import * as S from './Select.styles';
|
|
15
15
|
var Select = /*#__PURE__*/function (_Component) {
|
|
16
|
+
_inheritsLoose(Select, _Component);
|
|
16
17
|
function Select() {
|
|
17
18
|
return _Component.apply(this, arguments) || this;
|
|
18
19
|
}
|
|
19
|
-
_inheritsLoose(Select, _Component);
|
|
20
20
|
var _proto = Select.prototype;
|
|
21
21
|
_proto.render = function render() {
|
|
22
22
|
var _classNames;
|
package/dist/Select.styles.js
CHANGED
|
@@ -22,13 +22,13 @@ var addonStyles = function addonStyles(props) {
|
|
|
22
22
|
};
|
|
23
23
|
export var SelectContainer = styled.div.withConfig({
|
|
24
24
|
displayName: "Selectstyles__SelectContainer",
|
|
25
|
-
componentId: "n9lk0v-0"
|
|
25
|
+
componentId: "sc-n9lk0v-0"
|
|
26
26
|
})(["display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;margin:0 0 ", "px;"], function (props) {
|
|
27
27
|
return props.hasBottomMargin ? 16 : 0;
|
|
28
28
|
});
|
|
29
29
|
export var AntdSelect = styled(Select).withConfig({
|
|
30
30
|
displayName: "Selectstyles__AntdSelect",
|
|
31
|
-
componentId: "n9lk0v-1"
|
|
31
|
+
componentId: "sc-n9lk0v-1"
|
|
32
32
|
})(["", " &.ant-select-multiple{.ant-select-arrow{top:16px;}}&&{.ant-select-selector{", "}}&&&{width:100%;.ant-select-clear{height:18px;background-position:center;background-repeat:no-repeat;background-size:contain;top:50%;right:8px;transform-origin:50% 25%;display:flex;transform:translateY(-50%);align-items:center;justify-content:center;margin-top:0;}.ant-select-selector{", " ", "}span[aria-label='search']{svg{display:none;}width:24px;height:24px;background-color:rgba(0,0,0,0);background-image:", ";}}&.error{.ant-select-selector.ant-select-selector{", "}.ant-select-clear{background-color:", ";}}"], function (props) {
|
|
33
33
|
return props.size === 'large' && "\n\n &.ant-select-single .ant-select-selector, \n &.ant-select-single .ant-select-selection-search-input {\n height:48px;\n }\n\n &.ant-select-single .ant-select-selection-item, \n &.ant-select-single .ant-select-selection-placeholder {\n line-height:46px;\n }\n \n &.ant-select-multiple.ant-select-lg {\n .ant-select-arrow {\n top: 23px\n }\n .ant-select-selector {\n padding: 8px;\n }\n\n .ant-select-selector::after,\n .ant-select-selection-item,\n .ant-select-selection-search {\n height: 24px; \n line-height: 22px;\n }\n }\n\n ";
|
|
34
34
|
}, function (props) {
|
|
@@ -46,39 +46,39 @@ export var AntdSelect = styled(Select).withConfig({
|
|
|
46
46
|
});
|
|
47
47
|
export var AntdSelectOption = styled(Option).withConfig({
|
|
48
48
|
displayName: "Selectstyles__AntdSelectOption",
|
|
49
|
-
componentId: "n9lk0v-2"
|
|
49
|
+
componentId: "sc-n9lk0v-2"
|
|
50
50
|
})([""]);
|
|
51
51
|
export var AntdSelectOptGroup = styled(OptGroup).withConfig({
|
|
52
52
|
displayName: "Selectstyles__AntdSelectOptGroup",
|
|
53
|
-
componentId: "n9lk0v-3"
|
|
53
|
+
componentId: "sc-n9lk0v-3"
|
|
54
54
|
})([""]);
|
|
55
55
|
export var LabelWrapper = styled.div.withConfig({
|
|
56
56
|
displayName: "Selectstyles__LabelWrapper",
|
|
57
|
-
componentId: "n9lk0v-4"
|
|
57
|
+
componentId: "sc-n9lk0v-4"
|
|
58
58
|
})(["margin:0 0 8px 0;"]);
|
|
59
59
|
export var ContentBelow = styled.div.withConfig({
|
|
60
60
|
displayName: "Selectstyles__ContentBelow",
|
|
61
|
-
componentId: "n9lk0v-5"
|
|
61
|
+
componentId: "sc-n9lk0v-5"
|
|
62
62
|
})(["margin-top:8px;"]);
|
|
63
63
|
export var Label = styled(DSLabel).withConfig({
|
|
64
64
|
displayName: "Selectstyles__Label",
|
|
65
|
-
componentId: "n9lk0v-6"
|
|
65
|
+
componentId: "sc-n9lk0v-6"
|
|
66
66
|
})(["margin-bottom:8px;span > .ds-icon > svg{margin-top:-1px;}"]);
|
|
67
67
|
export var PrefixWrapper = styled.div.withConfig({
|
|
68
68
|
displayName: "Selectstyles__PrefixWrapper",
|
|
69
|
-
componentId: "n9lk0v-7"
|
|
69
|
+
componentId: "sc-n9lk0v-7"
|
|
70
70
|
})(["border-radius:3px 0 0 3px;margin-right:-2px;padding-right:1px;", ";"], function (props) {
|
|
71
71
|
return addonStyles(props);
|
|
72
72
|
});
|
|
73
73
|
export var SuffixWrapper = styled.div.withConfig({
|
|
74
74
|
displayName: "Selectstyles__SuffixWrapper",
|
|
75
|
-
componentId: "n9lk0v-8"
|
|
75
|
+
componentId: "sc-n9lk0v-8"
|
|
76
76
|
})(["border-radius:0 3px 3px 0;margin-left:-1px;", ";"], function (props) {
|
|
77
77
|
return addonStyles(props);
|
|
78
78
|
});
|
|
79
79
|
export var SelectWrapper = styled.div.withConfig({
|
|
80
80
|
displayName: "Selectstyles__SelectWrapper",
|
|
81
|
-
componentId: "n9lk0v-9"
|
|
81
|
+
componentId: "sc-n9lk0v-9"
|
|
82
82
|
})(["display:flex;", ""], function (props) {
|
|
83
83
|
return props.grey && !props.error && css(["&&{.ant-select-selector{background-color:", ";}}"], props.theme.palette['grey-050']);
|
|
84
84
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-select",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Select 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.
|
|
38
|
-
"@synerise/ds-input": "^0.
|
|
39
|
-
"@synerise/ds-tooltip": "^0.
|
|
40
|
-
"@synerise/ds-typography": "^0.
|
|
41
|
-
"@synerise/ds-utils": "^0.
|
|
37
|
+
"@synerise/ds-icon": "^1.0.0",
|
|
38
|
+
"@synerise/ds-input": "^1.0.0",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.0.0",
|
|
40
|
+
"@synerise/ds-typography": "^1.0.0",
|
|
41
|
+
"@synerise/ds-utils": "^1.0.0",
|
|
42
42
|
"classnames": "2.3.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": ">=16.9.0 <= 18.3.1",
|
|
48
48
|
"styled-components": "^5.3.3"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e4c3690238a44b584b9ea41e4aa52b1eec42174b"
|
|
51
51
|
}
|