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.
Files changed (190) hide show
  1. package/fesm2022/yukit-web-chart.mjs +807 -552
  2. package/fesm2022/yukit-web-chart.mjs.map +1 -1
  3. package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
  4. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
  5. package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
  6. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
  7. package/fesm2022/yukit-web-helm-alert.mjs +199 -91
  8. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
  9. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
  10. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
  11. package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
  12. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
  13. package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
  14. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
  15. package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
  16. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
  17. package/fesm2022/yukit-web-helm-badge.mjs +78 -44
  18. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
  19. package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
  20. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
  21. package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
  22. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
  23. package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
  24. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
  25. package/fesm2022/yukit-web-helm-button.mjs +137 -67
  26. package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
  27. package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
  28. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
  29. package/fesm2022/yukit-web-helm-card.mjs +318 -136
  30. package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
  31. package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
  32. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
  33. package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
  34. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
  35. package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
  36. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
  37. package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
  38. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
  39. package/fesm2022/yukit-web-helm-command.mjs +752 -260
  40. package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
  41. package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
  42. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
  43. package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
  44. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
  45. package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
  46. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
  47. package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
  48. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
  49. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
  50. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
  51. package/fesm2022/yukit-web-helm-empty.mjs +280 -121
  52. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
  53. package/fesm2022/yukit-web-helm-field.mjs +670 -301
  54. package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
  55. package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
  56. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
  57. package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
  58. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
  59. package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
  60. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
  61. package/fesm2022/yukit-web-helm-input.mjs +62 -30
  62. package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
  63. package/fesm2022/yukit-web-helm-item.mjs +545 -227
  64. package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
  65. package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
  66. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
  67. package/fesm2022/yukit-web-helm-label.mjs +60 -28
  68. package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
  69. package/fesm2022/yukit-web-helm-marker.mjs +165 -74
  70. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
  71. package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
  72. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
  73. package/fesm2022/yukit-web-helm-message.mjs +277 -112
  74. package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
  75. package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
  76. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
  77. package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
  78. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
  79. package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
  80. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
  81. package/fesm2022/yukit-web-helm-popover.mjs +358 -133
  82. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
  83. package/fesm2022/yukit-web-helm-progress.mjs +126 -58
  84. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
  85. package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
  86. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
  87. package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
  88. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
  89. package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
  90. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
  91. package/fesm2022/yukit-web-helm-select.mjs +1059 -351
  92. package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
  93. package/fesm2022/yukit-web-helm-separator.mjs +61 -31
  94. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
  95. package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
  96. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
  97. package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
  98. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
  99. package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
  100. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
  101. package/fesm2022/yukit-web-helm-slider.mjs +139 -59
  102. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
  103. package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
  104. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
  105. package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
  106. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
  107. package/fesm2022/yukit-web-helm-switch.mjs +326 -94
  108. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
  109. package/fesm2022/yukit-web-helm-table.mjs +374 -177
  110. package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
  111. package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
  112. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
  113. package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
  114. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
  115. package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
  116. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
  117. package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
  118. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
  119. package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
  120. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
  121. package/fesm2022/yukit-web-helm-typography.mjs +461 -202
  122. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
  123. package/fesm2022/yukit-web-helm-utils.mjs +131 -253
  124. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
  125. package/fesm2022/yukit-web.mjs +24457 -9655
  126. package/fesm2022/yukit-web.mjs.map +1 -1
  127. package/package.json +9 -9
  128. package/types/yukit-web-chart.d.ts +184 -125
  129. package/types/yukit-web-helm-accordion.d.ts +49 -28
  130. package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
  131. package/types/yukit-web-helm-alert.d.ts +30 -32
  132. package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
  133. package/types/yukit-web-helm-attachment.d.ts +97 -69
  134. package/types/yukit-web-helm-autocomplete.d.ts +205 -79
  135. package/types/yukit-web-helm-avatar.d.ts +44 -39
  136. package/types/yukit-web-helm-badge.d.ts +18 -17
  137. package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
  138. package/types/yukit-web-helm-bubble.d.ts +54 -40
  139. package/types/yukit-web-helm-button-group.d.ts +29 -22
  140. package/types/yukit-web-helm-button.d.ts +41 -31
  141. package/types/yukit-web-helm-calendar.d.ts +157 -85
  142. package/types/yukit-web-helm-card.d.ts +38 -42
  143. package/types/yukit-web-helm-carousel.d.ts +105 -73
  144. package/types/yukit-web-helm-checkbox.d.ts +117 -58
  145. package/types/yukit-web-helm-collapsible.d.ts +34 -19
  146. package/types/yukit-web-helm-combobox.d.ts +355 -150
  147. package/types/yukit-web-helm-command.d.ts +140 -73
  148. package/types/yukit-web-helm-context-menu.d.ts +48 -27
  149. package/types/yukit-web-helm-date-picker.d.ts +852 -556
  150. package/types/yukit-web-helm-dialog.d.ts +106 -78
  151. package/types/yukit-web-helm-drawer.d.ts +90 -61
  152. package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
  153. package/types/yukit-web-helm-empty.d.ts +38 -42
  154. package/types/yukit-web-helm-field.d.ts +122 -91
  155. package/types/yukit-web-helm-hover-card.d.ts +39 -27
  156. package/types/yukit-web-helm-input-group.d.ts +63 -41
  157. package/types/yukit-web-helm-input-otp.d.ts +38 -35
  158. package/types/yukit-web-helm-input.d.ts +19 -12
  159. package/types/yukit-web-helm-item.d.ts +90 -82
  160. package/types/yukit-web-helm-kbd.d.ts +10 -15
  161. package/types/yukit-web-helm-label.d.ts +14 -11
  162. package/types/yukit-web-helm-marker.d.ts +26 -27
  163. package/types/yukit-web-helm-menubar.d.ts +61 -32
  164. package/types/yukit-web-helm-message.d.ts +34 -38
  165. package/types/yukit-web-helm-native-select.d.ts +102 -61
  166. package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
  167. package/types/yukit-web-helm-pagination.d.ts +344 -166
  168. package/types/yukit-web-helm-popover.d.ts +62 -42
  169. package/types/yukit-web-helm-progress.d.ts +27 -20
  170. package/types/yukit-web-helm-radio-group.d.ts +121 -63
  171. package/types/yukit-web-helm-resizable.d.ts +46 -24
  172. package/types/yukit-web-helm-scroll-area.d.ts +6 -10
  173. package/types/yukit-web-helm-select.d.ts +231 -114
  174. package/types/yukit-web-helm-separator.d.ts +15 -12
  175. package/types/yukit-web-helm-sheet.d.ts +94 -65
  176. package/types/yukit-web-helm-sidebar.d.ts +322 -232
  177. package/types/yukit-web-helm-skeleton.d.ts +6 -10
  178. package/types/yukit-web-helm-slider.d.ts +33 -13
  179. package/types/yukit-web-helm-sonner.d.ts +112 -51
  180. package/types/yukit-web-helm-spinner.d.ts +24 -17
  181. package/types/yukit-web-helm-switch.d.ts +89 -51
  182. package/types/yukit-web-helm-table.d.ts +38 -42
  183. package/types/yukit-web-helm-tabs.d.ts +116 -60
  184. package/types/yukit-web-helm-textarea.d.ts +19 -12
  185. package/types/yukit-web-helm-toggle-group.d.ts +81 -32
  186. package/types/yukit-web-helm-toggle.d.ts +39 -21
  187. package/types/yukit-web-helm-tooltip.d.ts +21 -16
  188. package/types/yukit-web-helm-typography.d.ts +62 -77
  189. package/types/yukit-web-helm-utils.d.ts +8 -11
  190. package/types/yukit-web.d.ts +5092 -2351
