@mailstep/design-system 0.0.0 → 0.0.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 (149) hide show
  1. package/package.json +18 -4
  2. package/src/ui/index.ts +2 -0
  3. package/storybook-static/assets/BadgeIcon.stories-ff71b920.js +16 -0
  4. package/storybook-static/assets/BadgeIcon.stories-ff71b920.js.map +1 -0
  5. package/storybook-static/assets/Button.stories-f88970f8.js +318 -0
  6. package/storybook-static/assets/Button.stories-f88970f8.js.map +1 -0
  7. package/storybook-static/assets/Color-6VNJS4EI-a71f6b3f.js +2 -0
  8. package/storybook-static/assets/Color-6VNJS4EI-a71f6b3f.js.map +1 -0
  9. package/storybook-static/assets/DocsRenderer-NNNQARDV-8865c748.js +365 -0
  10. package/storybook-static/assets/DocsRenderer-NNNQARDV-8865c748.js.map +1 -0
  11. package/storybook-static/assets/Icon-2b18265b.js +768 -0
  12. package/storybook-static/assets/Icon-2b18265b.js.map +1 -0
  13. package/storybook-static/assets/Icon.stories-7a5d1d5a.js +36 -0
  14. package/storybook-static/assets/Icon.stories-7a5d1d5a.js.map +1 -0
  15. package/storybook-static/assets/Spinner-8c28ae00.js +30 -0
  16. package/storybook-static/assets/Spinner-8c28ae00.js.map +1 -0
  17. package/storybook-static/assets/Spinner.stories-9892e479.js +40 -0
  18. package/storybook-static/assets/Spinner.stories-9892e479.js.map +1 -0
  19. package/storybook-static/assets/WithTooltip-4HIR6TLV-ae7ae3c0.js +2 -0
  20. package/storybook-static/assets/WithTooltip-4HIR6TLV-ae7ae3c0.js.map +1 -0
  21. package/storybook-static/assets/_commonjsHelpers-de833af9.js +2 -0
  22. package/storybook-static/assets/_commonjsHelpers-de833af9.js.map +1 -0
  23. package/storybook-static/assets/_getPrototype-c468d7b4.js +27 -0
  24. package/storybook-static/assets/_getPrototype-c468d7b4.js.map +1 -0
  25. package/storybook-static/assets/config-1152c68d.js +55 -0
  26. package/storybook-static/assets/config-1152c68d.js.map +1 -0
  27. package/storybook-static/assets/formatter-SWP5E3XI-fc1f2b16.js +157 -0
  28. package/storybook-static/assets/formatter-SWP5E3XI-fc1f2b16.js.map +1 -0
  29. package/storybook-static/assets/iframe-5c6ac1e4.js +2 -0
  30. package/storybook-static/assets/iframe-5c6ac1e4.js.map +1 -0
  31. package/storybook-static/assets/index-356e4a49.js +7 -0
  32. package/storybook-static/assets/index-356e4a49.js.map +1 -0
  33. package/storybook-static/assets/index-3fd0d1ea.js +2 -0
  34. package/storybook-static/assets/index-3fd0d1ea.js.map +1 -0
  35. package/storybook-static/assets/index-76fb7be0.js +10 -0
  36. package/storybook-static/assets/index-76fb7be0.js.map +1 -0
  37. package/storybook-static/assets/index-8d47fad6.js +2 -0
  38. package/storybook-static/assets/index-8d47fad6.js.map +1 -0
  39. package/storybook-static/assets/index-d37d4223.js +2 -0
  40. package/storybook-static/assets/index-d37d4223.js.map +1 -0
  41. package/storybook-static/assets/index-e3f94786.js +119 -0
  42. package/storybook-static/assets/index-e3f94786.js.map +1 -0
  43. package/storybook-static/assets/preview-108c1c3c.js +21 -0
  44. package/storybook-static/assets/preview-108c1c3c.js.map +1 -0
  45. package/storybook-static/assets/preview-2059b184.js +2 -0
  46. package/storybook-static/assets/preview-2059b184.js.map +1 -0
  47. package/storybook-static/assets/preview-3c29a369.js +2 -0
  48. package/storybook-static/assets/preview-3c29a369.js.map +1 -0
  49. package/storybook-static/assets/preview-6751e51d.js +2 -0
  50. package/storybook-static/assets/preview-6751e51d.js.map +1 -0
  51. package/storybook-static/assets/preview-87eac49b.js +2 -0
  52. package/storybook-static/assets/preview-87eac49b.js.map +1 -0
  53. package/storybook-static/assets/preview-b3c37142.js +8 -0
  54. package/storybook-static/assets/preview-b3c37142.js.map +1 -0
  55. package/storybook-static/assets/preview-b8d6c68d.js +397 -0
  56. package/storybook-static/assets/preview-b8d6c68d.js.map +1 -0
  57. package/storybook-static/assets/preview-bed967c6.js +2 -0
  58. package/storybook-static/assets/preview-bed967c6.js.map +1 -0
  59. package/storybook-static/assets/preview-f247b047.js +26 -0
  60. package/storybook-static/assets/preview-f247b047.js.map +1 -0
  61. package/storybook-static/assets/styled-components.browser.esm-fbe642cd.js +20 -0
  62. package/storybook-static/assets/styled-components.browser.esm-fbe642cd.js.map +1 -0
  63. package/storybook-static/assets/syntaxhighlighter-NMPM6SWI-190fec00.js +2 -0
  64. package/storybook-static/assets/syntaxhighlighter-NMPM6SWI-190fec00.js.map +1 -0
  65. package/storybook-static/favicon.svg +7 -0
  66. package/storybook-static/iframe.html +458 -0
  67. package/storybook-static/index.html +126 -0
  68. package/storybook-static/index.json +1 -0
  69. package/storybook-static/project.json +1 -0
  70. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  71. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  72. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
  73. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  74. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +114 -0
  75. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
  76. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
  77. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  78. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
  79. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  80. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
  81. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  82. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
  83. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  84. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +27 -0
  85. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  86. package/storybook-static/sb-addons/links-0/manager-bundle.js +3 -0
  87. package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
  88. package/storybook-static/sb-common-assets/fonts.css +31 -0
  89. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  90. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  91. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  92. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  93. package/storybook-static/sb-manager/WithTooltip-4HIR6TLV-L6ICANXH.js +1 -0
  94. package/storybook-static/sb-manager/chunk-5AW67ZFX.js +348 -0
  95. package/storybook-static/sb-manager/chunk-AOJK37XK.js +406 -0
  96. package/storybook-static/sb-manager/chunk-OQCANWBN.js +7 -0
  97. package/storybook-static/sb-manager/chunk-TCCQ5FBZ.js +9 -0
  98. package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +1 -0
  99. package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
  100. package/storybook-static/sb-manager/globals.js +1 -0
  101. package/storybook-static/sb-manager/index.js +1 -0
  102. package/storybook-static/sb-manager/runtime.js +1 -0
  103. package/storybook-static/sb-manager/syntaxhighlighter-NMPM6SWI-WFK223KV.js +1 -0
  104. package/storybook-static/sb-preview/globals.js +1 -0
  105. package/storybook-static/sb-preview/runtime.js +112 -0
  106. package/storybook-static/stories.json +1 -0
  107. package/storybook-static/vite.svg +1 -0
  108. package/tsconfig.json +1 -0
  109. package/vite.config.ts +30 -4
  110. package/src/stories/themes/default.ts +0 -144
  111. package/src/stories/themes/index.ts +0 -11
  112. package/src/stories/themes/light.ts +0 -10
  113. package/src/stories/themes/mailwise.ts +0 -215
  114. /package/src/{packages/ui → ui}/Elements/Button/Button.d.ts +0 -0
  115. /package/src/{packages/ui → ui}/Elements/Button/Button.tsx +0 -0
  116. /package/src/{packages/ui → ui}/Elements/Button/index.d.ts +0 -0
  117. /package/src/{packages/ui → ui}/Elements/Button/index.ts +0 -0
  118. /package/src/{packages/ui → ui}/Elements/Button/stories/Button.stories.ts +0 -0
  119. /package/src/{packages/ui → ui}/Elements/Button/styles.ts +0 -0
  120. /package/src/{packages/ui → ui}/Elements/Button/types.ts +0 -0
  121. /package/src/{packages/ui → ui}/Elements/Icon/BadgeIcon.tsx +0 -0
  122. /package/src/{packages/ui → ui}/Elements/Icon/Icon.tsx +0 -0
  123. /package/src/{packages/ui → ui}/Elements/Icon/icons/FlagCZ.tsx +0 -0
  124. /package/src/{packages/ui → ui}/Elements/Icon/icons/FlagUSA.tsx +0 -0
  125. /package/src/{packages/ui → ui}/Elements/Icon/icons/index.ts +0 -0
  126. /package/src/{packages/ui → ui}/Elements/Icon/index.d.ts +0 -0
  127. /package/src/{packages/ui → ui}/Elements/Icon/index.ts +0 -0
  128. /package/src/{packages/ui → ui}/Elements/Icon/stories/BadgeIcon.stories.tsx +0 -0
  129. /package/src/{packages/ui → ui}/Elements/Icon/stories/Icon.stories.tsx +0 -0
  130. /package/src/{packages/ui → ui}/Elements/Icon/types.ts +0 -0
  131. /package/src/{packages/ui → ui}/Elements/Spinner/README.md +0 -0
  132. /package/src/{packages/ui → ui}/Elements/Spinner/Spinner.tsx +0 -0
  133. /package/src/{packages/ui → ui}/Elements/Spinner/index.d.ts +0 -0
  134. /package/src/{packages/ui → ui}/Elements/Spinner/index.ts +0 -0
  135. /package/src/{packages/ui → ui}/Elements/Spinner/stories/Spinner.stories.ts +0 -0
  136. /package/src/{packages/ui → ui}/Elements/Spinner/styles.ts +0 -0
  137. /package/src/{packages/ui → ui}/Elements/Spinner/types.ts +0 -0
  138. /package/src/{packages/ui → ui}/Elements/Spinner/yarn.lock +0 -0
  139. /package/src/{packages/ui → ui}/ThemeProvider/README.md +0 -0
  140. /package/src/{packages/ui → ui}/ThemeProvider/ThemeProvider.d.ts +0 -0
  141. /package/src/{packages/ui → ui}/ThemeProvider/ThemeProvider.tsx +0 -0
  142. /package/src/{packages/ui → ui}/ThemeProvider/index.d.ts +0 -0
  143. /package/src/{packages/ui → ui}/ThemeProvider/index.ts +0 -0
  144. /package/src/{packages/ui → ui}/ThemeProvider/themes/default.ts +0 -0
  145. /package/src/{packages/ui → ui}/ThemeProvider/themes/index.ts +0 -0
  146. /package/src/{packages/ui → ui}/ThemeProvider/themes/light.ts +0 -0
  147. /package/src/{packages/ui → ui}/ThemeProvider/themes/mailwise.ts +0 -0
  148. /package/src/{packages/ui → ui}/ThemeProvider/types.ts +0 -0
  149. /package/src/{packages/ui → ui}/ThemeProvider/yarn.lock +0 -0
