@coreui/react 2.5.7 → 2.5.8

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 (56) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/es/Aside.js +29 -37
  3. package/es/AsideToggler.js +36 -44
  4. package/es/Breadcrumb.js +51 -58
  5. package/es/Breadcrumb2.js +52 -60
  6. package/es/Footer.js +24 -32
  7. package/es/Header.js +23 -35
  8. package/es/HeaderDropdown.js +23 -27
  9. package/es/NavbarBrand.js +32 -39
  10. package/es/Shared/classes.js +0 -3
  11. package/es/Shared/element-closest.js +2 -0
  12. package/es/Shared/index.js +0 -1
  13. package/es/Shared/layout/layout.js +24 -16
  14. package/es/Shared/toggle-classes.js +2 -0
  15. package/es/Sidebar.js +43 -53
  16. package/es/SidebarFooter.js +19 -29
  17. package/es/SidebarForm.js +19 -29
  18. package/es/SidebarHeader.js +19 -29
  19. package/es/SidebarMinimizer.js +30 -35
  20. package/es/SidebarNav.js +128 -162
  21. package/es/SidebarNav2.js +178 -202
  22. package/es/SidebarToggler.js +35 -36
  23. package/es/Switch.js +59 -62
  24. package/lib/Aside.js +51 -60
  25. package/lib/AsideToggler.js +58 -67
  26. package/lib/Breadcrumb.js +71 -77
  27. package/lib/Breadcrumb2.js +72 -79
  28. package/lib/Footer.js +40 -47
  29. package/lib/Header.js +39 -50
  30. package/lib/HeaderDropdown.js +36 -37
  31. package/lib/NavbarBrand.js +50 -56
  32. package/lib/Shared/classes.js +8 -6
  33. package/lib/Shared/element-closest.js +3 -1
  34. package/lib/Shared/index.js +2 -3
  35. package/lib/Shared/layout/layout.js +31 -19
  36. package/lib/Shared/toggle-classes.js +6 -2
  37. package/lib/Sidebar.js +69 -81
  38. package/lib/SidebarFooter.js +33 -42
  39. package/lib/SidebarForm.js +33 -42
  40. package/lib/SidebarHeader.js +33 -42
  41. package/lib/SidebarMinimizer.js +51 -55
  42. package/lib/SidebarNav.js +154 -187
  43. package/lib/SidebarNav2.js +211 -236
  44. package/lib/SidebarToggler.js +56 -58
  45. package/lib/Switch.js +90 -92
  46. package/lib/index.js +36 -55
  47. package/package.json +14 -14
  48. package/umd/main.d0f057e5.css +5 -0
  49. package/umd/main.d0f057e5.css.map +1 -0
  50. package/umd/{@coreui/react.js → react.js} +918 -1076
  51. package/umd/react.min.js +38 -0
  52. package/umd/react.min.js.map +1 -0
  53. package/umd/@coreui/react.min.js +0 -44
  54. package/umd/@coreui/react.min.js.map +0 -1
  55. package/umd/main.a93373b7.css +0 -148
  56. package/umd/main.a93373b7.css.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["main.d0f057e5.css","css ./node_modules/css-loader/dist/cjs.js??ref--11-1!./node_modules/postcss-loader/src??postcss!./node_modules/react-perfect-scrollbar/dist/css/styles.css","css ./node_modules/css-loader/dist/cjs.js??ref--11-1!./node_modules/postcss-loader/src??postcss!./css/scrollbar.css"],"names":[],"mappings":"AAAA;;;EAGE,CCAF,IACA,yBAAA,CACA,oBAAA,CACA,uBAAA,CACA,iBAAA,CACA,qBACA,CAKA,YAMA,WAAA,CAEA,QAGA,CAEA,wBAZA,YAAA,CACA,SAAA,CACA,4DAAA,CACA,yDAAA,CACA,iEAAA,CAKA,iBAcA,CAXA,YAMA,UAAA,CAEA,OAGA,CAEA,oDAEA,aAAA,CACA,4BACA,CAEA,oJAMA,UACA,CAEA,kJAMA,qBAAA,CACA,UACA,CAKA,aAGA,gEAAA,CACA,6DAAA,CACA,qEAAA,CACA,UAAA,CAEA,UAGA,CAEA,0BAZA,qBAAA,CACA,iBAAA,CAQA,iBAcA,CAXA,aAGA,+DAAA,CACA,4DAAA,CACA,oEAAA,CACA,SAAA,CAEA,SAGA,CAEA,oGAGA,qBAAA,CACA,WACA,CAEA,oGAGA,qBAAA,CACA,UACA,CAGA,oCACA,IACA,uBACA,CACA,CAEA,sEACA,IACA,uBACA,CACA,CACA,qBACA,iBAAA,CACA,WAAe,CCrHf,2CACA,gBAAA,CACA,WACA,CAMA,6CAHA,QAAA,CACA,WAKA","file":"main.d0f057e5.css","sourcesContent":["/*!\n * @coreui/react v2.5.8 - https://coreui.io\n * MIT Licensed\n */\n/*\n * Container style\n */\n.ps {\n overflow: hidden !important;\n overflow-anchor: none;\n -ms-overflow-style: none;\n touch-action: auto;\n -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n display: none;\n opacity: 0;\n -o-transition: background-color .2s linear, opacity .2s linear;\n transition: background-color .2s linear, opacity .2s linear;\n -webkit-transition: background-color .2s linear, opacity .2s linear;\n height: 15px;\n /* there must be 'bottom' or 'top' for ps__rail-x */\n bottom: 0px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-y {\n display: none;\n opacity: 0;\n -o-transition: background-color .2s linear, opacity .2s linear;\n transition: background-color .2s linear, opacity .2s linear;\n -webkit-transition: background-color .2s linear, opacity .2s linear;\n width: 15px;\n /* there must be 'right' or 'left' for ps__rail-y */\n right: 0;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n display: block;\n background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n background-color: #eee;\n opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n background-color: #aaa;\n border-radius: 6px;\n -o-transition: background-color .2s linear, height .2s ease-in-out;\n transition: background-color .2s linear, height .2s ease-in-out;\n -webkit-transition: background-color .2s linear, height .2s ease-in-out;\n height: 6px;\n /* there must be 'bottom' for ps__thumb-x */\n bottom: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__thumb-y {\n background-color: #aaa;\n border-radius: 6px;\n -o-transition: background-color .2s linear, width .2s ease-in-out;\n transition: background-color .2s linear, width .2s ease-in-out;\n -webkit-transition: background-color .2s linear, width .2s ease-in-out;\n width: 6px;\n /* there must be 'right' for ps__thumb-y */\n right: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n background-color: #999;\n height: 11px;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n background-color: #999;\n width: 11px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n .ps {\n overflow: auto !important;\n }\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .ps {\n overflow: auto !important;\n }\n}\n.scrollbar-container {\n position: relative;\n height: 100%; }\n/* rtl fix */\r\n.ps__rtl .ps__rail-y {\r\n left: 0px !important;\r\n right: unset;\r\n}\r\n*[dir=\"rtl\"] .ps__rail-y {\r\n left: 0px !important;\r\n right: unset;\r\n}\r\n\r\n.ps__rtl .ps__thumb-y {\r\n left: 2px;\r\n right: unset;\r\n}\r\n*[dir=\"rtl\"] .ps__thumb-y {\r\n left: 2px;\r\n right: unset;\r\n}\r\n\n","/*\n * Container style\n */\n.ps {\n overflow: hidden !important;\n overflow-anchor: none;\n -ms-overflow-style: none;\n touch-action: auto;\n -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n display: none;\n opacity: 0;\n -o-transition: background-color .2s linear, opacity .2s linear;\n transition: background-color .2s linear, opacity .2s linear;\n -webkit-transition: background-color .2s linear, opacity .2s linear;\n height: 15px;\n /* there must be 'bottom' or 'top' for ps__rail-x */\n bottom: 0px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-y {\n display: none;\n opacity: 0;\n -o-transition: background-color .2s linear, opacity .2s linear;\n transition: background-color .2s linear, opacity .2s linear;\n -webkit-transition: background-color .2s linear, opacity .2s linear;\n width: 15px;\n /* there must be 'right' or 'left' for ps__rail-y */\n right: 0;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n display: block;\n background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n background-color: #eee;\n opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n background-color: #aaa;\n border-radius: 6px;\n -o-transition: background-color .2s linear, height .2s ease-in-out;\n transition: background-color .2s linear, height .2s ease-in-out;\n -webkit-transition: background-color .2s linear, height .2s ease-in-out;\n height: 6px;\n /* there must be 'bottom' for ps__thumb-x */\n bottom: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__thumb-y {\n background-color: #aaa;\n border-radius: 6px;\n -o-transition: background-color .2s linear, width .2s ease-in-out;\n transition: background-color .2s linear, width .2s ease-in-out;\n -webkit-transition: background-color .2s linear, width .2s ease-in-out;\n width: 6px;\n /* there must be 'right' for ps__thumb-y */\n right: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n background-color: #999;\n height: 11px;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n background-color: #999;\n width: 11px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n .ps {\n overflow: auto !important;\n }\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .ps {\n overflow: auto !important;\n }\n}\n.scrollbar-container {\n position: relative;\n height: 100%; }","/* rtl fix */\r\n.ps__rtl .ps__rail-y {\r\n left: 0px !important;\r\n right: unset;\r\n}\r\n*[dir=\"rtl\"] .ps__rail-y {\r\n left: 0px !important;\r\n right: unset;\r\n}\r\n\r\n.ps__rtl .ps__thumb-y {\r\n left: 2px;\r\n right: unset;\r\n}\r\n*[dir=\"rtl\"] .ps__thumb-y {\r\n left: 2px;\r\n right: unset;\r\n}\r\n"]}