@fibery/ui-kit 3.0.0 → 4.1.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.
Files changed (102) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/esfint.config.mjs +0 -17
  3. package/package.json +18 -13
  4. package/scripts/generate-icons.mjs +45 -44
  5. package/src/actions-menu/actions-menu-item.tsx +2 -1
  6. package/src/actions-menu/actions-menu.tsx +1 -3
  7. package/src/actions-menu/context-actions-menu.tsx +1 -1
  8. package/src/animated-height-container.tsx +1 -1
  9. package/src/antd/ant-modal.tsx +158 -9
  10. package/src/antd/ant-upload.tsx +285 -27
  11. package/src/antd/auto-complete.tsx +145 -0
  12. package/src/antd/auto-width-transparent-textarea.tsx +9 -2
  13. package/src/antd/global-overrides.ts +352 -0
  14. package/src/antd/index.tsx +3 -2
  15. package/src/antd/input-number.tsx +97 -11
  16. package/src/antd/input.tsx +127 -8
  17. package/src/antd/styles.ts +92 -32
  18. package/src/antd/tabs.tsx +139 -27
  19. package/src/app-icon-with-fallback.tsx +3 -7
  20. package/src/app-icon-wrapper.tsx +1 -13
  21. package/src/avatar.tsx +2 -56
  22. package/src/breadcrumb.tsx +5 -1
  23. package/src/color-adjuster.ts +24 -1
  24. package/src/color-utils.test.ts +2 -2
  25. package/src/color-utils.ts +2 -2
  26. package/src/copy-to-clipboard.ts +14 -3
  27. package/src/count-badge.tsx +10 -1
  28. package/src/date-picker/contexts.ts +6 -3
  29. package/src/date-picker/date-range-picker.tsx +7 -8
  30. package/src/date-picker/single-date-picker.tsx +3 -5
  31. package/src/date-picker/types.ts +1 -1
  32. package/src/date-picker/with-popup-control.tsx +3 -9
  33. package/src/day-select/iso-week-day-select.tsx +2 -2
  34. package/src/design-system/colors-callout.warm-dark.test.ts +22 -22
  35. package/src/design-system/colors-callout.warm-light.test.ts +19 -19
  36. package/src/design-system/colors-css.ts +1 -1
  37. package/src/design-system/colors-enum.dark.warm.test.ts +63 -63
  38. package/src/design-system/colors-enum.light.warm.test.ts +54 -54
  39. package/src/design-system/colors-highlight.warm-dark.test.ts +21 -21
  40. package/src/design-system/colors-highlight.warm-light.test.ts +21 -21
  41. package/src/design-system/colors.ts +4 -4
  42. package/src/design-system/fns.badge.dark.warm.test.ts +34 -34
  43. package/src/design-system/fns.badge.light.warm.test.ts +31 -31
  44. package/src/design-system/fns.deneutralize.test.ts +44 -0
  45. package/src/design-system/fns.icon.dark.warm.test.ts +21 -21
  46. package/src/design-system/fns.icon.light.warm.test.ts +17 -17
  47. package/src/design-system/fns.icon.ts +21 -13
  48. package/src/design-system/fns.ts +27 -3
  49. package/src/design-system/typography.ts +1 -1
  50. package/src/design-system.ts +1 -1
  51. package/src/emoji-picker/icon-emoji-picker.tsx +3 -3
  52. package/src/fibermoji-placeholder.tsx +2 -3
  53. package/src/icons/ast/index.tsx +446 -446
  54. package/src/icons/icon.tsx +23 -1
  55. package/src/icons/icons-integrity.test.ts +145 -0
  56. package/src/icons/react/index.tsx +446 -446
  57. package/src/icons/types.ts +1 -1
  58. package/src/images-gallery/images-gallery.tsx +2 -2
  59. package/src/images-gallery/slide-buttons.tsx +2 -4
  60. package/src/layout-styles.ts +5 -1
  61. package/src/link-input/components/ant-text-area-with-custom-read-state.tsx +2 -1
  62. package/src/lists/actions-menu-row-surface.tsx +1 -1
  63. package/src/media-query-utils.ts +5 -14
  64. package/src/mobile-keyboard-aware-popup.tsx +1 -1
  65. package/src/number-input/decimal.ts +6 -9
  66. package/src/number-input/number-input-inline-with-autosize.tsx +1 -1
  67. package/src/online-users.tsx +4 -5
  68. package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +4 -4
  69. package/src/palettes/inspect.defs.colors.neutral-user.test.ts +4 -4
  70. package/src/palettes/inspect.defs.colors.warm-arch.test.ts +141 -141
  71. package/src/palettes/inspect.defs.colors.warm-user.test.ts +141 -141
  72. package/src/palettes/warm.ts +2 -0
  73. package/src/popover/index.tsx +4 -4
  74. package/src/popover/mobile-popover-context.tsx +1 -1
  75. package/src/popover/modifiers.tsx +1 -1
  76. package/src/rich-input-loader.tsx +1 -1
  77. package/src/root-theme-provider.test.tsx +1 -1
  78. package/src/select/components/menu-list-virtua.tsx +15 -16
  79. package/src/select/components/menu-list-virtualized.tsx +26 -29
  80. package/src/select/components/menu.tsx +3 -3
  81. package/src/select/index.tsx +4 -4
  82. package/src/select/reflection.ts +4 -5
  83. package/src/select/select-in-popover.tsx +34 -51
  84. package/src/select/select.tsx +5 -5
  85. package/src/select/styles.ts +1 -7
  86. package/src/select/util.ts +2 -2
  87. package/src/theme-provider.test.tsx +1 -1
  88. package/src/theme-provider.tsx +3 -9
  89. package/src/theme-snapshots.test.ts +9 -13
  90. package/src/{theming/build.ts → theming.build.ts} +6 -9
  91. package/src/{theming/theming-fibery.snapshot.css → theming.generated.css} +60 -60
  92. package/src/{theming/theming-fibery.snapshot.ts → theming.generated.ts} +60 -60
  93. package/src/type-badge.tsx +1 -2
  94. package/src/{themed-ink.tsx → type-label.tsx} +2 -5
  95. package/src/use-on-screen-keyboard-data.tsx +1 -1
  96. package/src/with-data.tsx +1 -1
  97. package/src/antd/auto-complete.d.ts +0 -2
  98. package/src/antd/auto-complete.ts +0 -37
  99. package/src/antd/tabs.d.ts +0 -5
  100. package/src/theming/index.ts +0 -20
  101. package/src/theming/theming-vzdbery.snapshot.css +0 -2001
  102. package/src/theming/theming-vzdbery.snapshot.ts +0 -2519
