@sinequa/galactik 2.15.0 → 2.16.0
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.
|
@@ -10478,7 +10478,7 @@ var PopoverResizeHandleComponent = class PopoverResizeHandleComponent {
|
|
|
10478
10478
|
valueNow = signal(null, ...ngDevMode ? [{ debugName: "valueNow" }] : /* istanbul ignore next */ []);
|
|
10479
10479
|
valueMax = signal(null, ...ngDevMode ? [{ debugName: "valueMax" }] : /* istanbul ignore next */ []);
|
|
10480
10480
|
hidden = signal(false, ...ngDevMode ? [{ debugName: "hidden" }] : /* istanbul ignore next */ []);
|
|
10481
|
-
classes = computed(() => cn("flex h-(--spacing-xs) w-full shrink-0 cursor-row-resize touch-none items-center justify-center rounded-(--radius-xs) outline-none hover:[&>span]:opacity-100 focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-(--stroke-focus) focus-visible:[&>span]:opacity-100", this.hidden() && "
|
|
10481
|
+
classes = computed(() => cn("flex h-(--spacing-xs) w-full shrink-0 cursor-row-resize touch-none items-center justify-center rounded-(--radius-xs) outline-none hover:[&>span]:opacity-100 focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-(--stroke-focus) focus-visible:[&>span]:opacity-100", this.hidden() && "invisible", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
10482
10482
|
held = null;
|
|
10483
10483
|
heldTimer;
|
|
10484
10484
|
drag = null;
|
|
@@ -10515,7 +10515,7 @@ var PopoverResizeHandleComponent = class PopoverResizeHandleComponent {
|
|
|
10515
10515
|
const rect = popover.getBoundingClientRect();
|
|
10516
10516
|
this.valueNow.set(Math.round(rect.height));
|
|
10517
10517
|
this.valueMax.set(Math.round(this.largest(rect)));
|
|
10518
|
-
if (this.edge() === "bottom" && !this.drag) this.hidden.set(window.innerHeight - BOTTOM_MARGIN - rect.bottom < MIN_ROOM_BELOW);
|
|
10518
|
+
if (this.edge() === "bottom" && !this.drag) this.hidden.set(window.innerHeight - BOTTOM_MARGIN - rect.bottom < MIN_ROOM_BELOW && rect.height <= this.min());
|
|
10519
10519
|
}
|
|
10520
10520
|
largest(rect) {
|
|
10521
10521
|
return this.edge() === "top" ? rect.bottom - TOP_MARGIN : window.innerHeight - BOTTOM_MARGIN - rect.top;
|
|
@@ -15706,9 +15706,33 @@ const buttonVariants = /*@__PURE__*/ cva([
|
|
|
15706
15706
|
iconOnly: {
|
|
15707
15707
|
true: "p-0",
|
|
15708
15708
|
false: ""
|
|
15709
|
+
},
|
|
15710
|
+
wrap: {
|
|
15711
|
+
true: "h-auto max-w-full rounded-(--radius-lg) py-(--spacing-3xs) text-left whitespace-normal [&_.btn-icon-left]:shrink-0 [&_.btn-icon-right]:shrink-0 [&_.btn-icon-solo]:shrink-0",
|
|
15712
|
+
false: ""
|
|
15709
15713
|
}
|
|
15710
15714
|
},
|
|
15711
15715
|
compoundVariants: [
|
|
15716
|
+
{
|
|
15717
|
+
wrap: true,
|
|
15718
|
+
size: ["xs", "xsmall"],
|
|
15719
|
+
class: "min-h-4"
|
|
15720
|
+
},
|
|
15721
|
+
{
|
|
15722
|
+
wrap: true,
|
|
15723
|
+
size: ["sm", "small"],
|
|
15724
|
+
class: "min-h-6"
|
|
15725
|
+
},
|
|
15726
|
+
{
|
|
15727
|
+
wrap: true,
|
|
15728
|
+
size: ["md", "medium"],
|
|
15729
|
+
class: "min-h-9"
|
|
15730
|
+
},
|
|
15731
|
+
{
|
|
15732
|
+
wrap: true,
|
|
15733
|
+
size: ["lg", "large"],
|
|
15734
|
+
class: "min-h-11"
|
|
15735
|
+
},
|
|
15712
15736
|
{
|
|
15713
15737
|
iconOnly: true,
|
|
15714
15738
|
size: "xs",
|
|
@@ -16120,7 +16144,8 @@ const buttonVariants = /*@__PURE__*/ cva([
|
|
|
16120
16144
|
variant: "primary",
|
|
16121
16145
|
scheme: "default",
|
|
16122
16146
|
size: "lg",
|
|
16123
|
-
iconOnly: false
|
|
16147
|
+
iconOnly: false,
|
|
16148
|
+
wrap: false
|
|
16124
16149
|
}
|
|
16125
16150
|
});
|
|
16126
16151
|
var ButtonComponent = class ButtonComponent {
|
|
@@ -16129,6 +16154,10 @@ var ButtonComponent = class ButtonComponent {
|
|
|
16129
16154
|
scheme = input("default", ...ngDevMode ? [{ debugName: "scheme" }] : /* istanbul ignore next */ []);
|
|
16130
16155
|
iconOnly = input(false, ...ngDevMode ? [{ debugName: "iconOnly" }] : /* istanbul ignore next */ []);
|
|
16131
16156
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
16157
|
+
wrap = input(false, {
|
|
16158
|
+
...ngDevMode ? { debugName: "wrap" } : /* istanbul ignore next */ {},
|
|
16159
|
+
transform: booleanAttribute
|
|
16160
|
+
});
|
|
16132
16161
|
variants = computed(() => {
|
|
16133
16162
|
if (this.variant() === "none") return this.class();
|
|
16134
16163
|
return cn(buttonVariants({
|
|
@@ -16136,6 +16165,7 @@ var ButtonComponent = class ButtonComponent {
|
|
|
16136
16165
|
scheme: this.scheme(),
|
|
16137
16166
|
iconOnly: this.iconOnly(),
|
|
16138
16167
|
size: this.size(),
|
|
16168
|
+
wrap: this.wrap(),
|
|
16139
16169
|
class: this.class()
|
|
16140
16170
|
}));
|
|
16141
16171
|
}, ...ngDevMode ? [{ debugName: "variants" }] : /* istanbul ignore next */ []);
|
|
@@ -16188,6 +16218,13 @@ var ButtonComponent = class ButtonComponent {
|
|
|
16188
16218
|
isSignal: true,
|
|
16189
16219
|
isRequired: false,
|
|
16190
16220
|
transformFunction: null
|
|
16221
|
+
},
|
|
16222
|
+
wrap: {
|
|
16223
|
+
classPropertyName: "wrap",
|
|
16224
|
+
publicName: "wrap",
|
|
16225
|
+
isSignal: true,
|
|
16226
|
+
isRequired: false,
|
|
16227
|
+
transformFunction: null
|
|
16191
16228
|
}
|
|
16192
16229
|
},
|
|
16193
16230
|
host: { properties: { "class": "variants()" } },
|
|
@@ -16247,6 +16284,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16247
16284
|
alias: "size",
|
|
16248
16285
|
required: false
|
|
16249
16286
|
}]
|
|
16287
|
+
}],
|
|
16288
|
+
wrap: [{
|
|
16289
|
+
type: i0.Input,
|
|
16290
|
+
args: [{
|
|
16291
|
+
isSignal: true,
|
|
16292
|
+
alias: "wrap",
|
|
16293
|
+
required: false
|
|
16294
|
+
}]
|
|
16250
16295
|
}]
|
|
16251
16296
|
}
|
|
16252
16297
|
});
|
|
@@ -23115,7 +23160,8 @@ var SearchInputComponent = class SearchInputComponent extends SearchInputBase {
|
|
|
23115
23160
|
"variant",
|
|
23116
23161
|
"scheme",
|
|
23117
23162
|
"iconOnly",
|
|
23118
|
-
"size"
|
|
23163
|
+
"size",
|
|
23164
|
+
"wrap"
|
|
23119
23165
|
]
|
|
23120
23166
|
},
|
|
23121
23167
|
{
|
|
@@ -23253,7 +23299,8 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
23253
23299
|
"variant",
|
|
23254
23300
|
"scheme",
|
|
23255
23301
|
"iconOnly",
|
|
23256
|
-
"size"
|
|
23302
|
+
"size",
|
|
23303
|
+
"wrap"
|
|
23257
23304
|
]
|
|
23258
23305
|
},
|
|
23259
23306
|
{
|
|
@@ -23876,7 +23923,8 @@ var SearchBarComponent = class SearchBarComponent extends SearchBarBase {
|
|
|
23876
23923
|
"variant",
|
|
23877
23924
|
"scheme",
|
|
23878
23925
|
"iconOnly",
|
|
23879
|
-
"size"
|
|
23926
|
+
"size",
|
|
23927
|
+
"wrap"
|
|
23880
23928
|
]
|
|
23881
23929
|
},
|
|
23882
23930
|
{
|
|
@@ -23988,7 +24036,8 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
|
|
|
23988
24036
|
"variant",
|
|
23989
24037
|
"scheme",
|
|
23990
24038
|
"iconOnly",
|
|
23991
|
-
"size"
|
|
24039
|
+
"size",
|
|
24040
|
+
"wrap"
|
|
23992
24041
|
]
|
|
23993
24042
|
},
|
|
23994
24043
|
{
|
|
@@ -27690,7 +27739,7 @@ var SwipeActionComponent = class SwipeActionComponent {
|
|
|
27690
27739
|
swipedEnd = output();
|
|
27691
27740
|
enabled = computed(() => !this.disabled() && (this.startEnabled() || this.endEnabled()), ...ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []);
|
|
27692
27741
|
contentClasses = computed(() => cn("relative motion-reduce:transition-none", this.contentClass()), ...ngDevMode ? [{ debugName: "contentClasses" }] : /* istanbul ignore next */ []);
|
|
27693
|
-
hostClass = computed(() => cn("relative block overflow-hidden", this.class()), ...ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []);
|
|
27742
|
+
hostClass = computed(() => cn("relative block shrink-0 overflow-hidden", this.class()), ...ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []);
|
|
27694
27743
|
startClass = computed(() => cn(LAYER_CLASS, "start-0 justify-start ps-4", TONE_CLASS[this.startTone()]), ...ngDevMode ? [{ debugName: "startClass" }] : /* istanbul ignore next */ []);
|
|
27695
27744
|
endClass = computed(() => cn(LAYER_CLASS, "end-0 justify-end pe-4", TONE_CLASS[this.endTone()]), ...ngDevMode ? [{ debugName: "endClass" }] : /* istanbul ignore next */ []);
|
|
27696
27745
|
offset = signal(0, ...ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []);
|