@snack-uikit/card 0.12.7-preview-5d3667ec.0 → 0.12.8
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 +28 -0
- package/dist/components/Card/styles.module.css +4 -1
- package/dist/components/FunctionBadge/FunctionBadge.js +1 -1
- package/dist/helperComponents/FunctionBadgeWrapper/styles.module.css +1 -1
- package/package.json +10 -10
- package/src/components/Card/styles.module.scss +6 -0
- package/src/components/FunctionBadge/FunctionBadge.tsx +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
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.12.8 (2024-04-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **PDS-0000:** fix disabed cursor style ([0037b80](https://github.com/cloud-ru-tech/snack-uikit/commit/0037b80b6d73214f05d3cc30ae82f9ed19477bb5))
|
|
12
|
+
* **PDS-0000:** set default button type as button ([4ec64de](https://github.com/cloud-ru-tech/snack-uikit/commit/4ec64de508826df4a1e82fd8c75448d9919e563f))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## 0.12.7 (2024-04-23)
|
|
19
|
+
|
|
20
|
+
### Only dependencies have been changed
|
|
21
|
+
* [@snack-uikit/button@0.17.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/button/CHANGELOG.md)
|
|
22
|
+
* [@snack-uikit/icon-predefined@0.5.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/icon-predefined/CHANGELOG.md)
|
|
23
|
+
* [@snack-uikit/list@0.11.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/list/CHANGELOG.md)
|
|
24
|
+
* [@snack-uikit/promo-tag@0.4.2](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/promo-tag/CHANGELOG.md)
|
|
25
|
+
* [@snack-uikit/tag@0.9.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/tag/CHANGELOG.md)
|
|
26
|
+
* [@snack-uikit/truncate-string@0.4.13](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/truncate-string/CHANGELOG.md)
|
|
27
|
+
* [@snack-uikit/typography@0.6.2](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/typography/CHANGELOG.md)
|
|
28
|
+
* [@snack-uikit/utils@3.3.0](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/utils/CHANGELOG.md)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
6
34
|
## 0.12.6 (2024-04-22)
|
|
7
35
|
|
|
8
36
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
margin:0;
|
|
33
33
|
padding:0;
|
|
34
34
|
text-align:left;
|
|
35
|
-
background-color:var(--sys-neutral-background1-level, #
|
|
35
|
+
background-color:var(--sys-neutral-background1-level, #fdfdff);
|
|
36
36
|
border:0;
|
|
37
37
|
outline-color:transparent;
|
|
38
38
|
}
|
|
@@ -132,6 +132,9 @@
|
|
|
132
132
|
.card[data-pointer]:hover{
|
|
133
133
|
box-shadow:var(--box-shadow-elevation-level2, 0px 0px 4px 0px rgba(0, 0, 0, 0.0392156863), 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863));
|
|
134
134
|
}
|
|
135
|
+
.card[data-pointer][data-disabled] *{
|
|
136
|
+
cursor:not-allowed;
|
|
137
|
+
}
|
|
135
138
|
|
|
136
139
|
.anchor{
|
|
137
140
|
position:absolute;
|
|
@@ -35,5 +35,5 @@ export function FunctionBadge({ icon, options }) {
|
|
|
35
35
|
setIsOpen(false);
|
|
36
36
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
37
37
|
} }));
|
|
38
|
-
}), children: _jsx("button", { "data-test-id": TEST_IDS.functionBadge, className: styles.button, onClick: onClick, ref: buttonRef, children: icon || _jsx(KebabSVG, {}) }) }) }));
|
|
38
|
+
}), children: _jsx("button", { type: 'button', "data-test-id": TEST_IDS.functionBadge, className: styles.button, onClick: onClick, ref: buttonRef, children: icon || _jsx(KebabSVG, {}) }) }) }));
|
|
39
39
|
}
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
left:0;
|
|
23
23
|
width:100%;
|
|
24
24
|
height:100%;
|
|
25
|
-
background-color:var(--sys-neutral-background1-level, #
|
|
25
|
+
background-color:var(--sys-neutral-background1-level, #fdfdff);
|
|
26
26
|
box-shadow:var(--box-shadow-elevation-level2, 0px 0px 4px 0px rgba(0, 0, 0, 0.0392156863), 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863));
|
|
27
27
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Card",
|
|
7
|
-
"version": "0.12.
|
|
7
|
+
"version": "0.12.8",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"scripts": {},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@snack-uikit/button": "0.17.
|
|
36
|
-
"@snack-uikit/icon-predefined": "0.5.
|
|
35
|
+
"@snack-uikit/button": "0.17.1",
|
|
36
|
+
"@snack-uikit/icon-predefined": "0.5.1",
|
|
37
37
|
"@snack-uikit/icons": "0.20.1",
|
|
38
|
-
"@snack-uikit/list": "0.11.
|
|
39
|
-
"@snack-uikit/promo-tag": "0.4.
|
|
40
|
-
"@snack-uikit/tag": "0.9.
|
|
41
|
-
"@snack-uikit/truncate-string": "0.4.
|
|
42
|
-
"@snack-uikit/typography": "0.6.
|
|
43
|
-
"@snack-uikit/utils": "3.
|
|
38
|
+
"@snack-uikit/list": "0.11.2",
|
|
39
|
+
"@snack-uikit/promo-tag": "0.4.2",
|
|
40
|
+
"@snack-uikit/tag": "0.9.1",
|
|
41
|
+
"@snack-uikit/truncate-string": "0.4.13",
|
|
42
|
+
"@snack-uikit/typography": "0.6.2",
|
|
43
|
+
"@snack-uikit/utils": "3.3.0",
|
|
44
44
|
"classnames": "2.3.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "17bfcf1150776cd35c77d9cca8f45dde97472bf1"
|
|
47
47
|
}
|
|
@@ -58,7 +58,13 @@ export function FunctionBadge({ icon, options }: FunctionBadgeProps) {
|
|
|
58
58
|
},
|
|
59
59
|
}))}
|
|
60
60
|
>
|
|
61
|
-
<button
|
|
61
|
+
<button
|
|
62
|
+
type='button'
|
|
63
|
+
data-test-id={TEST_IDS.functionBadge}
|
|
64
|
+
className={styles.button}
|
|
65
|
+
onClick={onClick}
|
|
66
|
+
ref={buttonRef}
|
|
67
|
+
>
|
|
62
68
|
{icon || <KebabSVG />}
|
|
63
69
|
</button>
|
|
64
70
|
</Droplist>
|