@ctlyst.id/voila-ui-core 1.1.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.
Files changed (38) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -0
  3. package/dist/index.js +3 -0
  4. package/dist/index.mjs +382 -0
  5. package/dist/style.css +1 -0
  6. package/dist/types/@types/vanilla-sprinkles.d.ts +17 -0
  7. package/dist/types/index.d.ts +3 -0
  8. package/dist/types/theme/styles/atoms/background.css.d.ts +100 -0
  9. package/dist/types/theme/styles/atoms/border.css.d.ts +1600 -0
  10. package/dist/types/theme/styles/atoms/common.css.d.ts +744 -0
  11. package/dist/types/theme/styles/atoms/constants.d.ts +3 -0
  12. package/dist/types/theme/styles/atoms/flex.css.d.ts +636 -0
  13. package/dist/types/theme/styles/atoms/grid.css.d.ts +855 -0
  14. package/dist/types/theme/styles/atoms/index.d.ts +11 -0
  15. package/dist/types/theme/styles/atoms/position.css.d.ts +1050 -0
  16. package/dist/types/theme/styles/atoms/radii.css.d.ts +48 -0
  17. package/dist/types/theme/styles/atoms/shadow.css.d.ts +44 -0
  18. package/dist/types/theme/styles/atoms/sizes.css.d.ts +1801 -0
  19. package/dist/types/theme/styles/atoms/space.css.d.ts +2543 -0
  20. package/dist/types/theme/styles/atoms/typography.css.d.ts +413 -0
  21. package/dist/types/theme/styles/globals.css.d.ts +3 -0
  22. package/dist/types/theme/styles/index.d.ts +4 -0
  23. package/dist/types/theme/styles/normalize.css.d.ts +0 -0
  24. package/dist/types/theme/styles/theme.css.d.ts +267 -0
  25. package/dist/types/theme/styles/utilityClasses.css.d.ts +2 -0
  26. package/dist/types/theme/styles/utils.d.ts +17 -0
  27. package/dist/types/theme/tokens/animation.d.ts +21 -0
  28. package/dist/types/theme/tokens/border.d.ts +9 -0
  29. package/dist/types/theme/tokens/breakpoints.d.ts +9 -0
  30. package/dist/types/theme/tokens/color.d.ts +127 -0
  31. package/dist/types/theme/tokens/index.d.ts +268 -0
  32. package/dist/types/theme/tokens/opacity.d.ts +8 -0
  33. package/dist/types/theme/tokens/radii.d.ts +6 -0
  34. package/dist/types/theme/tokens/shadows.d.ts +6 -0
  35. package/dist/types/theme/tokens/space.d.ts +96 -0
  36. package/dist/types/theme/tokens/typography.d.ts +137 -0
  37. package/dist/types/theme/tokens/z-indices.d.ts +16 -0
  38. package/package.json +69 -0
@@ -0,0 +1,17 @@
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
+ }
@@ -0,0 +1,3 @@
1
+ /** MUST BE FIRST */
2
+ /** DO NOT MOVE */
3
+ export { theme, themeFn } from './theme/styles';
@@ -0,0 +1,100 @@
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];