@vaneui/ui 0.1.4 → 0.1.6
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/components/themeContext.d.ts +19 -19
- package/dist/components/ui/props/keys.d.ts +8 -10
- package/dist/components/ui/theme/appearance/bgAppearanceTheme.d.ts +8 -0
- package/dist/components/ui/theme/appearance/genericVariantTheme.d.ts +16 -0
- package/dist/components/ui/theme/appearance/shadowAppearanceTheme.d.ts +10 -0
- package/dist/components/ui/theme/appearance/textAppearanceTheme.d.ts +3 -4
- package/dist/components/ui/theme/badgeTheme.d.ts +12 -11
- package/dist/components/ui/theme/buttonTheme.d.ts +12 -11
- package/dist/components/ui/theme/cardTheme.d.ts +7 -7
- package/dist/components/ui/theme/chipTheme.d.ts +12 -11
- package/dist/components/ui/theme/colTheme.d.ts +3 -3
- package/dist/components/ui/theme/common/ComponentTheme.d.ts +10 -6
- package/dist/components/ui/theme/containerTheme.d.ts +5 -5
- package/dist/components/ui/theme/dividerTheme.d.ts +2 -2
- package/dist/components/ui/theme/gridTheme.d.ts +3 -3
- package/dist/components/ui/theme/rowTheme.d.ts +3 -3
- package/dist/components/ui/theme/sectionTheme.d.ts +12 -10
- package/dist/components/ui/theme/stackTheme.d.ts +3 -3
- package/dist/components/ui/theme/typographyComponentTheme.d.ts +11 -11
- package/dist/index.esm.js +264 -333
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +263 -333
- package/dist/index.js.map +1 -1
- package/dist/ui.css +44 -51
- package/package.json +2 -2
- package/dist/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +0 -10
- package/dist/components/ui/theme/appearance/variantTheme.d.ts +0 -15
- package/dist/components/ui/theme/layout/shadowTheme.d.ts +0 -9
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SizeKey } from "../props/keys";
|
|
2
1
|
import { TypographyComponentProps } from "../props/props";
|
|
3
2
|
import React from "react";
|
|
4
|
-
import {
|
|
3
|
+
import { BaseTypographyComponentTheme, ComponentTheme } from "./common/ComponentTheme";
|
|
5
4
|
import { SizeTheme } from "./size/sizeTheme";
|
|
6
5
|
import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
|
|
7
|
-
|
|
6
|
+
import { SizeKey } from "../props";
|
|
7
|
+
export interface TypographyComponentTheme extends BaseTypographyComponentTheme {
|
|
8
8
|
size: {
|
|
9
9
|
text: SizeTheme;
|
|
10
10
|
};
|
|
@@ -12,11 +12,11 @@ export interface TypographyComponentTheme<P> extends BaseComponentTheme<P> {
|
|
|
12
12
|
text: TextAppearanceTheme;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export declare const createTypographyComponentTheme: (tag: React.ReactNode | string | any, base?: string, textSizeMap?: Record<SizeKey, string>, defaults?: Partial<TypographyComponentProps>) => ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
16
|
-
export declare const pageTitleTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
17
|
-
export declare const sectionTitleTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
18
|
-
export declare const titleTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
19
|
-
export declare const textTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
20
|
-
export declare const linkTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
21
|
-
export declare const listItemTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
22
|
-
export declare const listTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme
|
|
15
|
+
export declare const createTypographyComponentTheme: (tag: React.ReactNode | string | any, base?: string, textSizeMap?: Record<SizeKey, string>, defaults?: Partial<TypographyComponentProps>) => ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
16
|
+
export declare const pageTitleTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
17
|
+
export declare const sectionTitleTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
18
|
+
export declare const titleTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
19
|
+
export declare const textTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
20
|
+
export declare const linkTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
21
|
+
export declare const listItemTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|
|
22
|
+
export declare const listTheme: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
|