@madie/madie-design-system 1.0.2 → 1.0.3

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 (348) hide show
  1. package/.storybook/main.js +3 -0
  2. package/components/Accordion/Accordion.stories.js +11 -11
  3. package/components/Accordion/index.jsx +78 -76
  4. package/components/Alert/Alert.stories.js +60 -51
  5. package/components/Alert/index.js +46 -37
  6. package/components/Breadcrumb/Breadcrumb.stories.js +62 -62
  7. package/components/Breadcrumb/index.js +80 -71
  8. package/components/Button/Button.stories.js +92 -86
  9. package/components/Button/index.js +65 -65
  10. package/components/CalloutBox/CalloutBox.stories.js +75 -75
  11. package/components/CalloutBox/index.js +92 -92
  12. package/components/Card/Card.stories.js +135 -135
  13. package/components/Card/index.js +128 -121
  14. package/components/Dropdown/Dropdown.stories.js +73 -73
  15. package/components/Dropdown/index.js +72 -72
  16. package/components/Error/Collapsible.jsx +75 -70
  17. package/components/Error/ErrorUI.jsx +22 -22
  18. package/components/Error/error.js +20 -20
  19. package/components/FlashNotification/FlashNotificationUI.jsx +77 -77
  20. package/components/FlashNotification/index.js +23 -23
  21. package/components/Footer/Footer.stories.js +13 -13
  22. package/components/Footer/FooterUI.jsx +264 -252
  23. package/components/Footer/LegacyFooterUI.jsx +190 -180
  24. package/components/Footer/SocialLinks.jsx +58 -55
  25. package/components/Footer/Subscribe.jsx +29 -29
  26. package/components/Footer/footer.js +21 -21
  27. package/components/FormControlLabel/index.jsx +23 -0
  28. package/components/Header/Header.stories.js +29 -26
  29. package/components/Header/HeaderAccountMenu.jsx +163 -149
  30. package/components/Header/HeaderCancel.jsx +8 -8
  31. package/components/Header/HeaderContainer.jsx +48 -43
  32. package/components/Header/HeaderLogo.jsx +34 -34
  33. package/components/Header/HeaderMenuButton.js +39 -39
  34. package/components/Header/HeaderMenuItem.jsx +252 -205
  35. package/components/Header/HeaderMenuLink.js +37 -37
  36. package/components/Header/HeaderMenuSignOutButton.js +50 -50
  37. package/components/Header/HeaderMobileButton.js +29 -29
  38. package/components/Header/HeaderUI.jsx +164 -147
  39. package/components/Header/HelpIcon.jsx +15 -15
  40. package/components/Header/ImpersonatorBanner.jsx +50 -47
  41. package/components/Header/NavigationButtonIcon.jsx +21 -21
  42. package/components/Header/header.js +36 -34
  43. package/components/Header/hooks.js +42 -35
  44. package/components/Header/utag-helpers.js +8 -8
  45. package/components/Infotip/Infotip.jsx +48 -48
  46. package/components/Infotip/Infotip.stories.js +32 -30
  47. package/components/Infotip/InfotipIcon.jsx +30 -30
  48. package/components/Infotip/index.js +1 -1
  49. package/components/InputLabel/index.jsx +58 -0
  50. package/components/Link/Link.stories.js +65 -64
  51. package/components/Link/index.js +46 -46
  52. package/components/Modal/LegacyModal.jsx +56 -54
  53. package/components/Modal/Modal.jsx +121 -121
  54. package/components/Modal/Modal.stories.js +152 -144
  55. package/components/Modal/index.jsx +11 -11
  56. package/components/NotificationBanner/NotificationBanner.stories.js +16 -16
  57. package/components/NotificationBanner/index.js +239 -225
  58. package/components/Pagination/index.jsx +171 -160
  59. package/components/SanitizedContent/index.jsx +183 -183
  60. package/components/Search/Search.stories.js +14 -14
  61. package/components/Search/index.js +72 -72
  62. package/components/Select/Select.stories.js +168 -0
  63. package/components/Select/index.jsx +103 -0
  64. package/components/SessionDialog/sessionDialog.js +20 -20
  65. package/components/SessionDialogUI.jsx +231 -219
  66. package/components/SideNav/AnimationGroup/AnimationGroup.jsx +19 -17
  67. package/components/SideNav/Chart/ScoreChart.jsx +238 -229
  68. package/components/SideNav/Chart/__tests__/ScoreChart.test.js +15 -15
  69. package/components/SideNav/Chart/index.js +1 -1
  70. package/components/SideNav/Content/LevelOneContent.jsx +194 -190
  71. package/components/SideNav/Content/LevelTwoContent.jsx +208 -195
  72. package/components/SideNav/Content/index.js +2 -2
  73. package/components/SideNav/Details/IndividualDetails.jsx +10 -10
  74. package/components/SideNav/Details/PracticeDetails.jsx +36 -34
  75. package/components/SideNav/Details/index.js +2 -2
  76. package/components/SideNav/Links/CmsSwitchLink.jsx +32 -32
  77. package/components/SideNav/Links/NavItemInline.jsx +44 -44
  78. package/components/SideNav/Links/NavLinkContainer.jsx +27 -25
  79. package/components/SideNav/Links/NavLinkDrawer.jsx +267 -231
  80. package/components/SideNav/Links/NavLinkInline.jsx +94 -92
  81. package/components/SideNav/Links/NavLinkToggle.jsx +25 -25
  82. package/components/SideNav/Links/index.js +10 -10
  83. package/components/SideNav/SideNav.stories.js +320 -288
  84. package/components/SideNav/UI/SideNavUI.jsx +321 -301
  85. package/components/SideNav/UI/index.js +1 -1
  86. package/components/SideNav/helpers.js +33 -33
  87. package/components/SideNav/index.js +46 -46
  88. package/components/Spinner/index.js +6 -6
  89. package/components/Tabs/Tab.js +19 -19
  90. package/components/Tabs/TabPanel.js +31 -24
  91. package/components/Tabs/Tabs.stories.js +118 -108
  92. package/components/Tabs/index.js +81 -76
  93. package/components/TextField/TextField.stories.js +103 -0
  94. package/components/TextField/index.jsx +80 -0
  95. package/components/TextInput/TextInput.stories.js +84 -84
  96. package/components/TextInput/index.js +123 -123
  97. package/components/Tooltip/Tooltip.jsx +57 -57
  98. package/components/Tooltip/Tooltip.stories.js +50 -50
  99. package/components/Tooltip/index.js +1 -1
  100. package/components/Tooltip/position.js +42 -34
  101. package/components/UnwrappedSpinner/index.js +5 -5
  102. package/components/hooks/useGetConfig.js +64 -55
  103. package/components/index.js +129 -121
  104. package/coverage/clover.xml +368 -331
  105. package/coverage/coverage-final.json +57 -54
  106. package/coverage/lcov-report/InputLabel/index.html +116 -0
  107. package/coverage/lcov-report/InputLabel/index.jsx.html +214 -0
  108. package/coverage/lcov-report/Select/index.html +116 -0
  109. package/coverage/lcov-report/Select/index.jsx.html +391 -0
  110. package/coverage/lcov-report/Textfield/index.html +116 -0
  111. package/coverage/lcov-report/Textfield/index.jsx.html +322 -0
  112. package/coverage/lcov-report/index.html +54 -9
  113. package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
  114. package/coverage/lcov-report/react/components/Accordion/index.jsx.html +84 -78
  115. package/coverage/lcov-report/react/components/Button/index.html +1 -1
  116. package/coverage/lcov-report/react/components/Button/index.js.html +66 -66
  117. package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +87 -72
  118. package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +23 -23
  119. package/coverage/lcov-report/react/components/Error/error.js.html +21 -21
  120. package/coverage/lcov-report/react/components/Error/index.html +1 -1
  121. package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +290 -254
  122. package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +212 -182
  123. package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +66 -57
  124. package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +30 -30
  125. package/coverage/lcov-report/react/components/Footer/footer.js.html +22 -22
  126. package/coverage/lcov-report/react/components/Footer/index.html +1 -1
  127. package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +193 -151
  128. package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +9 -9
  129. package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +60 -45
  130. package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +36 -36
  131. package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +40 -40
  132. package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +348 -207
  133. package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +38 -38
  134. package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +51 -51
  135. package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +30 -30
  136. package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +201 -150
  137. package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +16 -16
  138. package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +58 -49
  139. package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +22 -22
  140. package/coverage/lcov-report/react/components/Header/header.js.html +42 -36
  141. package/coverage/lcov-report/react/components/Header/hooks.js.html +58 -37
  142. package/coverage/lcov-report/react/components/Header/index.html +1 -1
  143. package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +9 -9
  144. package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +49 -49
  145. package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +31 -31
  146. package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
  147. package/coverage/lcov-report/react/components/Infotip/index.js.html +2 -2
  148. package/coverage/lcov-report/react/components/InputLabel/index.html +116 -0
  149. package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +214 -0
  150. package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +62 -56
  151. package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +122 -122
  152. package/coverage/lcov-report/react/components/Modal/index.html +1 -1
  153. package/coverage/lcov-report/react/components/Modal/index.jsx.html +12 -12
  154. package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
  155. package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +269 -227
  156. package/coverage/lcov-report/react/components/Pagination/index.html +1 -1
  157. package/coverage/lcov-report/react/components/Pagination/index.jsx.html +195 -162
  158. package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
  159. package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +184 -184
  160. package/coverage/lcov-report/react/components/Select/index.html +116 -0
  161. package/coverage/lcov-report/react/components/Select/index.jsx.html +391 -0
  162. package/coverage/lcov-report/react/components/SessionDialog/index.html +1 -1
  163. package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +21 -21
  164. package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +257 -221
  165. package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +25 -19
  166. package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
  167. package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +261 -234
  168. package/coverage/lcov-report/react/components/SideNav/Chart/index.html +1 -1
  169. package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +2 -2
  170. package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +197 -185
  171. package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +236 -197
  172. package/coverage/lcov-report/react/components/SideNav/Content/index.html +1 -1
  173. package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +3 -3
  174. package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +11 -11
  175. package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +42 -36
  176. package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
  177. package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +3 -3
  178. package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +33 -33
  179. package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +45 -45
  180. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +33 -27
  181. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +323 -215
  182. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +100 -94
  183. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +26 -26
  184. package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
  185. package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +11 -11
  186. package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +363 -303
  187. package/coverage/lcov-report/react/components/SideNav/UI/index.html +1 -1
  188. package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +2 -2
  189. package/coverage/lcov-report/react/components/SideNav/helpers.js.html +34 -34
  190. package/coverage/lcov-report/react/components/SideNav/index.html +1 -1
  191. package/coverage/lcov-report/react/components/SideNav/index.js.html +47 -47
  192. package/coverage/lcov-report/react/components/Textfield/index.html +116 -0
  193. package/coverage/lcov-report/react/components/Textfield/index.jsx.html +322 -0
  194. package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +58 -58
  195. package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
  196. package/coverage/lcov-report/react/components/Tooltip/index.js.html +2 -2
  197. package/coverage/lcov-report/react/components/Tooltip/position.js.html +60 -36
  198. package/coverage/lcov-report/react/components/hooks/index.html +1 -1
  199. package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +84 -57
  200. package/coverage/lcov-report/react/components/index.html +1 -1
  201. package/coverage/lcov-report/react/index.html +1 -1
  202. package/coverage/lcov-report/react/index.js.html +1 -1
  203. package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
  204. package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
  205. package/coverage/lcov-report/react/lib/index.html +1 -1
  206. package/coverage/lcov-report/react/lib/svg-definitions.svg.html +1 -1
  207. package/coverage/lcov-report/react/session/index.html +1 -1
  208. package/coverage/lcov-report/react/session/index.js.html +1 -1
  209. package/coverage/lcov-report/react/session/logout.js.html +1 -1
  210. package/coverage/lcov-report/react/session/refresh.js.html +1 -1
  211. package/coverage/lcov-report/react/session/ttl.js.html +1 -1
  212. package/coverage/lcov.info +855 -779
  213. package/dist/browser.js +1 -1
  214. package/dist/index.js +1 -1
  215. package/dist/react/index.js +16 -16
  216. package/dist/react/index.js.LICENSE.txt +1 -1
  217. package/dist/react/index.js.map +1 -1
  218. package/package.json +16 -9
  219. package/styles/qppds/components/_button.scss +29 -1
  220. package/test/components/Accordion.test.js +10 -10
  221. package/test/components/ErrorUI.test.js +29 -30
  222. package/test/components/FooterUI.test.js +82 -80
  223. package/test/components/HeaderUI.test.js +42 -38
  224. package/test/components/Infotip.test.js +64 -61
  225. package/test/components/Pagination.test.js +50 -50
  226. package/test/components/Select.test.js +113 -0
  227. package/test/components/SessionDialogUI.test.js +302 -294
  228. package/test/components/SideNavUI.test.js +19 -19
  229. package/test/components/TextField.test.js +50 -0
  230. package/test/components/Tooltip.test.js +133 -133
  231. package/test/index.test.js +6 -6
  232. package/test/session/session.test.js +200 -200
  233. package/storybook-static/0.5651be4a8d0b1984a772.manager.bundle.js +0 -2
  234. package/storybook-static/0.5651be4a8d0b1984a772.manager.bundle.js.LICENSE.txt +0 -8
  235. package/storybook-static/0.ce0ed568.iframe.bundle.js +0 -1
  236. package/storybook-static/1.1b179d27.iframe.bundle.js +0 -3
  237. package/storybook-static/1.1b179d27.iframe.bundle.js.LICENSE.txt +0 -8
  238. package/storybook-static/1.1b179d27.iframe.bundle.js.map +0 -1
  239. package/storybook-static/1.c46d7d065aa0aa5a87ca.manager.bundle.js +0 -1
  240. package/storybook-static/10.99011d85.iframe.bundle.js +0 -3
  241. package/storybook-static/10.99011d85.iframe.bundle.js.LICENSE.txt +0 -11
  242. package/storybook-static/10.99011d85.iframe.bundle.js.map +0 -1
  243. package/storybook-static/2.35ddc55d.iframe.bundle.js +0 -1
  244. package/storybook-static/3.ed97833d.iframe.bundle.js +0 -1
  245. package/storybook-static/5.333e450fad8648669908.manager.bundle.js +0 -1
  246. package/storybook-static/6.505ea3c696ed314e90c8.manager.bundle.js +0 -2
  247. package/storybook-static/6.505ea3c696ed314e90c8.manager.bundle.js.LICENSE.txt +0 -12
  248. package/storybook-static/7.94be8178.iframe.bundle.js +0 -1
  249. package/storybook-static/7.d26483fcb6f4087398a8.manager.bundle.js +0 -1
  250. package/storybook-static/8.68cd1217.iframe.bundle.js +0 -3
  251. package/storybook-static/8.68cd1217.iframe.bundle.js.LICENSE.txt +0 -12
  252. package/storybook-static/8.68cd1217.iframe.bundle.js.map +0 -1
  253. package/storybook-static/8.7adf0ef161215cd35a66.manager.bundle.js +0 -1
  254. package/storybook-static/9.488e3969.iframe.bundle.js +0 -1
  255. package/storybook-static/fonts/FontAwesome.otf +0 -0
  256. package/storybook-static/fonts/OFL.txt +0 -92
  257. package/storybook-static/fonts/Rubik-Black.ttf +0 -0
  258. package/storybook-static/fonts/Rubik-BlackItalic.ttf +0 -0
  259. package/storybook-static/fonts/Rubik-Bold.ttf +0 -0
  260. package/storybook-static/fonts/Rubik-BoldItalic.ttf +0 -0
  261. package/storybook-static/fonts/Rubik-Italic.ttf +0 -0
  262. package/storybook-static/fonts/Rubik-Light.ttf +0 -0
  263. package/storybook-static/fonts/Rubik-LightItalic.ttf +0 -0
  264. package/storybook-static/fonts/Rubik-Medium.ttf +0 -0
  265. package/storybook-static/fonts/Rubik-MediumItalic.ttf +0 -0
  266. package/storybook-static/fonts/Rubik-Regular.ttf +0 -0
  267. package/storybook-static/fonts/fontawesome-webfont.eot +0 -0
  268. package/storybook-static/fonts/fontawesome-webfont.svg +0 -2671
  269. package/storybook-static/fonts/fontawesome-webfont.ttf +0 -0
  270. package/storybook-static/fonts/fontawesome-webfont.woff +0 -0
  271. package/storybook-static/fonts/fontawesome-webfont.woff2 +0 -0
  272. package/storybook-static/iframe.html +0 -348
  273. package/storybook-static/images/favicon/android-chrome-192x192.png +0 -0
  274. package/storybook-static/images/favicon/android-chrome-256x256.png +0 -0
  275. package/storybook-static/images/favicon/apple-touch-icon.png +0 -0
  276. package/storybook-static/images/favicon/browserconfig.xml +0 -9
  277. package/storybook-static/images/favicon/favicon-16x16.png +0 -0
  278. package/storybook-static/images/favicon/favicon-32x32.png +0 -0
  279. package/storybook-static/images/favicon/favicon.ico +0 -0
  280. package/storybook-static/images/favicon/manifest.json +0 -18
  281. package/storybook-static/images/favicon/mstile-150x150.png +0 -0
  282. package/storybook-static/images/favicon/safari-pinned-tab.svg +0 -32
  283. package/storybook-static/images/hhs-logo-black.svg +0 -10
  284. package/storybook-static/images/hhs-logo-white.svg +0 -10
  285. package/storybook-static/images/icons/close-x.svg +0 -6
  286. package/storybook-static/images/icons/help-headset.svg +0 -21
  287. package/storybook-static/images/icons/svg/arrow-down.svg +0 -1
  288. package/storybook-static/images/icons/svg/arrow-download.svg +0 -1
  289. package/storybook-static/images/icons/svg/arrow-right.svg +0 -1
  290. package/storybook-static/images/icons/svg/calendar.svg +0 -1
  291. package/storybook-static/images/icons/svg/close.svg +0 -1
  292. package/storybook-static/images/icons/svg/download.svg +0 -1
  293. package/storybook-static/images/icons/svg/external.svg +0 -1
  294. package/storybook-static/images/icons/svg/file-upload.svg +0 -1
  295. package/storybook-static/images/icons/svg/print.svg +0 -1
  296. package/storybook-static/images/icons/svg/search.svg +0 -7
  297. package/storybook-static/images/icons/svg/tooltip-question.svg +0 -6
  298. package/storybook-static/images/icons/svg/trash.svg +0 -1
  299. package/storybook-static/images/icons/svg/upload.svg +0 -1
  300. package/storybook-static/images/qpp_logo_reversed.png +0 -0
  301. package/storybook-static/images/qpp_logo_rgb_color.png +0 -0
  302. package/storybook-static/index.html +0 -59
  303. package/storybook-static/main.5ae8041695a4f0c06f75.manager.bundle.js +0 -1
  304. package/storybook-static/main.ee2cae16.iframe.bundle.js +0 -1
  305. package/storybook-static/runtime~main.7eeb017b9a4ce6a70a00.manager.bundle.js +0 -1
  306. package/storybook-static/runtime~main.e2794f2d.iframe.bundle.js +0 -1
  307. package/storybook-static/static/media/Bitter-Bold.091bd4b7.woff +0 -0
  308. package/storybook-static/static/media/Bitter-Bold.24bf01e4.woff2 +0 -0
  309. package/storybook-static/static/media/Bitter-Bold.46bc29e4.ttf +0 -0
  310. package/storybook-static/static/media/Bitter-Bold.790f4f2f.eot +0 -0
  311. package/storybook-static/static/media/Bitter-Italic.1fa5390c.eot +0 -0
  312. package/storybook-static/static/media/Bitter-Italic.25e5675f.woff +0 -0
  313. package/storybook-static/static/media/Bitter-Italic.2eb18f5a.ttf +0 -0
  314. package/storybook-static/static/media/Bitter-Italic.34644574.woff2 +0 -0
  315. package/storybook-static/static/media/Bitter-Regular.4b22b6e8.woff +0 -0
  316. package/storybook-static/static/media/Bitter-Regular.559e7075.eot +0 -0
  317. package/storybook-static/static/media/Bitter-Regular.8db0301b.ttf +0 -0
  318. package/storybook-static/static/media/Bitter-Regular.f4e2f1f1.woff2 +0 -0
  319. package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
  320. package/storybook-static/static/media/OpenSans-Bold-webfont.202d819d.eot +0 -0
  321. package/storybook-static/static/media/OpenSans-Bold-webfont.92e570c6.woff2 +0 -0
  322. package/storybook-static/static/media/OpenSans-Bold-webfont.da71e99a.ttf +0 -0
  323. package/storybook-static/static/media/OpenSans-Bold-webfont.e75949bb.woff +0 -0
  324. package/storybook-static/static/media/OpenSans-Italic-webfont.72daa33a.woff2 +0 -0
  325. package/storybook-static/static/media/OpenSans-Italic-webfont.74ead3a8.woff +0 -0
  326. package/storybook-static/static/media/OpenSans-Italic-webfont.ae19388f.eot +0 -0
  327. package/storybook-static/static/media/OpenSans-Italic-webfont.ec7a2746.ttf +0 -0
  328. package/storybook-static/static/media/OpenSans-Regular-webfont.63a5fa7d.woff +0 -0
  329. package/storybook-static/static/media/OpenSans-Regular-webfont.66451be4.ttf +0 -0
  330. package/storybook-static/static/media/OpenSans-Regular-webfont.7882d20f.eot +0 -0
  331. package/storybook-static/static/media/OpenSans-Regular-webfont.ca4dd835.woff2 +0 -0
  332. package/storybook-static/static/media/OpenSans-Semibold-webfont.17ded75f.woff2 +0 -0
  333. package/storybook-static/static/media/OpenSans-Semibold-webfont.2a5adf6c.woff +0 -0
  334. package/storybook-static/static/media/OpenSans-Semibold-webfont.6059fecb.ttf +0 -0
  335. package/storybook-static/static/media/OpenSans-Semibold-webfont.c9808185.eot +0 -0
  336. package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
  337. package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
  338. package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
  339. package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
  340. package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
  341. package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
  342. package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
  343. package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
  344. package/storybook-static/vendors~main.c7e1bdf2e91d9cdba380.manager.bundle.js +0 -2
  345. package/storybook-static/vendors~main.c7e1bdf2e91d9cdba380.manager.bundle.js.LICENSE.txt +0 -104
  346. package/storybook-static/vendors~main.f299a23f.iframe.bundle.js +0 -76
  347. package/storybook-static/vendors~main.f299a23f.iframe.bundle.js.LICENSE.txt +0 -145
  348. package/storybook-static/vendors~main.f299a23f.iframe.bundle.js.map +0 -1
