@fibery/ui-kit 1.9.0 → 1.9.2
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/package.json +5 -5
- package/src/designSystem.ts +0 -6
- package/src/emoji-mart.tsx +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"react-windowed-select": "5.0.0",
|
|
62
62
|
"screenfull": "6.0.1",
|
|
63
63
|
"ua-parser-js": "0.7.24",
|
|
64
|
-
"@fibery/helpers": "1.0.
|
|
65
|
-
"@fibery/react": "1.0.
|
|
64
|
+
"@fibery/helpers": "1.0.4",
|
|
65
|
+
"@fibery/react": "1.0.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^18.2.0",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"svgo": "2.8.0",
|
|
96
96
|
"typescript": "5.0.3",
|
|
97
97
|
"unist-util-reduce": "0.2.2",
|
|
98
|
-
"@fibery/
|
|
99
|
-
"@fibery/
|
|
98
|
+
"@fibery/eslint-config": "8.3.0",
|
|
99
|
+
"@fibery/babel-preset": "7.2.0"
|
|
100
100
|
},
|
|
101
101
|
"jest": {
|
|
102
102
|
"testEnvironment": "jsdom",
|
package/src/designSystem.ts
CHANGED
|
@@ -580,15 +580,9 @@ export const colors = {
|
|
|
580
580
|
brandColors,
|
|
581
581
|
stateColors,
|
|
582
582
|
textColor: "#2A3844",
|
|
583
|
-
disabledTextColor: shades.opacity40,
|
|
584
583
|
inversedTextColor: "#FFFFFF",
|
|
585
584
|
disabledInversedTextColor: lights.opacity25,
|
|
586
|
-
danger: brandColors.red,
|
|
587
|
-
cardSelected: "#FFFB8F",
|
|
588
|
-
cardSelectedHover: "rgba(240, 244, 247, 0.6)",
|
|
589
585
|
unitBg: "rgba(220, 224, 228, 0.33)",
|
|
590
|
-
infoBox: "rgba(255, 212, 0, 0.2)",
|
|
591
|
-
errorBg: "rgba(255, 241, 240, 1)",
|
|
592
586
|
transparent,
|
|
593
587
|
shades,
|
|
594
588
|
lights,
|
package/src/emoji-mart.tsx
CHANGED
|
@@ -76,6 +76,17 @@ const emojiMartCss = css`
|
|
|
76
76
|
.emoji-mart-preview-skins {
|
|
77
77
|
right: 15px;
|
|
78
78
|
}
|
|
79
|
+
|
|
80
|
+
.emoji-mart-emoji {
|
|
81
|
+
/* pathetic attemts to make it a bit faster without forking */
|
|
82
|
+
content-visibility: auto;
|
|
83
|
+
contain-intrinsic-size: 22px;
|
|
84
|
+
}
|
|
85
|
+
.emoji-mart-category-list,
|
|
86
|
+
.emoji-mart-category-list li {
|
|
87
|
+
/* hack to maintain correct size of hidden emojis becuase of content-visibility */
|
|
88
|
+
line-height: 0;
|
|
89
|
+
}
|
|
79
90
|
`;
|
|
80
91
|
|
|
81
92
|
const borderlessEmojiMartCss = css`
|