@zicas/ui 0.0.0-stage → 0.1.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.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +76 -2
  3. package/dist/accordion.d.ts +23 -0
  4. package/dist/accordion.js +105 -0
  5. package/dist/alert.d.ts +16 -0
  6. package/dist/alert.js +50 -0
  7. package/dist/avatar.d.ts +14 -0
  8. package/dist/avatar.js +53 -0
  9. package/dist/badge.d.ts +11 -0
  10. package/dist/badge.js +46 -0
  11. package/dist/breadcrumb.d.ts +26 -0
  12. package/dist/breadcrumb.js +92 -0
  13. package/dist/button.d.ts +17 -0
  14. package/dist/button.js +174 -0
  15. package/dist/card.d.ts +24 -0
  16. package/dist/card.js +81 -0
  17. package/dist/checkbox.d.ts +9 -0
  18. package/dist/checkbox.js +91 -0
  19. package/dist/dialog.d.ts +39 -0
  20. package/dist/dialog.js +195 -0
  21. package/dist/direction.d.ts +17 -0
  22. package/dist/direction.js +93 -0
  23. package/dist/dropdown-menu.d.ts +39 -0
  24. package/dist/dropdown-menu.js +189 -0
  25. package/dist/field.d.ts +24 -0
  26. package/dist/field.js +59 -0
  27. package/dist/icon-button.d.ts +15 -0
  28. package/dist/icon-button.js +50 -0
  29. package/dist/index.d.ts +68 -0
  30. package/dist/index.js +36 -0
  31. package/dist/inline.d.ts +12 -0
  32. package/dist/inline.js +25 -0
  33. package/dist/input.d.ts +9 -0
  34. package/dist/input.js +54 -0
  35. package/dist/navbar.d.ts +44 -0
  36. package/dist/navbar.js +258 -0
  37. package/dist/popover.d.ts +36 -0
  38. package/dist/popover.js +148 -0
  39. package/dist/progress.d.ts +23 -0
  40. package/dist/progress.js +67 -0
  41. package/dist/radio.d.ts +15 -0
  42. package/dist/radio.js +93 -0
  43. package/dist/scroll-area.d.ts +21 -0
  44. package/dist/scroll-area.js +120 -0
  45. package/dist/select.d.ts +37 -0
  46. package/dist/select.js +260 -0
  47. package/dist/semantic-colors.stylex.d.ts +22 -0
  48. package/dist/semantic-colors.stylex.js +23 -0
  49. package/dist/separator.d.ts +9 -0
  50. package/dist/separator.js +26 -0
  51. package/dist/skeleton.d.ts +6 -0
  52. package/dist/skeleton.js +18 -0
  53. package/dist/stack.d.ts +11 -0
  54. package/dist/stack.js +24 -0
  55. package/dist/surface.d.ts +9 -0
  56. package/dist/surface.js +18 -0
  57. package/dist/switch.d.ts +9 -0
  58. package/dist/switch.js +73 -0
  59. package/dist/table.d.ts +34 -0
  60. package/dist/table.js +84 -0
  61. package/dist/tabs.d.ts +19 -0
  62. package/dist/tabs.js +115 -0
  63. package/dist/text.d.ts +14 -0
  64. package/dist/text.js +31 -0
  65. package/dist/textarea.d.ts +8 -0
  66. package/dist/textarea.js +70 -0
  67. package/dist/theme-root.d.ts +9 -0
  68. package/dist/theme-root.js +61 -0
  69. package/dist/theme-types.d.ts +16 -0
  70. package/dist/theme-types.js +0 -0
  71. package/dist/themes/atelier-theme.d.ts +2 -0
  72. package/dist/themes/atelier-theme.js +3 -0
  73. package/dist/themes/compact-theme.d.ts +2 -0
  74. package/dist/themes/compact-theme.js +3 -0
  75. package/dist/themes/compose-theme.d.ts +27 -0
  76. package/dist/themes/compose-theme.js +82 -0
  77. package/dist/themes/fragments/borders.d.ts +34 -0
  78. package/dist/themes/fragments/borders.js +19 -0
  79. package/dist/themes/fragments/density.d.ts +58 -0
  80. package/dist/themes/fragments/density.js +31 -0
  81. package/dist/themes/fragments/elevation.d.ts +34 -0
  82. package/dist/themes/fragments/elevation.js +19 -0
  83. package/dist/themes/fragments/font-family.d.ts +16 -0
  84. package/dist/themes/fragments/font-family.js +9 -0
  85. package/dist/themes/fragments/line-height.d.ts +24 -0
  86. package/dist/themes/fragments/line-height.js +13 -0
  87. package/dist/themes/fragments/motion.d.ts +40 -0
  88. package/dist/themes/fragments/motion.js +21 -0
  89. package/dist/themes/fragments/radius.d.ts +60 -0
  90. package/dist/themes/fragments/radius.js +13 -0
  91. package/dist/themes/fragments/semantic-colors.d.ts +151 -0
  92. package/dist/themes/fragments/semantic-colors.js +68 -0
  93. package/dist/themes/fragments/type-scale.d.ts +36 -0
  94. package/dist/themes/fragments/type-scale.js +16 -0
  95. package/dist/themes/nitro-theme.d.ts +2 -0
  96. package/dist/themes/nitro-theme.js +3 -0
  97. package/dist/token-types.d.ts +1 -0
  98. package/dist/token-types.js +0 -0
  99. package/dist/tokens.stylex.d.ts +59 -0
  100. package/dist/tokens.stylex.js +61 -0
  101. package/dist/tooltip.d.ts +23 -0
  102. package/dist/tooltip.js +89 -0
  103. package/package.json +42 -4
