@ctlyst.id/voila-ui-core 1.6.3 → 3.0.0-beta.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/dist/index.css +33988 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +10609 -0
- package/dist/index.d.ts +10609 -0
- package/dist/index.js +581 -3
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +369 -544
- package/dist/index.mjs.map +1 -0
- package/package.json +37 -48
- package/dist/style.css +0 -1
- package/dist/types/@types/vanilla-sprinkles.d.ts +0 -17
- package/dist/types/index.d.ts +0 -6
- package/dist/types/theme/index.d.ts +0 -2
- package/dist/types/theme/styles/atoms/background.css.d.ts +0 -100
- package/dist/types/theme/styles/atoms/border.css.d.ts +0 -1600
- package/dist/types/theme/styles/atoms/common.css.d.ts +0 -744
- package/dist/types/theme/styles/atoms/constants.d.ts +0 -3
- package/dist/types/theme/styles/atoms/flex.css.d.ts +0 -636
- package/dist/types/theme/styles/atoms/grid.css.d.ts +0 -855
- package/dist/types/theme/styles/atoms/index.d.ts +0 -11
- package/dist/types/theme/styles/atoms/position.css.d.ts +0 -1050
- package/dist/types/theme/styles/atoms/radii.css.d.ts +0 -48
- package/dist/types/theme/styles/atoms/shadow.css.d.ts +0 -44
- package/dist/types/theme/styles/atoms/sizes.css.d.ts +0 -1801
- package/dist/types/theme/styles/atoms/space.css.d.ts +0 -2543
- package/dist/types/theme/styles/atoms/typography.css.d.ts +0 -413
- package/dist/types/theme/styles/globals.css.d.ts +0 -3
- package/dist/types/theme/styles/index.d.ts +0 -4
- package/dist/types/theme/styles/normalize.css.d.ts +0 -0
- package/dist/types/theme/styles/theme.css.d.ts +0 -353
- package/dist/types/theme/styles/utilityClasses.css.d.ts +0 -2
- package/dist/types/theme/styles/utils.d.ts +0 -17
- package/dist/types/theme/tokens/animation.d.ts +0 -21
- package/dist/types/theme/tokens/border.d.ts +0 -9
- package/dist/types/theme/tokens/breakpoints.d.ts +0 -9
- package/dist/types/theme/tokens/color.d.ts +0 -130
- package/dist/types/theme/tokens/index.d.ts +0 -354
- package/dist/types/theme/tokens/opacity.d.ts +0 -8
- package/dist/types/theme/tokens/radii.d.ts +0 -6
- package/dist/types/theme/tokens/shadows.d.ts +0 -6
- package/dist/types/theme/tokens/space.d.ts +0 -96
- package/dist/types/theme/tokens/typography.d.ts +0 -137
- package/dist/types/theme/tokens/z-indices.d.ts +0 -16
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Properties } from 'csstype';
|
|
2
|
-
|
|
3
|
-
declare module '@vanilla-extract/sprinkles' {
|
|
4
|
-
type ConditionKey = '@media' | '@supports' | '@container' | 'selector';
|
|
5
|
-
|
|
6
|
-
type CSSProperties = Properties<number | (string & object)>;
|
|
7
|
-
|
|
8
|
-
type AtomicProperties = {
|
|
9
|
-
[Property in keyof CSSProperties]?:
|
|
10
|
-
| Record<string, CSSProperties[Property] | Omit<StyleRule, ConditionKey>>
|
|
11
|
-
| ReadonlyArray<CSSProperties[Property]>;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
type ShorthandProperties<T> = {
|
|
15
|
-
[shorthandName: string]: Array<T>;
|
|
16
|
-
};
|
|
17
|
-
}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** MUST BE FIRST */
|
|
2
|
-
/** DO NOT MOVE */
|
|
3
|
-
export { disabledStateStyle, rippleEffect, scrollbarStyle, theme, themeFn } from './theme';
|
|
4
|
-
export type { BackgroundAtoms, BorderAtoms, CommonAtoms, FlexAtoms, GridAtoms, PositionAtoms, RadiiAtoms, ShadowAtoms, SizesAtoms, SpaceAtoms, TypographyAtoms, } from './theme/styles/atoms';
|
|
5
|
-
export * as atoms from './theme/styles/atoms';
|
|
6
|
-
export { tokens } from './theme/tokens';
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
export declare const backgroundAtoms: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[{
|
|
2
|
-
config: {};
|
|
3
|
-
} & {
|
|
4
|
-
config: {
|
|
5
|
-
background: {
|
|
6
|
-
dynamic: {
|
|
7
|
-
default: string;
|
|
8
|
-
conditions: Record<string | number, string>;
|
|
9
|
-
};
|
|
10
|
-
dynamicScale: true;
|
|
11
|
-
name: "background";
|
|
12
|
-
vars: {
|
|
13
|
-
default: string;
|
|
14
|
-
conditions: Record<string | number, string>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
backgroundImage: {
|
|
18
|
-
dynamic: {
|
|
19
|
-
default: string;
|
|
20
|
-
conditions: Record<string | number, string>;
|
|
21
|
-
};
|
|
22
|
-
dynamicScale: true;
|
|
23
|
-
name: "backgroundImage";
|
|
24
|
-
vars: {
|
|
25
|
-
default: string;
|
|
26
|
-
conditions: Record<string | number, string>;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
backgroundSize: {
|
|
30
|
-
dynamic: {
|
|
31
|
-
default: string;
|
|
32
|
-
conditions: Record<string | number, string>;
|
|
33
|
-
};
|
|
34
|
-
dynamicScale: true;
|
|
35
|
-
name: "backgroundSize";
|
|
36
|
-
vars: {
|
|
37
|
-
default: string;
|
|
38
|
-
conditions: Record<string | number, string>;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
backgroundPosition: {
|
|
42
|
-
dynamic: {
|
|
43
|
-
default: string;
|
|
44
|
-
conditions: Record<string | number, string>;
|
|
45
|
-
};
|
|
46
|
-
dynamicScale: true;
|
|
47
|
-
name: "backgroundPosition";
|
|
48
|
-
vars: {
|
|
49
|
-
default: string;
|
|
50
|
-
conditions: Record<string | number, string>;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
backgroundRepeat: {
|
|
54
|
-
dynamic: {
|
|
55
|
-
default: string;
|
|
56
|
-
conditions: Record<string | number, string>;
|
|
57
|
-
};
|
|
58
|
-
dynamicScale: true;
|
|
59
|
-
name: "backgroundRepeat";
|
|
60
|
-
vars: {
|
|
61
|
-
default: string;
|
|
62
|
-
conditions: Record<string | number, string>;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
backgroundAttachment: {
|
|
66
|
-
dynamic: {
|
|
67
|
-
default: string;
|
|
68
|
-
conditions: Record<string | number, string>;
|
|
69
|
-
};
|
|
70
|
-
dynamicScale: true;
|
|
71
|
-
name: "backgroundAttachment";
|
|
72
|
-
vars: {
|
|
73
|
-
default: string;
|
|
74
|
-
conditions: Record<string | number, string>;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
} & {
|
|
79
|
-
config: {
|
|
80
|
-
bg: {
|
|
81
|
-
mappings: "background"[];
|
|
82
|
-
};
|
|
83
|
-
bgImage: {
|
|
84
|
-
mappings: "backgroundImage"[];
|
|
85
|
-
};
|
|
86
|
-
bgSize: {
|
|
87
|
-
mappings: "backgroundSize"[];
|
|
88
|
-
};
|
|
89
|
-
bgPosition: {
|
|
90
|
-
mappings: "backgroundPosition"[];
|
|
91
|
-
};
|
|
92
|
-
bgRepeat: {
|
|
93
|
-
mappings: "backgroundRepeat"[];
|
|
94
|
-
};
|
|
95
|
-
bgAttachment: {
|
|
96
|
-
mappings: "backgroundAttachment"[];
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
}]>;
|
|
100
|
-
export type BackgroundAtoms = Parameters<typeof backgroundAtoms>[0];
|