@recursyve/nice-data-filter-kit 13.0.1 → 13.0.2
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/esm2020/lib/components/base-list/base-list.component.mjs +3 -3
- package/esm2020/lib/components/multi-state-list/multi-state-list.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/filter-selection/filter-selection.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/rule/components/date/date-filter.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/rule/components/number/number-filter.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/rule/components/radio/radio-filter.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/rule/components/select/select-filter.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/rule/components/text/text-filter.component.mjs +3 -3
- package/esm2020/lib/components/query-builder/rule/rule.component.mjs +3 -3
- package/fesm2015/recursyve-nice-data-filter-kit.mjs +18 -18
- package/fesm2015/recursyve-nice-data-filter-kit.mjs.map +1 -1
- package/fesm2020/recursyve-nice-data-filter-kit.mjs +18 -18
- package/fesm2020/recursyve-nice-data-filter-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/query-builder/filter-selection/filter-selection.theme.scss +42 -0
- package/src/lib/components/query-builder/query-builder.theme.scss +2 -0
- package/src/lib/components/query-builder/rule/rule.theme.scss +82 -0
package/package.json
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@mixin filter-selection-theme() {
|
|
2
|
+
nice-filter-selection {
|
|
3
|
+
.filter-selection-container {
|
|
4
|
+
min-width: 150px;
|
|
5
|
+
min-height: 150px;
|
|
6
|
+
max-width: 600px;
|
|
7
|
+
padding: 8px;
|
|
8
|
+
|
|
9
|
+
.mat-list {
|
|
10
|
+
&.double-groups {
|
|
11
|
+
max-width: 50%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:not(.double-groups) {
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mat-list-item {
|
|
21
|
+
height: auto !important;
|
|
22
|
+
min-height: 32px !important;
|
|
23
|
+
padding: 16px;
|
|
24
|
+
|
|
25
|
+
strong {
|
|
26
|
+
font-weight: 700 !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.filter {
|
|
30
|
+
padding: 8px 24px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
user-select: none;
|
|
33
|
+
|
|
34
|
+
font-size: 14px !important;
|
|
35
|
+
|
|
36
|
+
@screen md {
|
|
37
|
+
padding: 8px 48px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -6,6 +6,88 @@
|
|
|
6
6
|
$background: map-get($theme, background);
|
|
7
7
|
$foreground: map-get($theme, foreground);
|
|
8
8
|
|
|
9
|
+
nice-rule {
|
|
10
|
+
background: transparent;
|
|
11
|
+
|
|
12
|
+
.select-filter {
|
|
13
|
+
@apply flex flex-full;
|
|
14
|
+
|
|
15
|
+
height: 36px;
|
|
16
|
+
max-width: 150px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.config-name {
|
|
20
|
+
@apply flex flex-full flex-grow-0 truncate;
|
|
21
|
+
|
|
22
|
+
max-width: 90px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.config-name-icon {
|
|
26
|
+
@apply flex flex-full;
|
|
27
|
+
|
|
28
|
+
max-width: 24px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.rule-operator {
|
|
32
|
+
@apply flex flex-full;
|
|
33
|
+
|
|
34
|
+
max-width: 100%;
|
|
35
|
+
|
|
36
|
+
@screen md {
|
|
37
|
+
max-width: 150px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.aligned-button,
|
|
42
|
+
.select-filter {
|
|
43
|
+
margin-bottom: 1.25em;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.aligned-text {
|
|
47
|
+
margin-bottom: 2em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.filter-select {
|
|
51
|
+
margin-top: -14px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.mat-form-field-infix {
|
|
55
|
+
border: none;
|
|
56
|
+
max-width: 150px;
|
|
57
|
+
|
|
58
|
+
@screen md {
|
|
59
|
+
max-width: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.rule-form-field {
|
|
64
|
+
flex: 0 0 188px;
|
|
65
|
+
max-width: 188px;
|
|
66
|
+
min-width: 188px;
|
|
67
|
+
width: 90%;
|
|
68
|
+
|
|
69
|
+
@screen md {
|
|
70
|
+
width: auto;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rule-container {
|
|
75
|
+
padding: 0;
|
|
76
|
+
max-width: 100%;
|
|
77
|
+
|
|
78
|
+
&.is-single-input {
|
|
79
|
+
@screen md {
|
|
80
|
+
max-width: 50%;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@screen md {
|
|
85
|
+
padding-left: 12px;
|
|
86
|
+
padding-right: 12px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
9
91
|
.or-button {
|
|
10
92
|
background: map-get($background, card) !important;
|
|
11
93
|
color: map-get($foreground, text) !important;
|