@regardio/brand 0.8.1 → 0.9.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 (36) hide show
  1. package/README.md +8 -5
  2. package/dist/components/button.stories.d.mts +103 -63
  3. package/dist/generated/icons/regardio-ensemble-icon-color-full.mjs +136 -136
  4. package/dist/generated/icons/regardio-ensemble-icon-color.mjs +136 -136
  5. package/dist/generated/icons/{regardio-system-zest-icon.d.mts → system-layer-bridges-icon.d.mts} +3 -3
  6. package/dist/generated/icons/{regardio-system-bridge-icon.mjs → system-layer-bridges-icon.mjs} +4 -4
  7. package/dist/generated/icons/{regardio-system-plan-icon.d.mts → system-layer-circles-icon.d.mts} +3 -3
  8. package/dist/generated/icons/{regardio-system-circle-icon.mjs → system-layer-circles-icon.mjs} +3 -3
  9. package/dist/generated/icons/{regardio-system-spark-icon.d.mts → system-layer-facets-icon.d.mts} +3 -3
  10. package/dist/generated/icons/{regardio-system-facet-icon.mjs → system-layer-facets-icon.mjs} +4 -4
  11. package/dist/generated/icons/{regardio-system-facet-icon.d.mts → system-layer-plans-icon.d.mts} +3 -3
  12. package/dist/generated/icons/system-layer-plans-icon.mjs +19 -0
  13. package/dist/generated/icons/system-layer-pursuits-icon.d.mts +14 -0
  14. package/dist/generated/icons/{regardio-system-pursuit-icon.mjs → system-layer-pursuits-icon.mjs} +4 -4
  15. package/dist/generated/icons/system-layer-sources-icon.d.mts +14 -0
  16. package/dist/generated/icons/system-layer-sources-icon.mjs +19 -0
  17. package/dist/generated/sprites/compass-sprite-provider.mjs +323 -293
  18. package/dist/generated/sprites/compass-sprite.d.mts +5 -4
  19. package/dist/generated/sprites/compass-sprite.mjs +54 -3
  20. package/dist/styles/grid.css +47 -5
  21. package/dist/styles/index.css +3 -0
  22. package/dist/styles/tokens.css +1 -1
  23. package/dist/styles/typography.css +14 -32
  24. package/dist/styles/utopia.css +59 -0
  25. package/package.json +39 -40
  26. package/src/styles/grid.css +47 -5
  27. package/src/styles/index.css +3 -0
  28. package/src/styles/tokens.css +1 -1
  29. package/src/styles/typography.css +14 -32
  30. package/src/styles/utopia.css +59 -0
  31. package/dist/generated/icons/regardio-system-bridge-icon.d.mts +0 -14
  32. package/dist/generated/icons/regardio-system-circle-icon.d.mts +0 -14
  33. package/dist/generated/icons/regardio-system-plan-icon.mjs +0 -19
  34. package/dist/generated/icons/regardio-system-pursuit-icon.d.mts +0 -14
  35. package/dist/generated/icons/regardio-system-spark-icon.mjs +0 -19
  36. package/dist/generated/icons/regardio-system-zest-icon.mjs +0 -19
@@ -1,7 +1,11 @@
1
1
  /**
2
2
  * Typography System
3
- * Fluid typography using viewport-based scaling with Georama Variable font
4
- * Scales automatically between 320px and 2560px viewports
3
+ * Fluid typography using Utopia scales with Georama Variable font
4
+ *
5
+ * Uses Utopia --step-* tokens for fluid type scaling.
6
+ * Base font size (--step-0) applied to body, not html, to avoid interfering with other tools.
7
+ *
8
+ * @link https://utopia.fyi/type/calculator
5
9
  */
6
10
 
7
11
  @import "@fontsource-variable/georama";
@@ -12,22 +16,6 @@
12
16
  --font-mono:
13
17
  ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
14
18
 
15
- /* Fluid font sizes - viewport-based scaling */
16
- /* Base: 16px at 320px viewport, scales to 18px at 2560px */
17
- --font-size-xs: clamp(0.75rem, 0.7455rem + 0.0196vw, 0.84rem);
18
- --font-size-sm: clamp(0.875rem, 0.8696rem + 0.0234vw, 0.98rem);
19
- --font-size-base: clamp(1rem, 0.9937rem + 0.0272vw, 1.125rem);
20
- --font-size-lg: clamp(1.125rem, 1.1179rem + 0.0308vw, 1.266rem);
21
- --font-size-xl: clamp(1.25rem, 1.242rem + 0.0348vw, 1.406rem);
22
- --font-size-2xl: clamp(1.5rem, 1.4902rem + 0.0424vw, 1.688rem);
23
- --font-size-3xl: clamp(1.875rem, 1.8627rem + 0.0533vw, 2.109rem);
24
- --font-size-4xl: clamp(2.25rem, 2.2353rem + 0.0641vw, 2.531rem);
25
- --font-size-5xl: clamp(3rem, 2.9804rem + 0.0848vw, 3.375rem);
26
- --font-size-6xl: clamp(3.75rem, 3.7255rem + 0.106vw, 4.219rem);
27
- --font-size-7xl: clamp(4.5rem, 4.4706rem + 0.1272vw, 5.063rem);
28
- --font-size-8xl: clamp(6rem, 5.9608rem + 0.1696vw, 6.75rem);
29
- --font-size-9xl: clamp(8rem, 7.9412rem + 0.2544vw, 9rem);
30
-
31
19
  /* Line heights */
32
20
  --line-height-none: 1;
33
21
  --line-height-tight: 1.25;
@@ -46,15 +34,9 @@
46
34
  }
47
35
 