@@ -1,3 +1,3 @@
1
- import SideNavUI from './SideNavUI';
1
+ import SideNavUI from "./SideNavUI";
2
2
 
3
3
  export { SideNavUI };
@@ -1,49 +1,49 @@
1
- const submissionsUrl = '/user/submissions';
2
- const dashboardUrl = '/user/dashboard';
3
- const manageUrl = '/user/manage-access';
1
+ const submissionsUrl = "/user/submissions";
2
+ const dashboardUrl = "/user/dashboard";
3
+ const manageUrl = "/user/manage-access";
4
4
  const feedbackUrl = `${submissionsUrl}/feedback`;
5
5
  const physicianCompareUrl = `${submissionsUrl}/doctors-clinicians-preview`;
6
6
  const reportsPortalUrl = `${submissionsUrl}/reports`;
7
7
  const facilityBasedPreviewBaseUrl = `${submissionsUrl}/facility-based-preview`;
8
8
 
9
9
  const performanceFeedbackUrl = (performanceYear) => {
10
- if (performanceYear) {
11
- return `${feedbackUrl}/${performanceYear}`;
12
- } else {
13
- return feedbackUrl;
14
- }
10
+ if (performanceYear) {
11
+ return `${feedbackUrl}/${performanceYear}`;
12
+ } else {
13
+ return feedbackUrl;
14
+ }
15
15
  };
16
16
 
17
17
  const facilityBasedPreviewUrl = (performanceYear) => {
18
- return `${facilityBasedPreviewBaseUrl}/${performanceYear}`;
18
+ return `${facilityBasedPreviewBaseUrl}/${performanceYear}`;
19
19
  };
20
20
 
21
21
  const handleNavigation = (e, linkCallbackFunction, label) => {
22
- if (linkCallbackFunction) {
23
- const { pathname, hash, search } = e.currentTarget;
24
- e.preventDefault();
25
- e.stopPropagation();
26
- linkCallbackFunction(`${pathname}${hash}${search}`);
27
- }
28
- window?.utag?.link({
29
- ga_event_category: 'side navbar',
30
- ga_event_action: 'click',
31
- ga_event_label: label,
32
- page_title: `${window.document.title}`,
33
- page_url: `${window.location.pathname}`,
34
- event: 'trackEvent',
35
- });
22
+ if (linkCallbackFunction) {
23
+ const { pathname, hash, search } = e.currentTarget;
24
+ e.preventDefault();
25
+ e.stopPropagation();
26
+ linkCallbackFunction(`${pathname}${hash}${search}`);
27
+ }
28
+ window?.utag?.link({
29
+ ga_event_category: "side navbar",
30
+ ga_event_action: "click",
31
+ ga_event_label: label,
32
+ page_title: `${window.document.title}`,
33
+ page_url: `${window.location.pathname}`,
34
+ event: "trackEvent",
35
+ });
36
36
  };
37
37
 
38
38
  module.exports = {
39
- submissionsUrl,
40
- dashboardUrl,
41
- feedbackUrl,
42
- manageUrl,
43
- physicianCompareUrl,
44
- performanceFeedbackUrl,
45
- facilityBasedPreviewUrl,
46
- handleNavigation,
47
- reportsPortalUrl,
48
- facilityBasedPreviewBaseUrl,
39
+ submissionsUrl,
40
+ dashboardUrl,
41
+ feedbackUrl,
42
+ manageUrl,
43
+ physicianCompareUrl,
44
+ performanceFeedbackUrl,
45
+ facilityBasedPreviewUrl,
46
+ handleNavigation,
47
+ reportsPortalUrl,
48
+ facilityBasedPreviewBaseUrl,
49
49
  };
@@ -1,53 +1,53 @@
1
- import React from 'react';
2
- import { render } from 'react-dom';
3
- import { SideNavUI } from './UI';
1
+ import React from "react";
2
+ import { render } from "react-dom";
3
+ import { SideNavUI } from "./UI";
4
4
 
5
5
  const SideNav = (options = {}) => {
6
- const {
7
- rootElement,
8
- isExpanded,
9
- onExpanded,
10
- onCollapsed,
11
- chartData,
12
- currentLevel,
13
- config,
14
- feedbackPerformanceYear,
15
- fbpPerformanceYear,
16
- showDevPreDfpLink,
17
- showPhysicianCompareLink,
18
- showFacilityBasedPreviewLink,
19
- showSelfNomination,
20
- showApmIncentivePaymentLink,
21
- items,
22
- isAltStyle,
23
- showReportsPortal,
24
- showTargetedReviewLink,
25
- } = options;
6
+ const {
7
+ rootElement,
8
+ isExpanded,
9
+ onExpanded,
10
+ onCollapsed,
11
+ chartData,
12
+ currentLevel,
13
+ config,
14
+ feedbackPerformanceYear,
15
+ fbpPerformanceYear,
16
+ showDevPreDfpLink,
17
+ showPhysicianCompareLink,
18
+ showFacilityBasedPreviewLink,
19
+ showSelfNomination,
20
+ showApmIncentivePaymentLink,
21
+ items,
22
+ isAltStyle,
23
+ showReportsPortal,
24
+ showTargetedReviewLink,
25
+ } = options;
26
26
 
27
- const { expand, collapse } = render(
28
- <SideNavUI
29
- isExpanded={isExpanded}
30
- onExpanded={onExpanded}
31
- onCollapsed={onCollapsed}
32
- chartData={chartData}
33
- currentLevel={currentLevel}
34
- config={config}
35
- feedbackPerformanceYear={feedbackPerformanceYear}
36
- fbpPerformanceYear={fbpPerformanceYear}
37
- showDevPreDfpLink={showDevPreDfpLink}
38
- showPhysicianCompareLink={showPhysicianCompareLink}
39
- showFacilityBasedPreviewLink={showFacilityBasedPreviewLink}
40
- showSelfNomination={showSelfNomination}
41
- showApmIncentivePaymentLink={showApmIncentivePaymentLink}
42
- items={items}
43
- isAltStyle={isAltStyle}
44
- showReportsPortal={showReportsPortal}
45
- showTargetedReviewLink={showTargetedReviewLink}
46
- />,
47
- rootElement
48
- );
27
+ const { expand, collapse } = render(
28
+ <SideNavUI
29
+ isExpanded={isExpanded}
30
+ onExpanded={onExpanded}
31
+ onCollapsed={onCollapsed}
32
+ chartData={chartData}
33
+ currentLevel={currentLevel}
34
+ config={config}
35
+ feedbackPerformanceYear={feedbackPerformanceYear}
36
+ fbpPerformanceYear={fbpPerformanceYear}
37
+ showDevPreDfpLink={showDevPreDfpLink}
38
+ showPhysicianCompareLink={showPhysicianCompareLink}
39
+ showFacilityBasedPreviewLink={showFacilityBasedPreviewLink}
40
+ showSelfNomination={showSelfNomination}
41
+ showApmIncentivePaymentLink={showApmIncentivePaymentLink}
42
+ items={items}
43
+ isAltStyle={isAltStyle}
44
+ showReportsPortal={showReportsPortal}
45
+ showTargetedReviewLink={showTargetedReviewLink}
46
+ />,
47
+ rootElement
48
+ );
49
49
 
50
- return { expand, collapse };
50
+ return { expand, collapse };
51
51
  };