@@ -0,0 +1 @@
1
+ {"v":3,"stories":{"elements-button--docs":{"id":"elements-button--docs","title":"Elements/Button","name":"Docs","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","docs"],"storiesImports":[],"kind":"Elements/Button","story":"Docs","parameters":{"__id":"elements-button--docs","docsOnly":true,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--primary":{"id":"elements-button--primary","name":"Primary","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Primary","parameters":{"__id":"elements-button--primary","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--primary-light":{"id":"elements-button--primary-light","name":"Primary Light","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Primary Light","parameters":{"__id":"elements-button--primary-light","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--secondary":{"id":"elements-button--secondary","name":"Secondary","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Secondary","parameters":{"__id":"elements-button--secondary","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--success":{"id":"elements-button--success","name":"Success","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Success","parameters":{"__id":"elements-button--success","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--large":{"id":"elements-button--large","name":"Large","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Large","parameters":{"__id":"elements-button--large","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--small":{"id":"elements-button--small","name":"Small","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Small","parameters":{"__id":"elements-button--small","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--disabled-primary":{"id":"elements-button--disabled-primary","name":"Disabled Primary","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Disabled Primary","parameters":{"__id":"elements-button--disabled-primary","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--disabled-secondary":{"id":"elements-button--disabled-secondary","name":"Disabled Secondary","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Disabled Secondary","parameters":{"__id":"elements-button--disabled-secondary","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--loading":{"id":"elements-button--loading","name":"Loading","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"Loading","parameters":{"__id":"elements-button--loading","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-button--with-icon":{"id":"elements-button--with-icon","name":"With Icon","title":"Elements/Button","importPath":"./src/packages/ui/Elements/Button/stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Elements/Button","story":"With Icon","parameters":{"__id":"elements-button--with-icon","docsOnly":false,"fileName":"./src/packages/ui/Elements/Button/stories/Button.stories.ts"}},"elements-badgeicon--docs":{"id":"elements-badgeicon--docs","title":"Elements/BadgeIcon","name":"Docs","importPath":"./src/packages/ui/Elements/Icon/stories/BadgeIcon.stories.tsx","tags":["autodocs","docs"],"storiesImports":[],"kind":"Elements/BadgeIcon","story":"Docs","parameters":{"__id":"elements-badgeicon--docs","docsOnly":true,"fileName":"./src/packages/ui/Elements/Icon/stories/BadgeIcon.stories.tsx"}},"elements-badgeicon--default":{"id":"elements-badgeicon--default","name":"Default","title":"Elements/BadgeIcon","importPath":"./src/packages/ui/Elements/Icon/stories/BadgeIcon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/BadgeIcon","story":"Default","parameters":{"__id":"elements-badgeicon--default","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/BadgeIcon.stories.tsx"}},"elements-icon--docs":{"id":"elements-icon--docs","title":"Elements/Icon","name":"Docs","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","docs"],"storiesImports":[],"kind":"Elements/Icon","story":"Docs","parameters":{"__id":"elements-icon--docs","docsOnly":true,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-icon--expedition":{"id":"elements-icon--expedition","name":"Expedition","title":"Elements/Icon","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/Icon","story":"Expedition","parameters":{"__id":"elements-icon--expedition","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-icon--spinning":{"id":"elements-icon--spinning","name":"Spinning","title":"Elements/Icon","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/Icon","story":"Spinning","parameters":{"__id":"elements-icon--spinning","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-icon--small-expedition":{"id":"elements-icon--small-expedition","name":"Small Expedition","title":"Elements/Icon","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/Icon","story":"Small Expedition","parameters":{"__id":"elements-icon--small-expedition","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-icon--big-expedition":{"id":"elements-icon--big-expedition","name":"Big Expedition","title":"Elements/Icon","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/Icon","story":"Big Expedition","parameters":{"__id":"elements-icon--big-expedition","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-icon--expedition-pink":{"id":"elements-icon--expedition-pink","name":"Expedition Pink","title":"Elements/Icon","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/Icon","story":"Expedition Pink","parameters":{"__id":"elements-icon--expedition-pink","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-icon--expedition-pink-solid":{"id":"elements-icon--expedition-pink-solid","name":"Expedition Pink Solid","title":"Elements/Icon","importPath":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx","tags":["autodocs","story"],"kind":"Elements/Icon","story":"Expedition Pink Solid","parameters":{"__id":"elements-icon--expedition-pink-solid","docsOnly":false,"fileName":"./src/packages/ui/Elements/Icon/stories/Icon.stories.tsx"}},"elements-spinner--docs":{"id":"elements-spinner--docs","title":"Elements/Spinner","name":"Docs","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","docs"],"storiesImports":[],"kind":"Elements/Spinner","story":"Docs","parameters":{"__id":"elements-spinner--docs","docsOnly":true,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--default":{"id":"elements-spinner--default","name":"Default","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Default","parameters":{"__id":"elements-spinner--default","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--sm":{"id":"elements-spinner--sm","name":"Sm","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Sm","parameters":{"__id":"elements-spinner--sm","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-concept":{"id":"elements-spinner--appearance-concept","name":"Appearance Concept","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Concept","parameters":{"__id":"elements-spinner--appearance-concept","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-done":{"id":"elements-spinner--appearance-done","name":"Appearance Done","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Done","parameters":{"__id":"elements-spinner--appearance-done","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-error":{"id":"elements-spinner--appearance-error","name":"Appearance Error","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Error","parameters":{"__id":"elements-spinner--appearance-error","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-info":{"id":"elements-spinner--appearance-info","name":"Appearance Info","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Info","parameters":{"__id":"elements-spinner--appearance-info","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-processing":{"id":"elements-spinner--appearance-processing","name":"Appearance Processing","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Processing","parameters":{"__id":"elements-spinner--appearance-processing","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-success":{"id":"elements-spinner--appearance-success","name":"Appearance Success","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Success","parameters":{"__id":"elements-spinner--appearance-success","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-warning":{"id":"elements-spinner--appearance-warning","name":"Appearance Warning","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Warning","parameters":{"__id":"elements-spinner--appearance-warning","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}},"elements-spinner--appearance-waiting":{"id":"elements-spinner--appearance-waiting","name":"Appearance Waiting","title":"Elements/Spinner","importPath":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts","tags":["autodocs","story"],"kind":"Elements/Spinner","story":"Appearance Waiting","parameters":{"__id":"elements-spinner--appearance-waiting","docsOnly":false,"fileName":"./src/packages/ui/Elements/Spinner/stories/Spinner.stories.ts"}}}}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/tsconfig.json CHANGED
@@ -12,6 +12,7 @@
12
12
  "resolveJsonModule": true,
13
13
  "isolatedModules": true,
14
14
  "noEmit": true,
15
+ "noImplicitAny": false,
15
16
  "jsx": "react-jsx",
16
17
 
17
18
  /* Linting */
package/vite.config.ts CHANGED
@@ -1,7 +1,33 @@
1
- import { defineConfig } from 'vite'
2
1
  import react from '@vitejs/plugin-react-swc'
2
+ import path from 'node:path';
3
+ import { defineConfig } from 'vite';
4
+ import dts from 'vite-plugin-dts';
5
+
6
+ const NAME = 'mailstep-design-system'
3
7
 
4
- // https://vitejs.dev/config/
5
8
  export default defineConfig({
6
- plugins: [react()],
7
- })
9
+ plugins: [
10
+ react(),
11
+ dts({
12
+ insertTypesEntry: true,
13
+ }),
14
+ ],
15
+ build: {
16
+ lib: {
17
+ entry: path.resolve(__dirname, 'src/ui/index.ts'),
18
+ name: NAME,
19
+ formats: ['es', 'umd'],
20
+ fileName: (format) => `${NAME}.${format}.js`,
21
+ },
22
+ rollupOptions: {
23
+ external: ['react', 'react-dom', 'styled-components'],
24
+ output: {
25
+ globals: {
26
+ react: 'React',
27
+ 'react-dom': 'ReactDOM',
28
+ 'styled-components': 'styled',
29
+ },
30
+ },
31
+ },
32
+ },
33
+ });
@@ -1,144 +0,0 @@
1
- const defaultTheme = {
2
- breakpoints: ['0'],
3
- colors: {
4
- white: '#FFFFFF',
5
- bgLightGray: '#FAFBFC',
6
- bgLightGray1: '#F1F5F9',
7
- lightGray1: '#F5F7FA',
8
- lightGray2: '#EFF3F8',
9
- lightGray3: '#D4D8DE',
10
- lightGray4: '#B9BFC9',
11
- lightGray5: '#A3B3C1',
12
- lightGray6: '#D2D8DF',
13
- lightGray7: '#E7EBEF',
14
- neutral20: '#F1F5F9',
15
- neutral300: '#5E6C84',
16
- gray: '#8594A5',
17
- gray1: '#7A90A1',
18
- gray2: '#9AA1A7',
19
- gray3: '#5F6C76',
20
- gray4: '#455665',
21
- gray5: '#647483',
22
- blue1: '#2C4052',
23
- blue2: '#22394E',
24
- blue3: '#162C3F',
25
- blue4: '#0C1F2F',
26
- textPrimary: '#091E42',
27
- textTertiary: '#7A869A',
28
- typoPrimary: '#22394E',
29
- blue10: '#F3F9FF',
30
- blue20: '#DCEFFF',
31
- blue60: '#0065FF',
32
- blue70: '#0052CC',
33
- blue80: '#0747A6',
34
- blue90: '#1d3557',
35
- teal20: '#E6FCFF',
36
- teal40: '#a8dadc',
37
- teal50: '#1aa1a7',
38
- teal60: '#00B1D0',
39
- teal70: '#1aa1da',
40
- teal80: '#06718C',
41
- teal90: '#035361',
42
- green10: '#F2FFF5',
43
- green20: '#DEFBE6',
44
- green30: '#b8ecb8',
45
- green50: '#81dd91',
46
- green60: '#00A445',
47
- green70: '#06d6a0',
48
- green80: '#0E6027',
49
- green90: '#067164',
50
- green: '#13CE62',
51
- successColor: '#24A148',
52
- darkGreen: '#00A445',
53
- orange20: '#FFF3E0',
54
- orange30: '#FFE6CC',
55
- orange50: '#ff9f43',
56
- orange60: '#FF9800',
57
- orange80: '#9E4800',
58
- yellow10: '#FFFDE8',
59
- yellow20: '#FFF9C4',
60
- yellow60: '#FFE600',
61
- yellow70: '#FFD702',
62
- yellow1: '#FFD702',
63
- yellow2: '#F2E871',
64
- red10: '#FFF6F4',
65
- red20: '#FFEBE6',
66
- red30: '#fec1cb',
67
- red50: '#ff7c7b',
68
- red1: '#DB2B19',
69
- red2: '#E94324',
70
- red3: '#991E12',
71
- red60: '#DB2B19',
72
- red80: '#B71C1C',
73
- dangerColor: '#E32C1E',
74
- purple20: '#F0EDFF',
75
- purple40: '#0072A0',
76
- purple50: '#4573B3',
77
- purple60: '#6554C0',
78
- purple80: '#403294',
79
- purple90: '#03235f',
80
- magenta20: '#FCF1F7',
81
- magenta60: '#EE5396',
82
- magenta80: '#9F1853',
83
- magenta90: '#872e8b',
84
- },
85
- fonts: {
86
- primary: 'Inter, sans-serif',
87
- heading: 'Inter, sans-serif',
88
- },
89
- fontLinks: ['https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'],
90
- fontSizes: ['10px', '12px', '14px', '16px', '18px', '21px', '24px', '32px'],
91
- lineHeights: [1.7],
92
- fontWeights: {
93
- default: null,
94
- normal: 400,
95
- medium: 500,
96
- semiBold: 600,
97
- bold: 700,
98
- },
99
- letterSpacings: {
100
- default: null,
101
- sm: '2px',
102
- md: '4px',
103
- lg: '8px',
104
- },
105
- borders: {
106
- slim: '1px solid',
107
- mediumSlim: '2px solid',
108
- medium: '3px solid',
109
- mediumThick: '6px solid',
110
- thick: '10px solid',
111
- },
112
- // ...........................
113
- radii: {
114
- sm: '2px',
115
- md: '4px',
116
- ml: '6px',
117
- lg: '8px',
118
- xl: '16px',
119
- },
120
- shadows: {
121
- boxShadow: '0px 5px 60px rgba(0, 0, 0, 0.1)',
122
- dropShadow: '0px 5px 40px rgba(0, 0, 0, 0.1)',
123
- inputFocusBoxShadow: '0 3px 10px 0 rgba(0, 0, 0, 0.15)',
124
- dropdownMenuShadow: '0 5px 25px rgba(0, 0, 0, 0.1)',
125
- tooltipBoxShadow: '0px 2px 20px rgba(0, 0, 0, 0.1)',
126
- cardShadow: '0 3px 10px 0 rgba(0, 0, 0, 0.15)',
127
- smooth: '0px 4px 25px 0px #0000001a',
128
- // redesign:
129
- dialogShadow: '1px 4px 7px rgba(0, 0, 0, 0.4)',
130
- tooltipShadow: '0px 1px 4px 0 #B1B8C3', // color is grayIII
131
- headerShadow: '1px 2px 3px #00000029',
132
- headerShadowB: '1px 1px 3px #00000029',
133
- headerShadowNotifications: '1px 1px 2px #00000029',
134
- cornerDialogShadow: '1px 1px 3px 1px #00000029',
135
- },
136
- space: [0, 4, 8, 16, 24, 48, 96, 144, 192, 240], // same as xstyled default
137
- transitions: {
138
- simpleLong: 'all 2s',
139
- inputTransition: 'border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out',
140
- },
141
- zIndices: [0, 1, 2, 3, 5, 30, 40, 100, 200, 300, 9999],
142
- }
143
-
144
- export default defaultTheme
@@ -1,11 +0,0 @@
1
- import defaultTheme from './default'
2
- import light from './light'
3
- import mailwise from './mailwise'
4
-
5
- const themes = {
6
- default: defaultTheme,
7
- light: light,
8
- mailwise: mailwise
9
- }
10
-
11
- export default themes
@@ -1,10 +0,0 @@
1
- import { Theme } from "../types";
2
-
3
- const lightTheme: Theme = {
4
- colors: {
5
- primary: "#219615",
6
- warning: "purple",
7
- },
8
- };
9
-
10
- export default lightTheme;
@@ -1,215 +0,0 @@
1
- const defaultTheme = {
2
- screens: {
3
- // same as xstyled default
4
- _: 0,
5
- xs: 479,
6
- sm: 721,
7
- md: 768,
8
- lg: 1024,
9
- xl: 1280,
10
- '2xl': 1536,
11
- },
12
- colors: {
13
- white: '#fff',
14
- bgLightGray: '#FAFBFC',
15
- bgLightGray1: '#F1F5F9',
16
- lightGray1: '#F5F7FA',
17
- lightGray2: '#EFF3F8',
18
- lightGray3: '#D4D8DE',
19
- lightGray4: '#B9BFC9',
20
- lightGray5: '#A3B3C1',
21
- lightGray6: '#D2D8DF',
22
- lightGray7: '#E7EBEF',
23
- neutral20: '#F1F5F9',
24
- gray: '#8594A5',
25
- gray1: '#7A90A1',
26
- gray2: '#9AA1A7',
27
- gray3: '#5F6C76',
28
- gray4: '#455665',
29
- gray5: '#647483',
30
- neutral300: '#5E6C84',
31
- blue1: '#2C4052',
32
- blue2: '#22394E',
33
- blue3: '#162C3F',
34
- blue4: '#0C1F2F',
35
- textPrimary: '#091E42',
36
- typoPrimary: '#22394E',
37
- blue10: '#F3F9FF',
38
- blue20: '#dcf2ff',
39
- blue60: '#0065FF',
40
- blue70: '#0052CC',
41
- blue80: '#0747A6',
42
- blue90: '#1d3557',
43
- teal20: '#E6FCFF',
44
- teal40: '#a8dadc',
45
- teal50: '#1aa1a7',
46
- teal60: '#00B1D0',
47
- teal70: '#1aa1da',
48
- teal80: '#06718C',
49
- teal90: '#035361',
50
- green10: '#F2FFF5',
51
- green20: '#DEFBE6',
52
- green30: '#b8ecb8',
53
- green50: '#81dd91',
54
- green60: '#00A445',
55
- green70: '#06d6a0',
56
- green80: '#0E6027',
57
- green90: '#067164',
58
- green: '#13CE62',
59
- successColor: '#24A148',
60
- darkGreen: '#00A445',
61
- orange20: '#FFF3E0',
62
- orange30: '#FFE6CC',
63
- orange50: '#ff9f43',
64
- orange60: '#FF9800',
65
- orange80: '#9E4800',
66
- yellow10: '#FFFDE8',
67
- yellow20: '#FFF9C4',
68
- yellow60: '#FFE600',
69
- yellow70: '#FFD702',
70
- yellow1: '#FFD702',
71
- yellow2: '#F2E871',
72
- red10: '#FFF6F4',
73
- red20: '#FFEBE6',
74
- red30: '#fec1cb',
75
- red50: '#ff7c7b',
76
- red1: '#DB2B19',
77
- red2: '#E94324',
78
- red3: '#991E12',
79
- red60: '#DB2B19',
80
- red80: '#B71C1C',
81
- dangerColor: '#E32C1E',
82
- purple20: '#F0EDFF',
83
- purple40: '#0072A0',
84
- purple50: '#4573B3',
85
- purple60: '#6554C0',
86
- purple80: '#403294',
87
- purple90: '#03235f',
88
- magenta20: '#FCF1F7',
89
- magenta60: '#EE5396',
90
- magenta80: '#9F1853',
91
- magenta90: '#872e8b',
92
- primary: '#626262',
93
- black: '#333333',
94
- error: '#ea5455',
95
- secondary: '#E15B63',
96
- },
97
- fonts: {
98
- primary: 'Inter, sans-serif',
99
- heading: 'Inter, sans-serif',
100
- },
101
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
102
- // @ts-ignore
103
- fontSizes: ['0rem', '0.87rem', '1rem', '1.25rem', '1.5rem', '1.8rem', '2.0rem', '2.4rem', '2.8rem', '3.5rem', '4rem'],
104
- // @ts-ignore
105
- lineHeights: {
106
- none: 1.2,
107
- tight: 1.2,
108
- snug: 1.2,
109
- normal: 1.2,
110
- relaxed: 1.2,
111
- loose: 1.2,
112
- 3: '1.2',
113
- 4: '1.2',
114
- 5: '1.2',
115
- 6: '1.2',
116
- 7: '1.2',
117
- 8: '1.2',
118
- 9: '1.2',
119
- 10: '1.2',
120
- },
121
- fontWeights: {
122
- normal: 400,
123
- medium: 500,
124
- semiBold: 600,
125
- bold: 700,
126
- },
127
- letterSpacings: {
128
- tighter: '2',
129
- tight: '2',
130
- normal: '4',
131
- wide: '8',
132
- wider: '8',
133
- widest: '8',
134
- },
135
- borders: {
136
- slim: '1px solid',
137
- mediumSlim: '2px solid',
138
- medium: '3px solid',
139
- mediumThick: '6px solid',
140
- thick: '10px solid',
141
- },
142
- radii: {
143
- none: '2px',
144
- sm: '5px',
145
- default: '10px',
146
- md: '20px',
147
- lg: '20px',
148
- xl: '20px',
149
- '2xl': '20px',
150
- '3xl': '20px',
151
- full: '20px',
152
- },
153
- shadows: {
154
- boxShadow: '0px 5px 60px rgba(0, 0, 0, 0.1)',
155
- dropShadow: '0px 5px 40px rgba(0, 0, 0, 0.1)',
156
- inputFocusBoxShadow: '0 3px 10px 0 rgba(0, 0, 0, 0.15)',
157
- dropdownMenuShadow: '0 5px 25px rgba(0, 0, 0, 0.1)',
158
- tooltipBoxShadow: '0px 2px 20px rgba(0, 0, 0, 0.1)',
159
- cardShadow: '0 3px 10px 0 rgba(0, 0, 0, 0.15)',
160
- smooth: '0px 4px 25px 0px #0000001a',
161
- // redesign:
162
- dialogShadow: '1px 4px 7px rgba(0, 0, 0, 0.4)',
163
- tooltipShadow: '0px 1px 4px 0 #B1B8C3', // color is grayIII
164
- headerShadow: '1px 2px 3px #00000029',
165
- headerShadowB: '1px 1px 3px #00000029',
166
- headerShadowNotifications: '1px 1px 2px #00000029',
167
- cornerDialogShadow: '1px 1px 3px 1px #00000029',
168
- },
169
- space: {
170
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
171
- // @ts-ignore
172
- px: '1px',
173
- 0: '0',
174
- 0.5: '0.125rem',
175
- 1: '0.25rem',
176
- 1.5: '0.375rem',
177
- 2: '0.5rem',
178
- 2.5: '0.625rem',
179
- 3: '0.75rem',
180
- 3.5: '0.875rem',
181
- 4: '1rem',
182
- 5: '1.25rem',
183
- 6: '1.5rem',
184
- 7: '1.75rem',
185
- 8: '2rem',
186
- 9: '2.25rem',
187
- 10: '2.5rem',
188
- 11: '2.75rem',
189
- 12: '3rem',
190
- 14: '3.5rem',
191
- 16: '4rem',
192
- 20: '5rem',
193
- 24: '6rem',
194
- 28: '7rem',
195
- 32: '8rem',
196
- 36: '9rem',
197
- 40: '10rem',
198
- 44: '11rem',
199
- 48: '12rem',
200
- 52: '13rem',
201
- 56: '14rem',
202
- 60: '15rem',
203
- 64: '16rem',
204
- 72: '18rem',
205
- 80: '20rem',
206
- 96: '24rem',
207
- },
208
- transitions: {
209
- simpleLong: 'all 2s',
210
- inputTransition: 'border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out',
211
- },
212
- zIndices: [0, 1, 2, 3, 5, 30, 40, 100, 200, 300, 9999],
213
- }
214
-
215
- export default defaultTheme
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes