@fibery/ui-kit 3.0.0 → 4.0.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 (64) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +14 -8
  3. package/src/actions-menu/actions-menu-item.tsx +1 -0
  4. package/src/actions-menu/actions-menu.tsx +1 -3
  5. package/src/antd/ant-modal.tsx +156 -7
  6. package/src/antd/ant-upload.tsx +285 -27
  7. package/src/antd/auto-complete.tsx +145 -0
  8. package/src/antd/auto-width-transparent-textarea.tsx +9 -2
  9. package/src/antd/global-overrides.ts +352 -0
  10. package/src/antd/index.tsx +3 -2
  11. package/src/antd/input-number.tsx +97 -11
  12. package/src/antd/input.tsx +127 -8
  13. package/src/antd/styles.ts +90 -32
  14. package/src/antd/tabs.tsx +139 -27
  15. package/src/avatar.tsx +2 -56
  16. package/src/color-adjuster.ts +24 -1
  17. package/src/count-badge.tsx +10 -1
  18. package/src/date-picker/date-range-picker.tsx +6 -6
  19. package/src/date-picker/single-date-picker.tsx +2 -3
  20. package/src/date-picker/types.ts +1 -1
  21. package/src/date-picker/with-popup-control.tsx +3 -9
  22. package/src/design-system/colors-callout.warm-dark.test.ts +22 -22
  23. package/src/design-system/colors-callout.warm-light.test.ts +19 -19
  24. package/src/design-system/colors-css.ts +1 -1
  25. package/src/design-system/colors-enum.dark.warm.test.ts +63 -63
  26. package/src/design-system/colors-enum.light.warm.test.ts +54 -54
  27. package/src/design-system/colors-highlight.warm-dark.test.ts +21 -21
  28. package/src/design-system/colors-highlight.warm-light.test.ts +21 -21
  29. package/src/design-system/colors.ts +1 -1
  30. package/src/design-system/fns.badge.dark.warm.test.ts +34 -34
  31. package/src/design-system/fns.badge.light.warm.test.ts +31 -31
  32. package/src/design-system/fns.deneutralize.test.ts +44 -0
  33. package/src/design-system/fns.icon.dark.warm.test.ts +21 -21
  34. package/src/design-system/fns.icon.light.warm.test.ts +17 -17
  35. package/src/design-system/fns.icon.ts +21 -13
  36. package/src/design-system/fns.ts +27 -3
  37. package/src/design-system/typography.ts +1 -1
  38. package/src/design-system.ts +1 -1
  39. package/src/fibermoji-placeholder.tsx +2 -3
  40. package/src/icons/icon.tsx +11 -1
  41. package/src/icons/types.ts +1 -1
  42. package/src/layout-styles.ts +5 -1
  43. package/src/link-input/components/ant-text-area-with-custom-read-state.tsx +2 -1
  44. package/src/media-query-utils.ts +4 -13
  45. package/src/palettes/inspect.defs.colors.warm-arch.test.ts +137 -137
  46. package/src/palettes/inspect.defs.colors.warm-user.test.ts +137 -137
  47. package/src/palettes/warm.ts +2 -0
  48. package/src/root-theme-provider.test.tsx +1 -1
  49. package/src/select/index.tsx +3 -3
  50. package/src/select/select-in-popover.tsx +34 -51
  51. package/src/select/select.tsx +2 -2
  52. package/src/theme-provider.test.tsx +1 -1
  53. package/src/theme-provider.tsx +3 -9
  54. package/src/theme-snapshots.test.ts +9 -13
  55. package/src/{theming/build.ts → theming.build.ts} +6 -9
  56. package/src/{theming/theming-fibery.snapshot.css → theming.generated.css} +52 -52
  57. package/src/{theming/theming-fibery.snapshot.ts → theming.generated.ts} +52 -52
  58. package/src/{themed-ink.tsx → type-label.tsx} +2 -5
  59. package/src/antd/auto-complete.d.ts +0 -2
  60. package/src/antd/auto-complete.ts +0 -37
  61. package/src/antd/tabs.d.ts +0 -5
  62. package/src/theming/index.ts +0 -20
  63. package/src/theming/theming-vzdbery.snapshot.css +0 -2001
  64. package/src/theming/theming-vzdbery.snapshot.ts +0 -2519
@@ -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";