@exsto/ds 0.0.1-rc.1 → 0.0.1-rc.3

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/styles.css CHANGED
@@ -124,6 +124,8 @@
124
124
  --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
125
125
  --default-font-family: var(--font-sans);
126
126
  --default-mono-font-family: var(--font-mono);
127
+ --text-2xs: 10px;
128
+ --text-2xs--line-height: 14px;
127
129
  --color-border: var(--border);
128
130
  }
129
131
  }
@@ -2277,6 +2279,11 @@
2277
2279
  font-family: var(--font-sans);
2278
2280
  }
2279
2281
 
2282
+ .text-2xs {
2283
+ font-size: var(--text-2xs);
2284
+ line-height: var(--tw-leading, var(--text-2xs--line-height));
2285
+ }
2286
+
2280
2287
  .text-base {
2281
2288
  font-size: var(--text-base);
2282
2289
  line-height: var(--tw-leading, var(--text-base--line-height));
@@ -2806,6 +2813,10 @@
2806
2813
  --tw-exit-opacity: 0;
2807
2814
  }
2808
2815
 
2816
+ .running {
2817
+ animation-play-state: running;
2818
+ }
2819
+
2809
2820
  .group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *) {
2810
2821
  opacity: 1;
2811
2822
  }
@@ -5451,6 +5462,10 @@
5451
5462
  display: flex;
5452
5463
  }
5453
5464
 
5465
+ .md\:table-cell {
5466
+ display: table-cell;
5467
+ }
5468
+
5454
5469
  .md\:flex-row {
5455
5470
  flex-direction: row;
5456
5471
  }