@@ -160,9 +160,9 @@
160
160
  --fibery-color-colorBgListItemGeneral: rgba(255, 255, 255, 0);
161
161
  --fibery-color-colorBgListItemGeneralHover: rgb(245, 245, 245);
162
162
  --fibery-color-colorBgListItemGeneralFocus: rgb(237, 237, 237);
163
- --fibery-color-colorBgListItemGeneralSelected: #f1f5fe;
164
- --fibery-color-colorBgListItemGeneralSelectedHover: #e8effd;
165
- --fibery-color-colorBgListItemGeneralSelectedFocus: #e8effd;
163
+ --fibery-color-colorBgListItemGeneralSelected: #dbe5fa;
164
+ --fibery-color-colorBgListItemGeneralSelectedHover: #cad9f6;
165
+ --fibery-color-colorBgListItemGeneralSelectedFocus: #cad9f6;
166
166
  --fibery-color-colorBgListItemGeneralDisabled: rgba(255, 255, 255, 0);
167
167
  --fibery-color-colorTextListItemGeneralDisabled: rgb(158, 158, 158);
168
168
  --fibery-color-colorBgListItemGeneralSelectedDisabled: #dbe5fa;
@@ -661,7 +661,7 @@
661
661
  --fibery-color-colorBgListItemGeneral: rgba(255, 255, 255, 0);
662
662
  --fibery-color-colorBgListItemGeneralHover: rgb(41, 41, 41);
663
663
  --fibery-color-colorBgListItemGeneralFocus: rgb(51, 51, 51);
664
- --fibery-color-colorBgListItemGeneralSelected: #1c2b4f;
664
+ --fibery-color-colorBgListItemGeneralSelected: #223259;
665
665
  --fibery-color-colorBgListItemGeneralSelectedHover: #293b66;
666
666
  --fibery-color-colorBgListItemGeneralSelectedFocus: #293b66;
667
667
  --fibery-color-colorBgListItemGeneralDisabled: rgba(255, 255, 255, 0);
@@ -1016,30 +1016,30 @@
1016
1016
  --fibery-color-shadowPopup:
1017
1017
  0 0 2px 0 rgba(99, 94, 87, 0.3), 0 4px 6px 0 rgba(99, 94, 87, 0.05), 0 10px 26px 0 rgba(99, 94, 87, 0.15);
1018
1018
  --fibery-color-shadowSidebar: -3px 0 10px 0 rgba(125, 119, 112, 0.1);
1019
- --fibery-color-highlightBgYellow: rgb(253, 234, 192);
1020
- --fibery-color-highlightFgYellow: rgb(155, 129, 49);
1021
- --fibery-color-highlightFgOnBgYellow: rgb(126, 104, 40);
1022
- --fibery-color-highlightBgGreen: rgb(218, 244, 203);
1023
- --fibery-color-highlightFgGreen: rgb(94, 142, 43);
1024
- --fibery-color-highlightFgOnBgGreen: rgb(78, 118, 36);
1025
- --fibery-color-highlightBgAquamarine: rgb(198, 246, 220);
1026
- --fibery-color-highlightFgAquamarine: rgb(66, 144, 100);
1027
- --fibery-color-highlightFgOnBgAquamarine: rgb(54, 118, 82);
1028
- --fibery-color-highlightBgAqua: rgb(188, 247, 236);
1029
- --fibery-color-highlightFgAqua: rgb(61, 143, 123);
1030
- --fibery-color-highlightFgOnBgAqua: rgb(50, 118, 102);
1031
- --fibery-color-highlightBgBlue: rgb(224, 237, 254);
1032
- --fibery-color-highlightFgBlue: rgb(79, 129, 210);
1033
- --fibery-color-highlightFgOnBgBlue: rgb(65, 106, 172);
1019
+ --fibery-color-highlightBgYellow: rgb(254, 234, 191);
1020
+ --fibery-color-highlightFgYellow: rgb(156, 125, 38);
1021
+ --fibery-color-highlightFgOnBgYellow: rgb(130, 104, 30);
1022
+ --fibery-color-highlightBgGreen: rgb(218, 245, 202);
1023
+ --fibery-color-highlightFgGreen: rgb(93, 143, 39);
1024
+ --fibery-color-highlightFgOnBgGreen: rgb(76, 119, 31);
1025
+ --fibery-color-highlightBgAquamarine: rgb(196, 247, 221);
1026
+ --fibery-color-highlightFgAquamarine: rgb(55, 145, 100);
1027
+ --fibery-color-highlightFgOnBgAquamarine: rgb(43, 120, 82);
1028
+ --fibery-color-highlightBgAqua: rgb(186, 248, 238);
1029
+ --fibery-color-highlightFgAqua: rgb(46, 144, 127);
1030
+ --fibery-color-highlightFgOnBgAqua: rgb(36, 119, 105);
1031
+ --fibery-color-highlightBgBlue: rgb(223, 237, 255);
1032
+ --fibery-color-highlightFgBlue: rgb(76, 129, 213);
1033
+ --fibery-color-highlightFgOnBgBlue: rgb(60, 107, 177);
1034
1034
  --fibery-color-highlightBgPurple: rgb(244, 231, 255);