52
52
 
53
53
  export default SideNav;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { render } from 'react-dom';
3
- import DSSpinner from '@cmsgov/design-system/dist/components/Spinner/Spinner';
1
+ import React from "react";
2
+ import { render } from "react-dom";
3
+ import DSSpinner from "@cmsgov/design-system/dist/components/Spinner/Spinner";
4
4
 
5
5
  export default class Spinner {
6
- constructor(options) {
7
- render(<DSSpinner />, options.rootElement);
8
- }
6
+ constructor(options) {
7
+ render(<DSSpinner />, options.rootElement);
8
+ }
9
9
  }
@@ -1,26 +1,26 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { Tab as MuiTab } from '@mui/material';
1
+ import React from "react";
2
+ import PropTypes from "prop-types";
3
+ import { Tab as MuiTab } from "@mui/material";
4
4
 
5
5
  const Tab = ({ href, ...rest }) => {
6
- return (
7
- <MuiTab
8
- component="a"
9
- disableRipple
10
- onClick={(e) => {
11
- e.preventDefault();
12
- if (window.history && href) {
13
- window.history.replaceState({}, document.title, href);
14
- }
15
- }}
16
- className="qpp-c-tabs__item"
17
- {...rest}
18
- />
19
- );
6
+ return (
7
+ <MuiTab
8
+ component="a"
9
+ disableRipple
10
+ onClick={(e) => {
11
+ e.preventDefault();
12
+ if (window.history && href) {
13
+ window.history.replaceState({}, document.title, href);
14
+ }
15
+ }}
16
+ className="qpp-c-tabs__item"
17
+ {...rest}
18
+ />
19
+ );
20
20
  };
