@coreui/react 2.5.4 → 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 (58) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/css/scrollbar.css +18 -0
  3. package/es/Aside.js +29 -37
  4. package/es/AsideToggler.js +36 -44
  5. package/es/Breadcrumb.js +51 -58
  6. package/es/Breadcrumb2.js +52 -60
  7. package/es/Footer.js +24 -32
  8. package/es/Header.js +23 -35
  9. package/es/HeaderDropdown.js +23 -27
  10. package/es/NavbarBrand.js +32 -39
  11. package/es/Shared/classes.js +0 -3
  12. package/es/Shared/element-closest.js +2 -0
  13. package/es/Shared/index.js +0 -1
  14. package/es/Shared/layout/layout.js +75 -16
  15. package/es/Shared/toggle-classes.js +2 -0
  16. package/es/Sidebar.js +43 -53
  17. package/es/SidebarFooter.js +19 -29
  18. package/es/SidebarForm.js +19 -29
  19. package/es/SidebarHeader.js +19 -29
  20. package/es/SidebarMinimizer.js +30 -35
  21. package/es/SidebarNav.js +128 -162
  22. package/es/SidebarNav2.js +249 -174
  23. package/es/SidebarToggler.js +35 -36
  24. package/es/Switch.js +59 -62
  25. package/lib/Aside.js +51 -60
  26. package/lib/AsideToggler.js +58 -67
  27. package/lib/Breadcrumb.js +71 -77
  28. package/lib/Breadcrumb2.js +72 -79
  29. package/lib/Footer.js +40 -47
  30. package/lib/Header.js +39 -50
  31. package/lib/HeaderDropdown.js +36 -37
  32. package/lib/NavbarBrand.js +50 -56
  33. package/lib/Shared/classes.js +8 -6
  34. package/lib/Shared/element-closest.js +3 -1
  35. package/lib/Shared/index.js +2 -3
  36. package/lib/Shared/layout/layout.js +82 -19
  37. package/lib/Shared/toggle-classes.js +6 -2
  38. package/lib/Sidebar.js +69 -81
  39. package/lib/SidebarFooter.js +33 -42
  40. package/lib/SidebarForm.js +33 -42
  41. package/lib/SidebarHeader.js +33 -42
  42. package/lib/SidebarMinimizer.js +51 -55
  43. package/lib/SidebarNav.js +154 -187
  44. package/lib/SidebarNav2.js +275 -198
  45. package/lib/SidebarToggler.js +56 -58
  46. package/lib/Switch.js +90 -92
  47. package/lib/index.js +36 -55
  48. package/package.json +21 -20
  49. package/umd/main.d0f057e5.css +5 -0
  50. package/umd/main.d0f057e5.css.map +1 -0
  51. package/umd/react.js +6069 -0
  52. package/umd/react.min.js +38 -0
  53. package/umd/react.min.js.map +1 -0
  54. package/umd/@coreui/react.js +0 -11849
  55. package/umd/@coreui/react.min.js +0 -77
  56. package/umd/@coreui/react.min.js.map +0 -1
  57. package/umd/main.a25994ba.css +0 -129
  58. package/umd/main.a25994ba.css.map +0 -1
@@ -1,129 +0,0 @@
1
- /*!
2
- * @coreui/react v2.5.4 - https://coreui.io
3
- * MIT Licensed
4
- */
5
- /*
6
- * Container style
7
- */
8
- .ps {
9
- overflow: hidden !important;
10
- overflow-anchor: none;
11
- -ms-overflow-style: none;
12
- touch-action: auto;
13
- -ms-touch-action: auto;
14
- }
15
-
16
- /*
17
- * Scrollbar rail styles
18
- */
19
- .ps__rail-x {
20
- display: none;
21
- opacity: 0;
22
- -o-transition: background-color .2s linear, opacity .2s linear;
23
- transition: background-color .2s linear, opacity .2s linear;
24
- -webkit-transition: background-color .2s linear, opacity .2s linear;
25
- height: 15px;
26
- /* there must be 'bottom' or 'top' for ps__rail-x */
27
- bottom: 0px;
28
- /* please don't change 'position' */
29
- position: absolute;
30
- }
31
-
32
- .ps__rail-y {
33
- display: none;
34
- opacity: 0;
35
- -o-transition: background-color .2s linear, opacity .2s linear;
36
- transition: background-color .2s linear, opacity .2s linear;
37
- -webkit-transition: background-color .2s linear, opacity .2s linear;
38
- width: 15px;
39
- /* there must be 'right' or 'left' for ps__rail-y */
40
- right: 0;
41
- /* please don't change 'position' */
42
- position: absolute;
43
- }
44
-
45
- .ps--active-x > .ps__rail-x,
46
- .ps--active-y > .ps__rail-y {
47
- display: block;
48
- background-color: transparent;
49
- }
50
-
51
- .ps:hover > .ps__rail-x,
52
- .ps:hover > .ps__rail-y,
53
- .ps--focus > .ps__rail-x,
54
- .ps--focus > .ps__rail-y,
55
- .ps--scrolling-x > .ps__rail-x,
56
- .ps--scrolling-y > .ps__rail-y {
57
- opacity: 0.6;
58
- }
59
-
60
- .ps .ps__rail-x:hover,
61
- .ps .ps__rail-y:hover,
62
- .ps .ps__rail-x:focus,
63
- .ps .ps__rail-y:focus,
64
- .ps .ps__rail-x.ps--clicking,
65
- .ps .ps__rail-y.ps--clicking {
66
- background-color: #eee;
67
- opacity: 0.9;
68
- }
69
-
70
- /*
71
- * Scrollbar thumb styles
72
- */
73
- .ps__thumb-x {
74
- background-color: #aaa;
75
- border-radius: 6px;
76
- -o-transition: background-color .2s linear, height .2s ease-in-out;
77
- transition: background-color .2s linear, height .2s ease-in-out;
78
- -webkit-transition: background-color .2s linear, height .2s ease-in-out;
79
- height: 6px;
80
- /* there must be 'bottom' for ps__thumb-x */
81
- bottom: 2px;
82
- /* please don't change 'position' */
83
- position: absolute;
84
- }
85
-
86
- .ps__thumb-y {
87
- background-color: #aaa;
88
- border-radius: 6px;
89
- -o-transition: background-color .2s linear, width .2s ease-in-out;
90
- transition: background-color .2s linear, width .2s ease-in-out;
91
- -webkit-transition: background-color .2s linear, width .2s ease-in-out;
92
- width: 6px;
93
- /* there must be 'right' for ps__thumb-y */
94
- right: 2px;
95
- /* please don't change 'position' */
96
- position: absolute;
97
- }
98
-
99
- .ps__rail-x:hover > .ps__thumb-x,
100
- .ps__rail-x:focus > .ps__thumb-x,
101
- .ps__rail-x.ps--clicking .ps__thumb-x {
102
- background-color: #999;
103
- height: 11px;
104
- }
105
-
106
- .ps__rail-y:hover > .ps__thumb-y,
107
- .ps__rail-y:focus > .ps__thumb-y,
108
- .ps__rail-y.ps--clicking .ps__thumb-y {
109
- background-color: #999;
110
- width: 11px;
111
- }
112
-
113
- /* MS supports */
114
- @supports (-ms-overflow-style: none) {
115
- .ps {
116
- overflow: auto !important;
117
- }
118
- }
119
-
120
- @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
121
- .ps {
122
- overflow: auto !important;
123
- }
124
- }
125
- .scrollbar-container {
126
- position: relative;
127
- height: 100%; }
128
-
129
- /*# sourceMappingURL=main.a25994ba.css.map*/
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://CoreUIReact/./node_modules/react-perfect-scrollbar/dist/css/styles.css"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,E","file":"main.a25994ba.css","sourcesContent":["/*\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%; }"],"sourceRoot":""}