this.gui 1.0.14 → 1.0.16

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 (259) hide show
  1. package/README.md +0 -39
  2. package/dist/style.css +1 -1
  3. package/dist/this-gui.es.js +3751 -1882
  4. package/dist/this-gui.umd.js +34 -22
  5. package/package.json +14 -12
  6. package/src/App.jsx +50 -21
  7. package/src/SiteBuilder.jsx +39 -0
  8. package/src/index.mdx +10 -0
  9. package/src/main.jsx +11 -14
  10. package/src/scripts/postinstall.js +28 -31
  11. package/src/scripts/verifyLayouts.js +175 -0
  12. package/src/scripts/verifyTemplates.js +154 -0
  13. package/src/stories/Atoms/Alert/Alert.css +196 -14
  14. package/src/stories/Atoms/Alert/Alert.jsx +43 -28
  15. package/src/stories/Atoms/Alert/Alert.stories.jsx +154 -28
  16. package/src/stories/Atoms/Audio/Audio.css +246 -16
  17. package/src/stories/Atoms/Audio/Audio.jsx +204 -29
  18. package/src/stories/Atoms/Audio/Audio.stories.jsx +178 -28
  19. package/src/stories/Atoms/Badge/Badge.css +234 -15
  20. package/src/stories/Atoms/Badge/Badge.jsx +44 -31
  21. package/src/stories/Atoms/Badge/Badge.stories.jsx +108 -29
  22. package/src/stories/Atoms/Button/Button.css +106 -45
  23. package/src/stories/Atoms/Button/Button.jsx +31 -82
  24. package/src/stories/Atoms/Button/Button.stories.jsx +170 -40
  25. package/src/stories/Atoms/Caption/Caption.css +156 -16
  26. package/src/stories/Atoms/Caption/Caption.jsx +62 -31
  27. package/src/stories/Atoms/Caption/Caption.stories.jsx +194 -28
  28. package/src/stories/Atoms/Checkbox/Checkbox.css +168 -15
  29. package/src/stories/Atoms/Checkbox/Checkbox.jsx +73 -31
  30. package/src/stories/Atoms/Checkbox/Checkbox.stories.jsx +98 -27
  31. package/src/stories/Atoms/Container/Container.css +75 -15
  32. package/src/stories/Atoms/Container/Container.jsx +41 -28
  33. package/src/stories/Atoms/Container/Container.stories.jsx +92 -29
  34. package/src/stories/Atoms/Divider/Divider.css +131 -13
  35. package/src/stories/Atoms/Divider/Divider.jsx +54 -33
  36. package/src/stories/Atoms/Divider/Divider.stories.jsx +93 -29
  37. package/src/stories/Atoms/Heading/Heading.css +99 -16
  38. package/src/stories/Atoms/Heading/Heading.jsx +57 -29
  39. package/src/stories/Atoms/Heading/Heading.stories.jsx +117 -28
  40. package/src/stories/Atoms/Icon/Icon.css +219 -27
  41. package/src/stories/Atoms/Icon/Icon.jsx +67 -38
  42. package/src/stories/Atoms/Icon/Icon.stories.jsx +156 -51
  43. package/src/stories/Atoms/Image/Image.css +231 -15
  44. package/src/stories/Atoms/Image/Image.jsx +166 -32
  45. package/src/stories/Atoms/Image/Image.stories.jsx +319 -28
  46. package/src/stories/Atoms/Label/Label.css +158 -16
  47. package/src/stories/Atoms/Label/Label.jsx +61 -31
  48. package/src/stories/Atoms/Label/Label.stories.jsx +167 -28
  49. package/src/stories/Atoms/Link/Link.css +58 -16
  50. package/src/stories/Atoms/Link/Link.jsx +73 -32
  51. package/src/stories/Atoms/Link/Link.stories.jsx +141 -29
  52. package/src/stories/Atoms/Loader/Loader.css +93 -16
  53. package/src/stories/Atoms/Loader/Loader.jsx +47 -30
  54. package/src/stories/Atoms/Loader/Loader.stories.jsx +86 -28
  55. package/src/stories/Atoms/Logo/Logo.css +94 -0
  56. package/src/stories/Atoms/Logo/Logo.jsx +53 -0
  57. package/src/stories/Atoms/Logo/Logo.stories.jsx +120 -0
  58. package/src/stories/Atoms/Paragraph/Paragraph.css +167 -16
  59. package/src/stories/Atoms/Paragraph/Paragraph.jsx +67 -31
  60. package/src/stories/Atoms/Paragraph/Paragraph.stories.jsx +130 -28
  61. package/src/stories/Atoms/ProgressBar/ProgressBar.css +115 -17
  62. package/src/stories/Atoms/ProgressBar/ProgressBar.jsx +30 -31
  63. package/src/stories/Atoms/ProgressBar/ProgressBar.stories.jsx +72 -27
  64. package/src/stories/Atoms/RadioButton/RadioButton.css +118 -17
  65. package/src/stories/Atoms/RadioButton/RadioButton.jsx +77 -31
  66. package/src/stories/Atoms/RadioButton/RadioButton.stories.jsx +99 -27
  67. package/src/stories/Atoms/Range/Range.css +169 -0
  68. package/src/stories/Atoms/Range/Range.jsx +87 -0
  69. package/src/stories/Atoms/Range/Range.stories.jsx +110 -0
  70. package/src/stories/Atoms/Select/Select.css +74 -16
  71. package/src/stories/Atoms/Select/Select.jsx +62 -30
  72. package/src/stories/Atoms/Select/Select.stories.jsx +95 -27
  73. package/src/stories/Atoms/Slider/Slider.css +77 -16
  74. package/src/stories/Atoms/Slider/Slider.jsx +119 -31
  75. package/src/stories/Atoms/Slider/Slider.stories.jsx +77 -28
  76. package/src/stories/Atoms/Snackbar/Snackbar.css +297 -13
  77. package/src/stories/Atoms/Snackbar/Snackbar.jsx +62 -31
  78. package/src/stories/Atoms/Snackbar/Snackbar.stories.jsx +63 -26
  79. package/src/stories/Atoms/Spacer/Spacer.css +101 -16
  80. package/src/stories/Atoms/Spacer/Spacer.jsx +26 -32
  81. package/src/stories/Atoms/Spacer/Spacer.stories.jsx +50 -30
  82. package/src/stories/Atoms/Spinner/Spinner.css +97 -16
  83. package/src/stories/Atoms/Spinner/Spinner.jsx +50 -26
  84. package/src/stories/Atoms/Spinner/Spinner.stories.jsx +47 -30
  85. package/src/stories/Atoms/Tag/Tag.css +97 -14
  86. package/src/stories/Atoms/Tag/Tag.jsx +58 -24
  87. package/src/stories/Atoms/Tag/Tag.stories.jsx +55 -29
  88. package/src/stories/Atoms/TextArea/TextArea.css +84 -15
  89. package/src/stories/Atoms/TextArea/TextArea.jsx +107 -31
  90. package/src/stories/Atoms/TextArea/TextArea.stories.jsx +24 -30
  91. package/src/stories/Atoms/TextInput/TextInput.css +89 -17
  92. package/src/stories/Atoms/TextInput/TextInput.jsx +118 -27
  93. package/src/stories/Atoms/TextInput/TextInput.stories.jsx +52 -25
  94. package/src/stories/Atoms/Toggle/Toggle.css +105 -17
  95. package/src/stories/Atoms/Toggle/Toggle.jsx +55 -28
  96. package/src/stories/Atoms/Toggle/Toggle.stories.jsx +23 -30
  97. package/src/stories/Atoms/Tooltip/Tooltip.css +367 -14
  98. package/src/stories/Atoms/Tooltip/Tooltip.jsx +32 -28
  99. package/src/stories/Atoms/Tooltip/Tooltip.stories.jsx +41 -31
  100. package/src/stories/Atoms/Video/Video.css +27 -18
  101. package/src/stories/Atoms/Video/Video.jsx +65 -29
  102. package/src/stories/Atoms/Video/Video.stories.jsx +29 -30
  103. package/src/stories/Atoms/index.js +5 -2
  104. package/src/stories/Atoms/meta_Atoms.js +3 -1
  105. package/src/stories/Layouts/Accordion/Accordion.css +16 -0
  106. package/src/stories/Layouts/Accordion/Accordion.jsx +31 -0
  107. package/src/stories/Layouts/Accordion/Accordion.stories.jsx +28 -0
  108. package/src/stories/Layouts/DropdownMenu/DropdownMenu.css +16 -0
  109. package/src/stories/Layouts/DropdownMenu/DropdownMenu.jsx +31 -0
  110. package/src/stories/Layouts/DropdownMenu/DropdownMenu.stories.jsx +28 -0
  111. package/src/stories/Layouts/Flexbox/Flexbox.css +16 -0
  112. package/src/stories/Layouts/Flexbox/Flexbox.jsx +11 -0
  113. package/src/stories/Layouts/Flexbox/Flexbox.stories.jsx +28 -0
  114. package/src/stories/Layouts/Footer/Footer.css +16 -0
  115. package/src/stories/Layouts/Footer/Footer.jsx +31 -0
  116. package/src/stories/Layouts/Footer/Footer.stories.jsx +28 -0
  117. package/src/stories/Layouts/Grid/Grid.jsx +2 -4
  118. package/src/stories/Layouts/Grid/Grid.stories.jsx +20 -18
  119. package/src/stories/Layouts/Header/Header.css +16 -0
  120. package/src/stories/Layouts/Header/Header.jsx +31 -0
  121. package/src/stories/Layouts/Header/Header.stories.jsx +28 -0
  122. package/src/stories/Layouts/HeroBanner/HeroBanner.css +16 -0
  123. package/src/stories/Layouts/HeroBanner/HeroBanner.jsx +31 -0
  124. package/src/stories/Layouts/HeroBanner/HeroBanner.stories.jsx +28 -0
  125. package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.css +16 -0
  126. package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.jsx +31 -0
  127. package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.stories.jsx +28 -0
  128. package/src/stories/Layouts/Pagination/Pagination.css +16 -0
  129. package/src/stories/Layouts/Pagination/Pagination.jsx +31 -0
  130. package/src/stories/Layouts/Pagination/Pagination.stories.jsx +28 -0
  131. package/src/stories/Layouts/Section/Section.css +16 -0
  132. package/src/stories/Layouts/Section/Section.jsx +31 -0
  133. package/src/stories/Layouts/Section/Section.stories.jsx +28 -0
  134. package/src/stories/Layouts/Sidebar/Sidebar.css +16 -0
  135. package/src/stories/Layouts/Sidebar/Sidebar.jsx +71 -0
  136. package/src/stories/Layouts/Sidebar/Sidebar.stories.jsx +28 -0
  137. package/src/stories/Layouts/Tabs/Tabs.css +16 -0
  138. package/src/stories/Layouts/Tabs/Tabs.jsx +31 -0
  139. package/src/stories/Layouts/Tabs/Tabs.stories.jsx +28 -0
  140. package/src/stories/Layouts/index.js +31 -0
  141. package/src/stories/Layouts/meta_Layouts.js +31 -0
  142. package/src/stories/Molecules/Navbar/Navbar.css +63 -59
  143. package/src/stories/Molecules/Navbar/Navbar.jsx +43 -48
  144. package/src/stories/Molecules/Navbar/Navbar.stories.jsx +58 -8
  145. package/src/stories/Molecules/SearchBar/SearchBar.css +66 -1
  146. package/src/stories/Molecules/SearchBar/SearchBar.jsx +59 -11
  147. package/src/stories/Molecules/SearchBar/SearchBar.stories.jsx +16 -7
  148. package/src/stories/Molecules/SelectTheme/SelectTheme.jsx +16 -38
  149. package/src/stories/Molecules/SelectTheme/SelectTheme.stories.jsx +1 -2
  150. package/src/stories/Molecules/Sidebar/Sidebar.css +65 -2
  151. package/src/stories/Molecules/Sidebar/Sidebar.jsx +66 -11
  152. package/src/stories/Molecules/Sidebar/Sidebar.stories.jsx +20 -5
  153. package/src/stories/Templates/AdminDashboard/AdminDashboard.css +7 -0
  154. package/src/stories/Templates/AdminDashboard/AdminDashboard.jsx +24 -0
  155. package/src/stories/Templates/AdminDashboard/AdminDashboard.stories.jsx +20 -0
  156. package/src/stories/Templates/CallToAction/CallToAction.css +7 -0
  157. package/src/stories/Templates/CallToAction/CallToAction.jsx +24 -0
  158. package/src/stories/Templates/CallToAction/CallToAction.stories.jsx +20 -0
  159. package/src/stories/Templates/FeaturesList/FeaturesList.css +7 -0
  160. package/src/stories/Templates/FeaturesList/FeaturesList.jsx +24 -0
  161. package/src/stories/Templates/FeaturesList/FeaturesList.stories.jsx +20 -0
  162. package/src/stories/Templates/FormSection/FormSection.css +7 -0
  163. package/src/stories/Templates/FormSection/FormSection.jsx +24 -0
  164. package/src/stories/Templates/FormSection/FormSection.stories.jsx +20 -0
  165. package/src/stories/Templates/HeroSection/HeroSection.css +7 -0
  166. package/src/stories/Templates/HeroSection/HeroSection.jsx +24 -0
  167. package/src/stories/Templates/HeroSection/HeroSection.stories.jsx +20 -0
  168. package/src/stories/Templates/LocationInfo/LocationInfo.css +7 -0
  169. package/src/stories/Templates/LocationInfo/LocationInfo.jsx +24 -0
  170. package/src/stories/Templates/LocationInfo/LocationInfo.stories.jsx +20 -0
  171. package/src/stories/Templates/ProductPage/ProductPage.css +7 -0
  172. package/src/stories/Templates/ProductPage/ProductPage.jsx +24 -0
  173. package/src/stories/Templates/ProductPage/ProductPage.stories.jsx +20 -0
  174. package/src/stories/Templates/RegistrationPage/RegistrationPage.css +7 -0
  175. package/src/stories/Templates/RegistrationPage/RegistrationPage.jsx +24 -0
  176. package/src/stories/Templates/RegistrationPage/RegistrationPage.stories.jsx +20 -0
  177. package/src/stories/Templates/ShoppingCart/ShoppingCart.css +7 -0
  178. package/src/stories/Templates/ShoppingCart/ShoppingCart.jsx +24 -0
  179. package/src/stories/Templates/ShoppingCart/ShoppingCart.stories.jsx +20 -0
  180. package/src/stories/Templates/SidebarTopNav/SidebarTopNav.css +7 -0
  181. package/src/stories/Templates/SidebarTopNav/SidebarTopNav.jsx +24 -0
  182. package/src/stories/Templates/SidebarTopNav/SidebarTopNav.stories.jsx +20 -0
  183. package/src/stories/Templates/SignInPage/SignInPage.css +7 -0
  184. package/src/stories/Templates/SignInPage/SignInPage.jsx +24 -0
  185. package/src/stories/Templates/SignInPage/SignInPage.stories.jsx +20 -0
  186. package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.css +7 -0
  187. package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.jsx +24 -0
  188. package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.stories.jsx +20 -0
  189. package/src/stories/Templates/Testimonials/Testimonials.css +7 -0
  190. package/src/stories/Templates/Testimonials/Testimonials.jsx +24 -0
  191. package/src/stories/Templates/Testimonials/Testimonials.stories.jsx +20 -0
  192. package/src/stories/Templates/index.js +33 -0
  193. package/src/stories/Templates/{Templates.js → meta_Templates.js} +3 -1
  194. package/src/stories/assets/logo.png +0 -0
  195. package/src/stories/assets/logo.svg +106 -0
  196. package/src/stories/assets/test.svg +3 -0
  197. package/src/themes/README.md +301 -0
  198. package/src/themes/ThemeProvider.jsx +47 -22
  199. package/src/themes/styles/dracula/dark.css +0 -0
  200. package/src/themes/styles/dracula/light.css +0 -0
  201. package/src/themes/styles/github/dark.css +0 -0
  202. package/src/themes/styles/github/light.css +0 -0
  203. package/src/themes/styles/neurons/dark.css +247 -0
  204. package/src/themes/styles/neurons/light.css +280 -0
  205. package/dist/github-3688a83a.js +0 -5
  206. package/dist/gothic-94a7ecd6.js +0 -5
  207. package/dist/newsprint-32bf94d9.js +0 -5
  208. package/dist/night-4a954853.js +0 -5
  209. package/dist/pixyll-94de4610.js +0 -5
  210. package/dist/whitey-db68723e.js +0 -5
  211. package/src/MDXEditor.jsx +0 -32
  212. package/src/stories/Atoms/RangeInput/RangeInput.css +0 -29
  213. package/src/stories/Atoms/RangeInput/RangeInput.jsx +0 -41
  214. package/src/stories/Atoms/RangeInput/RangeInput.stories.jsx +0 -41
  215. package/src/stories/Components.md +0 -189
  216. package/src/stories/Layouts/Layout.js +0 -28
  217. package/src/styles/Header.modules.css +0 -32
  218. package/src/styles/global.css +0 -59
  219. package/src/themes/Themes.js +0 -44
  220. package/src/themes/dark.js +0 -22
  221. package/src/themes/light.js +0 -22
  222. package/src/themes/typ/Readme.md +0 -4
  223. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-700.woff2 +0 -0
  224. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-700italic.woff2 +0 -0
  225. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-italic.woff2 +0 -0
  226. package/src/themes/typ/github/open-sans-v17-latin-ext_latin-regular.woff2 +0 -0
  227. package/src/themes/typ/github.css +0 -416
  228. package/src/themes/typ/gothic/GUST e-foundry License.txt +0 -29
  229. package/src/themes/typ/gothic/didact-gothic-c-ext.woff2 +0 -0
  230. package/src/themes/typ/gothic/didact-gothic-c.woff2 +0 -0
  231. package/src/themes/typ/gothic/texgyreadventor-bold.woff +0 -0
  232. package/src/themes/typ/gothic/texgyreadventor-bolditalic.woff +0 -0
  233. package/src/themes/typ/gothic/texgyreadventor-italic.woff +0 -0
  234. package/src/themes/typ/gothic/texgyreadventor-regular.woff +0 -0
  235. package/src/themes/typ/gothic.css +0 -410
  236. package/src/themes/typ/newsprint/pt-serif-v11-latin-700.woff2 +0 -0
  237. package/src/themes/typ/newsprint/pt-serif-v11-latin-700italic.woff2 +0 -0
  238. package/src/themes/typ/newsprint/pt-serif-v11-latin-italic.woff2 +0 -0
  239. package/src/themes/typ/newsprint/pt-serif-v11-latin-regular.woff2 +0 -0
  240. package/src/themes/typ/newsprint.css +0 -622
  241. package/src/themes/typ/night/codeblock.dark.css +0 -113
  242. package/src/themes/typ/night/credit.html +0 -1
  243. package/src/themes/typ/night/cursor.png +0 -0
  244. package/src/themes/typ/night/cursor@2x.png +0 -0
  245. package/src/themes/typ/night/mermaid.dark.css +0 -7
  246. package/src/themes/typ/night/sourcemode.dark.css +0 -38
  247. package/src/themes/typ/night.css +0 -1032
  248. package/src/themes/typ/pixyll/lato-v14-latin-300.woff +0 -0
  249. package/src/themes/typ/pixyll/lato-v14-latin-300italic.woff +0 -0
  250. package/src/themes/typ/pixyll/lato-v14-latin-900.woff +0 -0
  251. package/src/themes/typ/pixyll/lato-v14-latin-900italic.woff +0 -0
  252. package/src/themes/typ/pixyll/merriweather-v19-latin-300.woff +0 -0
  253. package/src/themes/typ/pixyll/merriweather-v19-latin-300italic.woff +0 -0
  254. package/src/themes/typ/pixyll/merriweather-v19-latin-700.woff +0 -0
  255. package/src/themes/typ/pixyll/merriweather-v19-latin-700italic.woff +0 -0
  256. package/src/themes/typ/pixyll.css +0 -528
  257. package/src/themes/typ/whitey.css +0 -299
  258. /package/src/stories/Molecules/{Molecules.js → meta_Molecules.js} +0 -0
  259. /package/src/stories/Organisms/{Organisms.js → meta_Organisms.js} +0 -0
