@egose/shadcn-theme-ng-tw 0.0.15 → 0.0.16
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/accordion/fesm2022/accordion.mjs +2 -2
- package/alert/fesm2022/alert.mjs +2 -2
- package/autocomplete/fesm2022/autocomplete.mjs +3 -3
- package/badge/fesm2022/badge.mjs +1 -1
- package/basic-alert/fesm2022/basic-alert.mjs +2 -2
- package/button/fesm2022/button.mjs +2 -2
- package/calendar/fesm2022/calendar.mjs +3 -3
- package/checkbox/fesm2022/checkbox.mjs +2 -2
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +4 -4
- package/date-picker/fesm2022/date-picker.mjs +4 -4
- package/dialog/fesm2022/dialog.mjs +2 -2
- package/form-checkbox/fesm2022/form-checkbox.mjs +5 -5
- package/form-date-picker/fesm2022/form-date-picker.mjs +4 -4
- package/form-field/fesm2022/form-field.mjs +1 -1
- package/form-field-simple/fesm2022/form-field-simple.mjs +1 -1
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +5 -5
- package/form-select/fesm2022/form-select.mjs +5 -5
- package/form-text-input/fesm2022/form-text-input.mjs +4 -4
- package/form-textarea/fesm2022/form-textarea.mjs +4 -4
- package/input/fesm2022/input.mjs +1 -1
- package/label/fesm2022/label.mjs +1 -1
- package/package.json +1 -1
- package/popover/fesm2022/popover.mjs +1 -1
- package/radio-group/fesm2022/radio-group.mjs +1 -1
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +1 -1
- package/select/fesm2022/select.mjs +2 -2
- package/separator/fesm2022/separator.mjs +1 -1
- package/sonner/fesm2022/sonner.mjs +1 -1
- package/spinner/fesm2022/spinner.mjs +1 -1
- package/switch/fesm2022/switch.mjs +1 -1
- package/tabs/fesm2022/tabs.mjs +3 -3
|
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, input, computed, Directive, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/accordion';
|
|
4
4
|
import { BrnAccordion, BrnAccordionContent, BrnAccordionItem, BrnAccordionTrigger } from '@spartan-ng/brain/accordion';
|
|
5
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
6
6
|
import { provideIcons } from '@ng-icons/core';
|
|
7
7
|
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
8
|
-
import { provideHlmIconConfig } from '@egose/shadcn-theme-ng/icon';
|
|
8
|
+
import { provideHlmIconConfig } from '@egose/shadcn-theme-ng-tw/icon';
|
|
9
9
|
|
|
10
10
|
class HlmAccordion {
|
|
11
11
|
_brn = inject(BrnAccordion);
|
package/alert/fesm2022/alert.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
3
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
4
4
|
import { cva } from 'class-variance-authority';
|
|
5
|
-
import { provideHlmIconConfig } from '@egose/shadcn-theme-ng/icon';
|
|
5
|
+
import { provideHlmIconConfig } from '@egose/shadcn-theme-ng-tw/icon';
|
|
6
6
|
|
|
7
7
|
const alertVariants = cva('tw:relative tw:w-full tw:items-start tw:gap-y-0.5 tw:rounded-lg tw:border tw:px-4 tw:py-3 tw:text-sm tw:has-[>[hlmAlertIcon]]:grid tw:has-[>[hlmAlertIcon]]:grid-cols-[calc(theme(spacing.1)*4)_1fr] tw:has-[>[hlmAlertIcon]]:gap-x-3 tw:[&>[hlmAlertIcon]]:size-4 tw:[&>[hlmAlertIcon]]:translate-y-0.5 tw:[&>[hlmAlertIcon]]:text-current', {
|
|
8
8
|
variants: {
|
|
@@ -7,9 +7,9 @@ import { lucideChevronDown, lucideSearch } from '@ng-icons/lucide';
|
|
|
7
7
|
import * as i1 from '@spartan-ng/brain/autocomplete';
|
|
8
8
|
import { BrnAutocompleteGroup, BrnAutocompleteItem, BrnAutocompleteList, BrnAutocompleteSearchInput, BrnAutocomplete, BrnAutocompleteEmpty } from '@spartan-ng/brain/autocomplete';
|
|
9
9
|
import { BrnPopover, BrnPopoverContent } from '@spartan-ng/brain/popover';
|
|
10
|
-
import { provideHlmIconConfig, HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
11
|
-
import { HlmPopoverContent } from '@egose/shadcn-theme-ng/popover';
|
|
12
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
10
|
+
import { provideHlmIconConfig, HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
11
|
+
import { HlmPopoverContent } from '@egose/shadcn-theme-ng-tw/popover';
|
|
12
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
13
13
|
import { BrnDialog } from '@spartan-ng/brain/dialog';
|
|
14
14
|
|
|
15
15
|
class HlmAutocompleteEmpty {
|
package/badge/fesm2022/badge.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, signal, computed, Component } from '@angular/core';
|
|
3
3
|
import { cva } from 'class-variance-authority';
|
|
4
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
4
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
5
5
|
|
|
6
6
|
const badgeVariants = cva([
|
|
7
7
|
'tw:inline-flex',
|
|
@@ -2,8 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, Component } from '@angular/core';
|
|
3
3
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
4
4
|
import { lucideGhost, lucideLink, lucideZap, lucideThumbsUp, lucideStar, lucideBell, lucideCircleAlert, lucideBatteryWarning, lucideInfo, lucideCircleCheck } from '@ng-icons/lucide';
|
|
5
|
-
import { HlmAlert, HlmAlertIcon, HlmAlertTitle, HlmAlertDescription } from '@egose/shadcn-theme-ng/alert';
|
|
6
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
5
|
+
import { HlmAlert, HlmAlertIcon, HlmAlertTitle, HlmAlertDescription } from '@egose/shadcn-theme-ng-tw/alert';
|
|
6
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
7
7
|
|
|
8
8
|
class EgBasicAlert {
|
|
9
9
|
variant = input('info', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
@@ -3,9 +3,9 @@ import { input, signal, computed, Component, NgModule } from '@angular/core';
|
|
|
3
3
|
import { NgTemplateOutlet } from '@angular/common';
|
|
4
4
|
import * as i1 from '@spartan-ng/brain/button';
|
|
5
5
|
import { BrnButton } from '@spartan-ng/brain/button';
|
|
6
|
-
import { HlmSpinner } from '@egose/shadcn-theme-ng/spinner';
|
|
6
|
+
import { HlmSpinner } from '@egose/shadcn-theme-ng-tw/spinner';
|
|
7
7
|
import { cva } from 'class-variance-authority';
|
|
8
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
8
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
9
9
|
|
|
10
10
|
const buttonVariants = cva([
|
|
11
11
|
'tw:cursor-pointer',
|
|
@@ -4,9 +4,9 @@ import { provideIcons, NgIcon } from '@ng-icons/core';
|
|
|
4
4
|
import { lucideChevronRight, lucideChevronLeft } from '@ng-icons/lucide';
|
|
5
5
|
import { injectBrnCalendarI18n, BrnCalendar, BrnCalendarHeader, BrnCalendarNextButton, BrnCalendarPreviousButton, BrnCalendarWeekday, BrnCalendarWeek, BrnCalendarCellButton, BrnCalendarCell, BrnCalendarGrid, BrnCalendarMulti, BrnCalendarRange } from '@spartan-ng/brain/calendar';
|
|
6
6
|
import { injectDateAdapter } from '@spartan-ng/brain/date-time';
|
|
7
|
-
import { buttonVariants } from '@egose/shadcn-theme-ng/button';
|
|
8
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
9
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
7
|
+
import { buttonVariants } from '@egose/shadcn-theme-ng-tw/button';
|
|
8
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
9
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
10
10
|
|
|
11
11
|
class HlmCalendar {
|
|
12
12
|
calendarClass = input('', ...(ngDevMode ? [{ debugName: "calendarClass" }] : []));
|
|
@@ -4,8 +4,8 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
4
4
|
import { provideIcons, NgIcon } from '@ng-icons/core';
|
|
5
5
|
import { lucideCheck } from '@ng-icons/lucide';
|
|
6
6
|
import { BrnCheckbox } from '@spartan-ng/brain/checkbox';
|
|
7
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
8
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
7
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
8
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
9
9
|
|
|
10
10
|
const HLM_CHECKBOX_VALUE_ACCESSOR = {
|
|
11
11
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, Component, Injectable } from '@angular/core';
|
|
3
|
-
import { HlmButton } from '@egose/shadcn-theme-ng/button';
|
|
4
|
-
import * as i1 from '@egose/shadcn-theme-ng/dialog';
|
|
5
|
-
import { HlmDialogDescription, HlmDialogHeader, HlmDialogFooter, HlmDialogTitle } from '@egose/shadcn-theme-ng/dialog';
|
|
3
|
+
import { HlmButton } from '@egose/shadcn-theme-ng-tw/button';
|
|
4
|
+
import * as i1 from '@egose/shadcn-theme-ng-tw/dialog';
|
|
5
|
+
import { HlmDialogDescription, HlmDialogHeader, HlmDialogFooter, HlmDialogTitle } from '@egose/shadcn-theme-ng-tw/dialog';
|
|
6
6
|
import { BrnDialogRef, injectBrnDialogContext } from '@spartan-ng/brain/dialog';
|
|
7
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
7
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
8
8
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
9
9
|
import { lucideTriangleAlert } from '@ng-icons/lucide';
|
|
10
10
|
|
|
@@ -5,10 +5,10 @@ import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
|
5
5
|
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
6
6
|
import { BrnPopover, BrnPopoverTrigger, BrnPopoverContent } from '@spartan-ng/brain/popover';
|
|
7
7
|
import { BrnFormFieldControl } from '@spartan-ng/brain/form-field';
|
|
8
|
-
import { HlmCalendar, HlmCalendarMulti, HlmCalendarRange } from '@egose/shadcn-theme-ng/calendar';
|
|
9
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
10
|
-
import { HlmPopoverContent } from '@egose/shadcn-theme-ng/popover';
|
|
11
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
8
|
+
import { HlmCalendar, HlmCalendarMulti, HlmCalendarRange } from '@egose/shadcn-theme-ng-tw/calendar';
|
|
9
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
10
|
+
import { HlmPopoverContent } from '@egose/shadcn-theme-ng-tw/popover';
|
|
11
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig$2() {
|
|
14
14
|
return {
|
|
@@ -3,11 +3,11 @@ import { input, computed, effect, untracked, Directive, forwardRef, ViewEncapsul
|
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/dialog';
|
|
4
4
|
import { BrnDialog, BrnDialogOverlay, provideBrnDialogDefaultOptions, BrnDialogRef, injectBrnDialogContext, BrnDialogClose, BrnDialogDescription, BrnDialogTitle, BrnDialogService, cssClassesToArray, DEFAULT_BRN_DIALOG_OPTIONS } from '@spartan-ng/brain/dialog';
|
|
5
5
|
import { injectCustomClassSettable } from '@spartan-ng/brain/core';
|
|
6
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
6
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
7
7
|
import { NgComponentOutlet } from '@angular/common';
|
|
8
8
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
9
9
|
import { lucideX } from '@ng-icons/lucide';
|
|
10
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
10
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
11
11
|
|
|
12
12
|
const hlmDialogOverlayClass = 'tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0 tw:data-[state=open]:fade-in-0 tw:bg-black/50';
|
|
13
13
|
class HlmDialogOverlay {
|
|
@@ -2,11 +2,11 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
|
-
import { HlmLabel } from '@egose/shadcn-theme-ng/label';
|
|
6
|
-
import { HlmCheckbox } from '@egose/shadcn-theme-ng/checkbox';
|
|
7
|
-
import { HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
|
|
8
|
-
import { EgFormField } from '@egose/shadcn-theme-ng/form-field-simple';
|
|
9
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { HlmLabel } from '@egose/shadcn-theme-ng-tw/label';
|
|
6
|
+
import { HlmCheckbox } from '@egose/shadcn-theme-ng-tw/checkbox';
|
|
7
|
+
import { HlmError, HlmHint } from '@egose/shadcn-theme-ng-tw/form-field';
|
|
8
|
+
import { EgFormField } from '@egose/shadcn-theme-ng-tw/form-field-simple';
|
|
9
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
10
10
|
|
|
11
11
|
class EgFormCheckbox {
|
|
12
12
|
// Classes
|
|
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
|
-
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
|
|
6
|
-
import { HlmLabel } from '@egose/shadcn-theme-ng/label';
|
|
7
|
-
import { HlmDatePicker } from '@egose/shadcn-theme-ng/date-picker';
|
|
8
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng-tw/form-field';
|
|
6
|
+
import { HlmLabel } from '@egose/shadcn-theme-ng-tw/label';
|
|
7
|
+
import { HlmDatePicker } from '@egose/shadcn-theme-ng-tw/date-picker';
|
|
8
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
9
9
|
|
|
10
10
|
let nextId = 0;
|
|
11
11
|
class EgFormDatePicker {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, Directive, contentChild, contentChildren, effect, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
3
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
4
4
|
import { FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
5
|
import { BrnFormFieldControl } from '@spartan-ng/brain/form-field';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, contentChild, inject, signal, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { FormControlName, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
4
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
4
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
|
|
7
7
|
class EgFormField {
|
|
@@ -2,11 +2,11 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
|
-
import { HlmLabel } from '@egose/shadcn-theme-ng/label';
|
|
6
|
-
import { EgFormField } from '@egose/shadcn-theme-ng/form-field-simple';
|
|
7
|
-
import { HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
|
|
8
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
9
|
-
import { EgSearchableMultiselect } from '@egose/shadcn-theme-ng/searchable-multiselect';
|
|
5
|
+
import { HlmLabel } from '@egose/shadcn-theme-ng-tw/label';
|
|
6
|
+
import { EgFormField } from '@egose/shadcn-theme-ng-tw/form-field-simple';
|
|
7
|
+
import { HlmError, HlmHint } from '@egose/shadcn-theme-ng-tw/form-field';
|
|
8
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
9
|
+
import { EgSearchableMultiselect } from '@egose/shadcn-theme-ng-tw/searchable-multiselect';
|
|
10
10
|
|
|
11
11
|
class EgFormSearchableMultiselect {
|
|
12
12
|
// Form field inputs
|
|
@@ -2,13 +2,13 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
|
-
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
|
|
6
|
-
import { HlmLabel } from '@egose/shadcn-theme-ng/label';
|
|
7
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng-tw/form-field';
|
|
6
|
+
import { HlmLabel } from '@egose/shadcn-theme-ng-tw/label';
|
|
7
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
8
8
|
import * as i2 from '@spartan-ng/brain/select';
|
|
9
9
|
import { BrnSelectImports } from '@spartan-ng/brain/select';
|
|
10
|
-
import * as i3 from '@egose/shadcn-theme-ng/select';
|
|
11
|
-
import { HlmSelectImports } from '@egose/shadcn-theme-ng/select';
|
|
10
|
+
import * as i3 from '@egose/shadcn-theme-ng-tw/select';
|
|
11
|
+
import { HlmSelectImports } from '@egose/shadcn-theme-ng-tw/select';
|
|
12
12
|
|
|
13
13
|
class EgFormSelect {
|
|
14
14
|
label = input(undefined, ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, Directive, computed, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
|
-
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
|
|
6
|
-
import { HlmLabel } from '@egose/shadcn-theme-ng/label';
|
|
7
|
-
import { HlmInput } from '@egose/shadcn-theme-ng/input';
|
|
8
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng-tw/form-field';
|
|
6
|
+
import { HlmLabel } from '@egose/shadcn-theme-ng-tw/label';
|
|
7
|
+
import { HlmInput } from '@egose/shadcn-theme-ng-tw/input';
|
|
8
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
9
9
|
|
|
10
10
|
// NOT USED
|
|
11
11
|
class SpreadAttrsDirective {
|
|
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
5
|
-
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
|
|
6
|
-
import { HlmLabel } from '@egose/shadcn-theme-ng/label';
|
|
7
|
-
import { HlmInput } from '@egose/shadcn-theme-ng/input';
|
|
8
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng-tw/form-field';
|
|
6
|
+
import { HlmLabel } from '@egose/shadcn-theme-ng-tw/label';
|
|
7
|
+
import { HlmInput } from '@egose/shadcn-theme-ng-tw/input';
|
|
8
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
9
9
|
|
|
10
10
|
let nextId = 0;
|
|
11
11
|
class EgFormTextarea {
|
package/input/fesm2022/input.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { input, linkedSignal, computed, inject, Injector, effect, untracked, for
|
|
|
3
3
|
import { NgControl, NgForm, FormGroupDirective } from '@angular/forms';
|
|
4
4
|
import { BrnFormFieldControl } from '@spartan-ng/brain/form-field';
|
|
5
5
|
import { ErrorStateMatcher, ErrorStateTracker } from '@spartan-ng/brain/forms';
|
|
6
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
6
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
7
7
|
import { cva } from 'class-variance-authority';
|
|
8
8
|
|
|
9
9
|
const inputVariants = cva('tw:file:text-foreground tw:placeholder:text-muted-foreground tw:selection:bg-primary tw:selection:text-primary-foreground tw:dark:bg-input/10 tw:border-input tw:shadow-xs tw:focus-visible:border-ring tw:focus-visible:ring-ring/50 tw:flex tw:h-9 tw:w-full tw:min-w-0 tw:rounded-md tw:border tw:bg-transparent tw:px-3 tw:py-1 tw:text-base tw:outline-none tw:transition-[color,box-shadow] tw:file:inline-flex tw:file:h-7 tw:file:border-0 tw:file:bg-transparent tw:file:text-sm tw:file:font-medium tw:focus-visible:ring-[3px] tw:disabled:pointer-events-none tw:disabled:cursor-not-allowed tw:disabled:opacity-50 md:text-sm', {
|
package/label/fesm2022/label.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/label';
|
|
4
4
|
import { BrnLabel } from '@spartan-ng/brain/label';
|
|
5
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
6
6
|
|
|
7
7
|
class HlmLabel {
|
|
8
8
|
userClass = input('', ...(ngDevMode ? [{ debugName: "userClass", alias: 'class' }] : [{ alias: 'class' }]));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, Directive, signal, inject, Renderer2, ElementRef, effect, NgModule } from '@angular/core';
|
|
3
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
3
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
4
4
|
import { injectExposesStateProvider } from '@spartan-ng/brain/core';
|
|
5
5
|
|
|
6
6
|
class HlmPopoverClose {
|
|
@@ -3,7 +3,7 @@ import { inject, Renderer2, ElementRef, PLATFORM_ID, input, computed, booleanAtt
|
|
|
3
3
|
import { DOCUMENT, isPlatformBrowser } from '@angular/common';
|
|
4
4
|
import * as i1 from '@spartan-ng/brain/radio-group';
|
|
5
5
|
import { BrnRadio, BrnRadioGroup } from '@spartan-ng/brain/radio-group';
|
|
6
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
6
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
7
7
|
|
|
8
8
|
class HlmRadio {
|
|
9
9
|
_document = inject(DOCUMENT);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { viewChild, input, output, signal, computed, effect, forwardRef, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { HlmAutocomplete } from '@egose/shadcn-theme-ng/autocomplete';
|
|
4
|
+
import { HlmAutocomplete } from '@egose/shadcn-theme-ng-tw/autocomplete';
|
|
5
5
|
|
|
6
6
|
class EgSearchableMultiselect {
|
|
7
7
|
autoComplete = viewChild(HlmAutocomplete, ...(ngDevMode ? [{ debugName: "autoComplete" }] : []));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, Directive, booleanAttribute, inject, ChangeDetectionStrategy, Component, contentChild, NgModule } from '@angular/core';
|
|
3
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
3
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
4
4
|
import { injectExposesStateProvider, injectExposedSideProvider } from '@spartan-ng/brain/core';
|
|
5
5
|
import * as i1 from '@spartan-ng/brain/select';
|
|
6
6
|
import { BrnSelectGroup, BrnSelectLabel, BrnSelectOption, BrnSelect, BrnSelectTrigger } from '@spartan-ng/brain/select';
|
|
7
7
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
8
8
|
import { lucideCheck, lucideChevronDown, lucideChevronUp } from '@ng-icons/lucide';
|
|
9
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
9
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
10
10
|
import { cva } from 'class-variance-authority';
|
|
11
11
|
|
|
12
12
|
class HlmSelect {
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/separator';
|
|
4
4
|
import { BrnSeparator } from '@spartan-ng/brain/separator';
|
|
5
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
6
6
|
|
|
7
7
|
class HlmSeparator {
|
|
8
8
|
userClass = input('', ...(ngDevMode ? [{ debugName: "userClass", alias: 'class' }] : [{ alias: 'class' }]));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, booleanAttribute, numberAttribute, computed, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
3
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
4
4
|
import { NgxSonnerToaster } from 'ngx-sonner';
|
|
5
5
|
|
|
6
6
|
class HlmToaster {
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { NgIcon } from '@ng-icons/core';
|
|
4
4
|
import { tablerLoader2 } from '@ng-icons/tabler-icons';
|
|
5
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
6
6
|
|
|
7
7
|
class HlmSpinner {
|
|
8
8
|
icon = tablerLoader2;
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, Directive, forwardRef, model, booleanAttribute, output, linkedSignal, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
4
|
import { BrnSwitchThumb, BrnSwitch } from '@spartan-ng/brain/switch';
|
|
5
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
6
6
|
|
|
7
7
|
class HlmSwitchThumb {
|
|
8
8
|
userClass = input('', ...(ngDevMode ? [{ debugName: "userClass", alias: 'class' }] : [{ alias: 'class' }]));
|
package/tabs/fesm2022/tabs.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, computed, ChangeDetectionStrategy, Component, Directive, contentChildren, viewChild, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/tabs';
|
|
4
4
|
import { BrnTabs, BrnTabsContent, BrnTabsList, BrnTabsPaginatedList, BrnTabsTrigger } from '@spartan-ng/brain/tabs';
|
|
5
|
-
import { hlm } from '@egose/shadcn-theme-ng/utils';
|
|
5
|
+
import { hlm } from '@egose/shadcn-theme-ng-tw/utils';
|
|
6
6
|
import { cva } from 'class-variance-authority';
|
|
7
7
|
import { CdkObserveContent } from '@angular/cdk/observers';
|
|
8
8
|
import { toObservable } from '@angular/core/rxjs-interop';
|
|
9
9
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
10
10
|
import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
|
|
11
|
-
import { buttonVariants } from '@egose/shadcn-theme-ng/button';
|
|
12
|
-
import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
|
|
11
|
+
import { buttonVariants } from '@egose/shadcn-theme-ng-tw/button';
|
|
12
|
+
import { HlmIcon } from '@egose/shadcn-theme-ng-tw/icon';
|
|
13
13
|
|
|
14
14
|
class HlmTabs {
|
|
15
15
|
tab = input.required(...(ngDevMode ? [{ debugName: "tab" }] : []));
|