@egose/shadcn-theme-ng-tw 0.0.14
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 +2 -0
- package/accordion/README.md +64 -0
- package/accordion/fesm2022/accordion.mjs +155 -0
- package/accordion/fesm2022/accordion.mjs.map +1 -0
- package/accordion/index.d.ts +49 -0
- package/alert/README.md +64 -0
- package/alert/fesm2022/alert.mjs +189 -0
- package/alert/fesm2022/alert.mjs.map +1 -0
- package/alert/index.d.ts +49 -0
- package/autocomplete/README.md +64 -0
- package/autocomplete/fesm2022/autocomplete.mjs +543 -0
- package/autocomplete/fesm2022/autocomplete.mjs.map +1 -0
- package/autocomplete/index.d.ts +162 -0
- package/badge/README.md +64 -0
- package/badge/fesm2022/badge.mjs +137 -0
- package/badge/fesm2022/badge.mjs.map +1 -0
- package/badge/index.d.ts +33 -0
- package/basic-alert/README.md +64 -0
- package/basic-alert/fesm2022/basic-alert.mjs +103 -0
- package/basic-alert/fesm2022/basic-alert.mjs.map +1 -0
- package/basic-alert/index.d.ts +14 -0
- package/button/README.md +64 -0
- package/button/fesm2022/button.mjs +282 -0
- package/button/fesm2022/button.mjs.map +1 -0
- package/button/index.d.ts +52 -0
- package/calendar/README.md +64 -0
- package/calendar/fesm2022/calendar.mjs +637 -0
- package/calendar/fesm2022/calendar.mjs.map +1 -0
- package/calendar/index.d.ts +111 -0
- package/confirmation-dialog/README.md +64 -0
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +93 -0
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs.map +1 -0
- package/confirmation-dialog/index.d.ts +24 -0
- package/date-picker/README.md +64 -0
- package/date-picker/fesm2022/date-picker.mjs +599 -0
- package/date-picker/fesm2022/date-picker.mjs.map +1 -0
- package/date-picker/index.d.ts +227 -0
- package/dialog/README.md +64 -0
- package/dialog/fesm2022/dialog.mjs +278 -0
- package/dialog/fesm2022/dialog.mjs.map +1 -0
- package/dialog/index.d.ts +89 -0
- package/exports.json +1 -0
- package/form-date-picker/README.md +64 -0
- package/form-date-picker/fesm2022/form-date-picker.mjs +146 -0
- package/form-date-picker/fesm2022/form-date-picker.mjs.map +1 -0
- package/form-date-picker/index.d.ts +32 -0
- package/form-field/README.md +64 -0
- package/form-field/fesm2022/form-field.mjs +112 -0
- package/form-field/fesm2022/form-field.mjs.map +1 -0
- package/form-field/index.d.ts +37 -0
- package/form-searchable-multiselect/README.md +64 -0
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +124 -0
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +1 -0
- package/form-searchable-multiselect/index.d.ts +28 -0
- package/form-select/README.md +64 -0
- package/form-select/fesm2022/form-select.mjs +165 -0
- package/form-select/fesm2022/form-select.mjs.map +1 -0
- package/form-select/index.d.ts +33 -0
- package/form-text-input/README.md +64 -0
- package/form-text-input/fesm2022/form-text-input.mjs +197 -0
- package/form-text-input/fesm2022/form-text-input.mjs.map +1 -0
- package/form-text-input/index.d.ts +47 -0
- package/form-textarea/README.md +64 -0
- package/form-textarea/fesm2022/form-textarea.mjs +156 -0
- package/form-textarea/fesm2022/form-textarea.mjs.map +1 -0
- package/form-textarea/index.d.ts +33 -0
- package/icon/README.md +64 -0
- package/icon/fesm2022/icon.mjs +71 -0
- package/icon/fesm2022/icon.mjs.map +1 -0
- package/icon/index.d.ts +27 -0
- package/input/README.md +64 -0
- package/input/fesm2022/input.mjs +97 -0
- package/input/fesm2022/input.mjs.map +1 -0
- package/input/index.d.ts +41 -0
- package/label/README.md +64 -0
- package/label/fesm2022/label.mjs +51 -0
- package/label/fesm2022/label.mjs.map +1 -0
- package/label/index.d.ts +19 -0
- package/package.json +139 -0
- package/popover/README.md +64 -0
- package/popover/fesm2022/popover.mjs +69 -0
- package/popover/fesm2022/popover.mjs.map +1 -0
- package/popover/index.d.ts +30 -0
- package/radio-group/README.md +64 -0
- package/radio-group/fesm2022/radio-group.mjs +170 -0
- package/radio-group/fesm2022/radio-group.mjs.map +1 -0
- package/radio-group/index.d.ts +63 -0
- package/searchable-multiselect/README.md +64 -0
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +221 -0
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs.map +1 -0
- package/searchable-multiselect/index.d.ts +50 -0
- package/select/README.md +64 -0
- package/select/fesm2022/select.mjs +281 -0
- package/select/fesm2022/select.mjs.map +1 -0
- package/select/index.d.ts +92 -0
- package/separator/README.md +64 -0
- package/separator/fesm2022/separator.mjs +46 -0
- package/separator/fesm2022/separator.mjs.map +1 -0
- package/separator/index.d.ts +19 -0
- package/sonner/README.md +64 -0
- package/sonner/fesm2022/sonner.mjs +110 -0
- package/sonner/fesm2022/sonner.mjs.map +1 -0
- package/sonner/index.d.ts +32 -0
- package/spinner/README.md +64 -0
- package/spinner/fesm2022/spinner.mjs +67 -0
- package/spinner/fesm2022/spinner.mjs.map +1 -0
- package/spinner/index.d.ts +25 -0
- package/switch/README.md +64 -0
- package/switch/fesm2022/switch.mjs +139 -0
- package/switch/fesm2022/switch.mjs.map +1 -0
- package/switch/index.d.ts +56 -0
- package/tabs/README.md +64 -0
- package/tabs/fesm2022/tabs.mjs +258 -0
- package/tabs/fesm2022/tabs.mjs.map +1 -0
- package/tabs/index.d.ts +71 -0
- package/tooltip/README.md +64 -0
- package/tooltip/fesm2022/tooltip.mjs +93 -0
- package/tooltip/fesm2022/tooltip.mjs.map +1 -0
- package/tooltip/index.d.ts +21 -0
- package/utils/README.md +64 -0
- package/utils/fesm2022/utils.mjs +17 -0
- package/utils/fesm2022/utils.mjs.map +1 -0
- package/utils/index.d.ts +5 -0
package/alert/index.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { ClassValue } from 'clsx';
|
|
5
|
+
|
|
6
|
+
declare const alertVariants: (props?: ({
|
|
7
|
+
variant?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "link" | "ghost" | null | undefined;
|
|
8
|
+
appearance?: "light" | "solid" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
type AlertVariants = VariantProps<typeof alertVariants>;
|
|
11
|
+
type VariantType = NonNullable<AlertVariants['variant']>;
|
|
12
|
+
type AppearanceType = NonNullable<AlertVariants['appearance']>;
|
|
13
|
+
declare class HlmAlert {
|
|
14
|
+
readonly userClass: i0.InputSignal<ClassValue>;
|
|
15
|
+
readonly variant: i0.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "link" | "ghost" | null | undefined>;
|
|
16
|
+
readonly appearance: i0.InputSignal<"light" | "solid" | null | undefined>;
|
|
17
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmAlert, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmAlert, "[hlmAlert]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare class HlmAlertDescription {
|
|
23
|
+
readonly userClass: i0.InputSignal<ClassValue>;
|
|
24
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmAlertDescription, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmAlertDescription, "[hlmAlertDesc],[hlmAlertDescription]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare class HlmAlertIcon {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmAlertIcon, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmAlertIcon, "[hlmAlertIcon]", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class HlmAlertTitle {
|
|
35
|
+
readonly userClass: i0.InputSignal<ClassValue>;
|
|
36
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmAlertTitle, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmAlertTitle, "[hlmAlertTitle]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare const HlmAlertImports: readonly [typeof HlmAlert, typeof HlmAlertTitle, typeof HlmAlertDescription, typeof HlmAlertIcon];
|
|
42
|
+
declare class HlmAlertModule {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmAlertModule, never>;
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HlmAlertModule, never, [typeof HlmAlert, typeof HlmAlertTitle, typeof HlmAlertDescription, typeof HlmAlertIcon], [typeof HlmAlert, typeof HlmAlertTitle, typeof HlmAlertDescription, typeof HlmAlertIcon]>;
|
|
45
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HlmAlertModule>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { HlmAlert, HlmAlertDescription, HlmAlertIcon, HlmAlertImports, HlmAlertModule, HlmAlertTitle };
|
|
49
|
+
export type { AlertVariants, AppearanceType, VariantType };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Autocomplete
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build autocomplete
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
cd dist/autocomplete
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
40
|
+
```bash
|
|
41
|
+
npm publish
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Running unit tests
|
|
45
|
+
|
|
46
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
ng test
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Running end-to-end tests
|
|
53
|
+
|
|
54
|
+
For end-to-end (e2e) testing, run:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
ng e2e
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
61
|
+
|
|
62
|
+
## Additional Resources
|
|
63
|
+
|
|
64
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|