@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.
- package/CHANGELOG.md +6 -0
- package/package.json +14 -8
- package/src/actions-menu/actions-menu-item.tsx +1 -0
- package/src/actions-menu/actions-menu.tsx +1 -3
- package/src/antd/ant-modal.tsx +156 -7
- 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 +90 -32
- package/src/antd/tabs.tsx +139 -27
- package/src/avatar.tsx +2 -56
- package/src/color-adjuster.ts +24 -1
- package/src/count-badge.tsx +10 -1
- package/src/date-picker/date-range-picker.tsx +6 -6
- package/src/date-picker/single-date-picker.tsx +2 -3
- package/src/date-picker/types.ts +1 -1
- package/src/date-picker/with-popup-control.tsx +3 -9
- 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 +1 -1
- 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/fibermoji-placeholder.tsx +2 -3
- package/src/icons/icon.tsx +11 -1
- package/src/icons/types.ts +1 -1
- package/src/layout-styles.ts +5 -1
- package/src/link-input/components/ant-text-area-with-custom-read-state.tsx +2 -1
- package/src/media-query-utils.ts +4 -13
- package/src/palettes/inspect.defs.colors.warm-arch.test.ts +137 -137
- package/src/palettes/inspect.defs.colors.warm-user.test.ts +137 -137
- package/src/palettes/warm.ts +2 -0
- package/src/root-theme-provider.test.tsx +1 -1
- package/src/select/index.tsx +3 -3
- package/src/select/select-in-popover.tsx +34 -51
- package/src/select/select.tsx +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} +52 -52
- package/src/{theming/theming-fibery.snapshot.ts → theming.generated.ts} +52 -52
- package/src/{themed-ink.tsx → type-label.tsx} +2 -5
- 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
|
@@ -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";
|