@@ -1,5 +0,0 @@
1
- const t = `html{font-size:19px}html,body{margin:auto;background:#fefefe;-webkit-font-smoothing:antialiased}body{font-family:Vollkorn,Palatino,Times;color:#333;line-height:1.4;text-align:justify}#write{max-width:960px;margin:0 auto 2em;line-height:1.53;padding-top:40px}@media only screen and (min-width: 1400px){#write{max-width:1100px}}@media print{html{font-size:13px}}#write>h1:first-child,h1{margin-top:1.6em;font-weight:400}h1{font-size:3em}h2{margin-top:2em;font-weight:400}h3{font-weight:400;font-style:italic;margin-top:3em}h1,h2,h3{text-align:center}h2:after{border-bottom:1px solid #2f2f2f;content:"";width:100px;display:block;margin:0 auto;height:1px}h1+h2,h2+h3{margin-top:.83em}p,.mathjax-block{margin-top:0;-webkit-hypens:auto;-moz-hypens:auto;-webkit-hyphens:auto;hyphens:auto}ul{list-style:square;padding-left:1.2em}ol{padding-left:1.2em}@media print{ol{padding-left:40px}}blockquote{margin-left:1em;padding-left:1em;border-left:1px solid #ddd}code,pre{font-family:Consolas,Menlo,Monaco,monospace,serif;font-size:.9em;background:white}.md-fences{margin-left:1em;padding-left:1em;border:1px solid #ddd;padding-bottom:8px;padding-top:6px;margin-bottom:1.5em}a{color:#2484c1;text-decoration:none}a:hover{text-decoration:underline}a img{border:none}h1 a,h1 a:hover{color:#333;text-decoration:none}hr{color:#ddd;height:1px;margin:2em 0;border-top:solid 1px #ddd;border-bottom:none;border-left:0;border-right:0}.ty-table-edit{background:#ededed;padding-top:4px}table{margin-bottom:1.333333rem}table th,table td{padding:8px;line-height:1.333333rem;vertical-align:top;border-top:1px solid #ddd}table th{font-weight:700}table thead th{vertical-align:bottom}table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}table tbody+tbody{border-top:2px solid #ddd}.task-list{padding:0}.md-task-list-item{padding-left:1.6rem}.md-task-list-item>input:before{content:"√";display:inline-block;width:1.33333333rem;height:1.6rem;vertical-align:middle;text-align:center;color:#ddd;background-color:#fefefe}.md-task-list-item>input:checked:before,.md-task-list-item>input[checked]:before{color:inherit}.md-tag{color:inherit;font:inherit}#write pre.md-meta-block{min-height:35px;white-space:pre;background:#f8f8f8;border:0px;color:#999;width:100vw;max-width:calc(100% + 60px);margin-left:-30px;border-left:30px #f8f8f8 solid;border-right:30px #f8f8f8 solid;margin-bottom:2em;margin-top:-1.3333333333333rem;line-height:1.8em;font-size:.76em;padding:26px 1em 10px 0}.md-img-error.md-image>.md-meta{vertical-align:bottom}#write>h5.md-focus:before{top:2px}.md-toc{margin-top:40px}.md-toc-content{padding-bottom:20px}.outline-expander:before{color:inherit;font-size:14px;top:auto;content:"";font-family:FontAwesome}.outline-expander:hover:before,.outline-item-open>.outline-item>.outline-expander:before{content:""}#typora-source{font-family:Courier,monospace;color:#6a6a6a}.html-for-mac #typora-sidebar{box-shadow:0 6px 12px #0000002d}.cm-s-typora-default .cm-header,.cm-s-typora-default .cm-property,.CodeMirror.cm-s-typora-default div.CodeMirror-cursor{color:#428bca}.cm-s-typora-default .cm-atom,.cm-s-typora-default .cm-number{color:#777}.typora-node .file-list-item-parent-loc,.typora-node .file-list-item-time,.typora-node .file-list-item-summary{font-family:arial,sans-serif}.md-task-list-item>input{margin-left:-1.3em;margin-top:calc(1rem - 12px)}.md-mathjax-midline{background:#fafafa}.md-fences .code-tooltip{bottom:-2em!important}.dropdown-menu .divider{border-color:#e5e5e5}
2
- `;
3
- export {
4
- t as default
5
- };
package/src/MDXEditor.jsx DELETED
@@ -1,32 +0,0 @@
1
- // this.GUI/src/MDXEditor.jsx
2
- import React, { useState } from 'react';
3
- import { MdxProvider } from './providers/MdxProvider';
4
- import { ThemeProvider } from './providers/ThemeProvider';
5
- import Editor from '@monaco-editor/react'; // Or any other MDX editor you prefer
6
-
7
- const MDXEditor = () => {
8
- const [content, setContent] = useState('# Your MDX here');
9
-
10
- return (
11
- <ThemeProvider>
12
- <MdxProvider>
13
- <div style={{ display: 'flex', height: '100vh' }}>
14
- <Editor
15
- height="100%"
16
- defaultLanguage="mdx"
17
- value={content}
18
- onChange={(value) => setContent(value || '')}
19
- />
20
- <div style={{ flex: 1, padding: '20px', overflow: 'auto' }}>
21
- <MdxProvider>
22
- {/* Live preview of the MDX content */}
23
- {React.createElement(MdxProvider, {}, content)}
24
- </MdxProvider>
25
- </div>
26
- </div>
27
- </MdxProvider>
28
- </ThemeProvider>
29
- );
30
- };
31
-
32
- export default MDXEditor;
@@ -1,29 +0,0 @@
1
-
2
- .rangeinput {
3
- padding: 16px;
4
- border-radius: 8px;
5
- background-color: #f0f0f0;
6
- border: 1px solid #ddd;
7
- }
8
-
9
- .rangeinput--primary {
10
- background-color: #e3f2fd;
11
- border-color: #1e88e5;
12
- }
13
-
14
- .rangeinput--secondary {
15
- background-color: #fff;
16
- border-color: #ccc;
17
- }
18
-
19
- .rangeinput--small {
20
- padding: 8px;
21
- }
22
-
23
- .rangeinput--medium {
24
- padding: 16px;
25
- }
26
-
27
- .rangeinput--large {
28
- padding: 32px;
29
- }
@@ -1,41 +0,0 @@
1
-
2
- import React from 'react';
3
- import PropTypes from 'prop-types';
4
- import './RangeInput.css';
5
-
6
- /**
7
- * RangeInput component for user interaction
8
- */
9
- export const RangeInput = ({ primary, size, children, ...props }) => {
10
- const mode = primary ? 'rangeinput--primary' : 'rangeinput--secondary';
11
- return (
12
- <div
13
- className={['rangeinput', `rangeinput--${size}`, mode].join(' ')}
14
- {...props}
15
- >
16
- {children}
17
- </div>
18
- );
19
- };
20
-
21
- RangeInput.propTypes = {
22
- /**
23
- * Is this the primary style for the component?
24
- */
25
- primary: PropTypes.bool,
26
- /**
27
- * Size of the component
28
- */
29
- size: PropTypes.oneOf(['small', 'medium', 'large']),
30
- /**
31
- * Content to be rendered inside the component
32
- */
33
- children: PropTypes.node.isRequired,
34
- };
35
-
36
- RangeInput.defaultProps = {
37
- primary: false,
38
- size: 'medium',
39
- };
40
-
41
- export default RangeInput;
@@ -1,41 +0,0 @@
1
-
2
- import { RangeInput } from './RangeInput';
3
-
4
- // Storybook configuration for RangeInput component
5
- export default {
6
- title: 'Atoms/Interactive/RangeInput',
7
- component: RangeInput,
8
- parameters: {
9
- layout: 'centered',
10
- },
11
- argTypes: {
12
- children: { control: 'text' },
13
- },
14
- };
15
-
16
- export const Primary = {
17
- args: {
18
- primary: true,
19
- children: 'This is a primary RangeInput',
20
- },
21
- };
22
-
23
- export const Secondary = {
24
- args: {
25
- children: 'This is a secondary RangeInput',
26
- },
27
- };
28
-
29
- export const Large = {
30
- args: {
31
- size: 'large',
32
- children: 'This is a large RangeInput',
33
- },
34
- };
35
-
36
- export const Small = {
37
- args: {
38
- size: 'small',
39
- children: 'This is a small RangeInput',
40
- },
41
- };
@@ -1,189 +0,0 @@
1
- ## **Explanation of Grouping:**
2
-
3
- ​ • **Atomic**: Smallest components that are not broken down further.
4
- ​ • **Molecules**: Simple combinations of atomic components that together form a small UI feature.
5
- ​ • **Organisms**: More complex, combining molecules and atomic components to create larger, more detailed features.
6
- ​ • **Layout**: Components related to structuring and organizing content across the page.
7
- ​ • **Templates**: Layouts of full pages, combining organisms and layout components.
8
- ​ • **Pages**: Complete and functional pages made up of templates and content.
9
- ​ • **Miscellaneous**: Utility components that don’t fit into the above categories but provide important functions, such as popovers, overlays, and media controls.
10
-
11
- # 1**. Atomic Components (Basic/Building Blocks)**
12
- Atomic components are the smallest building blocks and cannot be broken down further.
13
-
14
- ​ • **Text Components:**
15
- ​ • Heading (H1, H2, H3, etc.)
16
- ​ • Paragraph
17
- ​ • Label
18
- ​ • Caption
19
-
20
- ​ • **Interactive Components:**
21
- ​ • Button
22
- ​ • Link (Anchor)
23
- ​ • Icon (Clickable)
24
- ​ • Checkbox
25
- ​ • Radio Button
26
- ​ • Toggle/Switch
27
- ​ • Text Input
28
- ​ • Text Area
29
- ​ • Select/Dropdown
30
- ​ • Slider
31
- ​ • Range Input
32
-
33
- ​ • **Media Components:**
34
- ​ • Image
35
- ​ • Video
36
- ​ • Audio
37
- ​ • Icon
38
-
39
- ​ • **Visual Components:**
40
- ​ • Divider
41
- ​ • Spacer (For layout spacing)
42
- ​ • Tooltip
43
- ​ • Badge
44
- ​ • Tag/Chip
45
-
46
- ​ • **Feedback Components:**
47
-
48
- ​ • Loader/Spinner
49
- ​ • Progress Bar
50
- ​ • Alert
51
- ​ • Snackbar/Toast
52
- ​ • Tooltip
53
-
54
-
55
-
56
- # **2. Molecules (Combining Atomic Components)**
57
- Molecules are combinations of atomic components that work together to form a functional unit.
58
- ​ • **Form Elements:**
59
- ​ • Input Group (Input with Button)
60
- ​ • Input with Label
61
- ​ • Search Bar
62
- ​ • File Upload
63
- ​ • Form Field (Label + Input + Helper Text)
64
-
65
- ​ • **Buttons with Icons or Text:**
66
- ​ • Icon Button (Button with Icon)
67
- ​ • Button Group (Multiple Buttons together)
68
-
69
- ​ • **Media Molecules:**
70
- ​ • Image with Caption
71
- ​ • Video with Controls and Description
72
- ​ • Avatar + Name
73
- ​ • Audio Player
74
-
75
- ​ • **Feedback Molecules:**
76
- ​ • Notification (with Alert, Title, and Action)
77
- ​ • Modal (Header, Body, Footer)
78
-
79
-
80
-
81
- # **3. Organisms (Combining Molecules)**
82
- Organisms are larger and more complex UI components formed by grouping together multiple molecules or simple components.
83
-
84
- ​ • **Forms and Form Layouts:**
85
- ​ • Sign-In Form (Form fields + Submit Button)
86
- ​ • Registration Form (Fields for name, email, password + Terms Checkbox + Submit)
87
- ​ • Contact Form (Input fields + Message TextArea + Send Button)
88
-
89
- ​ • **Content Display:**
90
- ​ • Card (Image + Title + Description + Action Button)
91
- ​ • Media Card (Image/Video + Title + Text)
92
- ​ • List (Collection of items, e.g., a list of links or products)
93
- ​ • Accordion (Expandable sections with content inside)
94
-
95
- ​ • **Navigation:**
96
-
97
- ​ • Navbar (Logo + Links + Search + Menu Toggle)
98
- ​ • Sidebar (List of links for navigation)
99
- ​ • Breadcrumbs (Links showing hierarchy)
100
-
101
- ​ • **Media Collections:**
102
-
103
- ​ • Image Gallery (Grid of images with captions)
104
- ​ • Video Playlist (List of videos to watch)
105
- ​ • Carousel/Slider (Image or Media Slider)
106
-
107
- ​ • **Tables:**
108
-
109
- ​ • Data Table (Rows and Columns for displaying structured data)
110
- ​ • Pricing Table (Different pricing options)
111
- ​ • Comparison Table (Compares features/products)
112
-
113
-
114
-
115
- # **4. Layout Components (Page-Level Components)**
116
-
117
- Layout components are structural elements used to organize content on a page.
118
- ​ • **Grid/Section Layouts:**
119
- ​ • Grid (Arranges items in a structured layout with rows and columns)
120
- ​ • Section (A part of the page with a header, content, and actions)
121
- ​ • Flexbox Layout (Horizontally/Vertically aligned containers)
122
-
123
- ​ • **Navigation & Menus:**
124
- ​ • Header (Navbar + Search + Links)
125
- ​ • Footer (Copyright + Links + Social Media Icons)
126
- ​ • Dropdown Menu (Toggleable menu of options)
127
- ​ • Pagination (Buttons for navigating multiple pages)
128
-
129
- ​ • **Content Organization:**
130
- ​ • Sidebar (For navigation or additional info)
131
- ​ • Tabs (Switching between different content views)
132
- ​ • Accordion (Collapsible sections)
133
-
134
- ​ • **Hero Sections:**
135
- ​ • Hero Banner (Large heading, subheading, image, and call to action)
136
- ​ • Hero Image/Video Section (Introductory section at the top of a page)
137
-
138
-
139
-
140
- # **5. Templates (Combining Organisms and Layout Components)**
141
- Templates define the structure of entire pages by arranging multiple organisms and layout components.
142
-
143
- ​ • **Landing Pages:**
144
- ​ • Hero Section + Features List + Call-to-Action Button + Testimonials
145
- ​ • Product Landing Page (Hero, Features, Pricing, CTA)
146
-
147
- ​ • **Dashboard Layouts:**
148
- ​ • Sidebar + Top Navbar + Content Area
149
- ​ • Admin Dashboard (Graphs, Lists, Cards, Notifications)
150
-
151
- ​ • **E-Commerce Pages:**
152
- ​ • Product Page (Product Image, Description, Price, Add to Cart Button)
153
- ​ • Shopping Cart (List of items, quantity, total, checkout button)
154
-
155
- ​ • **Authentication Pages:**
156
- ​ • Sign-In Page (Form + Link to Register)
157
- ​ • Registration Page (Form + Link to Sign In)
158
-
159
- ​ • **Contact Us Page:**
160
- ​ • Form Section + Location Info + Social Media Links
161
-
162
-
163
- # **6. Pages (Final Composition of Templates)**
164
- Pages are final representations of the full UI, using templates to create entire sections with components.
165
- ​ • **Home Page**
166
- ​ • **About Us Page**
167
- ​ • **Contact Us Page**
168
- ​ • **User Profile Page**
169
- ​ • **Product Detail Page**
170
- ​ • **Checkout Page**
171
- ​ • **Blog/Article Page**
172
- ​ • **Admin Dashboard**
173
- ​ • **Search Results Page**
174
-
175
- # **7. Miscellaneous / Utility Components**
176
- These components often serve specialized purposes and improve user interaction.
177
- ​ • **Tooltips & Popovers:**
178
- ​ • Pop-up information when hovering over or clicking an element.
179
- ​ • **Overlays:**
180
- ​ • Modal/Popup Window
181
- ​ • Drawer (Slide-in navigation or settings panel)
182
- ​ • **Search Components:**
183
- ​ • Search Box (Input field with search button)
184
- ​ • Autocomplete/Typeahead
185
- ​ • **Media and Content Controls:**
186
- ​ • Audio/Video Controls (Play, Pause, Mute)
187
- ​ • Filters (Search filters, Tag filters)
188
- ​ • **Interactive Maps:**
189
- ​ • Map (With interactive markers, zoom, and pan)
@@ -1,28 +0,0 @@
1
- const Layout = {
2
- "Layout": {
3
- "Grid": [
4
- { name: "Grid", paths: { css: "./Grid/Grid.css", globalCss: "styles/global.css", jsx: "./Layout/Grid/Grid.jsx", stories: "src/stories/Layout/Grid/Grid.stories.jsx" }},
5
- ],
6
- "Section": [
7
- { name: "Section", paths: { css: "./Section/Section.css", globalCss: "styles/global.css", jsx: "./Layout/Section/Section.jsx", stories: "src/stories/Layout/Section/Section.stories.jsx" }},
8
- ],
9
- "FlexboxLayout": [
10
- { name: "Flexbox", paths: { css: "./Flexbox/Flexbox.css", globalCss: "styles/global.css", jsx: "./Layout/Flexbox/Flexbox.jsx", stories: "src/stories/Layout/Flexbox/Flexbox.stories.jsx" }},
11
- ],
12
- "NavigationAndMenus": [
13
- { name: "Header", paths: { css: "./Header/Header.css", globalCss: "styles/global.css", jsx: "./Layout/Header/Header.jsx", stories: "src/stories/Layout/Header/Header.stories.jsx" }},
14
- { name: "Footer", paths: { css: "./Footer/Footer.css", globalCss: "styles/global.css", jsx: "./Layout/Footer/Footer.jsx", stories: "src/stories/Layout/Footer/Footer.stories.jsx" }},
15
- { name: "DropdownMenu", paths: { css: "./DropdownMenu/DropdownMenu.css", globalCss: "styles/global.css", jsx: "./Layout/DropdownMenu/DropdownMenu.jsx", stories: "src/stories/Layout/DropdownMenu/DropdownMenu.stories.jsx" }},
16
- { name: "Pagination", paths: { css: "./Pagination/Pagination.css", globalCss: "styles/global.css", jsx: "./Layout/Pagination/Pagination.jsx", stories: "src/stories/Layout/Pagination/Pagination.stories.jsx" }},
17
- ],
18
- "ContentOrganization": [
19
- { name: "Sidebar", paths: { css: "./Sidebar/Sidebar.css", globalCss: "styles/global.css", jsx: "./Layout/Sidebar/Sidebar.jsx", stories: "src/stories/Layout/Sidebar/Sidebar.stories.jsx" }},
20
- { name: "Tabs", paths: { css: "./Tabs/Tabs.css", globalCss: "styles/global.css", jsx: "./Layout/Tabs/Tabs.jsx", stories: "src/stories/Layout/Tabs/Tabs.stories.jsx" }},
21
- { name: "Accordion", paths: { css: "./Accordion/Accordion.css", globalCss: "styles/global.css", jsx: "./Layout/Accordion/Accordion.jsx", stories: "src/stories/Layout/Accordion/Accordion.stories.jsx" }},
22
- ],
23
- "HeroSections": [
24
- { name: "HeroBanner", paths: { css: "./HeroBanner/HeroBanner.css", globalCss: "styles/global.css", jsx: "./Layout/HeroBanner/HeroBanner.jsx", stories: "src/stories/Layout/HeroBanner/HeroBanner.stories.jsx" }},
25
- { name: "HeroImageVideo", paths: { css: "./HeroImageVideo/HeroImageVideo.css", globalCss: "styles/global.css", jsx: "./Layout/HeroImageVideo/HeroImageVideo.jsx", stories: "src/stories/Layout/HeroImageVideo/HeroImageVideo.stories.jsx" }},
26
- ]
27
- }
28
- }
@@ -1,32 +0,0 @@
1
- /* src/styles/Header.modules.css */
2
-
3
- .header {
4
- background-color: #1976d2;
5
- color: white;
6
- padding: 1rem;
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
- font-family: Arial, sans-serif;
11
- }
12
-
13
- .logo {
14
- font-size: 1.5rem;
15
- font-weight: bold;
16
- }
17
-
18
- .nav {
19
- display: flex;
20
- gap: 1.5rem;
21
- }
22
-
23
- .nav a {
24
- color: white;
25
- text-decoration: none;
26
- font-size: 1rem;
27
- transition: color 0.3s;
28
- }
29
-
30
- .nav a:hover {
31
- color: #ffd700;
32
- }
@@ -1,59 +0,0 @@
1
- /* src/styles/global.css */
2
-
3
- /* Import fonts */
4
- @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
5
-
6
- /* Apply global styles */
7
- body {
8
- font-family: 'Roboto', sans-serif;
9
- font-weight: 400;
10
- line-height: 1.6;
11
- color: #333;
12
- margin: 0;
13
- padding: 0;
14
- background-color: #f9f9f9;
15
- }
16
-
17
- /* Headings */
18
- h1, h2, h3, h4, h5, h6 {
19
- font-weight: 700;
20
- margin-top: 1.5em;
21
- margin-bottom: 0.5em;
22
- }
23
-
24
- /* Paragraphs */
25
- p {
26
- margin-bottom: 1em;
27
- }
28
-
29
- /* Links */
30
- a {
31
- color: #0070f3;
32
- text-decoration: none;
33
- }
34
-
35
- a:hover {
36
- text-decoration: underline;
37
- }
38
-
39
- /* Code blocks */
40
- pre {
41
- background-color: #f5f5f5;
42
- padding: 1em;
43
- overflow-x: auto;
44
- }
45
-
46
- code {
47
- font-family: 'Courier New', Courier, monospace;
48
- }
49
-
50
-
51
- .light-theme {
52
- --bg-color: #ffffff;
53
- --text-color: #333333;
54
- }
55
-
56
- .dark-theme {
57
- --bg-color: #181818;
58
- --text-color: #eaeaea;
59
- }
@@ -1,44 +0,0 @@
1
- // src/themes/Themes.js
2
-
3
- const lightTheme = {
4
- buttonPadding: '12px 24px',
5
- buttonBorderRadius: '8px',
6
- buttonFontFamily: "'Roboto', sans-serif",
7
- buttonFontSize: '16px',
8
- buttonBoxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',
9
-
10
- buttonPrimaryBgColor: '#00695c',
11
- buttonPrimaryTextColor: '#ffffff',
12
- buttonPrimaryBorderColor: '#004d40',
13
- buttonPrimaryHoverBgColor: '#004d40',
14
- buttonPrimaryHoverBoxShadow: '0 4px 6px rgba(0, 0, 0, 0.2)',
15
-
16
- buttonSecondaryBgColor: '#ffffff',
17
- buttonSecondaryTextColor: '#00695c',
18
- buttonSecondaryBorderColor: '#00695c',
19
- buttonSecondaryHoverBgColor: '#f0f0f0',
20
- buttonSecondaryHoverBoxShadow: '0 4px 6px rgba(0, 0, 0, 0.1)',
21
- };
22
-
23
- const darkTheme = {
24
- // Similar structure with dark-themed values
25
- buttonPadding: '12px 24px',
26
- buttonBorderRadius: '8px',
27
- buttonFontFamily: "'Roboto', sans-serif",
28
- buttonFontSize: '16px',
29
- buttonBoxShadow: '0 2px 8px rgba(0, 0, 0, 0.3)',
30
-
31
- buttonPrimaryBgColor: '#1b5e20',
32
- buttonPrimaryTextColor: '#e0e0e0',
33
- buttonPrimaryBorderColor: '#004d40',
34
- buttonPrimaryHoverBgColor: '#004d40',
35
- buttonPrimaryHoverBoxShadow: '0 6px 10px rgba(0, 0, 0, 0.4)',
36
-
37
- buttonSecondaryBgColor: '#333',
38
- buttonSecondaryTextColor: '#e0e0e0',
39
- buttonSecondaryBorderColor: '#004d40',
40
- buttonSecondaryHoverBgColor: '#444',
41
- buttonSecondaryHoverBoxShadow: '0 6px 10px rgba(0, 0, 0, 0.4)',
42
- };
43
-
44
- export const themes = { light: lightTheme, dark: darkTheme };
@@ -1,22 +0,0 @@
1
- //this.GUI/src/themes/dark.js
2
- import { extendTheme } from '@mui/joy/styles';
3
-
4
- const darkTheme = extendTheme({
5
- colorSchemes: {
6
- dark: {
7
- palette: {
8
- primary: {
9
- solidBg: '#90caf9',
10
- },
11
- background: {
12
- body: '#121212',
13
- },
14
- },
15
- },
16
- },
17
- fontFamily: {
18
- body: 'Arial, sans-serif',
19
- },
20
- });
21
-
22
- export default darkTheme;
@@ -1,22 +0,0 @@
1
- //this.GUI/src/themes/light.js
2
- import { extendTheme } from '@mui/joy/styles';
3
-
4
- const lightTheme = extendTheme({
5
- colorSchemes: {
6
- light: {
7
- palette: {
8
- primary: {
9
- solidBg: '#1976d2',
10
- },
11
- background: {
12
- body: '#ffffff',
13
- },
14
- },
15
- },
16
- },
17
- fontFamily: {
18
- body: 'Arial, sans-serif',
19
- },
20
- });
21
-
22
- export default lightTheme;
@@ -1,4 +0,0 @@
1
- The built-in CSS will be replaced after update / reinstall, DO NOT MODIFY THEM.
2
-
3
- Refer https://support.typora.io/Add-Custom-CSS/ when you want to modify those CSS.
4
- Refer https://support.typora.io/About-Themes/ if you want to create / install new themes.