@vaneui/ui 0.1.4 → 0.1.5
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/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 +14 -0
- package/dist/components/ui/theme/appearance/textAppearanceTheme.d.ts +3 -4
- package/dist/components/ui/theme/badgeTheme.d.ts +6 -5
- package/dist/components/ui/theme/buttonTheme.d.ts +6 -5
- package/dist/components/ui/theme/cardTheme.d.ts +2 -2
- package/dist/components/ui/theme/chipTheme.d.ts +6 -5
- package/dist/components/ui/theme/containerTheme.d.ts +2 -2
- package/dist/components/ui/theme/sectionTheme.d.ts +7 -5
- package/dist/index.esm.js +111 -176
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +110 -176
- package/dist/index.js.map +1 -1
- package/dist/ui.css +9 -0
- package/package.json +1 -1
- package/dist/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +0 -10
- package/dist/components/ui/theme/appearance/variantTheme.d.ts +0 -15
package/dist/ui.css
CHANGED
|
@@ -672,6 +672,9 @@
|
|
|
672
672
|
.border-\(--filled-border-color-warning\) {
|
|
673
673
|
border-color: var(--filled-border-color-warning);
|
|
674
674
|
}
|
|
675
|
+
.border-transparent {
|
|
676
|
+
border-color: transparent;
|
|
677
|
+
}
|
|
675
678
|
.bg-\(--background-color-accent\) {
|
|
676
679
|
background-color: var(--background-color-accent);
|
|
677
680
|
}
|
|
@@ -1017,6 +1020,9 @@
|
|
|
1017
1020
|
.text-\(--text-color-warning\) {
|
|
1018
1021
|
color: var(--text-color-warning);
|
|
1019
1022
|
}
|
|
1023
|
+
.text-transparent {
|
|
1024
|
+
color: transparent;
|
|
1025
|
+
}
|
|
1020
1026
|
.text-white {
|
|
1021
1027
|
color: var(--color-white);
|
|
1022
1028
|
}
|
|
@@ -1152,6 +1158,9 @@
|
|
|
1152
1158
|
.ring-\(--filled-border-color-warning\) {
|
|
1153
1159
|
--tw-ring-color: var(--filled-border-color-warning);
|
|
1154
1160
|
}
|
|
1161
|
+
.ring-transparent {
|
|
1162
|
+
--tw-ring-color: transparent;
|
|
1163
|
+
}
|
|
1155
1164
|
.outline {
|
|
1156
1165
|
outline-style: var(--tw-outline-style);
|
|
1157
1166
|
outline-width: 1px;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
2
|
-
import { BgAppearanceKey, ModeKey } from "../../props";
|
|
3
|
-
export interface LayoutAppearanceTheme extends Record<BgAppearanceKey, Record<ModeKey, string>> {
|
|
4
|
-
}
|
|
5
|
-
export declare class LayoutAppearanceTheme extends BaseTheme {
|
|
6
|
-
static readonly defaultFullConfig: Record<BgAppearanceKey, Record<ModeKey, string>>;
|
|
7
|
-
constructor(initialOverrides?: Partial<Record<BgAppearanceKey, Partial<Record<ModeKey, string>>>>);
|
|
8
|
-
getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
|
|
9
|
-
static createDefaultStyle(src?: Partial<Record<ModeKey, Partial<Record<BgAppearanceKey, string>>>>): LayoutAppearanceTheme;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
2
|
-
import { VariantKey } from "../../props";
|
|
3
|
-
import { TextAppearanceTheme } from "./textAppearanceTheme";
|
|
4
|
-
export interface VariantTheme extends Record<VariantKey, TextAppearanceTheme> {
|
|
5
|
-
}
|
|
6
|
-
export declare class VariantTheme extends BaseTheme {
|
|
7
|
-
static readonly defaultInstances: Record<VariantKey, TextAppearanceTheme>;
|
|
8
|
-
constructor(variantInstances?: Record<VariantKey, TextAppearanceTheme>);
|
|
9
|
-
getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
|
|
10
|
-
static createDefault(initialInstances?: Partial<Record<VariantKey, TextAppearanceTheme>>): VariantTheme;
|
|
11
|
-
static createDefaultBackground(): VariantTheme;
|
|
12
|
-
static createDefaultText(): VariantTheme;
|
|
13
|
-
static createDefaultBorder(): VariantTheme;
|
|
14
|
-
static createDefaultRing(): VariantTheme;
|
|
15
|
-
}
|