@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.
Files changed (71) hide show
  1. package/dist/{chunk-GLPWI7OF.js → chunk-HN2IHIMR.js} +13 -7
  2. package/dist/chunk-HN2IHIMR.js.map +1 -0
  3. package/dist/{chunk-NN4YW27E.cjs → chunk-KIJKNZ73.cjs} +13 -7
  4. package/dist/chunk-KIJKNZ73.cjs.map +1 -0
  5. package/dist/{chunk-NU6GI57K.js → chunk-VN2QX6S7.js} +437 -3
  6. package/dist/chunk-VN2QX6S7.js.map +1 -0
  7. package/dist/{chunk-WSJLKVXZ.cjs → chunk-VOH2QELR.cjs} +441 -2
  8. package/dist/chunk-VOH2QELR.cjs.map +1 -0
  9. package/dist/components/Icons/AppleLoginIcon.d.ts +6 -0
  10. package/dist/components/Icons/AppleLoginIcon.d.ts.map +1 -0
  11. package/dist/components/Icons/ChevronUpDownIcon.d.ts +6 -0
  12. package/dist/components/Icons/ChevronUpDownIcon.d.ts.map +1 -0
  13. package/dist/components/Icons/GoogleLoginIcon.d.ts +6 -0
  14. package/dist/components/Icons/GoogleLoginIcon.d.ts.map +1 -0
  15. package/dist/components/Icons/LoginIcon.d.ts +6 -0
  16. package/dist/components/Icons/LoginIcon.d.ts.map +1 -0
  17. package/dist/components/Icons/LogoutIcon.d.ts +6 -0
  18. package/dist/components/Icons/LogoutIcon.d.ts.map +1 -0
  19. package/dist/components/Icons/index.d.ts +5 -0
  20. package/dist/components/Icons/index.d.ts.map +1 -1
  21. package/dist/components/SettingsPopover/SettingsPopover.d.ts +3 -0
  22. package/dist/components/SettingsPopover/SettingsPopover.d.ts.map +1 -0
  23. package/dist/components/SettingsPopover/index.d.ts +3 -0
  24. package/dist/components/SettingsPopover/index.d.ts.map +1 -0
  25. package/dist/components/SettingsPopover/types.d.ts +30 -0
  26. package/dist/components/SettingsPopover/types.d.ts.map +1 -0
  27. package/dist/components/divider/divider.d.ts +9 -0
  28. package/dist/components/divider/divider.d.ts.map +1 -0
  29. package/dist/components/divider/index.d.ts +2 -0
  30. package/dist/components/divider/index.d.ts.map +1 -0
  31. package/dist/components/index.cjs +89 -69
  32. package/dist/components/index.d.ts +5 -0
  33. package/dist/components/index.d.ts.map +1 -1
  34. package/dist/components/index.js +1 -1
  35. package/dist/contracts/design-language.contract.d.ts +2 -0
  36. package/dist/contracts/design-language.contract.d.ts.map +1 -1
  37. package/dist/figma-codex.json +2 -2
  38. package/dist/index.cjs +93 -73
  39. package/dist/index.js +2 -2
  40. package/dist/languages/material3.language.d.ts.map +1 -1
  41. package/dist/languages/transform.d.ts +1 -0
  42. package/dist/languages/transform.d.ts.map +1 -1
  43. package/dist/preset/index.cjs +2 -2
  44. package/dist/preset/index.js +1 -1
  45. package/package.json +5 -1
  46. package/src/components/Icons/AppleLoginIcon.tsx +21 -0
  47. package/src/components/Icons/ChevronUpDownIcon.tsx +23 -0
  48. package/src/components/Icons/GoogleLoginIcon.tsx +36 -0
  49. package/src/components/Icons/LoginIcon.tsx +71 -0
  50. package/src/components/Icons/LogoutIcon.tsx +43 -0
  51. package/src/components/Icons/index.ts +8 -0
  52. package/src/components/SettingsPopover/SettingsPopover.test.tsx +256 -0
  53. package/src/components/SettingsPopover/SettingsPopover.tsx +159 -0
  54. package/src/components/SettingsPopover/index.ts +2 -0
  55. package/src/components/SettingsPopover/types.ts +37 -0
  56. package/src/components/divider/divider.tsx +125 -0
  57. package/src/components/divider/index.ts +1 -0
  58. package/src/components/index.ts +14 -0
  59. package/src/contracts/design-language.contract.ts +3 -1
  60. package/src/languages/material3.language.ts +55 -45
  61. package/src/languages/transform.ts +3 -0
  62. package/src/stories/foundations/Typography.mdx +5 -2
  63. package/dist/chunk-GLPWI7OF.js.map +0 -1
  64. package/dist/chunk-NN4YW27E.cjs.map +0 -1
  65. package/dist/chunk-NU6GI57K.js.map +0 -1
  66. package/dist/chunk-WSJLKVXZ.cjs.map +0 -1
  67. package/docs/context-share/STORY-001-VALIDATION-PASSED.md +0 -192
  68. package/docs/context-share/STORY-002-IMPLEMENTATION-COMPLETE.md +0 -161
  69. package/docs/context-share/STORYBOOK_MCP_STRATEGY.md +0 -867
  70. package/docs/context-share/m3-token-pipeline-audit.md +0 -125
  71. 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: "16px",
247
- lineHeight: "24px",
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-GLPWI7OF.js.map
4489
- //# sourceMappingURL=chunk-GLPWI7OF.js.map
4494
+ //# sourceMappingURL=chunk-HN2IHIMR.js.map
4495
+ //# sourceMappingURL=chunk-HN2IHIMR.js.map