flowbite-angular 20.1.2 → 21.0.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/LICENSE +21 -21
- package/README.md +375 -375
- package/button-group/README.md +4 -4
- package/card/README.md +4 -4
- package/clipboard/README.md +4 -4
- package/fesm2022/flowbite-angular-accordion.mjs +34 -34
- package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
- package/fesm2022/flowbite-angular-alert.mjs +28 -28
- package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
- package/fesm2022/flowbite-angular-badge.mjs +30 -30
- package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
- package/fesm2022/flowbite-angular-breadcrumb.mjs +26 -26
- package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/flowbite-angular-button-group.mjs +8 -8
- package/fesm2022/flowbite-angular-button-group.mjs.map +1 -1
- package/fesm2022/flowbite-angular-button.mjs +17 -17
- package/fesm2022/flowbite-angular-button.mjs.map +1 -1
- package/fesm2022/flowbite-angular-card.mjs +27 -27
- package/fesm2022/flowbite-angular-card.mjs.map +1 -1
- package/fesm2022/flowbite-angular-clipboard.mjs +65 -65
- package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -1
- package/fesm2022/flowbite-angular-dropdown.mjs +25 -25
- package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
- package/fesm2022/flowbite-angular-form.mjs +45 -37
- package/fesm2022/flowbite-angular-form.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon.mjs +9 -9
- package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
- package/fesm2022/flowbite-angular-indicator.mjs +12 -12
- package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
- package/fesm2022/flowbite-angular-modal.mjs +48 -48
- package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
- package/fesm2022/flowbite-angular-navbar.mjs +68 -68
- package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-pagination.mjs +166 -176
- package/fesm2022/flowbite-angular-pagination.mjs.map +1 -1
- package/fesm2022/flowbite-angular-sidebar.mjs +42 -42
- package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-tab.mjs +34 -34
- package/fesm2022/flowbite-angular-tab.mjs.map +1 -1
- package/fesm2022/flowbite-angular-table.mjs +65 -65
- package/fesm2022/flowbite-angular-table.mjs.map +1 -1
- package/fesm2022/flowbite-angular-theme-toggle.mjs +30 -30
- package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -1
- package/fesm2022/flowbite-angular-tooltip.mjs +9 -9
- package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -1
- package/fesm2022/flowbite-angular.mjs.map +1 -1
- package/form/README.md +4 -4
- package/icon/README.md +4 -4
- package/icon/brand/README.md +4 -4
- package/icon/outline/README.md +4 -4
- package/icon/solid/README.md +4 -4
- package/indicator/README.md +4 -4
- package/modal/README.md +4 -4
- package/navbar/README.md +4 -4
- package/package.json +79 -79
- package/pagination/README.md +4 -4
- package/sidebar/README.md +4 -4
- package/styles/flowbite-angular.css +1 -1
- package/tab/README.md +4 -4
- package/table/README.md +4 -4
- package/theme-toggle/README.md +4 -4
- package/tooltip/README.md +4 -4
- package/{accordion/index.d.ts → types/flowbite-angular-accordion.d.ts} +116 -116
- package/{alert/index.d.ts → types/flowbite-angular-alert.d.ts} +89 -89
- package/{badge/index.d.ts → types/flowbite-angular-badge.d.ts} +98 -98
- package/{breadcrumb/index.d.ts → types/flowbite-angular-breadcrumb.d.ts} +97 -97
- package/{button-group/index.d.ts → types/flowbite-angular-button-group.d.ts} +36 -36
- package/{button/index.d.ts → types/flowbite-angular-button.d.ts} +76 -76
- package/{card/index.d.ts → types/flowbite-angular-card.d.ts} +97 -97
- package/{clipboard/index.d.ts → types/flowbite-angular-clipboard.d.ts} +37 -37
- package/{dropdown/index.d.ts → types/flowbite-angular-dropdown.d.ts} +78 -78
- package/{form/index.d.ts → types/flowbite-angular-form.d.ts} +122 -112
- package/{icon/index.d.ts → types/flowbite-angular-icon.d.ts} +46 -46
- package/{indicator/index.d.ts → types/flowbite-angular-indicator.d.ts} +65 -65
- package/{modal/index.d.ts → types/flowbite-angular-modal.d.ts} +119 -119
- package/{navbar/index.d.ts → types/flowbite-angular-navbar.d.ts} +161 -161
- package/{pagination/index.d.ts → types/flowbite-angular-pagination.d.ts} +219 -219
- package/{sidebar/index.d.ts → types/flowbite-angular-sidebar.d.ts} +107 -107
- package/{tab/index.d.ts → types/flowbite-angular-tab.d.ts} +107 -107
- package/{table/index.d.ts → types/flowbite-angular-table.d.ts} +102 -102
- package/{theme-toggle/index.d.ts → types/flowbite-angular-theme-toggle.d.ts} +82 -82
- package/{tooltip/index.d.ts → types/flowbite-angular-tooltip.d.ts} +31 -31
- /package/{icon/brand/index.d.ts → types/flowbite-angular-icon-brand.d.ts} +0 -0
- /package/{icon/outline/arrows/index.d.ts → types/flowbite-angular-icon-outline-arrows.d.ts} +0 -0
- /package/{icon/outline/e-commerce/index.d.ts → types/flowbite-angular-icon-outline-e-commerce.d.ts} +0 -0
- /package/{icon/outline/emoji/index.d.ts → types/flowbite-angular-icon-outline-emoji.d.ts} +0 -0
- /package/{icon/outline/files-folders/index.d.ts → types/flowbite-angular-icon-outline-files-folders.d.ts} +0 -0
- /package/{icon/outline/general/index.d.ts → types/flowbite-angular-icon-outline-general.d.ts} +0 -0
- /package/{icon/outline/media/index.d.ts → types/flowbite-angular-icon-outline-media.d.ts} +0 -0
- /package/{icon/outline/text/index.d.ts → types/flowbite-angular-icon-outline-text.d.ts} +0 -0
- /package/{icon/outline/user/index.d.ts → types/flowbite-angular-icon-outline-user.d.ts} +0 -0
- /package/{icon/outline/weather/index.d.ts → types/flowbite-angular-icon-outline-weather.d.ts} +0 -0
- /package/{icon/outline/index.d.ts → types/flowbite-angular-icon-outline.d.ts} +0 -0
- /package/{icon/solid/arrows/index.d.ts → types/flowbite-angular-icon-solid-arrows.d.ts} +0 -0
- /package/{icon/solid/brands/index.d.ts → types/flowbite-angular-icon-solid-brands.d.ts} +0 -0
- /package/{icon/solid/e-commerce/index.d.ts → types/flowbite-angular-icon-solid-e-commerce.d.ts} +0 -0
- /package/{icon/solid/emoji/index.d.ts → types/flowbite-angular-icon-solid-emoji.d.ts} +0 -0
- /package/{icon/solid/files-folder/index.d.ts → types/flowbite-angular-icon-solid-files-folder.d.ts} +0 -0
- /package/{icon/solid/general/index.d.ts → types/flowbite-angular-icon-solid-general.d.ts} +0 -0
- /package/{icon/solid/media/index.d.ts → types/flowbite-angular-icon-solid-media.d.ts} +0 -0
- /package/{icon/solid/text/index.d.ts → types/flowbite-angular-icon-solid-text.d.ts} +0 -0
- /package/{icon/solid/user/index.d.ts → types/flowbite-angular-icon-solid-user.d.ts} +0 -0
- /package/{icon/solid/weather/index.d.ts → types/flowbite-angular-icon-solid-weather.d.ts} +0 -0
- /package/{icon/solid/index.d.ts → types/flowbite-angular-icon-solid.d.ts} +0 -0
- /package/{index.d.ts → types/flowbite-angular.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import * as ng_primitives_state from 'ng-primitives/state';
|
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { InjectionToken, Provider } from '@angular/core';
|
|
4
4
|
import * as flowbite_angular_button from 'flowbite-angular/button';
|
|
5
|
-
import {
|
|
5
|
+
import { FlowbiteColors, ColorToTheme, FlowbiteSizes, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
|
|
6
6
|
import * as i1 from 'ng-primitives/button';
|
|
7
7
|
import * as i2 from 'ng-primitives/interactions';
|
|
8
8
|
|
|
@@ -13,81 +13,8 @@ interface FlowbiteBaseButtonColors extends Pick<FlowbiteColors, 'default' | 'inf
|
|
|
13
13
|
[key: string]: ColorToTheme;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
interface FlowbiteButtonTheme {
|
|
17
|
-
host: FlowbiteButtonHostTheme;
|
|
18
|
-
}
|
|
19
|
-
interface FlowbiteButtonHostTheme {
|
|
20
|
-
base: string;
|
|
21
|
-
transition: string;
|
|
22
|
-
focus: string;
|
|
23
|
-
disabled: string;
|
|
24
|
-
size: FlowbiteBaseButtonSizes;
|
|
25
|
-
pill: FlowbiteBoolean;
|
|
26
|
-
color: FlowbiteBaseButtonColors;
|
|
27
|
-
colorOutline: FlowbiteBaseButtonColors;
|
|
28
|
-
}
|
|
29
|
-
declare const flowbiteButtonTheme: FlowbiteButtonTheme;
|
|
30
|
-
|
|
31
|
-
interface FlowbiteButtonConfig {
|
|
32
|
-
/**
|
|
33
|
-
* The default theme of button.
|
|
34
|
-
*/
|
|
35
|
-
baseTheme: FlowbiteButtonTheme;
|
|
36
|
-
/**
|
|
37
|
-
* The custom theme of button.
|
|
38
|
-
*/
|
|
39
|
-
customTheme: DeepPartial<FlowbiteButtonTheme>;
|
|
40
|
-
}
|
|
41
|
-
declare const defaultFlowbiteButtonConfig: FlowbiteButtonConfig;
|
|
42
|
-
declare const FlowbiteButtonConfigToken: InjectionToken<FlowbiteButtonConfig>;
|
|
43
|
-
/**
|
|
44
|
-
* Provide the default Button configuration
|
|
45
|
-
* @param config The Button configuration
|
|
46
|
-
* @returns The provider
|
|
47
|
-
*/
|
|
48
|
-
declare const provideFlowbiteButtonConfig: (config: Partial<FlowbiteButtonConfig>) => Provider[];
|
|
49
|
-
/**
|
|
50
|
-
* Inject the Button configuration
|
|
51
|
-
* @see {@link defaultFlowbiteButtonConfig}
|
|
52
|
-
* @returns The configuration
|
|
53
|
-
*/
|
|
54
|
-
declare const injectFlowbiteButtonConfig: () => FlowbiteButtonConfig;
|
|
55
|
-
|
|
56
|
-
interface FlowbiteBaseButtonConfig {
|
|
57
|
-
/**
|
|
58
|
-
* The default color of button.
|
|
59
|
-
*/
|
|
60
|
-
color: keyof FlowbiteBaseButtonColors;
|
|
61
|
-
/**
|
|
62
|
-
* The default size of button.
|
|
63
|
-
*/
|
|
64
|
-
size: keyof FlowbiteBaseButtonSizes;
|
|
65
|
-
/**
|
|
66
|
-
* Whether the button is pill.
|
|
67
|
-
*/
|
|
68
|
-
pill: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Whether the button is outline.
|
|
71
|
-
*/
|
|
72
|
-
outline: boolean;
|
|
73
|
-
}
|
|
74
|
-
declare const defaultFlowbiteBaseButtonConfig: FlowbiteBaseButtonConfig;
|
|
75
|
-
declare const FlowbiteBaseButtonConfigToken: InjectionToken<FlowbiteBaseButtonConfig>;
|
|
76
|
-
/**
|
|
77
|
-
* Provide the default BaseButton configuration
|
|
78
|
-
* @param config The BaseButton configuration
|
|
79
|
-
* @returns The provider
|
|
80
|
-
*/
|
|
81
|
-
declare const provideFlowbiteBaseButtonConfig: (config: Partial<FlowbiteBaseButtonConfig>) => Provider[];
|
|
82
|
-
/**
|
|
83
|
-
* Inject the BaseButton configuration
|
|
84
|
-
* @see {@link defaultFlowbiteBaseButtonConfig}
|
|
85
|
-
* @returns The configuration
|
|
86
|
-
*/
|
|
87
|
-
declare const injectFlowbiteBaseButtonConfig: () => FlowbiteBaseButtonConfig;
|
|
88
|
-
|
|
89
16
|
declare class BaseButton {
|
|
90
|
-
readonly config: FlowbiteBaseButtonConfig;
|
|
17
|
+
readonly config: flowbite_angular_button.FlowbiteBaseButtonConfig;
|
|
91
18
|
/**
|
|
92
19
|
* @see {@link injectFlowbiteBaseButtonConfig}
|
|
93
20
|
*/
|
|
@@ -113,7 +40,7 @@ declare class BaseButton {
|
|
|
113
40
|
}
|
|
114
41
|
|
|
115
42
|
declare class Button {
|
|
116
|
-
readonly config: FlowbiteButtonConfig;
|
|
43
|
+
readonly config: flowbite_angular_button.FlowbiteButtonConfig;
|
|
117
44
|
readonly baseButtonState: _angular_core.Signal<ng_primitives_state.State<{
|
|
118
45
|
readonly config: flowbite_angular_button.FlowbiteBaseButtonConfig;
|
|
119
46
|
readonly color: _angular_core.InputSignal<keyof flowbite_angular_button.FlowbiteBaseButtonColors>;
|
|
@@ -319,6 +246,46 @@ declare const injectFlowbiteButtonState: <U = {
|
|
|
319
246
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
320
247
|
declare const flowbiteButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
321
248
|
|
|
249
|
+
interface FlowbiteButtonTheme {
|
|
250
|
+
host: FlowbiteButtonHostTheme;
|
|
251
|
+
}
|
|
252
|
+
interface FlowbiteButtonHostTheme {
|
|
253
|
+
base: string;
|
|
254
|
+
transition: string;
|
|
255
|
+
focus: string;
|
|
256
|
+
disabled: string;
|
|
257
|
+
size: FlowbiteBaseButtonSizes;
|
|
258
|
+
pill: FlowbiteBoolean;
|
|
259
|
+
color: FlowbiteBaseButtonColors;
|
|
260
|
+
colorOutline: FlowbiteBaseButtonColors;
|
|
261
|
+
}
|
|
262
|
+
declare const flowbiteButtonTheme: FlowbiteButtonTheme;
|
|
263
|
+
|
|
264
|
+
interface FlowbiteButtonConfig {
|
|
265
|
+
/**
|
|
266
|
+
* The default theme of button.
|
|
267
|
+
*/
|
|
268
|
+
baseTheme: FlowbiteButtonTheme;
|
|
269
|
+
/**
|
|
270
|
+
* The custom theme of button.
|
|
271
|
+
*/
|
|
272
|
+
customTheme: DeepPartial<FlowbiteButtonTheme>;
|
|
273
|
+
}
|
|
274
|
+
declare const defaultFlowbiteButtonConfig: FlowbiteButtonConfig;
|
|
275
|
+
declare const FlowbiteButtonConfigToken: InjectionToken<FlowbiteButtonConfig>;
|
|
276
|
+
/**
|
|
277
|
+
* Provide the default Button configuration
|
|
278
|
+
* @param config The Button configuration
|
|
279
|
+
* @returns The provider
|
|
280
|
+
*/
|
|
281
|
+
declare const provideFlowbiteButtonConfig: (config: Partial<FlowbiteButtonConfig>) => Provider[];
|
|
282
|
+
/**
|
|
283
|
+
* Inject the Button configuration
|
|
284
|
+
* @see {@link defaultFlowbiteButtonConfig}
|
|
285
|
+
* @returns The configuration
|
|
286
|
+
*/
|
|
287
|
+
declare const injectFlowbiteButtonConfig: () => FlowbiteButtonConfig;
|
|
288
|
+
|
|
322
289
|
declare const FlowbiteBaseButtonStateToken: _angular_core.InjectionToken<BaseButton>;
|
|
323
290
|
declare const provideFlowbiteBaseButtonState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
324
291
|
declare const injectFlowbiteBaseButtonState: <U = {
|
|
@@ -331,5 +298,38 @@ declare const injectFlowbiteBaseButtonState: <U = {
|
|
|
331
298
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
332
299
|
declare const flowbiteBaseButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
333
300
|
|
|
301
|
+
interface FlowbiteBaseButtonConfig {
|
|
302
|
+
/**
|
|
303
|
+
* The default color of button.
|
|
304
|
+
*/
|
|
305
|
+
color: keyof FlowbiteBaseButtonColors;
|
|
306
|
+
/**
|
|
307
|
+
* The default size of button.
|
|
308
|
+
*/
|
|
309
|
+
size: keyof FlowbiteBaseButtonSizes;
|
|
310
|
+
/**
|
|
311
|
+
* Whether the button is pill.
|
|
312
|
+
*/
|
|
313
|
+
pill: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* Whether the button is outline.
|
|
316
|
+
*/
|
|
317
|
+
outline: boolean;
|
|
318
|
+
}
|
|
319
|
+
declare const defaultFlowbiteBaseButtonConfig: FlowbiteBaseButtonConfig;
|
|
320
|
+
declare const FlowbiteBaseButtonConfigToken: InjectionToken<FlowbiteBaseButtonConfig>;
|
|
321
|
+
/**
|
|
322
|
+
* Provide the default BaseButton configuration
|
|
323
|
+
* @param config The BaseButton configuration
|
|
324
|
+
* @returns The provider
|
|
325
|
+
*/
|
|
326
|
+
declare const provideFlowbiteBaseButtonConfig: (config: Partial<FlowbiteBaseButtonConfig>) => Provider[];
|
|
327
|
+
/**
|
|
328
|
+
* Inject the BaseButton configuration
|
|
329
|
+
* @see {@link defaultFlowbiteBaseButtonConfig}
|
|
330
|
+
* @returns The configuration
|
|
331
|
+
*/
|
|
332
|
+
declare const injectFlowbiteBaseButtonConfig: () => FlowbiteBaseButtonConfig;
|
|
333
|
+
|
|
334
334
|
export { BaseButton, Button, FlowbiteBaseButtonConfigToken, FlowbiteBaseButtonStateToken, FlowbiteButtonConfigToken, FlowbiteButtonStateToken, defaultFlowbiteBaseButtonConfig, defaultFlowbiteButtonConfig, flowbiteBaseButtonState, flowbiteButtonState, flowbiteButtonTheme, injectFlowbiteBaseButtonConfig, injectFlowbiteBaseButtonState, injectFlowbiteButtonConfig, injectFlowbiteButtonState, provideFlowbiteBaseButtonConfig, provideFlowbiteBaseButtonState, provideFlowbiteButtonConfig, provideFlowbiteButtonState };
|
|
335
335
|
export type { FlowbiteBaseButtonColors, FlowbiteBaseButtonConfig, FlowbiteBaseButtonSizes, FlowbiteButtonConfig, FlowbiteButtonHostTheme, FlowbiteButtonTheme };
|
|
@@ -4,67 +4,8 @@ import { InjectionToken, Provider } from '@angular/core';
|
|
|
4
4
|
import * as flowbite_angular_card from 'flowbite-angular/card';
|
|
5
5
|
import { FlowbiteColors, ColorToTheme, FlowbiteSizes, DeepPartial } from 'flowbite-angular';
|
|
6
6
|
|
|
7
|
-
interface FlowbiteCardOrientation {
|
|
8
|
-
vertical: string;
|
|
9
|
-
horizontal: string;
|
|
10
|
-
}
|
|
11
|
-
interface FLowbiteCardColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
12
|
-
[key: string]: ColorToTheme;
|
|
13
|
-
}
|
|
14
|
-
interface FlowbiteCardSizes extends Pick<FlowbiteSizes, 'xs' | 'sm' | 'md' | 'lg' | 'xl'> {
|
|
15
|
-
[key: string]: string;
|
|
16
|
-
}
|
|
17
|
-
interface FlowbiteCardTheme {
|
|
18
|
-
host: FlowbiteCardHostTheme;
|
|
19
|
-
}
|
|
20
|
-
interface FlowbiteCardHostTheme {
|
|
21
|
-
base: string;
|
|
22
|
-
transition: string;
|
|
23
|
-
orientation: FlowbiteCardOrientation;
|
|
24
|
-
color: FLowbiteCardColors;
|
|
25
|
-
size: FlowbiteCardSizes;
|
|
26
|
-
}
|
|
27
|
-
declare const flowbiteCardTheme: FlowbiteCardTheme;
|
|
28
|
-
|
|
29
|
-
interface FlowbiteCardConfig {
|
|
30
|
-
/**
|
|
31
|
-
* The default theme of card
|
|
32
|
-
*/
|
|
33
|
-
baseTheme: FlowbiteCardTheme;
|
|
34
|
-
/**
|
|
35
|
-
* The default color of card
|
|
36
|
-
*/
|
|
37
|
-
color: keyof FLowbiteCardColors;
|
|
38
|
-
/**
|
|
39
|
-
* The default size of card
|
|
40
|
-
*/
|
|
41
|
-
size: keyof FlowbiteCardSizes;
|
|
42
|
-
/**
|
|
43
|
-
* The default orientation of card
|
|
44
|
-
*/
|
|
45
|
-
orientation: keyof FlowbiteCardOrientation;
|
|
46
|
-
/**
|
|
47
|
-
* The custom theme of card
|
|
48
|
-
*/
|
|
49
|
-
customTheme: DeepPartial<FlowbiteCardTheme>;
|
|
50
|
-
}
|
|
51
|
-
declare const defaultFlowbiteCardConfig: FlowbiteCardConfig;
|
|
52
|
-
declare const FlowbiteCardConfigToken: InjectionToken<FlowbiteCardConfig>;
|
|
53
|
-
/**
|
|
54
|
-
* Provide the default Card configuration
|
|
55
|
-
* @param config The Card configuration
|
|
56
|
-
* @returns The provider
|
|
57
|
-
*/
|
|
58
|
-
declare const provideFlowbiteCardConfig: (config: Partial<FlowbiteCardConfig>) => Provider[];
|
|
59
|
-
/**
|
|
60
|
-
* Inject the Card configuration
|
|
61
|
-
* @see {@link defaultFlowbiteCardConfig}
|
|
62
|
-
* @returns The configuration
|
|
63
|
-
*/
|
|
64
|
-
declare const injectFlowbiteCardConfig: () => FlowbiteCardConfig;
|
|
65
|
-
|
|
66
7
|
declare class Card {
|
|
67
|
-
readonly config: FlowbiteCardConfig;
|
|
8
|
+
readonly config: flowbite_angular_card.FlowbiteCardConfig;
|
|
68
9
|
/**
|
|
69
10
|
* @see {@link injectFlowbiteCardConfig}
|
|
70
11
|
*/
|
|
@@ -205,43 +146,67 @@ declare const injectFlowbiteCardState: <U = {
|
|
|
205
146
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
206
147
|
declare const flowbiteCardState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
207
148
|
|
|
208
|
-
interface
|
|
209
|
-
|
|
149
|
+
interface FlowbiteCardOrientation {
|
|
150
|
+
vertical: string;
|
|
151
|
+
horizontal: string;
|
|
210
152
|
}
|
|
211
|
-
interface
|
|
153
|
+
interface FLowbiteCardColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
154
|
+
[key: string]: ColorToTheme;
|
|
155
|
+
}
|
|
156
|
+
interface FlowbiteCardSizes extends Pick<FlowbiteSizes, 'xs' | 'sm' | 'md' | 'lg' | 'xl'> {
|
|
157
|
+
[key: string]: string;
|
|
158
|
+
}
|
|
159
|
+
interface FlowbiteCardTheme {
|
|
160
|
+
host: FlowbiteCardHostTheme;
|
|
161
|
+
}
|
|
162
|
+
interface FlowbiteCardHostTheme {
|
|
212
163
|
base: string;
|
|
213
164
|
transition: string;
|
|
165
|
+
orientation: FlowbiteCardOrientation;
|
|
214
166
|
color: FLowbiteCardColors;
|
|
167
|
+
size: FlowbiteCardSizes;
|
|
215
168
|
}
|
|
216
|
-
declare const
|
|
169
|
+
declare const flowbiteCardTheme: FlowbiteCardTheme;
|
|
217
170
|
|
|
218
|
-
interface
|
|
171
|
+
interface FlowbiteCardConfig {
|
|
219
172
|
/**
|
|
220
|
-
* The default theme of
|
|
173
|
+
* The default theme of card
|
|
221
174
|
*/
|
|
222
|
-
baseTheme:
|
|
175
|
+
baseTheme: FlowbiteCardTheme;
|
|
223
176
|
/**
|
|
224
|
-
* The
|
|
177
|
+
* The default color of card
|
|
225
178
|
*/
|
|
226
|
-
|
|
179
|
+
color: keyof FLowbiteCardColors;
|
|
180
|
+
/**
|
|
181
|
+
* The default size of card
|
|
182
|
+
*/
|
|
183
|
+
size: keyof FlowbiteCardSizes;
|
|
184
|
+
/**
|
|
185
|
+
* The default orientation of card
|
|
186
|
+
*/
|
|
187
|
+
orientation: keyof FlowbiteCardOrientation;
|
|
188
|
+
/**
|
|
189
|
+
* The custom theme of card
|
|
190
|
+
*/
|
|
191
|
+
customTheme: DeepPartial<FlowbiteCardTheme>;
|
|
227
192
|
}
|
|
228
|
-
declare const
|
|
229
|
-
declare const
|
|
193
|
+
declare const defaultFlowbiteCardConfig: FlowbiteCardConfig;
|
|
194
|
+
declare const FlowbiteCardConfigToken: InjectionToken<FlowbiteCardConfig>;
|
|
230
195
|
/**
|
|
231
|
-
* Provide the default
|
|
232
|
-
* @param config The
|
|
196
|
+
* Provide the default Card configuration
|
|
197
|
+
* @param config The Card configuration
|
|
233
198
|
* @returns The provider
|
|
234
199
|
*/
|
|
235
|
-
declare const
|
|
200
|
+
declare const provideFlowbiteCardConfig: (config: Partial<FlowbiteCardConfig>) => Provider[];
|
|
236
201
|
/**
|
|
237
|
-
* Inject the
|
|
238
|
-
* @see {@link
|
|
202
|
+
* Inject the Card configuration
|
|
203
|
+
* @see {@link defaultFlowbiteCardConfig}
|
|
239
204
|
* @returns The configuration
|
|
240
205
|
*/
|
|
241
|
-
declare const
|
|
206
|
+
declare const injectFlowbiteCardConfig: () => FlowbiteCardConfig;
|
|
242
207
|
|
|
243
208
|
declare class CardHeader {
|
|
244
|
-
readonly config: FlowbiteCardHeaderConfig;
|
|
209
|
+
readonly config: flowbite_angular_card.FlowbiteCardHeaderConfig;
|
|
245
210
|
readonly cardState: _angular_core.Signal<ng_primitives_state.State<{
|
|
246
211
|
readonly config: flowbite_angular_card.FlowbiteCardConfig;
|
|
247
212
|
readonly color: _angular_core.InputSignal<keyof flowbite_angular_card.FLowbiteCardColors>;
|
|
@@ -412,44 +377,43 @@ declare const injectFlowbiteCardHeaderState: <U = {
|
|
|
412
377
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
413
378
|
declare const flowbiteCardHeaderState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
414
379
|
|
|
415
|
-
interface
|
|
416
|
-
host:
|
|
380
|
+
interface FlowbiteCardHeaderTheme {
|
|
381
|
+
host: FlowbiteCardHeaderHostTheme;
|
|
417
382
|
}
|
|
418
|
-
interface
|
|
383
|
+
interface FlowbiteCardHeaderHostTheme {
|
|
419
384
|
base: string;
|
|
420
385
|
transition: string;
|
|
421
386
|
color: FLowbiteCardColors;
|
|
422
|
-
size: FlowbiteCardSizes;
|
|
423
387
|
}
|
|
424
|
-
declare const
|
|
388
|
+
declare const flowbiteCardHeaderTheme: FlowbiteCardHeaderTheme;
|
|
425
389
|
|
|
426
|
-
interface
|
|
390
|
+
interface FlowbiteCardHeaderConfig {
|
|
427
391
|
/**
|
|
428
|
-
* The default theme of
|
|
392
|
+
* The default theme of CardHeader
|
|
429
393
|
*/
|
|
430
|
-
baseTheme:
|
|
394
|
+
baseTheme: FlowbiteCardHeaderTheme;
|
|
431
395
|
/**
|
|
432
|
-
* The custom theme of
|
|
396
|
+
* The custom theme of CardHeader
|
|
433
397
|
*/
|
|
434
|
-
customTheme: DeepPartial<
|
|
398
|
+
customTheme: DeepPartial<FlowbiteCardHeaderTheme>;
|
|
435
399
|
}
|
|
436
|
-
declare const
|
|
437
|
-
declare const
|
|
400
|
+
declare const defaultFlowbiteCardHeaderConfig: FlowbiteCardHeaderConfig;
|
|
401
|
+
declare const FlowbiteCardHeaderConfigToken: InjectionToken<FlowbiteCardHeaderConfig>;
|
|
438
402
|
/**
|
|
439
|
-
* Provide the default
|
|
440
|
-
* @param config The
|
|
403
|
+
* Provide the default CardHeader configuration
|
|
404
|
+
* @param config The CardHeader configuration
|
|
441
405
|
* @returns The provider
|
|
442
406
|
*/
|
|
443
|
-
declare const
|
|
407
|
+
declare const provideFlowbiteCardHeaderConfig: (config: Partial<FlowbiteCardHeaderConfig>) => Provider[];
|
|
444
408
|
/**
|
|
445
|
-
* Inject the
|
|
446
|
-
* @see {@link
|
|
409
|
+
* Inject the CardHeader configuration
|
|
410
|
+
* @see {@link defaultFlowbiteCardHeaderConfig}
|
|
447
411
|
* @returns The configuration
|
|
448
412
|
*/
|
|
449
|
-
declare const
|
|
413
|
+
declare const injectFlowbiteCardHeaderConfig: () => FlowbiteCardHeaderConfig;
|
|
450
414
|
|
|
451
415
|
declare class CardContent {
|
|
452
|
-
readonly config: FlowbiteCardContentConfig;
|
|
416
|
+
readonly config: flowbite_angular_card.FlowbiteCardContentConfig;
|
|
453
417
|
readonly cardState: _angular_core.Signal<ng_primitives_state.State<{
|
|
454
418
|
readonly config: flowbite_angular_card.FlowbiteCardConfig;
|
|
455
419
|
readonly color: _angular_core.InputSignal<keyof flowbite_angular_card.FLowbiteCardColors>;
|
|
@@ -636,5 +600,41 @@ declare const injectFlowbiteCardContentState: <U = {
|
|
|
636
600
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
637
601
|
declare const flowbiteCardContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
638
602
|
|
|
603
|
+
interface FlowbiteCardContentTheme {
|
|
604
|
+
host: FlowbiteCardContentHostTheme;
|
|
605
|
+
}
|
|
606
|
+
interface FlowbiteCardContentHostTheme {
|
|
607
|
+
base: string;
|
|
608
|
+
transition: string;
|
|
609
|
+
color: FLowbiteCardColors;
|
|
610
|
+
size: FlowbiteCardSizes;
|
|
611
|
+
}
|
|
612
|
+
declare const flowbiteCardContentTheme: FlowbiteCardContentTheme;
|
|
613
|
+
|
|
614
|
+
interface FlowbiteCardContentConfig {
|
|
615
|
+
/**
|
|
616
|
+
* The default theme of CardContent
|
|
617
|
+
*/
|
|
618
|
+
baseTheme: FlowbiteCardContentTheme;
|
|
619
|
+
/**
|
|
620
|
+
* The custom theme of CardContent
|
|
621
|
+
*/
|
|
622
|
+
customTheme: DeepPartial<FlowbiteCardContentTheme>;
|
|
623
|
+
}
|
|
624
|
+
declare const defaultFlowbiteCardContentConfig: FlowbiteCardContentConfig;
|
|
625
|
+
declare const FlowbiteCardContentConfigToken: InjectionToken<FlowbiteCardContentConfig>;
|
|
626
|
+
/**
|
|
627
|
+
* Provide the default CardContent configuration
|
|
628
|
+
* @param config The CardContent configuration
|
|
629
|
+
* @returns The provider
|
|
630
|
+
*/
|
|
631
|
+
declare const provideFlowbiteCardContentConfig: (config: Partial<FlowbiteCardContentConfig>) => Provider[];
|
|
632
|
+
/**
|
|
633
|
+
* Inject the CardContent configuration
|
|
634
|
+
* @see {@link defaultFlowbiteCardContentConfig}
|
|
635
|
+
* @returns The configuration
|
|
636
|
+
*/
|
|
637
|
+
declare const injectFlowbiteCardContentConfig: () => FlowbiteCardContentConfig;
|
|
638
|
+
|
|
639
639
|
export { Card, CardContent, CardHeader, FlowbiteCardConfigToken, FlowbiteCardContentConfigToken, FlowbiteCardContentStateToken, FlowbiteCardHeaderConfigToken, FlowbiteCardHeaderStateToken, FlowbiteCardStateToken, defaultFlowbiteCardConfig, defaultFlowbiteCardContentConfig, defaultFlowbiteCardHeaderConfig, flowbiteCardContentState, flowbiteCardContentTheme, flowbiteCardHeaderState, flowbiteCardHeaderTheme, flowbiteCardState, flowbiteCardTheme, injectFlowbiteCardConfig, injectFlowbiteCardContentConfig, injectFlowbiteCardContentState, injectFlowbiteCardHeaderConfig, injectFlowbiteCardHeaderState, injectFlowbiteCardState, provideFlowbiteCardConfig, provideFlowbiteCardContentConfig, provideFlowbiteCardContentState, provideFlowbiteCardHeaderConfig, provideFlowbiteCardHeaderState, provideFlowbiteCardState };
|
|
640
640
|
export type { FLowbiteCardColors, FlowbiteCardConfig, FlowbiteCardContentConfig, FlowbiteCardContentHostTheme, FlowbiteCardContentTheme, FlowbiteCardHeaderConfig, FlowbiteCardHeaderHostTheme, FlowbiteCardHeaderTheme, FlowbiteCardHostTheme, FlowbiteCardOrientation, FlowbiteCardSizes, FlowbiteCardTheme };
|
|
@@ -1,47 +1,13 @@
|
|
|
1
1
|
import * as ng_primitives_state from 'ng-primitives/state';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { InjectionToken, Provider } from '@angular/core';
|
|
4
|
-
import
|
|
4
|
+
import * as flowbite_angular_clipboard from 'flowbite-angular/clipboard';
|
|
5
5
|
import * as _angular_cdk_clipboard from '@angular/cdk/clipboard';
|
|
6
6
|
import { Clipboard as Clipboard$1 } from '@angular/cdk/clipboard';
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
interface FlowbiteClipboardTheme {
|
|
10
|
-
host: FlowbiteClipboardHostTheme;
|
|
11
|
-
}
|
|
12
|
-
interface FlowbiteClipboardHostTheme {
|
|
13
|
-
base: string;
|
|
14
|
-
transition: string;
|
|
15
|
-
}
|
|
16
|
-
declare const flowbiteClipboardTheme: FlowbiteClipboardTheme;
|
|
17
|
-
|
|
18
|
-
interface FlowbiteClipboardConfig {
|
|
19
|
-
/**
|
|
20
|
-
* The default theme of clipboard
|
|
21
|
-
*/
|
|
22
|
-
baseTheme: FlowbiteClipboardTheme;
|
|
23
|
-
/**
|
|
24
|
-
* The custom theme of clipboard
|
|
25
|
-
*/
|
|
26
|
-
customTheme: DeepPartial<FlowbiteClipboardTheme>;
|
|
27
|
-
}
|
|
28
|
-
declare const defaultFlowbiteClipboardConfig: FlowbiteClipboardConfig;
|
|
29
|
-
declare const FlowbiteClipboardConfigToken: InjectionToken<FlowbiteClipboardConfig>;
|
|
30
|
-
/**
|
|
31
|
-
* Provide the default Clipboard configuration
|
|
32
|
-
* @param config The Clipboard configuration
|
|
33
|
-
* @returns The provider
|
|
34
|
-
*/
|
|
35
|
-
declare const provideFlowbiteClipboardConfig: (config: Partial<FlowbiteClipboardConfig>) => Provider[];
|
|
36
|
-
/**
|
|
37
|
-
* Inject the Clipboard configuration
|
|
38
|
-
* @see {@link defaultFlowbiteClipboardConfig}
|
|
39
|
-
* @returns The configuration
|
|
40
|
-
*/
|
|
41
|
-
declare const injectFlowbiteClipboardConfig: () => FlowbiteClipboardConfig;
|
|
7
|
+
import { DeepPartial } from 'flowbite-angular';
|
|
42
8
|
|
|
43
9
|
declare class Clipboard {
|
|
44
|
-
readonly config: FlowbiteClipboardConfig;
|
|
10
|
+
readonly config: flowbite_angular_clipboard.FlowbiteClipboardConfig;
|
|
45
11
|
readonly clipboard: Clipboard$1;
|
|
46
12
|
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
47
13
|
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
@@ -99,5 +65,39 @@ declare const injectFlowbiteClipboardState: <U = {
|
|
|
99
65
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
100
66
|
declare const flowbiteClipboardState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
101
67
|
|
|
68
|
+
interface FlowbiteClipboardTheme {
|
|
69
|
+
host: FlowbiteClipboardHostTheme;
|
|
70
|
+
}
|
|
71
|
+
interface FlowbiteClipboardHostTheme {
|
|
72
|
+
base: string;
|
|
73
|
+
transition: string;
|
|
74
|
+
}
|
|
75
|
+
declare const flowbiteClipboardTheme: FlowbiteClipboardTheme;
|
|
76
|
+
|
|
77
|
+
interface FlowbiteClipboardConfig {
|
|
78
|
+
/**
|
|
79
|
+
* The default theme of clipboard
|
|
80
|
+
*/
|
|
81
|
+
baseTheme: FlowbiteClipboardTheme;
|
|
82
|
+
/**
|
|
83
|
+
* The custom theme of clipboard
|
|
84
|
+
*/
|
|
85
|
+
customTheme: DeepPartial<FlowbiteClipboardTheme>;
|
|
86
|
+
}
|
|
87
|
+
declare const defaultFlowbiteClipboardConfig: FlowbiteClipboardConfig;
|
|
88
|
+
declare const FlowbiteClipboardConfigToken: InjectionToken<FlowbiteClipboardConfig>;
|
|
89
|
+
/**
|
|
90
|
+
* Provide the default Clipboard configuration
|
|
91
|
+
* @param config The Clipboard configuration
|
|
92
|
+
* @returns The provider
|
|
93
|
+
*/
|
|
94
|
+
declare const provideFlowbiteClipboardConfig: (config: Partial<FlowbiteClipboardConfig>) => Provider[];
|
|
95
|
+
/**
|
|
96
|
+
* Inject the Clipboard configuration
|
|
97
|
+
* @see {@link defaultFlowbiteClipboardConfig}
|
|
98
|
+
* @returns The configuration
|
|
99
|
+
*/
|
|
100
|
+
declare const injectFlowbiteClipboardConfig: () => FlowbiteClipboardConfig;
|
|
101
|
+
|
|
102
102
|
export { Clipboard, FlowbiteClipboardConfigToken, FlowbiteClipboardStateToken, defaultFlowbiteClipboardConfig, flowbiteClipboardState, flowbiteClipboardTheme, injectFlowbiteClipboardConfig, injectFlowbiteClipboardState, provideFlowbiteClipboardConfig, provideFlowbiteClipboardState };
|
|
103
103
|
export type { FlowbiteClipboardConfig, FlowbiteClipboardHostTheme, FlowbiteClipboardTheme };
|