@vaneui/ui 0.2.1-alpha.20250904211915.5efd1b4 → 0.2.2-alpha.20250907183237.5f63365
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/dist/index.esm.js +271 -396
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +271 -395
- package/dist/index.js.map +1 -1
- package/dist/playground/src/App.d.ts +2 -0
- package/dist/playground/src/index.d.ts +2 -0
- package/dist/{components → src/components}/tests/utils/propOmissionTestUtils.d.ts +4 -9
- package/dist/src/components/tests/visual-decoration.test.d.ts +1 -0
- package/dist/{components → src/components}/themedComponent.d.ts +4 -2
- package/dist/src/components/ui/badge.d.ts +2 -0
- package/dist/src/components/ui/button.d.ts +2 -0
- package/dist/src/components/ui/card.d.ts +2 -0
- package/dist/{components → src/components}/ui/checkbox.d.ts +3 -4
- package/dist/src/components/ui/chip.d.ts +2 -0
- package/dist/src/components/ui/classes/radiusClasses.d.ts +3 -0
- package/dist/{components → src/components}/ui/code.d.ts +3 -4
- package/dist/src/components/ui/col.d.ts +2 -0
- package/dist/src/components/ui/container.d.ts +2 -0
- package/dist/{components → src/components}/ui/divider.d.ts +3 -4
- package/dist/src/components/ui/grid.d.ts +4 -0
- package/dist/{components → src/components}/ui/img.d.ts +3 -4
- package/dist/{components → src/components}/ui/label.d.ts +3 -4
- package/dist/{components → src/components}/ui/props/keys.d.ts +6 -5
- package/dist/src/components/ui/row.d.ts +2 -0
- package/dist/src/components/ui/section.d.ts +2 -0
- package/dist/src/components/ui/stack.d.ts +2 -0
- package/dist/src/components/ui/theme/appearance/appearanceTheme.d.ts +20 -0
- package/dist/{components → src/components}/ui/theme/appearance/genericVariantTheme.d.ts +4 -6
- package/dist/src/components/ui/theme/appearance/shadowAppearanceTheme.d.ts +21 -0
- package/dist/{components → src/components}/ui/theme/layout/borderTheme.d.ts +4 -4
- package/dist/{components → src/components}/ui/theme/layout/directionTheme.d.ts +5 -4
- package/dist/src/components/ui/theme/layout/displayTheme.d.ts +17 -0
- package/dist/{components → src/components}/ui/theme/layout/hideTheme.d.ts +6 -4
- package/dist/src/components/ui/theme/layout/itemsTheme.d.ts +11 -0
- package/dist/src/components/ui/theme/layout/justifyTheme.d.ts +14 -0
- package/dist/src/components/ui/theme/layout/overflowTheme.d.ts +21 -0
- package/dist/{components → src/components}/ui/theme/layout/positionTheme.d.ts +6 -4
- package/dist/{components → src/components}/ui/theme/layout/radiusTheme.d.ts +1 -6
- package/dist/{components → src/components}/ui/theme/layout/ringTheme.d.ts +4 -4
- package/dist/{components → src/components}/ui/theme/layout/wrapTheme.d.ts +4 -4
- package/dist/{components → src/components}/ui/theme/list/listStyleTheme.d.ts +3 -4
- package/dist/{components → src/components}/ui/theme/size/breakpointTheme.d.ts +6 -4
- package/dist/{components → src/components}/ui/theme/size/gapTheme.d.ts +6 -3
- package/dist/{components → src/components}/ui/theme/size/paddingTheme.d.ts +6 -3
- package/dist/{components → src/components}/ui/theme/size/plTheme.d.ts +0 -2
- package/dist/{components → src/components}/ui/theme/size/pxTheme.d.ts +0 -2
- package/dist/{components → src/components}/ui/theme/size/pyTheme.d.ts +0 -2
- package/dist/{components → src/components}/ui/theme/size/sizeTheme.d.ts +6 -3
- package/dist/src/components/ui/theme/typography/fontFamilyTheme.d.ts +8 -0
- package/dist/{components → src/components}/ui/theme/typography/fontStyleTheme.d.ts +3 -4
- package/dist/src/components/ui/theme/typography/fontWeightTheme.d.ts +15 -0
- package/dist/{components → src/components}/ui/theme/typography/textAlignTheme.d.ts +5 -4
- package/dist/src/components/ui/theme/typography/textDecorationTheme.d.ts +10 -0
- package/dist/src/components/ui/theme/typography/textTransformTheme.d.ts +10 -0
- package/dist/{components → src/components}/ui/theme/typographyTheme.d.ts +1 -1
- package/dist/{components → src/components}/ui/typography.d.ts +9 -10
- package/dist/{components → src/components}/utils/componentUtils.d.ts +1 -1
- package/package.json +9 -2
- package/dist/components/examples/ref-usage-examples.d.ts +0 -29
- package/dist/components/examples/theme-types-strictness-compile-check.d.ts +0 -5
- package/dist/components/ui/badge.d.ts +0 -3
- package/dist/components/ui/button.d.ts +0 -3
- package/dist/components/ui/card.d.ts +0 -3
- package/dist/components/ui/chip.d.ts +0 -3
- package/dist/components/ui/classes/radiusClasses.d.ts +0 -5
- package/dist/components/ui/col.d.ts +0 -3
- package/dist/components/ui/container.d.ts +0 -3
- package/dist/components/ui/grid.d.ts +0 -5
- package/dist/components/ui/row.d.ts +0 -3
- package/dist/components/ui/section.d.ts +0 -3
- package/dist/components/ui/stack.d.ts +0 -3
- package/dist/components/ui/theme/appearance/appearanceTheme.d.ts +0 -11
- package/dist/components/ui/theme/appearance/shadowAppearanceTheme.d.ts +0 -13
- package/dist/components/ui/theme/layout/displayTheme.d.ts +0 -9
- package/dist/components/ui/theme/layout/itemsTheme.d.ts +0 -9
- package/dist/components/ui/theme/layout/justifyTheme.d.ts +0 -9
- package/dist/components/ui/theme/layout/overflowTheme.d.ts +0 -9
- package/dist/components/ui/theme/typography/fontFamilyTheme.d.ts +0 -8
- package/dist/components/ui/theme/typography/fontWeightTheme.d.ts +0 -9
- package/dist/components/ui/theme/typography/textDecorationTheme.d.ts +0 -9
- package/dist/components/ui/theme/typography/textTransformTheme.d.ts +0 -9
- /package/dist/{components → src/components}/complex/sharer.d.ts +0 -0
- /package/dist/{components → src/components}/tests/badge.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/button.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/card.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/checkbox.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/chip.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/code.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/col.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/componentThemeCoverage.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/container.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/deepMerge.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/divider.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/extra-classes.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/grid.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/grid2.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/img.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/label.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/link.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/linkable.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/list.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/nested-theme-providers-simple.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/nested-theme-providers.test.d.ts +0 -0
- /package/dist/{components/tests/prop-filtering.test.d.ts → src/components/tests/pickFirstTruthyKeyByCategory.test.d.ts} +0 -0
- /package/dist/{components/tests/prop-types-validation.test.d.ts → src/components/tests/prop-filtering.test.d.ts} +0 -0
- /package/dist/{components → src/components}/tests/prop-omission-edge-cases.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/prop-omission.test.d.ts +0 -0
- /package/dist/{components/tests/theme-collections.test.d.ts → src/components/tests/prop-types-validation.test.d.ts} +0 -0
- /package/dist/{components → src/components}/tests/ref-support-comprehensive.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/ref-support.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/row.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/section.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/stack.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/text.test.d.ts +0 -0
- /package/dist/{components/tests/visual-decoration.test.d.ts → src/components/tests/theme-collections.test.d.ts} +0 -0
- /package/dist/{components → src/components}/tests/theme-override.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/theme-types-strictness.test.d.ts +0 -0
- /package/dist/{components → src/components}/tests/title.test.d.ts +0 -0
- /package/dist/{components → src/components}/themeContext.d.ts +0 -0
- /package/dist/{components → src/components}/ui/classes/appearanceClasses.d.ts +0 -0
- /package/dist/{components → src/components}/ui/classes/typographyClasses.d.ts +0 -0
- /package/dist/{components → src/components}/ui/layout.d.ts +0 -0
- /package/dist/{components → src/components}/ui/props/index.d.ts +0 -0
- /package/dist/{components → src/components}/ui/props/props.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/badgeTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/buttonTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/cardTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/checkboxTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/chipTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/codeTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/colTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/common/ComponentTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/common/baseTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/containerTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/defaults.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/dividerTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/gridTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/imgTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/labelTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/rowTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/sectionTheme.d.ts +0 -0
- /package/dist/{components → src/components}/ui/theme/stackTheme.d.ts +0 -0
- /package/dist/{components → src/components}/utils/deepMerge.d.ts +0 -0
- /package/dist/{components → src/components}/utils/deepPartial.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{setupTests.d.ts → src/setupTests.d.ts} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { TextAlignKey } from "../../props";
|
|
2
2
|
import { BaseTheme } from "../common/baseTheme";
|
|
3
3
|
import type { CategoryProps } from "../../props";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export declare class TextAlignTheme extends BaseTheme implements Record<TextAlignKey, string> {
|
|
5
|
+
textLeft: string;
|
|
6
|
+
textCenter: string;
|
|
7
|
+
textRight: string;
|
|
8
|
+
textJustify: string;
|
|
8
9
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TextDecorationKey } from "../../props";
|
|
2
|
+
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
+
import type { CategoryProps } from "../../props";
|
|
4
|
+
export declare class TextDecorationTheme extends BaseTheme implements Record<TextDecorationKey, string> {
|
|
5
|
+
underline: string;
|
|
6
|
+
lineThrough: string;
|
|
7
|
+
noUnderline: string;
|
|
8
|
+
overline: string;
|
|
9
|
+
getClasses(extractedKeys: CategoryProps): string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TextTransformKey } from "../../props";
|
|
2
|
+
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
+
import type { CategoryProps } from "../../props";
|
|
4
|
+
export declare class TextTransformTheme extends BaseTheme implements Record<TextTransformKey, string> {
|
|
5
|
+
uppercase: string;
|
|
6
|
+
lowercase: string;
|
|
7
|
+
capitalize: string;
|
|
8
|
+
normalCase: string;
|
|
9
|
+
getClasses(extractedKeys: CategoryProps): string[];
|
|
10
|
+
}
|
|
@@ -16,7 +16,7 @@ export interface TypographyTheme extends BaseTypographyComponentTheme {
|
|
|
16
16
|
};
|
|
17
17
|
layout: DefaultLayoutThemes;
|
|
18
18
|
}
|
|
19
|
-
export declare const createTypographyComponentTheme: (tag: React.
|
|
19
|
+
export declare const createTypographyComponentTheme: (tag: React.ElementType, base?: string, textSizeMap?: Record<SizeKey, string>, defaults?: Partial<TypographyProps>) => ComponentTheme<TypographyProps, TypographyTheme>;
|
|
20
20
|
export declare const pageTitleTheme: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
21
21
|
export declare const sectionTitleTheme: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
22
22
|
export declare const titleTheme: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TypographyProps } from './props';
|
|
3
|
-
export declare const PageTitle:
|
|
4
|
-
export declare const SectionTitle:
|
|
5
|
-
export declare const Title:
|
|
6
|
-
export declare const Text:
|
|
7
|
-
export declare const Link:
|
|
8
|
-
export declare const ListItem:
|
|
9
|
-
export declare const List:
|
|
2
|
+
export declare const PageTitle: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
3
|
+
export declare const SectionTitle: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
4
|
+
export declare const Title: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
5
|
+
export declare const Text: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
export declare const Link: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
export declare const ListItem: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
8
|
+
export declare const List: import("react").ForwardRefExoticComponent<{
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
|
-
} &
|
|
11
|
+
} & import("react").HTMLAttributes<HTMLElement> & {
|
|
13
12
|
link?: boolean | undefined;
|
|
14
13
|
table?: boolean | undefined;
|
|
15
14
|
hidden?: boolean | undefined;
|
|
@@ -109,4 +108,4 @@ export declare const List: React.ForwardRefExoticComponent<{
|
|
|
109
108
|
outline?: boolean | undefined;
|
|
110
109
|
} & {
|
|
111
110
|
tag?: React.ElementType;
|
|
112
|
-
} &
|
|
111
|
+
} & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -4,4 +4,4 @@ import { ComponentKeys, ComponentCategoryKey } from '../ui/props';
|
|
|
4
4
|
* This function looks up the keys array internally using the category name.
|
|
5
5
|
* Returns the specific key type for the given category.
|
|
6
6
|
*/
|
|
7
|
-
export declare function pickFirstTruthyKeyByCategory<T extends ComponentCategoryKey>(props: Record<string,
|
|
7
|
+
export declare function pickFirstTruthyKeyByCategory<T extends ComponentCategoryKey>(props: Record<string, unknown>, defaults: Record<string, unknown>, category: T): typeof ComponentKeys[T][number] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaneui/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2-alpha.20250907183237.5f63365",
|
|
4
4
|
"description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"clean": "rimraf dist",
|
|
46
46
|
"type-check": "tsc --noEmit",
|
|
47
|
-
"
|
|
47
|
+
"lint": "eslint src playground --ext .ts,.tsx",
|
|
48
|
+
"build:js": "npm run type-check && npm run lint && npm run clean && rollup -c --bundleConfigAsCjs",
|
|
48
49
|
"build:css:vars": "npx @tailwindcss/cli -i src/components/css/vars.css -o ./dist/vars.css",
|
|
49
50
|
"build:css:ui": "npx @tailwindcss/cli -i src/components/index.css -o ./dist/ui.css",
|
|
50
51
|
"build": "npm run clean && npm run build:js && npm run build:css:ui && npm run build:css:vars",
|
|
@@ -56,17 +57,22 @@
|
|
|
56
57
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
60
|
+
"@eslint/js": "^9.34.0",
|
|
59
61
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
60
62
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
61
63
|
"@tailwindcss/cli": "^4.0.14",
|
|
62
64
|
"@testing-library/jest-dom": "^6.6.3",
|
|
63
65
|
"@testing-library/react": "^16.3.0",
|
|
64
66
|
"@testing-library/user-event": "^14.6.1",
|
|
67
|
+
"@types/eslint__js": "^8.42.3",
|
|
65
68
|
"@types/jest": "^29.5.14",
|
|
66
69
|
"@types/react": "^19.1.0",
|
|
67
70
|
"@types/react-dom": "^19.1.0",
|
|
68
71
|
"@vitejs/plugin-react": "^4.7.0",
|
|
69
72
|
"concurrently": "^8.2.2",
|
|
73
|
+
"eslint": "^9.34.0",
|
|
74
|
+
"eslint-plugin-import": "^2.32.0",
|
|
75
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
70
76
|
"jest": "^29.7.0",
|
|
71
77
|
"jest-environment-jsdom": "^30.0.4",
|
|
72
78
|
"jsdom": "^26.1.0",
|
|
@@ -81,6 +87,7 @@
|
|
|
81
87
|
"ts-jest": "^29.3.1",
|
|
82
88
|
"tslib": "^2.8.1",
|
|
83
89
|
"typescript": "^5.8.2",
|
|
90
|
+
"typescript-eslint": "^8.42.0",
|
|
84
91
|
"vite": "^7.0.6"
|
|
85
92
|
}
|
|
86
93
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ref Support Examples for VaneUI Components
|
|
3
|
-
*
|
|
4
|
-
* All VaneUI components now support refs through React.forwardRef.
|
|
5
|
-
* This file demonstrates various use cases for refs with different components.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Basic UI Components with Refs
|
|
9
|
-
* Each component is properly typed with its corresponding HTML element
|
|
10
|
-
*/
|
|
11
|
-
export declare const BasicComponentRefs: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
/**
|
|
13
|
-
* Typography Components with Refs
|
|
14
|
-
*/
|
|
15
|
-
export declare const TypographyComponentRefs: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
/**
|
|
17
|
-
* Layout Components with Refs
|
|
18
|
-
*/
|
|
19
|
-
export declare const LayoutComponentRefs: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
/**
|
|
21
|
-
* Practical Use Cases for Refs
|
|
22
|
-
*/
|
|
23
|
-
export declare const PracticalRefUseCases: () => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
/**
|
|
25
|
-
* Working with Custom Tags and Refs
|
|
26
|
-
* Note: When using custom tags, the ref type becomes 'any'
|
|
27
|
-
*/
|
|
28
|
-
export declare const CustomTagsWithRefs: () => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export declare const CustomComponentWithRef: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ThemeDefaults, ThemeExtraClasses } from '../../index';
|
|
2
|
-
declare const validDefaults: ThemeDefaults;
|
|
3
|
-
declare const validExtraClasses: ThemeExtraClasses;
|
|
4
|
-
declare const validCheckboxConfig: ThemeDefaults;
|
|
5
|
-
export { validDefaults, validExtraClasses, validCheckboxConfig };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SizeKey, ShapeKey } from "../props";
|
|
2
|
-
export declare const uiBorderRadiusClasses: Record<SizeKey, string>;
|
|
3
|
-
export declare const layoutBorderRadiusClasses: Record<SizeKey, string>;
|
|
4
|
-
export declare const uiBorderRadiusShapeClasses: Record<ShapeKey, string | Record<SizeKey, string>>;
|
|
5
|
-
export declare const layoutBorderRadiusShapeClasses: Record<ShapeKey, string | Record<SizeKey, string>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from './props';
|
|
3
|
-
export declare const Grid2: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export declare const Grid3: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export declare const Grid4: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
2
|
-
import type { CategoryProps } from "../../props";
|
|
3
|
-
import { ModeKey, AppearanceKey } from "../../props";
|
|
4
|
-
export interface AppearanceTheme extends Record<AppearanceKey, Record<ModeKey, string>> {
|
|
5
|
-
}
|
|
6
|
-
export declare class AppearanceTheme extends BaseTheme {
|
|
7
|
-
private readonly transparentClasses?;
|
|
8
|
-
private constructor();
|
|
9
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
10
|
-
static createTheme(src?: Partial<Record<ModeKey, Partial<Record<AppearanceKey, string>>>>): AppearanceTheme;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SizeKey, ModeKey, AppearanceKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface ShadowAppearanceTheme extends Record<AppearanceKey, Record<SizeKey, Record<ModeKey, string>> | null> {
|
|
5
|
-
}
|
|
6
|
-
export declare class ShadowAppearanceTheme extends BaseTheme {
|
|
7
|
-
private static readonly defaultShadow;
|
|
8
|
-
private static readonly layoutShadow;
|
|
9
|
-
constructor(initial?: Partial<Record<AppearanceKey, Record<SizeKey, Record<ModeKey, string>> | null>>);
|
|
10
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
11
|
-
static createTheme(src?: Partial<Record<AppearanceKey, Record<SizeKey, Record<ModeKey, string>> | null>>): ShadowAppearanceTheme;
|
|
12
|
-
static createLayoutTheme(src?: Partial<Record<AppearanceKey, Record<SizeKey, Record<ModeKey, string>> | null>>): ShadowAppearanceTheme;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DisplayKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface DisplayTheme extends Record<DisplayKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class DisplayTheme extends BaseTheme {
|
|
7
|
-
constructor(initialConfig?: Partial<Record<DisplayKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ItemsKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface ItemsTheme extends Record<ItemsKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class ItemsTheme extends BaseTheme {
|
|
7
|
-
constructor(initialConfig?: Partial<Record<ItemsKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JustifyKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface JustifyTheme extends Record<JustifyKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class JustifyTheme extends BaseTheme {
|
|
7
|
-
constructor(initialConfig?: Partial<Record<JustifyKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OverflowKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface OverflowTheme extends Record<OverflowKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class OverflowTheme extends BaseTheme {
|
|
7
|
-
constructor(initialConfig?: Partial<Record<OverflowKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FontFamilyKey, CategoryProps } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
export interface FontFamilyTheme extends Record<FontFamilyKey, string> {
|
|
4
|
-
}
|
|
5
|
-
export declare class FontFamilyTheme extends BaseTheme {
|
|
6
|
-
constructor(initial?: Partial<Record<FontFamilyKey, string>>);
|
|
7
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FontWeightKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface FontWeightTheme extends Record<FontWeightKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class FontWeightTheme extends BaseTheme {
|
|
7
|
-
constructor(initial?: Partial<Record<FontWeightKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TextDecorationKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface TextDecorationTheme extends Record<TextDecorationKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class TextDecorationTheme extends BaseTheme {
|
|
7
|
-
constructor(initial?: Partial<Record<TextDecorationKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TextTransformKey } from "../../props";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
import type { CategoryProps } from "../../props";
|
|
4
|
-
export interface TextTransformTheme extends Record<TextTransformKey, string> {
|
|
5
|
-
}
|
|
6
|
-
export declare class TextTransformTheme extends BaseTheme {
|
|
7
|
-
constructor(initial?: Partial<Record<TextTransformKey, string>>);
|
|
8
|
-
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|