blue-react 8.3.0 → 8.3.1
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.
- package/LICENSE +164 -164
- package/README.md +59 -59
- package/dist/components/ActionMenu.js +2 -2
- package/dist/components/ActionMenuSwitch.js +2 -2
- package/dist/components/Body.js +2 -2
- package/dist/components/BodyRounded.js +2 -2
- package/dist/components/Caret.js +2 -2
- package/dist/components/DocumentView.js +2 -2
- package/dist/components/Grid.js +287 -287
- package/dist/components/Header.js +2 -2
- package/dist/components/HeaderTitle.js +3 -3
- package/dist/components/Intro.js +2 -2
- package/dist/components/Layout.js +19 -19
- package/dist/components/MenuItem.js +3 -2
- package/dist/components/Modal.js +5 -5
- package/dist/components/Outside.js +6 -6
- package/dist/components/Page.js +2 -2
- package/dist/components/Search.js +2 -2
- package/dist/components/SidebarMenu.js +2 -2
- package/dist/components/Switch.js +2 -2
- package/dist/style.css +8694 -4960
- package/dist/style.css.map +1 -0
- package/dist/style.min.css +10 -12
- package/dist/style.scss +28 -28
- package/dist/styles/_action-menu.scss +81 -81
- package/dist/styles/_bootstrap-mixins_overwritten.scss +106 -106
- package/dist/styles/_bootstrap-optimizations.scss +13 -13
- package/dist/styles/_bootstrap-variables.scss +15 -15
- package/dist/styles/_bootstrap.scss +56 -56
- package/dist/styles/_caret.scss +50 -50
- package/dist/styles/_document-view.scss +6 -6
- package/dist/styles/_general.scss +177 -177
- package/dist/styles/_grid.scss +381 -381
- package/dist/styles/_hover.scss +42 -42
- package/dist/styles/_keyframes.scss +73 -73
- package/dist/styles/_mixins.scss +6 -6
- package/dist/styles/_router.scss +18 -18
- package/dist/styles/_search.scss +61 -61
- package/dist/styles/_status.scss +149 -149
- package/dist/styles/_switch.scss +21 -21
- package/dist/styles/_tooltips.scss +189 -189
- package/dist/styles/_variables.scss +97 -97
- package/dist/styles/mixins/_action-menu.scss +68 -68
- package/dist/styles/mixins/_custom-property.scss +10 -10
- package/dist/styles/mixins/_misc.scss +33 -33
- package/dist/styles/mixins/_scroll-shadow.scss +9 -9
- package/dist/styles/mixins/_sidebar.scss +156 -156
- package/dist/styles/mixins/_switch.scss +85 -85
- package/dist/types/components/ActionMenu.d.ts +22 -22
- package/dist/types/components/ActionMenuSwitch.d.ts +11 -11
- package/dist/types/components/Body.d.ts +21 -21
- package/dist/types/components/BodyRounded.d.ts +10 -10
- package/dist/types/components/Caret.d.ts +16 -16
- package/dist/types/components/DocumentView.d.ts +23 -23
- package/dist/types/components/Grid.d.ts +110 -110
- package/dist/types/components/Header.d.ts +8 -8
- package/dist/types/components/HeaderTitle.d.ts +29 -29
- package/dist/types/components/Intro.d.ts +23 -23
- package/dist/types/components/Layout.d.ts +120 -120
- package/dist/types/components/MenuItem.d.ts +69 -69
- package/dist/types/components/Modal.d.ts +25 -25
- package/dist/types/components/ModalProvider.d.ts +11 -11
- package/dist/types/components/Outside.d.ts +14 -14
- package/dist/types/components/Page.d.ts +12 -12
- package/dist/types/components/Search.d.ts +30 -30
- package/dist/types/components/SidebarMenu.d.ts +32 -32
- package/dist/types/components/Status.d.ts +12 -12
- package/dist/types/components/StatusProvider.d.ts +15 -15
- package/dist/types/components/Switch.d.ts +21 -21
- package/dist/types/components/Utilities.d.ts +17 -17
- package/dist/types/components/shared.d.ts +15 -15
- package/index.d.ts +65 -65
- package/index.js +27 -27
- package/package.json +88 -88
package/dist/styles/_status.scss
CHANGED
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
.blue-loading {
|
|
2
|
-
background-color: $primary;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.blue-status-alert,
|
|
6
|
-
.blue-status-circle {
|
|
7
|
-
position: fixed;
|
|
8
|
-
display: none;
|
|
9
|
-
box-shadow: 0 0.313rem 0.938rem rgba(0, 0, 0, 0.2);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.blue-status-alert,
|
|
13
|
-
.blue-status-circle {
|
|
14
|
-
z-index: 6000;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.blue-status-alert {
|
|
18
|
-
@include custom-scrollbar(white, rgba(black, 0.5), 0.3rem);
|
|
19
|
-
|
|
20
|
-
&:after {
|
|
21
|
-
content: "";
|
|
22
|
-
display: block;
|
|
23
|
-
position: absolute;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
top: 50%;
|
|
27
|
-
left: 0;
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
background-image: radial-gradient(
|
|
30
|
-
circle,
|
|
31
|
-
rgba(black, 0.7) 10%,
|
|
32
|
-
transparent 10.01%
|
|
33
|
-
);
|
|
34
|
-
background-repeat: no-repeat;
|
|
35
|
-
background-position: 50%;
|
|
36
|
-
animation: alert-in 1s;
|
|
37
|
-
transform: scale(10, 10);
|
|
38
|
-
opacity: 0;
|
|
39
|
-
transition: transform 0.5s, opacity 1s;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
transform: translate3d(0, 0, 0);
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
white-space: pre-wrap;
|
|
45
|
-
|
|
46
|
-
bottom: 2.5rem + 4rem + 0.938rem;
|
|
47
|
-
left: 1rem;
|
|
48
|
-
right: 1rem;
|
|
49
|
-
|
|
50
|
-
max-height: calc(100vh - 15rem);
|
|
51
|
-
|
|
52
|
-
.alert-body {
|
|
53
|
-
max-height: calc(100vh - 16rem);
|
|
54
|
-
overflow-y: auto;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@media screen and (min-width: 768px) {
|
|
59
|
-
.blue-status-alert {
|
|
60
|
-
left: calc(50% - 18.75rem);
|
|
61
|
-
right: calc(50% - 18.75rem);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.blue-status-circle {
|
|
66
|
-
bottom: 2.5rem;
|
|
67
|
-
left: calc(50% - 1.25rem);
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
width: 4rem;
|
|
70
|
-
height: 4rem;
|
|
71
|
-
color: #fff;
|
|
72
|
-
|
|
73
|
-
&:not(.blue-loading) {
|
|
74
|
-
align-items: center;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
font-size: 2.5em;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.blue-status-success {
|
|
81
|
-
background-color: #5cb85c;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.blue-status-info {
|
|
85
|
-
background-color: #5bc0de;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.blue-status-warning {
|
|
89
|
-
background-color: #d58512;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.blue-status-danger {
|
|
93
|
-
background-color: #d43f3a;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.spinner-bounce-circle {
|
|
97
|
-
width: 100%;
|
|
98
|
-
height: 100%;
|
|
99
|
-
|
|
100
|
-
position: relative;
|
|
101
|
-
margin: 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.spinner-bounce-circle div {
|
|
105
|
-
width: 100%;
|
|
106
|
-
height: 100%;
|
|
107
|
-
border-radius: 50%;
|
|
108
|
-
background-color: #fff;
|
|
109
|
-
opacity: 0.6;
|
|
110
|
-
position: absolute;
|
|
111
|
-
top: 0;
|
|
112
|
-
left: 0;
|
|
113
|
-
|
|
114
|
-
-webkit-animation: circlebounce 2s infinite ease-in-out;
|
|
115
|
-
animation: circlebounce 2s infinite ease-in-out;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.spinner-bounce-circle div:nth-child(1) {
|
|
119
|
-
-webkit-animation-delay: -1s;
|
|
120
|
-
animation-delay: -1s;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
$bla-status-bar-width: 37.5rem;
|
|
124
|
-
$bla-status-bar-loading-height: 2px;
|
|
125
|
-
|
|
126
|
-
.blue-status-bar {
|
|
127
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
128
|
-
color: #fff;
|
|
129
|
-
position: fixed;
|
|
130
|
-
z-index: 6;
|
|
131
|
-
// width: 100%;
|
|
132
|
-
box-sizing: border-box;
|
|
133
|
-
right: 0;
|
|
134
|
-
bottom: 0;
|
|
135
|
-
padding: 0.4rem;
|
|
136
|
-
padding-top: calc(0.4rem + #{$bla-status-bar-loading-height});
|
|
137
|
-
overflow: hidden;
|
|
138
|
-
|
|
139
|
-
&::after {
|
|
140
|
-
content: "";
|
|
141
|
-
position: absolute;
|
|
142
|
-
left: 0;
|
|
143
|
-
top: 0;
|
|
144
|
-
width: 100%;
|
|
145
|
-
height: $bla-status-bar-loading-height;
|
|
146
|
-
background-color: #5cb85c;
|
|
147
|
-
animation: scrolling 1s linear infinite;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
1
|
+
.blue-loading {
|
|
2
|
+
background-color: $primary;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.blue-status-alert,
|
|
6
|
+
.blue-status-circle {
|
|
7
|
+
position: fixed;
|
|
8
|
+
display: none;
|
|
9
|
+
box-shadow: 0 0.313rem 0.938rem rgba(0, 0, 0, 0.2);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.blue-status-alert,
|
|
13
|
+
.blue-status-circle {
|
|
14
|
+
z-index: 6000;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.blue-status-alert {
|
|
18
|
+
@include custom-scrollbar(white, rgba(black, 0.5), 0.3rem);
|
|
19
|
+
|
|
20
|
+
&:after {
|
|
21
|
+
content: "";
|
|
22
|
+
display: block;
|
|
23
|
+
position: absolute;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
top: 50%;
|
|
27
|
+
left: 0;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
background-image: radial-gradient(
|
|
30
|
+
circle,
|
|
31
|
+
rgba(black, 0.7) 10%,
|
|
32
|
+
transparent 10.01%
|
|
33
|
+
);
|
|
34
|
+
background-repeat: no-repeat;
|
|
35
|
+
background-position: 50%;
|
|
36
|
+
animation: alert-in 1s;
|
|
37
|
+
transform: scale(10, 10);
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transition: transform 0.5s, opacity 1s;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
transform: translate3d(0, 0, 0);
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
white-space: pre-wrap;
|
|
45
|
+
|
|
46
|
+
bottom: 2.5rem + 4rem + 0.938rem;
|
|
47
|
+
left: 1rem;
|
|
48
|
+
right: 1rem;
|
|
49
|
+
|
|
50
|
+
max-height: calc(100vh - 15rem);
|
|
51
|
+
|
|
52
|
+
.alert-body {
|
|
53
|
+
max-height: calc(100vh - 16rem);
|
|
54
|
+
overflow-y: auto;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media screen and (min-width: 768px) {
|
|
59
|
+
.blue-status-alert {
|
|
60
|
+
left: calc(50% - 18.75rem);
|
|
61
|
+
right: calc(50% - 18.75rem);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.blue-status-circle {
|
|
66
|
+
bottom: 2.5rem;
|
|
67
|
+
left: calc(50% - 1.25rem);
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
width: 4rem;
|
|
70
|
+
height: 4rem;
|
|
71
|
+
color: #fff;
|
|
72
|
+
|
|
73
|
+
&:not(.blue-loading) {
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
font-size: 2.5em;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.blue-status-success {
|
|
81
|
+
background-color: #5cb85c;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.blue-status-info {
|
|
85
|
+
background-color: #5bc0de;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.blue-status-warning {
|
|
89
|
+
background-color: #d58512;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.blue-status-danger {
|
|
93
|
+
background-color: #d43f3a;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.spinner-bounce-circle {
|
|
97
|
+
width: 100%;
|
|
98
|
+
height: 100%;
|
|
99
|
+
|
|
100
|
+
position: relative;
|
|
101
|
+
margin: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.spinner-bounce-circle div {
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: 100%;
|
|
107
|
+
border-radius: 50%;
|
|
108
|
+
background-color: #fff;
|
|
109
|
+
opacity: 0.6;
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 0;
|
|
112
|
+
left: 0;
|
|
113
|
+
|
|
114
|
+
-webkit-animation: circlebounce 2s infinite ease-in-out;
|
|
115
|
+
animation: circlebounce 2s infinite ease-in-out;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.spinner-bounce-circle div:nth-child(1) {
|
|
119
|
+
-webkit-animation-delay: -1s;
|
|
120
|
+
animation-delay: -1s;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
$bla-status-bar-width: 37.5rem;
|
|
124
|
+
$bla-status-bar-loading-height: 2px;
|
|
125
|
+
|
|
126
|
+
.blue-status-bar {
|
|
127
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
128
|
+
color: #fff;
|
|
129
|
+
position: fixed;
|
|
130
|
+
z-index: 6;
|
|
131
|
+
// width: 100%;
|
|
132
|
+
box-sizing: border-box;
|
|
133
|
+
right: 0;
|
|
134
|
+
bottom: 0;
|
|
135
|
+
padding: 0.4rem;
|
|
136
|
+
padding-top: calc(0.4rem + #{$bla-status-bar-loading-height});
|
|
137
|
+
overflow: hidden;
|
|
138
|
+
|
|
139
|
+
&::after {
|
|
140
|
+
content: "";
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
top: 0;
|
|
144
|
+
width: 100%;
|
|
145
|
+
height: $bla-status-bar-loading-height;
|
|
146
|
+
background-color: #5cb85c;
|
|
147
|
+
animation: scrolling 1s linear infinite;
|
|
148
|
+
}
|
|
149
|
+
}
|
package/dist/styles/_switch.scss
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
$width: 2.188rem;
|
|
2
|
-
$height: 1.25rem;
|
|
3
|
-
$padding: 0.188rem;
|
|
4
|
-
|
|
5
|
-
$switch-active-color: $success;
|
|
6
|
-
|
|
7
|
-
.switch {
|
|
8
|
-
@include switch();
|
|
9
|
-
|
|
10
|
-
&.lg {
|
|
11
|
-
@include switch(100px, 30px);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Rounded sliders */
|
|
16
|
-
.slider.round {
|
|
17
|
-
border-radius: $height;
|
|
18
|
-
}
|
|
19
|
-
.slider.round:before {
|
|
20
|
-
border-radius: 50%;
|
|
21
|
-
}
|
|
1
|
+
$width: 2.188rem;
|
|
2
|
+
$height: 1.25rem;
|
|
3
|
+
$padding: 0.188rem;
|
|
4
|
+
|
|
5
|
+
$switch-active-color: $success;
|
|
6
|
+
|
|
7
|
+
.switch {
|
|
8
|
+
@include switch();
|
|
9
|
+
|
|
10
|
+
&.lg {
|
|
11
|
+
@include switch(100px, 30px);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Rounded sliders */
|
|
16
|
+
.slider.round {
|
|
17
|
+
border-radius: $height;
|
|
18
|
+
}
|
|
19
|
+
.slider.round:before {
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
}
|