1035
1035
  --fibery-color-highlightFgPurple: rgb(176, 89, 226);
1036
1036
  --fibery-color-highlightFgOnBgPurple: rgb(151, 63, 199);
1037
- --fibery-color-highlightBgPink: rgb(254, 229, 242);
1037
+ --fibery-color-highlightBgPink: rgb(255, 229, 242);
1038
1038
  --fibery-color-highlightFgPink: rgb(212, 73, 166);
1039
1039
  --fibery-color-highlightFgOnBgPink: rgb(178, 56, 139);
1040
- --fibery-color-highlightBgRed: rgb(252, 231, 229);
1040
+ --fibery-color-highlightBgRed: rgb(254, 230, 227);
1041
1041
  --fibery-color-highlightFgRed: rgb(227, 70, 74);
1042
- --fibery-color-highlightFgOnBgRed: rgb(193, 51, 56);
1042
+ --fibery-color-highlightFgOnBgRed: rgb(191, 50, 55);
1043
1043
  --fibery-color-highlightBgGrey: rgb(236, 235, 235);
1044
1044
  --fibery-color-highlightFgGrey: rgb(135, 128, 128);
1045
1045
  --fibery-color-highlightFgOnBgGrey: rgb(111, 105, 104);
@@ -1160,9 +1160,9 @@
1160
1160
  --fibery-color-colorBgListItemGeneral: rgba(255, 255, 255, 0);
1161
1161
  --fibery-color-colorBgListItemGeneralHover: rgb(250, 244, 236);
1162
1162
  --fibery-color-colorBgListItemGeneralFocus: rgb(243, 236, 229);
1163
- --fibery-color-colorBgListItemGeneralSelected: rgb(238, 247, 249);
1164
- --fibery-color-colorBgListItemGeneralSelectedHover: rgb(228, 241, 246);
1165
- --fibery-color-colorBgListItemGeneralSelectedFocus: rgb(228, 241, 246);
1163
+ --fibery-color-colorBgListItemGeneralSelected: rgb(213, 233, 240);
1164
+ --fibery-color-colorBgListItemGeneralSelectedHover: rgb(194, 222, 232);
1165
+ --fibery-color-colorBgListItemGeneralSelectedFocus: rgb(194, 222, 232);
1166
1166
  --fibery-color-colorBgListItemGeneralDisabled: rgba(255, 255, 255, 0);
1167
1167
  --fibery-color-colorTextListItemGeneralDisabled: rgb(163, 157, 150);
1168
1168
  --fibery-color-colorBgListItemGeneralSelectedDisabled: rgb(213, 233, 240);
@@ -1219,11 +1219,11 @@
1219
1219
  --fibery-color-allowedDropColor: rgb(243, 236, 229);
1220
1220
  --fibery-color-relationViewBgColor: rgb(253, 246, 239);
1221
1221
  --fibery-color-mySpaceIconColor: rgb(129, 133, 137);
1222
- --fibery-color-mySpaceIconBg: rgba(122, 133, 148, 0.2);
1223
- --fibery-color-privateIconColor: rgb(120, 166, 105);
1224
- --fibery-color-privateIconBg: rgba(120, 166, 105, 0.2);
1225
- --fibery-color-favoritesIconColor: rgb(232, 171, 73);
1226
- --fibery-color-favoritesIconBg: rgba(232, 171, 73, 0.2);
1222
+ --fibery-color-mySpaceIconBg: rgba(112, 132, 153, 0.2);
1223
+ --fibery-color-privateIconColor: rgb(116, 168, 101);
1224
+ --fibery-color-privateIconBg: rgba(116, 168, 101, 0.2);
1225
+ --fibery-color-favoritesIconColor: rgb(235, 169, 68);
1226
+ --fibery-color-favoritesIconBg: rgba(235, 169, 68, 0.2);
1227
1227
  --fibery-color-swatchDefault: #1fbed3;
1228
1228
  --fibery-color-unitBg: rgb(250, 244, 236);
1229
1229
  --fibery-color-unitBgHover: rgb(243, 236, 229);
@@ -1515,30 +1515,30 @@
1515
1515
  --fibery-color-shadowPopup:
1516
1516
  0 0 0 1px rgb(55, 50, 48), 0 4px 6px 0 rgba(26, 22, 20, 0.05), 0 10px 26px 0 rgba(26, 22, 20, 0.15);
1517
1517
  --fibery-color-shadowSidebar: -3px 0 10px 0 rgba(26, 22, 20, 0.8);
