eidotter 0.37.0 → 0.37.2

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 (43) hide show
  1. package/LICENSE.md +3 -3
  2. package/dist/components/Brand/components/Wordmark.d.ts +1 -1
  3. package/dist/components/Brand/components/Wordmark.js +1 -1
  4. package/dist/components/CalendarHeatmap/components/CalendarHeatmap.d.ts +40 -0
  5. package/dist/components/CalendarHeatmap/components/CalendarHeatmap.js +84 -0
  6. package/dist/components/CalendarHeatmap/components/index.d.ts +2 -0
  7. package/dist/components/CalendarHeatmap/components/index.js +1 -0
  8. package/dist/components/CalendarHeatmap/index.d.ts +2 -0
  9. package/dist/components/CalendarHeatmap/index.js +1 -0
  10. package/dist/components/CommandPrompt/components/CommandPrompt.js +1 -1
  11. package/dist/components/HoldToComplete/components/HoldToComplete.d.ts +30 -0
  12. package/dist/components/HoldToComplete/components/HoldToComplete.js +145 -0
  13. package/dist/components/HoldToComplete/components/index.d.ts +2 -0
  14. package/dist/components/HoldToComplete/components/index.js +1 -0
  15. package/dist/components/HoldToComplete/index.d.ts +2 -0
  16. package/dist/components/HoldToComplete/index.js +1 -0
  17. package/dist/components/InlineExpand/components/InlineExpand.d.ts +1 -1
  18. package/dist/components/InlineExpand/components/InlineExpand.js +30 -2
  19. package/dist/components/ProgressRing/components/ProgressRing.d.ts +35 -0
  20. package/dist/components/ProgressRing/components/ProgressRing.js +34 -0
  21. package/dist/components/ProgressRing/components/index.d.ts +2 -0
  22. package/dist/components/ProgressRing/components/index.js +1 -0
  23. package/dist/components/ProgressRing/index.d.ts +2 -0
  24. package/dist/components/ProgressRing/index.js +1 -0
  25. package/dist/components/TimelineContainer/components/TimelineContainer.js +1 -1
  26. package/dist/components/registry.d.ts +1 -1
  27. package/dist/components/registry.js +422 -16
  28. package/dist/eidotter.css +1 -1
  29. package/dist/index.d.ts +6 -0
  30. package/dist/index.es.js +1790 -501
  31. package/dist/index.umd.js +3 -3
  32. package/package.json +14 -6
  33. package/src/styles/dos-utilities.css +15 -6
  34. package/src/styles/fonts/JetBrainsMonoNerdFont-Bold.woff2 +0 -0
  35. package/src/styles/fonts/JetBrainsMonoNerdFont-Medium.woff2 +0 -0
  36. package/src/styles/fonts/JetBrainsMonoNerdFont-Regular.woff2 +0 -0
  37. package/src/styles/fonts/JetBrainsMonoNerdFont-SemiBold.woff2 +0 -0
  38. package/src/styles/fonts/JetBrainsMonoNerdFont_OFL.txt +93 -0
  39. package/src/styles/fonts.css +50 -3
  40. package/src/styles/tokens.css +9 -4
  41. package/tailwind.preset.cjs +9 -1
  42. package/src/styles/fonts/Flexi_IBM_VGA_LICENSE.txt +0 -428
  43. package/src/styles/fonts/Flexi_IBM_VGA_True.ttf +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eidotter",
3
- "version": "0.37.0",
3
+ "version": "0.37.2",
4
4
  "type": "module",
5
5
  "description": "A DOS Themed Design System",
6
6
  "main": "./dist/index.umd.js",
@@ -63,8 +63,11 @@
63
63
  "src/styles/fonts.css",
64
64
  "src/styles/fonts/Perfect_DOS_VGA_437_Win.ttf",
65
65
  "src/styles/fonts/Perfect_DOS_VGA_437_LICENSE.txt",