48
36
  @layer base {
49
- /* Fluid root font size - scales from 16px at 320px to 27px at 2560px */
50
- /* This makes ALL rem values fluid throughout the system */
51
- html {
52
- font-size: clamp(16px, 14.429px + 0.4911vw, 27px);
53
- }
54
-
55
37
  body {
56
38
  font-family: var(--font-sans);
57
- font-size: var(--font-size-base);
39
+ font-size: var(--step-0);
58
40
  font-feature-settings:
59
41
  "liga" 1,
60
42
  "dlig" 1,
@@ -66,41 +48,41 @@
66
48
  line-height: var(--line-height-normal);
67
49
  }
68
50
 
69
- /* Headings with fluid sizing */
51
+ /* Headings with Utopia fluid sizing */
70
52
  h1 {
71
- font-size: var(--font-size-5xl);
53
+ font-size: var(--step-5);
72
54
  font-weight: 700;
73
55
  line-height: var(--line-height-tight);
74
56
  letter-spacing: var(--letter-spacing-tight);
75
57
  }
76
58
 
77
59
  h2 {
78
- font-size: var(--font-size-4xl);
60
+ font-size: var(--step-4);
79
61
  font-weight: 700;
80
62
  line-height: var(--line-height-tight);
81
63
  letter-spacing: var(--letter-spacing-tight);
82
64
  }
83
65
 
84
66
  h3 {
85
- font-size: var(--font-size-3xl);
67
+ font-size: var(--step-3);
86
68
  font-weight: 600;
87
69
  line-height: var(--line-height-snug);
88
70
  }
89
71
 
90
72
  h4 {
91
- font-size: var(--font-size-2xl);
73
+ font-size: var(--step-2);
92
74
  font-weight: 600;
93
75
  line-height: var(--line-height-snug);
94
76
  }
95
77
 
96
78
  h5 {
97
- font-size: var(--font-size-xl);
79
+ font-size: var(--step-1);
98
80
  font-weight: 600;
99
81
  line-height: var(--line-height-snug);
100
82
  }
101
83
 
102
84
  h6 {
103
- font-size: var(--font-size-lg);
85
+ font-size: var(--step-0);
104
86
  font-weight: 600;
105
87
  line-height: var(--line-height-normal);
106
88
  }
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Utopia Fluid Scales
3
+ * Generated from https://utopia.fyi
4
+ *
5
+ * This file defines fluid type and spacing scales that adapt smoothly across viewports.
6
+ * Use these tokens with fluid-tailwindcss utilities or directly in your CSS.
7
+ *
8
+ * TYPOGRAPHY:
9
+ * Apply --step-0 to body or main container (not html to avoid interfering with other tools)
10
+ * Use --step-1 through --step-7 for headings and larger text
11
+ * Use --step--1 and --step--2 for smaller text
12
+ *
13
+ * SPACING:
14
+ * Use with fluid-tailwindcss: fl-gap-s/m, fl-py-m/l, etc.
15
+ * Or use directly: gap: var(--space-s-m)
16
+ *
17
+ * GRID:
18
+ * Configure grid gutter with fluid spacing for perfect square cells
19
+ */
20
+
21
+ /* @link https://utopia.fyi/type/calculator?c=320,16,1.2,2560,26,1.25,7,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,2xs-2xl&g=2xs,2xl,2xl,12 */
22
+ :root {
23
+ --step--2: clamp(0.6944rem, 0.6451rem + 0.2468vw, 1.04rem);
24
+ --step--1: clamp(0.8333rem, 0.7667rem + 0.3333vw, 1.3rem);
25
+ --step-0: clamp(1rem, 0.9107rem + 0.4464vw, 1.625rem);
26
+ --step-1: clamp(1.2rem, 1.0813rem + 0.5938vw, 2.0313rem);
27
+ --step-2: clamp(1.44rem, 1.283rem + 0.785vw, 2.5391rem);
28
+ --step-3: clamp(1.728rem, 1.5215rem + 1.0327vw, 3.1738rem);
29
+ --step-4: clamp(2.0736rem, 1.8031rem + 1.3526vw, 3.9673rem);
30
+ --step-5: clamp(2.4883rem, 2.1354rem + 1.7648vw, 4.9591rem);
31
+ --step-6: clamp(2.986rem, 2.527rem + 2.2949vw, 6.1989rem);
32
+ --step-7: clamp(3.5832rem, 2.9881rem + 2.9753vw, 7.7486rem);
33
+ }
34
+
35
+ /* @link https://utopia.fyi/space/calculator?c=320,16,1.2,2560,26,1.25,7,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,2xs-2xl&g=2xs,2xl,2xl,12 */
36
+ :root {
37
+ --space-3xs: clamp(0.25rem, 0.2232rem + 0.1339vw, 0.4375rem);
38
+ --space-2xs: clamp(0.5rem, 0.4554rem + 0.2232vw, 0.8125rem);
39
+ --space-xs: clamp(0.75rem, 0.6786rem + 0.3571vw, 1.25rem);
40
+ --space-s: clamp(1rem, 0.9107rem + 0.4464vw, 1.625rem);
41
+ --space-m: clamp(1.5rem, 1.3661rem + 0.6696vw, 2.4375rem);
42
+ --space-l: clamp(2rem, 1.8214rem + 0.8929vw, 3.25rem);
43
+ --space-xl: clamp(3rem, 2.7321rem + 1.3393vw, 4.875rem);
44
+ --space-2xl: clamp(4rem, 3.6429rem + 1.7857vw, 6.5rem);
45
+ --space-3xl: clamp(6rem, 5.4643rem + 2.6786vw, 9.75rem);
46
+
47
+ /* One-up pairs */
48
+ --space-3xs-2xs: clamp(0.25rem, 0.1696rem + 0.4018vw, 0.8125rem);
49
+ --space-2xs-xs: clamp(0.5rem, 0.3929rem + 0.5357vw, 1.25rem);
50
+ --space-xs-s: clamp(0.75rem, 0.625rem + 0.625vw, 1.625rem);
51
+ --space-s-m: clamp(1rem, 0.7946rem + 1.0268vw, 2.4375rem);
52
+ --space-m-l: clamp(1.5rem, 1.25rem + 1.25vw, 3.25rem);
53
+ --space-l-xl: clamp(2rem, 1.5893rem + 2.0536vw, 4.875rem);
54
+ --space-xl-2xl: clamp(3rem, 2.5rem + 2.5vw, 6.5rem);
55
+ --space-2xl-3xl: clamp(4rem, 3.1786rem + 4.1071vw, 9.75rem);
56
+
57
+ /* Custom pairs */
58
+ --space-2xs-2xl: clamp(0.5rem, -0.3571rem + 4.2857vw, 6.5rem);
59
+ }
@@ -1,14 +0,0 @@
1
- import React, { SVGProps } from "react";
2
-
3
- //#region src/generated/icons/regardio-system-bridge-icon.d.ts
4
- interface SVGRProps {
5
- title?: string;
6
- titleId?: string;
7
- }
8
- declare const SvgRegardioSystemBridgeIcon: ({
9
- title,
10
- titleId,
11
- ...props
12
- }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
13
- //#endregion
14
- export { SvgRegardioSystemBridgeIcon as default };
@@ -1,14 +0,0 @@
1
- import React, { SVGProps } from "react";
2
-
3
- //#region src/generated/icons/regardio-system-circle-icon.d.ts
4
- interface SVGRProps {
5
- title?: string;
6
- titleId?: string;
7
- }
8
- declare const SvgRegardioSystemCircleIcon: ({
9
- title,
10
- titleId,
11
- ...props
12
- }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
13
- //#endregion
14
- export { SvgRegardioSystemCircleIcon as default };
@@ -1,19 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- //#region src/generated/icons/regardio-system-plan-icon.tsx
3
- const SvgRegardioSystemPlanIcon = ({ title, titleId, ...props }) => /* @__PURE__ */ jsxs("svg", {
4
- "aria-labelledby": titleId,
5
- height: "1em",
6
- viewBox: "0 0 1024 1024",
7
- width: "1em",
8
- xmlns: "http://www.w3.org/2000/svg",
9
- ...props,
10
- children: [title ? /* @__PURE__ */ jsx("title", {
11
- id: titleId,
12
- children: title
13
- }) : null, /* @__PURE__ */ jsx("path", {
14
- className: "fill-blue-400",
15
- d: "M873.95 845.65c-7.51-131.78-13.49-263.5-18.02-395.15-2.13-61.75-3.94-123.49-5.45-185.21-.21-8.8-4.56-16.93-11.45-21.33a5104 5104 0 0 0-147.84-91c-7.05-4.18-15.66-3.89-22.53.7-47.93 31.99-96.35 63.8-145.48 95.7-7.04 4.57-15.79 4.82-22.82.68-49.13-28.89-97.56-56.69-145.48-83.72-6.87-3.88-15.48-3.44-22.53 1.12-49.26 31.87-98.87 64.03-147.95 95.94-6.9 4.48-11.26 12.24-11.48 20.39-1.55 57.15-3.38 114.26-5.48 171.34-4.49 121.69-10.26 243.21-17.39 364.57-1.09 17.66 18.46 29.84 34.93 21.82 45.43-22.2 90.05-44.78 134.46-68.11 7.52-3.95 16.71-3.57 24.07 1.01 51.38 32 103.55 64.01 156.05 95.89 7.53 4.57 16.87 4.95 24.4.97 52.51-27.78 104.72-56.75 156.12-86.81 7.37-4.31 16.56-4.16 24.09.42 44.47 27.06 89.19 54.12 134.8 81.57 16.54 9.96 36.12-1.57 34.97-20.78z"
16
- })]
17
- });
18
- //#endregion
19
- export { SvgRegardioSystemPlanIcon as default };
@@ -1,14 +0,0 @@
1
- import React, { SVGProps } from "react";
2
-
3
- //#region src/generated/icons/regardio-system-pursuit-icon.d.ts
4
- interface SVGRProps {
5
- title?: string;
6
- titleId?: string;
7
- }
8
- declare const SvgRegardioSystemPursuitIcon: ({
9
- title,
10
- titleId,
11
- ...props
12
- }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
13
- //#endregion
14
- export { SvgRegardioSystemPursuitIcon as default };
@@ -1,19 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- //#region src/generated/icons/regardio-system-spark-icon.tsx
3
- const SvgRegardioSystemSparkIcon = ({ title, titleId, ...props }) => /* @__PURE__ */ jsxs("svg", {
4
- "aria-labelledby": titleId,
5
- height: "1em",
6
- viewBox: "0 0 1024 1024",
7
- width: "1em",
8
- xmlns: "http://www.w3.org/2000/svg",
9
- ...props,
10
- children: [title ? /* @__PURE__ */ jsx("title", {
11
- id: titleId,
12
- children: title
13
- }) : null, /* @__PURE__ */ jsx("path", {
14
- className: "fill-coral-400",
15
- d: "M762.95 434.78c-36.02.15-72.67.42-109.69.81-4.38.05-6.92-4.81-4.54-8.72 19.9-32.67 40.28-65.43 61.38-98.34 1.82-2.84 1.09-6.42-1.65-7.95-40.08-22.45-81.63-43.87-123.95-64-2.85-1.36-6.54-.26-8.25 2.45-20.25 31.99-39.99 64.06-59.24 96.1-2.27 3.79-7.88 3.99-10.16.37-19.25-30.56-39-60.29-59.2-89.1-1.71-2.44-5.39-3.08-8.23-1.45-42.22 24.31-83.62 48.55-123.6 72.46-2.73 1.63-3.48 4.97-1.67 7.42 20.92 28.45 41.21 57.62 61.05 87.52 2.37 3.58-.16 8.24-4.55 8.35-36.99.95-73.61 2-109.59 3.14-3.05.1-5.3 2.52-5.04 5.4 3.78 42.13 7.3 84.34 10.57 126.61.22 2.9 2.76 5.32 5.68 5.4 34.41 1 69.42 1.92 104.76 2.76 4.19.1 6.99 4.75 5.03 8.35-16.31 30.02-32.04 59.36-47.37 88.1-1.32 2.48-.27 5.83 2.34 7.45 38.18 23.79 76.03 47.86 112.98 71.94 2.48 1.62 5.59.95 6.96-1.51 16.21-29.01 32.99-58.86 50.35-89.49 2.05-3.62 7.16-3.44 9.21.34 17.35 31.98 34.11 63.94 50.3 95.78 1.37 2.7 4.48 3.78 6.96 2.41 36.92-20.29 74.71-41.75 112.8-64.19 2.6-1.53 3.66-5.1 2.34-7.93-15.28-32.76-30.95-65.42-47.22-98.03-1.95-3.9.85-8.76 5.03-8.72 35.29.34 70.23.58 104.55.72 2.91.01 5.44-2.62 5.67-5.88 3.37-47.53 7.03-95.1 11.01-142.71.27-3.26-1.97-5.9-5.02-5.89z"
16
- })]
17
- });
18
- //#endregion
19
- export { SvgRegardioSystemSparkIcon as default };
@@ -1,19 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- //#region src/generated/icons/regardio-system-zest-icon.tsx
3
- const SvgRegardioSystemZestIcon = ({ title, titleId, ...props }) => /* @__PURE__ */ jsxs("svg", {
4
- "aria-labelledby": titleId,
5
- height: "1em",
6
- viewBox: "0 0 1024 1024",
7
- width: "1em",
8
- xmlns: "http://www.w3.org/2000/svg",
9
- ...props,
10
- children: [title ? /* @__PURE__ */ jsx("title", {
11
- id: titleId,
12
- children: title
13
- }) : null, /* @__PURE__ */ jsx("path", {
14
- className: "fill-yellow-400",
15
- d: "M822.01 152.4c-1.1-2.52-4.37-3.21-6.37-1.33-158.41 147.85-405.77 113.49-561.45 290.44-118.41 134.6-106.36 234.27-101.11 260.14 16.3 80.44 93.47 148.49 202.18 167.36 46.6 8.09 93.25 6.09 136.21-4.04 20.44-4.82 40.03-11.49 58.38-19.82 251.03-100.53 412.48-370.12 272.16-692.73z"
16
- })]
17
- });
18
- //#endregion
19
- export { SvgRegardioSystemZestIcon as default };