@madie/madie-design-system 1.2.39 → 1.2.40

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 (290) hide show
  1. package/components/TruncateText/TruncateText.stories.js +25 -0
  2. package/components/TruncateText/index.js +52 -0
  3. package/components/index.js +2 -0
  4. package/coverage/clover.xml +3 -646
  5. package/coverage/coverage-final.json +1 -39
  6. package/coverage/lcov-report/index.html +11 -431
  7. package/coverage/lcov.info +0 -1389
  8. package/dist/browser.js +1 -1
  9. package/dist/index.js +1 -1
  10. package/dist/react/index.js +1 -1
  11. package/dist/react/index.js.map +1 -1
  12. package/doctor-storybook.log +41 -0
  13. package/madie-madie-design-system-1.2.40.tgz +0 -0
  14. package/migration-storybook.log +329 -0
  15. package/package.json +3 -1
  16. package/storybook-static/149.65bbc904.iframe.bundle.js +2 -0
  17. package/storybook-static/149.65bbc904.iframe.bundle.js.LICENSE.txt +14 -0
  18. package/storybook-static/164.e319e208c2d3a626e1f5.manager.bundle.js +1 -0
  19. package/storybook-static/192.69f71338.iframe.bundle.js +1 -0
  20. package/storybook-static/198.80608638.iframe.bundle.js +2 -0
  21. package/storybook-static/198.80608638.iframe.bundle.js.LICENSE.txt +31 -0
  22. package/storybook-static/217.b9975326.iframe.bundle.js +2 -0
  23. package/storybook-static/217.b9975326.iframe.bundle.js.LICENSE.txt +12 -0
  24. package/storybook-static/261.70d64bef7770b201fb77.manager.bundle.js +1 -0
  25. package/storybook-static/303.0d9893ef.iframe.bundle.js +1 -0
  26. package/storybook-static/319.3e8dc6b4a7d2f3e67eb0.manager.bundle.js +2 -0
  27. package/storybook-static/319.3e8dc6b4a7d2f3e67eb0.manager.bundle.js.LICENSE.txt +8 -0
  28. package/storybook-static/322.8b797be6.iframe.bundle.js +103 -0
  29. package/storybook-static/322.8b797be6.iframe.bundle.js.LICENSE.txt +140 -0
  30. package/storybook-static/322.8b797be6.iframe.bundle.js.map +1 -0
  31. package/storybook-static/40.df6534995de03601f813.manager.bundle.js +2 -0
  32. package/storybook-static/40.df6534995de03601f813.manager.bundle.js.LICENSE.txt +31 -0
  33. package/storybook-static/45.b37f580f.iframe.bundle.js +2 -0
  34. package/storybook-static/45.b37f580f.iframe.bundle.js.LICENSE.txt +8 -0
  35. package/storybook-static/467.7fabc4cd8819eddb42f9.manager.bundle.js +2 -0
  36. package/storybook-static/467.7fabc4cd8819eddb42f9.manager.bundle.js.LICENSE.txt +12 -0
  37. package/storybook-static/582.ffbf0b74.iframe.bundle.js +1 -0
  38. package/storybook-static/609.e27a5f77.iframe.bundle.js +2 -0
  39. package/storybook-static/609.e27a5f77.iframe.bundle.js.LICENSE.txt +11 -0
  40. package/storybook-static/794.cbe100d1870b4d8a130a.manager.bundle.js +1 -0
  41. package/storybook-static/861.0b692bf7.iframe.bundle.js +1 -0
  42. package/storybook-static/931.51f69825a96d7bce33f5.manager.bundle.js +2 -0
  43. package/storybook-static/931.51f69825a96d7bce33f5.manager.bundle.js.LICENSE.txt +94 -0
  44. package/storybook-static/987.874321cb40e99203aabe.manager.bundle.js +1 -0
  45. package/storybook-static/favicon.ico +0 -0
  46. package/storybook-static/iframe.html +364 -0
  47. package/storybook-static/index.html +59 -0
  48. package/storybook-static/main.07b67595538d689438e4.manager.bundle.js +1 -0
  49. package/storybook-static/main.8ae59f4f.iframe.bundle.js +1 -0
  50. package/storybook-static/project.json +1 -0
  51. package/storybook-static/runtime~main.09b9b14c88359f235007.manager.bundle.js +1 -0
  52. package/storybook-static/runtime~main.c9dcb6d8.iframe.bundle.js +1 -0
  53. package/storybook-static/static/media/Bitter-Bold.091bd4b7.woff +0 -0
  54. package/storybook-static/static/media/Bitter-Bold.24bf01e4.woff2 +0 -0
  55. package/storybook-static/static/media/Bitter-Bold.46bc29e4.ttf +0 -0
  56. package/storybook-static/static/media/Bitter-Bold.790f4f2f.eot +0 -0
  57. package/storybook-static/static/media/Bitter-Italic.1fa5390c.eot +0 -0
  58. package/storybook-static/static/media/Bitter-Italic.25e5675f.woff +0 -0
  59. package/storybook-static/static/media/Bitter-Italic.2eb18f5a.ttf +0 -0
  60. package/storybook-static/static/media/Bitter-Italic.34644574.woff2 +0 -0
  61. package/storybook-static/static/media/Bitter-Regular.4b22b6e8.woff +0 -0
  62. package/storybook-static/static/media/Bitter-Regular.559e7075.eot +0 -0
  63. package/storybook-static/static/media/Bitter-Regular.8db0301b.ttf +0 -0
  64. package/storybook-static/static/media/Bitter-Regular.f4e2f1f1.woff2 +0 -0
  65. package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
  66. package/storybook-static/static/media/OpenSans-Bold-webfont.202d819d.eot +0 -0
  67. package/storybook-static/static/media/OpenSans-Bold-webfont.92e570c6.woff2 +0 -0
  68. package/storybook-static/static/media/OpenSans-Bold-webfont.da71e99a.ttf +0 -0
  69. package/storybook-static/static/media/OpenSans-Bold-webfont.e75949bb.woff +0 -0
  70. package/storybook-static/static/media/OpenSans-Italic-webfont.72daa33a.woff2 +0 -0
  71. package/storybook-static/static/media/OpenSans-Italic-webfont.74ead3a8.woff +0 -0
  72. package/storybook-static/static/media/OpenSans-Italic-webfont.ae19388f.eot +0 -0
  73. package/storybook-static/static/media/OpenSans-Italic-webfont.ec7a2746.ttf +0 -0
  74. package/storybook-static/static/media/OpenSans-Regular-webfont.63a5fa7d.woff +0 -0
  75. package/storybook-static/static/media/OpenSans-Regular-webfont.66451be4.ttf +0 -0
  76. package/storybook-static/static/media/OpenSans-Regular-webfont.7882d20f.eot +0 -0
  77. package/storybook-static/static/media/OpenSans-Regular-webfont.ca4dd835.woff2 +0 -0
  78. package/storybook-static/static/media/OpenSans-Semibold-webfont.17ded75f.woff2 +0 -0
  79. package/storybook-static/static/media/OpenSans-Semibold-webfont.2a5adf6c.woff +0 -0
  80. package/storybook-static/static/media/OpenSans-Semibold-webfont.6059fecb.ttf +0 -0
  81. package/storybook-static/static/media/OpenSans-Semibold-webfont.c9808185.eot +0 -0
  82. package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
  83. package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
  84. package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
  85. package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
  86. package/storybook-static/static/media/arrow-both.a0959e13.svg +3 -0
  87. package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
  88. package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
  89. package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
  90. package/storybook-static/static/media/fontawesome-webfont.c1e38fd9.svg +2671 -0
  91. package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
  92. package/storybook.log +26 -0
  93. package/styles/_global.scss +66 -66
  94. package/styles/_main.scss +7 -7
  95. package/styles/_paths.scss +1 -1
  96. package/styles/_qpp-style.scss +35 -35
  97. package/styles/components/_accordion.scss +254 -254
  98. package/styles/components/_breadcrumbs.scss +7 -7
  99. package/styles/components/_buttons.scss +535 -535
  100. package/styles/components/_error-page.scss +4 -4
  101. package/styles/components/_flash-notification.scss +4 -4
  102. package/styles/components/_fonts.scss +16 -16
  103. package/styles/components/_forms.scss +1 -1
  104. package/styles/components/_grid.scss +22 -22
  105. package/styles/components/_links.scss +5 -3
  106. package/styles/components/_madie-alert.scss +80 -71
  107. package/styles/components/_madie-confirm-dialog.scss +33 -33
  108. package/styles/components/_madie-delete-dialog.scss +33 -33
  109. package/styles/components/_madie-discard-dialog.scss +27 -27
  110. package/styles/components/_madie-tooltip.scss +59 -60
  111. package/styles/components/_modals.scss +9 -9
  112. package/styles/components/_score-chart.scss +3 -3
  113. package/styles/components/_tables.scss +74 -74
  114. package/styles/components/_tabs.scss +3 -3
  115. package/styles/components/_text-field-variable.scss +13 -13
  116. package/styles/components/_toast.scss +75 -75
  117. package/styles/components/_variables.scss +13 -13
  118. package/styles/qppds/base/_backgrounds.scss +3 -3
  119. package/styles/qppds/base/_fonts.scss +17 -17
  120. package/styles/qppds/base/_icon.scss +6 -6
  121. package/styles/qppds/base/_layout.scss +2 -2
  122. package/styles/qppds/base/_typography.scss +51 -51
  123. package/styles/qppds/base/index.scss +4 -4
  124. package/styles/qppds/components/_alert.scss +73 -73
  125. package/styles/qppds/components/_breadcrumbs.scss +54 -54
  126. package/styles/qppds/components/_button.scss +437 -437
  127. package/styles/qppds/components/_card.scss +172 -172
  128. package/styles/qppds/components/_dropdown.scss +40 -40
  129. package/styles/qppds/components/_footer.scss +604 -605
  130. package/styles/qppds/components/_header.scss +804 -804
  131. package/styles/qppds/components/_link.scss +35 -35
  132. package/styles/qppds/components/_madie-alert.scss +80 -71
  133. package/styles/qppds/components/_madie-confirm-dialog.scss +33 -34
  134. package/styles/qppds/components/_madie-delete-dialog.scss +33 -33
  135. package/styles/qppds/components/_madie-discard-dialog.scss +27 -27
  136. package/styles/qppds/components/_madie-tooltip.scss +59 -60
  137. package/styles/qppds/components/_modal.scss +109 -109
  138. package/styles/qppds/components/_page-header.scss +59 -55
  139. package/styles/qppds/components/_pagination.scss +154 -154
  140. package/styles/qppds/components/_search.scss +100 -100
  141. package/styles/qppds/components/_sidebar.scss +8 -8
  142. package/styles/qppds/components/_table.scss +129 -129
  143. package/styles/qppds/components/_tabs.scss +172 -172
  144. package/styles/qppds/components/_text-field-variable.scss +12 -12
  145. package/styles/qppds/components/_text-input.scss +57 -57
  146. package/styles/qppds/components/_toast.scss +75 -75
  147. package/styles/qppds/components/index.scss +23 -23
  148. package/styles/qppds/components/sidebar/_cms.scss +5 -5
  149. package/styles/qppds/components/sidebar/_details.scss +5 -5
  150. package/styles/qppds/components/sidebar/_links.scss +12 -11
  151. package/styles/qppds/components/sidebar/_sidebar-animation.scss +9 -9
  152. package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +1 -1
  153. package/styles/qppds/components/sidebar/_sidebar.scss +140 -140
  154. package/styles/qppds/components/sidebar/project-specific/_wi.scss +3 -3
  155. package/styles/qppds/index.scss +4 -4
  156. package/styles/qppds/settings/_functions.scss +1 -1
  157. package/styles/qppds/settings/_index.scss +3 -3
  158. package/styles/qppds/settings/mixins/_borders.scss +3 -3
  159. package/styles/qppds/settings/mixins/_focus.scss +20 -20
  160. package/styles/qppds/settings/mixins/_icons.scss +19 -19
  161. package/styles/qppds/settings/mixins/_index.scss +8 -8
  162. package/styles/qppds/settings/mixins/_layout.scss +59 -59
  163. package/styles/qppds/settings/mixins/_lists.scss +8 -8
  164. package/styles/qppds/settings/mixins/_table.scss +75 -75
  165. package/styles/qppds/settings/mixins/_type.scss +43 -43
  166. package/styles/qppds/settings/mixins/_visually-hidden.scss +12 -12
  167. package/styles/qppds/settings/variables/_color.scss +41 -41
  168. package/styles/qppds/settings/variables/_index.scss +3 -3
  169. package/styles/qppds/settings/variables/_layout.scss +43 -43
  170. package/styles/qppds/settings/variables/_type.scss +90 -90
  171. package/styles/qppds/utilities/_background-color.scss +34 -34
  172. package/styles/qppds/utilities/_color.scss +8 -8
  173. package/styles/qppds/utilities/_display-visibility.scss +40 -40
  174. package/styles/qppds/utilities/_flexbox.scss +188 -188
  175. package/styles/qppds/utilities/_font-family.scss +2 -2
  176. package/styles/qppds/utilities/_font-size.scss +4 -4
  177. package/styles/qppds/utilities/_font-weight.scss +2 -2
  178. package/styles/qppds/utilities/_height.scss +24 -24
  179. package/styles/qppds/utilities/_margin.scss +108 -108
  180. package/styles/qppds/utilities/_padding.scss +69 -69
  181. package/styles/qppds/utilities/_position.scss +12 -12
  182. package/styles/qppds/utilities/_text-align.scss +20 -20
  183. package/styles/qppds/utilities/_text-transform.scss +2 -2
  184. package/styles/qppds/utilities/_truncate.scss +4 -4
  185. package/styles/qppds/utilities/_width.scss +53 -53
  186. package/styles/qppds/utilities/index.scss +15 -15
  187. package/styles/qppds.scss +2 -2
  188. package/styles/third-party/_legacy-bootstrap.scss +10 -10
  189. package/styles/third-party/legacy-bootstrap/_buttons.scss +91 -91
  190. package/styles/third-party/legacy-bootstrap/_dropdowns.scss +136 -136
  191. package/styles/third-party/legacy-bootstrap/_forms.scss +328 -324
  192. package/styles/third-party/legacy-bootstrap/_grid.scss +19 -19
  193. package/styles/third-party/legacy-bootstrap/_mixins.scss +19 -19
  194. package/styles/third-party/legacy-bootstrap/_navbar.scss +525 -525
  195. package/styles/third-party/legacy-bootstrap/_navs.scss +156 -156
  196. package/styles/third-party/legacy-bootstrap/_normalize.scss +70 -70
  197. package/styles/third-party/legacy-bootstrap/_scaffolding.scss +47 -47
  198. package/styles/third-party/legacy-bootstrap/_variables.scss +18 -18
  199. package/styles/third-party/legacy-bootstrap/mixins/_buttons.scss +52 -52
  200. package/styles/third-party/legacy-bootstrap/mixins/_clearfix.scss +8 -8
  201. package/styles/third-party/legacy-bootstrap/mixins/_forms.scss +70 -70
  202. package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +58 -58
  203. package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +63 -63
  204. package/styles/third-party/legacy-bootstrap/mixins/_labels.scss +7 -7
  205. package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +4 -4
  206. package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +2 -2
  207. package/styles/third-party/legacy-bootstrap/mixins/_opacity.scss +3 -3
  208. package/styles/third-party/legacy-bootstrap/mixins/_panels.scss +22 -22
  209. package/styles/third-party/legacy-bootstrap/mixins/_reset-filter.scss +1 -1
  210. package/styles/third-party/legacy-bootstrap/mixins/_reset-text.scss +16 -16
  211. package/styles/third-party/legacy-bootstrap/mixins/_resize.scss +2 -2
  212. package/styles/third-party/legacy-bootstrap/mixins/_responsive-visibility.scss +16 -16
  213. package/styles/third-party/legacy-bootstrap/mixins/_size.scss +3 -3
  214. package/styles/third-party/legacy-bootstrap/mixins/_tab-focus.scss +5 -5
  215. package/styles/third-party/legacy-bootstrap/mixins/_table-row.scss +23 -23
  216. package/styles/third-party/legacy-bootstrap/mixins/_text-emphasis.scss +7 -7
  217. package/styles/third-party/legacy-bootstrap/mixins/_text-overflow.scss +3 -3
  218. package/styles/third-party/legacy-bootstrap/mixins/_vendor-prefixes.scss +85 -85
  219. package/test/components/DateField.test.js +5 -10
  220. package/test/components/DateTimeField.test.js +3 -1
  221. package/test/components/Instant.test.js +37 -32
  222. package/test/components/MadieAlert.test.js +54 -11
  223. package/test/components/MadieConfirmDialog.test.js +1 -1
  224. package/coverage/lcov-report/react/components/Accordion/index.html +0 -116
  225. package/coverage/lcov-report/react/components/Accordion/index.jsx.html +0 -370
  226. package/coverage/lcov-report/react/components/Button/index.html +0 -116
  227. package/coverage/lcov-report/react/components/Button/index.js.html +0 -385
  228. package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +0 -427
  229. package/coverage/lcov-report/react/components/DateField/index.html +0 -116
  230. package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +0 -352
  231. package/coverage/lcov-report/react/components/DateTimeField/index.html +0 -116
  232. package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +0 -364
  233. package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +0 -178
  234. package/coverage/lcov-report/react/components/Error/error.js.html +0 -163
  235. package/coverage/lcov-report/react/components/Error/index.html +0 -146
  236. package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +0 -496
  237. package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +0 -697
  238. package/coverage/lcov-report/react/components/Footer/footer.js.html +0 -175
  239. package/coverage/lcov-report/react/components/Footer/index.html +0 -146
  240. package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +0 -310
  241. package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +0 -208
  242. package/coverage/lcov-report/react/components/Infotip/index.html +0 -146
  243. package/coverage/lcov-report/react/components/Infotip/index.js.html +0 -94
  244. package/coverage/lcov-report/react/components/InputLabel/index.html +0 -116
  245. package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +0 -244
  246. package/coverage/lcov-report/react/components/Instant/index.html +0 -116
  247. package/coverage/lcov-report/react/components/Instant/index.jsx.html +0 -886
  248. package/coverage/lcov-report/react/components/MadieAlert/index.html +0 -116
  249. package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +0 -565
  250. package/coverage/lcov-report/react/components/MadieConfirmDialog/index.html +0 -116
  251. package/coverage/lcov-report/react/components/MadieConfirmDialog/index.jsx.html +0 -277
  252. package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +0 -116
  253. package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +0 -247
  254. package/coverage/lcov-report/react/components/MadieDialog/index.html +0 -116
  255. package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +0 -1021
  256. package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +0 -116
  257. package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +0 -232
  258. package/coverage/lcov-report/react/components/MadieSpinner/index.html +0 -116
  259. package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +0 -190
  260. package/coverage/lcov-report/react/components/MadieTooltip/index.html +0 -116
  261. package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +0 -232
  262. package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +0 -116
  263. package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +0 -178
  264. package/coverage/lcov-report/react/components/Pagination/index.html +0 -116
  265. package/coverage/lcov-report/react/components/Pagination/index.jsx.html +0 -736
  266. package/coverage/lcov-report/react/components/Popover/index.html +0 -116
  267. package/coverage/lcov-report/react/components/Popover/index.js.html +0 -478
  268. package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +0 -116
  269. package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +0 -514
  270. package/coverage/lcov-report/react/components/Select/index.html +0 -116
  271. package/coverage/lcov-report/react/components/Select/index.jsx.html +0 -646
  272. package/coverage/lcov-report/react/components/Tabs/Tab.js.html +0 -325
  273. package/coverage/lcov-report/react/components/Tabs/index.html +0 -131
  274. package/coverage/lcov-report/react/components/Tabs/index.js.html +0 -370
  275. package/coverage/lcov-report/react/components/TextArea/index.html +0 -116
  276. package/coverage/lcov-report/react/components/TextArea/index.jsx.html +0 -436
  277. package/coverage/lcov-report/react/components/TextField/index.html +0 -116
  278. package/coverage/lcov-report/react/components/TextField/index.jsx.html +0 -655
  279. package/coverage/lcov-report/react/components/Toast/index.html +0 -116
  280. package/coverage/lcov-report/react/components/Toast/index.jsx.html +0 -436
  281. package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +0 -349
  282. package/coverage/lcov-report/react/components/Tooltip/index.html +0 -146
  283. package/coverage/lcov-report/react/components/Tooltip/index.js.html +0 -94
  284. package/coverage/lcov-report/react/components/Tooltip/position.js.html +0 -313
  285. package/coverage/lcov-report/react/index.html +0 -116
  286. package/coverage/lcov-report/react/index.js.html +0 -133
  287. package/coverage/lcov-report/react/lib/Chevron.jsx.html +0 -181
  288. package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +0 -1777
  289. package/coverage/lcov-report/react/lib/index.html +0 -131
  290. package/package-lock.json +0 -22162
