blue-react 8.1.7 → 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.
Files changed (75) hide show
  1. package/LICENSE +164 -164
  2. package/README.md +59 -59
  3. package/dist/components/ActionMenu.js +2 -2
  4. package/dist/components/ActionMenuSwitch.js +2 -2
  5. package/dist/components/Body.js +2 -2
  6. package/dist/components/BodyRounded.js +2 -2
  7. package/dist/components/Caret.js +2 -2
  8. package/dist/components/DocumentView.js +2 -2
  9. package/dist/components/Grid.js +287 -287
  10. package/dist/components/Header.js +2 -2
  11. package/dist/components/HeaderTitle.js +3 -3
  12. package/dist/components/Intro.js +2 -2
  13. package/dist/components/Layout.js +19 -19
  14. package/dist/components/MenuItem.js +11 -20
  15. package/dist/components/Modal.js +11 -7
  16. package/dist/components/ModalProvider.js +18 -9
  17. package/dist/components/Outside.js +6 -6
  18. package/dist/components/Page.js +2 -2
  19. package/dist/components/Search.js +2 -2
  20. package/dist/components/SidebarMenu.js +2 -2
  21. package/dist/components/Switch.js +2 -2
  22. package/dist/style.css +8701 -4960
  23. package/dist/style.css.map +1 -0
  24. package/dist/style.min.css +10 -12
  25. package/dist/style.scss +28 -28
  26. package/dist/styles/_action-menu.scss +81 -81
  27. package/dist/styles/_bootstrap-mixins_overwritten.scss +106 -106
  28. package/dist/styles/_bootstrap-optimizations.scss +13 -13
  29. package/dist/styles/_bootstrap-variables.scss +15 -15
  30. package/dist/styles/_bootstrap.scss +56 -56
  31. package/dist/styles/_caret.scss +50 -50
  32. package/dist/styles/_document-view.scss +6 -6
  33. package/dist/styles/_general.scss +177 -177
  34. package/dist/styles/_grid.scss +381 -381
  35. package/dist/styles/_hover.scss +42 -42
  36. package/dist/styles/_keyframes.scss +73 -73
  37. package/dist/styles/_mixins.scss +6 -6
  38. package/dist/styles/_router.scss +18 -18
  39. package/dist/styles/_search.scss +61 -61
  40. package/dist/styles/_status.scss +149 -149
  41. package/dist/styles/_switch.scss +21 -21
  42. package/dist/styles/_tooltips.scss +189 -189
  43. package/dist/styles/_variables.scss +97 -97
  44. package/dist/styles/mixins/_action-menu.scss +68 -68
  45. package/dist/styles/mixins/_custom-property.scss +10 -10
  46. package/dist/styles/mixins/_misc.scss +33 -33
  47. package/dist/styles/mixins/_scroll-shadow.scss +9 -9
  48. package/dist/styles/mixins/_sidebar.scss +156 -156
  49. package/dist/styles/mixins/_switch.scss +85 -85
  50. package/dist/types/components/ActionMenu.d.ts +22 -22
  51. package/dist/types/components/ActionMenuSwitch.d.ts +11 -11
  52. package/dist/types/components/Body.d.ts +21 -21
  53. package/dist/types/components/BodyRounded.d.ts +10 -10
  54. package/dist/types/components/Caret.d.ts +16 -16
  55. package/dist/types/components/DocumentView.d.ts +23 -23
  56. package/dist/types/components/Grid.d.ts +110 -110
  57. package/dist/types/components/Header.d.ts +8 -8
  58. package/dist/types/components/HeaderTitle.d.ts +29 -29
  59. package/dist/types/components/Intro.d.ts +23 -23
  60. package/dist/types/components/Layout.d.ts +120 -120
  61. package/dist/types/components/MenuItem.d.ts +69 -69
  62. package/dist/types/components/Modal.d.ts +25 -24
  63. package/dist/types/components/ModalProvider.d.ts +11 -11
  64. package/dist/types/components/Outside.d.ts +14 -14
  65. package/dist/types/components/Page.d.ts +12 -12
  66. package/dist/types/components/Search.d.ts +30 -30
  67. package/dist/types/components/SidebarMenu.d.ts +32 -32
  68. package/dist/types/components/Status.d.ts +12 -12
  69. package/dist/types/components/StatusProvider.d.ts +15 -15
  70. package/dist/types/components/Switch.d.ts +21 -21
  71. package/dist/types/components/Utilities.d.ts +17 -17
  72. package/dist/types/components/shared.d.ts +15 -15
  73. package/index.d.ts +65 -65
  74. package/index.js +27 -27
  75. package/package.json +88 -88
@@ -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
+ }
@@ -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
+ }