@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,48 @@
1
+ export declare const radiiAtoms: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[{
2
+ config: {
3
+ borderRadius: {
4
+ values: {
5
+ none: {
6
+ default: string;
7
+ conditions: Record<string | number, string>;
8
+ };
9
+ rounded: {
10
+ default: string;
11
+ conditions: Record<string | number, string>;
12
+ };
13
+ full: {
14
+ default: string;
15
+ conditions: Record<string | number, string>;
16
+ };
17
+ };
18
+ staticScale: {
19
+ none: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
+ rounded: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
+ full: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ name: "borderRadius";
24
+ };
25
+ };
26
+ } & {
27
+ config: {
28
+ borderRadius: {
29
+ dynamic: {
30
+ default: string;
31
+ conditions: Record<string | number, string>;
32
+ };
33
+ dynamicScale: true;
34
+ name: "borderRadius";
35
+ vars: {
36
+ default: string;
37
+ conditions: Record<string | number, string>;
38
+ };
39
+ };
40
+ };
41
+ } & {
42
+ config: {
43
+ radius: {
44
+ mappings: "borderRadius"[];
45
+ };
46
+ };
47
+ }]>;
48
+ export type RadiiAtoms = Parameters<typeof radiiAtoms>[0];
@@ -0,0 +1,44 @@
1
+ export declare const shadowAtoms: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[{
2
+ config: {
3
+ boxShadow: {
4
+ values: {
5
+ none: {
6
+ default: string;
7
+ conditions: Record<string | number, string>;
8
+ };
9
+ raised: {
10
+ default: string;
11
+ conditions: Record<string | number, string>;
12
+ };
13
+ floating: {
14
+ default: string;
15
+ conditions: Record<string | number, string>;
16
+ };
17
+ };
18
+ staticScale: {
19
+ none: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
+ raised: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
+ floating: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ name: "boxShadow";
24
+ };
25
+ };
26
+ } & {
27
+ config: {
28
+ boxShadow: {
29
+ dynamic: {
30
+ default: string;
31
+ conditions: Record<string | number, string>;
32
+ };
33
+ dynamicScale: true;
34
+ name: "boxShadow";
35
+ vars: {
36
+ default: string;
37
+ conditions: Record<string | number, string>;
38
+ };
39
+ };
40
+ };
41
+ } & {
42
+ config: {};
43
+ }]>;
44
+ export type ShadowAtoms = Parameters<typeof shadowAtoms>[0];