@speakeasy-api/moonshine 1.35.0 → 1.36.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/{createCustomLucideIcon-EiauSMb1.mjs → createCustomLucideIcon-D-gFRvUd.mjs} +2 -2
- package/dist/{createCustomLucideIcon-EiauSMb1.mjs.map → createCustomLucideIcon-D-gFRvUd.mjs.map} +1 -1
- package/dist/{gems-BvqWmbac.mjs → gems-C9gEGS_l.mjs} +2 -2
- package/dist/{gems-BvqWmbac.mjs.map → gems-C9gEGS_l.mjs.map} +1 -1
- package/dist/{go-DcxZ_tUN.mjs → go-C9P0gGBL.mjs} +2 -2
- package/dist/{go-DcxZ_tUN.mjs.map → go-C9P0gGBL.mjs.map} +1 -1
- package/dist/{index-D2j5TB55.mjs → index-B333GcaX.mjs} +3390 -3224
- package/dist/index-B333GcaX.mjs.map +1 -0
- package/dist/{maven-CRmekwFL.mjs → maven-C8d6w32K.mjs} +2 -2
- package/dist/{maven-CRmekwFL.mjs.map → maven-C8d6w32K.mjs.map} +1 -1
- package/dist/moonshine.es.js +1 -1
- package/dist/{npm-B8YY3m3w.mjs → npm-BObhxj3J.mjs} +2 -2
- package/dist/{npm-B8YY3m3w.mjs.map → npm-BObhxj3J.mjs.map} +1 -1
- package/dist/{nuget-BdLRmPRn.mjs → nuget-BVH-Ny8G.mjs} +2 -2
- package/dist/{nuget-BdLRmPRn.mjs.map → nuget-BVH-Ny8G.mjs.map} +1 -1
- package/dist/{packagist-I2pZqVDo.mjs → packagist-C1UMnDsn.mjs} +2 -2
- package/dist/{packagist-I2pZqVDo.mjs.map → packagist-C1UMnDsn.mjs.map} +1 -1
- package/dist/{pypi-DFD4I_La.mjs → pypi-i9XQRZGp.mjs} +2 -2
- package/dist/{pypi-DFD4I_La.mjs.map → pypi-i9XQRZGp.mjs.map} +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -9
- package/src/utilities.css +12 -0
- package/types/utilities.d.ts +2 -1
- package/dist/index-D2j5TB55.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakeasy-api/moonshine",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.1",
|
|
4
4
|
"packageManager": "pnpm@9.0.0",
|
|
5
5
|
"description": "Speakeasy's design system Moonshine",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"prepack": "pnpm build",
|
|
42
42
|
"storybook": "storybook dev -p 6006",
|
|
43
43
|
"build-storybook": "storybook build",
|
|
44
|
-
"chromatic": "chromatic",
|
|
45
44
|
"lint": "eslint",
|
|
46
45
|
"lint:fix": "eslint --fix",
|
|
47
46
|
"test": "vitest",
|
|
@@ -52,7 +51,6 @@
|
|
|
52
51
|
"author": "Speakeasy",
|
|
53
52
|
"license": "ISC",
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@chromatic-com/storybook": "^4.1.1",
|
|
56
54
|
"@eslint/compat": "^1.2.2",
|
|
57
55
|
"@eslint/js": "^9.13.0",
|
|
58
56
|
"@faker-js/faker": "^9.2.0",
|
|
@@ -64,8 +62,8 @@
|
|
|
64
62
|
"@storybook/addon-themes": "^9.1.7",
|
|
65
63
|
"@storybook/builder-vite": "^9.1.7",
|
|
66
64
|
"@storybook/react-vite": "^9.1.7",
|
|
67
|
-
"@tailwindcss/typography": "^0.5.
|
|
68
|
-
"@tailwindcss/vite": "^4.
|
|
65
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
66
|
+
"@tailwindcss/vite": "^4.2.4",
|
|
69
67
|
"@testing-library/jest-dom": "^6.6.3",
|
|
70
68
|
"@testing-library/react": "^16.0.1",
|
|
71
69
|
"@types/dom-view-transitions": "^1.0.5",
|
|
@@ -73,7 +71,6 @@
|
|
|
73
71
|
"@types/node": "^22.9.0",
|
|
74
72
|
"@types/react": "^18.3.12",
|
|
75
73
|
"@vitejs/plugin-react": "^4.3.3",
|
|
76
|
-
"chromatic": "^11.16.3",
|
|
77
74
|
"eslint": "^9.13.0",
|
|
78
75
|
"eslint-config-prettier": "^9.1.0",
|
|
79
76
|
"eslint-plugin-prettier": "^5.2.1",
|
|
@@ -83,7 +80,7 @@
|
|
|
83
80
|
"jsdom": "^25.0.1",
|
|
84
81
|
"postcss": "^8.4.47",
|
|
85
82
|
"prettier": "^3.3.3",
|
|
86
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
83
|
+
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
87
84
|
"rimraf": "^6.0.1",
|
|
88
85
|
"semantic-release": "^24.2.0",
|
|
89
86
|
"storybook": "^9.1.17",
|
|
@@ -131,8 +128,8 @@
|
|
|
131
128
|
"clsx": "^2.1.1",
|
|
132
129
|
"cmdk": "^1.1.1",
|
|
133
130
|
"date-fns": "^4.1.0",
|
|
134
|
-
"tailwind-merge": "^3.0
|
|
135
|
-
"tailwindcss": "^4.
|
|
131
|
+
"tailwind-merge": "^3.5.0",
|
|
132
|
+
"tailwindcss": "^4.2.4",
|
|
136
133
|
"tw-animate-css": "^1.2.4"
|
|
137
134
|
}
|
|
138
135
|
}
|
package/src/utilities.css
CHANGED
|
@@ -274,6 +274,18 @@
|
|
|
274
274
|
color: var(--text-default);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
+
/*
|
|
278
|
+
Custom util to fix a minor issue with the font Diatype Mono. The font has
|
|
279
|
+
extra spacing for descenders which shifts the mathematical center upwards,
|
|
280
|
+
causing text that is vertically centered to appear slightly off.
|
|
281
|
+
This is a draft css prop but is supported by Chrome / Safari (not Firefox).
|
|
282
|
+
The utility trims the extra space to better align the text vertically.
|
|
283
|
+
*/
|
|
284
|
+
@utility text-trim-cap {
|
|
285
|
+
text-box-trim: trim-both;
|
|
286
|
+
text-box-edge: cap alphabetic;
|
|
287
|
+
}
|
|
288
|
+
|
|
277
289
|
/* Buttons */
|
|
278
290
|
@utility text-button-md {
|
|
279
291
|
font-size: 1rem;
|
package/types/utilities.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Auto-generated TypeScript definitions for Moonshine utilities
|
|
3
|
-
* Generated on: 2026-
|
|
3
|
+
* Generated on: 2026-05-19T21:15:46.723Z
|
|
4
4
|
*
|
|
5
5
|
* DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
* Run 'pnpm generate:docs' to update
|
|
@@ -40,6 +40,7 @@ export type MoonshineUtilities =
|
|
|
40
40
|
| 'text-codeline-md'
|
|
41
41
|
| 'text-codeline-sm'
|
|
42
42
|
| 'text-codeline-xs'
|
|
43
|
+
| 'text-trim-cap'
|
|
43
44
|
| 'text-button-md'
|
|
44
45
|
| 'text-button-sm'
|
|
45
46
|
| 'text-button-xs'
|