66
- "src/styles/fonts/Flexi_IBM_VGA_True.ttf",
67
- "src/styles/fonts/Flexi_IBM_VGA_LICENSE.txt",
66
+ "src/styles/fonts/JetBrainsMonoNerdFont-Regular.woff2",
67
+ "src/styles/fonts/JetBrainsMonoNerdFont-Medium.woff2",
68
+ "src/styles/fonts/JetBrainsMonoNerdFont-SemiBold.woff2",
69
+ "src/styles/fonts/JetBrainsMonoNerdFont-Bold.woff2",
70
+ "src/styles/fonts/JetBrainsMonoNerdFont_OFL.txt",
68
71
  "src/styles/tokens.css",
69
72
  "src/styles/theme.*.css",
70
73
  "src/styles/shadcn.css",
@@ -93,6 +96,8 @@
93
96
  "sync-to-figma": "ts-node scripts/sync-to-figma.ts",
94
97
  "export-figcli-design-md": "ts-node scripts/figcli/export-design-md.ts",
95
98
  "sync-figma-to-swift": "ts-node scripts/sync-figma-to-swift.ts",
99
+ "fetch-figma-snapshot": "ts-node scripts/fetch-figma-snapshot.ts",
100
+ "publish-figma-library": "ts-node scripts/publish-figma-library.ts",
96
101
  "validate-tokens": "node scripts/validate-tokens.cjs"
97
102
  },
98
103
  "repository": {
@@ -118,6 +123,9 @@
118
123
  "url": "https://github.com/CinimoDY/eiDotter/issues"
119
124
  },
120
125
  "homepage": "https://cinimody.github.io/eiDotter",
126
+ "overrides": {
127
+ "@babel/core": "^7.29.6"
128
+ },
121
129
  "peerDependencies": {
122
130
  "react": "^18.0.0 || ^19.0.0",
123
131
  "react-dom": "^18.0.0 || ^19.0.0",
@@ -146,7 +154,7 @@
146
154
  "@testing-library/user-event": "^14.6.1",
147
155
  "@types/glob": "^8.1.0",
148
156
  "@types/jest": "^30.0.0",
149
- "@types/node": "^25.0.3",
157
+ "@types/node": "^26.0.1",
150
158
  "@types/react": "^19.1.2",
151
159
  "@types/react-dom": "^19.0.0",
152
160
  "@vitejs/plugin-react": "^6.0.2",
@@ -167,7 +175,6 @@
167
175
  "remark-gfm": "^4.0.1",
168
176
  "storybook": "^10.2.7",
169
177
  "style-dictionary": "^5.1.1",
170
- "tailwind-merge": "^3.5.0",
171
178
  "tailwindcss": "^4.3.0",
172
179
  "tailwindcss-react-aria-components": "^2.0.1",
173
180
  "ts-jest": "^29.4.0",
@@ -180,6 +187,7 @@
180
187
  "pixelarticons": "^2.1.0",
181
188
  "react-aria": "^3.47.0",
182
189
  "react-aria-components": "^1.16.0",
183
- "react-stately": "^3.45.0"
190
+ "react-stately": "^3.45.0",
191
+ "tailwind-merge": "^3.5.0"
184
192
  }
185
193
  }
@@ -25,8 +25,8 @@
25
25
  * T11 handoff adoption — see CHANGELOG.md for rationale.
26
26
  * ========================================================================== */
27
27
 
28
- /* Shared font-family + weight, applied at zero specificity via :where() so
29
- * consumer overrides win without !important. */
28
+ /* Display tier — Perfect DOS VGA 437 (single-weight; pixel-perfect vectors).
29
+ * Applied at zero specificity via :where() so consumer overrides win. */
30
30
  :where(
31
31
  .dos-page,
32
32
  .dos-hero,
@@ -35,10 +35,6 @@
35
35
  .dos-h3,
36
36
  .dos-h4,
37
37
  .dos-h5,
38
- .dos-body,
39
- .dos-body-lg,
40
- .dos-caption,
41
- .dos-micro,
42
38
  .dos-label,
43
39
  .dos-code
44
40
  ) {
@@ -47,6 +43,19 @@
47
43
  font-synthesis: none;
48
44
  }
49
45
 
