linear-react-components-ui 0.4.76-beta.12 → 0.4.76-beta.17
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/.tool-versions +1 -0
- package/.vscode/settings.json +1 -2
- package/README.md +33 -0
- package/lib/assets/styles/button.scss +17 -10
- package/lib/assets/styles/checkbox.scss +92 -70
- package/lib/assets/styles/commons.scss +26 -0
- package/lib/assets/styles/drawers.scss +22 -6
- package/lib/assets/styles/dropdown.scss +28 -2
- package/lib/assets/styles/effects.scss +12 -0
- package/lib/assets/styles/floatMenu.scss +0 -1
- 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/multiSelect.scss +105 -0
- package/lib/assets/styles/panel.scss +0 -1
- package/lib/assets/styles/periodpicker.scss +65 -0
- package/lib/assets/styles/progress.scss +8 -1
- package/lib/assets/styles/radio.scss +19 -0
- package/lib/assets/styles/select.scss +1 -0
- package/lib/assets/styles/skeleton.scss +48 -0
- package/lib/assets/styles/table.scss +14 -5
- package/lib/assets/styles/tabs.scss +79 -43
- package/lib/assets/styles/treeview.scss +36 -0
- package/lib/avatar/avatar.spec.js +17 -6
- package/lib/avatar/index.js +1 -1
- package/lib/buttons/DefaultButton.js +13 -4
- package/lib/buttons/split_button/index.js +8 -4
- package/lib/checkbox/Label.js +37 -0
- package/lib/checkbox/checkbox.spec.js +16 -16
- package/lib/checkbox/index.js +33 -12
- package/lib/dialog/base/index.js +15 -6
- package/lib/dialog/form/index.js +24 -4
- package/lib/drawer/Drawer.js +9 -5
- package/lib/drawer/Header.js +15 -5
- package/lib/drawer/index.js +4 -1
- package/lib/form/Field.js +2 -0
- package/lib/form/FieldNumber.js +10 -2
- package/lib/form/FieldPeriod.js +100 -0
- package/lib/form/helpers.js +20 -1
- package/lib/form/index.js +207 -224
- package/lib/form/withFieldHOC.js +5 -1
- package/lib/form/withFormSecurity.js +106 -0
- package/lib/icons/helper.js +16 -0
- package/lib/inputs/base/InputTextBase.js +10 -5
- package/lib/inputs/base/helpers.js +2 -1
- 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/imaskHOC.js +2 -1
- package/lib/inputs/multiSelect/ActionButtons.js +68 -0
- package/lib/inputs/multiSelect/Dropdown.js +200 -0
- package/lib/inputs/multiSelect/helper.js +18 -0
- package/lib/inputs/multiSelect/index.js +343 -0
- package/lib/inputs/number/BaseNumber.js +1 -1
- package/lib/inputs/number/index.js +7 -5
- package/lib/inputs/period/Dialog.js +38 -0
- package/lib/inputs/period/Dropdown.js +90 -0
- package/lib/inputs/period/PeriodList.js +79 -0
- package/lib/inputs/period/helper.js +118 -0
- package/lib/inputs/period/index.js +490 -0
- package/lib/inputs/select/Dropdown.js +4 -4
- package/lib/inputs/select/index.js +26 -3
- package/lib/inputs/select/multiple/index.js +9 -7
- package/lib/inputs/select/simple/index.js +30 -18
- package/lib/internals/withTooltip.js +85 -81
- package/lib/labels/DefaultLabel.js +7 -4
- package/lib/list/Item.js +3 -3
- package/lib/list/index.js +20 -10
- package/lib/list/list.spec.js +129 -85
- package/lib/menus/float/MenuItem.js +25 -8
- package/lib/menus/sidenav/NavMenuItem.js +2 -2
- package/lib/menus/sidenav/index.js +7 -3
- package/lib/menus/sidenav/popup_menu_search/index.js +1 -1
- package/lib/progress/Bar.js +40 -9
- package/lib/progress/index.js +12 -4
- package/lib/radio/index.js +9 -6
- package/lib/skeleton/SkeletonContainer.js +42 -0
- package/lib/skeleton/index.js +84 -0
- package/lib/spinner/index.js +6 -1
- package/lib/split/Split.js +5 -11
- package/lib/table/HeaderColumn.js +24 -3
- package/lib/table/Row.js +7 -3
- package/lib/table/RowColumn.js +22 -3
- package/lib/table/index.js +11 -4
- package/lib/tabs/DropdownItems.js +84 -0
- package/lib/tabs/Menu.js +18 -5
- package/lib/tabs/MenuItems.js +15 -9
- package/lib/tabs/Panel.js +1 -3
- package/lib/tabs/index.js +156 -22
- 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 +24 -9
- package/lib/tooltip/index.js +20 -7
- package/lib/treeview/Node.js +360 -49
- package/lib/treeview/index.js +461 -36
- package/package.json +9 -8
package/.husky/pre-commit
CHANGED
package/.tool-versions
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodejs 10.16.0
|
package/.vscode/settings.json
CHANGED
package/README.md
CHANGED
|
@@ -36,6 +36,39 @@ Compilar para publicação:
|
|
|
36
36
|
|
|
37
37
|
`npm run demo:prod`
|
|
38
38
|
|
|
39
|
+
### Publicação da lib no NPM
|
|
40
|
+
A princípio precisaremos fazer o login no npm para isso rode o comando abaixo:
|
|
41
|
+
|
|
42
|
+
`npm login`
|
|
43
|
+
|
|
44
|
+
Para gerar uma build nova e fazer a publicação no npm rode os comandos a seguir:
|
|
45
|
+
|
|
46
|
+
`npm version <versão>`
|
|
47
|
+
|
|
48
|
+
`npm run publish:npm`
|
|
49
|
+
|
|
50
|
+
Caso queira gerar uma build com versão beta e fazer a publicação no npm rode os comandos da seguinte forma:
|
|
51
|
+
|
|
52
|
+
`npm version <versão>`
|
|
53
|
+
|
|
54
|
+
`npm run publish:npm --tag beta`
|
|
55
|
+
|
|
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:
|
|
68
|
+
|
|
69
|
+
`npm version 0.4.75`
|
|
70
|
+
|
|
71
|
+
|
|
39
72
|
### Publicar versão de demonstração no Heroku
|
|
40
73
|
|
|
41
74
|
|
|
@@ -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,15 @@ $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
|
+
|
|
335
|
+
> svg {
|
|
336
|
+
display: none;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
@@ -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,29 @@
|
|
|
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
|
+
/* Efeito utilizado para o componente Skeleton */
|
|
120
|
+
@keyframes shimmer {
|
|
121
|
+
0% {
|
|
122
|
+
background-position: 0% 0%;
|
|
123
|
+
}
|
|
124
|
+
100% {
|
|
125
|
+
background-position: -135% 0%;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -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
|
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
|
|
77
77
|
animation: revealelement 0.3s forwards ease-in-out;
|
|
78
78
|
margin-right: 7px;
|
|
79
|
-
> .
|
|
79
|
+
> .floatmenuitem {
|
|
80
80
|
text-decoration: none;
|
|
81
81
|
color: #666666;
|
|
82
82
|
text-align: center;
|
|
83
83
|
}
|
|
84
|
-
> .
|
|
84
|
+
> .floatmenuitem .-items {
|
|
85
85
|
border: solid 1px $default-hover-color;
|
|
86
86
|
margin: 0 5px 5px 0;
|
|
87
87
|
font-size: 12px;
|
|
@@ -106,6 +106,32 @@
|
|
|
106
106
|
transition: all 0.2s ease-in-out;
|
|
107
107
|
&:hover {
|
|
108
108
|
background: $default-hover-color;
|
|
109
|
+
|
|
110
|
+
> .floatmenudropdown {
|
|
111
|
+
visibility: visible;
|
|
112
|
+
pointer-events: initial;
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
> .floatmenudropdown {
|
|
117
|
+
position: absolute;
|
|
118
|
+
padding: 0;
|
|
119
|
+
top: 5px;
|
|
120
|
+
right: 5px;
|
|
121
|
+
visibility: hidden;
|
|
122
|
+
opacity: 0;
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
}
|
|
125
|
+
> .floatmenulink {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
flex: 1;
|
|
131
|
+
width: 100%;
|
|
132
|
+
text-decoration: none;
|
|
133
|
+
color: #666666;
|
|
134
|
+
text-align: center;
|
|
109
135
|
}
|
|
110
136
|
&.iconcontainer {
|
|
111
137
|
padding-bottom: 10px;
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
@keyframes slideInFromTop {
|
|
3
3
|
0% {
|
|
4
4
|
transform: translateY(-60%);
|
|
5
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
|
5
6
|
}
|
|
6
7
|
30% {
|
|
7
8
|
transform: translateY(0);
|
|
9
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
|
|
@@ -719,3 +721,13 @@
|
|
|
719
721
|
-webkit-transform: scale(1.1);
|
|
720
722
|
transform: scale(1.1);
|
|
721
723
|
}
|
|
724
|
+
|
|
725
|
+
// SlideWithPosition
|
|
726
|
+
@keyframes slideWithPositionFromLeft {
|
|
727
|
+
from {
|
|
728
|
+
left: -100%;
|
|
729
|
+
}
|
|
730
|
+
to {
|
|
731
|
+
left: 100%;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
@@ -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
|
-
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@import "commons.scss";
|
|
2
|
+
@import "effects.scss";
|
|
3
|
+
.multiSelect-component {
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: block;
|
|
6
|
+
.selectwrapper {
|
|
7
|
+
height: auto;
|
|
8
|
+
|
|
9
|
+
> .multiselect {
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
position: relative;
|
|
12
|
+
> .textinput {
|
|
13
|
+
order: 1;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
}
|
|
16
|
+
> .selecteditem {
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 50%;
|
|
20
|
+
left: 10px;
|
|
21
|
+
transform: translateY(-50%);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
> .actionbutton {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
margin: 0 3px;
|
|
30
|
+
padding: 0 3px;
|
|
31
|
+
|
|
32
|
+
> svg {
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.multiSelect-component > .dropdown {
|
|
40
|
+
animation: 0.5s ease-in 0s 1 slideDown;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
border: $component-border-color;
|
|
43
|
+
@extend %component-menu-dropdown;
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-rows: auto;
|
|
46
|
+
height: auto;
|
|
47
|
+
overflow-y: auto;
|
|
48
|
+
overflow-x: hidden;
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 9999;
|
|
51
|
+
> .filtercontainer {
|
|
52
|
+
position: relative;
|
|
53
|
+
display: grid;
|
|
54
|
+
grid-template-columns: 1fr 20px;
|
|
55
|
+
border: 1px solid $component-border-color;
|
|
56
|
+
margin: 4px;
|
|
57
|
+
> .filterinput {
|
|
58
|
+
border: 0;
|
|
59
|
+
font-size: 13px;
|
|
60
|
+
text-indent: 4px;
|
|
61
|
+
padding: 10px 5px;
|
|
62
|
+
}
|
|
63
|
+
> .filtericon {
|
|
64
|
+
position: absolute;
|
|
65
|
+
right: 5px;
|
|
66
|
+
top: 10px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
> .listcontainer > .item {
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 6px 10px;
|
|
72
|
+
display: flex;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
justify-content: stretch;
|
|
75
|
+
border-bottom: solid 1px #e1e1e1;
|
|
76
|
+
&:last-child {
|
|
77
|
+
border-bottom: none;
|
|
78
|
+
}
|
|
79
|
+
&:hover {
|
|
80
|
+
background-color: $default-hover-color;
|
|
81
|
+
}
|
|
82
|
+
&.-selected {
|
|
83
|
+
background-color: $default-hover-color;
|
|
84
|
+
}
|
|
85
|
+
.menubutton {
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
border: 0;
|
|
88
|
+
padding: 0;
|
|
89
|
+
margin: 0;
|
|
90
|
+
display: flex;
|
|
91
|
+
justify-content: space-between;
|
|
92
|
+
align-items: center;
|
|
93
|
+
width: 100%;
|
|
94
|
+
> .checkboxicon {
|
|
95
|
+
margin-right: 5px;
|
|
96
|
+
}
|
|
97
|
+
> .label {
|
|
98
|
+
flex-grow: 1;
|
|
99
|
+
}
|
|
100
|
+
> .menuicon {
|
|
101
|
+
margin-right: 5px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|