1518
- --fibery-color-highlightBgYellow: rgb(77, 66, 35);
1519
- --fibery-color-highlightFgYellow: rgb(211, 185, 113);
1520
- --fibery-color-highlightFgOnBgYellow: rgb(231, 202, 125);
1521
- --fibery-color-highlightBgGreen: rgb(56, 70, 44);
1522
- --fibery-color-highlightFgGreen: rgb(163, 198, 135);
1523
- --fibery-color-highlightFgOnBgGreen: rgb(178, 214, 149);
1524
- --fibery-color-highlightBgAquamarine: rgb(42, 72, 54);
1525
- --fibery-color-highlightFgAquamarine: rgb(133, 202, 160);
1526
- --fibery-color-highlightFgOnBgAquamarine: rgb(145, 220, 175);
1527
- --fibery-color-highlightBgAqua: rgb(33, 72, 63);
1528
- --fibery-color-highlightFgAqua: rgb(111, 204, 180);
1529
- --fibery-color-highlightFgOnBgAqua: rgb(120, 221, 197);
1530
- --fibery-color-highlightBgBlue: rgb(53, 66, 85);
1531
- --fibery-color-highlightFgBlue: rgb(160, 189, 235);
1532
- --fibery-color-highlightFgOnBgBlue: rgb(182, 205, 239);
1533
- --fibery-color-highlightBgPurple: rgb(74, 60, 85);
1534
- --fibery-color-highlightFgPurple: rgb(210, 175, 234);
1535
- --fibery-color-highlightFgOnBgPurple: rgb(224, 191, 247);
1536
- --fibery-color-highlightBgPink: rgb(83, 58, 72);
1537
- --fibery-color-highlightFgPink: rgb(231, 170, 205);
1538
- --fibery-color-highlightFgOnBgPink: rgb(244, 187, 220);
1539
- --fibery-color-highlightBgRed: rgb(87, 58, 56);
1540
- --fibery-color-highlightFgRed: rgb(231, 174, 169);
1541
- --fibery-color-highlightFgOnBgRed: rgb(238, 193, 189);
1518
+ --fibery-color-highlightBgYellow: rgb(78, 64, 26);
1519
+ --fibery-color-highlightFgYellow: rgb(215, 184, 106);
1520
+ --fibery-color-highlightFgOnBgYellow: rgb(232, 200, 119);
1521
+ --fibery-color-highlightBgGreen: rgb(53, 71, 39);
1522
+ --fibery-color-highlightFgGreen: rgb(160, 199, 130);
1523
+ --fibery-color-highlightFgOnBgGreen: rgb(175, 216, 146);
1524
+ --fibery-color-highlightBgAquamarine: rgb(41, 80, 60);
1525
+ --fibery-color-highlightFgAquamarine: rgb(124, 205, 160);
1526
+ --fibery-color-highlightFgOnBgAquamarine: rgb(140, 225, 180);
1527
+ --fibery-color-highlightBgAqua: rgb(18, 73, 64);
1528
+ --fibery-color-highlightFgAqua: rgb(98, 205, 183);
1529
+ --fibery-color-highlightFgOnBgAqua: rgb(112, 222, 200);
1530
+ --fibery-color-highlightBgBlue: rgb(47, 66, 94);
1531
+ --fibery-color-highlightFgBlue: rgb(152, 189, 243);
1532
+ --fibery-color-highlightFgOnBgBlue: rgb(175, 206, 248);
1533
+ --fibery-color-highlightBgPurple: rgb(77, 58, 89);
1534
+ --fibery-color-highlightFgPurple: rgb(211, 172, 239);
1535
+ --fibery-color-highlightFgOnBgPurple: rgb(224, 190, 250);
1536
+ --fibery-color-highlightBgPink: rgb(88, 55, 75);
1537
+ --fibery-color-highlightFgPink: rgb(237, 167, 207);
1538
+ --fibery-color-highlightFgOnBgPink: rgb(249, 184, 221);
1539
+ --fibery-color-highlightBgRed: rgb(93, 55, 53);
1540
+ --fibery-color-highlightFgRed: rgb(240, 170, 164);
1541
+ --fibery-color-highlightFgOnBgRed: rgb(246, 190, 185);
1542
1542
  --fibery-color-highlightBgGrey: rgb(70, 64, 64);
1543
1543
  --fibery-color-highlightFgGrey: rgb(193, 186, 186);
1544
1544
  --fibery-color-highlightFgOnBgGrey: rgb(208, 202, 202);
@@ -1659,7 +1659,7 @@
1659
1659
  --fibery-color-colorBgListItemGeneral: rgba(255, 255, 255, 0);
1660
1660
  --fibery-color-colorBgListItemGeneralHover: rgb(45, 40, 38);
1661
1661
  --fibery-color-colorBgListItemGeneralFocus: rgb(55, 50, 48);
1662
- --fibery-color-colorBgListItemGeneralSelected: rgb(1, 51, 63);
1662
+ --fibery-color-colorBgListItemGeneralSelected: rgb(4, 58, 72);
1663
1663
  --fibery-color-colorBgListItemGeneralSelectedHover: rgb(7, 68, 83);
1664
1664
  --fibery-color-colorBgListItemGeneralSelectedFocus: rgb(7, 68, 83);
1665
1665
  --fibery-color-colorBgListItemGeneralDisabled: rgba(255, 255, 255, 0);
@@ -1718,11 +1718,11 @@
1718
1718
  --fibery-color-allowedDropColor: rgb(45, 40, 38);
1719
1719
  --fibery-color-relationViewBgColor: rgb(39, 35, 33);
1720
1720
  --fibery-color-mySpaceIconColor: rgb(129, 133, 137);
1721
- --fibery-color-mySpaceIconBg: rgba(122, 133, 148, 0.2);
1722
- --fibery-color-privateIconColor: rgb(120, 166, 105);
1723
- --fibery-color-privateIconBg: rgba(120, 166, 105, 0.2);
1724
- --fibery-color-favoritesIconColor: rgb(232, 171, 73);
1725
- --fibery-color-favoritesIconBg: rgba(232, 171, 73, 0.2);
1721
+ --fibery-color-mySpaceIconBg: rgba(112, 132, 153, 0.2);
1722
+ --fibery-color-privateIconColor: rgb(116, 168, 101);
1723
+ --fibery-color-privateIconBg: rgba(116, 168, 101, 0.2);
1724
+ --fibery-color-favoritesIconColor: rgb(235, 169, 68);
1725
+ --fibery-color-favoritesIconBg: rgba(235, 169, 68, 0.2);
1726
1726
  --fibery-color-swatchDefault: #1fbed3;
1727
1727
  --fibery-color-unitBg: rgb(55, 50, 48);
1728
1728
  --fibery-color-unitBgHover: rgb(65, 60, 58);
