@amogads/ui 1.0.1

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/theme.css ADDED
@@ -0,0 +1,138 @@
1
+ :root {
2
+ --radius: 0.625rem;
3
+ --background: oklch(1 0 0);
4
+ --foreground: oklch(0.129 0.042 264.695);
5
+ --card: oklch(1 0 0);
6
+ --card-foreground: oklch(0.129 0.042 264.695);
7
+ --popover: oklch(1 0 0);
8
+ --popover-foreground: oklch(0.129 0.042 264.695);
9
+ --primary: oklch(0.208 0.042 265.755);
10
+ --primary-foreground: oklch(0.984 0.003 247.858);
11
+ --secondary: oklch(0.968 0.007 247.896);
12
+ --secondary-foreground: oklch(0.208 0.042 265.755);
13
+ --muted: oklch(0.968 0.007 247.896);
14
+ --muted-foreground: oklch(0.554 0.046 257.417);
15
+ --accent: oklch(0.968 0.007 247.896);
16
+ --accent-foreground: oklch(0.208 0.042 265.755);
17
+ --destructive: oklch(0.577 0.245 27.325);
18
+ --destructive-foreground: oklch(0.984 0.003 247.858);
19
+ --success: oklch(0.627 0.194 149.214);
20
+ --success-foreground: oklch(0.984 0.003 247.858);
21
+ --warning: oklch(0.769 0.188 70.08);
22
+ --warning-foreground: oklch(0.129 0.042 264.695);
23
+ --info: oklch(0.58 0.158 241.966);
24
+ --info-foreground: oklch(0.984 0.003 247.858);
25
+ --border: oklch(0.929 0.013 255.508);
26
+ --input: oklch(0.929 0.013 255.508);
27
+ --ring: oklch(0.704 0.04 256.788);
28
+ --chart-1: oklch(0.646 0.222 41.116);
29
+ --chart-2: oklch(0.6 0.118 184.704);
30
+ --chart-3: oklch(0.398 0.07 227.392);
31
+ --chart-4: oklch(0.828 0.189 84.429);
32
+ --chart-5: oklch(0.769 0.188 70.08);
33
+
34
+ --sidebar: var(--background);
35
+ --sidebar-foreground: var(--foreground);
36
+ --sidebar-primary: var(--primary);
37
+ --sidebar-primary-foreground: var(--primary-foreground);
38
+ --sidebar-accent: var(--accent);
39
+ --sidebar-accent-foreground: var(--accent-foreground);
40
+ --sidebar-border: var(--border);
41
+ --sidebar-ring: var(--ring);
42
+ }
43
+
44
+ .dark {
45
+ --background: oklch(0.129 0.042 264.695);
46
+ --foreground: oklch(0.984 0.003 247.858);
47
+ --card: oklch(0.14 0.04 259.21);
48
+ --card-foreground: oklch(0.984 0.003 247.858);
49
+ --popover: oklch(0.208 0.042 265.755);
50
+ --popover-foreground: oklch(0.984 0.003 247.858);
51
+ --primary: oklch(0.929 0.013 255.508);
52
+ --primary-foreground: oklch(0.208 0.042 265.755);
53
+ --secondary: oklch(0.279 0.041 260.031);
54
+ --secondary-foreground: oklch(0.984 0.003 247.858);
55
+ --muted: oklch(0.279 0.041 260.031);
56
+ --muted-foreground: oklch(0.704 0.04 256.788);
57
+ --accent: oklch(0.279 0.041 260.031);
58
+ --accent-foreground: oklch(0.984 0.003 247.858);
59
+ --destructive: oklch(0.704 0.191 22.216);
60
+ --destructive-foreground: oklch(0.984 0.003 247.858);
61
+ --success: oklch(0.627 0.194 149.214);
62
+ --success-foreground: oklch(0.984 0.003 247.858);
63
+ --warning: oklch(0.769 0.188 70.08);
64
+ --warning-foreground: oklch(0.129 0.042 264.695);
65
+ --info: oklch(0.58 0.158 241.966);
66
+ --info-foreground: oklch(0.984 0.003 247.858);
67
+ --border: oklch(1 0 0 / 10%);
68
+ --input: oklch(1 0 0 / 15%);
69
+ --ring: oklch(0.551 0.027 264.364);
70
+ --chart-1: oklch(0.488 0.243 264.376);
71
+ --chart-2: oklch(0.696 0.17 162.48);
72
+ --chart-3: oklch(0.769 0.188 70.08);
73
+ --chart-4: oklch(0.627 0.265 303.9);
74
+ --chart-5: oklch(0.645 0.246 16.439);
75
+ }
76
+
77
+ @theme inline {
78
+ --font-sans: var(--font-open-sans, 'Open Sans'), 'sans-serif';
79
+ --font-inter: 'Inter', var(--font-sans);
80
+ --font-manrope: 'Manrope', var(--font-sans);
81
+
82
+ --radius-sm: calc(var(--radius) - 4px);
83
+ --radius-md: calc(var(--radius) - 2px);
84
+ --radius-lg: var(--radius);
85
+ --radius-xl: calc(var(--radius) + 4px);
86
+ --color-background: var(--background);
87
+ --color-foreground: var(--foreground);
88
+ --color-card: var(--card);
89
+ --color-card-foreground: var(--card-foreground);
90
+ --color-popover: var(--popover);
91
+ --color-popover-foreground: var(--popover-foreground);
92
+ --color-primary: var(--primary);
93
+ --color-primary-foreground: var(--primary-foreground);
94
+ --color-secondary: var(--secondary);
95
+ --color-secondary-foreground: var(--secondary-foreground);
96
+ --color-muted: var(--muted);
97
+ --color-muted-foreground: var(--muted-foreground);
98
+ --color-accent: var(--accent);
99
+ --color-accent-foreground: var(--accent-foreground);
100
+ --color-destructive: var(--destructive);
101
+ --color-destructive-foreground: var(--destructive-foreground);
102
+ --color-success: var(--success);
103
+ --color-success-foreground: var(--success-foreground);
104
+ --color-warning: var(--warning);
105
+ --color-warning-foreground: var(--warning-foreground);
106
+ --color-info: var(--info);
107
+ --color-info-foreground: var(--info-foreground);
108
+ --color-border: var(--border);
109
+ --color-input: var(--input);
110
+ --color-ring: var(--ring);
111
+ --color-chart-1: var(--chart-1);
112
+ --color-chart-2: var(--chart-2);
113
+ --color-chart-3: var(--chart-3);
114
+ --color-chart-4: var(--chart-4);
115
+ --color-chart-5: var(--chart-5);
116
+ --color-sidebar: var(--sidebar);
117
+ --color-sidebar-foreground: var(--sidebar-foreground);
118
+ --color-sidebar-primary: var(--sidebar-primary);
119
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
120
+ --color-sidebar-accent: var(--sidebar-accent);
121
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
122
+ --color-sidebar-border: var(--sidebar-border);
123
+ --color-sidebar-ring: var(--sidebar-ring);
124
+ }
125
+
126
+ @layer base {
127
+ * {
128
+ border-color: var(--border);
129
+ }
130
+ body {
131
+ background-color: var(--background);
132
+ color: var(--foreground);
133
+ font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
134
+ -webkit-font-smoothing: antialiased;
135
+ -moz-osx-font-smoothing: grayscale;
136
+ }
137
+ }
138
+
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Amoga Design System — Tokens Module
3
+ *
4
+ * Exposes design token constants and metadata for TypeScript usage.
5
+ */
6
+ declare const SEMANTIC_TOKENS: {
7
+ readonly background: "var(--background)";
8
+ readonly foreground: "var(--foreground)";
9
+ readonly card: "var(--card)";
10
+ readonly cardForeground: "var(--card-foreground)";
11
+ readonly popover: "var(--popover)";
12
+ readonly popoverForeground: "var(--popover-foreground)";
13
+ readonly primary: "var(--primary)";
14
+ readonly primaryForeground: "var(--primary-foreground)";
15
+ readonly secondary: "var(--secondary)";
16
+ readonly secondaryForeground: "var(--secondary-foreground)";
17
+ readonly muted: "var(--muted)";
18
+ readonly mutedForeground: "var(--muted-foreground)";
19
+ readonly accent: "var(--accent)";
20
+ readonly accentForeground: "var(--accent-foreground)";
21
+ readonly destructive: "var(--destructive)";
22
+ readonly destructiveForeground: "var(--destructive-foreground)";
23
+ readonly success: "var(--success)";
24
+ readonly successForeground: "var(--success-foreground)";
25
+ readonly warning: "var(--warning)";
26
+ readonly warningForeground: "var(--warning-foreground)";
27
+ readonly info: "var(--info)";
28
+ readonly infoForeground: "var(--info-foreground)";
29
+ readonly border: "var(--border)";
30
+ readonly input: "var(--input)";
31
+ readonly ring: "var(--ring)";
32
+ readonly radius: "var(--radius)";
33
+ readonly radiusSm: "var(--radius-sm)";
34
+ readonly radiusMd: "var(--radius-md)";
35
+ readonly radiusLg: "var(--radius-lg)";
36
+ readonly radiusXl: "var(--radius-xl)";
37
+ };
38
+ declare const CHART_TOKENS: {
39
+ readonly chart1: "var(--chart-1)";
40
+ readonly chart2: "var(--chart-2)";
41
+ readonly chart3: "var(--chart-3)";
42
+ readonly chart4: "var(--chart-4)";
43
+ readonly chart5: "var(--chart-5)";
44
+ };
45
+ declare const SIDEBAR_TOKENS: {
46
+ readonly sidebar: "var(--sidebar)";
47
+ readonly sidebarForeground: "var(--sidebar-foreground)";
48
+ readonly sidebarPrimary: "var(--sidebar-primary)";
49
+ readonly sidebarPrimaryForeground: "var(--sidebar-primary-foreground)";
50
+ readonly sidebarAccent: "var(--sidebar-accent)";
51
+ readonly sidebarAccentForeground: "var(--sidebar-accent-foreground)";
52
+ readonly sidebarBorder: "var(--sidebar-border)";
53
+ readonly sidebarRing: "var(--sidebar-ring)";
54
+ };
55
+
56
+ export { CHART_TOKENS, SEMANTIC_TOKENS, SIDEBAR_TOKENS };
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Amoga Design System — Tokens Module
3
+ *
4
+ * Exposes design token constants and metadata for TypeScript usage.
5
+ */
6
+ declare const SEMANTIC_TOKENS: {
7
+ readonly background: "var(--background)";
8
+ readonly foreground: "var(--foreground)";
9
+ readonly card: "var(--card)";
10
+ readonly cardForeground: "var(--card-foreground)";
11
+ readonly popover: "var(--popover)";
12
+ readonly popoverForeground: "var(--popover-foreground)";
13
+ readonly primary: "var(--primary)";
14
+ readonly primaryForeground: "var(--primary-foreground)";
15
+ readonly secondary: "var(--secondary)";
16
+ readonly secondaryForeground: "var(--secondary-foreground)";
17
+ readonly muted: "var(--muted)";
18
+ readonly mutedForeground: "var(--muted-foreground)";
19
+ readonly accent: "var(--accent)";
20
+ readonly accentForeground: "var(--accent-foreground)";
21
+ readonly destructive: "var(--destructive)";
22
+ readonly destructiveForeground: "var(--destructive-foreground)";
23
+ readonly success: "var(--success)";
24
+ readonly successForeground: "var(--success-foreground)";
25
+ readonly warning: "var(--warning)";
26
+ readonly warningForeground: "var(--warning-foreground)";
27
+ readonly info: "var(--info)";
28
+ readonly infoForeground: "var(--info-foreground)";
29
+ readonly border: "var(--border)";
30
+ readonly input: "var(--input)";
31
+ readonly ring: "var(--ring)";
32
+ readonly radius: "var(--radius)";
33
+ readonly radiusSm: "var(--radius-sm)";
34
+ readonly radiusMd: "var(--radius-md)";
35
+ readonly radiusLg: "var(--radius-lg)";
36
+ readonly radiusXl: "var(--radius-xl)";
37
+ };
38
+ declare const CHART_TOKENS: {
39
+ readonly chart1: "var(--chart-1)";
40
+ readonly chart2: "var(--chart-2)";
41
+ readonly chart3: "var(--chart-3)";
42
+ readonly chart4: "var(--chart-4)";
43
+ readonly chart5: "var(--chart-5)";
44
+ };
45
+ declare const SIDEBAR_TOKENS: {
46
+ readonly sidebar: "var(--sidebar)";
47
+ readonly sidebarForeground: "var(--sidebar-foreground)";
48
+ readonly sidebarPrimary: "var(--sidebar-primary)";
49
+ readonly sidebarPrimaryForeground: "var(--sidebar-primary-foreground)";
50
+ readonly sidebarAccent: "var(--sidebar-accent)";
51
+ readonly sidebarAccentForeground: "var(--sidebar-accent-foreground)";
52
+ readonly sidebarBorder: "var(--sidebar-border)";
53
+ readonly sidebarRing: "var(--sidebar-ring)";
54
+ };
55
+
56
+ export { CHART_TOKENS, SEMANTIC_TOKENS, SIDEBAR_TOKENS };
package/dist/tokens.js ADDED
@@ -0,0 +1,84 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/design-system/tokens/index.ts
22
+ var tokens_exports = {};
23
+ __export(tokens_exports, {
24
+ CHART_TOKENS: () => CHART_TOKENS,
25
+ SEMANTIC_TOKENS: () => SEMANTIC_TOKENS,
26
+ SIDEBAR_TOKENS: () => SIDEBAR_TOKENS
27
+ });
28
+ module.exports = __toCommonJS(tokens_exports);
29
+ var SEMANTIC_TOKENS = {
30
+ background: "var(--background)",
31
+ foreground: "var(--foreground)",
32
+ card: "var(--card)",
33
+ cardForeground: "var(--card-foreground)",
34
+ popover: "var(--popover)",
35
+ popoverForeground: "var(--popover-foreground)",
36
+ primary: "var(--primary)",
37
+ primaryForeground: "var(--primary-foreground)",
38
+ secondary: "var(--secondary)",
39
+ secondaryForeground: "var(--secondary-foreground)",
40
+ muted: "var(--muted)",
41
+ mutedForeground: "var(--muted-foreground)",
42
+ accent: "var(--accent)",
43
+ accentForeground: "var(--accent-foreground)",
44
+ destructive: "var(--destructive)",
45
+ destructiveForeground: "var(--destructive-foreground)",
46
+ success: "var(--success)",
47
+ successForeground: "var(--success-foreground)",
48
+ warning: "var(--warning)",
49
+ warningForeground: "var(--warning-foreground)",
50
+ info: "var(--info)",
51
+ infoForeground: "var(--info-foreground)",
52
+ border: "var(--border)",
53
+ input: "var(--input)",
54
+ ring: "var(--ring)",
55
+ radius: "var(--radius)",
56
+ radiusSm: "var(--radius-sm)",
57
+ radiusMd: "var(--radius-md)",
58
+ radiusLg: "var(--radius-lg)",
59
+ radiusXl: "var(--radius-xl)"
60
+ };
61
+ var CHART_TOKENS = {
62
+ chart1: "var(--chart-1)",
63
+ chart2: "var(--chart-2)",
64
+ chart3: "var(--chart-3)",
65
+ chart4: "var(--chart-4)",
66
+ chart5: "var(--chart-5)"
67
+ };
68
+ var SIDEBAR_TOKENS = {
69
+ sidebar: "var(--sidebar)",
70
+ sidebarForeground: "var(--sidebar-foreground)",
71
+ sidebarPrimary: "var(--sidebar-primary)",
72
+ sidebarPrimaryForeground: "var(--sidebar-primary-foreground)",
73
+ sidebarAccent: "var(--sidebar-accent)",
74
+ sidebarAccentForeground: "var(--sidebar-accent-foreground)",
75
+ sidebarBorder: "var(--sidebar-border)",
76
+ sidebarRing: "var(--sidebar-ring)"
77
+ };
78
+ // Annotate the CommonJS export names for ESM import in node:
79
+ 0 && (module.exports = {
80
+ CHART_TOKENS,
81
+ SEMANTIC_TOKENS,
82
+ SIDEBAR_TOKENS
83
+ });
84
+ //# sourceMappingURL=tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/design-system/tokens/index.ts"],"sourcesContent":["/**\n * Amoga Design System — Tokens Module\n *\n * Exposes design token constants and metadata for TypeScript usage.\n */\n\nexport const SEMANTIC_TOKENS = {\n background: 'var(--background)',\n foreground: 'var(--foreground)',\n card: 'var(--card)',\n cardForeground: 'var(--card-foreground)',\n popover: 'var(--popover)',\n popoverForeground: 'var(--popover-foreground)',\n primary: 'var(--primary)',\n primaryForeground: 'var(--primary-foreground)',\n secondary: 'var(--secondary)',\n secondaryForeground: 'var(--secondary-foreground)',\n muted: 'var(--muted)',\n mutedForeground: 'var(--muted-foreground)',\n accent: 'var(--accent)',\n accentForeground: 'var(--accent-foreground)',\n destructive: 'var(--destructive)',\n destructiveForeground: 'var(--destructive-foreground)',\n success: 'var(--success)',\n successForeground: 'var(--success-foreground)',\n warning: 'var(--warning)',\n warningForeground: 'var(--warning-foreground)',\n info: 'var(--info)',\n infoForeground: 'var(--info-foreground)',\n border: 'var(--border)',\n input: 'var(--input)',\n ring: 'var(--ring)',\n radius: 'var(--radius)',\n radiusSm: 'var(--radius-sm)',\n radiusMd: 'var(--radius-md)',\n radiusLg: 'var(--radius-lg)',\n radiusXl: 'var(--radius-xl)',\n} as const\n\nexport const CHART_TOKENS = {\n chart1: 'var(--chart-1)',\n chart2: 'var(--chart-2)',\n chart3: 'var(--chart-3)',\n chart4: 'var(--chart-4)',\n chart5: 'var(--chart-5)',\n} as const\n\nexport const SIDEBAR_TOKENS = {\n sidebar: 'var(--sidebar)',\n sidebarForeground: 'var(--sidebar-foreground)',\n sidebarPrimary: 'var(--sidebar-primary)',\n sidebarPrimaryForeground: 'var(--sidebar-primary-foreground)',\n sidebarAccent: 'var(--sidebar-accent)',\n sidebarAccentForeground: 'var(--sidebar-accent-foreground)',\n sidebarBorder: 'var(--sidebar-border)',\n sidebarRing: 'var(--sidebar-ring)',\n} as const\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,IAAM,kBAAkB;AAAA,EAC7B,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,qBAAqB;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AACZ;AAEO,IAAM,eAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AACV;AAEO,IAAM,iBAAiB;AAAA,EAC5B,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,0BAA0B;AAAA,EAC1B,eAAe;AAAA,EACf,yBAAyB;AAAA,EACzB,eAAe;AAAA,EACf,aAAa;AACf;","names":[]}
@@ -0,0 +1,58 @@
1
+ 'use client';
2
+
3
+ // src/design-system/tokens/index.ts
4
+ var SEMANTIC_TOKENS = {
5
+ background: "var(--background)",
6
+ foreground: "var(--foreground)",
7
+ card: "var(--card)",
8
+ cardForeground: "var(--card-foreground)",
9
+ popover: "var(--popover)",
10
+ popoverForeground: "var(--popover-foreground)",
11
+ primary: "var(--primary)",
12
+ primaryForeground: "var(--primary-foreground)",
13
+ secondary: "var(--secondary)",
14
+ secondaryForeground: "var(--secondary-foreground)",
15
+ muted: "var(--muted)",
16
+ mutedForeground: "var(--muted-foreground)",
17
+ accent: "var(--accent)",
18
+ accentForeground: "var(--accent-foreground)",
19
+ destructive: "var(--destructive)",
20
+ destructiveForeground: "var(--destructive-foreground)",
21
+ success: "var(--success)",
22
+ successForeground: "var(--success-foreground)",
23
+ warning: "var(--warning)",
24
+ warningForeground: "var(--warning-foreground)",
25
+ info: "var(--info)",
26
+ infoForeground: "var(--info-foreground)",
27
+ border: "var(--border)",
28
+ input: "var(--input)",
29
+ ring: "var(--ring)",
30
+ radius: "var(--radius)",
31
+ radiusSm: "var(--radius-sm)",
32
+ radiusMd: "var(--radius-md)",
33
+ radiusLg: "var(--radius-lg)",
34
+ radiusXl: "var(--radius-xl)"
35
+ };
36
+ var CHART_TOKENS = {
37
+ chart1: "var(--chart-1)",
38
+ chart2: "var(--chart-2)",
39
+ chart3: "var(--chart-3)",
40
+ chart4: "var(--chart-4)",
41
+ chart5: "var(--chart-5)"
42
+ };
43
+ var SIDEBAR_TOKENS = {
44
+ sidebar: "var(--sidebar)",
45
+ sidebarForeground: "var(--sidebar-foreground)",
46
+ sidebarPrimary: "var(--sidebar-primary)",
47
+ sidebarPrimaryForeground: "var(--sidebar-primary-foreground)",
48
+ sidebarAccent: "var(--sidebar-accent)",
49
+ sidebarAccentForeground: "var(--sidebar-accent-foreground)",
50
+ sidebarBorder: "var(--sidebar-border)",
51
+ sidebarRing: "var(--sidebar-ring)"
52
+ };
53
+ export {
54
+ CHART_TOKENS,
55
+ SEMANTIC_TOKENS,
56
+ SIDEBAR_TOKENS
57
+ };
58
+ //# sourceMappingURL=tokens.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/design-system/tokens/index.ts"],"sourcesContent":["/**\n * Amoga Design System — Tokens Module\n *\n * Exposes design token constants and metadata for TypeScript usage.\n */\n\nexport const SEMANTIC_TOKENS = {\n background: 'var(--background)',\n foreground: 'var(--foreground)',\n card: 'var(--card)',\n cardForeground: 'var(--card-foreground)',\n popover: 'var(--popover)',\n popoverForeground: 'var(--popover-foreground)',\n primary: 'var(--primary)',\n primaryForeground: 'var(--primary-foreground)',\n secondary: 'var(--secondary)',\n secondaryForeground: 'var(--secondary-foreground)',\n muted: 'var(--muted)',\n mutedForeground: 'var(--muted-foreground)',\n accent: 'var(--accent)',\n accentForeground: 'var(--accent-foreground)',\n destructive: 'var(--destructive)',\n destructiveForeground: 'var(--destructive-foreground)',\n success: 'var(--success)',\n successForeground: 'var(--success-foreground)',\n warning: 'var(--warning)',\n warningForeground: 'var(--warning-foreground)',\n info: 'var(--info)',\n infoForeground: 'var(--info-foreground)',\n border: 'var(--border)',\n input: 'var(--input)',\n ring: 'var(--ring)',\n radius: 'var(--radius)',\n radiusSm: 'var(--radius-sm)',\n radiusMd: 'var(--radius-md)',\n radiusLg: 'var(--radius-lg)',\n radiusXl: 'var(--radius-xl)',\n} as const\n\nexport const CHART_TOKENS = {\n chart1: 'var(--chart-1)',\n chart2: 'var(--chart-2)',\n chart3: 'var(--chart-3)',\n chart4: 'var(--chart-4)',\n chart5: 'var(--chart-5)',\n} as const\n\nexport const SIDEBAR_TOKENS = {\n sidebar: 'var(--sidebar)',\n sidebarForeground: 'var(--sidebar-foreground)',\n sidebarPrimary: 'var(--sidebar-primary)',\n sidebarPrimaryForeground: 'var(--sidebar-primary-foreground)',\n sidebarAccent: 'var(--sidebar-accent)',\n sidebarAccentForeground: 'var(--sidebar-accent-foreground)',\n sidebarBorder: 'var(--sidebar-border)',\n sidebarRing: 'var(--sidebar-ring)',\n} as const\n"],"mappings":";;;AAMO,IAAM,kBAAkB;AAAA,EAC7B,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,qBAAqB;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AACZ;AAEO,IAAM,eAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AACV;AAEO,IAAM,iBAAiB;AAAA,EAC5B,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,0BAA0B;AAAA,EAC1B,eAAe;AAAA,EACf,yBAAyB;AAAA,EACzB,eAAe;AAAA,EACf,aAAa;AACf;","names":[]}
package/package.json ADDED
@@ -0,0 +1,237 @@
1
+ {
2
+ "name": "@amogads/ui",
3
+ "version": "1.0.1",
4
+
5
+
6
+
7
+ "description": "Central Design System for Amoga applications",
8
+ "private": false,
9
+ "main": "./dist/index.js",
10
+ "module": "./dist/index.mjs",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.mjs",
16
+ "require": "./dist/index.js"
17
+ },
18
+ "./theme.css": "./dist/theme.css",
19
+ "./tokens": {
20
+ "types": "./dist/tokens.d.ts",
21
+ "import": "./dist/tokens.mjs",
22
+ "require": "./dist/tokens.js"
23
+ }
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md"
28
+ ],
29
+ "publishConfig": {
30
+ "access": "public",
31
+ "registry":"https://registry.npmjs.org"
32
+ },
33
+ "scripts": {
34
+ "dev": "next dev --turbo",
35
+ "build": "next build",
36
+ "build:package": "tsup",
37
+ "prepublishOnly": "npm run build:package",
38
+ "start": "next start",
39
+ "lint": "next lint",
40
+ "typecheck": "tsc --noEmit",
41
+ "consumers:status": "node scripts/track-consumers.mjs",
42
+ "consumers:upgrade": "node scripts/upgrade-consumers.mjs"
43
+ },
44
+
45
+ "peerDependencies": {
46
+ "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
47
+ "react": "^18.0.0 || ^19.0.0",
48
+ "react-dom": "^18.0.0 || ^19.0.0",
49
+ "tailwindcss": "^4.0.0"
50
+ },
51
+ "peerDependenciesMeta": {
52
+ "next": {
53
+ "optional": true
54
+ },
55
+ "tailwindcss": {
56
+ "optional": true
57
+ }
58
+ },
59
+
60
+ "dependencies": {
61
+ "@ai-sdk/anthropic": "^3.0.85",
62
+ "@ai-sdk/google": "^3.0.83",
63
+ "@ai-sdk/openai": "^3.0.73",
64
+ "@ai-sdk/react": "^3.0.209",
65
+ "@capacitor/android": "^8.4.2",
66
+ "@capacitor/app": "^8.1.1",
67
+ "@capacitor/browser": "^8.0.4",
68
+ "@capacitor/camera": "^8.2.1",
69
+ "@capacitor/cli": "^8.4.2",
70
+ "@capacitor/core": "^8.4.2",
71
+ "@capacitor/filesystem": "^8.1.2",
72
+ "@capacitor/geolocation": "^8.2.0",
73
+ "@capacitor/haptics": "^8.0.2",
74
+ "@capacitor/ios": "^8.4.2",
75
+ "@capacitor/network": "^8.0.1",
76
+ "@capacitor/push-notifications": "^8.1.2",
77
+ "@capacitor/splash-screen": "^8.0.2",
78
+ "@capgo/capacitor-document-scanner": "^8.4.2",
79
+ "@cle-does-things/pdfitdown": "^4.2.0",
80
+ "@cyntler/react-doc-viewer": "^1.17.1",
81
+ "@dnd-kit/core": "^6.3.1",
82
+ "@dnd-kit/sortable": "^10.0.0",
83
+ "@dnd-kit/utilities": "^3.2.2",
84
+ "@floating-ui/react": "^0.27.19",
85
+ "@google/genai": "^2.8.0",
86
+ "@google/generative-ai": "^0.24.1",
87
+ "@hookform/resolvers": "^5.2.2",
88
+ "@json-render/core": "^0.19.0",
89
+ "@json-render/react": "^0.19.0",
90
+ "@next/third-parties": "^16.2.10",
91
+ "@openrouter/ai-sdk-provider": "^2.9.1",
92
+ "@radix-ui/react-accordion": "^1.2.14",
93
+ "@radix-ui/react-alert-dialog": "^1.1.15",
94
+ "@radix-ui/react-avatar": "^1.1.11",
95
+ "@radix-ui/react-checkbox": "^1.3.3",
96
+ "@radix-ui/react-collapsible": "^1.1.12",
97
+ "@radix-ui/react-dialog": "^1.1.15",
98
+ "@radix-ui/react-direction": "^1.1.1",
99
+ "@radix-ui/react-dropdown-menu": "^2.1.18",
100
+ "@radix-ui/react-icons": "^1.3.2",
101
+ "@radix-ui/react-label": "^2.1.8",
102
+ "@radix-ui/react-popover": "^1.1.17",
103
+ "@radix-ui/react-progress": "^1.1.10",
104
+ "@radix-ui/react-radio-group": "^1.3.8",
105
+ "@radix-ui/react-scroll-area": "^1.2.10",
106
+ "@radix-ui/react-select": "^2.2.6",
107
+ "@radix-ui/react-separator": "^1.1.8",
108
+ "@radix-ui/react-slider": "^1.4.1",
109
+ "@radix-ui/react-slot": "^1.2.4",
110
+ "@radix-ui/react-switch": "^1.2.6",
111
+ "@radix-ui/react-tabs": "^1.1.13",
112
+ "@radix-ui/react-tooltip": "^1.2.8",
113
+ "@react-oauth/google": "^0.13.5",
114
+ "@supabase/phoenix": "^0.4.5",
115
+ "@supabase/ssr": "^0.12.0",
116
+ "@supabase/supabase-js": "^2.110.0",
117
+ "@tailwindcss/postcss": "^4.3.1",
118
+ "@tanstack/react-query": "^5.99.0",
119
+ "@tanstack/react-table": "^8.21.3",
120
+ "@tiptap/core": "^3.27.1",
121
+ "@tiptap/extension-bubble-menu": "^3.27.1",
122
+ "@tiptap/extension-code-block-lowlight": "^3.27.1",
123
+ "@tiptap/extension-color": "^3.27.1",
124
+ "@tiptap/extension-highlight": "^3.27.1",
125
+ "@tiptap/extension-horizontal-rule": "^3.27.1",
126
+ "@tiptap/extension-image": "^3.27.1",
127
+ "@tiptap/extension-list": "^3.27.1",
128
+ "@tiptap/extension-subscript": "^3.27.1",
129
+ "@tiptap/extension-superscript": "^3.27.1",
130
+ "@tiptap/extension-table": "^3.27.1",
131
+ "@tiptap/extension-text-align": "^3.27.1",
132
+ "@tiptap/extension-text-style": "^3.27.1",
133
+ "@tiptap/extension-typography": "^3.27.1",
134
+ "@tiptap/extensions": "^3.27.1",
135
+ "@tiptap/markdown": "^3.27.1",
136
+ "@tiptap/pm": "^3.27.1",
137
+ "@tiptap/react": "^3.27.1",
138
+ "@tiptap/starter-kit": "^3.27.1",
139
+ "@use-gesture/react": "^10.3.1",
140
+ "@vercel/analytics": "^2.0.1",
141
+ "@zrimo/viewer": "^0.1.1",
142
+ "ai": "^6.0.208",
143
+ "axios": "^1.18.0",
144
+ "class-variance-authority": "^0.7.1",
145
+ "clsx": "^2.1.1",
146
+ "cmdk": "1.1.1",
147
+ "convertapi": "^1.15.0",
148
+ "date-fns": "^4.1.0",
149
+ "docx": "^9.7.1",
150
+ "docx-preview": "^0.4.0",
151
+ "embla-carousel-react": "^8.6.0",
152
+ "fast-deep-equal": "^3.1.3",
153
+ "firebase-admin": "^14.2.0",
154
+ "framer-motion": "^12.42.2",
155
+ "he-tree-react": "^1.3.1",
156
+ "highlight.js": "^11.11.1",
157
+ "html2canvas": "^1.4.1",
158
+ "icons": "^1.0.0",
159
+ "imapflow": "^1.7.0",
160
+ "immer": "^11.1.8",
161
+ "input-otp": "^1.4.2",
162
+ "jspdf": "^4.2.1",
163
+ "jwt-decode": "^4.0.0",
164
+ "lodash.throttle": "^4.1.1",
165
+ "lowlight": "^3.3.0",
166
+ "lucide-react": "^1.21.0",
167
+ "mailparser": "^3.9.15",
168
+ "mammoth": "^1.12.0",
169
+ "maplibre-gl": "^5.24.0",
170
+ "next": "^16.3.0-preview.10",
171
+ "next-auth": "^4.24.15",
172
+ "next-themes": "^0.4.6",
173
+ "node-convert": "^0.1.1",
174
+ "nodemailer": "^9.0.5",
175
+ "object-hash": "^3.0.0",
176
+ "pdf-lib": "^1.17.1",
177
+ "pdf-parse": "^1.1.4",
178
+ "pdf2json": "^4.0.3",
179
+ "pdfjs-dist": "^3.11.174",
180
+ "radix-ui": "^1.6.0",
181
+ "react": "^19.2.8",
182
+ "react-day-picker": "^10.0.1",
183
+ "react-dom": "^19.2.8",
184
+ "react-error-boundary": "^6.1.2",
185
+ "react-hook-form": "^7.72.1",
186
+ "react-hotkeys-hook": "^5.3.2",
187
+ "react-icons": "^5.6.0",
188
+ "react-is": "^19.2.7",
189
+ "react-markdown": "^9.1.0",
190
+ "react-medium-image-zoom": "^5.4.8",
191
+ "react-qr-code": "^2.2.0",
192
+ "react-resizable-panels": "^4.11.2",
193
+ "react-syntax-highlighter": "^16.1.1",
194
+ "react-top-loading-bar": "^3.0.2",
195
+ "react-zoom-pan-pinch": "^4.0.3",
196
+ "recharts": "^3.8.0",
197
+ "remark-gfm": "^4.0.1",
198
+ "remark-math": "^6.0.0",
199
+ "sass": "^1.102.0",
200
+ "sonner": "^2.0.7",
201
+ "tailwind-merge": "^3.5.0",
202
+ "tailwindcss": "^4.2.2",
203
+ "tesseract.js": "^7.0.0",
204
+ "tw-animate-css": "^1.4.0",
205
+ "vaul": "^1.1.2",
206
+ "xlsx": "^0.18.5",
207
+ "zod": "^4.4.3",
208
+ "zundo": "^2.3.0",
209
+ "zustand": "^4.5.5"
210
+ },
211
+ "devDependencies": {
212
+ "@base-ui/react": "^1.6.0",
213
+ "@capgo/cli": "^8.31.1",
214
+ "@eslint/js": "^10.0.1",
215
+ "@faker-js/faker": "^10.4.0",
216
+ "@tailwindcss/typography": "^0.5.20",
217
+ "@tanstack/react-query-devtools": "^5.99.0",
218
+ "@trivago/prettier-plugin-sort-imports": "^6.0.2",
219
+ "@types/geojson": "^7946.0.16",
220
+ "@types/lodash.throttle": "^4.1.9",
221
+ "@types/mailparser": "^3.4.6",
222
+ "@types/node": "^25.6.0",
223
+ "@types/nodemailer": "^8.0.1",
224
+ "@types/object-hash": "^3.0.6",
225
+ "@types/react": "^19.2.17",
226
+ "@types/react-dom": "^19.2.3",
227
+ "@types/react-syntax-highlighter": "^15.5.13",
228
+ "eslint": "^10.2.1",
229
+ "globals": "^17.5.0",
230
+ "prettier": "^3.8.3",
231
+ "prettier-plugin-tailwindcss": "^0.7.2",
232
+ "sass-embedded": "^1.100.0",
233
+ "tsup": "^8.5.1",
234
+ "typescript": "~6.0.3",
235
+ "typescript-eslint": "^8.58.2"
236
+ }
237
+ }