@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.
- package/CHANGELOG.md +18 -0
- package/esfint.config.mjs +0 -17
- package/package.json +18 -13
- package/scripts/generate-icons.mjs +45 -44
- package/src/actions-menu/actions-menu-item.tsx +2 -1
- package/src/actions-menu/actions-menu.tsx +1 -3
- package/src/actions-menu/context-actions-menu.tsx +1 -1
- package/src/animated-height-container.tsx +1 -1
- package/src/antd/ant-modal.tsx +158 -9
- package/src/antd/ant-upload.tsx +285 -27
- package/src/antd/auto-complete.tsx +145 -0
- package/src/antd/auto-width-transparent-textarea.tsx +9 -2
- package/src/antd/global-overrides.ts +352 -0
- package/src/antd/index.tsx +3 -2
- package/src/antd/input-number.tsx +97 -11
- package/src/antd/input.tsx +127 -8
- package/src/antd/styles.ts +92 -32
- package/src/antd/tabs.tsx +139 -27
- package/src/app-icon-with-fallback.tsx +3 -7
- package/src/app-icon-wrapper.tsx +1 -13
- package/src/avatar.tsx +2 -56
- package/src/breadcrumb.tsx +5 -1
- package/src/color-adjuster.ts +24 -1
- package/src/color-utils.test.ts +2 -2
- package/src/color-utils.ts +2 -2
- package/src/copy-to-clipboard.ts +14 -3
- package/src/count-badge.tsx +10 -1
- package/src/date-picker/contexts.ts +6 -3
- package/src/date-picker/date-range-picker.tsx +7 -8
- package/src/date-picker/single-date-picker.tsx +3 -5
- package/src/date-picker/types.ts +1 -1
- package/src/date-picker/with-popup-control.tsx +3 -9
- package/src/day-select/iso-week-day-select.tsx +2 -2
- package/src/design-system/colors-callout.warm-dark.test.ts +22 -22
- package/src/design-system/colors-callout.warm-light.test.ts +19 -19
- package/src/design-system/colors-css.ts +1 -1
- package/src/design-system/colors-enum.dark.warm.test.ts +63 -63
- package/src/design-system/colors-enum.light.warm.test.ts +54 -54
- package/src/design-system/colors-highlight.warm-dark.test.ts +21 -21
- package/src/design-system/colors-highlight.warm-light.test.ts +21 -21
- package/src/design-system/colors.ts +4 -4
- package/src/design-system/fns.badge.dark.warm.test.ts +34 -34
- package/src/design-system/fns.badge.light.warm.test.ts +31 -31
- package/src/design-system/fns.deneutralize.test.ts +44 -0
- package/src/design-system/fns.icon.dark.warm.test.ts +21 -21
- package/src/design-system/fns.icon.light.warm.test.ts +17 -17
- package/src/design-system/fns.icon.ts +21 -13
- package/src/design-system/fns.ts +27 -3
- package/src/design-system/typography.ts +1 -1
- package/src/design-system.ts +1 -1
- package/src/emoji-picker/icon-emoji-picker.tsx +3 -3
- package/src/fibermoji-placeholder.tsx +2 -3
- package/src/icons/ast/index.tsx +446 -446
- package/src/icons/icon.tsx +23 -1
- package/src/icons/icons-integrity.test.ts +145 -0
- package/src/icons/react/index.tsx +446 -446
- package/src/icons/types.ts +1 -1
- package/src/images-gallery/images-gallery.tsx +2 -2
- package/src/images-gallery/slide-buttons.tsx +2 -4
- package/src/layout-styles.ts +5 -1
- package/src/link-input/components/ant-text-area-with-custom-read-state.tsx +2 -1
- package/src/lists/actions-menu-row-surface.tsx +1 -1
- package/src/media-query-utils.ts +5 -14
- package/src/mobile-keyboard-aware-popup.tsx +1 -1
- package/src/number-input/decimal.ts +6 -9
- package/src/number-input/number-input-inline-with-autosize.tsx +1 -1
- package/src/online-users.tsx +4 -5
- package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +4 -4
- package/src/palettes/inspect.defs.colors.neutral-user.test.ts +4 -4
- package/src/palettes/inspect.defs.colors.warm-arch.test.ts +141 -141
- package/src/palettes/inspect.defs.colors.warm-user.test.ts +141 -141
- package/src/palettes/warm.ts +2 -0
- package/src/popover/index.tsx +4 -4
- package/src/popover/mobile-popover-context.tsx +1 -1
- package/src/popover/modifiers.tsx +1 -1
- package/src/rich-input-loader.tsx +1 -1
- package/src/root-theme-provider.test.tsx +1 -1
- package/src/select/components/menu-list-virtua.tsx +15 -16
- package/src/select/components/menu-list-virtualized.tsx +26 -29
- package/src/select/components/menu.tsx +3 -3
- package/src/select/index.tsx +4 -4
- package/src/select/reflection.ts +4 -5
- package/src/select/select-in-popover.tsx +34 -51
- package/src/select/select.tsx +5 -5
- package/src/select/styles.ts +1 -7
- package/src/select/util.ts +2 -2
- package/src/theme-provider.test.tsx +1 -1
- package/src/theme-provider.tsx +3 -9
- package/src/theme-snapshots.test.ts +9 -13
- package/src/{theming/build.ts → theming.build.ts} +6 -9
- package/src/{theming/theming-fibery.snapshot.css → theming.generated.css} +60 -60
- package/src/{theming/theming-fibery.snapshot.ts → theming.generated.ts} +60 -60
- package/src/type-badge.tsx +1 -2
- package/src/{themed-ink.tsx → type-label.tsx} +2 -5
- package/src/use-on-screen-keyboard-data.tsx +1 -1
- package/src/with-data.tsx +1 -1
- package/src/antd/auto-complete.d.ts +0 -2
- package/src/antd/auto-complete.ts +0 -37
- package/src/antd/tabs.d.ts +0 -5
- package/src/theming/index.ts +0 -20
- package/src/theming/theming-vzdbery.snapshot.css +0 -2001
- 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: #
|
|
164
|
-
--fibery-color-colorBgListItemGeneralSelectedHover: #
|
|
165
|
-
--fibery-color-colorBgListItemGeneralSelectedFocus: #
|
|
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: #
|
|
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(
|
|
1020
|
-
--fibery-color-highlightFgYellow: rgb(
|
|
1021
|
-
--fibery-color-highlightFgOnBgYellow: rgb(
|
|
1022
|
-
--fibery-color-highlightBgGreen: rgb(218,
|
|
1023
|
-
--fibery-color-highlightFgGreen: rgb(
|
|
1024
|
-
--fibery-color-highlightFgOnBgGreen: rgb(
|
|
1025
|
-
--fibery-color-highlightBgAquamarine: rgb(
|
|
1026
|
-
--fibery-color-highlightFgAquamarine: rgb(
|
|
1027
|
-
--fibery-color-highlightFgOnBgAquamarine: rgb(
|
|
1028
|
-
--fibery-color-highlightBgAqua: rgb(
|
|
1029
|
-
--fibery-color-highlightFgAqua: rgb(
|
|
1030
|
-
--fibery-color-highlightFgOnBgAqua: rgb(
|
|
1031
|
-
--fibery-color-highlightBgBlue: rgb(
|
|
1032
|
-
--fibery-color-highlightFgBlue: rgb(
|
|
1033
|
-
--fibery-color-highlightFgOnBgBlue: rgb(
|
|
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(
|
|
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(
|
|
1040
|
+
--fibery-color-highlightBgRed: rgb(254, 230, 227);
|
|
1041
1041
|
--fibery-color-highlightFgRed: rgb(227, 70, 74);
|
|
1042
|
-
--fibery-color-highlightFgOnBgRed: rgb(
|
|
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(
|
|
1164
|
-
--fibery-color-colorBgListItemGeneralSelectedHover: rgb(
|
|
1165
|
-
--fibery-color-colorBgListItemGeneralSelectedFocus: rgb(
|
|
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(
|
|
1223
|
-
--fibery-color-privateIconColor: rgb(
|
|
1224
|
-
--fibery-color-privateIconBg: rgba(
|
|
1225
|
-
--fibery-color-favoritesIconColor: rgb(
|
|
1226
|
-
--fibery-color-favoritesIconBg: rgba(
|
|
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(
|
|
1519
|
-
--fibery-color-highlightFgYellow: rgb(
|
|
1520
|
-
--fibery-color-highlightFgOnBgYellow: rgb(
|
|
1521
|
-
--fibery-color-highlightBgGreen: rgb(
|
|
1522
|
-
--fibery-color-highlightFgGreen: rgb(
|
|
1523
|
-
--fibery-color-highlightFgOnBgGreen: rgb(
|
|
1524
|
-
--fibery-color-highlightBgAquamarine: rgb(
|
|
1525
|
-
--fibery-color-highlightFgAquamarine: rgb(
|
|
1526
|
-
--fibery-color-highlightFgOnBgAquamarine: rgb(
|
|
1527
|
-
--fibery-color-highlightBgAqua: rgb(
|
|
1528
|
-
--fibery-color-highlightFgAqua: rgb(
|
|
1529
|
-
--fibery-color-highlightFgOnBgAqua: rgb(
|
|
1530
|
-
--fibery-color-highlightBgBlue: rgb(
|
|
1531
|
-
--fibery-color-highlightFgBlue: rgb(
|
|
1532
|
-
--fibery-color-highlightFgOnBgBlue: rgb(
|
|
1533
|
-
--fibery-color-highlightBgPurple: rgb(
|
|
1534
|
-
--fibery-color-highlightFgPurple: rgb(
|
|
1535
|
-
--fibery-color-highlightFgOnBgPurple: rgb(224,
|
|
1536
|
-
--fibery-color-highlightBgPink: rgb(
|
|
1537
|
-
--fibery-color-highlightFgPink: rgb(
|
|
1538
|
-
--fibery-color-highlightFgOnBgPink: rgb(
|
|
1539
|
-
--fibery-color-highlightBgRed: rgb(
|
|
1540
|
-
--fibery-color-highlightFgRed: rgb(
|
|
1541
|
-
--fibery-color-highlightFgOnBgRed: rgb(
|
|
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(
|
|
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(
|
|
1722
|
-
--fibery-color-privateIconColor: rgb(
|
|
1723
|
-
--fibery-color-privateIconBg: rgba(
|
|
1724
|
-
--fibery-color-favoritesIconColor: rgb(
|
|
1725
|
-
--fibery-color-favoritesIconBg: rgba(
|
|
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": "#
|
|
673
|
-
"--fibery-color-colorBgListItemGeneralSelectedHover": "#
|
|
674
|
-
"--fibery-color-colorBgListItemGeneralSelectedFocus": "#
|
|
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": "#
|
|
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(
|
|
1533
|
-
"--fibery-color-highlightFgYellow": "rgb(
|
|
1534
|
-
"--fibery-color-highlightFgOnBgYellow": "rgb(
|
|
1535
|
-
"--fibery-color-highlightBgGreen": "rgb(218,
|
|
1536
|
-
"--fibery-color-highlightFgGreen": "rgb(
|
|
1537
|
-
"--fibery-color-highlightFgOnBgGreen": "rgb(
|
|
1538
|
-
"--fibery-color-highlightBgAquamarine": "rgb(
|
|
1539
|
-
"--fibery-color-highlightFgAquamarine": "rgb(
|
|
1540
|
-
"--fibery-color-highlightFgOnBgAquamarine": "rgb(
|
|
1541
|
-
"--fibery-color-highlightBgAqua": "rgb(
|
|
1542
|
-
"--fibery-color-highlightFgAqua": "rgb(
|
|
1543
|
-
"--fibery-color-highlightFgOnBgAqua": "rgb(
|
|
1544
|
-
"--fibery-color-highlightBgBlue": "rgb(
|
|
1545
|
-
"--fibery-color-highlightFgBlue": "rgb(
|
|
1546
|
-
"--fibery-color-highlightFgOnBgBlue": "rgb(
|
|
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(
|
|
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(
|
|
1553
|
+
"--fibery-color-highlightBgRed": "rgb(254, 230, 227)",
|
|
1554
1554
|
"--fibery-color-highlightFgRed": "rgb(227, 70, 74)",
|
|
1555
|
-
"--fibery-color-highlightFgOnBgRed": "rgb(
|
|
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(
|
|
1678
|
-
"--fibery-color-colorBgListItemGeneralSelectedHover": "rgb(
|
|
1679
|
-
"--fibery-color-colorBgListItemGeneralSelectedFocus": "rgb(
|
|
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(
|
|
1741
|
-
"--fibery-color-privateIconColor": "rgb(
|
|
1742
|
-
"--fibery-color-privateIconBg": "rgba(
|
|
1743
|
-
"--fibery-color-favoritesIconColor": "rgb(
|
|
1744
|
-
"--fibery-color-favoritesIconBg": "rgba(
|
|
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(
|
|
2037
|
-
"--fibery-color-highlightFgYellow": "rgb(
|
|
2038
|
-
"--fibery-color-highlightFgOnBgYellow": "rgb(
|
|
2039
|
-
"--fibery-color-highlightBgGreen": "rgb(
|
|
2040
|
-
"--fibery-color-highlightFgGreen": "rgb(
|
|
2041
|
-
"--fibery-color-highlightFgOnBgGreen": "rgb(
|
|
2042
|
-
"--fibery-color-highlightBgAquamarine": "rgb(
|
|
2043
|
-
"--fibery-color-highlightFgAquamarine": "rgb(
|
|
2044
|
-
"--fibery-color-highlightFgOnBgAquamarine": "rgb(
|
|
2045
|
-
"--fibery-color-highlightBgAqua": "rgb(
|
|
2046
|
-
"--fibery-color-highlightFgAqua": "rgb(
|
|
2047
|
-
"--fibery-color-highlightFgOnBgAqua": "rgb(
|
|
2048
|
-
"--fibery-color-highlightBgBlue": "rgb(
|
|
2049
|
-
"--fibery-color-highlightFgBlue": "rgb(
|
|
2050
|
-
"--fibery-color-highlightFgOnBgBlue": "rgb(
|
|
2051
|
-
"--fibery-color-highlightBgPurple": "rgb(
|
|
2052
|
-
"--fibery-color-highlightFgPurple": "rgb(
|
|
2053
|
-
"--fibery-color-highlightFgOnBgPurple": "rgb(224,
|
|
2054
|
-
"--fibery-color-highlightBgPink": "rgb(
|
|
2055
|
-
"--fibery-color-highlightFgPink": "rgb(
|
|
2056
|
-
"--fibery-color-highlightFgOnBgPink": "rgb(
|
|
2057
|
-
"--fibery-color-highlightBgRed": "rgb(
|
|
2058
|
-
"--fibery-color-highlightFgRed": "rgb(
|
|
2059
|
-
"--fibery-color-highlightFgOnBgRed": "rgb(
|
|
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(
|
|
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(
|
|
2240
|
-
"--fibery-color-privateIconColor": "rgb(
|
|
2241
|
-
"--fibery-color-privateIconBg": "rgba(
|
|
2242
|
-
"--fibery-color-favoritesIconColor": "rgb(
|
|
2243
|
-
"--fibery-color-favoritesIconBg": "rgba(
|
|
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)",
|
package/src/type-badge.tsx
CHANGED
|
@@ -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
|
-
|
|
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
|
|
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:
|
|
22
|
-
...(bg && {backgroundColor: dn(bg)}),
|
|
19
|
+
...(fg && {color: theme.fns.typeLabelFg(fg)}),
|
|
23
20
|
}}
|
|
24
21
|
{...rest}
|
|
25
22
|
/>
|
package/src/with-data.tsx
CHANGED
|
@@ -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>);
|
package/src/antd/tabs.d.ts
DELETED
package/src/theming/index.ts
DELETED
|
@@ -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";
|