@piying-lib/angular-daisyui 1.1.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extension/index.d.ts +104 -2
- package/fesm2022/piying-lib-angular-daisyui-extension.mjs +200 -18
- package/fesm2022/piying-lib-angular-daisyui-extension.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-field-control.mjs +79 -16
- package/fesm2022/piying-lib-angular-daisyui-field-control.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-field-group.mjs +23 -15
- package/fesm2022/piying-lib-angular-daisyui-field-group.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-non-field-control.mjs +2 -9
- package/fesm2022/piying-lib-angular-daisyui-non-field-control.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-service.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-wrapper.mjs +45 -2
- package/fesm2022/piying-lib-angular-daisyui-wrapper.mjs.map +1 -1
- package/field-control/index.d.ts +36 -5
- package/field-group/index.d.ts +6 -4
- package/package.json +2 -2
- package/preset-css/css/style.css +1 -1
- package/preset-css/css/style.split.css +1 -1
- package/preset-css/json/manifest.json +747 -851
- package/preset-css/ts/accordion.ts +9 -9
- package/preset-css/ts/alert.ts +12 -12
- package/preset-css/ts/avatar.ts +7 -7
- package/preset-css/ts/badge.ts +20 -20
- package/preset-css/ts/breadcrumbs.ts +1 -3
- package/preset-css/ts/browser-mockup.ts +1 -4
- package/preset-css/ts/button.ts +27 -27
- package/preset-css/ts/calendar.ts +1 -5
- package/preset-css/ts/card.ts +15 -15
- package/preset-css/ts/carousel.ts +9 -9
- package/preset-css/ts/chat-bubble.ts +17 -17
- package/preset-css/ts/checkbox.ts +16 -16
- package/preset-css/ts/code-mockup.ts +1 -3
- package/preset-css/ts/collapse.ts +9 -9
- package/preset-css/ts/countdown.ts +1 -3
- package/preset-css/ts/diff.ts +1 -6
- package/preset-css/ts/divider.ts +15 -15
- package/preset-css/ts/dock.ts +10 -10
- package/preset-css/ts/drawer-sidebar.ts +11 -11
- package/preset-css/ts/dropdown.ts +14 -14
- package/preset-css/ts/fab-speed-dial.ts +1 -6
- package/preset-css/ts/fieldset.ts +1 -5
- package/preset-css/ts/file-input.ts +17 -17
- package/preset-css/ts/filter.ts +1 -4
- package/preset-css/ts/footer.ts +7 -7
- package/preset-css/ts/hero.ts +1 -5
- package/preset-css/ts/hover-3-d-card.ts +1 -3
- package/preset-css/ts/hover-gallery.ts +1 -3
- package/preset-css/ts/index.ts +1 -1
- package/preset-css/ts/indicator.ts +10 -10
- package/preset-css/ts/join-group-items.ts +6 -6
- package/preset-css/ts/kbd.ts +1 -8
- package/preset-css/ts/label.ts +1 -4
- package/preset-css/ts/link.ts +12 -12
- package/preset-css/ts/list.ts +1 -6
- package/preset-css/ts/loading.ts +14 -14
- package/preset-css/ts/mask.ts +20 -20
- package/preset-css/ts/menu.ts +17 -17
- package/preset-css/ts/modal.ts +13 -13
- package/preset-css/ts/navbar.ts +1 -6
- package/preset-css/ts/pagination.ts +1 -6
- package/preset-css/ts/phone-mockup.ts +5 -5
- package/preset-css/ts/progress.ts +11 -11
- package/preset-css/ts/radial-progress.ts +1 -3
- package/preset-css/ts/radio.ts +16 -16
- package/preset-css/ts/range-slider.ts +16 -16
- package/preset-css/ts/rating.ts +10 -10
- package/preset-css/ts/select.ts +17 -17
- package/preset-css/ts/skeleton.ts +1 -4
- package/preset-css/ts/stack.ts +1 -7
- package/preset-css/ts/stat.ts +11 -11
- package/preset-css/ts/status.ts +16 -16
- package/preset-css/ts/steps.ts +15 -15
- package/preset-css/ts/swap.ts +9 -9
- package/preset-css/ts/table.ts +11 -11
- package/preset-css/ts/tabs.ts +17 -17
- package/preset-css/ts/text-input.ts +17 -17
- package/preset-css/ts/text-rotate.ts +1 -3
- package/preset-css/ts/textarea.ts +17 -17
- package/preset-css/ts/theme-controller.ts +1 -3
- package/preset-css/ts/timeline.ts +11 -11
- package/preset-css/ts/toast.ts +9 -9
- package/preset-css/ts/toggle.ts +16 -16
- package/preset-css/ts/tooltip.ts +17 -17
- package/preset-css/ts/validator.ts +1 -4
- package/preset-css/ts/window-mockup.ts +1 -3
- package/service/index.d.ts +1 -1
- package/wrapper/index.d.ts +22 -1
package/preset-css/ts/toast.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const TOAST_PREFIX_LIST=[
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
]
|
|
1
|
+
export const TOAST_PREFIX_LIST = [
|
|
2
|
+
'toast',
|
|
3
|
+
'toast-start',
|
|
4
|
+
'toast-center',
|
|
5
|
+
'toast-end',
|
|
6
|
+
'toast-top',
|
|
7
|
+
'toast-middle',
|
|
8
|
+
'toast-bottom',
|
|
9
|
+
];
|
package/preset-css/ts/toggle.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export const TOGGLE_PREFIX_LIST=[
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
]
|
|
1
|
+
export const TOGGLE_PREFIX_LIST = [
|
|
2
|
+
'toggle',
|
|
3
|
+
'toggle-primary',
|
|
4
|
+
'toggle-secondary',
|
|
5
|
+
'toggle-accent',
|
|
6
|
+
'toggle-neutral',
|
|
7
|
+
'toggle-success',
|
|
8
|
+
'toggle-warning',
|
|
9
|
+
'toggle-info',
|
|
10
|
+
'toggle-error',
|
|
11
|
+
'toggle-xs',
|
|
12
|
+
'toggle-sm',
|
|
13
|
+
'toggle-md',
|
|
14
|
+
'toggle-lg',
|
|
15
|
+
'toggle-xl',
|
|
16
|
+
];
|
package/preset-css/ts/tooltip.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export const TOOLTIP_PREFIX_LIST=[
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
]
|
|
1
|
+
export const TOOLTIP_PREFIX_LIST = [
|
|
2
|
+
'tooltip',
|
|
3
|
+
'tooltip-content',
|
|
4
|
+
'tooltip-top',
|
|
5
|
+
'tooltip-bottom',
|
|
6
|
+
'tooltip-left',
|
|
7
|
+
'tooltip-right',
|
|
8
|
+
'tooltip-open',
|
|
9
|
+
'tooltip-neutral',
|
|
10
|
+
'tooltip-primary',
|
|
11
|
+
'tooltip-secondary',
|
|
12
|
+
'tooltip-accent',
|
|
13
|
+
'tooltip-info',
|
|
14
|
+
'tooltip-success',
|
|
15
|
+
'tooltip-warning',
|
|
16
|
+
'tooltip-error',
|
|
17
|
+
];
|
package/service/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type HasColorCmp = 'btn' | 'badge' | 'chat-bubble' | 'status' | 'link' | 'step'
|
|
|
6
6
|
declare class ThemeService {
|
|
7
7
|
#private;
|
|
8
8
|
setColor<T extends HasColorCmp>(cmpPrefix: T, input: (T extends 'alert' ? AlertColor : Color) | undefined): string | undefined;
|
|
9
|
-
setSize(cmpPrefix: 'btn' | 'badge' | 'card' | 'kbd' | 'status' | 'table' | 'dock' | 'menu' | 'tabs' | 'loading' | 'checkbox' | 'file-input' | 'radio' | 'range' | 'rating' | 'select' | 'input' | 'textarea' | 'toggle', input: Size | undefined): string | undefined;
|
|
9
|
+
setSize(cmpPrefix: 'btn' | 'badge' | 'card' | 'kbd' | 'status' | 'table' | 'dock' | 'menu' | 'tabs' | 'loading' | 'checkbox' | 'file-input' | 'radio' | 'range' | 'rating' | 'select' | 'input' | 'textarea' | 'toggle' | 'text', input: Size | undefined): string | undefined;
|
|
10
10
|
addPrefix(str: string): string;
|
|
11
11
|
addPrefix2(cmpPrefix: string, str?: string): string | undefined;
|
|
12
12
|
addTwPrefix(str: string): string;
|
package/wrapper/index.d.ts
CHANGED
|
@@ -52,5 +52,26 @@ declare class FieldsetWC {
|
|
|
52
52
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldsetWC, "app-fieldset-wrapper", never, {}, {}, never, never, true, never>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
declare class FormWC {
|
|
56
|
+
static __version: number;
|
|
57
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
58
|
+
onSubmit($event: SubmitEvent): boolean;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormWC, never>;
|
|
60
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormWC, "app-form", never, {}, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare class ValidateTooltipbWC {
|
|
64
|
+
#private;
|
|
65
|
+
static __version: number;
|
|
66
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
67
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
68
|
+
errorStr$$: _angular_core.Signal<string>;
|
|
69
|
+
classStatus$$: _angular_core.Signal<string>;
|
|
70
|
+
showError$$: _angular_core.Signal<boolean>;
|
|
71
|
+
wrapperClass$$: _angular_core.Signal<string>;
|
|
72
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValidateTooltipbWC, never>;
|
|
73
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValidateTooltipbWC, "app-validate-tooltip-wrapper", never, {}, {}, never, never, true, never>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { FieldsetWC, FormWC, LabelWC, LoadingWC, TdWC, ThWC, ValidateTooltipbWC };
|
|
56
77
|
export type { LoadingOptions };
|