@@ -669,9 +669,9 @@ export const neutralStyles = {
669
669
  "--fibery-color-colorBgListItemGeneral": "rgba(255, 255, 255, 0)",
670
670
  "--fibery-color-colorBgListItemGeneralHover": "rgb(245,245,245)",
671
671
  "--fibery-color-colorBgListItemGeneralFocus": "rgb(237,237,237)",
672
- "--fibery-color-colorBgListItemGeneralSelected": "#f1f5fe",
673
- "--fibery-color-colorBgListItemGeneralSelectedHover": "#e8effd",
674
- "--fibery-color-colorBgListItemGeneralSelectedFocus": "#e8effd",
672
+ "--fibery-color-colorBgListItemGeneralSelected": "#dbe5fa",
673
+ "--fibery-color-colorBgListItemGeneralSelectedHover": "#cad9f6",
674
+ "--fibery-color-colorBgListItemGeneralSelectedFocus": "#cad9f6",
675
675
  "--fibery-color-colorBgListItemGeneralDisabled": "rgba(255, 255, 255, 0)",
676
676
  "--fibery-color-colorTextListItemGeneralDisabled": "rgb(158,158,158)",
677
677
  "--fibery-color-colorBgListItemGeneralSelectedDisabled": "#dbe5fa",
@@ -1172,7 +1172,7 @@ export const neutralStyles = {
1172
1172
  "--fibery-color-colorBgListItemGeneral": "rgba(255, 255, 255, 0)",
1173
1173
  "--fibery-color-colorBgListItemGeneralHover": "rgb(41,41,41)",
1174
1174
  "--fibery-color-colorBgListItemGeneralFocus": "rgb(51,51,51)",
1175
- "--fibery-color-colorBgListItemGeneralSelected": "#1c2b4f",
1175
+ "--fibery-color-colorBgListItemGeneralSelected": "#223259",
1176
1176
  "--fibery-color-colorBgListItemGeneralSelectedHover": "#293b66",
1177
1177
  "--fibery-color-colorBgListItemGeneralSelectedFocus": "#293b66",
1178
1178
  "--fibery-color-colorBgListItemGeneralDisabled": "rgba(255, 255, 255, 0)",
@@ -1529,30 +1529,30 @@ export const warmStyles = {
1529
1529
  "--fibery-color-shadowPopup":
1530
1530
  "0 0 2px 0 rgba(99, 94, 87, 0.3), 0 4px 6px 0 rgba(99, 94, 87, 0.05), 0 10px 26px 0 rgba(99, 94, 87, 0.15)",
1531
1531
  "--fibery-color-shadowSidebar": "-3px 0 10px 0 rgba(125, 119, 112, 0.1)",
1532
- "--fibery-color-highlightBgYellow": "rgb(253, 234, 192)",
1533
- "--fibery-color-highlightFgYellow": "rgb(155, 129, 49)",
1534
- "--fibery-color-highlightFgOnBgYellow": "rgb(126, 104, 40)",
1535
- "--fibery-color-highlightBgGreen": "rgb(218, 244, 203)",
1536
- "--fibery-color-highlightFgGreen": "rgb(94, 142, 43)",
1537
- "--fibery-color-highlightFgOnBgGreen": "rgb(78, 118, 36)",
1538
- "--fibery-color-highlightBgAquamarine": "rgb(198, 246, 220)",
1539
- "--fibery-color-highlightFgAquamarine": "rgb(66, 144, 100)",
1540
- "--fibery-color-highlightFgOnBgAquamarine": "rgb(54, 118, 82)",
1541
- "--fibery-color-highlightBgAqua": "rgb(188, 247, 236)",
1542
- "--fibery-color-highlightFgAqua": "rgb(61, 143, 123)",
1543
- "--fibery-color-highlightFgOnBgAqua": "rgb(50, 118, 102)",
1544
- "--fibery-color-highlightBgBlue": "rgb(224, 237, 254)",
1545
- "--fibery-color-highlightFgBlue": "rgb(79, 129, 210)",
1546
- "--fibery-color-highlightFgOnBgBlue": "rgb(65, 106, 172)",
1532
+ "--fibery-color-highlightBgYellow": "rgb(254, 234, 191)",
1533
+ "--fibery-color-highlightFgYellow": "rgb(156, 125, 38)",
1534
+ "--fibery-color-highlightFgOnBgYellow": "rgb(130, 104, 30)",
1535
+ "--fibery-color-highlightBgGreen": "rgb(218, 245, 202)",
1536
+ "--fibery-color-highlightFgGreen": "rgb(93, 143, 39)",
1537
+ "--fibery-color-highlightFgOnBgGreen": "rgb(76, 119, 31)",
1538
+ "--fibery-color-highlightBgAquamarine": "rgb(196, 247, 221)",
1539
+ "--fibery-color-highlightFgAquamarine": "rgb(55, 145, 100)",
1540
+ "--fibery-color-highlightFgOnBgAquamarine": "rgb(43, 120, 82)",
1541
+ "--fibery-color-highlightBgAqua": "rgb(186, 248, 238)",
1542
+ "--fibery-color-highlightFgAqua": "rgb(46, 144, 127)",
1543
+ "--fibery-color-highlightFgOnBgAqua": "rgb(36, 119, 105)",
1544
+ "--fibery-color-highlightBgBlue": "rgb(223, 237, 255)",
1545
+ "--fibery-color-highlightFgBlue": "rgb(76, 129, 213)",
1546
+ "--fibery-color-highlightFgOnBgBlue": "rgb(60, 107, 177)",
1547
1547
  "--fibery-color-highlightBgPurple": "rgb(244, 231, 255)",
1548
1548
  "--fibery-color-highlightFgPurple": "rgb(176, 89, 226)",
1549
1549
  "--fibery-color-highlightFgOnBgPurple": "rgb(151, 63, 199)",
1550
- "--fibery-color-highlightBgPink": "rgb(254, 229, 242)",
1550
+ "--fibery-color-highlightBgPink": "rgb(255, 229, 242)",
1551
1551
  "--fibery-color-highlightFgPink": "rgb(212, 73, 166)",
1552
1552
  "--fibery-color-highlightFgOnBgPink": "rgb(178, 56, 139)",
1553
- "--fibery-color-highlightBgRed": "rgb(252, 231, 229)",
1553
+ "--fibery-color-highlightBgRed": "rgb(254, 230, 227)",
1554
1554
  "--fibery-color-highlightFgRed": "rgb(227, 70, 74)",
1555
- "--fibery-color-highlightFgOnBgRed": "rgb(193, 51, 56)",
1555
+ "--fibery-color-highlightFgOnBgRed": "rgb(191, 50, 55)",
1556
1556
  "--fibery-color-highlightBgGrey": "rgb(236, 235, 235)",
1557
1557
  "--fibery-color-highlightFgGrey": "rgb(135, 128, 128)",
1558
1558
  "--fibery-color-highlightFgOnBgGrey": "rgb(111, 105, 104)",
@@ -1674,9 +1674,9 @@ export const warmStyles = {
1674
1674
  "--fibery-color-colorBgListItemGeneral": "rgba(255, 255, 255, 0)",
1675
1675
  "--fibery-color-colorBgListItemGeneralHover": "rgb(250,244,236)",
1676
1676
  "--fibery-color-colorBgListItemGeneralFocus": "rgb(243,236,229)",
1677
- "--fibery-color-colorBgListItemGeneralSelected": "rgb(238,247,249)",
1678
- "--fibery-color-colorBgListItemGeneralSelectedHover": "rgb(228,241,246)",
1679
- "--fibery-color-colorBgListItemGeneralSelectedFocus": "rgb(228,241,246)",
1677
+ "--fibery-color-colorBgListItemGeneralSelected": "rgb(213,233,240)",
1678
+ "--fibery-color-colorBgListItemGeneralSelectedHover": "rgb(194,222,232)",
1679
+ "--fibery-color-colorBgListItemGeneralSelectedFocus": "rgb(194,222,232)",
1680
1680
  "--fibery-color-colorBgListItemGeneralDisabled": "rgba(255, 255, 255, 0)",
1681
1681
  "--fibery-color-colorTextListItemGeneralDisabled": "rgb(163,157,150)",
1682
1682
  "--fibery-color-colorBgListItemGeneralSelectedDisabled": "rgb(213,233,240)",
@@ -1737,11 +1737,11 @@ export const warmStyles = {
1737
1737
  "--fibery-color-allowedDropColor": "rgb(243,236,229)",
1738
1738
  "--fibery-color-relationViewBgColor": "rgb(253,246,239)",
1739
1739
  "--fibery-color-mySpaceIconColor": "rgb(129, 133, 137)",
1740
- "--fibery-color-mySpaceIconBg": "rgba(122, 133, 148, 0.2)",
1741
- "--fibery-color-privateIconColor": "rgb(120, 166, 105)",
1742
- "--fibery-color-privateIconBg": "rgba(120, 166, 105, 0.2)",
1743
- "--fibery-color-favoritesIconColor": "rgb(232, 171, 73)",
1744
- "--fibery-color-favoritesIconBg": "rgba(232, 171, 73, 0.2)",
1740
+ "--fibery-color-mySpaceIconBg": "rgba(112, 132, 153, 0.2)",
1741
+ "--fibery-color-privateIconColor": "rgb(116, 168, 101)",
1742
+ "--fibery-color-privateIconBg": "rgba(116, 168, 101, 0.2)",
1743
+ "--fibery-color-favoritesIconColor": "rgb(235, 169, 68)",
1744
+ "--fibery-color-favoritesIconBg": "rgba(235, 169, 68, 0.2)",
1745
1745
  "--fibery-color-swatchDefault": "#1FBED3",
1746
1746
  "--fibery-color-unitBg": "rgb(250,244,236)",
1747
1747
  "--fibery-color-unitBgHover": "rgb(243,236,229)",
@@ -2033,30 +2033,30 @@ export const warmStyles = {
2033
2033
  "--fibery-color-shadowPopup":
2034
2034
  "0 0 0 1px rgb(55,50,48), 0 4px 6px 0 rgba(26, 22, 20, 0.05), 0 10px 26px 0 rgba(26, 22, 20, 0.15)",
2035
2035
  "--fibery-color-shadowSidebar": "-3px 0 10px 0 rgba(26, 22, 20, 0.8)",
2036
- "--fibery-color-highlightBgYellow": "rgb(77, 66, 35)",
2037
- "--fibery-color-highlightFgYellow": "rgb(211, 185, 113)",
2038
- "--fibery-color-highlightFgOnBgYellow": "rgb(231, 202, 125)",
2039
- "--fibery-color-highlightBgGreen": "rgb(56, 70, 44)",
2040
- "--fibery-color-highlightFgGreen": "rgb(163, 198, 135)",
2041
- "--fibery-color-highlightFgOnBgGreen": "rgb(178, 214, 149)",
2042
- "--fibery-color-highlightBgAquamarine": "rgb(42, 72, 54)",
2043
- "--fibery-color-highlightFgAquamarine": "rgb(133, 202, 160)",
2044
- "--fibery-color-highlightFgOnBgAquamarine": "rgb(145, 220, 175)",
2045
- "--fibery-color-highlightBgAqua": "rgb(33, 72, 63)",
2046
- "--fibery-color-highlightFgAqua": "rgb(111, 204, 180)",
2047
- "--fibery-color-highlightFgOnBgAqua": "rgb(120, 221, 197)",
2048
- "--fibery-color-highlightBgBlue": "rgb(53, 66, 85)",
2049
- "--fibery-color-highlightFgBlue": "rgb(160, 189, 235)",
2050
- "--fibery-color-highlightFgOnBgBlue": "rgb(182, 205, 239)",
2051
- "--fibery-color-highlightBgPurple": "rgb(74, 60, 85)",
2052
- "--fibery-color-highlightFgPurple": "rgb(210, 175, 234)",
2053
- "--fibery-color-highlightFgOnBgPurple": "rgb(224, 191, 247)",
2054
- "--fibery-color-highlightBgPink": "rgb(83, 58, 72)",
2055
- "--fibery-color-highlightFgPink": "rgb(231, 170, 205)",
2056
- "--fibery-color-highlightFgOnBgPink": "rgb(244, 187, 220)",
2057
- "--fibery-color-highlightBgRed": "rgb(87, 58, 56)",
2058
- "--fibery-color-highlightFgRed": "rgb(231, 174, 169)",
2059
- "--fibery-color-highlightFgOnBgRed": "rgb(238, 193, 189)",
2036
+ "--fibery-color-highlightBgYellow": "rgb(78, 64, 26)",
2037
+ "--fibery-color-highlightFgYellow": "rgb(215, 184, 106)",
2038
+ "--fibery-color-highlightFgOnBgYellow": "rgb(232, 200, 119)",
2039
+ "--fibery-color-highlightBgGreen": "rgb(53, 71, 39)",
2040
+ "--fibery-color-highlightFgGreen": "rgb(160, 199, 130)",
2041
+ "--fibery-color-highlightFgOnBgGreen": "rgb(175, 216, 146)",
2042
+ "--fibery-color-highlightBgAquamarine": "rgb(41, 80, 60)",
2043
+ "--fibery-color-highlightFgAquamarine": "rgb(124, 205, 160)",
2044
+ "--fibery-color-highlightFgOnBgAquamarine": "rgb(140, 225, 180)",
2045
+ "--fibery-color-highlightBgAqua": "rgb(18, 73, 64)",
2046
+ "--fibery-color-highlightFgAqua": "rgb(98, 205, 183)",
2047
+ "--fibery-color-highlightFgOnBgAqua": "rgb(112, 222, 200)",
2048
+ "--fibery-color-highlightBgBlue": "rgb(47, 66, 94)",
2049
+ "--fibery-color-highlightFgBlue": "rgb(152, 189, 243)",
2050
+ "--fibery-color-highlightFgOnBgBlue": "rgb(175, 206, 248)",
2051
+ "--fibery-color-highlightBgPurple": "rgb(77, 58, 89)",
2052
+ "--fibery-color-highlightFgPurple": "rgb(211, 172, 239)",
2053
+ "--fibery-color-highlightFgOnBgPurple": "rgb(224, 190, 250)",
2054
+ "--fibery-color-highlightBgPink": "rgb(88, 55, 75)",
2055
+ "--fibery-color-highlightFgPink": "rgb(237, 167, 207)",
2056
+ "--fibery-color-highlightFgOnBgPink": "rgb(249, 184, 221)",
2057
+ "--fibery-color-highlightBgRed": "rgb(93, 55, 53)",
2058
+ "--fibery-color-highlightFgRed": "rgb(240, 170, 164)",
2059
+ "--fibery-color-highlightFgOnBgRed": "rgb(246, 190, 185)",
2060
2060
  "--fibery-color-highlightBgGrey": "rgb(70, 64, 64)",
2061
2061
  "--fibery-color-highlightFgGrey": "rgb(193, 186, 186)",
2062
2062
  "--fibery-color-highlightFgOnBgGrey": "rgb(208, 202, 202)",
@@ -2177,7 +2177,7 @@ export const warmStyles = {
2177
2177
  "--fibery-color-colorBgListItemGeneral": "rgba(255, 255, 255, 0)",
2178
2178
  "--fibery-color-colorBgListItemGeneralHover": "rgb(45,40,38)",
2179
2179
  "--fibery-color-colorBgListItemGeneralFocus": "rgb(55,50,48)",
2180
- "--fibery-color-colorBgListItemGeneralSelected": "rgb(1,51,63)",
2180
+ "--fibery-color-colorBgListItemGeneralSelected": "rgb(4,58,72)",
2181
2181
  "--fibery-color-colorBgListItemGeneralSelectedHover": "rgb(7,68,83)",
2182
2182
  "--fibery-color-colorBgListItemGeneralSelectedFocus": "rgb(7,68,83)",
2183
2183
  "--fibery-color-colorBgListItemGeneralDisabled": "rgba(255, 255, 255, 0)",
@@ -2236,11 +2236,11 @@ export const warmStyles = {
2236
2236
  "--fibery-color-allowedDropColor": "rgb(45,40,38)",
2237
2237
  "--fibery-color-relationViewBgColor": "rgb(39,35,33)",
2238
2238
  "--fibery-color-mySpaceIconColor": "rgb(129, 133, 137)",
2239
- "--fibery-color-mySpaceIconBg": "rgba(122, 133, 148, 0.2)",
2240
- "--fibery-color-privateIconColor": "rgb(120, 166, 105)",
2241
- "--fibery-color-privateIconBg": "rgba(120, 166, 105, 0.2)",
2242
- "--fibery-color-favoritesIconColor": "rgb(232, 171, 73)",
2243
- "--fibery-color-favoritesIconBg": "rgba(232, 171, 73, 0.2)",
2239
+ "--fibery-color-mySpaceIconBg": "rgba(112, 132, 153, 0.2)",
2240
+ "--fibery-color-privateIconColor": "rgb(116, 168, 101)",
2241
+ "--fibery-color-privateIconBg": "rgba(116, 168, 101, 0.2)",
2242
+ "--fibery-color-favoritesIconColor": "rgb(235, 169, 68)",
2243
+ "--fibery-color-favoritesIconBg": "rgba(235, 169, 68, 0.2)",
2244
2244
  "--fibery-color-swatchDefault": "#1FBED3",
2245
2245
  "--fibery-color-unitBg": "rgb(55,50,48)",
2246
2246
  "--fibery-color-unitBgHover": "rgb(65,60,58)",
@@ -1,6 +1,5 @@
1
1
  import {css} from "@linaria/core";
2
2
  import cx from "classnames";
3
- import isString from "lodash/isString";
4
3
  import type {CSSProperties, ReactNode} from "react";
5
4
  import {forwardRef, memo} from "react";
6
5
 
@@ -162,7 +161,7 @@ export const TypeBadge = memo(
162
161
  ) {
163
162
  const TagName = onClick ? "button" : "div";
164
163
  const title =
165
- isString(children) && abbr ? (
164
+ typeof children === "string" && abbr ? (
166
165
  noTooltip ? (
167
166
  makeAbbreviation(children)
168
167
  ) : (
@@ -5,21 +5,18 @@ import {useTheme} from "./theme-provider";
5
5
  type ThemedInkProps = {
6
6
  as?: "span" | "div";
7
7
  fg?: string;
8
- bg?: string;
9
8
  style?: CSSProperties;
10
9
  className?: string;
11
10
  children?: ReactNode;
12
11
  };
13
12
 
14
- export const ThemedInk = ({as: Tag = "span", fg, bg, style, ...rest}: ThemedInkProps) => {
13
+ export const TypeLabel = ({as: Tag = "span", fg, style, ...rest}: ThemedInkProps) => {
15
14
  const theme = useTheme();
16
- const dn = theme.fns.deneutralize;
17
15
  return (
18
16
  <Tag
19
17
  style={{
20
18
  ...style,
21
- ...(fg && {color: dn(fg)}),
22
- ...(bg && {backgroundColor: dn(bg)}),
19
+ ...(fg && {color: theme.fns.typeLabelFg(fg)}),
23
20
  }}
24
21
  {...rest}
25
22
  />
@@ -1,5 +1,5 @@
1
+ import {noop} from "@fibery/helpers/src/_";
1
2
  import {createContext} from "@fibery/react/src/create-context";
2
- import noop from "lodash/noop";
3
3
  import type {ReactNode} from "react";
4
4
  import {useEffect, useState} from "react";
5
5
 
package/src/with-data.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import {mapValues} from "@fibery/helpers/src/_";
2
- import noop from "lodash/noop";
2
+ import {noop} from "@fibery/helpers/src/_";
3
3
  import type {ComponentType} from "react";
4
4
  import {PureComponent} from "react";
5
5
 
@@ -1,2 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2
- export const AntAutoComplete: FunctionComponent<any>;
@@ -1,37 +0,0 @@
1
- import {css} from "@linaria/core";
2
- import AutoComplete from "antd/lib/auto-complete";
3
-
4
- import {border, layout, space, textStyles, themeVars} from "../design-system";
5
-
6
- import "antd/lib/auto-complete/style/css";
7
-
8
- import {getWrapper} from "./get-wrapper";
9
- import {wrapWithPopupContainer} from "./utils";
10
-
11
- const autoCompleteStyles = css`
12
- ${{
13
- "& .ant-select-selection": {
14
- backgroundColor: themeVars.transparent,
15
- },
16
- "& .ant-select-dropdown": {
17
- boxShadow: themeVars.actionMenuShadow,
18
- borderRadius: border.radius4,
19
- },
20
- "& .ant-select-dropdown-menu-item": {
21
- ...textStyles.regular,
22
- height: layout.inputHeight,
23
- display: "flex",
24
- alignItems: "center",
25
- paddingLeft: space.s12,
26
- paddingRight: space.s24,
27
- transition: "none",
28
- "&.ant-select-dropdown-menu-item-active, &:hover": {
29
- backgroundColor: themeVars.actionMenuHover,
30
- },
31
- "&.ant-select-dropdown-menu-item-selected": {
32
- backgroundColor: themeVars.actionMenuHover,
33
- },
34
- },
35
- }}
36
- `;
37
- export const AntAutoComplete = wrapWithPopupContainer(getWrapper(autoCompleteStyles), AutoComplete<string>);
@@ -1,5 +0,0 @@
1
- import type {TabsProps} from "antd/lib/tabs";
2
- import type {FunctionComponent} from "react";
3
-
4
- export const AntTabs: FunctionComponent<TabsProps & {wrapClassName?: string}>;
5
- export const tabsStyles: string;
@@ -1,20 +0,0 @@
1
- // Theming entry point. Default re-export targets the fibery prefix snapshot;
2
- // downstream consumers with a different prefix (vizydrop → vzdbery) patch the
3
- // source path below via pnpm.patchedDependencies + dependenciesMeta.injected=true.
4
- // Do NOT import theming-*.snapshot directly anywhere else — the lint rule in
5
- // .oxlintrc.json forbids it.
6
- //
7
- // Named re-exports (not `export *`) so wyw-in-js's OXC static evaluator can
8
- // trace bindings through this hop. Under eval.strategy: "static" wildcard
9
- // re-exports leave identifiers as unresolved _exp placeholders in css`` blocks.
10
- export {
11
- prefix,
12
- themeVars,
13
- layoutVars,
14
- neutralStyles,
15
- warmStyles,
16
- menuItemHeightVar,
17
- sidebarMenuItemHeightVar,
18
- sidebarMenuIconSizeVar,
19
- listRowSurfaceFontSizeVar,
20
- } from "./theming-fibery.snapshot";