@discourser/design-system 0.22.4 → 0.24.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.
- package/dist/{chunk-GLPWI7OF.js → chunk-HN2IHIMR.js} +13 -7
- package/dist/chunk-HN2IHIMR.js.map +1 -0
- package/dist/{chunk-NN4YW27E.cjs → chunk-KIJKNZ73.cjs} +13 -7
- package/dist/chunk-KIJKNZ73.cjs.map +1 -0
- package/dist/{chunk-NU6GI57K.js → chunk-VN2QX6S7.js} +437 -3
- package/dist/chunk-VN2QX6S7.js.map +1 -0
- package/dist/{chunk-WSJLKVXZ.cjs → chunk-VOH2QELR.cjs} +441 -2
- package/dist/chunk-VOH2QELR.cjs.map +1 -0
- package/dist/components/Icons/AppleLoginIcon.d.ts +6 -0
- package/dist/components/Icons/AppleLoginIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronUpDownIcon.d.ts +6 -0
- package/dist/components/Icons/ChevronUpDownIcon.d.ts.map +1 -0
- package/dist/components/Icons/GoogleLoginIcon.d.ts +6 -0
- package/dist/components/Icons/GoogleLoginIcon.d.ts.map +1 -0
- package/dist/components/Icons/LoginIcon.d.ts +6 -0
- package/dist/components/Icons/LoginIcon.d.ts.map +1 -0
- package/dist/components/Icons/LogoutIcon.d.ts +6 -0
- package/dist/components/Icons/LogoutIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +5 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/SettingsPopover/SettingsPopover.d.ts +3 -0
- package/dist/components/SettingsPopover/SettingsPopover.d.ts.map +1 -0
- package/dist/components/SettingsPopover/index.d.ts +3 -0
- package/dist/components/SettingsPopover/index.d.ts.map +1 -0
- package/dist/components/SettingsPopover/types.d.ts +30 -0
- package/dist/components/SettingsPopover/types.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts +9 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/index.d.ts +2 -0
- package/dist/components/divider/index.d.ts.map +1 -0
- package/dist/components/index.cjs +89 -69
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/contracts/design-language.contract.d.ts +2 -0
- package/dist/contracts/design-language.contract.d.ts.map +1 -1
- package/dist/figma-codex.json +2 -2
- package/dist/index.cjs +93 -73
- package/dist/index.js +2 -2
- package/dist/languages/material3.language.d.ts.map +1 -1
- package/dist/languages/transform.d.ts +1 -0
- package/dist/languages/transform.d.ts.map +1 -1
- package/dist/preset/index.cjs +2 -2
- package/dist/preset/index.js +1 -1
- package/package.json +5 -1
- package/src/components/Icons/AppleLoginIcon.tsx +21 -0
- package/src/components/Icons/ChevronUpDownIcon.tsx +23 -0
- package/src/components/Icons/GoogleLoginIcon.tsx +36 -0
- package/src/components/Icons/LoginIcon.tsx +71 -0
- package/src/components/Icons/LogoutIcon.tsx +43 -0
- package/src/components/Icons/index.ts +8 -0
- package/src/components/SettingsPopover/SettingsPopover.test.tsx +256 -0
- package/src/components/SettingsPopover/SettingsPopover.tsx +159 -0
- package/src/components/SettingsPopover/index.ts +2 -0
- package/src/components/SettingsPopover/types.ts +37 -0
- package/src/components/divider/divider.tsx +125 -0
- package/src/components/divider/index.ts +1 -0
- package/src/components/index.ts +14 -0
- package/src/contracts/design-language.contract.ts +3 -1
- package/src/languages/material3.language.ts +55 -45
- package/src/languages/transform.ts +3 -0
- package/src/stories/foundations/Typography.mdx +5 -2
- package/dist/chunk-GLPWI7OF.js.map +0 -1
- package/dist/chunk-NN4YW27E.cjs.map +0 -1
- package/dist/chunk-NU6GI57K.js.map +0 -1
- package/dist/chunk-WSJLKVXZ.cjs.map +0 -1
- package/docs/context-share/STORY-001-VALIDATION-PASSED.md +0 -192
- package/docs/context-share/STORY-002-IMPLEMENTATION-COMPLETE.md +0 -161
- package/docs/context-share/STORYBOOK_MCP_STRATEGY.md +0 -867
- package/docs/context-share/m3-token-pipeline-audit.md +0 -125
- package/docs/context-share/storybook-mcp-kai-agent-revised-summary.md +0 -211
|
@@ -184,7 +184,8 @@ var material3Language = {
|
|
|
184
184
|
lineHeight: "64px",
|
|
185
185
|
fontWeight: "400",
|
|
186
186
|
letterSpacing: "-0.25px",
|
|
187
|
-
fontFamily: "display"
|
|
187
|
+
fontFamily: "display",
|
|
188
|
+
fontVariationSettings: "'SOFT' 0, 'WONK' 1"
|
|
188
189
|
},
|
|
189
190
|
displayMedium: {
|
|
190
191
|
fontSize: "45px",
|
|
@@ -212,7 +213,8 @@ var material3Language = {
|
|
|
212
213
|
lineHeight: "36px",
|
|
213
214
|
fontWeight: "400",
|
|
214
215
|
letterSpacing: "0px",
|
|
215
|
-
fontFamily: "display"
|
|
216
|
+
fontFamily: "display",
|
|
217
|
+
fontVariationSettings: "'SOFT' 0, 'WONK' 1"
|
|
216
218
|
},
|
|
217
219
|
headlineSmall: {
|
|
218
220
|
fontSize: "24px",
|
|
@@ -242,9 +244,11 @@ var material3Language = {
|
|
|
242
244
|
letterSpacing: "0.1px",
|
|
243
245
|
fontFamily: "body"
|
|
244
246
|
},
|
|
247
|
+
// Custom override: bodyLarge bumped to 18px/28px (was M3 default 16px/24px)
|
|
248
|
+
// Decision date: 2026-03-24
|
|
245
249
|
bodyLarge: {
|
|
246
|
-
fontSize: "
|
|
247
|
-
lineHeight: "
|
|
250
|
+
fontSize: "18px",
|
|
251
|
+
lineHeight: "28px",
|
|
248
252
|
fontWeight: "400",
|
|
249
253
|
letterSpacing: "0.5px",
|
|
250
254
|
fontFamily: "body"
|
|
@@ -290,6 +294,7 @@ var material3Language = {
|
|
|
290
294
|
none: "0px",
|
|
291
295
|
xxs: "2px",
|
|
292
296
|
xs: "4px",
|
|
297
|
+
"2xs": "12px",
|
|
293
298
|
sm: "8px",
|
|
294
299
|
md: "16px",
|
|
295
300
|
lg: "24px",
|
|
@@ -413,7 +418,8 @@ function transformTextStyles(language) {
|
|
|
413
418
|
fontSize: style.fontSize,
|
|
414
419
|
lineHeight: style.lineHeight,
|
|
415
420
|
fontWeight: style.fontWeight,
|
|
416
|
-
letterSpacing: style.letterSpacing
|
|
421
|
+
letterSpacing: style.letterSpacing,
|
|
422
|
+
...style.fontVariationSettings ? { fontVariationSettings: style.fontVariationSettings } : {}
|
|
417
423
|
}
|
|
418
424
|
}
|
|
419
425
|
])
|
|
@@ -4485,5 +4491,5 @@ var discourserPandaPreset = definePreset({
|
|
|
4485
4491
|
});
|
|
4486
4492
|
|
|
4487
4493
|
export { discourserPandaPreset, material3Language, transformToPandaTheme };
|
|
4488
|
-
//# sourceMappingURL=chunk-
|
|
4489
|
-
//# sourceMappingURL=chunk-
|
|
4494
|
+
//# sourceMappingURL=chunk-HN2IHIMR.js.map
|
|
4495
|
+
//# sourceMappingURL=chunk-HN2IHIMR.js.map
|