linear-react-components-ui 0.4.76-rc.7 → 0.4.76
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/.husky/pre-commit +2 -2
- package/README.md +19 -7
- package/lib/assets/styles/button.scss +19 -10
- package/lib/assets/styles/checkbox.scss +92 -70
- package/lib/assets/styles/commons.scss +36 -0
- package/lib/assets/styles/drawers.scss +22 -6
- package/lib/assets/styles/dropdown.scss +3 -0
- package/lib/assets/styles/effects.scss +20 -0
- package/lib/assets/styles/gridlayout.scss +2 -1
- package/lib/assets/styles/input.scss +21 -0
- package/lib/assets/styles/label.scss +9 -1
- package/lib/assets/styles/list.scss +8 -0
- package/lib/assets/styles/panel.scss +4 -1
- package/lib/assets/styles/radio.scss +19 -0
- package/lib/assets/styles/select.scss +3 -3
- package/lib/assets/styles/sidenav.scss +11 -1
- package/lib/assets/styles/skeleton.scss +48 -0
- package/lib/assets/styles/table.scss +17 -5
- package/lib/assets/styles/tabs.scss +51 -44
- package/lib/assets/styles/treeview.scss +9 -0
- package/lib/assets/styles/uitour.scss +112 -0
- package/lib/buttons/DefaultButton.js +7 -4
- package/lib/buttons/split_button/index.js +8 -4
- package/lib/checkbox/Label.js +1 -1
- package/lib/checkbox/checkbox.spec.js +16 -16
- package/lib/checkbox/index.js +16 -9
- package/lib/dialog/form/index.js +10 -3
- package/lib/drawer/Drawer.js +9 -5
- package/lib/drawer/Header.js +15 -5
- package/lib/dropdown/Popup.js +3 -2
- package/lib/form/FieldNumber.js +1 -1
- package/lib/form/FieldPeriod.js +1 -1
- package/lib/form/form.spec.js +8 -0
- package/lib/form/helpers.js +12 -1
- package/lib/form/index.js +61 -47
- package/lib/form/withFieldHOC.js +3 -1
- package/lib/icons/helper.js +8 -0
- package/lib/inputs/base/InputTextBase.js +40 -6
- package/lib/inputs/base/helpers.js +15 -3
- package/lib/inputs/date/Dropdown.js +3 -3
- package/lib/inputs/date/date.spec.js +46 -36
- package/lib/inputs/date/helpers.js +36 -0
- package/lib/inputs/date/index.js +12 -10
- package/lib/inputs/mask/Phone.js +10 -1
- package/lib/inputs/mask/imaskHOC.js +2 -1
- package/lib/inputs/mask/input_mask.spec.js +21 -4
- package/lib/inputs/search/index.js +2 -0
- package/lib/inputs/select/Dropdown.js +51 -61
- package/lib/inputs/select/helper.js +65 -2
- package/lib/inputs/select/multiple/index.js +8 -5
- package/lib/inputs/select/simple/index.js +9 -6
- package/lib/internals/constants.js +4 -3
- package/lib/internals/withTooltip.js +14 -11
- package/lib/labels/DefaultLabel.js +7 -4
- package/lib/list/Item.js +35 -9
- package/lib/list/helpers.js +8 -3
- package/lib/list/index.js +161 -13
- package/lib/list/list.spec.js +259 -102
- package/lib/menus/sidenav/NavMenuItem.js +17 -8
- package/lib/menus/sidenav/index.js +53 -84
- package/lib/menus/sidenav/popup_menu_search/index.js +25 -16
- package/lib/menus/sidenav/sidenav.spec.js +86 -19
- package/lib/panel/Header.js +4 -3
- package/lib/radio/index.js +9 -6
- package/lib/skeleton/SkeletonContainer.js +42 -0
- package/lib/skeleton/index.js +84 -0
- package/lib/table/Body.js +55 -11
- package/lib/table/Header.js +14 -1
- package/lib/table/HeaderColumn.js +26 -3
- package/lib/table/Row.js +18 -7
- package/lib/table/RowColumn.js +23 -3
- package/lib/table/helpers.js +11 -1
- package/lib/table/index.js +41 -8
- package/lib/tabs/Menu.js +1 -11
- package/lib/tabs/MenuItems.js +9 -3
- package/lib/tabs/index.js +78 -53
- package/lib/tabs/tabs.spec.js +8 -5
- package/lib/toolbar/ButtonBar.js +30 -24
- package/lib/toolbar/LabelBar.js +22 -27
- package/lib/toolbar/helpers.js +12 -0
- package/lib/toolbar/index.js +23 -12
- package/lib/tooltip/index.js +8 -7
- package/lib/treeview/Node.js +248 -203
- package/lib/treeview/index.js +40 -20
- package/lib/treeview/treeview.spec.js +18 -0
- package/lib/uitour/helpers.js +15 -0
- package/lib/uitour/index.js +271 -0
- package/lib/uitour/uitour.spec.js +176 -0
- package/package.json +1 -1
- package/.DS_Store +0 -0
package/.husky/pre-commit
CHANGED
package/README.md
CHANGED
|
@@ -53,22 +53,34 @@ Caso queira gerar uma build com versão beta e fazer a publicação no npm rode
|
|
|
53
53
|
|
|
54
54
|
`npm run publish:npm --tag beta`
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Caso queira gerar uma build com versão candidata e fazer a publicação no npm rode os comandos da seguinte forma:
|
|
57
|
+
|
|
58
|
+
`npm version <versão>`
|
|
59
|
+
|
|
60
|
+
`npm run publish:npm --tag rc`
|
|
61
|
+
|
|
62
|
+
no local onde esta denominado o campo versão, você deverá colocar a nova versão do pacote, alguns exemplos para o campo versão:
|
|
63
|
+
- release: 0.4.75
|
|
64
|
+
- beta: 0.4.75-beta.0
|
|
65
|
+
- candidata: 0.4.75-rc.0
|
|
66
|
+
|
|
67
|
+
ficando da seguinte maneira:
|
|
58
68
|
|
|
59
69
|
`npm version 0.4.75`
|
|
60
70
|
|
|
61
71
|
|
|
62
72
|
### Publicar versão de demonstração no Heroku
|
|
63
73
|
|
|
74
|
+
Pré-requesistos
|
|
75
|
+
- Ter um conta no heroku
|
|
76
|
+
- Ser um colaborador do projeto no Heroku
|
|
77
|
+
- Ter o heroku cli instalado: https://devcenter.heroku.com/articles/heroku-cli#install-the-heroku-cli
|
|
64
78
|
|
|
65
|
-
No diretorio da aplicação clonar
|
|
66
|
-
`heroku git:clone -a linear-react-comp-demo`
|
|
67
|
-
|
|
68
|
-
Renomear a pastar `linear-react-comp-demo` para `demo`
|
|
69
|
-
|
|
70
79
|
Fazer login no Heroku
|
|
71
80
|
`heroku login`
|
|
81
|
+
|
|
82
|
+
No diretorio da aplicação clonar
|
|
83
|
+
`heroku git:clone -a linear-react-comp-demo demo`
|
|
72
84
|
|
|
73
85
|
Executar o comando
|
|
74
86
|
`npm run deploy:heroku`
|
|
@@ -275,16 +275,17 @@ $shadow-button-inset-default: inset 0 0 0 1px $default-border-color, $shadow-but
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.btn-container,
|
|
278
|
+
.btn-container,
|
|
279
|
+
.toolbar-group {
|
|
279
280
|
width: auto;
|
|
280
|
-
> .button-component {
|
|
281
|
+
> .button-component {
|
|
281
282
|
margin-right: 10px;
|
|
282
283
|
line-height: 15px;
|
|
283
284
|
}
|
|
284
|
-
> .button-component:last-child {
|
|
285
|
+
> .button-component:last-child {
|
|
285
286
|
margin-right: 1px;
|
|
286
287
|
}
|
|
287
|
-
}
|
|
288
|
+
}
|
|
288
289
|
|
|
289
290
|
.button-component {
|
|
290
291
|
&.-primary .dropdown-icon,
|
|
@@ -298,15 +299,12 @@ $shadow-button-inset-default: inset 0 0 0 1px $default-border-color, $shadow-but
|
|
|
298
299
|
margin-left: 7px;
|
|
299
300
|
margin-right: -10px;
|
|
300
301
|
}
|
|
301
|
-
// height: 100%;
|
|
302
302
|
&.icon-right .icon-component {
|
|
303
303
|
float: right;
|
|
304
|
-
// line-height: 1.5px;
|
|
305
304
|
margin: 1px 0 0 6px;
|
|
306
305
|
}
|
|
307
306
|
&.icon-left .icon-component {
|
|
308
307
|
float: left;
|
|
309
|
-
// line-height: 1.5px;
|
|
310
308
|
margin: 1px 6px 0 0;
|
|
311
309
|
}
|
|
312
310
|
&.icon-top .icon-component {
|
|
@@ -314,11 +312,8 @@ $shadow-button-inset-default: inset 0 0 0 1px $default-border-color, $shadow-but
|
|
|
314
312
|
width: 100%;
|
|
315
313
|
}
|
|
316
314
|
&.icon-center .icon-component {
|
|
317
|
-
// line-height: 1.5px;
|
|
318
315
|
text-align: center;
|
|
319
316
|
vertical-align: center;
|
|
320
|
-
// align-items: inherit;
|
|
321
|
-
// justify-content: inherit;
|
|
322
317
|
}
|
|
323
318
|
&.icon-bottom .icon-component {
|
|
324
319
|
position: relative;
|
|
@@ -329,3 +324,17 @@ $shadow-button-inset-default: inset 0 0 0 1px $default-border-color, $shadow-but
|
|
|
329
324
|
vertical-align: middle;
|
|
330
325
|
}
|
|
331
326
|
}
|
|
327
|
+
|
|
328
|
+
.button-component.-skeletonized {
|
|
329
|
+
@extend %skeleton-component;
|
|
330
|
+
color: transparent !important;
|
|
331
|
+
text-shadow: none;
|
|
332
|
+
box-shadow: none;
|
|
333
|
+
border-color: transparent !important;
|
|
334
|
+
transition: none;
|
|
335
|
+
|
|
336
|
+
> svg {
|
|
337
|
+
opacity: 0;
|
|
338
|
+
visibility: hidden;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
@@ -1,79 +1,101 @@
|
|
|
1
1
|
@import "colors.scss";
|
|
2
2
|
@import "commons.scss";
|
|
3
3
|
@import "effects.scss";
|
|
4
|
+
|
|
4
5
|
.checkbox-component {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
6
|
+
> .inputcontent {
|
|
7
|
+
> .input {
|
|
8
|
+
position: absolute;
|
|
9
|
+
z-index: 0;
|
|
10
|
+
left: -9999999999999px;
|
|
11
|
+
&:disabled + span {
|
|
12
|
+
@extend %component-disabled;
|
|
13
|
+
}
|
|
14
|
+
&:disabled + span + .description {
|
|
15
|
+
@extend %component-menu-disabled;
|
|
16
|
+
}
|
|
17
|
+
&:checked + span:before {
|
|
18
|
+
content: "✓";
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
position: static;
|
|
23
|
+
margin-top: -5px;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
height: 28px;
|
|
26
|
+
}
|
|
27
|
+
+ span {
|
|
28
|
+
display: inline-block;
|
|
29
|
+
position: relative;
|
|
30
|
+
top: -1px;
|
|
31
|
+
width: 18px;
|
|
32
|
+
height: 18px;
|
|
33
|
+
margin: -1px 0px 0 0;
|
|
34
|
+
margin-right: 4px;
|
|
35
|
+
vertical-align: middle;
|
|
36
|
+
background: $font-color-second left top no-repeat;
|
|
37
|
+
border: 1px solid $component-border-color;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
&:hover {
|
|
40
|
+
animation-duration: .5s;
|
|
41
|
+
animation-name: blink-effect;
|
|
42
|
+
animation-iteration-count: infinite;
|
|
43
|
+
animation-direction: alternate;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
&:checked + span {
|
|
47
|
+
background-color: $check-background;
|
|
48
|
+
color: $font-color-second;
|
|
49
|
+
animation-duration: .2s;
|
|
50
|
+
animation-name: select-checkbox;
|
|
51
|
+
animation-iteration-count: 1;
|
|
52
|
+
animation-direction: Normal;
|
|
53
|
+
box-shadow: inset 0 0 0 1px $checked,
|
|
54
|
+
inset 0 0 0 0 #FFFFFF,
|
|
55
|
+
inset 0 0 0 16px $checked-effect;
|
|
56
|
+
}
|
|
57
|
+
&:focus + span {
|
|
58
|
+
border: 2px solid $component-selected-color;
|
|
59
|
+
}
|
|
60
|
+
&:disabled:checked + span:before {
|
|
61
|
+
@extend %component-menu-disabled;
|
|
62
|
+
border: 1px solid;
|
|
63
|
+
margin-top: -1px;
|
|
64
|
+
width: 18px;
|
|
65
|
+
height: 18px;
|
|
66
|
+
background-color: rgb(229, 229, 229);
|
|
67
|
+
margin-left: -1px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
> .description {
|
|
71
|
+
@extend %input-label;
|
|
72
|
+
margin-left: 2px;
|
|
73
|
+
cursor: pointer ;
|
|
41
74
|
}
|
|
42
75
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
animation-iteration-count: 1;
|
|
49
|
-
animation-direction: Normal;
|
|
50
|
-
box-shadow: inset 0 0 0 1px $checked,
|
|
51
|
-
inset 0 0 0 0 #FFFFFF,
|
|
52
|
-
inset 0 0 0 16px $checked-effect;
|
|
53
|
-
}
|
|
54
|
-
&:focus + span {
|
|
55
|
-
border: 2px solid $component-selected-color;
|
|
76
|
+
|
|
77
|
+
> .hint {
|
|
78
|
+
@extend %hint-text;
|
|
79
|
+
margin-top: 0;
|
|
80
|
+
padding-left: 22px;
|
|
56
81
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
82
|
+
|
|
83
|
+
&.-skeletonized {
|
|
84
|
+
> .inputcontent {
|
|
85
|
+
.input {
|
|
86
|
+
+ span {
|
|
87
|
+
@extend %skeleton-component;
|
|
88
|
+
border-color: transparent;
|
|
89
|
+
}
|
|
90
|
+
&:checked + span,
|
|
91
|
+
&:disabled:checked + span:before {
|
|
92
|
+
@extend %skeleton-component;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
> .inputcontent > .description,
|
|
97
|
+
> .hint > span {
|
|
98
|
+
@extend %skeleton-component;
|
|
99
|
+
}
|
|
65
100
|
}
|
|
66
101
|
}
|
|
67
|
-
|
|
68
|
-
.checkbox-hint {
|
|
69
|
-
@extend %hint-text;
|
|
70
|
-
margin-top: 0;
|
|
71
|
-
padding-left: 22px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.checkbox-description {
|
|
75
|
-
@extend %input-label;
|
|
76
|
-
margin-left: 2px;
|
|
77
|
-
cursor: pointer ;
|
|
78
|
-
}
|
|
79
|
-
|
|
@@ -99,3 +99,39 @@
|
|
|
99
99
|
font-size: 17px;
|
|
100
100
|
border: none;
|
|
101
101
|
}
|
|
102
|
+
|
|
103
|
+
%skeleton-component {
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
user-select: none;
|
|
106
|
+
color: transparent !important;
|
|
107
|
+
text-shadow: none !important;
|
|
108
|
+
box-shadow: none;
|
|
109
|
+
background-image: linear-gradient(to right, #e7edf1 0%, #f8f8f8 50%, #e7edf1 100%);
|
|
110
|
+
background-size: 400% 400%;
|
|
111
|
+
background-repeat: initial;
|
|
112
|
+
animation: shimmer 1.2s ease-in-out infinite;
|
|
113
|
+
|
|
114
|
+
&.-white {
|
|
115
|
+
background-image: linear-gradient(to right, #fff 0%, #e7edf1 50%, #fff 100%);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
%skeleton-transparency {
|
|
120
|
+
content: '';
|
|
121
|
+
position: absolute;
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 100%;
|
|
124
|
+
background: rgb(255,255,255);
|
|
125
|
+
background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 30%,
|
|
126
|
+
rgba(255,255,255,0.6) 70%,rgba(255,255,255,0.8) 100%);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Efeito utilizado para o componente Skeleton */
|
|
130
|
+
@keyframes shimmer {
|
|
131
|
+
0% {
|
|
132
|
+
background-position: 0% 0%;
|
|
133
|
+
}
|
|
134
|
+
100% {
|
|
135
|
+
background-position: -135% 0%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "colors.scss";
|
|
2
|
+
@import "commons.scss";
|
|
2
3
|
@import "effects.scss";
|
|
3
4
|
.drawer-component {
|
|
4
5
|
position: fixed;
|
|
@@ -58,18 +59,17 @@
|
|
|
58
59
|
display: flex;
|
|
59
60
|
flex-direction: column;
|
|
60
61
|
> .drawerheader {
|
|
61
|
-
align-items: center;
|
|
62
62
|
background: #ffffff;
|
|
63
63
|
color: #252424;
|
|
64
64
|
font-size: 20px;
|
|
65
65
|
font-weight: 600;
|
|
66
66
|
margin: 10px 0;
|
|
67
|
-
display:
|
|
67
|
+
display: flex;
|
|
68
68
|
width: 100%;
|
|
69
69
|
.left {
|
|
70
|
+
flex: 1;
|
|
70
71
|
margin-right: 10px;
|
|
71
72
|
margin-right: 10px;
|
|
72
|
-
float: left;
|
|
73
73
|
> .title-subtitle {
|
|
74
74
|
display: flex;
|
|
75
75
|
width: 100%;
|
|
@@ -86,8 +86,9 @@
|
|
|
86
86
|
}
|
|
87
87
|
> .drawer-subtitle {
|
|
88
88
|
font-weight: 500;
|
|
89
|
-
display:
|
|
90
|
-
width: 100%;
|
|
89
|
+
display: initial;
|
|
90
|
+
max-width: 100%;
|
|
91
|
+
overflow-wrap: break-word;
|
|
91
92
|
font-size: 14px;
|
|
92
93
|
}
|
|
93
94
|
}
|
|
@@ -96,7 +97,6 @@
|
|
|
96
97
|
&.modal-title {
|
|
97
98
|
color: #4e4c4c;
|
|
98
99
|
font-weight: 600;
|
|
99
|
-
float: right;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
.closebutton {
|
|
@@ -116,6 +116,22 @@
|
|
|
116
116
|
width: 100%;
|
|
117
117
|
padding-bottom: 80px
|
|
118
118
|
}
|
|
119
|
+
|
|
120
|
+
&.-skeletonized {
|
|
121
|
+
> .drawerheader {
|
|
122
|
+
.title-subtitle > .drawer-title,
|
|
123
|
+
.title-subtitle > .icon-header {
|
|
124
|
+
@extend %skeleton-component;
|
|
125
|
+
|
|
126
|
+
> svg {
|
|
127
|
+
fill: transparent;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
.drawer-subtitle {
|
|
131
|
+
@extend %skeleton-component;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
119
135
|
}
|
|
120
136
|
}
|
|
121
137
|
|
|
@@ -731,3 +731,23 @@
|
|
|
731
731
|
left: 100%;
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
|
+
|
|
735
|
+
@keyframes slideRightToLeftWithFade {
|
|
736
|
+
from {
|
|
737
|
+
opacity: 0;
|
|
738
|
+
transform: translateX(2%);
|
|
739
|
+
} to {
|
|
740
|
+
opacity: 1;
|
|
741
|
+
transform: translateX(0);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
@keyframes slideLeftToRightWithFade {
|
|
746
|
+
from {
|
|
747
|
+
opacity: 0;
|
|
748
|
+
transform: translateX(-2%);
|
|
749
|
+
} to {
|
|
750
|
+
opacity: 1;
|
|
751
|
+
transform: translateX(0);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
@@ -111,6 +111,27 @@
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
.input-base-component.-skeletonized {
|
|
115
|
+
> .labelcontainer > .label,
|
|
116
|
+
> .hint {
|
|
117
|
+
@extend %skeleton-component;
|
|
118
|
+
color: transparent;
|
|
119
|
+
}
|
|
120
|
+
> .inputwrapper {
|
|
121
|
+
border: 1px solid transparent;
|
|
122
|
+
> .sidebuttons {
|
|
123
|
+
display: none;
|
|
124
|
+
}
|
|
125
|
+
> .inputcontent > .textinput {
|
|
126
|
+
@extend %skeleton-component;
|
|
127
|
+
content-visibility: hidden;
|
|
128
|
+
&.-readonly {
|
|
129
|
+
@extend %skeleton-component;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
114
135
|
.textarea-container {
|
|
115
136
|
height: auto;
|
|
116
137
|
}
|
|
@@ -96,6 +96,15 @@ $shadow-text-button: 0 1px 0 rgba(0,0,0,.1);
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
.label-component.-skeletonized {
|
|
100
|
+
@extend %skeleton-component;
|
|
101
|
+
border-color: transparent;
|
|
102
|
+
|
|
103
|
+
> svg {
|
|
104
|
+
fill: transparent;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
99
108
|
.lbl-container {
|
|
100
109
|
width: auto;
|
|
101
110
|
.label-component {
|
|
@@ -105,4 +114,3 @@ $shadow-text-button: 0 1px 0 rgba(0,0,0,.1);
|
|
|
105
114
|
margin-right: 2px;
|
|
106
115
|
}
|
|
107
116
|
}
|
|
108
|
-
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
height: 100%;
|
|
7
7
|
margin-bottom: 20px;
|
|
8
8
|
border: solid 1px $component-border-color;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
9
11
|
&.panel-shadow {
|
|
10
12
|
box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
|
|
11
13
|
}
|
|
@@ -47,7 +49,8 @@
|
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
> .panel-content {
|
|
50
|
-
|
|
52
|
+
flex: 1;
|
|
53
|
+
overflow: auto;
|
|
51
54
|
padding: 15px;
|
|
52
55
|
}
|
|
53
56
|
}
|
|
@@ -89,3 +89,22 @@ $radio-button-ripple-size: 15px;
|
|
|
89
89
|
-webkit-transform: scale(1);
|
|
90
90
|
transform: scale(1);
|
|
91
91
|
}
|
|
92
|
+
|
|
93
|
+
.radio-button.-skeletonized {
|
|
94
|
+
> .radio-component:not(:checked) +.description,
|
|
95
|
+
> .radio-component:checked +.description {
|
|
96
|
+
cursor: initial;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
> .radio-component:checked + .description:before,
|
|
100
|
+
> .radio-component:checked +.description:after,
|
|
101
|
+
> .radio-component:not(:checked) + .description:before,
|
|
102
|
+
> .radio-component:not(:checked) +.description:after {
|
|
103
|
+
@extend %skeleton-component;
|
|
104
|
+
border-color: transparent;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
> .description > span {
|
|
108
|
+
@extend %skeleton-component;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.dropdown-component > .select-dropdown {
|
|
52
52
|
animation: 0.5s ease-in 0s 1 slideDown;
|
|
53
53
|
background-color: #FFF;
|
|
54
54
|
border: $component-border-color;
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
height: auto;
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
overflow-x: hidden;
|
|
61
|
-
position: absolute;
|
|
62
61
|
margin-top: 2px;
|
|
63
|
-
z-index: 99999999999;
|
|
64
62
|
> .filtercontainer {
|
|
65
63
|
display: grid;
|
|
66
64
|
grid-template-columns: 1fr 20px;
|
|
65
|
+
align-items: center;
|
|
67
66
|
border: 1px solid $component-border-color;
|
|
68
67
|
margin: 4px;
|
|
69
68
|
}
|
|
70
69
|
> .filtercontainer > .filterinput {
|
|
71
70
|
border: 0;
|
|
71
|
+
width: 100%;
|
|
72
72
|
font-size: 13px;
|
|
73
73
|
text-indent: 4px;
|
|
74
74
|
padding: 10px 5px;
|
|
@@ -12,6 +12,10 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
12
12
|
overflow: hidden;
|
|
13
13
|
background-color: transparent;
|
|
14
14
|
border: 1px solid #eee;
|
|
15
|
+
&.-blocked {
|
|
16
|
+
opacity: 0.4;
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
15
19
|
> .expandedmenu,
|
|
16
20
|
> .collapsedmenu {
|
|
17
21
|
height: auto;
|
|
@@ -26,10 +30,16 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
26
30
|
align-items: center;
|
|
27
31
|
justify-content: center;
|
|
28
32
|
padding-left: 0px;
|
|
33
|
+
> .searchmenubutton {
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
}
|
|
29
40
|
}
|
|
30
41
|
&.-customsidenavitem:hover {
|
|
31
42
|
background-color: white;
|
|
32
|
-
cursor: text;
|
|
33
43
|
}
|
|
34
44
|
&.-disabled {
|
|
35
45
|
@extend %component-disabled;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@import "commons.scss";
|
|
2
|
+
@import "colors.scss";
|
|
3
|
+
@import "effects.scss";
|
|
4
|
+
|
|
5
|
+
.skeletoncontainer-component {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 10px;
|
|
11
|
+
|
|
12
|
+
&.-row {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.skeleton-component {
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
flex-grow: 1;
|
|
21
|
+
margin-bottom: 10px;
|
|
22
|
+
@extend %skeleton-component;
|
|
23
|
+
|
|
24
|
+
&.-round {
|
|
25
|
+
flex-grow: 0;
|
|
26
|
+
margin: 0;
|
|
27
|
+
padding: 0;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
|
|
31
|
+
&.-mini {
|
|
32
|
+
width: 36px;
|
|
33
|
+
height: 36px;
|
|
34
|
+
}
|
|
35
|
+
&.-small {
|
|
36
|
+
width: 48px;
|
|
37
|
+
height: 48px;
|
|
38
|
+
}
|
|
39
|
+
&.-medium {
|
|
40
|
+
width: 64px;
|
|
41
|
+
height: 64px;
|
|
42
|
+
}
|
|
43
|
+
&.-large {
|
|
44
|
+
width: 96px;
|
|
45
|
+
height: 96px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|