yukit-web 0.10.5 → 0.10.7
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/fesm2022/yukit-web-chart.mjs +807 -552
- package/fesm2022/yukit-web-chart.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
- package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
- package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert.mjs +199 -91
- package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
- package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
- package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
- package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-badge.mjs +78 -44
- package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
- package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
- package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
- package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button.mjs +137 -67
- package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
- package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-card.mjs +318 -136
- package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
- package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
- package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
- package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
- package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-command.mjs +752 -260
- package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
- package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
- package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
- package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
- package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-empty.mjs +280 -121
- package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-field.mjs +670 -301
- package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
- package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
- package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
- package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input.mjs +62 -30
- package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-item.mjs +545 -227
- package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
- package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-label.mjs +60 -28
- package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-marker.mjs +165 -74
- package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
- package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-message.mjs +277 -112
- package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
- package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
- package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
- package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-popover.mjs +358 -133
- package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-progress.mjs +126 -58
- package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
- package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
- package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
- package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-select.mjs +1059 -351
- package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-separator.mjs +61 -31
- package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
- package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
- package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
- package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-slider.mjs +139 -59
- package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
- package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
- package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-switch.mjs +326 -94
- package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-table.mjs +374 -177
- package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
- package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
- package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
- package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
- package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
- package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-typography.mjs +461 -202
- package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-utils.mjs +131 -253
- package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
- package/fesm2022/yukit-web.mjs +24457 -9655
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +9 -9
- package/types/yukit-web-chart.d.ts +184 -125
- package/types/yukit-web-helm-accordion.d.ts +49 -28
- package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
- package/types/yukit-web-helm-alert.d.ts +30 -32
- package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
- package/types/yukit-web-helm-attachment.d.ts +97 -69
- package/types/yukit-web-helm-autocomplete.d.ts +205 -79
- package/types/yukit-web-helm-avatar.d.ts +44 -39
- package/types/yukit-web-helm-badge.d.ts +18 -17
- package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
- package/types/yukit-web-helm-bubble.d.ts +54 -40
- package/types/yukit-web-helm-button-group.d.ts +29 -22
- package/types/yukit-web-helm-button.d.ts +41 -31
- package/types/yukit-web-helm-calendar.d.ts +157 -85
- package/types/yukit-web-helm-card.d.ts +38 -42
- package/types/yukit-web-helm-carousel.d.ts +105 -73
- package/types/yukit-web-helm-checkbox.d.ts +117 -58
- package/types/yukit-web-helm-collapsible.d.ts +34 -19
- package/types/yukit-web-helm-combobox.d.ts +355 -150
- package/types/yukit-web-helm-command.d.ts +140 -73
- package/types/yukit-web-helm-context-menu.d.ts +48 -27
- package/types/yukit-web-helm-date-picker.d.ts +852 -556
- package/types/yukit-web-helm-dialog.d.ts +106 -78
- package/types/yukit-web-helm-drawer.d.ts +90 -61
- package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
- package/types/yukit-web-helm-empty.d.ts +38 -42
- package/types/yukit-web-helm-field.d.ts +122 -91
- package/types/yukit-web-helm-hover-card.d.ts +39 -27
- package/types/yukit-web-helm-input-group.d.ts +63 -41
- package/types/yukit-web-helm-input-otp.d.ts +38 -35
- package/types/yukit-web-helm-input.d.ts +19 -12
- package/types/yukit-web-helm-item.d.ts +90 -82
- package/types/yukit-web-helm-kbd.d.ts +10 -15
- package/types/yukit-web-helm-label.d.ts +14 -11
- package/types/yukit-web-helm-marker.d.ts +26 -27
- package/types/yukit-web-helm-menubar.d.ts +61 -32
- package/types/yukit-web-helm-message.d.ts +34 -38
- package/types/yukit-web-helm-native-select.d.ts +102 -61
- package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
- package/types/yukit-web-helm-pagination.d.ts +344 -166
- package/types/yukit-web-helm-popover.d.ts +62 -42
- package/types/yukit-web-helm-progress.d.ts +27 -20
- package/types/yukit-web-helm-radio-group.d.ts +121 -63
- package/types/yukit-web-helm-resizable.d.ts +46 -24
- package/types/yukit-web-helm-scroll-area.d.ts +6 -10
- package/types/yukit-web-helm-select.d.ts +231 -114
- package/types/yukit-web-helm-separator.d.ts +15 -12
- package/types/yukit-web-helm-sheet.d.ts +94 -65
- package/types/yukit-web-helm-sidebar.d.ts +322 -232
- package/types/yukit-web-helm-skeleton.d.ts +6 -10
- package/types/yukit-web-helm-slider.d.ts +33 -13
- package/types/yukit-web-helm-sonner.d.ts +112 -51
- package/types/yukit-web-helm-spinner.d.ts +24 -17
- package/types/yukit-web-helm-switch.d.ts +89 -51
- package/types/yukit-web-helm-table.d.ts +38 -42
- package/types/yukit-web-helm-tabs.d.ts +116 -60
- package/types/yukit-web-helm-textarea.d.ts +19 -12
- package/types/yukit-web-helm-toggle-group.d.ts +81 -32
- package/types/yukit-web-helm-toggle.d.ts +39 -21
- package/types/yukit-web-helm-tooltip.d.ts +21 -16
- package/types/yukit-web-helm-typography.d.ts +62 -77
- package/types/yukit-web-helm-utils.d.ts +8 -11
- package/types/yukit-web.d.ts +5092 -2351
|
@@ -1,171 +1,363 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { Directive, input } from
|
|
3
|
-
import { classes } from
|
|
4
|
-
import { cva } from
|
|
5
|
-
import * as i1 from
|
|
6
|
-
import {
|
|
7
|
-
import * as i1$1 from
|
|
8
|
-
import { HlmInput } from
|
|
9
|
-
import * as i1
|
|
10
|
-
import { HlmTextarea } from
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Directive, input } from "@angular/core";
|
|
3
|
+
import { classes } from "yukit-web/helm/utils";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import * as i1$2 from "yukit-web/helm/button";
|
|
6
|
+
import { HlmButton, provideBrnButtonConfig } from "yukit-web/helm/button";
|
|
7
|
+
import * as i1$1 from "yukit-web/helm/input";
|
|
8
|
+
import { HlmInput } from "yukit-web/helm/input";
|
|
9
|
+
import * as i1 from "yukit-web/helm/textarea";
|
|
10
|
+
import { HlmTextarea } from "yukit-web/helm/textarea";
|
|
11
|
+
var HlmInputGroup = class HlmInputGroup {
|
|
12
|
+
constructor() {
|
|
13
|
+
classes(() => "border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto");
|
|
14
|
+
}
|
|
15
|
+
static {
|
|
16
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
17
|
+
minVersion: "12.0.0",
|
|
18
|
+
version: "22.2.4",
|
|
19
|
+
ngImport: i0,
|
|
20
|
+
type: HlmInputGroup,
|
|
21
|
+
deps: [],
|
|
22
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
27
|
+
minVersion: "14.0.0",
|
|
28
|
+
version: "22.2.4",
|
|
29
|
+
type: HlmInputGroup,
|
|
30
|
+
isStandalone: true,
|
|
31
|
+
selector: "[hlmInputGroup],hlm-input-group",
|
|
32
|
+
host: { attributes: {
|
|
33
|
+
"data-slot": "input-group",
|
|
34
|
+
"role": "group"
|
|
35
|
+
} },
|
|
36
|
+
ngImport: i0
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
41
|
+
minVersion: "12.0.0",
|
|
42
|
+
version: "22.2.4",
|
|
43
|
+
ngImport: i0,
|
|
44
|
+
type: HlmInputGroup,
|
|
45
|
+
decorators: [{
|
|
46
|
+
type: Directive,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: "[hlmInputGroup],hlm-input-group",
|
|
49
|
+
host: {
|
|
50
|
+
"data-slot": "input-group",
|
|
51
|
+
role: "group"
|
|
52
|
+
}
|
|
53
|
+
}]
|
|
54
|
+
}],
|
|
55
|
+
ctorParameters: () => []
|
|
56
|
+
});
|
|
30
57
|
const inputGroupAddonVariants$1 = cva("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex cursor-text items-center justify-center select-none", {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
defaultVariants: {
|
|
40
|
-
align: 'inline-start',
|
|
41
|
-
},
|
|
58
|
+
variants: { align: {
|
|
59
|
+
"inline-start": "ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first",
|
|
60
|
+
"inline-end": "pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last",
|
|
61
|
+
"block-start": "px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start",
|
|
62
|
+
"block-end": "px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"
|
|
63
|
+
} },
|
|
64
|
+
defaultVariants: { align: "inline-start" }
|
|
42
65
|
});
|
|
43
|
-
class HlmInputGroupAddon {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
var HlmInputGroupAddon = class HlmInputGroupAddon {
|
|
67
|
+
constructor() {
|
|
68
|
+
this.align = input("inline-start", ...ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []);
|
|
69
|
+
classes(() => inputGroupAddonVariants$1({ align: this.align() }));
|
|
70
|
+
}
|
|
71
|
+
static {
|
|
72
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
73
|
+
minVersion: "12.0.0",
|
|
74
|
+
version: "22.2.4",
|
|
75
|
+
ngImport: i0,
|
|
76
|
+
type: HlmInputGroupAddon,
|
|
77
|
+
deps: [],
|
|
78
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
static {
|
|
82
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
83
|
+
minVersion: "17.1.0",
|
|
84
|
+
version: "22.2.4",
|
|
85
|
+
type: HlmInputGroupAddon,
|
|
86
|
+
isStandalone: true,
|
|
87
|
+
selector: "[hlmInputGroupAddon],hlm-input-group-addon",
|
|
88
|
+
inputs: { align: {
|
|
89
|
+
classPropertyName: "align",
|
|
90
|
+
publicName: "align",
|
|
91
|
+
isSignal: true,
|
|
92
|
+
isRequired: false,
|
|
93
|
+
transformFunction: null
|
|
94
|
+
} },
|
|
95
|
+
host: {
|
|
96
|
+
attributes: {
|
|
97
|
+
"role": "group",
|
|
98
|
+
"data-slot": "input-group-addon"
|
|
99
|
+
},
|
|
100
|
+
properties: { "attr.data-align": "align()" }
|
|
101
|
+
},
|
|
102
|
+
ngImport: i0
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
107
|
+
minVersion: "12.0.0",
|
|
108
|
+
version: "22.2.4",
|
|
109
|
+
ngImport: i0,
|
|
110
|
+
type: HlmInputGroupAddon,
|
|
111
|
+
decorators: [{
|
|
112
|
+
type: Directive,
|
|
113
|
+
args: [{
|
|
114
|
+
selector: "[hlmInputGroupAddon],hlm-input-group-addon",
|
|
115
|
+
host: {
|
|
116
|
+
role: "group",
|
|
117
|
+
"data-slot": "input-group-addon",
|
|
118
|
+
"[attr.data-align]": "align()"
|
|
119
|
+
}
|
|
120
|
+
}]
|
|
121
|
+
}],
|
|
122
|
+
ctorParameters: () => [],
|
|
123
|
+
propDecorators: { align: [{
|
|
124
|
+
type: i0.Input,
|
|
125
|
+
args: [{
|
|
126
|
+
isSignal: true,
|
|
127
|
+
alias: "align",
|
|
128
|
+
required: false
|
|
129
|
+
}]
|
|
130
|
+
}] }
|
|
131
|
+
});
|
|
132
|
+
const inputGroupAddonVariants = cva("gap-2 text-sm flex items-center shadow-none", {
|
|
133
|
+
variants: { size: {
|
|
134
|
+
xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]",
|
|
135
|
+
sm: "",
|
|
136
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0",
|
|
137
|
+
"icon-sm": "size-8 p-0 has-[>ng-icon]:p-0"
|
|
138
|
+
} },
|
|
139
|
+
defaultVariants: { size: "xs" }
|
|
140
|
+
});
|
|
141
|
+
var HlmInputGroupButton = class HlmInputGroupButton {
|
|
142
|
+
constructor() {
|
|
143
|
+
this.size = input("xs", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
144
|
+
this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
145
|
+
classes(() => inputGroupAddonVariants({ size: this.size() }));
|
|
146
|
+
}
|
|
147
|
+
static {
|
|
148
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
149
|
+
minVersion: "12.0.0",
|
|
150
|
+
version: "22.2.4",
|
|
151
|
+
ngImport: i0,
|
|
152
|
+
type: HlmInputGroupButton,
|
|
153
|
+
deps: [],
|
|
154
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
static {
|
|
158
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
159
|
+
minVersion: "17.1.0",
|
|
160
|
+
version: "22.2.4",
|
|
161
|
+
type: HlmInputGroupButton,
|
|
162
|
+
isStandalone: true,
|
|
163
|
+
selector: "button[hlmInputGroupButton]",
|
|
164
|
+
inputs: {
|
|
165
|
+
size: {
|
|
166
|
+
classPropertyName: "size",
|
|
167
|
+
publicName: "size",
|
|
168
|
+
isSignal: true,
|
|
169
|
+
isRequired: false,
|
|
170
|
+
transformFunction: null
|
|
171
|
+
},
|
|
172
|
+
type: {
|
|
173
|
+
classPropertyName: "type",
|
|
174
|
+
publicName: "type",
|
|
175
|
+
isSignal: true,
|
|
176
|
+
isRequired: false,
|
|
177
|
+
transformFunction: null
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
host: { properties: {
|
|
181
|
+
"attr.data-size": "size()",
|
|
182
|
+
"type": "type()"
|
|
183
|
+
} },
|
|
184
|
+
providers: [provideBrnButtonConfig({ variant: "ghost" })],
|
|
185
|
+
hostDirectives: [{
|
|
186
|
+
directive: i1$2.HlmButton,
|
|
187
|
+
inputs: ["variant", "variant"]
|
|
188
|
+
}],
|
|
189
|
+
ngImport: i0
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
194
|
+
minVersion: "12.0.0",
|
|
195
|
+
version: "22.2.4",
|
|
196
|
+
ngImport: i0,
|
|
197
|
+
type: HlmInputGroupButton,
|
|
198
|
+
decorators: [{
|
|
199
|
+
type: Directive,
|
|
200
|
+
args: [{
|
|
201
|
+
selector: "button[hlmInputGroupButton]",
|
|
202
|
+
providers: [provideBrnButtonConfig({ variant: "ghost" })],
|
|
203
|
+
hostDirectives: [{
|
|
204
|
+
directive: HlmButton,
|
|
205
|
+
inputs: ["variant"]
|
|
206
|
+
}],
|
|
207
|
+
host: {
|
|
208
|
+
"[attr.data-size]": "size()",
|
|
209
|
+
"[type]": "type()"
|
|
210
|
+
}
|
|
211
|
+
}]
|
|
212
|
+
}],
|
|
213
|
+
ctorParameters: () => [],
|
|
214
|
+
propDecorators: {
|
|
215
|
+
size: [{
|
|
216
|
+
type: i0.Input,
|
|
217
|
+
args: [{
|
|
218
|
+
isSignal: true,
|
|
219
|
+
alias: "size",
|
|
220
|
+
required: false
|
|
221
|
+
}]
|
|
222
|
+
}],
|
|
223
|
+
type: [{
|
|
224
|
+
type: i0.Input,
|
|
225
|
+
args: [{
|
|
226
|
+
isSignal: true,
|
|
227
|
+
alias: "type",
|
|
228
|
+
required: false
|
|
229
|
+
}]
|
|
230
|
+
}]
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
var HlmInputGroupInput = class HlmInputGroupInput {
|
|
234
|
+
constructor() {
|
|
235
|
+
classes(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);
|
|
236
|
+
}
|
|
237
|
+
static {
|
|
238
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
239
|
+
minVersion: "12.0.0",
|
|
240
|
+
version: "22.2.4",
|
|
241
|
+
ngImport: i0,
|
|
242
|
+
type: HlmInputGroupInput,
|
|
243
|
+
deps: [],
|
|
244
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
static {
|
|
248
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
249
|
+
minVersion: "14.0.0",
|
|
250
|
+
version: "22.2.4",
|
|
251
|
+
type: HlmInputGroupInput,
|
|
252
|
+
isStandalone: true,
|
|
253
|
+
selector: "input[hlmInputGroupInput]",
|
|
254
|
+
host: { attributes: { "data-slot": "input-group-control" } },
|
|
255
|
+
hostDirectives: [{ directive: i1$1.HlmInput }],
|
|
256
|
+
ngImport: i0
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
261
|
+
minVersion: "12.0.0",
|
|
262
|
+
version: "22.2.4",
|
|
263
|
+
ngImport: i0,
|
|
264
|
+
type: HlmInputGroupInput,
|
|
265
|
+
decorators: [{
|
|
266
|
+
type: Directive,
|
|
267
|
+
args: [{
|
|
268
|
+
selector: "input[hlmInputGroupInput]",
|
|
269
|
+
hostDirectives: [HlmInput],
|
|
270
|
+
host: { "data-slot": "input-group-control" }
|
|
271
|
+
}]
|
|
272
|
+
}],
|
|
273
|
+
ctorParameters: () => []
|
|
274
|
+
});
|
|
275
|
+
var HlmInputGroupText = class HlmInputGroupText {
|
|
276
|
+
constructor() {
|
|
277
|
+
classes(() => "text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none");
|
|
278
|
+
}
|
|
279
|
+
static {
|
|
280
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
281
|
+
minVersion: "12.0.0",
|
|
282
|
+
version: "22.2.4",
|
|
283
|
+
ngImport: i0,
|
|
284
|
+
type: HlmInputGroupText,
|
|
285
|
+
deps: [],
|
|
286
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
static {
|
|
290
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
291
|
+
minVersion: "14.0.0",
|
|
292
|
+
version: "22.2.4",
|
|
293
|
+
type: HlmInputGroupText,
|
|
294
|
+
isStandalone: true,
|
|
295
|
+
selector: "[hlmInputGroupText],hlm-input-group-text",
|
|
296
|
+
ngImport: i0
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
301
|
+
minVersion: "12.0.0",
|
|
302
|
+
version: "22.2.4",
|
|
303
|
+
ngImport: i0,
|
|
304
|
+
type: HlmInputGroupText,
|
|
305
|
+
decorators: [{
|
|
306
|
+
type: Directive,
|
|
307
|
+
args: [{ selector: "[hlmInputGroupText],hlm-input-group-text" }]
|
|
308
|
+
}],
|
|
309
|
+
ctorParameters: () => []
|
|
310
|
+
});
|
|
311
|
+
var HlmInputGroupTextarea = class HlmInputGroupTextarea {
|
|
312
|
+
constructor() {
|
|
313
|
+
classes(() => "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none");
|
|
314
|
+
}
|
|
315
|
+
static {
|
|
316
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
317
|
+
minVersion: "12.0.0",
|
|
318
|
+
version: "22.2.4",
|
|
319
|
+
ngImport: i0,
|
|
320
|
+
type: HlmInputGroupTextarea,
|
|
321
|
+
deps: [],
|
|
322
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
static {
|
|
326
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
327
|
+
minVersion: "14.0.0",
|
|
328
|
+
version: "22.2.4",
|
|
329
|
+
type: HlmInputGroupTextarea,
|
|
330
|
+
isStandalone: true,
|
|
331
|
+
selector: "textarea[hlmInputGroupTextarea]",
|
|
332
|
+
host: { attributes: { "data-slot": "input-group-control" } },
|
|
333
|
+
hostDirectives: [{ directive: i1.HlmTextarea }],
|
|
334
|
+
ngImport: i0
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
339
|
+
minVersion: "12.0.0",
|
|
340
|
+
version: "22.2.4",
|
|
341
|
+
ngImport: i0,
|
|
342
|
+
type: HlmInputGroupTextarea,
|
|
343
|
+
decorators: [{
|
|
344
|
+
type: Directive,
|
|
345
|
+
args: [{
|
|
346
|
+
selector: "textarea[hlmInputGroupTextarea]",
|
|
347
|
+
hostDirectives: [HlmTextarea],
|
|
348
|
+
host: { "data-slot": "input-group-control" }
|
|
349
|
+
}]
|
|
350
|
+
}],
|
|
351
|
+
ctorParameters: () => []
|
|
75
352
|
});
|
|
76
|
-
class HlmInputGroupButton {
|
|
77
|
-
constructor() {
|
|
78
|
-
this.size = input('xs', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
79
|
-
this.type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
80
|
-
classes(() => inputGroupAddonVariants({ size: this.size() }));
|
|
81
|
-
}
|
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupButton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
83
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmInputGroupButton, isStandalone: true, selector: "button[hlmInputGroupButton]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-size": "size()", "type": "type()" } }, providers: [
|
|
84
|
-
provideBrnButtonConfig({
|
|
85
|
-
variant: 'ghost',
|
|
86
|
-
}),
|
|
87
|
-
], hostDirectives: [{ directive: i1.HlmButton, inputs: ["variant", "variant"] }], ngImport: i0 }); }
|
|
88
|
-
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupButton, decorators: [{
|
|
90
|
-
type: Directive,
|
|
91
|
-
args: [{
|
|
92
|
-
selector: 'button[hlmInputGroupButton]',
|
|
93
|
-
providers: [
|
|
94
|
-
provideBrnButtonConfig({
|
|
95
|
-
variant: 'ghost',
|
|
96
|
-
}),
|
|
97
|
-
],
|
|
98
|
-
hostDirectives: [
|
|
99
|
-
{
|
|
100
|
-
directive: HlmButton,
|
|
101
|
-
inputs: ['variant'],
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
host: {
|
|
105
|
-
'[attr.data-size]': 'size()',
|
|
106
|
-
'[type]': 'type()',
|
|
107
|
-
},
|
|
108
|
-
}]
|
|
109
|
-
}], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
|
|
110
|
-
|
|
111
|
-
class HlmInputGroupInput {
|
|
112
|
-
constructor() {
|
|
113
|
-
classes(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);
|
|
114
|
-
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
116
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroupInput, isStandalone: true, selector: "input[hlmInputGroupInput]", host: { attributes: { "data-slot": "input-group-control" } }, hostDirectives: [{ directive: i1$1.HlmInput }], ngImport: i0 }); }
|
|
117
|
-
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupInput, decorators: [{
|
|
119
|
-
type: Directive,
|
|
120
|
-
args: [{
|
|
121
|
-
selector: 'input[hlmInputGroupInput]',
|
|
122
|
-
hostDirectives: [HlmInput],
|
|
123
|
-
host: { 'data-slot': 'input-group-control' },
|
|
124
|
-
}]
|
|
125
|
-
}], ctorParameters: () => [] });
|
|
126
|
-
|
|
127
|
-
class HlmInputGroupText {
|
|
128
|
-
constructor() {
|
|
129
|
-
classes(() => "text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none");
|
|
130
|
-
}
|
|
131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupText, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
132
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroupText, isStandalone: true, selector: "[hlmInputGroupText],hlm-input-group-text", ngImport: i0 }); }
|
|
133
|
-
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupText, decorators: [{
|
|
135
|
-
type: Directive,
|
|
136
|
-
args: [{
|
|
137
|
-
selector: '[hlmInputGroupText],hlm-input-group-text',
|
|
138
|
-
}]
|
|
139
|
-
}], ctorParameters: () => [] });
|
|
140
|
-
|
|
141
|
-
class HlmInputGroupTextarea {
|
|
142
|
-
constructor() {
|
|
143
|
-
classes(() => 'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none');
|
|
144
|
-
}
|
|
145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupTextarea, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
146
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroupTextarea, isStandalone: true, selector: "textarea[hlmInputGroupTextarea]", host: { attributes: { "data-slot": "input-group-control" } }, hostDirectives: [{ directive: i1$2.HlmTextarea }], ngImport: i0 }); }
|
|
147
|
-
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupTextarea, decorators: [{
|
|
149
|
-
type: Directive,
|
|
150
|
-
args: [{
|
|
151
|
-
selector: 'textarea[hlmInputGroupTextarea]',
|
|
152
|
-
hostDirectives: [HlmTextarea],
|
|
153
|
-
host: { 'data-slot': 'input-group-control' },
|
|
154
|
-
}]
|
|
155
|
-
}], ctorParameters: () => [] });
|
|
156
|
-
|
|
157
353
|
const HlmInputGroupImports = [
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
354
|
+
HlmInputGroup,
|
|
355
|
+
HlmInputGroupAddon,
|
|
356
|
+
HlmInputGroupButton,
|
|
357
|
+
HlmInputGroupInput,
|
|
358
|
+
HlmInputGroupText,
|
|
359
|
+
HlmInputGroupTextarea
|
|
164
360
|
];
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Generated bundle index. Do not edit.
|
|
168
|
-
*/
|
|
169
|
-
|
|
170
361
|
export { HlmInputGroup, HlmInputGroupAddon, HlmInputGroupButton, HlmInputGroupImports, HlmInputGroupInput, HlmInputGroupText, HlmInputGroupTextarea };
|
|
171
|
-
|
|
362
|
+
|
|
363
|
+
//# sourceMappingURL=yukit-web-helm-input-group.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-input-group.mjs","sources":["../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-addon.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-button.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-input.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-text.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-textarea.ts","../../../projects/yukit-web/helm/input-group/src/index.ts","../../../projects/yukit-web/helm/input-group/src/yukit-web-helm-input-group.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroup],hlm-input-group',\n\thost: {\n\t\t'data-slot': 'input-group',\n\t\trole: 'group',\n\t},\n})\nexport class HlmInputGroup {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',\n\t\t);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva(\n\t\"text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex cursor-text items-center justify-center select-none\",\n\t{\n\t\tvariants: {\n\t\t\talign: {\n\t\t\t\t'inline-start': 'ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first',\n\t\t\t\t'inline-end': 'pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last',\n\t\t\t\t'block-start': 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',\n\t\t\t\t'block-end': 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\talign: 'inline-start',\n\t\t},\n\t},\n);\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: '[hlmInputGroupAddon],hlm-input-group-addon',\n\thost: {\n\t\trole: 'group',\n\t\t'data-slot': 'input-group-addon',\n\t\t'[attr.data-align]': 'align()',\n\t},\n})\nexport class HlmInputGroupAddon {\n\tpublic readonly align = input<InputGroupAddonVariants['align']>('inline-start');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ align: this.align() }));\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva('gap-2 text-sm flex items-center shadow-none', {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]\",\n\t\t\tsm: '',\n\t\t\t'icon-xs': 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0',\n\t\t\t'icon-sm': 'size-8 p-0 has-[>ng-icon]:p-0',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'xs',\n\t},\n});\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: 'button[hlmInputGroupButton]',\n\tproviders: [\n\t\tprovideBrnButtonConfig({\n\t\t\tvariant: 'ghost',\n\t\t}),\n\t],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: HlmButton,\n\t\t\tinputs: ['variant'],\n\t\t},\n\t],\n\thost: {\n\t\t'[attr.data-size]': 'size()',\n\t\t'[type]': 'type()',\n\t},\n})\nexport class HlmInputGroupButton {\n\tpublic readonly size = input<InputGroupAddonVariants['size']>('xs');\n\tpublic readonly type = input<'button' | 'submit' | 'reset'>('button');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ size: this.size() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmInput } from 'yukit-web/helm/input';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'input[hlmInputGroupInput]',\n\thostDirectives: [HlmInput],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupInput {\n\tconstructor() {\n\t\tclasses(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroupText],hlm-input-group-text',\n})\nexport class HlmInputGroupText {\n\tconstructor() {\n\t\tclasses(() => \"text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none\");\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmTextarea } from 'yukit-web/helm/textarea';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'textarea[hlmInputGroupTextarea]',\n\thostDirectives: [HlmTextarea],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupTextarea {\n\tconstructor() {\n\t\tclasses(() => 'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none');\n\t}\n}\n","import { HlmInputGroup } from './lib/hlm-input-group';\nimport { HlmInputGroupAddon } from './lib/hlm-input-group-addon';\nimport { HlmInputGroupButton } from './lib/hlm-input-group-button';\nimport { HlmInputGroupInput } from './lib/hlm-input-group-input';\nimport { HlmInputGroupText } from './lib/hlm-input-group-text';\nimport { HlmInputGroupTextarea } from './lib/hlm-input-group-textarea';\n\nexport * from './lib/hlm-input-group';\nexport * from './lib/hlm-input-group-addon';\nexport * from './lib/hlm-input-group-button';\nexport * from './lib/hlm-input-group-input';\nexport * from './lib/hlm-input-group-text';\nexport * from './lib/hlm-input-group-textarea';\n\nexport const HlmInputGroupImports = [\n\tHlmInputGroup,\n\tHlmInputGroupAddon,\n\tHlmInputGroupButton,\n\tHlmInputGroupInput,\n\tHlmInputGroupText,\n\tHlmInputGroupTextarea,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["inputGroupAddonVariants","i1"],"mappings":";;;;;;;;;;;MAUa,aAAa,CAAA;AACzB,IAAA,WAAA,GAAA;AACC,QAAA,OAAO,CACN,MACC,6vCAA6vC,CAC9vC;IACF;+GANY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iCAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,MAAA,EAAA,OAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iCAAiC;AAC3C,oBAAA,IAAI,EAAE;AACL,wBAAA,WAAW,EAAE,aAAa;AAC1B,wBAAA,IAAI,EAAE,OAAO;AACb,qBAAA;AACD,iBAAA;;;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AA,EAAA,CAAA,EAAA,SAAA,EAAAA,IAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iCAAiC;oBAC3C,cAAc,EAAE,CAAC,WAAW,CAAC;AAC7B,oBAAA,IAAI,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE;AAC5C,iBAAA;;;ACMM,MAAM,oBAAoB,GAAG;IACnC,aAAa;IACb,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,qBAAqB;;;ACpBtB;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-input-group.mjs","names":["inputGroupAddonVariants","i1","i1"],"sources":["../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-addon.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-button.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-input.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-text.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-textarea.ts","../../../projects/yukit-web/helm/input-group/src/index.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroup],hlm-input-group',\n\thost: {\n\t\t'data-slot': 'input-group',\n\t\trole: 'group',\n\t},\n})\nexport class HlmInputGroup {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',\n\t\t);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva(\n\t\"text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex cursor-text items-center justify-center select-none\",\n\t{\n\t\tvariants: {\n\t\t\talign: {\n\t\t\t\t'inline-start': 'ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first',\n\t\t\t\t'inline-end': 'pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last',\n\t\t\t\t'block-start': 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',\n\t\t\t\t'block-end': 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\talign: 'inline-start',\n\t\t},\n\t},\n);\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: '[hlmInputGroupAddon],hlm-input-group-addon',\n\thost: {\n\t\trole: 'group',\n\t\t'data-slot': 'input-group-addon',\n\t\t'[attr.data-align]': 'align()',\n\t},\n})\nexport class HlmInputGroupAddon {\n\tpublic readonly align = input<InputGroupAddonVariants['align']>('inline-start');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ align: this.align() }));\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva('gap-2 text-sm flex items-center shadow-none', {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]\",\n\t\t\tsm: '',\n\t\t\t'icon-xs': 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0',\n\t\t\t'icon-sm': 'size-8 p-0 has-[>ng-icon]:p-0',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'xs',\n\t},\n});\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: 'button[hlmInputGroupButton]',\n\tproviders: [\n\t\tprovideBrnButtonConfig({\n\t\t\tvariant: 'ghost',\n\t\t}),\n\t],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: HlmButton,\n\t\t\tinputs: ['variant'],\n\t\t},\n\t],\n\thost: {\n\t\t'[attr.data-size]': 'size()',\n\t\t'[type]': 'type()',\n\t},\n})\nexport class HlmInputGroupButton {\n\tpublic readonly size = input<InputGroupAddonVariants['size']>('xs');\n\tpublic readonly type = input<'button' | 'submit' | 'reset'>('button');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ size: this.size() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmInput } from 'yukit-web/helm/input';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'input[hlmInputGroupInput]',\n\thostDirectives: [HlmInput],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupInput {\n\tconstructor() {\n\t\tclasses(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroupText],hlm-input-group-text',\n})\nexport class HlmInputGroupText {\n\tconstructor() {\n\t\tclasses(() => \"text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none\");\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmTextarea } from 'yukit-web/helm/textarea';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'textarea[hlmInputGroupTextarea]',\n\thostDirectives: [HlmTextarea],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupTextarea {\n\tconstructor() {\n\t\tclasses(() => 'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none');\n\t}\n}\n","import { HlmInputGroup } from './lib/hlm-input-group';\nimport { HlmInputGroupAddon } from './lib/hlm-input-group-addon';\nimport { HlmInputGroupButton } from './lib/hlm-input-group-button';\nimport { HlmInputGroupInput } from './lib/hlm-input-group-input';\nimport { HlmInputGroupText } from './lib/hlm-input-group-text';\nimport { HlmInputGroupTextarea } from './lib/hlm-input-group-textarea';\n\nexport * from './lib/hlm-input-group';\nexport * from './lib/hlm-input-group-addon';\nexport * from './lib/hlm-input-group-button';\nexport * from './lib/hlm-input-group-input';\nexport * from './lib/hlm-input-group-text';\nexport * from './lib/hlm-input-group-textarea';\n\nexport const HlmInputGroupImports = [\n\tHlmInputGroup,\n\tHlmInputGroupAddon,\n\tHlmInputGroupButton,\n\tHlmInputGroupInput,\n\tHlmInputGroupText,\n\tHlmInputGroupTextarea,\n] as const;\n"],"mappings":";;;;;;;;;;AAUA,IAAa,gBAAb,MAAa,cAAa;CACzB,cAAA;EACC,cAEE,6vCAA6vC;CAEhwC;CANY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAa,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAb;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAa,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA;IAAA,aAAA;IAAA,QAAA;GAAA,EAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAb,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAa,YAAA,CAAA;EAPzB,MAAA;EAAU,MAAA,CAAA;GACV,UAAU;GACV,MAAM;IACL,aAAa;IACb,MAAM;GACN;EACD,CAAA;;;;ACLD,MAAMA,4BAA0B,IAC/B,mRACA;CACC,UAAU,EACT,OAAO;EACN,gBAAgB;EAChB,cAAc;EACd,eAAe;EACf,aAAa;CACb,EACD;CACD,iBAAiB,EAChB,OAAO,eACP;AACD,CAAA;AAaF,IAAa,qBAAb,MAAa,mBAAkB;CAG9B,cAAA;EAFgB,KAAA,QAAQ,MAAwC,gBAAe,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAG9E,cA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