@cloud-ru/uikit-product-site-tag 0.3.16 → 0.4.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 +11 -0
- package/dist/cjs/components/Erid/Erid.js +1 -1
- package/dist/cjs/components/Erid/styles.module.css +2 -1
- package/dist/esm/components/Erid/Erid.js +1 -1
- package/dist/esm/components/Erid/styles.module.css +2 -1
- package/package.json +2 -2
- package/src/components/Erid/Erid.tsx +1 -1
- package/src/components/Erid/styles.module.scss +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.4.0 (2025-12-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **SITE-10072:** update erid background color ([41cdb61](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/41cdb61654c8d9b1c539d006fc812cc09c6b7639))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.3.16 (2025-12-08)
|
|
7
18
|
|
|
8
19
|
### Only dependencies have been changed
|
|
@@ -8,7 +8,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
8
8
|
const tooltip_1 = require("@snack-uikit/tooltip");
|
|
9
9
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
10
10
|
function Erid({ tip, className, appearance }) {
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, { triggerClassName: className, tip: tip, children: (0, jsx_runtime_1.jsx)("span", { "data-appearance": appearance, className: styles_module_scss_1.default.root,
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, { triggerClassName: className, tip: tip, placement: 'bottom-end', children: (0, jsx_runtime_1.jsx)("span", { "data-appearance": appearance, className: styles_module_scss_1.default.root,
|
|
12
12
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
|
13
13
|
tabIndex: 0, children: (0, jsx_runtime_1.jsx)("span", { className: styles_module_scss_1.default.label, children: "\u0420\u0435\u043A\u043B\u0430\u043C\u0430" }) }) }));
|
|
14
14
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
font-size:var(--light-label-s-font-size, 11px);
|
|
6
6
|
letter-spacing:var(--light-label-s-letter-spacing, 0px);
|
|
7
7
|
paragraph-spacing:var(--light-label-s-paragraph-spacing, 6.05px);
|
|
8
|
+
color:var(--sys-graphite-text-main, #222222);
|
|
8
9
|
overflow:hidden;
|
|
9
10
|
text-overflow:ellipsis;
|
|
10
11
|
white-space:nowrap;
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
display:inline-flex;
|
|
15
16
|
align-items:center;
|
|
16
17
|
height:24px;
|
|
17
|
-
background:var(--sys-
|
|
18
|
+
background:var(--sys-graphite-decor-default, #ececec);
|
|
18
19
|
padding:0 8px;
|
|
19
20
|
box-sizing:border-box;
|
|
20
21
|
max-width:100%;
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Tooltip } from '@snack-uikit/tooltip';
|
|
3
3
|
import styles from './styles.module.css';
|
|
4
4
|
export function Erid({ tip, className, appearance }) {
|
|
5
|
-
return (_jsx(Tooltip, { triggerClassName: className, tip: tip, children: _jsx("span", { "data-appearance": appearance, className: styles.root,
|
|
5
|
+
return (_jsx(Tooltip, { triggerClassName: className, tip: tip, placement: 'bottom-end', children: _jsx("span", { "data-appearance": appearance, className: styles.root,
|
|
6
6
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
|
7
7
|
tabIndex: 0, children: _jsx("span", { className: styles.label, children: "\u0420\u0435\u043A\u043B\u0430\u043C\u0430" }) }) }));
|
|
8
8
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
font-size:var(--light-label-s-font-size, 11px);
|
|
6
6
|
letter-spacing:var(--light-label-s-letter-spacing, 0px);
|
|
7
7
|
paragraph-spacing:var(--light-label-s-paragraph-spacing, 6.05px);
|
|
8
|
+
color:var(--sys-graphite-text-main, #222222);
|
|
8
9
|
overflow:hidden;
|
|
9
10
|
text-overflow:ellipsis;
|
|
10
11
|
white-space:nowrap;
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
display:inline-flex;
|
|
15
16
|
align-items:center;
|
|
16
17
|
height:24px;
|
|
17
|
-
background:var(--sys-
|
|
18
|
+
background:var(--sys-graphite-decor-default, #ececec);
|
|
18
19
|
padding:0 8px;
|
|
19
20
|
box-sizing:border-box;
|
|
20
21
|
max-width:100%;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-site-tag",
|
|
3
3
|
"title": "Site Tag",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"@snack-uikit/tooltip": "0.16.2",
|
|
42
42
|
"@snack-uikit/utils": "3.8.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "fdcf94a6757e590c66ace1a43667bb29ce748d64"
|
|
45
45
|
}
|
|
@@ -17,7 +17,7 @@ export type EridProps = {
|
|
|
17
17
|
|
|
18
18
|
export function Erid({ tip, className, appearance }: EridProps) {
|
|
19
19
|
return (
|
|
20
|
-
<Tooltip triggerClassName={className} tip={tip}>
|
|
20
|
+
<Tooltip triggerClassName={className} tip={tip} placement='bottom-end'>
|
|
21
21
|
<span
|
|
22
22
|
data-appearance={appearance}
|
|
23
23
|
className={styles.root}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
.label {
|
|
4
4
|
@include var.composite-var(var.$light-label-s);
|
|
5
5
|
|
|
6
|
+
color: var.$sys-graphite-text-main;
|
|
6
7
|
overflow: hidden;
|
|
7
8
|
text-overflow: ellipsis;
|
|
8
9
|
white-space: nowrap;
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
align-items: center;
|
|
15
16
|
height: 24px;
|
|
16
17
|
|
|
17
|
-
background: var.$sys-
|
|
18
|
+
background: var.$sys-graphite-decor-default;
|
|
18
19
|
padding: 0 8px;
|
|
19
20
|
|
|
20
21
|
box-sizing: border-box;
|