package/dist/theme.css ADDED
@@ -0,0 +1,241 @@
1
+ /*
2
+ * @exsto/ds design tokens and their Tailwind mapping, uncompiled.
3
+ *
4
+ * Import this when you want the design system vocabulary (bg-card,
5
+ * text-muted-foreground, rounded-lg, font-sans, text-2xs, ...) in your OWN
6
+ * markup. styles.css styles the components; this gives your Tailwind build
7
+ * the tokens behind them.
8
+ *
9
+ * ORDER MATTERS. styles.css goes FIRST, before your Tailwind entry:
10
+ *
11
+ * @import "@exsto/ds/styles.css";
12
+ * @import "tailwindcss";
13
+ * @import "@exsto/ds/theme.css";
14
+ *
15
+ * styles.css is a compiled Tailwind build, so its utilities land in the same
16
+ * cascade layer as yours and whichever comes last wins. Import it after your
17
+ * Tailwind and its unconditional .hidden beats your .md:table-cell, which
18
+ * silently drops responsive markup.
19
+ */
20
+
21
+ @custom-variant dark (&:is(.dark *));
22
+ /*
23
+ * Brand layer.
24
+ *
25
+ * The colour ramps come from Tailwind v4 unchanged. The design system is built on
26
+ * the stock palette so the Figma library (Tailwind v4 + shadcn, style Nova) and the
27
+ * code cannot drift apart: there is no value here to keep in sync, because nothing
28
+ * here redefines a colour. The exact shadcn neutral semantic theme lives in
29
+ * tokens.css.
30
+ *
31
+ * The legacy Exsto palette this file used to carry was dropped when the design team
32
+ * moved to Tailwind defaults. It is in git history if a legacy surface ever needs it.
33
+ */
34
+
35
+ @theme {
36
+ /* Inter is the typeface for the whole system. */
37
+ --font-sans: 'Inter', sans-serif;
38
+
39
+ /*
40
+ * The one step Tailwind's type scale does not have: a 10/14 footnote, used by
41
+ * badges, chips and dense table headers. Everything else is stock.
42
+ */
43
+ --text-2xs: 10px;
44
+ --text-2xs--line-height: 14px;
45
+ }
46
+
47
+ @layer base {
48
+ :root {
49
+ color-scheme: light;
50
+ }
51
+
52
+ :root.dark,
53
+ .dark {
54
+ color-scheme: dark;
55
+ }
56
+ }
57
+
58
+ /* Current shadcn Base Nova neutral theme. Product branding belongs in a separate layer. */
59
+ /* Base Nova deliberately uses the same black/10 backdrop in both modes; component-level backdrop blur supplies the remaining separation. */
60
+
61
+ :root {
62
+ --radius: 0.625rem;
63
+
64
+ --background: oklch(1 0 0);
65
+ --foreground: oklch(0.145 0 0);
66
+
67
+ --card: oklch(1 0 0);
68
+ --card-foreground: oklch(0.145 0 0);
69
+
70
+ --popover: oklch(1 0 0);
71
+ --popover-foreground: oklch(0.145 0 0);
72
+ --overlay: oklch(0 0 0 / 10%);
73
+
74
+ --primary: oklch(0.205 0 0);
75
+ --primary-foreground: oklch(0.985 0 0);
76
+
77
+ --secondary: oklch(0.97 0 0);
78
+ --secondary-foreground: oklch(0.205 0 0);
79
+
80
+ --muted: oklch(0.97 0 0);
81
+ --muted-foreground: oklch(0.556 0 0);
82
+
83
+ --accent: oklch(0.97 0 0);
84
+ --accent-foreground: oklch(0.205 0 0);
85
+
86
+ --destructive: oklch(0.505 0.213 27.518);
87
+ --destructive-foreground: oklch(0.985 0 0);
88
+
89
+ --success: oklch(0.448 0.119 151.328);
90
+ --success-foreground: oklch(0.979 0.021 166.113);
91
+ --success-ring: oklch(0.905 0.093 164.15);
92
+
93
+ --warning: oklch(0.473 0.137 46.201);
94
+ --warning-foreground: oklch(0.987 0.022 95.277);
95
+ --warning-ring: oklch(0.924 0.12 95.746);
96
+
97
+ --info: oklch(0.5 0.134 242.749);
98
+ --info-foreground: oklch(0.977 0.013 236.62);
99
+ --info-ring: oklch(0.901 0.058 230.902);
100
+
101
+ --border: oklch(0.922 0 0);
102
+ --input: oklch(0.922 0 0);
103
+ --ring: oklch(0.708 0 0);
104
+
105
+ --chart-1: oklch(0.646 0.222 41.116);
106
+ --chart-2: oklch(0.6 0.118 184.704);
107
+ --chart-3: oklch(0.398 0.07 227.392);
108
+ --chart-4: oklch(0.828 0.189 84.429);
109
+ --chart-5: oklch(0.769 0.188 70.08);
110
+
111
+ --sidebar: oklch(0.985 0 0);
112
+ --sidebar-foreground: oklch(0.145 0 0);
113
+ --sidebar-primary: oklch(0.205 0 0);
114
+ --sidebar-primary-foreground: oklch(0.985 0 0);
115
+ --sidebar-accent: oklch(0.97 0 0);
116
+ --sidebar-accent-foreground: oklch(0.205 0 0);
117
+ --sidebar-border: oklch(0.922 0 0);
118
+ --sidebar-ring: oklch(0.708 0 0);
119
+ }
120
+
121
+ .dark {
122
+ --background: oklch(0.145 0 0);
123
+ --foreground: oklch(0.985 0 0);
124
+
125
+ --card: oklch(0.205 0 0);
126
+ --card-foreground: oklch(0.985 0 0);
127
+
128
+ --popover: oklch(0.205 0 0);
129
+ --popover-foreground: oklch(0.985 0 0);
130
+ --overlay: oklch(0 0 0 / 10%);
131
+
132
+ --primary: oklch(0.922 0 0);
133
+ --primary-foreground: oklch(0.205 0 0);
134
+
135
+ --secondary: oklch(0.269 0 0);
136
+ --secondary-foreground: oklch(0.985 0 0);
137
+
138
+ --muted: oklch(0.269 0 0);
139
+ --muted-foreground: oklch(0.708 0 0);
140
+
141
+ --accent: oklch(0.269 0 0);
142
+ --accent-foreground: oklch(0.985 0 0);
143
+
144
+ --destructive: oklch(0.704 0.191 22.216);
145
+ --destructive-foreground: oklch(0.985 0 0);
146
+
147
+ --success: oklch(0.792 0.209 151.711);
148
+ --success-foreground: oklch(0.262 0.051 172.552);
149
+ --success-ring: oklch(0.432 0.095 166.913);
150
+
151
+ --warning: oklch(0.879 0.169 91.605);
152
+ --warning-foreground: oklch(0.279 0.077 45.635);
153
+ --warning-ring: oklch(0.473 0.137 46.201);
154
+
155
+ --info: oklch(0.828 0.111 230.318);
156
+ --info-foreground: oklch(0.293 0.066 243.157);
157
+ --info-ring: oklch(0.443 0.11 240.79);
158
+
159
+ --border: oklch(1 0 0 / 10%);
160
+ --input: oklch(1 0 0 / 15%);
161
+ --ring: oklch(0.556 0 0);
162
+
163
+ --chart-1: oklch(0.488 0.243 264.376);
164
+ --chart-2: oklch(0.696 0.17 162.48);
165
+ --chart-3: oklch(0.769 0.188 70.08);
166
+ --chart-4: oklch(0.627 0.265 303.9);
167
+ --chart-5: oklch(0.645 0.246 16.439);
168
+
169
+ --sidebar: oklch(0.205 0 0);
170
+ --sidebar-foreground: oklch(0.985 0 0);
171
+ --sidebar-primary: oklch(0.488 0.243 264.376);
172
+ --sidebar-primary-foreground: oklch(0.985 0 0);
173
+ --sidebar-accent: oklch(0.269 0 0);
174
+ --sidebar-accent-foreground: oklch(0.985 0 0);
175
+ --sidebar-border: oklch(1 0 0 / 10%);
176
+ --sidebar-ring: oklch(0.556 0 0);
177
+ }
178
+
179
+ @theme inline {
180
+ --radius-sm: calc(var(--radius) * 0.6);
181
+ --radius-md: calc(var(--radius) * 0.8);
182
+ --radius-lg: var(--radius);
183
+ --radius-xl: calc(var(--radius) * 1.4);
184
+ --radius-2xl: calc(var(--radius) * 1.8);
185
+ --radius-3xl: calc(var(--radius) * 2.2);
186
+ --radius-4xl: calc(var(--radius) * 2.6);
187
+ --color-background: var(--background);
188
+ --color-foreground: var(--foreground);
189
+ --color-card: var(--card);
190
+ --color-card-foreground: var(--card-foreground);
191
+ --color-popover: var(--popover);
192
+ --color-popover-foreground: var(--popover-foreground);
193
+ --color-overlay: var(--overlay);
194
+ --color-primary: var(--primary);
195
+ --color-primary-foreground: var(--primary-foreground);
196
+ --color-secondary: var(--secondary);
197
+ --color-secondary-foreground: var(--secondary-foreground);
198
+ --color-muted: var(--muted);
199
+ --color-muted-foreground: var(--muted-foreground);
200
+ --color-accent: var(--accent);
201
+ --color-accent-foreground: var(--accent-foreground);
202
+ --color-destructive: var(--destructive);
203
+ --color-destructive-foreground: var(--destructive-foreground);
204
+ --color-success: var(--success);
205
+ --color-success-foreground: var(--success-foreground);
206
+ --color-success-ring: var(--success-ring);
207
+ --color-warning: var(--warning);
208
+ --color-warning-foreground: var(--warning-foreground);
209
+ --color-warning-ring: var(--warning-ring);
210
+ --color-info: var(--info);
211
+ --color-info-foreground: var(--info-foreground);
212
+ --color-info-ring: var(--info-ring);
213
+ --color-border: var(--border);
214
+ --color-input: var(--input);
215
+ --color-ring: var(--ring);
216
+ --color-chart-1: var(--chart-1);
217
+ --color-chart-2: var(--chart-2);
218
+ --color-chart-3: var(--chart-3);
219
+ --color-chart-4: var(--chart-4);
220
+ --color-chart-5: var(--chart-5);
221
+ --color-sidebar: var(--sidebar);
222
+ --color-sidebar-foreground: var(--sidebar-foreground);
223
+ --color-sidebar-primary: var(--sidebar-primary);
224
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
225
+ --color-sidebar-accent: var(--sidebar-accent);
226
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
227
+ --color-sidebar-border: var(--sidebar-border);
228
+ --color-sidebar-ring: var(--sidebar-ring);
229
+ }
230
+
231
+ /* Indeterminate progress: a one-third-width bar sweeping the track.
232
+ Percentages are relative to the indicator's own width (w-1/3 of the track),
233
+ so -100% starts fully off the left edge and 300% exits the right edge. */
234
+ @keyframes progress-indeterminate {
235
+ from {
236
+ translate: -100% 0;
237
+ }
238
+ to {
239
+ translate: 300% 0;
240
+ }
241
+ }
@@ -0,0 +1,2 @@
1
+ // Side-effect stylesheet; importing it has no type surface.
2
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exsto/ds",
3
- "version": "0.0.1-rc.1",
3
+ "version": "0.0.1-rc.3",
4
4
  "description": "The eDynamix design system: React components, design tokens, and optional web components.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -36,6 +36,10 @@
36
36
  "types": "./dist/styles.css.d.ts",
37
37
  "default": "./dist/styles.css"
38
38
  },
39
+ "./theme.css": {
40
+ "types": "./dist/theme.css.d.ts",
41
+ "default": "./dist/theme.css"
42
+ },
39
43
  "./package.json": "./package.json"
40
44
  },
41
45
  "scripts": {