@@ -0,0 +1,82 @@
1
+ import { borderThemes } from "./fragments/borders.js";
2
+ import { densityThemes } from "./fragments/density.js";
3
+ import { elevationThemes } from "./fragments/elevation.js";
4
+ import { fontFamilyThemes } from "./fragments/font-family.js";
5
+ import { lineHeightThemes } from "./fragments/line-height.js";
6
+ import { motionThemes } from "./fragments/motion.js";
7
+ import { radiusThemes } from "./fragments/radius.js";
8
+ import { compactSemanticColorTheme, semanticColorThemes } from "./fragments/semantic-colors.js";
9
+ import { typeScaleThemes } from "./fragments/type-scale.js";
10
+ var compactPalette = Symbol("compactPalette");
11
+ function withCompactPalette(options) {
12
+ return {
13
+ ...options,
14
+ [compactPalette]: true
15
+ };
16
+ }
17
+ var themePresetOptions = {
18
+ default: {
19
+ semanticColors: "default",
20
+ density: "comfortable",
21
+ radius: "default",
22
+ borders: "minimal",
23
+ elevation: "default",
24
+ motion: "default",
25
+ fontFamily: "system",
26
+ typeScale: "default",
27
+ lineHeight: "default"
28
+ },
29
+ compact: withCompactPalette({
30
+ semanticColors: "default",
31
+ density: "compact",
32
+ radius: "sharp",
33
+ borders: "subtle",
34
+ elevation: "subtle",
35
+ motion: "default",
36
+ fontFamily: "system",
37
+ typeScale: "default",
38
+ lineHeight: "default"
39
+ }),
40
+ atelier: {
41
+ semanticColors: "warm",
42
+ density: "spacious",
43
+ radius: "restrained",
44
+ borders: "subtle",
45
+ elevation: "soft",
46
+ motion: "calm",
47
+ fontFamily: "serif",
48
+ typeScale: "expanded",
49
+ lineHeight: "editorial"
50
+ },
51
+ nitro: {
52
+ semanticColors: "vivid",
53
+ density: "comfortable",
54
+ radius: "round",
55
+ borders: "minimal",
56
+ elevation: "default",
57
+ motion: "snappy",
58
+ fontFamily: "system",
59
+ typeScale: "default",
60
+ lineHeight: "default"
61
+ }
62
+ };
63
+ function composeTheme(options) {
64
+ const density = densityThemes[options.density];
65
+ const theme = {
66
+ colors: options.semanticColors === "default" && options[compactPalette] ? compactSemanticColorTheme : semanticColorThemes[options.semanticColors],
67
+ spacing: density.spacing,
68
+ controlSizes: density.controlSizes,
69
+ radii: radiusThemes[options.radius],
70
+ borders: borderThemes[options.borders],
71
+ elevation: elevationThemes[options.elevation],
72
+ motion: motionThemes[options.motion],
73
+ typography: fontFamilyThemes[options.fontFamily],
74
+ fontSizes: typeScaleThemes[options.typeScale],
75
+ lineHeights: lineHeightThemes[options.lineHeight]
76
+ };
77
+ return Object.hasOwn(options, "semanticColorOverrides") ? {
78
+ ...theme,
79
+ semanticColorOverrides: options.semanticColorOverrides
80
+ } : theme;
81
+ }
82
+ export { composeTheme, themePresetOptions };
@@ -0,0 +1,34 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type BorderOption = "minimal" | "subtle" | "strong";
3
+ export declare const minimalBorderTheme: stylex.Theme<stylex.VarGroup<Readonly<{
4
+ control: string;
5
+ surface: string;
6
+ outline: string;
7
+ }>, symbol>, symbol>;
8
+ export declare const subtleBorderTheme: stylex.Theme<stylex.VarGroup<Readonly<{
9
+ control: string;
10
+ surface: string;
11
+ outline: string;
12
+ }>, symbol>, symbol>;
13
+ export declare const strongBorderTheme: stylex.Theme<stylex.VarGroup<Readonly<{
14
+ control: string;
15
+ surface: string;
16
+ outline: string;
17
+ }>, symbol>, symbol>;
18
+ export declare const borderThemes: {
19
+ readonly minimal: stylex.Theme<stylex.VarGroup<Readonly<{
20
+ control: string;
21
+ surface: string;
22
+ outline: string;
23
+ }>, symbol>, symbol>;
24
+ readonly subtle: stylex.Theme<stylex.VarGroup<Readonly<{
25
+ control: string;
26
+ surface: string;
27
+ outline: string;
28
+ }>, symbol>, symbol>;
29
+ readonly strong: stylex.Theme<stylex.VarGroup<Readonly<{
30
+ control: string;
31
+ surface: string;
32
+ outline: string;
33
+ }>, symbol>, symbol>;
34
+ };
@@ -0,0 +1,19 @@
1
+ import { borders } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var minimalBorderTheme = stylex.createTheme(borders, {});
4
+ var subtleBorderTheme = stylex.createTheme(borders, {
5
+ control: "1px",
6
+ surface: "1px",
7
+ outline: "1px"
8
+ });
9
+ var strongBorderTheme = stylex.createTheme(borders, {
10
+ control: "2px",
11
+ surface: "2px",
12
+ outline: "2px"
13
+ });
14
+ var borderThemes = {
15
+ minimal: minimalBorderTheme,
16
+ subtle: subtleBorderTheme,
17
+ strong: strongBorderTheme
18
+ };
19
+ export { borderThemes, minimalBorderTheme, strongBorderTheme, subtleBorderTheme };
@@ -0,0 +1,58 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type DensityOption = "compact" | "comfortable" | "spacious";
3
+ export declare const compactSpacingTheme: stylex.Theme<stylex.VarGroup<{
4
+ base: string;
5
+ } & Record<import("../../token-types").SpacingKey, string>>, symbol>;
6
+ export declare const compactControlSizesTheme: stylex.Theme<stylex.VarGroup<Readonly<{
7
+ sm: string;
8
+ md: string;
9
+ lg: string;
10
+ }>, symbol>, symbol>;
11
+ export declare const comfortableSpacingTheme: stylex.Theme<stylex.VarGroup<{
12
+ base: string;
13
+ } & Record<import("../../token-types").SpacingKey, string>>, symbol>;
14
+ export declare const comfortableControlSizesTheme: stylex.Theme<stylex.VarGroup<Readonly<{
15
+ sm: string;
16
+ md: string;
17
+ lg: string;
18
+ }>, symbol>, symbol>;
19
+ export declare const spaciousSpacingTheme: stylex.Theme<stylex.VarGroup<{
20
+ base: string;
21
+ } & Record<import("../../token-types").SpacingKey, string>>, symbol>;
22
+ export declare const spaciousControlSizesTheme: stylex.Theme<stylex.VarGroup<Readonly<{
23
+ sm: string;
24
+ md: string;
25
+ lg: string;
26
+ }>, symbol>, symbol>;
27
+ export declare const densityThemes: {
28
+ compact: {
29
+ spacing: stylex.Theme<stylex.VarGroup<{
30
+ base: string;
31
+ } & Record<import("../../token-types").SpacingKey, string>>, symbol>;
32
+ controlSizes: stylex.Theme<stylex.VarGroup<Readonly<{
33
+ sm: string;
34
+ md: string;
35
+ lg: string;
36
+ }>, symbol>, symbol>;
37
+ };
38
+ comfortable: {
39
+ spacing: stylex.Theme<stylex.VarGroup<{
40
+ base: string;
41
+ } & Record<import("../../token-types").SpacingKey, string>>, symbol>;
42
+ controlSizes: stylex.Theme<stylex.VarGroup<Readonly<{
43
+ sm: string;
44
+ md: string;
45
+ lg: string;
46
+ }>, symbol>, symbol>;
47
+ };
48
+ spacious: {
49
+ spacing: stylex.Theme<stylex.VarGroup<{
50
+ base: string;
51
+ } & Record<import("../../token-types").SpacingKey, string>>, symbol>;
52
+ controlSizes: stylex.Theme<stylex.VarGroup<Readonly<{
53
+ sm: string;
54
+ md: string;
55
+ lg: string;
56
+ }>, symbol>, symbol>;
57
+ };
58
+ };
@@ -0,0 +1,31 @@
1
+ import { controlSizes, spacing } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var compactSpacingTheme = stylex.createTheme(spacing, { base: "0.1875rem" });
4
+ var compactControlSizesTheme = stylex.createTheme(controlSizes, {
5
+ sm: "1.875rem",
6
+ md: "2.25rem",
7
+ lg: "2.625rem"
8
+ });
9
+ var comfortableSpacingTheme = stylex.createTheme(spacing, {});
10
+ var comfortableControlSizesTheme = stylex.createTheme(controlSizes, {});
11
+ var spaciousSpacingTheme = stylex.createTheme(spacing, { base: "0.3125rem" });
12
+ var spaciousControlSizesTheme = stylex.createTheme(controlSizes, {
13
+ sm: "2.25rem",
14
+ md: "2.75rem",
15
+ lg: "3.25rem"
16
+ });
17
+ var densityThemes = {
18
+ compact: {
19
+ spacing: compactSpacingTheme,
20
+ controlSizes: compactControlSizesTheme
21
+ },
22
+ comfortable: {
23
+ spacing: comfortableSpacingTheme,
24
+ controlSizes: comfortableControlSizesTheme
25
+ },
26
+ spacious: {
27
+ spacing: spaciousSpacingTheme,
28
+ controlSizes: spaciousControlSizesTheme
29
+ }
30
+ };
31
+ export { comfortableControlSizesTheme, comfortableSpacingTheme, compactControlSizesTheme, compactSpacingTheme, densityThemes, spaciousControlSizesTheme, spaciousSpacingTheme };
@@ -0,0 +1,34 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type ElevationOption = "default" | "subtle" | "soft";
3
+ export declare const defaultElevationTheme: stylex.Theme<stylex.VarGroup<Readonly<{
4
+ sm: string;
5
+ md: string;
6
+ lg: string;
7
+ }>, symbol>, symbol>;
8
+ export declare const subtleElevationTheme: stylex.Theme<stylex.VarGroup<Readonly<{
9
+ sm: string;
10
+ md: string;
11
+ lg: string;
12
+ }>, symbol>, symbol>;
13
+ export declare const softElevationTheme: stylex.Theme<stylex.VarGroup<Readonly<{
14
+ sm: string;
15
+ md: string;
16
+ lg: string;
17
+ }>, symbol>, symbol>;
18
+ export declare const elevationThemes: {
19
+ readonly default: stylex.Theme<stylex.VarGroup<Readonly<{
20
+ sm: string;
21
+ md: string;
22
+ lg: string;
23
+ }>, symbol>, symbol>;
24
+ readonly subtle: stylex.Theme<stylex.VarGroup<Readonly<{
25
+ sm: string;
26
+ md: string;
27
+ lg: string;
28
+ }>, symbol>, symbol>;
29
+ readonly soft: stylex.Theme<stylex.VarGroup<Readonly<{
30
+ sm: string;
31
+ md: string;
32
+ lg: string;
33
+ }>, symbol>, symbol>;
34
+ };
@@ -0,0 +1,19 @@
1
+ import { elevation } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var defaultElevationTheme = stylex.createTheme(elevation, {});
4
+ var subtleElevationTheme = stylex.createTheme(elevation, {
5
+ sm: "0 1px 2px rgba(0, 0, 0, 0.08)",
6
+ md: "0 2px 6px rgba(0, 0, 0, 0.1)",
7
+ lg: "0 2px 6px rgba(0, 0, 0, 0.12)"
8
+ });
9
+ var softElevationTheme = stylex.createTheme(elevation, {
10
+ sm: "0 8px 22px rgba(45, 34, 21, 0.08)",
11
+ md: "0 16px 44px rgba(45, 34, 21, 0.12)",
12
+ lg: "0 28px 72px rgba(45, 34, 21, 0.16)"
13
+ });
14
+ var elevationThemes = {
15
+ default: defaultElevationTheme,
16
+ subtle: subtleElevationTheme,
17
+ soft: softElevationTheme
18
+ };
19
+ export { defaultElevationTheme, elevationThemes, softElevationTheme, subtleElevationTheme };
@@ -0,0 +1,16 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type FontFamilyOption = "system" | "serif";
3
+ export declare const systemFontFamilyTheme: stylex.Theme<stylex.VarGroup<Readonly<{
4
+ fontFamily: string;
5
+ }>, symbol>, symbol>;
6
+ export declare const serifFontFamilyTheme: stylex.Theme<stylex.VarGroup<Readonly<{
7
+ fontFamily: string;
8
+ }>, symbol>, symbol>;
9
+ export declare const fontFamilyThemes: {
10
+ readonly system: stylex.Theme<stylex.VarGroup<Readonly<{
11
+ fontFamily: string;
12
+ }>, symbol>, symbol>;
13
+ readonly serif: stylex.Theme<stylex.VarGroup<Readonly<{
14
+ fontFamily: string;
15
+ }>, symbol>, symbol>;
16
+ };
@@ -0,0 +1,9 @@
1
+ import { typography } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var systemFontFamilyTheme = stylex.createTheme(typography, {});
4
+ var serifFontFamilyTheme = stylex.createTheme(typography, { fontFamily: "Georgia, Cambria, \"Times New Roman\", Times, serif" });
5
+ var fontFamilyThemes = {
6
+ system: systemFontFamilyTheme,
7
+ serif: serifFontFamilyTheme
8
+ };
9
+ export { fontFamilyThemes, serifFontFamilyTheme, systemFontFamilyTheme };
@@ -0,0 +1,24 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type LineHeightOption = "default" | "editorial";
3
+ export declare const defaultLineHeightTheme: stylex.Theme<stylex.VarGroup<Readonly<{
4
+ tight: string;
5
+ normal: string;
6
+ relaxed: string;
7
+ }>, symbol>, symbol>;
8
+ export declare const editorialLineHeightTheme: stylex.Theme<stylex.VarGroup<Readonly<{
9
+ tight: string;
10
+ normal: string;
11
+ relaxed: string;
12
+ }>, symbol>, symbol>;
13
+ export declare const lineHeightThemes: {
14
+ readonly default: stylex.Theme<stylex.VarGroup<Readonly<{
15
+ tight: string;
16
+ normal: string;
17
+ relaxed: string;
18
+ }>, symbol>, symbol>;
19
+ readonly editorial: stylex.Theme<stylex.VarGroup<Readonly<{
20
+ tight: string;
21
+ normal: string;
22
+ relaxed: string;
23
+ }>, symbol>, symbol>;
24
+ };
@@ -0,0 +1,13 @@
1
+ import { lineHeights } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var defaultLineHeightTheme = stylex.createTheme(lineHeights, {});
4
+ var editorialLineHeightTheme = stylex.createTheme(lineHeights, {
5
+ tight: "1.18",
6
+ normal: "1.55",
7
+ relaxed: "1.75"
8
+ });
9
+ var lineHeightThemes = {
10
+ default: defaultLineHeightTheme,
11
+ editorial: editorialLineHeightTheme
12
+ };
13
+ export { defaultLineHeightTheme, editorialLineHeightTheme, lineHeightThemes };
@@ -0,0 +1,40 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type MotionOption = "default" | "calm" | "snappy";
3
+ export declare const defaultMotionTheme: stylex.Theme<stylex.VarGroup<Readonly<{
4
+ fast: string;
5
+ normal: string;
6
+ slow: string;
7
+ standard: string;
8
+ }>, symbol>, symbol>;
9
+ export declare const snappyMotionTheme: stylex.Theme<stylex.VarGroup<Readonly<{
10
+ fast: string;
11
+ normal: string;
12
+ slow: string;
13
+ standard: string;
14
+ }>, symbol>, symbol>;
15
+ export declare const calmMotionTheme: stylex.Theme<stylex.VarGroup<Readonly<{
16
+ fast: string;
17
+ normal: string;
18
+ slow: string;
19
+ standard: string;
20
+ }>, symbol>, symbol>;
21
+ export declare const motionThemes: {
22
+ readonly default: stylex.Theme<stylex.VarGroup<Readonly<{
23
+ fast: string;
24
+ normal: string;
25
+ slow: string;
26
+ standard: string;
27
+ }>, symbol>, symbol>;
28
+ readonly calm: stylex.Theme<stylex.VarGroup<Readonly<{
29
+ fast: string;
30
+ normal: string;
31
+ slow: string;
32
+ standard: string;
33
+ }>, symbol>, symbol>;
34
+ readonly snappy: stylex.Theme<stylex.VarGroup<Readonly<{
35
+ fast: string;
36
+ normal: string;
37
+ slow: string;
38
+ standard: string;
39
+ }>, symbol>, symbol>;
40
+ };
@@ -0,0 +1,21 @@
1
+ import { motion } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var defaultMotionTheme = stylex.createTheme(motion, {});
4
+ var snappyMotionTheme = stylex.createTheme(motion, {
5
+ fast: "90ms",
6
+ normal: "140ms",
7
+ slow: "200ms",
8
+ standard: "cubic-bezier(0.3, 0, 0, 1)"
9
+ });
10
+ var calmMotionTheme = stylex.createTheme(motion, {
11
+ fast: "160ms",
12
+ normal: "240ms",
13
+ slow: "360ms",
14
+ standard: "cubic-bezier(0.22, 0.08, 0.18, 1)"
15
+ });
16
+ var motionThemes = {
17
+ default: defaultMotionTheme,
18
+ calm: calmMotionTheme,
19
+ snappy: snappyMotionTheme
20
+ };
21
+ export { calmMotionTheme, defaultMotionTheme, motionThemes, snappyMotionTheme };
@@ -0,0 +1,60 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type RadiusOption = "sharp" | "default" | "restrained" | "round";
3
+ export declare const sharpRadiusTheme: stylex.Theme<stylex.VarGroup<{
4
+ base: string;
5
+ sm: string;
6
+ md: string;
7
+ lg: string;
8
+ full: string;
9
+ }>, symbol>;
10
+ export declare const defaultRadiusTheme: stylex.Theme<stylex.VarGroup<{
11
+ base: string;
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ full: string;
16
+ }>, symbol>;
17
+ export declare const restrainedRadiusTheme: stylex.Theme<stylex.VarGroup<{
18
+ base: string;
19
+ sm: string;
20
+ md: string;
21
+ lg: string;
22
+ full: string;
23
+ }>, symbol>;
24
+ export declare const roundRadiusTheme: stylex.Theme<stylex.VarGroup<{
25
+ base: string;
26
+ sm: string;
27
+ md: string;
28
+ lg: string;
29
+ full: string;
30
+ }>, symbol>;
31
+ export declare const radiusThemes: {
32
+ readonly sharp: stylex.Theme<stylex.VarGroup<{
33
+ base: string;
34
+ sm: string;
35
+ md: string;
36
+ lg: string;
37
+ full: string;
38
+ }>, symbol>;
39
+ readonly default: stylex.Theme<stylex.VarGroup<{
40
+ base: string;
41
+ sm: string;
42
+ md: string;
43
+ lg: string;
44
+ full: string;
45
+ }>, symbol>;
46
+ readonly restrained: stylex.Theme<stylex.VarGroup<{
47
+ base: string;
48
+ sm: string;
49
+ md: string;
50
+ lg: string;
51
+ full: string;
52
+ }>, symbol>;
53
+ readonly round: stylex.Theme<stylex.VarGroup<{
54
+ base: string;
55
+ sm: string;
56
+ md: string;
57
+ lg: string;
58
+ full: string;
59
+ }>, symbol>;
60
+ };
@@ -0,0 +1,13 @@
1
+ import { radii } from "../../tokens.stylex.js";
2
+ import * as stylex from "@stylexjs/stylex";
3
+ var sharpRadiusTheme = stylex.createTheme(radii, { base: "0.125rem" });
4
+ var defaultRadiusTheme = stylex.createTheme(radii, {});
5
+ var restrainedRadiusTheme = stylex.createTheme(radii, { base: "0.375rem" });
6
+ var roundRadiusTheme = stylex.createTheme(radii, { base: "0.75rem" });
7
+ var radiusThemes = {
8
+ sharp: sharpRadiusTheme,
9
+ default: defaultRadiusTheme,
10
+ restrained: restrainedRadiusTheme,
11
+ round: roundRadiusTheme
12
+ };
13
+ export { defaultRadiusTheme, radiusThemes, restrainedRadiusTheme, roundRadiusTheme, sharpRadiusTheme };
@@ -0,0 +1,151 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export type SemanticColorOption = "default" | "warm" | "vivid";
3
+ export declare const defaultSemanticColorTheme: stylex.Theme<stylex.VarGroup<Readonly<{
4
+ background: string;
5
+ foreground: string;
6
+ surface: string;
7
+ surfaceForeground: string;
8
+ muted: string;
9
+ mutedForeground: string;
10
+ border: string;
11
+ backdrop: string;
12
+ primary: string;
13
+ onPrimary: string;
14
+ danger: string;
15
+ onDanger: string;
16
+ focus: string;
17
+ primaryHover: string;
18
+ primaryActive: string;
19
+ mutedHover: string;
20
+ mutedActive: string;
21
+ dangerHover: string;
22
+ dangerActive: string;
23
+ }>, symbol>, symbol>;
24
+ export declare const compactSemanticColorTheme: stylex.Theme<stylex.VarGroup<Readonly<{
25
+ background: string;
26
+ foreground: string;
27
+ surface: string;
28
+ surfaceForeground: string;
29
+ muted: string;
30
+ mutedForeground: string;
31
+ border: string;
32
+ backdrop: string;
33
+ primary: string;
34
+ onPrimary: string;
35
+ danger: string;
36
+ onDanger: string;
37
+ focus: string;
38
+ primaryHover: string;
39
+ primaryActive: string;
40
+ mutedHover: string;
41
+ mutedActive: string;
42
+ dangerHover: string;
43
+ dangerActive: string;
44
+ }>, symbol>, symbol>;
45
+ export declare const warmSemanticColorTheme: stylex.Theme<stylex.VarGroup<Readonly<{
46
+ background: string;
47
+ foreground: string;
48
+ surface: string;
49
+ surfaceForeground: string;
50
+ muted: string;
51
+ mutedForeground: string;
52
+ border: string;
53
+ backdrop: string;
54
+ primary: string;
55
+ onPrimary: string;
56
+ danger: string;
57
+ onDanger: string;
58
+ focus: string;
59
+ primaryHover: string;
60
+ primaryActive: string;
61
+ mutedHover: string;
62
+ mutedActive: string;
63
+ dangerHover: string;
64
+ dangerActive: string;
65
+ }>, symbol>, symbol>;
66
+ export declare const vividSemanticColorTheme: stylex.Theme<stylex.VarGroup<Readonly<{
67
+ background: string;
68
+ foreground: string;
69
+ surface: string;
70
+ surfaceForeground: string;
71
+ muted: string;
72
+ mutedForeground: string;
73
+ border: string;
74
+ backdrop: string;
75
+ primary: string;
76
+ onPrimary: string;
77
+ danger: string;
78
+ onDanger: string;
79
+ focus: string;
80
+ primaryHover: string;
81
+ primaryActive: string;
82
+ mutedHover: string;
83
+ mutedActive: string;
84
+ dangerHover: string;
85
+ dangerActive: string;
86
+ }>, symbol>, symbol>;
87
+ export declare const semanticColorThemes: {
88
+ readonly default: stylex.Theme<stylex.VarGroup<Readonly<{
89
+ background: string;
90
+ foreground: string;
91
+ surface: string;
92
+ surfaceForeground: string;
93
+ muted: string;
94
+ mutedForeground: string;
95
+ border: string;
96
+ backdrop: string;
97
+ primary: string;
98
+ onPrimary: string;
99
+ danger: string;
100
+ onDanger: string;
101
+ focus: string;
102
+ primaryHover: string;
103
+ primaryActive: string;
104
+ mutedHover: string;
105
+ mutedActive: string;
106
+ dangerHover: string;
107
+ dangerActive: string;
108
+ }>, symbol>, symbol>;
109
+ readonly warm: stylex.Theme<stylex.VarGroup<Readonly<{
110
+ background: string;
111
+ foreground: string;
112
+ surface: string;
113
+ surfaceForeground: string;
114
+ muted: string;
115
+ mutedForeground: string;
116
+ border: string;
117
+ backdrop: string;
118
+ primary: string;
119
+ onPrimary: string;
120
+ danger: string;
121
+ onDanger: string;
122
+ focus: string;
123
+ primaryHover: string;
124
+ primaryActive: string;
125
+ mutedHover: string;
126
+ mutedActive: string;
127
+ dangerHover: string;
128
+ dangerActive: string;
129
+ }>, symbol>, symbol>;
130
+ readonly vivid: stylex.Theme<stylex.VarGroup<Readonly<{
131
+ background: string;
132
+ foreground: string;
133
+ surface: string;
134
+ surfaceForeground: string;
135
+ muted: string;
136
+ mutedForeground: string;
137
+ border: string;
138
+ backdrop: string;
139
+ primary: string;
140
+ onPrimary: string;
141
+ danger: string;
142
+ onDanger: string;
143
+ focus: string;
144
+ primaryHover: string;
145
+ primaryActive: string;
146
+ mutedHover: string;
147
+ mutedActive: string;
148
+ dangerHover: string;
149
+ dangerActive: string;
150
+ }>, symbol>, symbol>;
151
+ };