@synerise/ds-cascader 0.6.9 → 0.6.11
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 +16 -0
- package/dist/Cascader.styles.js +6 -6
- package/dist/Elements/BackAction/BackAction.styles.js +4 -4
- package/dist/Elements/BottomAction/BottomAction.styles.js +3 -3
- package/dist/Elements/CategoriesList/CategoriesList.js +1 -1
- package/dist/Elements/Divider/Divider.styles.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.6.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cascader@0.6.10...@synerise/ds-cascader@0.6.11) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-cascader
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.6.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cascader@0.6.9...@synerise/ds-cascader@0.6.10) (2025-03-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-cascader
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.6.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cascader@0.6.8...@synerise/ds-cascader@0.6.9) (2025-02-27)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-cascader
|
package/dist/Cascader.styles.js
CHANGED
|
@@ -2,11 +2,11 @@ import styled from 'styled-components';
|
|
|
2
2
|
import Scrollbar from '@synerise/ds-scrollbar';
|
|
3
3
|
export var InputWrapper = styled.div.withConfig({
|
|
4
4
|
displayName: "Cascaderstyles__InputWrapper",
|
|
5
|
-
componentId: "endrj4-0"
|
|
5
|
+
componentId: "sc-endrj4-0"
|
|
6
6
|
})(["box-shadow:0 16px 32px 0 rgba(35,41,54,0.05);"]);
|
|
7
7
|
export var SearchResults = styled.div.withConfig({
|
|
8
8
|
displayName: "Cascaderstyles__SearchResults",
|
|
9
|
-
componentId: "endrj4-1"
|
|
9
|
+
componentId: "sc-endrj4-1"
|
|
10
10
|
})(["display:", ";width:100%;background:", ";border-radius:0 0 3px 3px;padding:8px 0 8px 8px;box-shadow:0 16px 32px 0 rgba(35,41,54,0.05);z-index:10;"], function (props) {
|
|
11
11
|
return !props.visible ? 'none' : 'block';
|
|
12
12
|
}, function (props) {
|
|
@@ -14,19 +14,19 @@ export var SearchResults = styled.div.withConfig({
|
|
|
14
14
|
});
|
|
15
15
|
export var CascaderScrollbar = styled(Scrollbar).withConfig({
|
|
16
16
|
displayName: "Cascaderstyles__CascaderScrollbar",
|
|
17
|
-
componentId: "endrj4-2"
|
|
17
|
+
componentId: "sc-endrj4-2"
|
|
18
18
|
})(["padding-right:", ";"], function (props) {
|
|
19
19
|
return props.searching ? "0" : '8px';
|
|
20
20
|
});
|
|
21
21
|
export var Wrapper = styled.div.withConfig({
|
|
22
22
|
displayName: "Cascaderstyles__Wrapper",
|
|
23
|
-
componentId: "endrj4-3"
|
|
23
|
+
componentId: "sc-endrj4-3"
|
|
24
24
|
})(["&&{.ant-menu-inline,.-inline{border-right:none;}}"]);
|
|
25
25
|
export var BreadcrumbPrefix = styled.div.withConfig({
|
|
26
26
|
displayName: "Cascaderstyles__BreadcrumbPrefix",
|
|
27
|
-
componentId: "endrj4-4"
|
|
27
|
+
componentId: "sc-endrj4-4"
|
|
28
28
|
})([""]);
|
|
29
29
|
export var DividerContainer = styled.div.withConfig({
|
|
30
30
|
displayName: "Cascaderstyles__DividerContainer",
|
|
31
|
-
componentId: "endrj4-5"
|
|
31
|
+
componentId: "sc-endrj4-5"
|
|
32
32
|
})(["padding:8px;"]);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
export var Label = styled.div.withConfig({
|
|
3
3
|
displayName: "BackActionstyles__Label",
|
|
4
|
-
componentId: "mg8442-0"
|
|
4
|
+
componentId: "sc-mg8442-0"
|
|
5
5
|
})(["font-weight:500;font-size:14px;transition:color 0.3s ease;color:", ";"], function (props) {
|
|
6
6
|
return props.theme.palette['grey-700'];
|
|
7
7
|
});
|
|
8
8
|
export var IconWrapper = styled.div.withConfig({
|
|
9
9
|
displayName: "BackActionstyles__IconWrapper",
|
|
10
|
-
componentId: "mg8442-1"
|
|
10
|
+
componentId: "sc-mg8442-1"
|
|
11
11
|
})(["margin-right:12px;svg{transition:fill 0.3s ease;fill:", ";}"], function (props) {
|
|
12
12
|
return props.theme.palette['grey-700'];
|
|
13
13
|
});
|
|
14
14
|
export var BackActionWrapper = styled.div.withConfig({
|
|
15
15
|
displayName: "BackActionstyles__BackActionWrapper",
|
|
16
|
-
componentId: "mg8442-2"
|
|
16
|
+
componentId: "sc-mg8442-2"
|
|
17
17
|
})(["padding:0 8px;&:hover{", "{color:", ";}", "{svg{fill:", ";}}}"], Label, function (props) {
|
|
18
18
|
return props.theme.palette['blue-600'];
|
|
19
19
|
}, IconWrapper, function (props) {
|
|
@@ -21,5 +21,5 @@ export var BackActionWrapper = styled.div.withConfig({
|
|
|
21
21
|
});
|
|
22
22
|
export var ContentWrapper = styled.div.withConfig({
|
|
23
23
|
displayName: "BackActionstyles__ContentWrapper",
|
|
24
|
-
componentId: "mg8442-3"
|
|
24
|
+
componentId: "sc-mg8442-3"
|
|
25
25
|
})(["padding:8px 0;display:flex;align-items:center;cursor:pointer;"]);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
export var IconWrapper = styled.div.withConfig({
|
|
3
3
|
displayName: "BottomActionstyles__IconWrapper",
|
|
4
|
-
componentId: "rp021x-0"
|
|
4
|
+
componentId: "sc-rp021x-0"
|
|
5
5
|
})(["margin-right:4px;svg{fill:", ";}"], function (props) {
|
|
6
6
|
return props.theme.palette['grey-600'];
|
|
7
7
|
});
|
|
8
8
|
export var TextWrapper = styled.div.withConfig({
|
|
9
9
|
displayName: "BottomActionstyles__TextWrapper",
|
|
10
|
-
componentId: "rp021x-1"
|
|
10
|
+
componentId: "sc-rp021x-1"
|
|
11
11
|
})(["line-height:12px;"]);
|
|
12
12
|
export var BottomAction = styled.div.withConfig({
|
|
13
13
|
displayName: "BottomActionstyles__BottomAction",
|
|
14
|
-
componentId: "rp021x-2"
|
|
14
|
+
componentId: "sc-rp021x-2"
|
|
15
15
|
})(["background-color:", ";padding:0 16px;height:52px;display:flex;align-items:center;color:", ";font-weight:500;border-width:1px 0 0 0;border-color:", ";border-style:solid;margin-top:8px;cursor:pointer;"], function (props) {
|
|
16
16
|
return props.theme.palette['grey-050'];
|
|
17
17
|
}, function (props) {
|
|
@@ -6,7 +6,7 @@ import styled from 'styled-components';
|
|
|
6
6
|
import { hasNestedCategories } from '../../utils';
|
|
7
7
|
var CategoriesSuffix = styled.div.withConfig({
|
|
8
8
|
displayName: "CategoriesList__CategoriesSuffix",
|
|
9
|
-
componentId: "zu5q3f-0"
|
|
9
|
+
componentId: "sc-zu5q3f-0"
|
|
10
10
|
})([""]);
|
|
11
11
|
export var CategoriesList = function CategoriesList(_ref) {
|
|
12
12
|
var rootCategory = _ref.rootCategory,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-cascader",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"description": "Cascader 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,18 +34,18 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-divider": "^0.9.
|
|
38
|
-
"@synerise/ds-icon": "^0.
|
|
39
|
-
"@synerise/ds-list-item": "^0.7.
|
|
40
|
-
"@synerise/ds-scrollbar": "^0.12.
|
|
41
|
-
"@synerise/ds-search": "^0.10.
|
|
42
|
-
"@synerise/ds-search-bar": "^0.8.
|
|
43
|
-
"@synerise/ds-utils": "^0.32.
|
|
37
|
+
"@synerise/ds-divider": "^0.9.6",
|
|
38
|
+
"@synerise/ds-icon": "^0.72.1",
|
|
39
|
+
"@synerise/ds-list-item": "^0.7.7",
|
|
40
|
+
"@synerise/ds-scrollbar": "^0.12.7",
|
|
41
|
+
"@synerise/ds-search": "^0.10.10",
|
|
42
|
+
"@synerise/ds-search-bar": "^0.8.9",
|
|
43
|
+
"@synerise/ds-utils": "^0.32.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@synerise/ds-core": "*",
|
|
47
47
|
"react": ">=16.9.0 <= 18.3.1",
|
|
48
48
|
"styled-components": "^5.3.3"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "a176b46dab123cd503247ae57022f8e808772d68"
|
|
51
51
|
}
|