@@ -0,0 +1,140 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ Copyright (c) 2018 Jed Watson.
9
+ Licensed under the MIT License (MIT), see
10
+ http://jedwatson.github.io/classnames
11
+ */
12
+
13
+ /*!
14
+ Copyright (c) 2015 Jed Watson.
15
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
16
+ All rights reserved.
17
+ */
18
+
19
+ /*!
20
+ * Adapted from jQuery UI core
21
+ *
22
+ * http://jqueryui.com
23
+ *
24
+ * Copyright 2014 jQuery Foundation and other contributors
25
+ * Released under the MIT license.
26
+ * http://jquery.org/license
27
+ *
28
+ * http://api.jqueryui.com/category/ui-core/
29
+ */
30
+
31
+ /*!
32
+ * escape-html
33
+ * Copyright(c) 2012-2013 TJ Holowaychuk
34
+ * Copyright(c) 2015 Andreas Lubbe
35
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
36
+ * MIT Licensed
37
+ */
38
+
39
+ /*!
40
+ * https://github.com/es-shims/es5-shim
41
+ * @license es5-shim Copyright 2009-2020 by contributors, MIT License
42
+ * see https://github.com/es-shims/es5-shim/blob/master/LICENSE
43
+ */
44
+
45
+ /*!
46
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
47
+ *
48
+ * Copyright (c) 2014-2017, Jon Schlinkert.
49
+ * Released under the MIT License.
50
+ */
51
+
52
+ /*!
53
+ * isobject <https://github.com/jonschlinkert/isobject>
54
+ *
55
+ * Copyright (c) 2014-2017, Jon Schlinkert.
56
+ * Released under the MIT License.
57
+ */
58
+
59
+ /**
60
+ * @license
61
+ * Lodash <https://lodash.com/>
62
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
63
+ * Released under MIT license <https://lodash.com/license>
64
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
65
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
66
+ */
67
+
68
+ /**
69
+ * @license React
70
+ * react-is.production.min.js
71
+ *
72
+ * Copyright (c) Facebook, Inc. and its affiliates.
73
+ *
74
+ * This source code is licensed under the MIT license found in the
75
+ * LICENSE file in the root directory of this source tree.
76
+ */
77
+
78
+ /** @license MUI v5.11.0
79
+ *
80
+ * This source code is licensed under the MIT license found in the
81
+ * LICENSE file in the root directory of this source tree.
82
+ */
83
+
84
+ /** @license React v0.20.2
85
+ * scheduler.production.min.js
86
+ *
87
+ * Copyright (c) Facebook, Inc. and its affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ */
92
+
93
+ /** @license React v16.13.1
94
+ * react-is.production.min.js
95
+ *
96
+ * Copyright (c) Facebook, Inc. and its affiliates.
97
+ *
98
+ * This source code is licensed under the MIT license found in the
99
+ * LICENSE file in the root directory of this source tree.
100
+ */
101
+
102
+ /** @license React v17.0.2
103
+ * react-dom.production.min.js
104
+ *
105
+ * Copyright (c) Facebook, Inc. and its affiliates.
106
+ *
107
+ * This source code is licensed under the MIT license found in the
108
+ * LICENSE file in the root directory of this source tree.
109
+ */
110
+
111
+ /** @license React v17.0.2
112
+ * react-is.production.min.js
113
+ *
114
+ * Copyright (c) Facebook, Inc. and its affiliates.
115
+ *
116
+ * This source code is licensed under the MIT license found in the
117
+ * LICENSE file in the root directory of this source tree.
118
+ */
119
+
120
+ /** @license React v17.0.2
121
+ * react-jsx-runtime.production.min.js
122
+ *
123
+ * Copyright (c) Facebook, Inc. and its affiliates.
124
+ *
125
+ * This source code is licensed under the MIT license found in the
126
+ * LICENSE file in the root directory of this source tree.
127
+ */
128
+
129
+ /** @license React v17.0.2
130
+ * react.production.min.js
131
+ *
132
+ * Copyright (c) Facebook, Inc. and its affiliates.
133
+ *
134
+ * This source code is licensed under the MIT license found in the
135
+ * LICENSE file in the root directory of this source tree.
136
+ */
137
+
138
+ //! stable.js 0.1.8, https://github.com/Two-Screen/stable
139
+
140
+ //! © 2018 Angry Bytes and contributors. MIT licensed.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"322.8b797be6.iframe.bundle.js","mappings":";;;;;;;;;;;AA+BA;;;;;;;;AASA;;;;;;;;;;;;AAaA;;;;AAwBA;;;AAGA;AACA;AACA;;;AAGA;AACA;;;AAGA;;;;;;;;;AASA;;AAEA;AACA;AACA;;;AAGA;;;;;AAKA;;AAEA;;;;AAIA;;;;;;;;ACvFA;;;;;;;;;;;;;;;AA8BA;AAqBA;AACA;AAgCA;AACA","sources":["webpack://@madie/madie-design-system/./node_modules/@mui/material/ButtonBase/TouchRipple.js","webpack://@madie/madie-design-system/./node_modules/@mui/material/CircularProgress/CircularProgress.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"center\", \"classes\", \"className\"];\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport { keyframes } from '@mui/system';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Ripple from './Ripple';\nimport touchRippleClasses from './touchRippleClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes(_t || (_t = _`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`));\nconst exitKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`));\nconst pulsateKeyframe = keyframes(_t3 || (_t3 = _`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`));\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n});\n\n// This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})(_t4 || (_t4 = _`\n opacity: 0;\n position: absolute;\n\n &.${0} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n &.${0} {\n animation-duration: ${0}ms;\n }\n\n & .${0} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${0} {\n opacity: 0;\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n & .${0} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${0};\n animation-duration: 2500ms;\n animation-timing-function: ${0};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`), touchRippleClasses.rippleVisible, enterKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.ripplePulsate, ({\n theme\n}) => theme.transitions.duration.shorter, touchRippleClasses.child, touchRippleClasses.childLeaving, exitKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.childPulsate, pulsateKeyframe, ({\n theme\n}) => theme.transitions.easing.easeInOut);\n\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n const {\n center: centerProp = false,\n classes = {},\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]);\n\n // Used to filter out mouse emulated events on mobile.\n const ignoringMouseDown = React.useRef(false);\n // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n const startTimer = React.useRef(null);\n\n // This is the hook called once the previous timeout is ready.\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n React.useEffect(() => {\n return () => {\n clearTimeout(startTimer.current);\n };\n }, []);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb = () => {}) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n } = options;\n if ((event == null ? void 0 : event.type) === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n if ((event == null ? void 0 : event.type) === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n };\n\n // Get the size of the ripple\n let rippleX;\n let rippleY;\n let rippleSize;\n if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches && event.touches.length > 0 ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3);\n\n // For some reason the animation is broken on Mobile Chrome if the size is even.\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n }\n\n // Touche devices\n if (event != null && event.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n };\n // Delay the execution of the ripple effect.\n startTimer.current = setTimeout(() => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n }, DELAY_RIPPLE); // We have to make a tradeoff with this value.\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n clearTimeout(startTimer.current);\n\n // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.current = setTimeout(() => {\n stop(event, cb);\n });\n return;\n }\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, []);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, _extends({\n className: clsx(touchRippleClasses.root, classes.root, className),\n ref: container\n }, other, {\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"disableShrink\", \"size\", \"style\", \"thickness\", \"value\", \"variant\"];\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { keyframes, css } from '@mui/system';\nimport capitalize from '../utils/capitalize';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport { getCircularProgressUtilityClass } from './circularProgressClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SIZE = 44;\nconst circularRotateKeyframe = keyframes(_t || (_t = _`\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n`));\nconst circularDashKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n`));\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n color,\n disableShrink\n } = ownerState;\n const slots = {\n root: ['root', variant, `color${capitalize(color)}`],\n svg: ['svg'],\n circle: ['circle', `circle${capitalize(variant)}`, disableShrink && 'circleDisableShrink']\n };\n return composeClasses(slots, getCircularProgressUtilityClass, classes);\n};\nconst CircularProgressRoot = styled('span', {\n name: 'MuiCircularProgress',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n ownerState,\n theme\n}) => _extends({\n display: 'inline-block'\n}, ownerState.variant === 'determinate' && {\n transition: theme.transitions.create('transform')\n}, ownerState.color !== 'inherit' && {\n color: (theme.vars || theme).palette[ownerState.color].main\n}), ({\n ownerState\n}) => ownerState.variant === 'indeterminate' && css(_t3 || (_t3 = _`\n animation: ${0} 1.4s linear infinite;\n `), circularRotateKeyframe));\nconst CircularProgressSVG = styled('svg', {\n name: 'MuiCircularProgress',\n slot: 'Svg',\n overridesResolver: (props, styles) => styles.svg\n})({\n display: 'block' // Keeps the progress centered\n});\n\nconst CircularProgressCircle = styled('circle', {\n name: 'MuiCircularProgress',\n slot: 'Circle',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.circle, styles[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles.circleDisableShrink];\n }\n})(({\n ownerState,\n theme\n}) => _extends({\n stroke: 'currentColor'\n}, ownerState.variant === 'determinate' && {\n transition: theme.transitions.create('stroke-dashoffset')\n}, ownerState.variant === 'indeterminate' && {\n // Some default value that looks fine waiting for the animation to kicks in.\n strokeDasharray: '80px, 200px',\n strokeDashoffset: 0 // Add the unit to fix a Edge 16 and below bug.\n}), ({\n ownerState\n}) => ownerState.variant === 'indeterminate' && !ownerState.disableShrink && css(_t4 || (_t4 = _`\n animation: ${0} 1.4s ease-in-out infinite;\n `), circularDashKeyframe));\n\n/**\n * ## ARIA\n *\n * If the progress bar is describing the loading progress of a particular region of a page,\n * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`\n * attribute to `true` on that region until it has finished loading.\n */\nconst CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiCircularProgress'\n });\n const {\n className,\n color = 'primary',\n disableShrink = false,\n size = 40,\n style,\n thickness = 3.6,\n value = 0,\n variant = 'indeterminate'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n disableShrink,\n size,\n thickness,\n value,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const circleStyle = {};\n const rootStyle = {};\n const rootProps = {};\n if (variant === 'determinate') {\n const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);\n circleStyle.strokeDasharray = circumference.toFixed(3);\n rootProps['aria-valuenow'] = Math.round(value);\n circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;\n rootStyle.transform = 'rotate(-90deg)';\n }\n return /*#__PURE__*/_jsx(CircularProgressRoot, _extends({\n className: clsx(classes.root, className),\n style: _extends({\n width: size,\n height: size\n }, rootStyle, style),\n ownerState: ownerState,\n ref: ref,\n role: \"progressbar\"\n }, rootProps, other, {\n children: /*#__PURE__*/_jsx(CircularProgressSVG, {\n className: classes.svg,\n ownerState: ownerState,\n viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,\n children: /*#__PURE__*/_jsx(CircularProgressCircle, {\n className: classes.circle,\n style: circleStyle,\n ownerState: ownerState,\n cx: SIZE,\n cy: SIZE,\n r: (SIZE - thickness) / 2,\n fill: \"none\",\n strokeWidth: thickness\n })\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? CircularProgress.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the shrink animation is disabled.\n * This only works if variant is `indeterminate`.\n * @default false\n */\n disableShrink: chainPropTypes(PropTypes.bool, props => {\n if (props.disableShrink && props.variant && props.variant !== 'indeterminate') {\n return new Error('MUI: You have provided the `disableShrink` prop ' + 'with a variant other than `indeterminate`. This will have no effect.');\n }\n return null;\n }),\n /**\n * The size of the component.\n * If using a number, the pixel unit is assumed.\n * If using a string, you need to provide the CSS unit, e.g '3rem'.\n * @default 40\n */\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The thickness of the circle.\n * @default 3.6\n */\n thickness: PropTypes.number,\n /**\n * The value of the progress indicator for the determinate variant.\n * Value between 0 and 100.\n * @default 0\n */\n value: PropTypes.number,\n /**\n * The variant to use.\n * Use indeterminate when there is no progress value.\n * @default 'indeterminate'\n */\n variant: PropTypes.oneOf(['determinate', 'indeterminate'])\n} : void 0;\nexport default CircularProgress;"],"names":[],"sourceRoot":""}