46
+ /* Body tier — JetBrains Mono Nerd Font (multi-weight; includes Nerd Font glyphs).
47
+ * Uses --typography-font-family-body and real body-weight tokens (DMNC-885). */
48
+ :where(
49
+ .dos-body,
50
+ .dos-body-lg,
51
+ .dos-caption,
52
+ .dos-micro
53
+ ) {
54
+ font-family: var(--typography-font-family-body), var(--typography-font-family-fallback);
55
+ font-weight: var(--typography-font-weight-body-regular, 400);
56
+ font-synthesis: none;
57
+ }
58
+
50
59
  /* ---- Page shell --------------------------------------------------------- */
51
60
 
52
61
  .dos-page {
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -2,9 +2,7 @@
2
2
  * Perfect DOS VGA 437 by Zeh Fernando (2002, updated 2008).
3
3
  *
4
4
  * Pixel-perfect-vector TTF — every glyph outline is axis-aligned, no curves,
5
- * scales cleanly at any size. Replaces Flexi IBM VGA True (which was a
6
- * bezier-outline font that resembled but didn't capture authentic DOS
7
- * pixel-art shapes). License: see Perfect_DOS_VGA_437_LICENSE.txt — free
5
+ * scales cleanly at any size. License: see Perfect_DOS_VGA_437_LICENSE.txt — free
8
6
  * to redistribute and use in any project, including commercial; selling
9
7
  * the font as a standalone is not permitted (which eidotter doesn't do).
10
8
  *
@@ -29,3 +27,52 @@
29
27
  font-synthesis: none;
30
28
  src: url('./fonts/Perfect_DOS_VGA_437_Win.ttf') format('truetype');
31
29
  }
30
+
31
+ /*
32
+ * JetBrains Mono Nerd Font — body / prose tier (DMNC-885).
33
+ *
34
+ * Licensed under SIL Open Font License 1.1 (OFL-1.1).
35
+ * See src/styles/fonts/JetBrainsMonoNerdFont_OFL.txt.
36
+ * Nerd Font patch by Ryan L McIntyre — Nerd Fonts v3.4.0 (2025-04-24).
37
+ *
38
+ * Includes Nerd Font glyph extensions: powerline symbols, devicons, and
39
+ * language logos rendered inline alongside pixelarticons — ideal for
40
+ * terminal-aesthetic UIs. Ships as four per-weight woff2 files
41
+ * (Regular 400 / Medium 500 / SemiBold 600 / Bold 700) converted from
42
+ * the canonical TTFs in the Nerd Fonts v3.4.0 release via fonttools.
43
+ *
44
+ * Used by the body tier in dos-utilities.css (.dos-body, .dos-body-lg,
45
+ * .dos-caption, .dos-micro) and exposed as the `font-dos-body` Tailwind
46
+ * utility and the `--typography-font-family-body` CSS custom property.
47
+ */
48
+ @font-face {
49
+ font-family: 'JetBrains Mono Nerd Font';
50
+ font-style: normal;
51
+ font-weight: 400;
52
+ font-display: swap;
53
+ src: url('./fonts/JetBrainsMonoNerdFont-Regular.woff2') format('woff2');
54
+ }
55
+
56
+ @font-face {
57
+ font-family: 'JetBrains Mono Nerd Font';
58
+ font-style: normal;
59
+ font-weight: 500;
60
+ font-display: swap;
61
+ src: url('./fonts/JetBrainsMonoNerdFont-Medium.woff2') format('woff2');
62
+ }
63
+
64
+ @font-face {
65
+ font-family: 'JetBrains Mono Nerd Font';
66
+ font-style: normal;
67
+ font-weight: 600;
68
+ font-display: swap;
69
+ src: url('./fonts/JetBrainsMonoNerdFont-SemiBold.woff2') format('woff2');
70
+ }
71
+
72
+ @font-face {
73
+ font-family: 'JetBrains Mono Nerd Font';
74
+ font-style: normal;
75
+ font-weight: 700;
76
+ font-display: swap;
77
+ src: url('./fonts/JetBrainsMonoNerdFont-Bold.woff2') format('woff2');
78
+ }
@@ -44,7 +44,8 @@
44
44
  --color-semantic-alert-success: #122010; /** Warm dark green for success alerts */
45
45
  --color-semantic-alert-warning: #352800; /** Dark amber for warning alerts */
46
46
  --color-semantic-alert-error: #430500; /** Warm dark red for error alerts */
47
- --typography-font-family-primary: 'Perfect DOS VGA 437', monospace; /** Perfect DOS VGA 437 by Zeh Fernando (free-for-any-use; ships with bundled LICENSE.txt). Pixel-perfect-vector TTF — every glyph outline is axis-aligned, scales cleanly to any size. The `monospace` fallback preserves DOS aesthetic on @font-face failure. */
47
+ --typography-font-family-primary: 'Perfect DOS VGA 437', monospace; /** Perfect DOS VGA 437 by Zeh Fernando (free-for-any-use; ships with bundled LICENSE.txt). Pixel-perfect-vector TTF — every glyph outline is axis-aligned, scales cleanly to any size. The `monospace` fallback preserves DOS aesthetic on @font-face failure. Used for display/heading tiers (dos-hero, dos-h1…h5). */
48
+ --typography-font-family-body: 'JetBrains Mono Nerd Font', monospace; /** JetBrains Mono Nerd Font (OFL-1.1; ships with bundled JetBrainsMonoNerdFont_OFL.txt). Multi-weight monospace body font — includes Nerd Font glyph extensions (powerline, devicons, language logos) for terminal-aesthetic UIs alongside pixelarticons. Ships as four per-weight woff2 files (Regular/Medium/SemiBold/Bold). Used for body/prose tiers (dos-body, dos-body-lg, dos-caption, dos-micro). Use fontWeight.body-* tokens for real weight variation (DMNC-885). */
48
49
  --typography-font-family-fallback: monospace; /** Bare `monospace` stack — fail-loud diagnostic counterpart to `primary`. Compose with `primary` when consumers want strict Perfect-DOS-or-nothing rendering. */
49
50
  --typography-font-size-text-xs: 1.125rem; /** 18px — smallest body text */
50
51
  --typography-font-size-text-sm: 1.25rem; /** 20px — secondary body text */
@@ -57,9 +58,13 @@
57
58
  --typography-font-size-display-lg: 3.5rem; /** 56px — large heading */
58
59
  --typography-font-size-display-xl: 4.125rem; /** 66px — extra large heading */
59
60
  --typography-font-size-display-2xl: 4.875rem; /** 78px — hero heading */
60
- --typography-font-weight-regular: 400;
61
- --typography-font-weight-semibold: 400;
62
- --typography-font-weight-bold: 400;
61
+ --typography-font-weight-regular: 400; /** Display: single-weight, all resolve to 400. */
62
+ --typography-font-weight-semibold: 400; /** Display: single-weight alias, resolves to 400. */
63
+ --typography-font-weight-bold: 400; /** Display: single-weight alias, resolves to 400. */
64
+ --typography-font-weight-body-regular: 400; /** Body: JetBrains Mono Nerd Font regular. */
65
+ --typography-font-weight-body-medium: 500; /** Body: JetBrains Mono Nerd Font medium. */
66
+ --typography-font-weight-body-semibold: 600; /** Body: JetBrains Mono Nerd Font semibold. */
67
+ --typography-font-weight-body-bold: 700; /** Body: JetBrains Mono Nerd Font bold. */
63
68
  --typography-line-height-text-xs: 1.125rem; /** 18px */
64
69
  --typography-line-height-text-sm: 1.25rem; /** 20px */
65
70
  --typography-line-height-text-md: 1.5rem; /** 24px */
@@ -111,6 +111,10 @@ const preset = {
111
111
  "\"Perfect DOS VGA 437\"",
112
112
  "monospace"
113
113
  ],
114
+ "dos-body": [
115
+ "\"JetBrains Mono Nerd Font\"",
116
+ "monospace"
117
+ ],
114
118
  "dos-fallback": [
115
119
  "monospace"
116
120
  ]
@@ -144,7 +148,11 @@ const preset = {
144
148
  "fontWeight": {
145
149
  "dos-regular": "400",
146
150
  "dos-semibold": "400",
147
- "dos-bold": "400"
151
+ "dos-bold": "400",
152
+ "dos-body-regular": "400",
153
+ "dos-body-medium": "500",
154
+ "dos-body-semibold": "600",
155
+ "dos-body-bold": "700"
148
156
  },
149
157
  "spacing": {
150
158
  "dos-0": "0px",