@synerise/ds-card-select 0.9.7 → 0.9.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 +16 -0
- package/dist/CardSelect.styles.js +11 -11
- package/package.json +7 -7
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.9.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@0.9.8...@synerise/ds-card-select@0.9.9) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-card-select
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.9.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@0.9.7...@synerise/ds-card-select@0.9.8) (2025-03-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-card-select
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.9.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@0.9.6...@synerise/ds-card-select@0.9.7) (2025-02-27)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-card-select
|
|
@@ -35,7 +35,7 @@ var sizeCondition = function sizeCondition(smallValue, mediumValue, props) {
|
|
|
35
35
|
};
|
|
36
36
|
export var RadioShape = styled.div.withConfig({
|
|
37
37
|
displayName: "CardSelectstyles__RadioShape",
|
|
38
|
-
componentId: "tfmgtj-0"
|
|
38
|
+
componentId: "sc-tfmgtj-0"
|
|
39
39
|
})(["", ";width:", "px;height:", "px;border-radius:50%;border-width:", "px;border-style:solid;border-color:", ";margin:2px;&:hover{border-color:", ";}"], TRANSITION, function (props) {
|
|
40
40
|
return sizeCondition(RADIO_SMALL_WIDTH, RADIO_WIDTH, props);
|
|
41
41
|
}, function (props) {
|
|
@@ -43,7 +43,7 @@ export var RadioShape = styled.div.withConfig({
|
|
|
43
43
|
}, RADIO_BORDER_WIDTH, getVar('grey-300'), getVar('grey-400'));
|
|
44
44
|
export var Title = styled.div.withConfig({
|
|
45
45
|
displayName: "CardSelectstyles__Title",
|
|
46
|
-
componentId: "tfmgtj-1"
|
|
46
|
+
componentId: "sc-tfmgtj-1"
|
|
47
47
|
})(["text-align:center;color:", ";font-weight:", ";width:100%;font-size:", ";", ""], getVar('grey-800'), function (props) {
|
|
48
48
|
return sizeCondition('400', '500', props);
|
|
49
49
|
}, function (props) {
|
|
@@ -53,19 +53,19 @@ export var Title = styled.div.withConfig({
|
|
|
53
53
|
});
|
|
54
54
|
export var Description = styled.div.withConfig({
|
|
55
55
|
displayName: "CardSelectstyles__Description",
|
|
56
|
-
componentId: "tfmgtj-2"
|
|
56
|
+
componentId: "sc-tfmgtj-2"
|
|
57
57
|
})(["&&{font-size:13px;text-align:center;max-width:176px;word-wrap:break-word;overflow-wrap:break-word;flex-grow:1;", ";}"], function (props) {
|
|
58
58
|
return props.hasTitle && css(["margin-top:8px;"]);
|
|
59
59
|
});
|
|
60
60
|
export var IconWrapper = styled.div.withConfig({
|
|
61
61
|
displayName: "CardSelectstyles__IconWrapper",
|
|
62
|
-
componentId: "tfmgtj-3"
|
|
62
|
+
componentId: "sc-tfmgtj-3"
|
|
63
63
|
})(["margin-bottom:", "px;text-align:center;width:100%;"], function (props) {
|
|
64
64
|
return sizeCondition(0, MAIN_PADDING, props);
|
|
65
65
|
});
|
|
66
66
|
export var Aside = styled.div.withConfig({
|
|
67
67
|
displayName: "CardSelectstyles__Aside",
|
|
68
|
-
componentId: "tfmgtj-4"
|
|
68
|
+
componentId: "sc-tfmgtj-4"
|
|
69
69
|
})(["width:100%;justify-content:", ";top:0;left:0;display:flex;flex-direction:", ";position:absolute;padding:", ";"], function (props) {
|
|
70
70
|
return props.tickVisible ? 'space-between' : 'flex-end';
|
|
71
71
|
}, function (props) {
|
|
@@ -75,7 +75,7 @@ export var Aside = styled.div.withConfig({
|
|
|
75
75
|
});
|
|
76
76
|
export var Container = styled.div.withConfig({
|
|
77
77
|
displayName: "CardSelectstyles__Container",
|
|
78
|
-
componentId: "tfmgtj-5"
|
|
78
|
+
componentId: "sc-tfmgtj-5"
|
|
79
79
|
})(["", " ", ";background-color:", ";border-radius:", ";", " display:flex;flex:1;justify-content:", ";border-color:", ";position:relative;padding:", ";cursor:pointer;&&:focus-within{box-shadow:0px 0px 0px 2px ", ";}", " ", " ", " ", " ", " ", ",", ",", "{text-align:", ";}", "{margin-left:", ";margin-right:", ";}", " ", ";"], is('stretchToFit')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n height: 100%;\n "]))), TRANSITION, getVar('white'), function (props) {
|
|
80
80
|
return props.theme.variable('@border-radius-base');
|
|
81
81
|
}, is('error')(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n &&, &&:hover {\n box-shadow: 0px 0px 0px 2px ", ";\n }\n "])), getVar('red-500')), function (props) {
|
|
@@ -95,25 +95,25 @@ export var Container = styled.div.withConfig({
|
|
|
95
95
|
}))), is('disabled')(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n opacity: 0.4;\n pointer-events:none;\n\n ", "\n \n "])), isNot('raised')(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n\n ", "\n "])), isNot('value')(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n box-shadow: 0px 0px 0px 1px ", ";\n "])), getVar('grey-200')))));
|
|
96
96
|
export var TagRibbonAnchor = styled.div.withConfig({
|
|
97
97
|
displayName: "CardSelectstyles__TagRibbonAnchor",
|
|
98
|
-
componentId: "tfmgtj-6"
|
|
98
|
+
componentId: "sc-tfmgtj-6"
|
|
99
99
|
})(["display:flex;height:0;overflow:visible;"]);
|
|
100
100
|
export var TagRibbon = styled(Tag).withConfig({
|
|
101
101
|
displayName: "CardSelectstyles__TagRibbon",
|
|
102
|
-
componentId: "tfmgtj-7"
|
|
102
|
+
componentId: "sc-tfmgtj-7"
|
|
103
103
|
})(["position:relative;z-index:1;top:-12px;margin:0;"]);
|
|
104
104
|
export var Main = styled.div.withConfig({
|
|
105
105
|
displayName: "CardSelectstyles__Main",
|
|
106
|
-
componentId: "tfmgtj-8"
|
|
106
|
+
componentId: "sc-tfmgtj-8"
|
|
107
107
|
})(["display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:flex-start;"]);
|
|
108
108
|
export var TickIcon = styled.div.withConfig({
|
|
109
109
|
displayName: "CardSelectstyles__TickIcon",
|
|
110
|
-
componentId: "tfmgtj-9"
|
|
110
|
+
componentId: "sc-tfmgtj-9"
|
|
111
111
|
})(["", " ", " ", ""], is('selected')(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n transform: ", "; \n "])), function (props) {
|
|
112
112
|
return getTransformValues(props);
|
|
113
113
|
}), is('disabled')(_templateObject17 || (_templateObject17 = _taggedTemplateLiteralLoose(["\n ", " {\n background-color: ", ";\n border-color: ", ";\n }\n "])), RadioShape, getVar('grey-050'), getVar('grey-200')), isNot('disabled')(_templateObject18 || (_templateObject18 = _taggedTemplateLiteralLoose(["\n ", " {\n cursor: pointer;\n }\n "])), RadioShape));
|
|
114
114
|
export var CardWrapper = styled.div.withConfig({
|
|
115
115
|
displayName: "CardSelectstyles__CardWrapper",
|
|
116
|
-
componentId: "tfmgtj-10"
|
|
116
|
+
componentId: "sc-tfmgtj-10"
|
|
117
117
|
})(["position:relative;", " ", " ", "{", "}", "{justify-content:", ";padding-", ":", "px;}", "{", ":16px;}"], is('disabled')(_templateObject19 || (_templateObject19 = _taggedTemplateLiteralLoose(["\n cursor:not-allowed;\n "]))), is('stretchToFit')(_templateObject20 || (_templateObject20 = _taggedTemplateLiteralLoose(["\n height: 100%;\n "]))), Title, function (props) {
|
|
118
118
|
return props.hasTick && !props.hasIcon && css(["padding:0 24px;"]);
|
|
119
119
|
}, TagRibbonAnchor, function (props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-card-select",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"description": "Card-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,10 +34,10 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^0.
|
|
38
|
-
"@synerise/ds-tags": "^0.11.
|
|
39
|
-
"@synerise/ds-tooltip": "^0.16.
|
|
40
|
-
"@synerise/ds-utils": "^0.32.
|
|
37
|
+
"@synerise/ds-icon": "^0.72.1",
|
|
38
|
+
"@synerise/ds-tags": "^0.11.9",
|
|
39
|
+
"@synerise/ds-tooltip": "^0.16.3",
|
|
40
|
+
"@synerise/ds-utils": "^0.32.3",
|
|
41
41
|
"styled-is": "^1.3.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a176b46dab123cd503247ae57022f8e808772d68"
|
|
50
50
|
}
|