@ptsecurity/mosaic 14.1.0 → 14.2.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 (39) hide show
  1. package/_theming.scss +7407 -90
  2. package/_visual.scss +3032 -6
  3. package/design-tokens/legacy-2017/tokens/components/markdown.json5 +294 -0
  4. package/design-tokens/legacy-2017/tokens/properties/md-typography.json5 +103 -0
  5. package/design-tokens/legacy-2017/tokens.d.ts +204 -0
  6. package/design-tokens/pt-2022/tokens/components/markdown.json5 +294 -0
  7. package/design-tokens/pt-2022/tokens/properties/md-typography.json5 +103 -0
  8. package/design-tokens/pt-2022/tokens.d.ts +204 -0
  9. package/design-tokens/style-dictionary/build.js +2 -0
  10. package/design-tokens/style-dictionary/configs/scss.js +6 -0
  11. package/design-tokens/style-dictionary/filters/color.js +3 -1
  12. package/design-tokens/style-dictionary/filters/md-typography.js +7 -0
  13. package/design-tokens/style-dictionary/transformGroups/scss.js +1 -0
  14. package/design-tokens/style-dictionary/transforms/attribute/md-typography.js +9 -0
  15. package/esm2020/design-tokens/legacy-2017/tokens.mjs +205 -1
  16. package/esm2020/design-tokens/pt-2022/tokens.mjs +205 -1
  17. package/esm2020/markdown/index.mjs +2 -0
  18. package/esm2020/markdown/markdown.component.mjs +45 -0
  19. package/esm2020/markdown/markdown.module.mjs +23 -0
  20. package/esm2020/markdown/markdown.service.mjs +52 -0
  21. package/esm2020/markdown/ptsecurity-mosaic-markdown.mjs +5 -0
  22. package/esm2020/markdown/public-api.mjs +4 -0
  23. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +613 -1
  24. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  25. package/fesm2015/ptsecurity-mosaic-markdown.mjs +120 -0
  26. package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +1 -0
  27. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +613 -1
  28. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  29. package/fesm2020/ptsecurity-mosaic-markdown.mjs +119 -0
  30. package/fesm2020/ptsecurity-mosaic-markdown.mjs.map +1 -0
  31. package/markdown/README.md +0 -0
  32. package/markdown/index.d.ts +1 -0
  33. package/markdown/markdown.component.d.ts +16 -0
  34. package/markdown/markdown.module.d.ts +11 -0
  35. package/markdown/markdown.service.d.ts +7 -0
  36. package/markdown/public-api.d.ts +3 -0
  37. package/package.json +12 -4
  38. package/prebuilt-themes/dark-theme.css +1 -1
  39. package/prebuilt-themes/default-theme.css +1 -1
@@ -0,0 +1,7 @@
1
+ module.exports = (StyleDictionary) => {
2
+
3
+ StyleDictionary.registerFilter({
4
+ name: 'md-typography',
5
+ matcher: (prop) => prop.attributes['md-typography']
6
+ })
7
+ }
@@ -6,6 +6,7 @@ module.exports = (StyleDictionary) => {
6
6
  'attribute/cti',
7
7
  'mc-attribute/palette',
8
8
  'mc-attribute/typography',
9
+ 'mc-attribute/md-typography',
9
10
  'name/cti/kebab'
10
11
  ]
11
12
  });
@@ -0,0 +1,9 @@
1
+ module.exports = (StyleDictionary) => {
2
+
3
+ StyleDictionary.registerTransform({
4
+ name: 'mc-attribute/md-typography',
5
+ type: 'attribute',
6
+ matcher: (prop) => prop.attributes.category === 'md-typography',
7
+ transformer: () => ({ 'md-typography': true })
8
+ });
9
+ };