@fibery/ui-kit 1.9.0 → 1.9.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fibery/ui-kit",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "main": "index.ts",
5
5
  "private": false,
6
6
  "files": [
@@ -580,15 +580,12 @@ 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
585
  danger: brandColors.red,
587
586
  cardSelected: "#FFFB8F",
588
587
  cardSelectedHover: "rgba(240, 244, 247, 0.6)",
589
588
  unitBg: "rgba(220, 224, 228, 0.33)",
590
- infoBox: "rgba(255, 212, 0, 0.2)",
591
- errorBg: "rgba(255, 241, 240, 1)",
592
589
  transparent,
593
590
  shades,
594
591
  lights,
@@ -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`