@egose/shadcn-theme-ng 0.0.27 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -13
- package/accordion/README.md +3 -0
- package/accordion/fesm2022/accordion.mjs +148 -0
- package/accordion/package.json +25 -0
- package/accordion/types/accordion.d.ts +49 -0
- package/alert/README.md +2 -63
- package/alert/fesm2022/alert.mjs +58 -53
- package/alert/package.json +25 -0
- package/alert-dialog/README.md +11 -0
- package/alert-dialog/fesm2022/alert-dialog.mjs +287 -0
- package/alert-dialog/package.json +25 -0
- package/alert-dialog/types/alert-dialog.d.ts +90 -0
- package/aspect-ratio/README.md +11 -0
- package/aspect-ratio/fesm2022/aspect-ratio.mjs +62 -0
- package/aspect-ratio/package.json +25 -0
- package/aspect-ratio/types/aspect-ratio.d.ts +21 -0
- package/autocomplete/README.md +3 -0
- package/autocomplete/fesm2022/autocomplete.mjs +391 -0
- package/autocomplete/package.json +24 -0
- package/autocomplete/types/autocomplete.d.ts +96 -0
- package/avatar/README.md +11 -0
- package/avatar/fesm2022/avatar.mjs +178 -0
- package/avatar/package.json +25 -0
- package/avatar/types/avatar.d.ts +50 -0
- package/badge/README.md +2 -63
- package/badge/fesm2022/badge.mjs +69 -63
- package/badge/package.json +25 -0
- package/basic-alert/README.md +2 -63
- package/basic-alert/fesm2022/basic-alert.mjs +14 -22
- package/basic-alert/package.json +24 -0
- package/breadcrumb/README.md +11 -0
- package/breadcrumb/fesm2022/breadcrumb.mjs +218 -0
- package/breadcrumb/package.json +25 -0
- package/breadcrumb/types/breadcrumb.d.ts +57 -0
- package/button/README.md +2 -63
- package/button/fesm2022/button.mjs +201 -177
- package/button/package.json +25 -0
- package/button/{index.d.ts → types/button.d.ts} +31 -10
- package/button-group/README.md +11 -0
- package/button-group/fesm2022/button-group.mjs +102 -0
- package/button-group/package.json +25 -0
- package/button-group/types/button-group.d.ts +30 -0
- package/calendar/README.md +2 -63
- package/calendar/fesm2022/calendar.mjs +178 -570
- package/calendar/package.json +24 -0
- package/calendar/types/calendar.d.ts +94 -0
- package/card/README.md +11 -0
- package/card/fesm2022/card.mjs +169 -0
- package/card/package.json +25 -0
- package/card/types/card.d.ts +54 -0
- package/carousel/README.md +11 -0
- package/carousel/fesm2022/carousel.mjs +267 -0
- package/carousel/package.json +25 -0
- package/carousel/types/carousel.d.ts +84 -0
- package/checkbox/README.md +3 -0
- package/checkbox/fesm2022/checkbox.mjs +113 -0
- package/checkbox/package.json +24 -0
- package/checkbox/types/checkbox.d.ts +56 -0
- package/collapsible/README.md +11 -0
- package/collapsible/fesm2022/collapsible.mjs +77 -0
- package/collapsible/package.json +25 -0
- package/collapsible/types/collapsible.d.ts +27 -0
- package/combobox/README.md +11 -0
- package/combobox/fesm2022/combobox.mjs +547 -0
- package/combobox/package.json +25 -0
- package/combobox/types/combobox.d.ts +151 -0
- package/command/README.md +11 -0
- package/command/fesm2022/command.mjs +301 -0
- package/command/package.json +25 -0
- package/command/types/command.d.ts +89 -0
- package/confirmation-dialog/README.md +3 -0
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +79 -0
- package/confirmation-dialog/package.json +24 -0
- package/confirmation-dialog/types/confirmation-dialog.d.ts +28 -0
- package/context-menu/README.md +11 -0
- package/context-menu/fesm2022/context-menu.mjs +89 -0
- package/context-menu/package.json +25 -0
- package/context-menu/types/context-menu.d.ts +34 -0
- package/date-picker/README.md +2 -63
- package/date-picker/fesm2022/date-picker.mjs +1104 -352
- package/date-picker/package.json +24 -0
- package/date-picker/types/date-picker.d.ts +555 -0
- package/dialog/README.md +3 -0
- package/dialog/fesm2022/dialog.mjs +281 -0
- package/dialog/package.json +24 -0
- package/dialog/types/dialog.d.ts +95 -0
- package/drawer/README.md +11 -0
- package/drawer/fesm2022/drawer.mjs +261 -0
- package/drawer/package.json +25 -0
- package/drawer/types/drawer.d.ts +76 -0
- package/dropdown-menu/README.md +11 -0
- package/dropdown-menu/fesm2022/dropdown-menu.mjs +554 -0
- package/dropdown-menu/package.json +25 -0
- package/dropdown-menu/types/dropdown-menu.d.ts +180 -0
- package/empty/README.md +11 -0
- package/empty/fesm2022/empty.mjs +151 -0
- package/empty/package.json +25 -0
- package/empty/types/empty.d.ts +54 -0
- package/field/README.md +11 -0
- package/field/fesm2022/field.mjs +351 -0
- package/field/package.json +25 -0
- package/field/types/field.d.ts +107 -0
- package/form-checkbox/README.md +3 -0
- package/form-checkbox/fesm2022/form-checkbox.mjs +94 -0
- package/form-checkbox/package.json +24 -0
- package/form-checkbox/types/form-checkbox.d.ts +33 -0
- package/form-date-picker/README.md +2 -63
- package/form-date-picker/fesm2022/form-date-picker.mjs +74 -120
- package/form-date-picker/package.json +24 -0
- package/form-date-picker/{index.d.ts → types/form-date-picker.d.ts} +7 -1
- package/form-field/README.md +2 -63
- package/form-field/fesm2022/form-field.mjs +54 -28
- package/form-field/package.json +25 -0
- package/form-field/types/form-field.d.ts +46 -0
- package/form-field-simple/README.md +2 -63
- package/form-field-simple/fesm2022/form-field-simple.mjs +15 -10
- package/form-field-simple/package.json +24 -0
- package/form-searchable-multiselect/README.md +3 -0
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +98 -0
- package/form-searchable-multiselect/package.json +24 -0
- package/form-searchable-multiselect/types/form-searchable-multiselect.d.ts +36 -0
- package/form-select/README.md +2 -63
- package/form-select/fesm2022/form-select.mjs +85 -141
- package/form-select/package.json +24 -0
- package/form-select/{index.d.ts → types/form-select.d.ts} +7 -1
- package/form-text-input/README.md +2 -63
- package/form-text-input/fesm2022/form-text-input.mjs +86 -171
- package/form-text-input/package.json +24 -0
- package/form-text-input/{index.d.ts → types/form-text-input.d.ts} +9 -12
- package/form-textarea/README.md +2 -63
- package/form-textarea/fesm2022/form-textarea.mjs +77 -128
- package/form-textarea/package.json +24 -0
- package/form-textarea/{index.d.ts → types/form-textarea.d.ts} +8 -1
- package/hover-card/README.md +11 -0
- package/hover-card/fesm2022/hover-card.mjs +123 -0
- package/hover-card/package.json +25 -0
- package/hover-card/types/hover-card.d.ts +36 -0
- package/icon/README.md +2 -63
- package/icon/fesm2022/icon.mjs +12 -10
- package/icon/package.json +25 -0
- package/input/README.md +2 -63
- package/input/fesm2022/input.mjs +25 -70
- package/input/package.json +25 -0
- package/input/types/input.d.ts +19 -0
- package/input-group/README.md +11 -0
- package/input-group/fesm2022/input-group.mjs +199 -0
- package/input-group/package.json +25 -0
- package/input-group/types/input-group.d.ts +52 -0
- package/input-otp/README.md +11 -0
- package/input-otp/fesm2022/input-otp.mjs +141 -0
- package/input-otp/package.json +25 -0
- package/input-otp/types/input-otp.d.ts +43 -0
- package/item/README.md +11 -0
- package/item/fesm2022/item.mjs +278 -0
- package/item/package.json +25 -0
- package/item/types/item.d.ts +101 -0
- package/kbd/README.md +11 -0
- package/kbd/fesm2022/kbd.mjs +61 -0
- package/kbd/package.json +25 -0
- package/kbd/types/kbd.d.ts +22 -0
- package/label/README.md +2 -63
- package/label/fesm2022/label.mjs +12 -11
- package/label/package.json +25 -0
- package/label/{index.d.ts → types/label.d.ts} +1 -1
- package/layout-simple/README.md +3 -0
- package/layout-simple/fesm2022/layout-simple.mjs +388 -0
- package/layout-simple/package.json +24 -0
- package/layout-simple/types/layout-simple.d.ts +167 -0
- package/menu/README.md +3 -0
- package/menu/fesm2022/menu.mjs +455 -0
- package/menu/package.json +24 -0
- package/menu/types/menu.d.ts +137 -0
- package/menubar/README.md +11 -0
- package/menubar/fesm2022/menubar.mjs +108 -0
- package/menubar/package.json +25 -0
- package/menubar/types/menubar.d.ts +40 -0
- package/native-select/README.md +11 -0
- package/native-select/fesm2022/native-select.mjs +207 -0
- package/native-select/package.json +25 -0
- package/native-select/types/native-select.d.ts +70 -0
- package/navigation-menu/README.md +11 -0
- package/navigation-menu/fesm2022/navigation-menu.mjs +194 -0
- package/navigation-menu/package.json +25 -0
- package/navigation-menu/types/navigation-menu.d.ts +54 -0
- package/package.json +284 -63
- package/pagination/README.md +11 -0
- package/pagination/fesm2022/pagination.mjs +522 -0
- package/pagination/package.json +25 -0
- package/pagination/types/pagination.d.ts +192 -0
- package/popover/README.md +2 -63
- package/popover/fesm2022/popover.mjs +124 -30
- package/popover/package.json +24 -0
- package/popover/types/popover.d.ts +54 -0
- package/progress/README.md +11 -0
- package/progress/fesm2022/progress.mjs +77 -0
- package/progress/package.json +25 -0
- package/progress/types/progress.d.ts +27 -0
- package/radio-group/README.md +3 -0
- package/radio-group/fesm2022/radio-group.mjs +207 -0
- package/radio-group/package.json +25 -0
- package/radio-group/types/radio-group.d.ts +71 -0
- package/resizable/README.md +11 -0
- package/resizable/fesm2022/resizable.mjs +103 -0
- package/resizable/package.json +25 -0
- package/resizable/types/resizable.d.ts +32 -0
- package/scroll-area/README.md +11 -0
- package/scroll-area/fesm2022/scroll-area.mjs +51 -0
- package/scroll-area/package.json +25 -0
- package/scroll-area/types/scroll-area.d.ts +16 -0
- package/searchable-multiselect/README.md +3 -0
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +136 -0
- package/searchable-multiselect/package.json +24 -0
- package/searchable-multiselect/types/searchable-multiselect.d.ts +45 -0
- package/select/README.md +2 -63
- package/select/fesm2022/select.mjs +340 -198
- package/select/package.json +25 -0
- package/select/types/select.d.ts +121 -0
- package/separator/README.md +2 -63
- package/separator/fesm2022/separator.mjs +17 -15
- package/separator/package.json +24 -0
- package/separator/{index.d.ts → types/separator.d.ts} +4 -5
- package/sheet/README.md +2 -63
- package/sheet/fesm2022/sheet.mjs +56 -61
- package/sheet/package.json +24 -0
- package/sidebar/README.md +11 -0
- package/sidebar/fesm2022/sidebar.mjs +846 -0
- package/sidebar/package.json +25 -0
- package/sidebar/types/sidebar.d.ts +237 -0
- package/skeleton/README.md +11 -0
- package/skeleton/fesm2022/skeleton.mjs +44 -0
- package/skeleton/package.json +25 -0
- package/skeleton/types/skeleton.d.ts +16 -0
- package/slider/README.md +11 -0
- package/slider/fesm2022/slider.mjs +74 -0
- package/slider/package.json +25 -0
- package/slider/types/slider.d.ts +19 -0
- package/sonner/README.md +2 -63
- package/sonner/fesm2022/sonner.mjs +34 -39
- package/sonner/package.json +25 -0
- package/spinner/README.md +2 -63
- package/spinner/fesm2022/spinner.mjs +20 -16
- package/spinner/package.json +25 -0
- package/switch/README.md +2 -63
- package/switch/fesm2022/switch.mjs +28 -27
- package/switch/package.json +25 -0
- package/table/README.md +11 -0
- package/table/fesm2022/table.mjs +211 -0
- package/table/package.json +25 -0
- package/table/types/table.d.ts +87 -0
- package/tabs/README.md +3 -0
- package/tabs/fesm2022/tabs.mjs +210 -0
- package/tabs/package.json +25 -0
- package/tabs/types/tabs.d.ts +71 -0
- package/textarea/README.md +11 -0
- package/textarea/fesm2022/textarea.mjs +47 -0
- package/textarea/package.json +25 -0
- package/textarea/types/textarea.d.ts +18 -0
- package/toggle/README.md +11 -0
- package/toggle/fesm2022/toggle.mjs +78 -0
- package/toggle/package.json +25 -0
- package/toggle/types/toggle.d.ts +27 -0
- package/toggle-group/README.md +11 -0
- package/toggle-group/fesm2022/toggle-group.mjs +117 -0
- package/toggle-group/package.json +25 -0
- package/toggle-group/types/toggle-group.d.ts +45 -0
- package/tooltip/README.md +3 -0
- package/tooltip/fesm2022/tooltip.mjs +72 -0
- package/tooltip/package.json +25 -0
- package/tooltip/types/tooltip.d.ts +22 -0
- package/typography/README.md +11 -0
- package/typography/fesm2022/typography.mjs +242 -0
- package/typography/package.json +25 -0
- package/typography/types/typography.d.ts +94 -0
- package/utils/README.md +2 -63
- package/utils/fesm2022/utils.mjs +209 -2
- package/utils/package.json +25 -0
- package/utils/types/utils.d.ts +13 -0
- package/alert/fesm2022/alert.mjs.map +0 -1
- package/badge/fesm2022/badge.mjs.map +0 -1
- package/basic-alert/fesm2022/basic-alert.mjs.map +0 -1
- package/button/fesm2022/button.mjs.map +0 -1
- package/calendar/fesm2022/calendar.mjs.map +0 -1
- package/calendar/index.d.ts +0 -111
- package/date-picker/fesm2022/date-picker.mjs.map +0 -1
- package/date-picker/index.d.ts +0 -227
- package/form-date-picker/fesm2022/form-date-picker.mjs.map +0 -1
- package/form-field/fesm2022/form-field.mjs.map +0 -1
- package/form-field/index.d.ts +0 -37
- package/form-field-simple/fesm2022/form-field-simple.mjs.map +0 -1
- package/form-select/fesm2022/form-select.mjs.map +0 -1
- package/form-text-input/fesm2022/form-text-input.mjs.map +0 -1
- package/form-textarea/fesm2022/form-textarea.mjs.map +0 -1
- package/icon/fesm2022/icon.mjs.map +0 -1
- package/input/fesm2022/input.mjs.map +0 -1
- package/input/index.d.ts +0 -41
- package/label/fesm2022/label.mjs.map +0 -1
- package/popover/fesm2022/popover.mjs.map +0 -1
- package/popover/index.d.ts +0 -30
- package/select/fesm2022/select.mjs.map +0 -1
- package/select/index.d.ts +0 -92
- package/separator/fesm2022/separator.mjs.map +0 -1
- package/sheet/fesm2022/sheet.mjs.map +0 -1
- package/sonner/fesm2022/sonner.mjs.map +0 -1
- package/spinner/fesm2022/spinner.mjs.map +0 -1
- package/switch/fesm2022/switch.mjs.map +0 -1
- package/utils/fesm2022/utils.mjs.map +0 -1
- package/utils/index.d.ts +0 -5
- /package/alert/{index.d.ts → types/alert.d.ts} +0 -0
- /package/badge/{index.d.ts → types/badge.d.ts} +0 -0
- /package/basic-alert/{index.d.ts → types/basic-alert.d.ts} +0 -0
- /package/form-field-simple/{index.d.ts → types/form-field-simple.d.ts} +0 -0
- /package/icon/{index.d.ts → types/icon.d.ts} +0 -0
- /package/sheet/{index.d.ts → types/sheet.d.ts} +0 -0
- /package/sonner/{index.d.ts → types/sonner.d.ts} +0 -0
- /package/spinner/{index.d.ts → types/spinner.d.ts} +0 -0
- /package/switch/{index.d.ts → types/switch.d.ts} +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ValueProvider } from '@angular/core';
|
|
3
|
+
import { NumberInput, BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { MenuSide, MenuAlign } from '@spartan-ng/brain/core';
|
|
5
|
+
import * as i1 from '@angular/cdk/menu';
|
|
6
|
+
import { CdkMenuItemCheckbox, CdkMenuItemRadio } from '@angular/cdk/menu';
|
|
7
|
+
|
|
8
|
+
declare class HlmDropdownMenu {
|
|
9
|
+
private readonly _host;
|
|
10
|
+
private readonly _elementRef;
|
|
11
|
+
private readonly _document;
|
|
12
|
+
private readonly _destroyRef;
|
|
13
|
+
private readonly _menuSide;
|
|
14
|
+
protected readonly _state: i0.WritableSignal<string>;
|
|
15
|
+
protected readonly _side: i0.WritableSignal<MenuSide>;
|
|
16
|
+
readonly sideOffset: i0.InputSignalWithTransform<number, NumberInput>;
|
|
17
|
+
constructor();
|
|
18
|
+
private setSideFromTransformOrigin;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenu, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenu, "[hlmDropdownMenu],hlm-dropdown-menu", never, { "sideOffset": { "alias": "sideOffset"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* Moves DOM focus to the hovered menu item. CDK menus only move focus with the keyboard, so on a pointer
|
|
26
|
+
* the highlight would otherwise stay on the last keyboard-focused item (leaving two rows highlighted) and,
|
|
27
|
+
* when a submenu closes, focus would fall to <body>, the menu stack would report no focus, and the whole
|
|
28
|
+
* dropdown would collapse. Following the pointer with focus (Radix/shadcn behaviour) keeps a single
|
|
29
|
+
* highlight and keeps focus inside the menu stack. setActiveMenuItem also syncs the key manager so keyboard
|
|
30
|
+
* navigation continues from the hovered item.
|
|
31
|
+
*
|
|
32
|
+
* Applied as a host directive on every dropdown item type (item, checkbox, radio, sub-trigger).
|
|
33
|
+
*/
|
|
34
|
+
declare class HlmDropdownMenuFocusOnHover {
|
|
35
|
+
private readonly _cdkMenuItem;
|
|
36
|
+
private readonly _parentMenu;
|
|
37
|
+
private readonly _inputModality;
|
|
38
|
+
protected _focusOnHover(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuFocusOnHover, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuFocusOnHover, "[hlmDropdownMenuFocusOnHover]", never, {}, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** @internal. Use HlmDropdownMenuCheckbox instead. */
|
|
44
|
+
declare class HlmDropdownMenuCheckboxCdk extends CdkMenuItemCheckbox {
|
|
45
|
+
readonly keepOpen: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
46
|
+
trigger(options?: {
|
|
47
|
+
keepOpen: boolean;
|
|
48
|
+
}): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuCheckboxCdk, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuCheckboxCdk, "[hlmDropdownMenuCheckboxCdk]", never, { "keepOpen": { "alias": "keepOpen"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
|
+
}
|
|
52
|
+
declare class HlmDropdownMenuCheckbox {
|
|
53
|
+
protected readonly _cdkMenuItem: HlmDropdownMenuCheckboxCdk;
|
|
54
|
+
readonly inset: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
55
|
+
constructor();
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuCheckbox, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuCheckbox, "[hlmDropdownMenuCheckbox],[hlmDropdownMenuCheckboxItem]", never, { "inset": { "alias": "inset"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof HlmDropdownMenuCheckboxCdk; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuItemChecked": "checked"; "keepOpen": "keepOpen"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }, { directive: typeof HlmDropdownMenuFocusOnHover; inputs: {}; outputs: {}; }]>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class HlmDropdownMenuCheckboxIndicator {
|
|
61
|
+
constructor();
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuCheckboxIndicator, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmDropdownMenuCheckboxIndicator, "hlm-dropdown-menu-checkbox-indicator", never, {}, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare class HlmDropdownMenuGroup {
|
|
67
|
+
constructor();
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuGroup, never>;
|
|
69
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuGroup, "[hlmDropdownMenuGroup],hlm-dropdown-menu-group", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenuGroup; inputs: {}; outputs: {}; }]>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class HlmDropdownMenuItem {
|
|
73
|
+
protected readonly _isButton: boolean;
|
|
74
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
75
|
+
readonly variant: i0.InputSignal<"default" | "destructive">;
|
|
76
|
+
readonly inset: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
77
|
+
constructor();
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuItem, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuItem, "[hlmDropdownMenuItem],hlm-dropdown-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "disabled"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }, { directive: typeof HlmDropdownMenuFocusOnHover; inputs: {}; outputs: {}; }]>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare class HlmDropdownMenuItemSubIndicator {
|
|
83
|
+
constructor();
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuItemSubIndicator, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmDropdownMenuItemSubIndicator, "hlm-dropdown-menu-item-sub-indicator", never, {}, {}, never, never, true, never>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class HlmDropdownMenuLabel {
|
|
89
|
+
readonly inset: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
90
|
+
constructor();
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuLabel, never>;
|
|
92
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuLabel, "[hlmDropdownMenuLabel],hlm-dropdown-menu-label", never, { "inset": { "alias": "inset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** @internal. Use HlmDropdownMenuRadio instead. */
|
|
96
|
+
declare class HlmDropdownMenuRadioCdk extends CdkMenuItemRadio {
|
|
97
|
+
readonly keepOpen: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
98
|
+
trigger(options?: {
|
|
99
|
+
keepOpen: boolean;
|
|
100
|
+
}): void;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuRadioCdk, never>;
|
|
102
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuRadioCdk, "[hlmDropdownMenuRadioCdk]", never, { "keepOpen": { "alias": "keepOpen"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
declare class HlmDropdownMenuRadio {
|
|
105
|
+
protected readonly _cdkMenuItem: HlmDropdownMenuRadioCdk;
|
|
106
|
+
constructor();
|
|
107
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuRadio, never>;
|
|
108
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuRadio, "[hlmDropdownMenuRadio]", never, {}, {}, never, never, true, [{ directive: typeof HlmDropdownMenuRadioCdk; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuItemChecked": "checked"; "keepOpen": "keepOpen"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }, { directive: typeof HlmDropdownMenuFocusOnHover; inputs: {}; outputs: {}; }]>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare class HlmDropdownMenuRadioIndicator {
|
|
112
|
+
constructor();
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuRadioIndicator, never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmDropdownMenuRadioIndicator, "hlm-dropdown-menu-radio-indicator", never, {}, {}, never, never, true, never>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare class HlmDropdownMenuSeparator {
|
|
118
|
+
constructor();
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuSeparator, never>;
|
|
120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuSeparator, "[hlmDropdownMenuSeparator],hlm-dropdown-menu-separator", never, {}, {}, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class HlmDropdownMenuShortcut {
|
|
124
|
+
constructor();
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuShortcut, never>;
|
|
126
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuShortcut, "[hlmDropdownMenuShortcut],hlm-dropdown-menu-shortcut", never, {}, {}, never, never, true, never>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class HlmDropdownMenuSub {
|
|
130
|
+
private readonly _host;
|
|
131
|
+
private readonly _elementRef;
|
|
132
|
+
private readonly _document;
|
|
133
|
+
private readonly _destroyRef;
|
|
134
|
+
private readonly _menuSide;
|
|
135
|
+
protected readonly _state: i0.WritableSignal<string>;
|
|
136
|
+
protected readonly _side: i0.WritableSignal<MenuSide>;
|
|
137
|
+
constructor();
|
|
138
|
+
private setSideFromTransformOrigin;
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuSub, never>;
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuSub, "[hlmDropdownMenuSub],hlm-dropdown-menu-sub", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare class HlmDropdownMenuSubTrigger {
|
|
144
|
+
private readonly _cdkTrigger;
|
|
145
|
+
private readonly _config;
|
|
146
|
+
readonly align: i0.InputSignal<MenuAlign>;
|
|
147
|
+
readonly side: i0.InputSignal<MenuSide>;
|
|
148
|
+
private readonly _menuPosition;
|
|
149
|
+
constructor();
|
|
150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuSubTrigger, never>;
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuSubTrigger, "[hlmDropdownMenuSubTrigger]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "hlmDropdownMenuSubTrigger"; "cdkMenuTriggerData": "hlmDropdownMenuTriggerData"; }; outputs: { "cdkMenuOpened": "hlmDropdownMenuSubOpened"; "cdkMenuClosed": "hlmDropdownMenuSubClosed"; }; }]>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare class HlmDropdownMenuTrigger {
|
|
155
|
+
private readonly _cdkTrigger;
|
|
156
|
+
private readonly _config;
|
|
157
|
+
readonly align: i0.InputSignal<MenuAlign>;
|
|
158
|
+
readonly side: i0.InputSignal<MenuSide>;
|
|
159
|
+
private readonly _menuPosition;
|
|
160
|
+
constructor();
|
|
161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuTrigger, never>;
|
|
162
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmDropdownMenuTrigger, "[hlmDropdownMenuTrigger]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "hlmDropdownMenuTrigger"; "cdkMenuTriggerData": "hlmDropdownMenuTriggerData"; }; outputs: { "cdkMenuOpened": "hlmDropdownMenuOpened"; "cdkMenuClosed": "hlmDropdownMenuClosed"; }; }]>;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
interface HlmDropdownMenuConfig {
|
|
166
|
+
align: MenuAlign;
|
|
167
|
+
side: MenuSide;
|
|
168
|
+
}
|
|
169
|
+
declare function provideHlmDropdownMenuConfig(config: Partial<HlmDropdownMenuConfig>): ValueProvider;
|
|
170
|
+
declare function injectHlmDropdownMenuConfig(): HlmDropdownMenuConfig;
|
|
171
|
+
|
|
172
|
+
declare const HlmDropdownMenuImports: readonly [typeof HlmDropdownMenu, typeof HlmDropdownMenuCheckbox, typeof HlmDropdownMenuCheckboxIndicator, typeof HlmDropdownMenuGroup, typeof HlmDropdownMenuItem, typeof HlmDropdownMenuItemSubIndicator, typeof HlmDropdownMenuLabel, typeof HlmDropdownMenuRadio, typeof HlmDropdownMenuRadioIndicator, typeof HlmDropdownMenuSeparator, typeof HlmDropdownMenuShortcut, typeof HlmDropdownMenuSub, typeof HlmDropdownMenuSubTrigger, typeof HlmDropdownMenuTrigger];
|
|
173
|
+
declare class HlmDropdownMenuModule {
|
|
174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmDropdownMenuModule, never>;
|
|
175
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HlmDropdownMenuModule, never, [typeof HlmDropdownMenu, typeof HlmDropdownMenuCheckbox, typeof HlmDropdownMenuCheckboxIndicator, typeof HlmDropdownMenuGroup, typeof HlmDropdownMenuItem, typeof HlmDropdownMenuItemSubIndicator, typeof HlmDropdownMenuLabel, typeof HlmDropdownMenuRadio, typeof HlmDropdownMenuRadioIndicator, typeof HlmDropdownMenuSeparator, typeof HlmDropdownMenuShortcut, typeof HlmDropdownMenuSub, typeof HlmDropdownMenuSubTrigger, typeof HlmDropdownMenuTrigger], [typeof HlmDropdownMenu, typeof HlmDropdownMenuCheckbox, typeof HlmDropdownMenuCheckboxIndicator, typeof HlmDropdownMenuGroup, typeof HlmDropdownMenuItem, typeof HlmDropdownMenuItemSubIndicator, typeof HlmDropdownMenuLabel, typeof HlmDropdownMenuRadio, typeof HlmDropdownMenuRadioIndicator, typeof HlmDropdownMenuSeparator, typeof HlmDropdownMenuShortcut, typeof HlmDropdownMenuSub, typeof HlmDropdownMenuSubTrigger, typeof HlmDropdownMenuTrigger]>;
|
|
176
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HlmDropdownMenuModule>;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export { HlmDropdownMenu, HlmDropdownMenuCheckbox, HlmDropdownMenuCheckboxCdk, HlmDropdownMenuCheckboxIndicator, HlmDropdownMenuFocusOnHover, HlmDropdownMenuGroup, HlmDropdownMenuImports, HlmDropdownMenuItem, HlmDropdownMenuItemSubIndicator, HlmDropdownMenuLabel, HlmDropdownMenuModule, HlmDropdownMenuRadio, HlmDropdownMenuRadioCdk, HlmDropdownMenuRadioIndicator, HlmDropdownMenuSeparator, HlmDropdownMenuShortcut, HlmDropdownMenuSub, HlmDropdownMenuSubTrigger, HlmDropdownMenuTrigger, injectHlmDropdownMenuConfig, provideHlmDropdownMenuConfig };
|
|
180
|
+
export type { HlmDropdownMenuConfig };
|
package/empty/README.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, input, NgModule } from '@angular/core';
|
|
3
|
+
import { classes } from '@egose/shadcn-theme-ng/utils';
|
|
4
|
+
import { cva } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
class HlmEmpty {
|
|
7
|
+
constructor() {
|
|
8
|
+
classes(() => "gap-4 rounded-lg border-dashed p-12 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance");
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmEmpty, isStandalone: true, selector: "[hlmEmpty],hlm-empty", host: { attributes: { "data-slot": "empty" } }, ngImport: i0 });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmpty, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: '[hlmEmpty],hlm-empty',
|
|
17
|
+
host: { 'data-slot': 'empty' },
|
|
18
|
+
}]
|
|
19
|
+
}], ctorParameters: () => [] });
|
|
20
|
+
|
|
21
|
+
class HlmEmptyContent {
|
|
22
|
+
constructor() {
|
|
23
|
+
classes(() => "gap-4 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance");
|
|
24
|
+
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
26
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmEmptyContent, isStandalone: true, selector: "[hlmEmptyContent],hlm-empty-content", host: { attributes: { "data-slot": "empty-content" } }, ngImport: i0 });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyContent, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: '[hlmEmptyContent],hlm-empty-content',
|
|
32
|
+
host: { 'data-slot': 'empty-content' },
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: () => [] });
|
|
35
|
+
|
|
36
|
+
class HlmEmptyDescription {
|
|
37
|
+
constructor() {
|
|
38
|
+
classes(() => "text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4");
|
|
39
|
+
}
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmEmptyDescription, isStandalone: true, selector: "[hlmEmptyDescription]", host: { attributes: { "data-slot": "empty-description" } }, ngImport: i0 });
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyDescription, decorators: [{
|
|
44
|
+
type: Directive,
|
|
45
|
+
args: [{
|
|
46
|
+
selector: '[hlmEmptyDescription]',
|
|
47
|
+
host: { 'data-slot': 'empty-description' },
|
|
48
|
+
}]
|
|
49
|
+
}], ctorParameters: () => [] });
|
|
50
|
+
|
|
51
|
+
class HlmEmptyHeader {
|
|
52
|
+
constructor() {
|
|
53
|
+
classes(() => "gap-2 flex max-w-sm flex-col items-center");
|
|
54
|
+
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmEmptyHeader, isStandalone: true, selector: "[hlmEmptyHeader],hlm-empty-header", host: { attributes: { "data-slot": "empty-header" } }, ngImport: i0 });
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyHeader, decorators: [{
|
|
59
|
+
type: Directive,
|
|
60
|
+
args: [{
|
|
61
|
+
selector: '[hlmEmptyHeader],hlm-empty-header',
|
|
62
|
+
host: { 'data-slot': 'empty-header' },
|
|
63
|
+
}]
|
|
64
|
+
}], ctorParameters: () => [] });
|
|
65
|
+
|
|
66
|
+
const emptyMediaVariants = cva("mb-2 flex shrink-0 items-center justify-center [&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0", {
|
|
67
|
+
variants: {
|
|
68
|
+
variant: {
|
|
69
|
+
default: "bg-transparent",
|
|
70
|
+
icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(6)]",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
defaultVariants: {
|
|
74
|
+
variant: 'default',
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
class HlmEmptyMedia {
|
|
78
|
+
variant = input(/* @ts-ignore */
|
|
79
|
+
...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
80
|
+
constructor() {
|
|
81
|
+
classes(() => emptyMediaVariants({ variant: this.variant() }));
|
|
82
|
+
}
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmEmptyMedia, isStandalone: true, selector: "[hlmEmptyMedia],hlm-empty-media", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "empty-media" }, properties: { "attr.data-variant": "variant()" } }, ngImport: i0 });
|
|
85
|
+
}
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyMedia, decorators: [{
|
|
87
|
+
type: Directive,
|
|
88
|
+
args: [{
|
|
89
|
+
selector: '[hlmEmptyMedia],hlm-empty-media',
|
|
90
|
+
host: {
|
|
91
|
+
'data-slot': 'empty-media',
|
|
92
|
+
'[attr.data-variant]': 'variant()',
|
|
93
|
+
},
|
|
94
|
+
}]
|
|
95
|
+
}], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
|
|
96
|
+
|
|
97
|
+
class HlmEmptyTitle {
|
|
98
|
+
constructor() {
|
|
99
|
+
classes(() => "text-lg font-medium tracking-tight");
|
|
100
|
+
}
|
|
101
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
102
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmEmptyTitle, isStandalone: true, selector: "[hlmEmptyTitle]", host: { attributes: { "data-slot": "empty-title" } }, ngImport: i0 });
|
|
103
|
+
}
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyTitle, decorators: [{
|
|
105
|
+
type: Directive,
|
|
106
|
+
args: [{
|
|
107
|
+
selector: '[hlmEmptyTitle]',
|
|
108
|
+
host: { 'data-slot': 'empty-title' },
|
|
109
|
+
}]
|
|
110
|
+
}], ctorParameters: () => [] });
|
|
111
|
+
|
|
112
|
+
/*
|
|
113
|
+
* Public API Surface of empty
|
|
114
|
+
*/
|
|
115
|
+
const HlmEmptyImports = [
|
|
116
|
+
HlmEmpty,
|
|
117
|
+
HlmEmptyContent,
|
|
118
|
+
HlmEmptyDescription,
|
|
119
|
+
HlmEmptyHeader,
|
|
120
|
+
HlmEmptyTitle,
|
|
121
|
+
HlmEmptyMedia,
|
|
122
|
+
];
|
|
123
|
+
class HlmEmptyModule {
|
|
124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
125
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyModule, imports: [HlmEmpty,
|
|
126
|
+
HlmEmptyContent,
|
|
127
|
+
HlmEmptyDescription,
|
|
128
|
+
HlmEmptyHeader,
|
|
129
|
+
HlmEmptyTitle,
|
|
130
|
+
HlmEmptyMedia], exports: [HlmEmpty,
|
|
131
|
+
HlmEmptyContent,
|
|
132
|
+
HlmEmptyDescription,
|
|
133
|
+
HlmEmptyHeader,
|
|
134
|
+
HlmEmptyTitle,
|
|
135
|
+
HlmEmptyMedia] });
|
|
136
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyModule });
|
|
137
|
+
}
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmEmptyModule, decorators: [{
|
|
139
|
+
type: NgModule,
|
|
140
|
+
args: [{
|
|
141
|
+
imports: [...HlmEmptyImports],
|
|
142
|
+
exports: [...HlmEmptyImports],
|
|
143
|
+
}]
|
|
144
|
+
}] });
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Generated bundle index. Do not edit.
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
export { HlmEmpty, HlmEmptyContent, HlmEmptyDescription, HlmEmptyHeader, HlmEmptyImports, HlmEmptyMedia, HlmEmptyModule, HlmEmptyTitle };
|
|
151
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "empty",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^22.0.0",
|
|
6
|
+
"@angular/core": "^22.0.0",
|
|
7
|
+
"@spartan-ng/brain": "^1.1.1"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"module": "fesm2022/empty.mjs",
|
|
14
|
+
"typings": "types/empty.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
"./package.json": {
|
|
17
|
+
"default": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./types/empty.d.ts",
|
|
21
|
+
"default": "./fesm2022/empty.mjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"type": "module"
|
|
25
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare class HlmEmpty {
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmpty, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmEmpty, "[hlmEmpty],hlm-empty", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class HlmEmptyContent {
|
|
12
|
+
constructor();
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmptyContent, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmEmptyContent, "[hlmEmptyContent],hlm-empty-content", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare class HlmEmptyDescription {
|
|
18
|
+
constructor();
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmptyDescription, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmEmptyDescription, "[hlmEmptyDescription]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class HlmEmptyHeader {
|
|
24
|
+
constructor();
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmptyHeader, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmEmptyHeader, "[hlmEmptyHeader],hlm-empty-header", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare const emptyMediaVariants: (props?: ({
|
|
30
|
+
variant?: "default" | "icon" | null | undefined;
|
|
31
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
32
|
+
type EmptyMediaVariants = VariantProps<typeof emptyMediaVariants>;
|
|
33
|
+
declare class HlmEmptyMedia {
|
|
34
|
+
readonly variant: i0.InputSignal<"default" | "icon" | null | undefined>;
|
|
35
|
+
constructor();
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmptyMedia, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmEmptyMedia, "[hlmEmptyMedia],hlm-empty-media", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class HlmEmptyTitle {
|
|
41
|
+
constructor();
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmptyTitle, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmEmptyTitle, "[hlmEmptyTitle]", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const HlmEmptyImports: readonly [typeof HlmEmpty, typeof HlmEmptyContent, typeof HlmEmptyDescription, typeof HlmEmptyHeader, typeof HlmEmptyTitle, typeof HlmEmptyMedia];
|
|
47
|
+
declare class HlmEmptyModule {
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmEmptyModule, never>;
|
|
49
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HlmEmptyModule, never, [typeof HlmEmpty, typeof HlmEmptyContent, typeof HlmEmptyDescription, typeof HlmEmptyHeader, typeof HlmEmptyTitle, typeof HlmEmptyMedia], [typeof HlmEmpty, typeof HlmEmptyContent, typeof HlmEmptyDescription, typeof HlmEmptyHeader, typeof HlmEmptyTitle, typeof HlmEmptyMedia]>;
|
|
50
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HlmEmptyModule>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { HlmEmpty, HlmEmptyContent, HlmEmptyDescription, HlmEmptyHeader, HlmEmptyImports, HlmEmptyMedia, HlmEmptyModule, HlmEmptyTitle };
|
|
54
|
+
export type { EmptyMediaVariants };
|