@@ -1,124 +1,376 @@
1
- import * as i0 from '@angular/core';
2
- import { input, Directive, contentChildren, viewChild, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1 from '@spartan-ng/brain/tabs';
4
- import { BrnTabs, BrnTabsContent, BrnTabsContentLazy, BrnTabsList, BrnTabsPaginatedList, BrnTabsTrigger } from '@spartan-ng/brain/tabs';
5
- import { classes, hlm } from 'yukit-web/helm/utils';
6
- import { cva } from 'class-variance-authority';
7
- import { CdkObserveContent } from '@angular/cdk/observers';
8
- import { toObservable } from '@angular/core/rxjs-interop';
9
- import { NgIcon, provideIcons } from '@ng-icons/core';
10
- import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
11
- import { buttonVariants } from 'yukit-web/helm/button';
12
-
13
- class HlmTabs {
14
- constructor() {
15
- this.tab = input.required(...(ngDevMode ? [{ debugName: "tab" }] : /* istanbul ignore next */ []));
16
- classes(() => 'group/tabs flex gap-2 data-[orientation=horizontal]:flex-col');
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabs, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmTabs, isStandalone: true, selector: "[hlmTabs],hlm-tabs", inputs: { tab: { classPropertyName: "tab", publicName: "tab", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "data-slot": "tabs" } }, hostDirectives: [{ directive: i1.BrnTabs, inputs: ["orientation", "orientation", "activationMode", "activationMode", "brnTabs", "tab"], outputs: ["tabActivated", "tabActivated"] }], ngImport: i0 }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabs, decorators: [{
22
- type: Directive,
23
- args: [{
24
- selector: '[hlmTabs],hlm-tabs',
25
- hostDirectives: [
26
- {
27
- directive: BrnTabs,
28
- inputs: ['orientation', 'activationMode', 'brnTabs: tab'],
29
- outputs: ['tabActivated'],
30
- },
31
- ],
32
- host: {
33
- 'data-slot': 'tabs',
34
- },
35
- }]
36
- }], ctorParameters: () => [], propDecorators: { tab: [{ type: i0.Input, args: [{ isSignal: true, alias: "tab", required: true }] }] } });
37
-
38
- class HlmTabsContent {
39
- constructor() {
40
- this.contentFor = input.required({ ...(ngDevMode ? { debugName: "contentFor" } : /* istanbul ignore next */ {}), alias: 'hlmTabsContent' });
41
- classes(() => 'flex-1 text-sm outline-none');
42
- }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
44
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmTabsContent, isStandalone: true, selector: "[hlmTabsContent]", inputs: { contentFor: { classPropertyName: "contentFor", publicName: "hlmTabsContent", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "data-slot": "tabs-content" } }, hostDirectives: [{ directive: i1.BrnTabsContent, inputs: ["brnTabsContent", "hlmTabsContent"] }], ngImport: i0 }); }
45
- }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsContent, decorators: [{
47
- type: Directive,
48
- args: [{
49
- selector: '[hlmTabsContent]',
50
- hostDirectives: [{ directive: BrnTabsContent, inputs: ['brnTabsContent: hlmTabsContent'] }],
51
- host: {
52
- 'data-slot': 'tabs-content',
53
- },
54
- }]
55
- }], ctorParameters: () => [], propDecorators: { contentFor: [{ type: i0.Input, args: [{ isSignal: true, alias: "hlmTabsContent", required: true }] }] } });
56
-
57
- class HlmTabsContentLazy {
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsContentLazy, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
59
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmTabsContentLazy, isStandalone: true, selector: "ng-template[hlmTabsContentLazy]", hostDirectives: [{ directive: i1.BrnTabsContentLazy }], ngImport: i0 }); }
60
- }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsContentLazy, decorators: [{
62
- type: Directive,
63
- args: [{
64
- selector: 'ng-template[hlmTabsContentLazy]',
65
- hostDirectives: [BrnTabsContentLazy],
66
- }]
67
- }] });
68
-
69
- const listVariants = cva('rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col', {
70
- variants: {
71
- variant: {
72
- default: 'bg-muted',
73
- line: 'gap-1 bg-transparent',
74
- },
75
- },
76
- defaultVariants: {
77
- variant: 'default',
78
- },
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, computed, contentChildren, input, viewChild } from "@angular/core";
3
+ import * as i1 from "@spartan-ng/brain/tabs";
4
+ import { BrnTabs, BrnTabsContent, BrnTabsContentLazy, BrnTabsList, BrnTabsPaginatedList, BrnTabsTrigger } from "@spartan-ng/brain/tabs";
5
+ import { classes, hlm } from "yukit-web/helm/utils";
6
+ import { cva } from "class-variance-authority";
7
+ import { CdkObserveContent } from "@angular/cdk/observers";
8
+ import { toObservable } from "@angular/core/rxjs-interop";
9
+ import { NgIcon, provideIcons } from "@ng-icons/core";
10
+ import { lucideChevronLeft, lucideChevronRight } from "@ng-icons/lucide";
11
+ import { buttonVariants } from "yukit-web/helm/button";
12
+ var HlmTabs = class HlmTabs {
13
+ constructor() {
14
+ this.tab = input.required(...ngDevMode ? [{ debugName: "tab" }] : /* istanbul ignore next */ []);
15
+ classes(() => "group/tabs flex gap-2 data-[orientation=horizontal]:flex-col");
16
+ }
17
+ static {
18
+ this.ɵfac = i0.ɵɵngDeclareFactory({
19
+ minVersion: "12.0.0",
20
+ version: "22.2.4",
21
+ ngImport: i0,
22
+ type: HlmTabs,
23
+ deps: [],
24
+ target: i0.ɵɵFactoryTarget.Directive
25
+ });
26
+ }
27
+ static {
28
+ this.ɵdir = i0.ɵɵngDeclareDirective({
29
+ minVersion: "17.1.0",
30
+ version: "22.2.4",
31
+ type: HlmTabs,
32
+ isStandalone: true,
33
+ selector: "[hlmTabs],hlm-tabs",
34
+ inputs: { tab: {
35
+ classPropertyName: "tab",
36
+ publicName: "tab",
37
+ isSignal: true,
38
+ isRequired: true,
39
+ transformFunction: null
40
+ } },
41
+ host: { attributes: { "data-slot": "tabs" } },
42
+ hostDirectives: [{
43
+ directive: i1.BrnTabs,
44
+ inputs: [
45
+ "orientation",
46
+ "orientation",
47
+ "activationMode",
48
+ "activationMode",
49
+ "brnTabs",
50
+ "tab"
51
+ ],
52
+ outputs: ["tabActivated", "tabActivated"]
53
+ }],
54
+ ngImport: i0
55
+ });
56
+ }
57
+ };
58
+ i0.ɵɵngDeclareClassMetadata({
59
+ minVersion: "12.0.0",
60
+ version: "22.2.4",
61
+ ngImport: i0,
62
+ type: HlmTabs,
63
+ decorators: [{
64
+ type: Directive,
65
+ args: [{
66
+ selector: "[hlmTabs],hlm-tabs",
67
+ hostDirectives: [{
68
+ directive: BrnTabs,
69
+ inputs: [
70
+ "orientation",
71
+ "activationMode",
72
+ "brnTabs: tab"
73
+ ],
74
+ outputs: ["tabActivated"]
75
+ }],
76
+ host: { "data-slot": "tabs" }
77
+ }]
78
+ }],
79
+ ctorParameters: () => [],
80
+ propDecorators: { tab: [{
81
+ type: i0.Input,
82
+ args: [{
83
+ isSignal: true,
84
+ alias: "tab",
85
+ required: true
86
+ }]
87
+ }] }
79
88
  });
80
- class HlmTabsList {
81
- constructor() {
82
- this.variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
83
- classes(() => listVariants({ variant: this.variant() }));
84
- }
85
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsList, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
86
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmTabsList, isStandalone: true, selector: "[hlmTabsList],hlm-tabs-list", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "tabs-list" }, properties: { "attr.data-variant": "variant()" } }, hostDirectives: [{ directive: i1.BrnTabsList }], ngImport: i0 }); }
87
- }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsList, decorators: [{
89
- type: Directive,
90
- args: [{
91
- selector: '[hlmTabsList],hlm-tabs-list',
92
- hostDirectives: [BrnTabsList],
93
- host: {
94
- 'data-slot': 'tabs-list',
95
- '[attr.data-variant]': 'variant()',
96
- },
97
- }]
98
- }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
99
-
100
- class HlmTabsPaginatedList extends BrnTabsPaginatedList {
101
- constructor() {
102
- super();
103
- this.items = contentChildren(BrnTabsTrigger, { ...(ngDevMode ? { debugName: "items" } : /* istanbul ignore next */ {}), descendants: false });
104
- /** Explicitly annotating type to avoid non-portable inferred type */
105
- this.itemsChanges = toObservable(this.items);
106
- this.tabListContainer = viewChild.required('tabListContainer');
107
- this.tabList = viewChild.required('tabList');
108
- this.tabListInner = viewChild.required('tabListInner');
109
- this.nextPaginator = viewChild.required('nextPaginator');
110
- this.previousPaginator = viewChild.required('previousPaginator');
111
- this.tabListClass = input('', { ...(ngDevMode ? { debugName: "tabListClass" } : /* istanbul ignore next */ {}), alias: 'tabListClass' });
112
- this._tabListClass = computed(() => hlm(listVariants(), this.tabListClass()), ...(ngDevMode ? [{ debugName: "_tabListClass" }] : /* istanbul ignore next */ []));
113
- this.paginationButtonClass = input('', ...(ngDevMode ? [{ debugName: "paginationButtonClass" }] : /* istanbul ignore next */ []));
114
- this._paginationButtonClass = computed(() => hlm('relative z-[2] select-none disabled:cursor-default', buttonVariants({ variant: 'ghost', size: 'icon-sm' }), this.paginationButtonClass(), this.showPaginationControls() ? 'inline-flex' : 'hidden'), ...(ngDevMode ? [{ debugName: "_paginationButtonClass" }] : /* istanbul ignore next */ []));
115
- classes(() => 'relative flex flex-shrink-0 items-center gap-1 overflow-hidden');
116
- }
117
- _itemSelected(event) {
118
- event.preventDefault();
119
- }
120
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsPaginatedList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
121
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.22", type: HlmTabsPaginatedList, isStandalone: true, selector: "hlm-paginated-tabs-list", inputs: { tabListClass: { classPropertyName: "tabListClass", publicName: "tabListClass", isSignal: true, isRequired: false, transformFunction: null }, paginationButtonClass: { classPropertyName: "paginationButtonClass", publicName: "paginationButtonClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "tabs-paginated-list" } }, providers: [provideIcons({ lucideChevronRight, lucideChevronLeft })], queries: [{ propertyName: "items", predicate: BrnTabsTrigger, isSignal: true }], viewQueries: [{ propertyName: "tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, isSignal: true }, { propertyName: "tabList", first: true, predicate: ["tabList"], descendants: true, isSignal: true }, { propertyName: "tabListInner", first: true, predicate: ["tabListInner"], descendants: true, isSignal: true }, { propertyName: "nextPaginator", first: true, predicate: ["nextPaginator"], descendants: true, isSignal: true }, { propertyName: "previousPaginator", first: true, predicate: ["previousPaginator"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
89
+ var HlmTabsContent = class HlmTabsContent {
90
+ constructor() {
91
+ this.contentFor = input.required({
92
+ ...ngDevMode ? { debugName: "contentFor" } : /* istanbul ignore next */ {},
93
+ alias: "hlmTabsContent"
94
+ });
95
+ classes(() => "flex-1 text-sm outline-none");
96
+ }
97
+ static {
98
+ this.ɵfac = i0.ɵɵngDeclareFactory({
99
+ minVersion: "12.0.0",
100
+ version: "22.2.4",
101
+ ngImport: i0,
102
+ type: HlmTabsContent,
103
+ deps: [],
104
+ target: i0.ɵɵFactoryTarget.Directive
105
+ });
106
+ }
107
+ static {
108
+ this.ɵdir = i0.ɵɵngDeclareDirective({
109
+ minVersion: "17.1.0",
110
+ version: "22.2.4",
111
+ type: HlmTabsContent,
112
+ isStandalone: true,
113
+ selector: "[hlmTabsContent]",
114
+ inputs: { contentFor: {
115
+ classPropertyName: "contentFor",
116
+ publicName: "hlmTabsContent",
117
+ isSignal: true,
118
+ isRequired: true,
119
+ transformFunction: null
120
+ } },
121
+ host: { attributes: { "data-slot": "tabs-content" } },
122
+ hostDirectives: [{
123
+ directive: i1.BrnTabsContent,
124
+ inputs: ["brnTabsContent", "hlmTabsContent"]
125
+ }],
126
+ ngImport: i0
127
+ });
128
+ }
129
+ };
130
+ i0.ɵɵngDeclareClassMetadata({
131
+ minVersion: "12.0.0",
132
+ version: "22.2.4",
133
+ ngImport: i0,
134
+ type: HlmTabsContent,
135
+ decorators: [{
136
+ type: Directive,
137
+ args: [{
138
+ selector: "[hlmTabsContent]",
139
+ hostDirectives: [{
140
+ directive: BrnTabsContent,
141
+ inputs: ["brnTabsContent: hlmTabsContent"]
142
+ }],
143
+ host: { "data-slot": "tabs-content" }
144
+ }]
145
+ }],
146
+ ctorParameters: () => [],
147
+ propDecorators: { contentFor: [{
148
+ type: i0.Input,
149
+ args: [{
150
+ isSignal: true,
151
+ alias: "hlmTabsContent",
152
+ required: true
153
+ }]
154
+ }] }
155
+ });
156
+ var HlmTabsContentLazy = class HlmTabsContentLazy {
157
+ static {
158
+ this.ɵfac = i0.ɵɵngDeclareFactory({
159
+ minVersion: "12.0.0",
160
+ version: "22.2.4",
161
+ ngImport: i0,
162
+ type: HlmTabsContentLazy,
163
+ deps: [],
164
+ target: i0.ɵɵFactoryTarget.Directive
165
+ });
166
+ }
167
+ static {
168
+ this.ɵdir = i0.ɵɵngDeclareDirective({
169
+ minVersion: "14.0.0",
170
+ version: "22.2.4",
171
+ type: HlmTabsContentLazy,
172
+ isStandalone: true,
173
+ selector: "ng-template[hlmTabsContentLazy]",
174
+ hostDirectives: [{ directive: i1.BrnTabsContentLazy }],
175
+ ngImport: i0
176
+ });
177
+ }
178
+ };
179
+ i0.ɵɵngDeclareClassMetadata({
180
+ minVersion: "12.0.0",
181
+ version: "22.2.4",
182
+ ngImport: i0,
183
+ type: HlmTabsContentLazy,
184
+ decorators: [{
185
+ type: Directive,
186
+ args: [{
187
+ selector: "ng-template[hlmTabsContentLazy]",
188
+ hostDirectives: [BrnTabsContentLazy]
189
+ }]
190
+ }]
191
+ });
192
+ const listVariants = cva("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col", {
193
+ variants: { variant: {
194
+ default: "bg-muted",
195
+ line: "gap-1 bg-transparent"
196
+ } },
197
+ defaultVariants: { variant: "default" }
198
+ });
199
+ var HlmTabsList = class HlmTabsList {
200
+ constructor() {
201
+ this.variant = input("default", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
202
+ classes(() => listVariants({ variant: this.variant() }));
203
+ }
204
+ static {
205
+ this.ɵfac = i0.ɵɵngDeclareFactory({
206
+ minVersion: "12.0.0",
207
+ version: "22.2.4",
208
+ ngImport: i0,
209
+ type: HlmTabsList,
210
+ deps: [],
211
+ target: i0.ɵɵFactoryTarget.Directive
212
+ });
213
+ }
214
+ static {
215
+ this.ɵdir = i0.ɵɵngDeclareDirective({
216
+ minVersion: "17.1.0",
217
+ version: "22.2.4",
218
+ type: HlmTabsList,
219
+ isStandalone: true,
220
+ selector: "[hlmTabsList],hlm-tabs-list",
221
+ inputs: { variant: {
222
+ classPropertyName: "variant",
223
+ publicName: "variant",
224
+ isSignal: true,
225
+ isRequired: false,
226
+ transformFunction: null
227
+ } },
228
+ host: {
229
+ attributes: { "data-slot": "tabs-list" },
230
+ properties: { "attr.data-variant": "variant()" }
231
+ },
232
+ hostDirectives: [{ directive: i1.BrnTabsList }],
233
+ ngImport: i0
234
+ });
235
+ }
236
+ };
237
+ i0.ɵɵngDeclareClassMetadata({
238
+ minVersion: "12.0.0",
239
+ version: "22.2.4",
240
+ ngImport: i0,
241
+ type: HlmTabsList,
242
+ decorators: [{
243
+ type: Directive,
244
+ args: [{
245
+ selector: "[hlmTabsList],hlm-tabs-list",
246
+ hostDirectives: [BrnTabsList],
247
+ host: {
248
+ "data-slot": "tabs-list",
249
+ "[attr.data-variant]": "variant()"
250
+ }
251
+ }]
252
+ }],
253
+ ctorParameters: () => [],
254
+ propDecorators: { variant: [{
255
+ type: i0.Input,
256
+ args: [{
257
+ isSignal: true,
258
+ alias: "variant",
259
+ required: false
260
+ }]
261
+ }] }
262
+ });
263
+ var HlmTabsPaginatedList = class HlmTabsPaginatedList extends BrnTabsPaginatedList {
264
+ constructor() {
265
+ super();
266
+ this.items = contentChildren(BrnTabsTrigger, {
267
+ ...ngDevMode ? { debugName: "items" } : /* istanbul ignore next */ {},
268
+ descendants: false
269
+ });
270
+ this.itemsChanges = toObservable(this.items);
271
+ this.tabListContainer = viewChild.required("tabListContainer", ...ngDevMode ? [{ debugName: "tabListContainer" }] : /* istanbul ignore next */ []);
272
+ this.tabList = viewChild.required("tabList", ...ngDevMode ? [{ debugName: "tabList" }] : /* istanbul ignore next */ []);
273
+ this.tabListInner = viewChild.required("tabListInner", ...ngDevMode ? [{ debugName: "tabListInner" }] : /* istanbul ignore next */ []);
274
+ this.nextPaginator = viewChild.required("nextPaginator", ...ngDevMode ? [{ debugName: "nextPaginator" }] : /* istanbul ignore next */ []);
275
+ this.previousPaginator = viewChild.required("previousPaginator", ...ngDevMode ? [{ debugName: "previousPaginator" }] : /* istanbul ignore next */ []);
276
+ this.tabListClass = input("", {
277
+ ...ngDevMode ? { debugName: "tabListClass" } : /* istanbul ignore next */ {},
278
+ alias: "tabListClass"
279
+ });
280
+ this._tabListClass = computed(() => hlm(listVariants(), this.tabListClass()), ...ngDevMode ? [{ debugName: "_tabListClass" }] : /* istanbul ignore next */ []);
281
+ this.paginationButtonClass = input("", ...ngDevMode ? [{ debugName: "paginationButtonClass" }] : /* istanbul ignore next */ []);
282
+ this._paginationButtonClass = computed(() => hlm("relative z-[2] select-none disabled:cursor-default", buttonVariants({
283
+ variant: "ghost",
284
+ size: "icon-sm"
285
+ }), this.paginationButtonClass(), this.showPaginationControls() ? "inline-flex" : "hidden"), ...ngDevMode ? [{ debugName: "_paginationButtonClass" }] : /* istanbul ignore next */ []);
286
+ classes(() => "relative flex flex-shrink-0 items-center gap-1 overflow-hidden");
287
+ }
288
+ _itemSelected(event) {
289
+ event.preventDefault();
290
+ }
291
+ static {
292
+ this.ɵfac = i0.ɵɵngDeclareFactory({
293
+ minVersion: "12.0.0",
294
+ version: "22.2.4",
295
+ ngImport: i0,
296
+ type: HlmTabsPaginatedList,
297
+ deps: [],
298
+ target: i0.ɵɵFactoryTarget.Component
299
+ });
300
+ }
301
+ static {
302
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
303
+ minVersion: "17.2.0",
304
+ version: "22.2.4",
305
+ type: HlmTabsPaginatedList,
306
+ isStandalone: true,
307
+ selector: "hlm-paginated-tabs-list",
308
+ inputs: {
309
+ tabListClass: {
310
+ classPropertyName: "tabListClass",
311
+ publicName: "tabListClass",
312
+ isSignal: true,
313
+ isRequired: false,
314
+ transformFunction: null
315
+ },
316
+ paginationButtonClass: {
317
+ classPropertyName: "paginationButtonClass",
318
+ publicName: "paginationButtonClass",
319
+ isSignal: true,
320
+ isRequired: false,
321
+ transformFunction: null
322
+ }
323
+ },
324
+ host: { attributes: { "data-slot": "tabs-paginated-list" } },
325
+ providers: [provideIcons({
326
+ lucideChevronRight,
327
+ lucideChevronLeft
328
+ })],
329
+ queries: [{
330
+ propertyName: "items",
331
+ predicate: BrnTabsTrigger,
332
+ isSignal: true
333
+ }],
334
+ viewQueries: [
335
+ {
336
+ propertyName: "tabListContainer",
337
+ first: true,
338
+ predicate: ["tabListContainer"],
339
+ descendants: true,
340
+ isSignal: true
341
+ },
342
+ {
343
+ propertyName: "tabList",
344
+ first: true,
345
+ predicate: ["tabList"],
346
+ descendants: true,
347
+ isSignal: true
348
+ },
349
+ {
350
+ propertyName: "tabListInner",
351
+ first: true,
352
+ predicate: ["tabListInner"],
353
+ descendants: true,
354
+ isSignal: true
355
+ },
356
+ {
357
+ propertyName: "nextPaginator",
358
+ first: true,
359
+ predicate: ["nextPaginator"],
360
+ descendants: true,
361
+ isSignal: true
362
+ },
363
+ {
364
+ propertyName: "previousPaginator",
365
+ first: true,
366
+ predicate: ["previousPaginator"],
367
+ descendants: true,
368
+ isSignal: true
369
+ }
370
+ ],
371
+ usesInheritance: true,
372
+ ngImport: i0,
373
+ template: `
122
374
  <button
123
375
  #previousPaginator
124
376
  data-pagination="previous"
@@ -156,19 +408,48 @@ class HlmTabsPaginatedList extends BrnTabsPaginatedList {
156
408
  >
157
409
  <ng-icon name="lucideChevronRight" />
158
410
  </button>
159
- `, isInline: true, dependencies: [{ kind: "directive", type: CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
160
- }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsPaginatedList, decorators: [{
162
- type: Component,
163
- args: [{
164
- selector: 'hlm-paginated-tabs-list',
165
- imports: [CdkObserveContent, NgIcon],
166
- providers: [provideIcons({ lucideChevronRight, lucideChevronLeft })],
167
- changeDetection: ChangeDetectionStrategy.OnPush,
168
- host: {
169
- 'data-slot': 'tabs-paginated-list',
170
- },
171
- template: `
411
+ `,
412
+ isInline: true,
413
+ dependencies: [{
414
+ kind: "directive",
415
+ type: CdkObserveContent,
416
+ selector: "[cdkObserveContent]",
417
+ inputs: ["cdkObserveContentDisabled", "debounce"],
418
+ outputs: ["cdkObserveContent"],
419
+ exportAs: ["cdkObserveContent"]
420
+ }, {
421
+ kind: "component",
422
+ type: NgIcon,
423
+ selector: "ng-icon",
424
+ inputs: [
425
+ "name",
426
+ "svg",
427
+ "size",
428
+ "strokeWidth",
429
+ "color"
430
+ ]
431
+ }],
432
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
433
+ });
434
+ }
435
+ };
436
+ i0.ɵɵngDeclareClassMetadata({
437
+ minVersion: "12.0.0",
438
+ version: "22.2.4",
439
+ ngImport: i0,
440
+ type: HlmTabsPaginatedList,
441
+ decorators: [{
442
+ type: Component,
443
+ args: [{
444
+ selector: "hlm-paginated-tabs-list",
445
+ imports: [CdkObserveContent, NgIcon],
446
+ providers: [provideIcons({
447
+ lucideChevronRight,
448
+ lucideChevronLeft
449
+ })],
450
+ changeDetection: ChangeDetectionStrategy.OnPush,
451
+ host: { "data-slot": "tabs-paginated-list" },
452
+ template: `
172
453
  <button
173
454
  #previousPaginator
174
455
  data-pagination="previous"
@@ -206,46 +487,141 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
206
487
  >
207
488
  <ng-icon name="lucideChevronRight" />
208
489
  </button>
209
- `,
210
- }]
211
- }], ctorParameters: () => [], propDecorators: { items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BrnTabsTrigger), { ...{ descendants: false }, isSignal: true }] }], tabListContainer: [{ type: i0.ViewChild, args: ['tabListContainer', { isSignal: true }] }], tabList: [{ type: i0.ViewChild, args: ['tabList', { isSignal: true }] }], tabListInner: [{ type: i0.ViewChild, args: ['tabListInner', { isSignal: true }] }], nextPaginator: [{ type: i0.ViewChild, args: ['nextPaginator', { isSignal: true }] }], previousPaginator: [{ type: i0.ViewChild, args: ['previousPaginator', { isSignal: true }] }], tabListClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabListClass", required: false }] }], paginationButtonClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "paginationButtonClass", required: false }] }] } });
212
-
213
- class HlmTabsTrigger {
214
- constructor() {
215
- this.triggerFor = input.required({ ...(ngDevMode ? { debugName: "triggerFor" } : /* istanbul ignore next */ {}), alias: 'hlmTabsTrigger' });
216
- classes(() => [
217
- `gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0`,
218
- 'group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent',
219
- 'data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground',
220
- 'after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100',
221
- ]);
222
- }
223
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
224
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmTabsTrigger, isStandalone: true, selector: "[hlmTabsTrigger]", inputs: { triggerFor: { classPropertyName: "triggerFor", publicName: "hlmTabsTrigger", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "data-slot": "tabs-trigger" } }, hostDirectives: [{ directive: i1.BrnTabsTrigger, inputs: ["brnTabsTrigger", "hlmTabsTrigger", "disabled", "disabled"] }], ngImport: i0 }); }
225
- }
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmTabsTrigger, decorators: [{
227
- type: Directive,
228
- args: [{
229
- selector: '[hlmTabsTrigger]',
230
- hostDirectives: [{ directive: BrnTabsTrigger, inputs: ['brnTabsTrigger: hlmTabsTrigger', 'disabled'] }],
231
- host: {
232
- 'data-slot': 'tabs-trigger',
233
- },
234
- }]
235
- }], ctorParameters: () => [], propDecorators: { triggerFor: [{ type: i0.Input, args: [{ isSignal: true, alias: "hlmTabsTrigger", required: true }] }] } });
236
-
490
+ `
491
+ }]
492
+ }],
493
+ ctorParameters: () => [],
494
+ propDecorators: {
495
+ items: [{
496
+ type: i0.ContentChildren,
497
+ args: [i0.forwardRef(() => BrnTabsTrigger), {
498
+ descendants: false,
499
+ isSignal: true
500
+ }]
501
+ }],
502
+ tabListContainer: [{
503
+ type: i0.ViewChild,
504
+ args: ["tabListContainer", { isSignal: true }]
505
+ }],
506
+ tabList: [{
507
+ type: i0.ViewChild,
508
+ args: ["tabList", { isSignal: true }]
509
+ }],
510
+ tabListInner: [{
511
+ type: i0.ViewChild,
512
+ args: ["tabListInner", { isSignal: true }]
513
+ }],
514
+ nextPaginator: [{
515
+ type: i0.ViewChild,
516
+ args: ["nextPaginator", { isSignal: true }]
517
+ }],
518
+ previousPaginator: [{
519
+ type: i0.ViewChild,
520
+ args: ["previousPaginator", { isSignal: true }]
521
+ }],
522
+ tabListClass: [{
523
+ type: i0.Input,
524
+ args: [{
525
+ isSignal: true,
526
+ alias: "tabListClass",
527
+ required: false
528
+ }]
529
+ }],
530
+ paginationButtonClass: [{
531
+ type: i0.Input,
532
+ args: [{
533
+ isSignal: true,
534
+ alias: "paginationButtonClass",
535
+ required: false
536
+ }]
537
+ }]
538
+ }
539
+ });
540
+ var HlmTabsTrigger = class HlmTabsTrigger {
541
+ constructor() {
542
+ this.triggerFor = input.required({
543
+ ...ngDevMode ? { debugName: "triggerFor" } : /* istanbul ignore next */ {},
544
+ alias: "hlmTabsTrigger"
545
+ });
546
+ classes(() => [
547
+ `gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0`,
548
+ "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
549
+ "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground",
550
+ "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100"
551
+ ]);
552
+ }
553
+ static {
554
+ this.ɵfac = i0.ɵɵngDeclareFactory({
555
+ minVersion: "12.0.0",
556
+ version: "22.2.4",
557
+ ngImport: i0,
558
+ type: HlmTabsTrigger,
559
+ deps: [],
560
+ target: i0.ɵɵFactoryTarget.Directive
561
+ });
562
+ }
563
+ static {
564
+ this.ɵdir = i0.ɵɵngDeclareDirective({
565
+ minVersion: "17.1.0",
566
+ version: "22.2.4",
567
+ type: HlmTabsTrigger,
568
+ isStandalone: true,
569
+ selector: "[hlmTabsTrigger]",
570
+ inputs: { triggerFor: {
571
+ classPropertyName: "triggerFor",
572
+ publicName: "hlmTabsTrigger",
573
+ isSignal: true,
574
+ isRequired: true,
575
+ transformFunction: null
576
+ } },
577
+ host: { attributes: { "data-slot": "tabs-trigger" } },
578
+ hostDirectives: [{
579
+ directive: i1.BrnTabsTrigger,
580
+ inputs: [
581
+ "brnTabsTrigger",
582
+ "hlmTabsTrigger",
583
+ "disabled",
584
+ "disabled"
585
+ ]
586
+ }],
587
+ ngImport: i0
588
+ });
589
+ }
590
+ };
591
+ i0.ɵɵngDeclareClassMetadata({
592
+ minVersion: "12.0.0",
593
+ version: "22.2.4",
594
+ ngImport: i0,
595
+ type: HlmTabsTrigger,
596
+ decorators: [{
597
+ type: Directive,
598
+ args: [{
599
+ selector: "[hlmTabsTrigger]",
600
+ hostDirectives: [{
601
+ directive: BrnTabsTrigger,
602
+ inputs: ["brnTabsTrigger: hlmTabsTrigger", "disabled"]
603
+ }],
604
+ host: { "data-slot": "tabs-trigger" }
605
+ }]
606
+ }],
607
+ ctorParameters: () => [],
608
+ propDecorators: { triggerFor: [{
609
+ type: i0.Input,
610
+ args: [{
611
+ isSignal: true,
612
+ alias: "hlmTabsTrigger",
613
+ required: true
614
+ }]
615
+ }] }
616
+ });
237
617
  const HlmTabsImports = [
238
- HlmTabs,
239
- HlmTabsList,
240
- HlmTabsTrigger,
241
- HlmTabsContent,
242
- HlmTabsContentLazy,
243
- HlmTabsPaginatedList,
618
+ HlmTabs,
619
+ HlmTabsList,
620
+ HlmTabsTrigger,
621
+ HlmTabsContent,
622
+ HlmTabsContentLazy,
623
+ HlmTabsPaginatedList
244
624
  ];
245
-
246
- /**
247
- * Generated bundle index. Do not edit.
248
- */
249
-
250
625
  export { HlmTabs, HlmTabsContent, HlmTabsContentLazy, HlmTabsImports, HlmTabsList, HlmTabsPaginatedList, HlmTabsTrigger, listVariants };
251
- //# sourceMappingURL=yukit-web-helm-tabs.mjs.map
626
+
627
+ //# sourceMappingURL=yukit-web-helm-tabs.mjs.map