@orion-ds/react 4.9.8 → 5.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/README.md +47 -3
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.types.d.ts.map +1 -1
- package/dist/blocks/sections/Blog/Blog.d.ts.map +1 -1
- package/dist/blocks/sections/CTA/CTA.d.ts.map +1 -1
- package/dist/blocks/sections/CTA/CTA.mjs +1 -7
- package/dist/blocks/sections/CarouselSection/CarouselCard.d.ts.map +1 -1
- package/dist/blocks/sections/CarouselSection/CarouselSection.d.ts.map +1 -1
- package/dist/blocks/sections/Contact/Contact.d.ts.map +1 -1
- package/dist/blocks/sections/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/blocks/sections/EmptyState/EmptyState.mjs +1 -7
- package/dist/blocks/sections/Features/Features.d.ts.map +1 -1
- package/dist/blocks/sections/Features/Features.mjs +7 -14
- package/dist/blocks/sections/Features/index.d.ts +1 -1
- package/dist/blocks/sections/Features/index.d.ts.map +1 -1
- package/dist/blocks/sections/Footer/Footer.d.ts.map +1 -1
- package/dist/blocks/sections/Footer/Footer.mjs +1 -9
- package/dist/blocks/sections/Gallery/Gallery.d.ts.map +1 -1
- package/dist/blocks/sections/Gallery/Gallery.mjs +1 -8
- package/dist/blocks/sections/Hero/Hero.cjs +1 -1
- package/dist/blocks/sections/Hero/Hero.d.ts +5 -4
- package/dist/blocks/sections/Hero/Hero.d.ts.map +1 -1
- package/dist/blocks/sections/Hero/Hero.mjs +95 -35
- package/dist/blocks/sections/Hero/Hero.module.css +1 -1
- package/dist/blocks/sections/Hero/Hero.module.css.cjs +1 -1
- package/dist/blocks/sections/Hero/Hero.module.css.mjs +48 -24
- package/dist/blocks/sections/Hero/Hero.types.d.ts +140 -23
- package/dist/blocks/sections/Hero/Hero.types.d.ts.map +1 -1
- package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -1
- package/dist/blocks/sections/Hero/HeroHighlight.d.ts +4 -2
- package/dist/blocks/sections/Hero/HeroHighlight.d.ts.map +1 -1
- package/dist/blocks/sections/Hero/HeroHighlight.mjs +2 -5
- package/dist/blocks/sections/Newsletter/Newsletter.d.ts.map +1 -1
- package/dist/blocks/sections/Pricing/PricingCard.d.ts.map +1 -1
- package/dist/blocks/sections/Pricing/index.d.ts +1 -1
- package/dist/blocks/sections/Pricing/index.d.ts.map +1 -1
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -1
- package/dist/blocks/sections/Stats/Stats.d.ts.map +1 -1
- package/dist/blocks/sections/Stepper/Stepper.d.ts.map +1 -1
- package/dist/blocks/sections/Testimonials/Testimonials.d.ts.map +1 -1
- package/dist/blocks/sections/Testimonials/Testimonials.mjs +9 -9
- package/dist/blocks/sections/Timeline/Timeline.d.ts.map +1 -1
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.d.ts.map +1 -1
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.mjs +1 -9
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css +1 -1
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs +1 -1
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs +28 -28
- package/dist/blocks/templates/app/AgentWorkspace/index.d.ts +1 -1
- package/dist/blocks/templates/app/AgentWorkspace/index.d.ts.map +1 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css +1 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs +1 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs +41 -41
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css +1 -1
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs +1 -1
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs +45 -45
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css +1 -1
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs +1 -1
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs +52 -52
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.d.ts.map +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs +30 -30
- package/dist/blocks/templates/app/ProfilePageTemplate/index.d.ts +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/index.d.ts.map +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs +37 -37
- package/dist/blocks/templates/app/SettingsTemplate/index.d.ts +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/index.d.ts.map +1 -1
- package/dist/blocks.css +7 -7
- package/dist/components/Button/Button.module.css +1 -1
- package/dist/components/Button/Button.module.css.cjs +1 -1
- package/dist/components/Button/Button.module.css.mjs +28 -28
- package/dist/styles.css +111 -3
- package/dist/theme.css +110 -2
- package/package.json +6 -5
package/dist/theme.css
CHANGED
|
@@ -106,6 +106,11 @@
|
|
|
106
106
|
--blur-md: 8px;
|
|
107
107
|
--blur-lg: 12px;
|
|
108
108
|
--blur-xl: 24px;
|
|
109
|
+
|
|
110
|
+
/* Hover Animation Tokens */
|
|
111
|
+
--mode-hover-lift: -2px;
|
|
112
|
+
--mode-shadow-hover: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
|
|
113
|
+
--mode-hover-duration: 200ms;
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
/* ─── Light Theme Semantics ─── */
|
|
@@ -279,29 +284,132 @@
|
|
|
279
284
|
|
|
280
285
|
/* ─── Deepblue Radius ─── */
|
|
281
286
|
[data-brand="deepblue"] {
|
|
287
|
+
/* Deepblue brand colors */
|
|
288
|
+
--color-brand-50: #e6f2ff;
|
|
289
|
+
--color-brand-100: #b3d9ff;
|
|
290
|
+
--color-brand-200: #80bfff;
|
|
291
|
+
--color-brand-300: #4da6ff;
|
|
292
|
+
--color-brand-400: #1a8cff;
|
|
293
|
+
--color-brand-500: #006FBA;
|
|
294
|
+
--color-brand-600: #0062a6;
|
|
295
|
+
--color-brand-700: #005592;
|
|
296
|
+
--color-brand-800: #00487d;
|
|
297
|
+
--color-brand-900: #003b69;
|
|
298
|
+
--color-brand-950: #002540;
|
|
282
299
|
/* Derived: button="md" (12px) → container="xl" (24px) */
|
|
283
300
|
--radius-button: var(--radius-md);
|
|
284
301
|
--radius-container: var(--radius-xl);
|
|
285
302
|
}
|
|
286
303
|
|
|
287
304
|
/* ─── Red Radius ─── */
|
|
305
|
+
/* ─── RED Brand Override ─── */
|
|
288
306
|
[data-brand="red"] {
|
|
307
|
+
/* Red brand colors */
|
|
308
|
+
--color-brand-50: #fdf2f2;
|
|
309
|
+
--color-brand-100: #fde8e8;
|
|
310
|
+
--color-brand-200: #fbd5d5;
|
|
311
|
+
--color-brand-300: #f8b4b4;
|
|
312
|
+
--color-brand-400: #f08282;
|
|
313
|
+
--color-brand-500: #D7282F;
|
|
314
|
+
--color-brand-600: #b91c22;
|
|
315
|
+
--color-brand-700: #93151b;
|
|
316
|
+
--color-brand-800: #7a151b;
|
|
317
|
+
--color-brand-900: #661619;
|
|
318
|
+
--color-brand-950: #3b090b;
|
|
289
319
|
/* Derived: button="full" (9999px) → container="3xl" (36px) */
|
|
290
320
|
--radius-button: var(--radius-full);
|
|
291
321
|
--radius-container: var(--radius-3xl);
|
|
292
322
|
}
|
|
293
323
|
|
|
294
|
-
/* ───
|
|
324
|
+
/* ─── ORANGE Brand Override ─── */
|
|
295
325
|
[data-brand="orange"] {
|
|
326
|
+
/* Orange brand colors */
|
|
327
|
+
--color-brand-50: #fef0eb;
|
|
328
|
+
--color-brand-100: #fdd5c9;
|
|
329
|
+
--color-brand-200: #fcb9a5;
|
|
330
|
+
--color-brand-300: #fa9d80;
|
|
331
|
+
--color-brand-400: #f87d52;
|
|
332
|
+
--color-brand-500: #F15D22;
|
|
333
|
+
--color-brand-600: #d9531f;
|
|
334
|
+
--color-brand-700: #c0491b;
|
|
335
|
+
--color-brand-800: #a63f17;
|
|
336
|
+
--color-brand-900: #8c3513;
|
|
337
|
+
--color-brand-950: #59220c;
|
|
296
338
|
/* Derived: button="full" (9999px) → container="3xl" (36px) */
|
|
297
339
|
--radius-button: var(--radius-full);
|
|
298
340
|
--radius-container: var(--radius-3xl);
|
|
299
341
|
}
|
|
300
342
|
|
|
301
|
-
/* ───
|
|
343
|
+
/* ─── LEMON Brand Override ─── */
|
|
302
344
|
[data-brand="lemon"] {
|
|
345
|
+
/* Lemon brand colors */
|
|
346
|
+
--color-brand-50: #F4FFE6;
|
|
347
|
+
--color-brand-100: #E5FFCC;
|
|
348
|
+
--color-brand-200: #CCFFAA;
|
|
349
|
+
--color-brand-300: #A8FF77;
|
|
350
|
+
--color-brand-400: #8DFF5C;
|
|
351
|
+
--color-brand-500: #72FF43;
|
|
352
|
+
--color-brand-600: #5CE629;
|
|
353
|
+
--color-brand-700: #47B31A;
|
|
354
|
+
--color-brand-800: #358C14;
|
|
355
|
+
--color-brand-900: #266B0F;
|
|
356
|
+
--color-brand-950: #1A4A0A;
|
|
303
357
|
/* Derived: button="full" (9999px) → container="3xl" (36px) */
|
|
304
358
|
--radius-button: var(--radius-full);
|
|
305
359
|
--radius-container: var(--radius-3xl);
|
|
306
360
|
}
|
|
307
361
|
|
|
362
|
+
/* ─── EMBER Brand Override ─── */
|
|
363
|
+
[data-brand="ember"] {
|
|
364
|
+
/* Ember brand: Neutral palette with black primary buttons */
|
|
365
|
+
--color-brand-50: #f8fafc;
|
|
366
|
+
--color-brand-100: #f1f5f9;
|
|
367
|
+
--color-brand-200: #e2e8f0;
|
|
368
|
+
--color-brand-300: #cbd5e1;
|
|
369
|
+
--color-brand-400: #94a3b8;
|
|
370
|
+
--color-brand-500: #475569;
|
|
371
|
+
--color-brand-600: #334155;
|
|
372
|
+
--color-brand-700: #1e293b;
|
|
373
|
+
--color-brand-800: #0f172a;
|
|
374
|
+
--color-brand-900: #020617;
|
|
375
|
+
--color-brand-950: #000000;
|
|
376
|
+
/* Derived: button="md" (12px radius, more refined than pill) */
|
|
377
|
+
--radius-button: var(--radius-md);
|
|
378
|
+
--radius-container: var(--radius-xl);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* ─── Brand-Specific Semantic Overrides ─── */
|
|
382
|
+
/* Orion, Red, Orange, Deepblue: interactive primary text is ALWAYS white */
|
|
383
|
+
[data-theme="light"][data-brand="orion"],
|
|
384
|
+
[data-theme="dark"][data-brand="orion"],
|
|
385
|
+
[data-theme="light"][data-brand="red"],
|
|
386
|
+
[data-theme="dark"][data-brand="red"],
|
|
387
|
+
[data-theme="light"][data-brand="orange"],
|
|
388
|
+
[data-theme="dark"][data-brand="orange"],
|
|
389
|
+
[data-theme="light"][data-brand="deepblue"],
|
|
390
|
+
[data-theme="dark"][data-brand="deepblue"] {
|
|
391
|
+
--interactive-primary-text: var(--color-neutral-0);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/* Lemon: dark text in light mode, white in dark mode */
|
|
395
|
+
[data-theme="light"][data-brand="lemon"] {
|
|
396
|
+
--interactive-primary-text: var(--color-neutral-1000);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
[data-theme="dark"][data-brand="lemon"] {
|
|
400
|
+
--interactive-primary-text: var(--color-neutral-0);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* Ember: Black primary buttons in light mode, light grey in dark mode */
|
|
404
|
+
[data-theme="light"][data-brand="ember"] {
|
|
405
|
+
--interactive-primary: var(--color-neutral-900);
|
|
406
|
+
--interactive-primary-hover: var(--color-neutral-700);
|
|
407
|
+
--interactive-primary-text: var(--color-neutral-0);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
[data-theme="dark"][data-brand="ember"] {
|
|
411
|
+
--interactive-primary: var(--color-neutral-100);
|
|
412
|
+
--interactive-primary-hover: var(--color-neutral-0);
|
|
413
|
+
--interactive-primary-text: var(--color-neutral-900);
|
|
414
|
+
}
|
|
415
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-ds/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Orion Design System - React component library with 40+ AI-ready components and 9 templates",
|
|
6
6
|
"author": "Orion Design System Team",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"import": "./dist/blocks/index.mjs",
|
|
39
39
|
"require": "./dist/blocks/index.cjs"
|
|
40
40
|
},
|
|
41
|
-
"./templates": {
|
|
42
|
-
"types": "./dist/templates/index.d.ts",
|
|
43
|
-
"import": "./dist/templates/index.mjs",
|
|
44
|
-
"require": "./dist/templates/index.cjs"
|
|
41
|
+
"./blocks/templates": {
|
|
42
|
+
"types": "./dist/blocks/templates/index.d.ts",
|
|
43
|
+
"import": "./dist/blocks/templates/index.mjs",
|
|
44
|
+
"require": "./dist/blocks/templates/index.cjs"
|
|
45
45
|
},
|
|
46
46
|
"./chart": {
|
|
47
47
|
"types": "./dist/chart.d.ts",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"BUNDLE_OPTIMIZATION.md"
|
|
81
81
|
],
|
|
82
82
|
"scripts": {
|
|
83
|
+
"postinstall": "node scripts/validate-install.js",
|
|
83
84
|
"copy:assets": "mkdir -p assets/tokens && cp ../../theme.css assets/theme.css && cp ../../tokens/generated.css assets/tokens/generated.css",
|
|
84
85
|
"build": "npm run copy:assets && vite build && npm run build:styles",
|
|
85
86
|
"build:styles": "node scripts/bundle-styles.js",
|