@likable-hair/svelte 3.1.21 → 3.1.22
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.
|
@@ -70,6 +70,7 @@ function handleIconClick(index, element) {
|
|
|
70
70
|
class="element"
|
|
71
71
|
class:bicolor
|
|
72
72
|
class:focused={focused == element.name}
|
|
73
|
+
class:disabled={element.disabled}
|
|
73
74
|
aria-selected={selected == element.name}
|
|
74
75
|
on:mouseover={() => handleElementMouseover(element)}
|
|
75
76
|
on:focus={() => handleElementMouseover(element)}
|
|
@@ -246,6 +247,11 @@ function handleIconClick(index, element) {
|
|
|
246
247
|
)
|
|
247
248
|
}
|
|
248
249
|
|
|
250
|
+
.element.disabled {
|
|
251
|
+
pointer-events: none;
|
|
252
|
+
opacity: 0.5;
|
|
253
|
+
}
|
|
254
|
+
|
|
249
255
|
|
|
250
256
|
.centered {
|
|
251
257
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SelectModifier } from "./select";
|
|
2
2
|
export type WhereFilterValue = string | number | Date | boolean;
|
|
3
3
|
type GroupedWhere = {
|
|
4
4
|
method: 'where';
|
|
@@ -40,7 +40,7 @@ type InBuilderWhere = {
|
|
|
40
40
|
kind: 'inBuilder';
|
|
41
41
|
logicalOperator?: 'and' | 'or' | 'andNot' | 'orNot';
|
|
42
42
|
key: string;
|
|
43
|
-
|
|
43
|
+
children: (ObjectWhere | SimpleWhere | GroupedWhere | InWhere | ColumnWhere | JsonSupersetWhere | InBuilderWhere | NullWhere | SelectModifier)[];
|
|
44
44
|
};
|
|
45
45
|
type JsonSupersetWhere = {
|
|
46
46
|
method: 'where';
|