@egose/shadcn-theme-ng 0.0.26 → 0.0.28
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/LICENSE +201 -0
- package/README.md +107 -2
- package/accordion/fesm2022/accordion.mjs +42 -37
- package/accordion/fesm2022/accordion.mjs.map +1 -1
- package/accordion/package.json +25 -0
- package/accordion/{index.d.ts → types/accordion.d.ts} +1 -1
- package/alert/fesm2022/alert.mjs +32 -27
- package/alert/fesm2022/alert.mjs.map +1 -1
- 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/fesm2022/alert-dialog.mjs.map +1 -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/fesm2022/aspect-ratio.mjs.map +1 -0
- package/aspect-ratio/package.json +25 -0
- package/aspect-ratio/types/aspect-ratio.d.ts +21 -0
- package/autocomplete/fesm2022/autocomplete.mjs +323 -457
- package/autocomplete/fesm2022/autocomplete.mjs.map +1 -1
- 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/fesm2022/avatar.mjs.map +1 -0
- package/avatar/package.json +25 -0
- package/avatar/types/avatar.d.ts +50 -0
- package/badge/fesm2022/badge.mjs +16 -10
- package/badge/fesm2022/badge.mjs.map +1 -1
- package/badge/package.json +25 -0
- package/basic-alert/fesm2022/basic-alert.mjs +12 -8
- package/basic-alert/fesm2022/basic-alert.mjs.map +1 -1
- package/basic-alert/package.json +24 -0
- package/breadcrumb/README.md +11 -0
- package/breadcrumb/fesm2022/breadcrumb.mjs +224 -0
- package/breadcrumb/fesm2022/breadcrumb.mjs.map +1 -0
- package/breadcrumb/package.json +25 -0
- package/breadcrumb/types/breadcrumb.d.ts +57 -0
- package/button/fesm2022/button.mjs +100 -26
- package/button/fesm2022/button.mjs.map +1 -1
- package/button/package.json +25 -0
- package/button/{index.d.ts → types/button.d.ts} +30 -9
- package/button-group/README.md +11 -0
- package/button-group/fesm2022/button-group.mjs +102 -0
- package/button-group/fesm2022/button-group.mjs.map +1 -0
- package/button-group/package.json +25 -0
- package/button-group/types/button-group.d.ts +30 -0
- package/calendar/fesm2022/calendar.mjs +868 -546
- package/calendar/fesm2022/calendar.mjs.map +1 -1
- 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/fesm2022/card.mjs.map +1 -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 +309 -0
- package/carousel/fesm2022/carousel.mjs.map +1 -0
- package/carousel/package.json +25 -0
- package/carousel/types/carousel.d.ts +84 -0
- package/checkbox/fesm2022/checkbox.mjs +25 -20
- package/checkbox/fesm2022/checkbox.mjs.map +1 -1
- package/checkbox/package.json +24 -0
- package/collapsible/README.md +11 -0
- package/collapsible/fesm2022/collapsible.mjs +77 -0
- package/collapsible/fesm2022/collapsible.mjs.map +1 -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 +683 -0
- package/combobox/fesm2022/combobox.mjs.map +1 -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 +361 -0
- package/command/fesm2022/command.mjs.map +1 -0
- package/command/package.json +25 -0
- package/command/types/command.d.ts +89 -0
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +19 -8
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs.map +1 -1
- package/confirmation-dialog/package.json +24 -0
- package/context-menu/README.md +11 -0
- package/context-menu/fesm2022/context-menu.mjs +89 -0
- package/context-menu/fesm2022/context-menu.mjs.map +1 -0
- package/context-menu/package.json +25 -0
- package/context-menu/types/context-menu.d.ts +34 -0
- package/date-picker/fesm2022/date-picker.mjs +1262 -307
- package/date-picker/fesm2022/date-picker.mjs.map +1 -1
- package/date-picker/package.json +24 -0
- package/date-picker/types/date-picker.d.ts +551 -0
- package/dialog/fesm2022/dialog.mjs +137 -108
- package/dialog/fesm2022/dialog.mjs.map +1 -1
- 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 +271 -0
- package/drawer/fesm2022/drawer.mjs.map +1 -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 +542 -0
- package/dropdown-menu/fesm2022/dropdown-menu.mjs.map +1 -0
- package/dropdown-menu/package.json +25 -0
- package/dropdown-menu/types/dropdown-menu.d.ts +176 -0
- package/empty/README.md +11 -0
- package/empty/fesm2022/empty.mjs +151 -0
- package/empty/fesm2022/empty.mjs.map +1 -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 +367 -0
- package/field/fesm2022/field.mjs.map +1 -0
- package/field/package.json +25 -0
- package/field/types/field.d.ts +107 -0
- package/form-checkbox/fesm2022/form-checkbox.mjs +39 -22
- package/form-checkbox/fesm2022/form-checkbox.mjs.map +1 -1
- package/form-checkbox/package.json +24 -0
- package/form-date-picker/fesm2022/form-date-picker.mjs +58 -51
- package/form-date-picker/fesm2022/form-date-picker.mjs.map +1 -1
- package/form-date-picker/package.json +24 -0
- package/form-field/fesm2022/form-field.mjs +39 -27
- package/form-field/fesm2022/form-field.mjs.map +1 -1
- package/form-field/package.json +25 -0
- package/form-field/{index.d.ts → types/form-field.d.ts} +4 -3
- package/form-field-simple/fesm2022/form-field-simple.mjs +15 -10
- package/form-field-simple/fesm2022/form-field-simple.mjs.map +1 -1
- package/form-field-simple/package.json +24 -0
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +44 -25
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +1 -1
- package/form-searchable-multiselect/package.json +24 -0
- package/form-select/fesm2022/form-select.mjs +132 -71
- package/form-select/fesm2022/form-select.mjs.map +1 -1
- package/form-select/package.json +24 -0
- package/form-text-input/fesm2022/form-text-input.mjs +68 -39
- package/form-text-input/fesm2022/form-text-input.mjs.map +1 -1
- package/form-text-input/package.json +24 -0
- package/form-textarea/fesm2022/form-textarea.mjs +54 -30
- package/form-textarea/fesm2022/form-textarea.mjs.map +1 -1
- package/form-textarea/package.json +24 -0
- package/hover-card/README.md +11 -0
- package/hover-card/fesm2022/hover-card.mjs +123 -0
- package/hover-card/fesm2022/hover-card.mjs.map +1 -0
- package/hover-card/package.json +25 -0
- package/hover-card/types/hover-card.d.ts +36 -0
- package/icon/fesm2022/icon.mjs +12 -10
- package/icon/fesm2022/icon.mjs.map +1 -1
- package/icon/package.json +25 -0
- package/input/fesm2022/input.mjs +20 -70
- package/input/fesm2022/input.mjs.map +1 -1
- package/input/package.json +25 -0
- package/input/types/input.d.ts +18 -0
- package/input-group/README.md +11 -0
- package/input-group/fesm2022/input-group.mjs +199 -0
- package/input-group/fesm2022/input-group.mjs.map +1 -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/fesm2022/input-otp.mjs.map +1 -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/fesm2022/item.mjs.map +1 -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/fesm2022/kbd.mjs.map +1 -0
- package/kbd/package.json +25 -0
- package/kbd/types/kbd.d.ts +22 -0
- package/label/fesm2022/label.mjs +11 -10
- package/label/fesm2022/label.mjs.map +1 -1
- package/label/package.json +25 -0
- package/layout-simple/fesm2022/layout-simple.mjs +438 -325
- package/layout-simple/fesm2022/layout-simple.mjs.map +1 -1
- package/layout-simple/package.json +24 -0
- package/layout-simple/{index.d.ts → types/layout-simple.d.ts} +28 -17
- package/menubar/README.md +11 -0
- package/menubar/fesm2022/menubar.mjs +108 -0
- package/menubar/fesm2022/menubar.mjs.map +1 -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/fesm2022/native-select.mjs.map +1 -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 +206 -0
- package/navigation-menu/fesm2022/navigation-menu.mjs.map +1 -0
- package/navigation-menu/package.json +25 -0
- package/navigation-menu/types/navigation-menu.d.ts +54 -0
- package/package.json +223 -81
- package/pagination/README.md +11 -0
- package/pagination/fesm2022/pagination.mjs +808 -0
- package/pagination/fesm2022/pagination.mjs.map +1 -0
- package/pagination/package.json +25 -0
- package/pagination/types/pagination.d.ts +192 -0
- package/popover/fesm2022/popover.mjs +121 -27
- package/popover/fesm2022/popover.mjs.map +1 -1
- 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/fesm2022/progress.mjs.map +1 -0
- package/progress/package.json +25 -0
- package/progress/types/progress.d.ts +27 -0
- package/radio-group/fesm2022/radio-group.mjs +96 -62
- package/radio-group/fesm2022/radio-group.mjs.map +1 -1
- package/radio-group/package.json +25 -0
- package/radio-group/{index.d.ts → types/radio-group.d.ts} +22 -14
- package/resizable/README.md +11 -0
- package/resizable/fesm2022/resizable.mjs +111 -0
- package/resizable/fesm2022/resizable.mjs.map +1 -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/fesm2022/scroll-area.mjs.map +1 -0
- package/scroll-area/package.json +25 -0
- package/scroll-area/types/scroll-area.d.ts +16 -0
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +92 -88
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs.map +1 -1
- package/searchable-multiselect/package.json +24 -0
- package/searchable-multiselect/{index.d.ts → types/searchable-multiselect.d.ts} +13 -24
- package/select/fesm2022/select.mjs +371 -189
- package/select/fesm2022/select.mjs.map +1 -1
- package/select/package.json +25 -0
- package/select/types/select.d.ts +119 -0
- package/separator/fesm2022/separator.mjs +16 -14
- package/separator/fesm2022/separator.mjs.map +1 -1
- package/separator/package.json +24 -0
- package/separator/{index.d.ts → types/separator.d.ts} +4 -5
- package/sheet/fesm2022/sheet.mjs +57 -51
- package/sheet/fesm2022/sheet.mjs.map +1 -1
- package/sheet/package.json +24 -0
- package/sidebar/README.md +11 -0
- package/sidebar/fesm2022/sidebar.mjs +948 -0
- package/sidebar/fesm2022/sidebar.mjs.map +1 -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/fesm2022/skeleton.mjs.map +1 -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 +144 -0
- package/slider/fesm2022/slider.mjs.map +1 -0
- package/slider/package.json +25 -0
- package/slider/types/slider.d.ts +19 -0
- package/sonner/fesm2022/sonner.mjs +30 -35
- package/sonner/fesm2022/sonner.mjs.map +1 -1
- package/sonner/package.json +25 -0
- package/spinner/fesm2022/spinner.mjs +18 -14
- package/spinner/fesm2022/spinner.mjs.map +1 -1
- package/spinner/package.json +25 -0
- package/switch/fesm2022/switch.mjs +29 -26
- package/switch/fesm2022/switch.mjs.map +1 -1
- package/switch/package.json +25 -0
- package/table/README.md +11 -0
- package/table/fesm2022/table.mjs +211 -0
- package/table/fesm2022/table.mjs.map +1 -0
- package/table/package.json +25 -0
- package/table/types/table.d.ts +87 -0
- package/tabs/fesm2022/tabs.mjs +131 -103
- package/tabs/fesm2022/tabs.mjs.map +1 -1
- 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/fesm2022/textarea.mjs.map +1 -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/fesm2022/toggle.mjs.map +1 -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/fesm2022/toggle-group.mjs.map +1 -0
- package/toggle-group/package.json +25 -0
- package/toggle-group/types/toggle-group.d.ts +39 -0
- package/tooltip/fesm2022/tooltip.mjs +33 -54
- package/tooltip/fesm2022/tooltip.mjs.map +1 -1
- 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/fesm2022/typography.mjs.map +1 -0
- package/typography/package.json +25 -0
- package/typography/types/typography.d.ts +94 -0
- package/utils/fesm2022/utils.mjs +184 -1
- package/utils/fesm2022/utils.mjs.map +1 -1
- package/utils/package.json +25 -0
- package/utils/types/utils.d.ts +13 -0
- package/autocomplete/index.d.ts +0 -162
- package/calendar/index.d.ts +0 -111
- package/date-picker/index.d.ts +0 -227
- package/dialog/index.d.ts +0 -89
- package/exports.json +0 -1
- package/input/index.d.ts +0 -41
- package/menu/README.md +0 -64
- package/menu/fesm2022/menu.mjs +0 -449
- package/menu/fesm2022/menu.mjs.map +0 -1
- package/menu/index.d.ts +0 -137
- package/popover/index.d.ts +0 -30
- package/select/index.d.ts +0 -92
- package/tabs/index.d.ts +0 -71
- package/tooltip/index.d.ts +0 -21
- 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/checkbox/{index.d.ts → types/checkbox.d.ts} +0 -0
- /package/confirmation-dialog/{index.d.ts → types/confirmation-dialog.d.ts} +0 -0
- /package/form-checkbox/{index.d.ts → types/form-checkbox.d.ts} +0 -0
- /package/form-date-picker/{index.d.ts → types/form-date-picker.d.ts} +0 -0
- /package/form-field-simple/{index.d.ts → types/form-field-simple.d.ts} +0 -0
- /package/form-searchable-multiselect/{index.d.ts → types/form-searchable-multiselect.d.ts} +0 -0
- /package/form-select/{index.d.ts → types/form-select.d.ts} +0 -0
- /package/form-text-input/{index.d.ts → types/form-text-input.d.ts} +0 -0
- /package/form-textarea/{index.d.ts → types/form-textarea.d.ts} +0 -0
- /package/icon/{index.d.ts → types/icon.d.ts} +0 -0
- /package/label/{index.d.ts → types/label.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
|
@@ -1,68 +1,47 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/tooltip';
|
|
4
|
-
import {
|
|
4
|
+
import { provideBrnTooltipDefaultOptions, BrnTooltip } from '@spartan-ng/brain/tooltip';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
6
|
+
import { cva } from 'class-variance-authority';
|
|
5
7
|
|
|
8
|
+
const DEFAULT_TOOLTIP_SVG_CLASS = 'bg-foreground fill-foreground z-50 block size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]';
|
|
9
|
+
const DEFAULT_TOOLTIP_CONTENT_CLASSES = hlm('data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs bg-foreground text-background data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) text-balance');
|
|
10
|
+
const tooltipPositionVariants = cva('absolute', {
|
|
11
|
+
variants: {
|
|
12
|
+
position: {
|
|
13
|
+
top: 'bottom-0 left-[calc(50%-5px)] translate-y-full',
|
|
14
|
+
bottom: '-top-2.5 left-[calc(50%-5px)] translate-y-0 rotate-180',
|
|
15
|
+
left: '-end-2.5 top-[calc(50%-5px)] translate-y-0 rotate-270 rtl:-rotate-270',
|
|
16
|
+
right: '-start-2.5 top-[calc(50%-5px)] translate-y-0 rotate-90 rtl:-rotate-90',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
});
|
|
6
20
|
class HlmTooltip {
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: HlmTooltip, decorators: [{
|
|
11
|
-
type: Component,
|
|
12
|
-
args: [{
|
|
13
|
-
selector: 'hlm-tooltip',
|
|
14
|
-
encapsulation: ViewEncapsulation.None,
|
|
15
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
-
host: {
|
|
17
|
-
'[style]': '{display: "contents"}',
|
|
18
|
-
},
|
|
19
|
-
hostDirectives: [BrnTooltip],
|
|
20
|
-
template: ` <ng-content /> `,
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
|
|
24
|
-
const DEFAULT_TOOLTIP_CONTENT_CLASSES = 'bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 z-50 w-fit rounded-md px-3 py-1.5 text-xs text-balance ' +
|
|
25
|
-
'data-[state=open]:animate-in ' +
|
|
26
|
-
'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 ' +
|
|
27
|
-
'data-[side=below]:slide-in-from-top-2 data-[side=above]:slide-in-from-bottom-2 ' +
|
|
28
|
-
'data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 ';
|
|
29
|
-
class HlmTooltipTrigger {
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: HlmTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.1", type: HlmTooltipTrigger, isStandalone: true, selector: "[hlmTooltipTrigger]", providers: [
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmTooltip, isStandalone: true, selector: "[hlmTooltip]", providers: [
|
|
32
23
|
provideBrnTooltipDefaultOptions({
|
|
33
|
-
|
|
34
|
-
hideDelay: 300,
|
|
35
|
-
exitAnimationDuration: 150,
|
|
24
|
+
svgClasses: DEFAULT_TOOLTIP_SVG_CLASS,
|
|
36
25
|
tooltipContentClasses: DEFAULT_TOOLTIP_CONTENT_CLASSES,
|
|
26
|
+
arrowClasses: (position) => hlm(tooltipPositionVariants({ position })),
|
|
37
27
|
}),
|
|
38
|
-
], hostDirectives: [{ directive: i1.
|
|
28
|
+
], hostDirectives: [{ directive: i1.BrnTooltip, inputs: ["brnTooltip", "hlmTooltip", "position", "position", "hideDelay", "hideDelay", "showDelay", "showDelay", "tooltipDisabled", "tooltipDisabled"] }], ngImport: i0 });
|
|
39
29
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTooltip, decorators: [{
|
|
41
31
|
type: Directive,
|
|
42
32
|
args: [{
|
|
43
|
-
selector: '[
|
|
33
|
+
selector: '[hlmTooltip]',
|
|
44
34
|
providers: [
|
|
45
35
|
provideBrnTooltipDefaultOptions({
|
|
46
|
-
|
|
47
|
-
hideDelay: 300,
|
|
48
|
-
exitAnimationDuration: 150,
|
|
36
|
+
svgClasses: DEFAULT_TOOLTIP_SVG_CLASS,
|
|
49
37
|
tooltipContentClasses: DEFAULT_TOOLTIP_CONTENT_CLASSES,
|
|
38
|
+
arrowClasses: (position) => hlm(tooltipPositionVariants({ position })),
|
|
50
39
|
}),
|
|
51
40
|
],
|
|
52
41
|
hostDirectives: [
|
|
53
42
|
{
|
|
54
|
-
directive:
|
|
55
|
-
inputs: [
|
|
56
|
-
'brnTooltipDisabled: hlmTooltipDisabled',
|
|
57
|
-
'brnTooltipTrigger: hlmTooltipTrigger',
|
|
58
|
-
'aria-describedby',
|
|
59
|
-
'position',
|
|
60
|
-
'positionAtOrigin',
|
|
61
|
-
'hideDelay',
|
|
62
|
-
'showDelay',
|
|
63
|
-
'exitAnimationDuration',
|
|
64
|
-
'touchGestures',
|
|
65
|
-
],
|
|
43
|
+
directive: BrnTooltip,
|
|
44
|
+
inputs: ['brnTooltip: hlmTooltip', 'position', 'hideDelay', 'showDelay', 'tooltipDisabled'],
|
|
66
45
|
},
|
|
67
46
|
],
|
|
68
47
|
}]
|
|
@@ -71,13 +50,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
71
50
|
/*
|
|
72
51
|
* Public API Surface of tooltip
|
|
73
52
|
*/
|
|
74
|
-
const HlmTooltipImports = [HlmTooltip
|
|
53
|
+
const HlmTooltipImports = [HlmTooltip];
|
|
75
54
|
class HlmTooltipModule {
|
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
78
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
56
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: HlmTooltipModule, imports: [HlmTooltip], exports: [HlmTooltip] });
|
|
57
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTooltipModule });
|
|
79
58
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTooltipModule, decorators: [{
|
|
81
60
|
type: NgModule,
|
|
82
61
|
args: [{
|
|
83
62
|
imports: [...HlmTooltipImports],
|
|
@@ -89,5 +68,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
89
68
|
* Generated bundle index. Do not edit.
|
|
90
69
|
*/
|
|
91
70
|
|
|
92
|
-
export { HlmTooltip, HlmTooltipImports, HlmTooltipModule,
|
|
71
|
+
export { DEFAULT_TOOLTIP_CONTENT_CLASSES, DEFAULT_TOOLTIP_SVG_CLASS, HlmTooltip, HlmTooltipImports, HlmTooltipModule, tooltipPositionVariants };
|
|
93
72
|
//# sourceMappingURL=tooltip.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.mjs","sources":["../../../projects/tooltip/src/lib/tooltip.ts","../../../projects/tooltip/src/
|
|
1
|
+
{"version":3,"file":"tooltip.mjs","sources":["../../../projects/tooltip/src/lib/hlm-tooltip.ts","../../../projects/tooltip/src/public-api.ts","../../../projects/tooltip/src/tooltip.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnTooltip, BrnTooltipPosition, provideBrnTooltipDefaultOptions } from '@spartan-ng/brain/tooltip';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport { cva } from 'class-variance-authority';\n\nexport const DEFAULT_TOOLTIP_SVG_CLASS =\n 'bg-foreground fill-foreground z-50 block size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]';\n\nexport const DEFAULT_TOOLTIP_CONTENT_CLASSES = hlm(\n 'data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs bg-foreground text-background data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) text-balance',\n);\n\nexport const tooltipPositionVariants = cva('absolute', {\n variants: {\n position: {\n top: 'bottom-0 left-[calc(50%-5px)] translate-y-full',\n bottom: '-top-2.5 left-[calc(50%-5px)] translate-y-0 rotate-180',\n left: '-end-2.5 top-[calc(50%-5px)] translate-y-0 rotate-270 rtl:-rotate-270',\n right: '-start-2.5 top-[calc(50%-5px)] translate-y-0 rotate-90 rtl:-rotate-90',\n },\n },\n});\n\n@Directive({\n selector: '[hlmTooltip]',\n providers: [\n provideBrnTooltipDefaultOptions({\n svgClasses: DEFAULT_TOOLTIP_SVG_CLASS,\n tooltipContentClasses: DEFAULT_TOOLTIP_CONTENT_CLASSES,\n arrowClasses: (position: BrnTooltipPosition) => hlm(tooltipPositionVariants({ position })),\n }),\n ],\n hostDirectives: [\n {\n directive: BrnTooltip,\n inputs: ['brnTooltip: hlmTooltip', 'position', 'hideDelay', 'showDelay', 'tooltipDisabled'],\n },\n ],\n})\nexport class HlmTooltip {}\n","/*\n * Public API Surface of tooltip\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { HlmTooltip } from './lib/hlm-tooltip';\n\nexport * from './lib/hlm-tooltip';\n\nexport const HlmTooltipImports = [HlmTooltip] as const;\n\n@NgModule({\n imports: [...HlmTooltipImports],\n exports: [...HlmTooltipImports],\n})\nexport class HlmTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\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ng/brain": "^0.0.1-alpha.512"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"module": "fesm2022/tooltip.mjs",
|
|
14
|
+
"typings": "types/tooltip.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
"./package.json": {
|
|
17
|
+
"default": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./types/tooltip.d.ts",
|
|
21
|
+
"default": "./fesm2022/tooltip.mjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"type": "module"
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import * as i1 from '@spartan-ng/brain/tooltip';
|
|
4
|
+
|
|
5
|
+
declare const DEFAULT_TOOLTIP_SVG_CLASS = "bg-foreground fill-foreground z-50 block size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]";
|
|
6
|
+
declare const DEFAULT_TOOLTIP_CONTENT_CLASSES: string;
|
|
7
|
+
declare const tooltipPositionVariants: (props?: ({
|
|
8
|
+
position?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare class HlmTooltip {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmTooltip, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTooltip, "[hlmTooltip]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnTooltip; inputs: { "brnTooltip": "hlmTooltip"; "position": "position"; "hideDelay": "hideDelay"; "showDelay": "showDelay"; "tooltipDisabled": "tooltipDisabled"; }; outputs: {}; }]>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare const HlmTooltipImports: readonly [typeof HlmTooltip];
|
|
16
|
+
declare class HlmTooltipModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmTooltipModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HlmTooltipModule, never, [typeof HlmTooltip], [typeof HlmTooltip]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HlmTooltipModule>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { DEFAULT_TOOLTIP_CONTENT_CLASSES, DEFAULT_TOOLTIP_SVG_CLASS, HlmTooltip, HlmTooltipImports, HlmTooltipModule, tooltipPositionVariants };
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
|
+
import { classes } from '@egose/shadcn-theme-ng/utils';
|
|
4
|
+
|
|
5
|
+
const hlmBlockquote = 'mt-6 border-border border-l-2 pl-6 italic';
|
|
6
|
+
class HlmBlockquote {
|
|
7
|
+
constructor() {
|
|
8
|
+
classes(() => hlmBlockquote);
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmBlockquote, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmBlockquote, isStandalone: true, selector: "[hlmBlockquote]", ngImport: i0 });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmBlockquote, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: '[hlmBlockquote]',
|
|
17
|
+
}]
|
|
18
|
+
}], ctorParameters: () => [] });
|
|
19
|
+
|
|
20
|
+
const hlmCode = 'relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold';
|
|
21
|
+
class HlmCode {
|
|
22
|
+
constructor() {
|
|
23
|
+
classes(() => hlmCode);
|
|
24
|
+
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmCode, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
26
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmCode, isStandalone: true, selector: "[hlmCode]", ngImport: i0 });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmCode, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: '[hlmCode]',
|
|
32
|
+
}]
|
|
33
|
+
}], ctorParameters: () => [] });
|
|
34
|
+
|
|
35
|
+
const hlmH1 = 'scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl';
|
|
36
|
+
class HlmH1 {
|
|
37
|
+
constructor() {
|
|
38
|
+
classes(() => hlmH1);
|
|
39
|
+
}
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH1, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmH1, isStandalone: true, selector: "[hlmH1]", ngImport: i0 });
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH1, decorators: [{
|
|
44
|
+
type: Directive,
|
|
45
|
+
args: [{
|
|
46
|
+
selector: '[hlmH1]',
|
|
47
|
+
}]
|
|
48
|
+
}], ctorParameters: () => [] });
|
|
49
|
+
|
|
50
|
+
const hlmH2 = 'scroll-m-20 border-border border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0';
|
|
51
|
+
class HlmH2 {
|
|
52
|
+
constructor() {
|
|
53
|
+
classes(() => hlmH2);
|
|
54
|
+
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH2, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmH2, isStandalone: true, selector: "[hlmH2]", ngImport: i0 });
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH2, decorators: [{
|
|
59
|
+
type: Directive,
|
|
60
|
+
args: [{
|
|
61
|
+
selector: '[hlmH2]',
|
|
62
|
+
}]
|
|
63
|
+
}], ctorParameters: () => [] });
|
|
64
|
+
|
|
65
|
+
const hlmH3 = 'scroll-m-20 text-2xl font-semibold tracking-tight';
|
|
66
|
+
class HlmH3 {
|
|
67
|
+
constructor() {
|
|
68
|
+
classes(() => hlmH3);
|
|
69
|
+
}
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH3, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
71
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmH3, isStandalone: true, selector: "[hlmH3]", ngImport: i0 });
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH3, decorators: [{
|
|
74
|
+
type: Directive,
|
|
75
|
+
args: [{
|
|
76
|
+
selector: '[hlmH3]',
|
|
77
|
+
}]
|
|
78
|
+
}], ctorParameters: () => [] });
|
|
79
|
+
|
|
80
|
+
const hlmH4 = 'scroll-m-20 text-xl font-semibold tracking-tight';
|
|
81
|
+
class HlmH4 {
|
|
82
|
+
constructor() {
|
|
83
|
+
classes(() => hlmH4);
|
|
84
|
+
}
|
|
85
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH4, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
86
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmH4, isStandalone: true, selector: "[hlmH4]", ngImport: i0 });
|
|
87
|
+
}
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmH4, decorators: [{
|
|
89
|
+
type: Directive,
|
|
90
|
+
args: [{
|
|
91
|
+
selector: '[hlmH4]',
|
|
92
|
+
}]
|
|
93
|
+
}], ctorParameters: () => [] });
|
|
94
|
+
|
|
95
|
+
const hlmLarge = 'text-lg font-semibold';
|
|
96
|
+
class HlmLarge {
|
|
97
|
+
constructor() {
|
|
98
|
+
classes(() => hlmLarge);
|
|
99
|
+
}
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmLarge, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
101
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmLarge, isStandalone: true, selector: "[hlmLarge]", ngImport: i0 });
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmLarge, decorators: [{
|
|
104
|
+
type: Directive,
|
|
105
|
+
args: [{
|
|
106
|
+
selector: '[hlmLarge]',
|
|
107
|
+
}]
|
|
108
|
+
}], ctorParameters: () => [] });
|
|
109
|
+
|
|
110
|
+
const hlmLead = 'text-xl text-muted-foreground';
|
|
111
|
+
class HlmLead {
|
|
112
|
+
constructor() {
|
|
113
|
+
classes(() => hlmLead);
|
|
114
|
+
}
|
|
115
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmLead, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
116
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmLead, isStandalone: true, selector: "[hlmLead]", ngImport: i0 });
|
|
117
|
+
}
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmLead, decorators: [{
|
|
119
|
+
type: Directive,
|
|
120
|
+
args: [{
|
|
121
|
+
selector: '[hlmLead]',
|
|
122
|
+
}]
|
|
123
|
+
}], ctorParameters: () => [] });
|
|
124
|
+
|
|
125
|
+
const hlmMuted = 'text-sm text-muted-foreground';
|
|
126
|
+
class HlmMuted {
|
|
127
|
+
constructor() {
|
|
128
|
+
classes(() => hlmMuted);
|
|
129
|
+
}
|
|
130
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmMuted, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
131
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmMuted, isStandalone: true, selector: "[hlmMuted]", ngImport: i0 });
|
|
132
|
+
}
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmMuted, decorators: [{
|
|
134
|
+
type: Directive,
|
|
135
|
+
args: [{
|
|
136
|
+
selector: '[hlmMuted]',
|
|
137
|
+
}]
|
|
138
|
+
}], ctorParameters: () => [] });
|
|
139
|
+
|
|
140
|
+
const hlmP = 'leading-7 [&:not(:first-child)]:mt-6';
|
|
141
|
+
class HlmP {
|
|
142
|
+
constructor() {
|
|
143
|
+
classes(() => hlmP);
|
|
144
|
+
}
|
|
145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmP, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
146
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmP, isStandalone: true, selector: "[hlmP]", ngImport: i0 });
|
|
147
|
+
}
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmP, decorators: [{
|
|
149
|
+
type: Directive,
|
|
150
|
+
args: [{
|
|
151
|
+
selector: '[hlmP]',
|
|
152
|
+
}]
|
|
153
|
+
}], ctorParameters: () => [] });
|
|
154
|
+
|
|
155
|
+
const hlmSmall = 'text-sm font-medium leading-none';
|
|
156
|
+
class HlmSmall {
|
|
157
|
+
constructor() {
|
|
158
|
+
classes(() => hlmSmall);
|
|
159
|
+
}
|
|
160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmSmall, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
161
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmSmall, isStandalone: true, selector: "[hlmSmall]", ngImport: i0 });
|
|
162
|
+
}
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmSmall, decorators: [{
|
|
164
|
+
type: Directive,
|
|
165
|
+
args: [{
|
|
166
|
+
selector: '[hlmSmall]',
|
|
167
|
+
}]
|
|
168
|
+
}], ctorParameters: () => [] });
|
|
169
|
+
|
|
170
|
+
const hlmUl = 'my-6 ml-6 list-disc [&>li]:mt-2';
|
|
171
|
+
class HlmUl {
|
|
172
|
+
constructor() {
|
|
173
|
+
classes(() => hlmUl);
|
|
174
|
+
}
|
|
175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmUl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
176
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmUl, isStandalone: true, selector: "[hlmUl]", ngImport: i0 });
|
|
177
|
+
}
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmUl, decorators: [{
|
|
179
|
+
type: Directive,
|
|
180
|
+
args: [{
|
|
181
|
+
selector: '[hlmUl]',
|
|
182
|
+
}]
|
|
183
|
+
}], ctorParameters: () => [] });
|
|
184
|
+
|
|
185
|
+
/*
|
|
186
|
+
* Public API Surface of typography
|
|
187
|
+
*/
|
|
188
|
+
const HlmTypographyImports = [
|
|
189
|
+
HlmBlockquote,
|
|
190
|
+
HlmCode,
|
|
191
|
+
HlmH1,
|
|
192
|
+
HlmH2,
|
|
193
|
+
HlmH3,
|
|
194
|
+
HlmH4,
|
|
195
|
+
HlmLarge,
|
|
196
|
+
HlmLead,
|
|
197
|
+
HlmMuted,
|
|
198
|
+
HlmP,
|
|
199
|
+
HlmSmall,
|
|
200
|
+
HlmUl,
|
|
201
|
+
];
|
|
202
|
+
class HlmTypographyModule {
|
|
203
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTypographyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
204
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: HlmTypographyModule, imports: [HlmBlockquote,
|
|
205
|
+
HlmCode,
|
|
206
|
+
HlmH1,
|
|
207
|
+
HlmH2,
|
|
208
|
+
HlmH3,
|
|
209
|
+
HlmH4,
|
|
210
|
+
HlmLarge,
|
|
211
|
+
HlmLead,
|
|
212
|
+
HlmMuted,
|
|
213
|
+
HlmP,
|
|
214
|
+
HlmSmall,
|
|
215
|
+
HlmUl], exports: [HlmBlockquote,
|
|
216
|
+
HlmCode,
|
|
217
|
+
HlmH1,
|
|
218
|
+
HlmH2,
|
|
219
|
+
HlmH3,
|
|
220
|
+
HlmH4,
|
|
221
|
+
HlmLarge,
|
|
222
|
+
HlmLead,
|
|
223
|
+
HlmMuted,
|
|
224
|
+
HlmP,
|
|
225
|
+
HlmSmall,
|
|
226
|
+
HlmUl] });
|
|
227
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTypographyModule });
|
|
228
|
+
}
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmTypographyModule, decorators: [{
|
|
230
|
+
type: NgModule,
|
|
231
|
+
args: [{
|
|
232
|
+
imports: [...HlmTypographyImports],
|
|
233
|
+
exports: [...HlmTypographyImports],
|
|
234
|
+
}]
|
|
235
|
+
}] });
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Generated bundle index. Do not edit.
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
export { HlmBlockquote, HlmCode, HlmH1, HlmH2, HlmH3, HlmH4, HlmLarge, HlmLead, HlmMuted, HlmP, HlmSmall, HlmTypographyImports, HlmTypographyModule, HlmUl, hlmBlockquote, hlmCode, hlmH1, hlmH2, hlmH3, hlmH4, hlmLarge, hlmLead, hlmMuted, hlmP, hlmSmall, hlmUl };
|
|
242
|
+
//# sourceMappingURL=typography.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.mjs","sources":["../../../projects/typography/src/lib/hlm-blockquote.ts","../../../projects/typography/src/lib/hlm-code.ts","../../../projects/typography/src/lib/hlm-h1.ts","../../../projects/typography/src/lib/hlm-h2.ts","../../../projects/typography/src/lib/hlm-h3.ts","../../../projects/typography/src/lib/hlm-h4.ts","../../../projects/typography/src/lib/hlm-large.ts","../../../projects/typography/src/lib/hlm-lead.ts","../../../projects/typography/src/lib/hlm-muted.ts","../../../projects/typography/src/lib/hlm-p.ts","../../../projects/typography/src/lib/hlm-small.ts","../../../projects/typography/src/lib/hlm-ul.ts","../../../projects/typography/src/public-api.ts","../../../projects/typography/src/typography.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmBlockquote = 'mt-6 border-border border-l-2 pl-6 italic';\n\n@Directive({\n selector: '[hlmBlockquote]',\n})\nexport class HlmBlockquote {\n constructor() {\n classes(() => hlmBlockquote);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmCode = 'relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold';\n\n@Directive({\n selector: '[hlmCode]',\n})\nexport class HlmCode {\n constructor() {\n classes(() => hlmCode);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmH1 = 'scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl';\n\n@Directive({\n selector: '[hlmH1]',\n})\nexport class HlmH1 {\n constructor() {\n classes(() => hlmH1);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmH2 =\n 'scroll-m-20 border-border border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0';\n\n@Directive({\n selector: '[hlmH2]',\n})\nexport class HlmH2 {\n constructor() {\n classes(() => hlmH2);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmH3 = 'scroll-m-20 text-2xl font-semibold tracking-tight';\n\n@Directive({\n selector: '[hlmH3]',\n})\nexport class HlmH3 {\n constructor() {\n classes(() => hlmH3);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmH4 = 'scroll-m-20 text-xl font-semibold tracking-tight';\n\n@Directive({\n selector: '[hlmH4]',\n})\nexport class HlmH4 {\n constructor() {\n classes(() => hlmH4);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmLarge = 'text-lg font-semibold';\n\n@Directive({\n selector: '[hlmLarge]',\n})\nexport class HlmLarge {\n constructor() {\n classes(() => hlmLarge);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmLead = 'text-xl text-muted-foreground';\n\n@Directive({\n selector: '[hlmLead]',\n})\nexport class HlmLead {\n constructor() {\n classes(() => hlmLead);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmMuted = 'text-sm text-muted-foreground';\n\n@Directive({\n selector: '[hlmMuted]',\n})\nexport class HlmMuted {\n constructor() {\n classes(() => hlmMuted);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmP = 'leading-7 [&:not(:first-child)]:mt-6';\n\n@Directive({\n selector: '[hlmP]',\n})\nexport class HlmP {\n constructor() {\n classes(() => hlmP);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmSmall = 'text-sm font-medium leading-none';\n\n@Directive({\n selector: '[hlmSmall]',\n})\nexport class HlmSmall {\n constructor() {\n classes(() => hlmSmall);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\nexport const hlmUl = 'my-6 ml-6 list-disc [&>li]:mt-2';\n\n@Directive({\n selector: '[hlmUl]',\n})\nexport class HlmUl {\n constructor() {\n classes(() => hlmUl);\n }\n}\n","/*\n * Public API Surface of typography\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { HlmBlockquote } from './lib/hlm-blockquote';\nimport { HlmCode } from './lib/hlm-code';\nimport { HlmH1 } from './lib/hlm-h1';\nimport { HlmH2 } from './lib/hlm-h2';\nimport { HlmH3 } from './lib/hlm-h3';\nimport { HlmH4 } from './lib/hlm-h4';\nimport { HlmLarge } from './lib/hlm-large';\nimport { HlmLead } from './lib/hlm-lead';\nimport { HlmMuted } from './lib/hlm-muted';\nimport { HlmP } from './lib/hlm-p';\nimport { HlmSmall } from './lib/hlm-small';\nimport { HlmUl } from './lib/hlm-ul';\n\nexport * from './lib/hlm-blockquote';\nexport * from './lib/hlm-code';\nexport * from './lib/hlm-h1';\nexport * from './lib/hlm-h2';\nexport * from './lib/hlm-h3';\nexport * from './lib/hlm-h4';\nexport * from './lib/hlm-large';\nexport * from './lib/hlm-lead';\nexport * from './lib/hlm-muted';\nexport * from './lib/hlm-p';\nexport * from './lib/hlm-small';\nexport * from './lib/hlm-ul';\n\nexport const HlmTypographyImports = [\n HlmBlockquote,\n HlmCode,\n HlmH1,\n HlmH2,\n HlmH3,\n HlmH4,\n HlmLarge,\n HlmLead,\n HlmMuted,\n HlmP,\n HlmSmall,\n HlmUl,\n];\n\n@NgModule({\n imports: [...HlmTypographyImports],\n exports: [...HlmTypographyImports],\n})\nexport class HlmTypographyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAGO,MAAM,aAAa,GAAG;MAKhB,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA;AACE,QAAA,OAAO,CAAC,MAAM,aAAa,CAAC;IAC9B;uGAHW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC5B,iBAAA;;;ACJM,MAAM,OAAO,GAAG;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,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,KAAK;;MAOM,mBAAmB,CAAA;uGAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAlB9B,aAAa;YACb,OAAO;YACP,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,QAAQ;YACR,OAAO;YACP,QAAQ;YACR,IAAI;YACJ,QAAQ;AACR,YAAA,KAAK,aAXL,aAAa;YACb,OAAO;YACP,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,QAAQ;YACR,OAAO;YACP,QAAQ;YACR,IAAI;YACJ,QAAQ;YACR,KAAK,CAAA,EAAA,CAAA;wGAOM,mBAAmB,EAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;AACnC,iBAAA;;;AClDD;;AAEG;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "typography",
|
|
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/typography.mjs",
|
|
14
|
+
"typings": "types/typography.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
"./package.json": {
|
|
17
|
+
"default": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./types/typography.d.ts",
|
|
21
|
+
"default": "./fesm2022/typography.mjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"type": "module"
|
|
25
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const hlmBlockquote = "mt-6 border-border border-l-2 pl-6 italic";
|
|
4
|
+
declare class HlmBlockquote {
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmBlockquote, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmBlockquote, "[hlmBlockquote]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const hlmCode = "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
11
|
+
declare class HlmCode {
|
|
12
|
+
constructor();
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCode, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCode, "[hlmCode]", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare const hlmH1 = "scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl";
|
|
18
|
+
declare class HlmH1 {
|
|
19
|
+
constructor();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmH1, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH1, "[hlmH1]", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare const hlmH2 = "scroll-m-20 border-border border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0";
|
|
25
|
+
declare class HlmH2 {
|
|
26
|
+
constructor();
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmH2, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH2, "[hlmH2]", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare const hlmH3 = "scroll-m-20 text-2xl font-semibold tracking-tight";
|
|
32
|
+
declare class HlmH3 {
|
|
33
|
+
constructor();
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmH3, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH3, "[hlmH3]", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare const hlmH4 = "scroll-m-20 text-xl font-semibold tracking-tight";
|
|
39
|
+
declare class HlmH4 {
|
|
40
|
+
constructor();
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmH4, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH4, "[hlmH4]", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare const hlmLarge = "text-lg font-semibold";
|
|
46
|
+
declare class HlmLarge {
|
|
47
|
+
constructor();
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmLarge, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmLarge, "[hlmLarge]", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare const hlmLead = "text-xl text-muted-foreground";
|
|
53
|
+
declare class HlmLead {
|
|
54
|
+
constructor();
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmLead, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmLead, "[hlmLead]", never, {}, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare const hlmMuted = "text-sm text-muted-foreground";
|
|
60
|
+
declare class HlmMuted {
|
|
61
|
+
constructor();
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmMuted, never>;
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmMuted, "[hlmMuted]", never, {}, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare const hlmP = "leading-7 [&:not(:first-child)]:mt-6";
|
|
67
|
+
declare class HlmP {
|
|
68
|
+
constructor();
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmP, never>;
|
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmP, "[hlmP]", never, {}, {}, never, never, true, never>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare const hlmSmall = "text-sm font-medium leading-none";
|
|
74
|
+
declare class HlmSmall {
|
|
75
|
+
constructor();
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSmall, never>;
|
|
77
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSmall, "[hlmSmall]", never, {}, {}, never, never, true, never>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare const hlmUl = "my-6 ml-6 list-disc [&>li]:mt-2";
|
|
81
|
+
declare class HlmUl {
|
|
82
|
+
constructor();
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmUl, never>;
|
|
84
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmUl, "[hlmUl]", never, {}, {}, never, never, true, never>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare const HlmTypographyImports: (typeof HlmBlockquote)[];
|
|
88
|
+
declare class HlmTypographyModule {
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmTypographyModule, never>;
|
|
90
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HlmTypographyModule, never, [typeof HlmBlockquote, typeof HlmCode, typeof HlmH1, typeof HlmH2, typeof HlmH3, typeof HlmH4, typeof HlmLarge, typeof HlmLead, typeof HlmMuted, typeof HlmP, typeof HlmSmall, typeof HlmUl], [typeof HlmBlockquote, typeof HlmCode, typeof HlmH1, typeof HlmH2, typeof HlmH3, typeof HlmH4, typeof HlmLarge, typeof HlmLead, typeof HlmMuted, typeof HlmP, typeof HlmSmall, typeof HlmUl]>;
|
|
91
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HlmTypographyModule>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { HlmBlockquote, HlmCode, HlmH1, HlmH2, HlmH3, HlmH4, HlmLarge, HlmLead, HlmMuted, HlmP, HlmSmall, HlmTypographyImports, HlmTypographyModule, HlmUl, hlmBlockquote, hlmCode, hlmH1, hlmH2, hlmH3, hlmH4, hlmLarge, hlmLead, hlmMuted, hlmP, hlmSmall, hlmUl };
|