21
21
 
22
22
  Tab.propTypes = {
23
- href: PropTypes.string,
23
+ href: PropTypes.string,
24
24
  };
25
25
 
26
- export default Tab
26
+ export default Tab;
@@ -1,34 +1,41 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
1
+ import React from "react";
2
+ import PropTypes from "prop-types";
3
3
 
4
- export const TabPanel = ({ children, value, id, index, className, disabled }) => {
5
- const classes = ['qpp-c-tabs__panel', className].filter(Boolean).join(' ');
6
- return (
7
- <div
8
- role="tabpanel"
9
- id={id}
10
- aria-hidden={value !== index}
11
- aria-labelledby={`qpp-c-tabs__item--${id}`}
12
- aria-disabled={disabled}
13
- className={classes}
14
- >
15
- {value === index && children}
16
- </div>
17
- );
4
+ export const TabPanel = ({
5
+ children,
6
+ value,
7
+ id,
8
+ index,
9
+ className,
10
+ disabled,
11
+ }) => {
12
+ const classes = ["qpp-c-tabs__panel", className].filter(Boolean).join(" ");
13
+ return (
14
+ <div
15
+ role="tabpanel"
16
+ id={id}
17
+ aria-hidden={value !== index}
18
+ aria-labelledby={`qpp-c-tabs__item--${id}`}
19
+ aria-disabled={disabled}
20
+ className={classes}
21
+ >
22
+ {value === index && children}
23
+ </div>
24
+ );
18
25
  };
19
26
 
20
27
  TabPanel.propTypes = {
21
- children: PropTypes.node,
22
- className: PropTypes.string,
23
- index: PropTypes.number.isRequired,
24
- id: PropTypes.string,
25
- value: PropTypes.number.isRequired,
26
- disabled: PropTypes.bool,
28
+ children: PropTypes.node,
29
+ className: PropTypes.string,
30
+ index: PropTypes.number.isRequired,
31
+ id: PropTypes.string,
32
+ value: PropTypes.number.isRequired,
33
+ disabled: PropTypes.bool,
27
34
  };
28
35
 
29
36
  TabPanel.defaultProps = {
30
- index: 0,
31
- value: 0,
37
+ index: 0,
38
+ value: 0,
32
39
  };
33
40
 
34
41
  export default TabPanel;
@@ -1,120 +1,130 @@
1
- import React, { useState } from 'react';
2
- import { withKnobs } from '@storybook/addon-knobs';
1
+ import React, { useState } from "react";
2
+ import { withKnobs } from "@storybook/addon-knobs";
3
3
 
4
- import Tabs from './index';
5
- import TabPanel from './TabPanel';
6
- import Button from '../Button';
4
+ import Tabs from "./index";
5
+ import TabPanel from "./TabPanel";
6
+ import Button from "../Button";
7
7
 
8
8
  export default {
9
- title: 'Tabs',
10
- component: Tabs,
11
- decorators: [withKnobs],
9
+ title: "Tabs",
10
+ component: Tabs,
11
+ decorators: [withKnobs],
12
12
  };
13
13
 
14
14
  export const Default = () => {
15
- return (
16
- <div className="qpp-u-padding--12">
17
- <Tabs>
18
- <TabPanel id="summary" tab="Summary" className="my-summary-class">
19
- The Bill of Rights is the first ten amendments to the United States
20
- Constitution.
21
- </TabPanel>
22
- <TabPanel id="preamble" tab="Preamble">
23
- We the People of the United States, in Order to form a more perfect
24
- Union, establish Justice, insure domestic Tranquility, provide for the
25
- common defence, promote the general Welfare, and secure the Blessings
26
- of Liberty to ourselves and our Posterity, do ordain and establish
27
- this Constitution for the United States of America.
28
- </TabPanel>
29
- <TabPanel id="amendments" tab="Amendments">
30
- <h2 className="ds-h4">Bill of Rights</h2>
31
- <ol className="ds-c-list">
32
- <li>Freedoms, Petitions, Assembly</li>
33
- <li>Right to bear arms</li>
34
- <li>Quartering of soldiers</li>
35
- <li>Search and arrest</li>
36
- <li>Rights in criminal cases</li>
37
- <li>Right to a fair trial</li>
38
- <li>Rights in civil cases</li>
39
- <li>Bail, fines, punishment</li>
40
- <li>Rights retained by the People</li>
41
- <li>States’ rights</li>
42
- </ol>
15
+ return (
16
+ <div className="qpp-u-padding--12">
17
+ <Tabs>
18
+ <TabPanel
19
+ id="summary"
20
+ tab="Summary"
21
+ className="my-summary-class"
22
+ >
23
+ The Bill of Rights is the first ten amendments to the United
24
+ States Constitution.
25
+ </TabPanel>
26
+ <TabPanel id="preamble" tab="Preamble">
27
+ We the People of the United States, in Order to form a more
28
+ perfect Union, establish Justice, insure domestic
29
+ Tranquility, provide for the common defence, promote the
30
+ general Welfare, and secure the Blessings of Liberty to
31
+ ourselves and our Posterity, do ordain and establish this
32
+ Constitution for the United States of America.
33
+ </TabPanel>
34
+ <TabPanel id="amendments" tab="Amendments">
35
+ <h2 className="ds-h4">Bill of Rights</h2>
36
+ <ol className="ds-c-list">
37
+ <li>Freedoms, Petitions, Assembly</li>
38
+ <li>Right to bear arms</li>
39
+ <li>Quartering of soldiers</li>
40
+ <li>Search and arrest</li>
41
+ <li>Rights in criminal cases</li>
42
+ <li>Right to a fair trial</li>
43
+ <li>Rights in civil cases</li>
44
+ <li>Bail, fines, punishment</li>
45
+ <li>Rights retained by the People</li>
46
+ <li>States’ rights</li>
47
+ </ol>
43
48
 
44
- <h2 className="ds-h4">Later Amendments</h2>
45
- <ol className="ds-c-list" start="11">
46
- <li>Lawsuits against states</li>
47
- <li>Presidential elections</li>
48
- <li>Abolition of slavery</li>
49
- <li>Civil rights</li>
50
- <li>Black suffrage</li>
51
- <li>Income taxes</li>
52
- <li>Senatorial elections</li>
53
- <li>Prohibition of liquor</li>
54
- <li>Women’s suffrage</li>
55
- <li>Terms of office</li>
56
- <li>Repeal of Prohibition</li>
57
- <li>Term Limits for the Presidency</li>
58
- <li>Washington, D.C., suffrage</li>
59
- <li>Abolition of poll taxes</li>
60
- <li>Presidential succession</li>
61
- <li>18-year-old suffrage</li>
62
- <li>Congressional pay raises</li>
63
- </ol>
49
+ <h2 className="ds-h4">Later Amendments</h2>
50
+ <ol className="ds-c-list" start="11">
51
+ <li>Lawsuits against states</li>
52
+ <li>Presidential elections</li>
53
+ <li>Abolition of slavery</li>
54
+ <li>Civil rights</li>
55
+ <li>Black suffrage</li>
56
+ <li>Income taxes</li>
57
+ <li>Senatorial elections</li>
58
+ <li>Prohibition of liquor</li>
59
+ <li>Women’s suffrage</li>
60
+ <li>Terms of office</li>
61
+ <li>Repeal of Prohibition</li>
62
+ <li>Term Limits for the Presidency</li>
63
+ <li>Washington, D.C., suffrage</li>
64
+ <li>Abolition of poll taxes</li>
65
+ <li>Presidential succession</li>
66
+ <li>18-year-old suffrage</li>
67
+ <li>Congressional pay raises</li>
68
+ </ol>
64
69
 
65
- <h2 className="ds-h4">Even Later Amendments</h2>
66
- <ol className="ds-c-list">
67
- <li>Thou must count to three</li>
68
- <li>
69
- Three shall be the number of the counting and the number of the
70
- counting shall be three
71
- </li>
72
- <li>Four shalt thou not count</li>
73
- <li>
74
- Neither shalt thou count two, excepting that thou then proceedeth
75
- to three
76
- </li>
77
- <li>Five is right out</li>
78
- </ol>
79
- </TabPanel>
80
- <TabPanel id="disabled" tab="Disabled" disabled>
81
- You should not see this.
82
- </TabPanel>
83
- </Tabs>
84
- </div>
85
- );
70
+ <h2 className="ds-h4">Even Later Amendments</h2>
71
+ <ol className="ds-c-list">
72
+ <li>Thou must count to three</li>
73
+ <li>
74
+ Three shall be the number of the counting and the
75
+ number of the counting shall be three
76
+ </li>
77
+ <li>Four shalt thou not count</li>
78
+ <li>
79
+ Neither shalt thou count two, excepting that thou
80
+ then proceedeth to three
81
+ </li>
82
+ <li>Five is right out</li>
83
+ </ol>
84
+ </TabPanel>
85
+ <TabPanel id="disabled" tab="Disabled" disabled>
86
+ You should not see this.
87
+ </TabPanel>
88
+ </Tabs>
89
+ </div>
90
+ );
86
91
  };
87
92
 
88
93
  export const ControlledTabs = () => {
89
- const [selectedId, setSelectedId] = useState('preamble');
90
- return (
91
- <div className="qpp-u-padding--12">
92
- <Tabs selected={selectedId} onChange={(id) => setSelectedId(id)}>
93
- <TabPanel id="summary" tab="Summary" className="my-summary-class">
94
- The Bill of Rights is the first ten amendments to the United States
95
- Constitution.
96
- </TabPanel>
97
- <TabPanel id="preamble" tab="Preamble">
98
- We the People of the United States, in Order to form a more perfect
99
- Union, establish Justice, insure domestic Tranquility, provide for the
100
- common defence, promote the general Welfare, and secure the Blessings
101
- of Liberty to ourselves and our Posterity, do ordain and establish
102
- this Constitution for the United States of America.
103
- </TabPanel>
104
- <TabPanel id="amendments" tab="Amendments">
105
- All of the amendments
106
- <br />
107
- <Button
108
- className="qpp-u-margin-top--16"
109
- onClick={() => setSelectedId('summary')}
110
- >
111
- Go to Summary
112
- </Button>
113
- </TabPanel>
114
- <TabPanel id="disabled" tab="Disabled" disabled>
115
- You should not see this.
116
- </TabPanel>
117
- </Tabs>
118
- </div>
119
- );
94
+ const [selectedId, setSelectedId] = useState("preamble");
95
+ return (
96
+ <div className="qpp-u-padding--12">
97
+ <Tabs selected={selectedId} onChange={(id) => setSelectedId(id)}>
98
+ <TabPanel
99
+ id="summary"
100
+ tab="Summary"
101
+ className="my-summary-class"
102
+ >
103
+ The Bill of Rights is the first ten amendments to the United
104
+ States Constitution.
105
+ </TabPanel>
106
+ <TabPanel id="preamble" tab="Preamble">
107
+ We the People of the United States, in Order to form a more
108
+ perfect Union, establish Justice, insure domestic
109
+ Tranquility, provide for the common defence, promote the
110
+ general Welfare, and secure the Blessings of Liberty to
111
+ ourselves and our Posterity, do ordain and establish this
112
+ Constitution for the United States of America.
113
+ </TabPanel>
114
+ <TabPanel id="amendments" tab="Amendments">
115
+ All of the amendments
116
+ <br />
117
+ <Button
118
+ className="qpp-u-margin-top--16"
119
+ onClick={() => setSelectedId("summary")}
120
+ >
121
+ Go to Summary
122
+ </Button>
123
+ </TabPanel>
124
+ <TabPanel id="disabled" tab="Disabled" disabled>
125
+ You should not see this.
126
+ </TabPanel>
127
+ </Tabs>
128
+ </div>
129
+ );
120
130
  };