@egose/shadcn-theme-ng-tw 0.0.14 → 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/README.md +64 -0
- package/checkbox/fesm2022/checkbox.mjs +146 -0
- package/checkbox/fesm2022/checkbox.mjs.map +1 -0
- package/checkbox/index.d.ts +55 -0
- 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/exports.json +1 -1
- package/form-checkbox/README.md +64 -0
- package/form-checkbox/fesm2022/form-checkbox.mjs +134 -0
- package/form-checkbox/fesm2022/form-checkbox.mjs.map +1 -0
- package/form-checkbox/index.d.ts +26 -0
- package/form-date-picker/fesm2022/form-date-picker.mjs +4 -4
- package/form-field/fesm2022/form-field.mjs +1 -1
- package/form-field-simple/README.md +64 -0
- package/form-field-simple/fesm2022/form-field-simple.mjs +82 -0
- package/form-field-simple/fesm2022/form-field-simple.mjs.map +1 -0
- package/form-field-simple/index.d.ts +22 -0
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +21 -14
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +1 -1
- 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 +13 -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
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.16",
|
|
3
3
|
"description": "Angular shadcn UI theme",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
@@ -63,6 +63,14 @@
|
|
|
63
63
|
"types": "./form-field/index.d.ts",
|
|
64
64
|
"default": "./form-field/fesm2022/form-field.mjs"
|
|
65
65
|
},
|
|
66
|
+
"./form-field-simple": {
|
|
67
|
+
"types": "./form-field-simple/index.d.ts",
|
|
68
|
+
"default": "./form-field-simple/fesm2022/form-field-simple.mjs"
|
|
69
|
+
},
|
|
70
|
+
"./checkbox": {
|
|
71
|
+
"types": "./checkbox/index.d.ts",
|
|
72
|
+
"default": "./checkbox/fesm2022/checkbox.mjs"
|
|
73
|
+
},
|
|
66
74
|
"./popover": {
|
|
67
75
|
"types": "./popover/index.d.ts",
|
|
68
76
|
"default": "./popover/fesm2022/popover.mjs"
|
|
@@ -134,6 +142,10 @@
|
|
|
134
142
|
"./form-searchable-multiselect": {
|
|
135
143
|
"types": "./form-searchable-multiselect/index.d.ts",
|
|
136
144
|
"default": "./form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs"
|
|
145
|
+
},
|
|
146
|
+
"./form-checkbox": {
|
|
147
|
+
"types": "./form-checkbox/index.d.ts",
|
|
148
|
+
"default": "./form-checkbox/fesm2022/form-checkbox.mjs"
|
|
137
149
|
}
|
|
138
150
|
}
|
|
139
151
|
}
|
|
@@ -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" }] : []));
|