flowbite-angular 1.3.0 → 20.0.2
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 +30 -39
- package/accordion/index.d.ts +569 -16
- package/alert/index.d.ts +602 -4
- package/badge/index.d.ts +636 -4
- package/breadcrumb/index.d.ts +452 -8
- package/button/index.d.ts +335 -4
- package/button-group/README.md +4 -0
- package/button-group/index.d.ts +85 -0
- package/{core → card}/README.md +2 -2
- package/card/index.d.ts +640 -0
- package/{accordion → clipboard}/README.md +2 -2
- package/clipboard/index.d.ts +103 -0
- package/dropdown/index.d.ts +536 -16
- package/fesm2022/flowbite-angular-accordion.mjs +339 -479
- package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
- package/fesm2022/flowbite-angular-alert.mjs +308 -240
- package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
- package/fesm2022/flowbite-angular-badge.mjs +332 -238
- package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
- package/fesm2022/flowbite-angular-breadcrumb.mjs +262 -191
- package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/flowbite-angular-button-group.mjs +86 -0
- package/fesm2022/flowbite-angular-button-group.mjs.map +1 -0
- package/fesm2022/flowbite-angular-button.mjs +189 -270
- package/fesm2022/flowbite-angular-button.mjs.map +1 -1
- package/fesm2022/flowbite-angular-card.mjs +344 -0
- package/fesm2022/flowbite-angular-card.mjs.map +1 -0
- package/fesm2022/flowbite-angular-clipboard.mjs +174 -0
- package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -0
- package/fesm2022/flowbite-angular-dropdown.mjs +272 -459
- package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
- package/fesm2022/flowbite-angular-form.mjs +444 -0
- package/fesm2022/flowbite-angular-form.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-brand.mjs +71 -0
- package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-arrows.mjs +51 -0
- package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs +23 -0
- package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-emoji.mjs +13 -0
- package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs +42 -0
- package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-general.mjs +145 -0
- package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-media.mjs +25 -0
- package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-text.mjs +20 -0
- package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-user.mjs +17 -0
- package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-weather.mjs +9 -0
- package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline.mjs +6 -0
- package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-arrows.mjs +17 -0
- package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-brands.mjs +33 -0
- package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs +21 -0
- package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-emoji.mjs +13 -0
- package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs +42 -0
- package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-general.mjs +123 -0
- package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-media.mjs +24 -0
- package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-text.mjs +11 -0
- package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-user.mjs +17 -0
- package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-weather.mjs +9 -0
- package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid.mjs +6 -0
- package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon.mjs +318 -219
- package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
- package/fesm2022/flowbite-angular-indicator.mjs +119 -231
- package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
- package/fesm2022/flowbite-angular-modal.mjs +337 -486
- package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
- package/fesm2022/flowbite-angular-navbar.mjs +600 -604
- package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-pagination.mjs +994 -0
- package/fesm2022/flowbite-angular-pagination.mjs.map +1 -0
- package/fesm2022/flowbite-angular-sidebar.mjs +400 -776
- package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-tab.mjs +465 -0
- package/fesm2022/flowbite-angular-tab.mjs.map +1 -0
- package/fesm2022/flowbite-angular-theme-toggle.mjs +263 -0
- package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -0
- package/fesm2022/flowbite-angular-tooltip.mjs +117 -0
- package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -0
- package/fesm2022/flowbite-angular.mjs +53 -66
- package/fesm2022/flowbite-angular.mjs.map +1 -1
- package/flowbite-angular.css +2 -0
- package/{alert → form}/README.md +2 -2
- package/form/index.d.ts +684 -0
- package/{breadcrumb → icon/brand}/README.md +2 -2
- package/icon/brand/index.d.ts +66 -0
- package/icon/index.d.ts +322 -5
- package/icon/outline/README.md +4 -0
- package/icon/outline/arrows/index.d.ts +46 -0
- package/icon/outline/e-commerce/index.d.ts +18 -0
- package/icon/outline/emoji/index.d.ts +8 -0
- package/icon/outline/files-folders/index.d.ts +37 -0
- package/icon/outline/general/index.d.ts +140 -0
- package/icon/outline/index.d.ts +2 -0
- package/icon/outline/media/index.d.ts +20 -0
- package/icon/outline/text/index.d.ts +15 -0
- package/icon/outline/user/index.d.ts +12 -0
- package/icon/outline/weather/index.d.ts +4 -0
- package/icon/solid/README.md +4 -0
- package/icon/solid/arrows/index.d.ts +12 -0
- package/icon/solid/brands/index.d.ts +28 -0
- package/icon/solid/e-commerce/index.d.ts +16 -0
- package/icon/solid/emoji/index.d.ts +8 -0
- package/icon/solid/files-folder/index.d.ts +37 -0
- package/icon/solid/general/index.d.ts +118 -0
- package/icon/solid/index.d.ts +2 -0
- package/icon/solid/media/index.d.ts +19 -0
- package/icon/solid/text/index.d.ts +6 -0
- package/icon/solid/user/index.d.ts +12 -0
- package/icon/solid/weather/index.d.ts +4 -0
- package/index.d.ts +126 -3
- package/indicator/index.d.ts +242 -4
- package/modal/index.d.ts +458 -16
- package/navbar/index.d.ts +1467 -24
- package/package.json +133 -38
- package/pagination/README.md +4 -0
- package/pagination/index.d.ts +1135 -0
- package/sidebar/index.d.ts +880 -24
- package/styles/flowbite-angular.css +8 -0
- package/styles/part/animation.css +0 -0
- package/styles/part/color.css +125 -0
- package/styles/part/font-size.css +67 -0
- package/styles/part/rounded.css +11 -0
- package/styles/part/shadow.css +9 -0
- package/styles/part/spacing.css +38 -0
- package/{badge → tab}/README.md +2 -2
- package/tab/index.d.ts +791 -0
- package/theme-toggle/README.md +4 -0
- package/theme-toggle/index.d.ts +342 -0
- package/{button → tooltip}/README.md +2 -2
- package/tooltip/index.d.ts +158 -0
- package/accordion/accordion-content.component.d.ts +0 -69
- package/accordion/accordion-content.theme.d.ts +0 -28
- package/accordion/accordion-content.theme.service.d.ts +0 -19
- package/accordion/accordion-panel.component.d.ts +0 -67
- package/accordion/accordion-panel.theme.d.ts +0 -23
- package/accordion/accordion-panel.theme.service.d.ts +0 -20
- package/accordion/accordion-title.component.d.ts +0 -106
- package/accordion/accordion-title.theme.d.ts +0 -35
- package/accordion/accordion-title.theme.service.d.ts +0 -19
- package/accordion/accordion.component.d.ts +0 -61
- package/accordion/accordion.theme.d.ts +0 -29
- package/accordion/accordion.theme.service.d.ts +0 -19
- package/alert/alert.component.d.ts +0 -150
- package/alert/alert.theme.d.ts +0 -39
- package/alert/alert.theme.service.d.ts +0 -19
- package/badge/badge.component.d.ts +0 -196
- package/badge/badge.theme.d.ts +0 -53
- package/badge/badge.theme.service.d.ts +0 -19
- package/base-component.directive.d.ts +0 -51
- package/breadcrumb/breadcrumb-item.component.d.ts +0 -84
- package/breadcrumb/breadcrumb-item.theme.d.ts +0 -33
- package/breadcrumb/breadcrumb-item.theme.service.d.ts +0 -19
- package/breadcrumb/breadcrumb.component.d.ts +0 -43
- package/breadcrumb/breadcrumb.theme.d.ts +0 -29
- package/breadcrumb/breadcrumb.theme.service.d.ts +0 -19
- package/button/button.component.d.ts +0 -250
- package/button/button.theme.d.ts +0 -79
- package/button/button.theme.service.d.ts +0 -19
- package/core/flowbite.theme.init.d.ts +0 -9
- package/core/index.d.ts +0 -1
- package/dark-theme-toggle/README.md +0 -4
- package/dark-theme-toggle/dark-theme-toggle.component.d.ts +0 -51
- package/dark-theme-toggle/dark-theme-toggle.theme.d.ts +0 -23
- package/dark-theme-toggle/dark-theme-toggle.theme.service.d.ts +0 -19
- package/dark-theme-toggle/index.d.ts +0 -3
- package/dropdown/README.md +0 -4
- package/dropdown/dropdown-divider.component.d.ts +0 -36
- package/dropdown/dropdown-divider.theme.d.ts +0 -23
- package/dropdown/dropdown-divider.theme.service.d.ts +0 -19
- package/dropdown/dropdown-header.component.d.ts +0 -42
- package/dropdown/dropdown-header.theme.d.ts +0 -28
- package/dropdown/dropdown-header.theme.service.d.ts +0 -19
- package/dropdown/dropdown-item.component.d.ts +0 -36
- package/dropdown/dropdown-item.theme.d.ts +0 -23
- package/dropdown/dropdown-item.theme.service.d.ts +0 -19
- package/dropdown/dropdown.component.d.ts +0 -136
- package/dropdown/dropdown.theme.d.ts +0 -56
- package/dropdown/dropdown.theme.service.d.ts +0 -19
- package/fesm2022/flowbite-angular-core.mjs +0 -322
- package/fesm2022/flowbite-angular-core.mjs.map +0 -1
- package/fesm2022/flowbite-angular-dark-theme-toggle.mjs +0 -139
- package/fesm2022/flowbite-angular-dark-theme-toggle.mjs.map +0 -1
- package/fesm2022/flowbite-angular-router-link-active.mjs +0 -68
- package/fesm2022/flowbite-angular-router-link-active.mjs.map +0 -1
- package/fesm2022/flowbite-angular-router-link.mjs +0 -73
- package/fesm2022/flowbite-angular-router-link.mjs.map +0 -1
- package/fesm2022/flowbite-angular-sanitize-html.mjs +0 -39
- package/fesm2022/flowbite-angular-sanitize-html.mjs.map +0 -1
- package/fesm2022/flowbite-angular-scroll-top.mjs +0 -193
- package/fesm2022/flowbite-angular-scroll-top.mjs.map +0 -1
- package/fesm2022/flowbite-angular-theme.mjs +0 -78
- package/fesm2022/flowbite-angular-theme.mjs.map +0 -1
- package/fesm2022/flowbite-angular-utils.mjs +0 -210
- package/fesm2022/flowbite-angular-utils.mjs.map +0 -1
- package/flowbite.theme.service.d.ts +0 -12
- package/icon/icon-registry.d.ts +0 -45
- package/icon/icon.component.d.ts +0 -22
- package/icon/trusted-types.d.ts +0 -15
- package/indicator/indicators.component.d.ts +0 -224
- package/indicator/indicators.theme.d.ts +0 -59
- package/indicator/indicators.theme.service.d.ts +0 -19
- package/modal/modal-body.component.d.ts +0 -36
- package/modal/modal-body.theme.d.ts +0 -23
- package/modal/modal-body.theme.service.d.ts +0 -19
- package/modal/modal-footer.component.d.ts +0 -36
- package/modal/modal-footer.theme.d.ts +0 -23
- package/modal/modal-footer.theme.service.d.ts +0 -19
- package/modal/modal-header.component.d.ts +0 -60
- package/modal/modal-header.theme.d.ts +0 -32
- package/modal/modal-header.theme.service.d.ts +0 -19
- package/modal/modal.component.d.ts +0 -146
- package/modal/modal.theme.d.ts +0 -35
- package/modal/modal.theme.service.d.ts +0 -19
- package/navbar/navbar-brand.component.d.ts +0 -36
- package/navbar/navbar-brand.theme.d.ts +0 -23
- package/navbar/navbar-brand.theme.service.d.ts +0 -19
- package/navbar/navbar-content.component.d.ts +0 -50
- package/navbar/navbar-content.theme.d.ts +0 -28
- package/navbar/navbar-content.theme.service.d.ts +0 -19
- package/navbar/navbar-icon-button.component.d.ts +0 -59
- package/navbar/navbar-icon-button.theme.d.ts +0 -26
- package/navbar/navbar-icon-button.theme.service.d.ts +0 -19
- package/navbar/navbar-item.component.d.ts +0 -67
- package/navbar/navbar-item.theme.d.ts +0 -26
- package/navbar/navbar-item.theme.service.d.ts +0 -19
- package/navbar/navbar-toggle.component.d.ts +0 -51
- package/navbar/navbar-toggle.theme.d.ts +0 -23
- package/navbar/navbar-toggle.theme.service.d.ts +0 -19
- package/navbar/navbar.component.d.ts +0 -121
- package/navbar/navbar.theme.d.ts +0 -21
- package/navbar/navbar.theme.service.d.ts +0 -19
- package/router-link/README.md +0 -4
- package/router-link/flowbite-router-link.directive.d.ts +0 -28
- package/router-link/index.d.ts +0 -1
- package/router-link-active/README.md +0 -4
- package/router-link-active/flowbite-router-link-active.directive.d.ts +0 -37
- package/router-link-active/index.d.ts +0 -1
- package/sanitize-html/README.md +0 -4
- package/sanitize-html/index.d.ts +0 -1
- package/sanitize-html/sanitize-html.pipe.d.ts +0 -20
- package/scroll-top/README.md +0 -4
- package/scroll-top/index.d.ts +0 -4
- package/scroll-top/scroll-top.component.d.ts +0 -114
- package/scroll-top/scroll-top.theme.d.ts +0 -39
- package/scroll-top/scroll-top.theme.service.d.ts +0 -19
- package/sidebar/sidebar-item-group.component.d.ts +0 -100
- package/sidebar/sidebar-item-group.theme.d.ts +0 -31
- package/sidebar/sidebar-item-group.theme.service.d.ts +0 -19
- package/sidebar/sidebar-item.component.d.ts +0 -101
- package/sidebar/sidebar-item.theme.d.ts +0 -33
- package/sidebar/sidebar-item.theme.service.d.ts +0 -19
- package/sidebar/sidebar-menu.component.d.ts +0 -93
- package/sidebar/sidebar-menu.theme.d.ts +0 -30
- package/sidebar/sidebar-menu.theme.service.d.ts +0 -19
- package/sidebar/sidebar-page-content.component.d.ts +0 -46
- package/sidebar/sidebar-page-content.theme.d.ts +0 -27
- package/sidebar/sidebar-page-content.theme.service.d.ts +0 -19
- package/sidebar/sidebar-toggle.component.d.ts +0 -95
- package/sidebar/sidebar-toggle.theme.d.ts +0 -34
- package/sidebar/sidebar-toggle.theme.service.d.ts +0 -19
- package/sidebar/sidebar.component.d.ts +0 -84
- package/sidebar/sidebar.theme.d.ts +0 -22
- package/sidebar/sidebar.theme.service.d.ts +0 -19
- package/tailwind.config.js +0 -303
- package/theme/README.md +0 -4
- package/theme/flowbite-theme.directive.d.ts +0 -36
- package/theme/index.d.ts +0 -1
- package/type-definitions/colors/flowbite.colors.d.ts +0 -19
- package/type-definitions/colors/flowbite.gradient-colors.d.ts +0 -11
- package/type-definitions/colors/flowbite.gradient-duo-tone-colors.d.ts +0 -12
- package/type-definitions/colors/index.d.ts +0 -3
- package/type-definitions/flowbite.boolean.d.ts +0 -14
- package/type-definitions/flowbite.class.d.ts +0 -6
- package/type-definitions/flowbite.combination.d.ts +0 -8
- package/type-definitions/flowbite.content-positions.d.ts +0 -6
- package/type-definitions/flowbite.deep-partial.d.ts +0 -6
- package/type-definitions/flowbite.heading-levels.d.ts +0 -4
- package/type-definitions/flowbite.positions.d.ts +0 -14
- package/type-definitions/flowbite.router-link-parameter.d.ts +0 -5
- package/type-definitions/flowbite.sizes.d.ts +0 -10
- package/type-definitions/flowbite.themes.d.ts +0 -4
- package/type-definitions/index.d.ts +0 -12
- package/utils/README.md +0 -4
- package/utils/icon.list.d.ts +0 -7
- package/utils/id.generator.d.ts +0 -59
- package/utils/index.d.ts +0 -8
- package/utils/theme/clone-deep.d.ts +0 -7
- package/utils/theme/create-class.d.ts +0 -7
- package/utils/theme/create-theme.d.ts +0 -7
- package/utils/theme/is-object.d.ts +0 -7
- package/utils/theme/merge-theme.d.ts +0 -8
- package/utils/theme/to-string.d.ts +0 -7
package/tailwind.config.js
DELETED
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
5
|
-
|
|
6
|
-
/** @type {import('tailwindcss').Config} */
|
|
7
|
-
module.exports = {
|
|
8
|
-
darkMode: 'class',
|
|
9
|
-
theme: {
|
|
10
|
-
extend: {
|
|
11
|
-
colors: {
|
|
12
|
-
primary: {
|
|
13
|
-
50: '#FFF0F1',
|
|
14
|
-
100: '#FFE1E4',
|
|
15
|
-
200: '#FFC8CF',
|
|
16
|
-
300: '#FF9BA8',
|
|
17
|
-
400: '#FF637B',
|
|
18
|
-
500: '#FF2C51',
|
|
19
|
-
600: '#F6083B',
|
|
20
|
-
700: '#C3002F',
|
|
21
|
-
800: '#AE0331',
|
|
22
|
-
900: '#940732',
|
|
23
|
-
},
|
|
24
|
-
gray: {
|
|
25
|
-
50: '#F9FAFB',
|
|
26
|
-
100: '#F3F4F6',
|
|
27
|
-
200: '#E5E7EB',
|
|
28
|
-
300: '#D1D5DB',
|
|
29
|
-
400: '#9CA3AF',
|
|
30
|
-
500: '#6B7280',
|
|
31
|
-
600: '#4B5563',
|
|
32
|
-
700: '#374151',
|
|
33
|
-
800: '#1F2A37',
|
|
34
|
-
900: '#111928',
|
|
35
|
-
},
|
|
36
|
-
blue: {
|
|
37
|
-
50: '#EBF5FF',
|
|
38
|
-
100: '#E1EFFE',
|
|
39
|
-
200: '#C3DDFD',
|
|
40
|
-
300: '#A4CAFE',
|
|
41
|
-
400: '#76A9FA',
|
|
42
|
-
500: '#3F83F8',
|
|
43
|
-
600: '#1C64F2',
|
|
44
|
-
700: '#1A56DB',
|
|
45
|
-
800: '#1E429F',
|
|
46
|
-
900: '#233876',
|
|
47
|
-
},
|
|
48
|
-
red: {
|
|
49
|
-
50: '#FDF2F2',
|
|
50
|
-
100: '#FDE8E8',
|
|
51
|
-
200: '#FBD5D5',
|
|
52
|
-
300: '#F8B4B4',
|
|
53
|
-
400: '#F98080',
|
|
54
|
-
500: '#F05252',
|
|
55
|
-
600: '#E02424',
|
|
56
|
-
700: '#C81E1E',
|
|
57
|
-
800: '#9B1C1C',
|
|
58
|
-
900: '#771D1D',
|
|
59
|
-
},
|
|
60
|
-
orange: {
|
|
61
|
-
50: '#FFF8F1',
|
|
62
|
-
100: '#FEECDC',
|
|
63
|
-
200: '#FCD9BD',
|
|
64
|
-
300: '#FDBA8C',
|
|
65
|
-
400: '#FF8A4C',
|
|
66
|
-
500: '#FF5A1F',
|
|
67
|
-
600: '#D03801',
|
|
68
|
-
700: '#B43403',
|
|
69
|
-
800: '#8A2C0D',
|
|
70
|
-
900: '#771D1D',
|
|
71
|
-
},
|
|
72
|
-
yellow: {
|
|
73
|
-
50: '#FDFDEA',
|
|
74
|
-
100: '#FDF6B2',
|
|
75
|
-
200: '#FCE96A',
|
|
76
|
-
300: '#FACA15',
|
|
77
|
-
400: '#E3A008',
|
|
78
|
-
500: '#C27803',
|
|
79
|
-
600: '#9F580A',
|
|
80
|
-
700: '#8E4B10',
|
|
81
|
-
800: '#723B13',
|
|
82
|
-
900: '#633112',
|
|
83
|
-
},
|
|
84
|
-
green: {
|
|
85
|
-
50: '#F3FAF7',
|
|
86
|
-
100: '#DEF7EC',
|
|
87
|
-
200: '#BCF0DA',
|
|
88
|
-
300: '#84E1BC',
|
|
89
|
-
400: '#31C48D',
|
|
90
|
-
500: '#0E9F6E',
|
|
91
|
-
600: '#057A55',
|
|
92
|
-
700: '#046C4E',
|
|
93
|
-
800: '#03543F',
|
|
94
|
-
900: '#014737',
|
|
95
|
-
},
|
|
96
|
-
teal: {
|
|
97
|
-
50: '#EDFAFA',
|
|
98
|
-
100: '#D5F5F6',
|
|
99
|
-
200: '#AFECEF',
|
|
100
|
-
300: '#7EDCE2',
|
|
101
|
-
400: '#16BDCA',
|
|
102
|
-
500: '#0694A2',
|
|
103
|
-
600: '#047481',
|
|
104
|
-
700: '#036672',
|
|
105
|
-
800: '#036672',
|
|
106
|
-
900: '#014451',
|
|
107
|
-
},
|
|
108
|
-
indigo: {
|
|
109
|
-
50: '#F0F5FF',
|
|
110
|
-
100: '#E5EDFF',
|
|
111
|
-
200: '#CDDBFE',
|
|
112
|
-
300: '#B4C6FC',
|
|
113
|
-
400: '#8DA2FB',
|
|
114
|
-
500: '#6875F5',
|
|
115
|
-
600: '#5850EC',
|
|
116
|
-
700: '#5145CD',
|
|
117
|
-
800: '#42389D',
|
|
118
|
-
900: '#362F78',
|
|
119
|
-
},
|
|
120
|
-
purple: {
|
|
121
|
-
50: '#F6F5FF',
|
|
122
|
-
100: '#EDEBFE',
|
|
123
|
-
200: '#DCD7FE',
|
|
124
|
-
300: '#CABFFD',
|
|
125
|
-
400: '#AC94FA',
|
|
126
|
-
500: '#9061F9',
|
|
127
|
-
600: '#7E3AF2',
|
|
128
|
-
700: '#6C2BD9',
|
|
129
|
-
800: '#5521B5',
|
|
130
|
-
900: '#4A1D96',
|
|
131
|
-
},
|
|
132
|
-
pink: {
|
|
133
|
-
50: '#FDF2F8',
|
|
134
|
-
100: '#FCE8F3',
|
|
135
|
-
200: '#FAD1E8',
|
|
136
|
-
300: '#F8B4D9',
|
|
137
|
-
400: '#F17EB8',
|
|
138
|
-
500: '#E74694',
|
|
139
|
-
600: '#D61F69',
|
|
140
|
-
700: '#BF125D',
|
|
141
|
-
800: '#99154B',
|
|
142
|
-
900: '#751A3D',
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
screens: {
|
|
146
|
-
sm: '640px',
|
|
147
|
-
md: '768px',
|
|
148
|
-
lg: '1024px',
|
|
149
|
-
xl: '1280px',
|
|
150
|
-
'2xl': '1536px',
|
|
151
|
-
},
|
|
152
|
-
spacing: {
|
|
153
|
-
0: '0px',
|
|
154
|
-
px: '1px',
|
|
155
|
-
0.5: '2px',
|
|
156
|
-
1: '4px',
|
|
157
|
-
1.5: '6px',
|
|
158
|
-
2: '8px',
|
|
159
|
-
2.5: '10px',
|
|
160
|
-
3: '12px',
|
|
161
|
-
3.5: '14px',
|
|
162
|
-
4: '16px',
|
|
163
|
-
5: '20px',
|
|
164
|
-
6: '24px',
|
|
165
|
-
7: '28px',
|
|
166
|
-
8: '32px',
|
|
167
|
-
9: '36px',
|
|
168
|
-
10: '40px',
|
|
169
|
-
11: '44px',
|
|
170
|
-
12: '48px',
|
|
171
|
-
14: '56px',
|
|
172
|
-
16: '64px',
|
|
173
|
-
20: '80px',
|
|
174
|
-
24: '96px',
|
|
175
|
-
28: '112px',
|
|
176
|
-
32: '128px',
|
|
177
|
-
36: '144px',
|
|
178
|
-
40: '160px',
|
|
179
|
-
44: '176px',
|
|
180
|
-
48: '192px',
|
|
181
|
-
52: '208px',
|
|
182
|
-
56: '224px',
|
|
183
|
-
60: '240px',
|
|
184
|
-
64: '256px',
|
|
185
|
-
72: '288px',
|
|
186
|
-
80: '320px',
|
|
187
|
-
96: '384px',
|
|
188
|
-
},
|
|
189
|
-
borderRadius: {
|
|
190
|
-
sm: '2px',
|
|
191
|
-
DEFAULT: '4px',
|
|
192
|
-
md: '6px',
|
|
193
|
-
lg: '8px',
|
|
194
|
-
xl: '12px',
|
|
195
|
-
'2xl': '16px',
|
|
196
|
-
'3xl': '24px',
|
|
197
|
-
full: '999px',
|
|
198
|
-
},
|
|
199
|
-
boxShadow: {
|
|
200
|
-
sm: '0px 1px 2px 0px #00000014',
|
|
201
|
-
DEFAULT: '0px 1px 2px -1px #0000001A',
|
|
202
|
-
md: '0px 2px 4px -2px #0000000D',
|
|
203
|
-
lg: '0px 4px 6px 0px #0000000D',
|
|
204
|
-
xl: '0px 10px 10px 0px #0000000A',
|
|
205
|
-
'2xl': '0px 25px 50px -12px #00000040',
|
|
206
|
-
},
|
|
207
|
-
borderWidth: {
|
|
208
|
-
0: '0px',
|
|
209
|
-
DEFAULT: '1px',
|
|
210
|
-
2: '2px',
|
|
211
|
-
4: '4px',
|
|
212
|
-
8: '8px',
|
|
213
|
-
},
|
|
214
|
-
fontSize: {
|
|
215
|
-
xs: [
|
|
216
|
-
'12px',
|
|
217
|
-
{
|
|
218
|
-
lineHeight: '1',
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
sm: [
|
|
222
|
-
'14px',
|
|
223
|
-
{
|
|
224
|
-
lineHeight: '1',
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
DEFAULT: [
|
|
228
|
-
'16px',
|
|
229
|
-
{
|
|
230
|
-
lineHeight: '1',
|
|
231
|
-
},
|
|
232
|
-
],
|
|
233
|
-
lg: [
|
|
234
|
-
'18px',
|
|
235
|
-
{
|
|
236
|
-
lineHeight: '1',
|
|
237
|
-
},
|
|
238
|
-
],
|
|
239
|
-
xl: [
|
|
240
|
-
'20px',
|
|
241
|
-
{
|
|
242
|
-
lineHeight: '1',
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
'2xl': [
|
|
246
|
-
'24px',
|
|
247
|
-
{
|
|
248
|
-
lineHeight: '1',
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
'3xl': [
|
|
252
|
-
'30px',
|
|
253
|
-
{
|
|
254
|
-
lineHeight: '1',
|
|
255
|
-
},
|
|
256
|
-
],
|
|
257
|
-
'4xl': [
|
|
258
|
-
'36px',
|
|
259
|
-
{
|
|
260
|
-
lineHeight: '1',
|
|
261
|
-
},
|
|
262
|
-
],
|
|
263
|
-
'5xl': [
|
|
264
|
-
'48px',
|
|
265
|
-
{
|
|
266
|
-
lineHeight: '1',
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
'6xl': [
|
|
270
|
-
'60px',
|
|
271
|
-
{
|
|
272
|
-
lineHeight: '1',
|
|
273
|
-
},
|
|
274
|
-
],
|
|
275
|
-
'7xl': [
|
|
276
|
-
'72px',
|
|
277
|
-
{
|
|
278
|
-
lineHeight: '1',
|
|
279
|
-
},
|
|
280
|
-
],
|
|
281
|
-
'8xl': [
|
|
282
|
-
'96px',
|
|
283
|
-
{
|
|
284
|
-
lineHeight: '1',
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
'9xl': [
|
|
288
|
-
'128px',
|
|
289
|
-
{
|
|
290
|
-
lineHeight: '1',
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
},
|
|
294
|
-
aria: {
|
|
295
|
-
current: 'current="true"',
|
|
296
|
-
},
|
|
297
|
-
},
|
|
298
|
-
fontFamily: {
|
|
299
|
-
sans: 'Inter',
|
|
300
|
-
},
|
|
301
|
-
},
|
|
302
|
-
plugins: [],
|
|
303
|
-
};
|
package/theme/README.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteTheme } from 'flowbite-angular';
|
|
2
|
-
import type { OnInit } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Use to give a clean API on the current application theme
|
|
6
|
-
*/
|
|
7
|
-
export declare class FlowbiteThemeDirective implements OnInit {
|
|
8
|
-
private readonly injector;
|
|
9
|
-
private readonly localStorageKey;
|
|
10
|
-
private readonly _currentTheme;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
/**
|
|
13
|
-
* Get the application theme based on `signals`
|
|
14
|
-
*/
|
|
15
|
-
readonly currentTheme: import("@angular/core").Signal<FlowbiteTheme>;
|
|
16
|
-
/**
|
|
17
|
-
* Get theme from the `localStorage`
|
|
18
|
-
*
|
|
19
|
-
* @returns The current theme saved in the `localStorage` with the key `color-theme`
|
|
20
|
-
*/
|
|
21
|
-
getLocalStorageTheme(): FlowbiteTheme;
|
|
22
|
-
/**
|
|
23
|
-
* Toggle the theme saved in the `localStorage` and available in `currentTheme`
|
|
24
|
-
*
|
|
25
|
-
* @param theme If provided, force the theme instead of toggling it between light and dark mode
|
|
26
|
-
*/
|
|
27
|
-
toggleTheme(theme?: FlowbiteTheme): void;
|
|
28
|
-
/**
|
|
29
|
-
* Set the theme inside the page
|
|
30
|
-
*
|
|
31
|
-
* @param theme Theme to apply
|
|
32
|
-
*/
|
|
33
|
-
setTheme(theme: FlowbiteTheme): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowbiteThemeDirective, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FlowbiteThemeDirective, "[flowbiteTheme]", never, {}, {}, never, never, true, never>;
|
|
36
|
-
}
|
package/theme/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FlowbiteThemeDirective } from './flowbite-theme.directive';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base definition of colors used in flowbite-angular.
|
|
3
|
-
*/
|
|
4
|
-
export interface FlowbiteColors {
|
|
5
|
-
primary: string;
|
|
6
|
-
light: string;
|
|
7
|
-
dark: string;
|
|
8
|
-
blue: string;
|
|
9
|
-
cyan: string;
|
|
10
|
-
gray: string;
|
|
11
|
-
green: string;
|
|
12
|
-
indigo: string;
|
|
13
|
-
lime: string;
|
|
14
|
-
pink: string;
|
|
15
|
-
purple: string;
|
|
16
|
-
red: string;
|
|
17
|
-
teal: string;
|
|
18
|
-
yellow: string;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteColors } from './flowbite.colors';
|
|
2
|
-
/**
|
|
3
|
-
* Base definition of gradient colors used in flowbite-angular.
|
|
4
|
-
*/
|
|
5
|
-
export interface FlowbiteGradientColors extends Omit<FlowbiteColors, 'warning'> {
|
|
6
|
-
cyan: string;
|
|
7
|
-
lime: string;
|
|
8
|
-
pink: string;
|
|
9
|
-
purple: string;
|
|
10
|
-
teal: string;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base definition of gradient color with fade from one color to another used in flowbite-angular.
|
|
3
|
-
*/
|
|
4
|
-
export interface FlowbiteGradientDuoToneColors {
|
|
5
|
-
cyanToBlue: string;
|
|
6
|
-
greenToBlue: string;
|
|
7
|
-
pinkToOrange: string;
|
|
8
|
-
purpleToBlue: string;
|
|
9
|
-
purpleToPink: string;
|
|
10
|
-
redToYellow: string;
|
|
11
|
-
tealToLime: string;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base definition of boolean used in flowbite-angular.
|
|
3
|
-
*/
|
|
4
|
-
export interface FlowbiteBoolean {
|
|
5
|
-
enabled: string;
|
|
6
|
-
disabled: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* This function cast a boolean to the internal flowbute-angular boolean type.
|
|
10
|
-
*
|
|
11
|
-
* @param value The input to be cast.
|
|
12
|
-
* @returns enabled if value is true ; disabled if value is false.
|
|
13
|
-
*/
|
|
14
|
-
export declare function booleanToFlowbiteBoolean(value: boolean): keyof FlowbiteBoolean;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base definition of positions used in flowbite-angular.
|
|
3
|
-
*/
|
|
4
|
-
export interface FlowbitePositions {
|
|
5
|
-
'bottom-left': string;
|
|
6
|
-
'bottom-right': string;
|
|
7
|
-
'bottom-center': string;
|
|
8
|
-
'top-left': string;
|
|
9
|
-
'top-center': string;
|
|
10
|
-
'top-right': string;
|
|
11
|
-
'center-left': string;
|
|
12
|
-
center: string;
|
|
13
|
-
'center-right': string;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { booleanToFlowbiteBoolean } from './flowbite.boolean';
|
|
2
|
-
export type { FlowbiteBoolean } from './flowbite.boolean';
|
|
3
|
-
export type { FlowbiteClass } from './flowbite.class';
|
|
4
|
-
export type { FlowbiteContentPositions } from './flowbite.content-positions';
|
|
5
|
-
export type { FlowbiteHeadingLevel } from './flowbite.heading-levels';
|
|
6
|
-
export type { FlowbitePositions } from './flowbite.positions';
|
|
7
|
-
export type { FlowbiteSizes } from './flowbite.sizes';
|
|
8
|
-
export type { FlowbiteTheme } from './flowbite.themes';
|
|
9
|
-
export type { Combination } from './flowbite.combination';
|
|
10
|
-
export type { DeepPartial } from './flowbite.deep-partial';
|
|
11
|
-
export type { RouterLinkParameter } from './flowbite.router-link-parameter';
|
|
12
|
-
export * from './colors';
|
package/utils/README.md
DELETED
package/utils/icon.list.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const CLOSE_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"\n d=\"M6 18 17.94 6M18 18 6.06 6\" />\n</svg>\n";
|
|
2
|
-
export declare const CHEVRON_UP_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m16 14-4-4-4 4\" />\n</svg>\n";
|
|
3
|
-
export declare const CHEVRON_DOWN_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 10 4 4 4-4\" />\n</svg>\n";
|
|
4
|
-
export declare const CHEVRON_RIGHT_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10 16 4-4-4-4\" />\n</svg>\n";
|
|
5
|
-
export declare const SUN_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"\n d=\"M12 5V3m0 18v-2M7.05 7.05 5.636 5.636m12.728 12.728L16.95 16.95M5 12H3m18 0h-2M7.05 16.95l-1.414 1.414M18.364 5.636 16.95 7.05M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z\" />\n</svg>\n";
|
|
6
|
-
export declare const MOON_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"\n d=\"M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z\" />\n</svg>\n";
|
|
7
|
-
export declare const BARS_SVG_ICON = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\" />\n</svg>\n";
|
package/utils/id.generator.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This class provide an implementation of Guid used as id for flowbite-angular components.
|
|
3
|
-
*
|
|
4
|
-
* @see https://gist.github.com/emptyother/1fd97db034ef848f38eca3354fa9ee90
|
|
5
|
-
*/
|
|
6
|
-
export declare class Guid {
|
|
7
|
-
private value;
|
|
8
|
-
/**
|
|
9
|
-
* If value is given and if the value is a valid Guid, then return a Guid from the string ; Otherwise or if no value is given, create a Guid class without value.
|
|
10
|
-
*
|
|
11
|
-
* @param value Guid as string if you want to get a Guid type from string
|
|
12
|
-
*/
|
|
13
|
-
constructor(value?: string);
|
|
14
|
-
/**
|
|
15
|
-
* Function that generate new Guid.
|
|
16
|
-
*
|
|
17
|
-
* @returns New Guid.
|
|
18
|
-
*/
|
|
19
|
-
static newGuid(): Guid;
|
|
20
|
-
/**
|
|
21
|
-
* Function that generate an empty Guid.
|
|
22
|
-
*
|
|
23
|
-
* @return "00000000-0000-0000-0000-000000000000".
|
|
24
|
-
*/
|
|
25
|
-
static get empty(): string;
|
|
26
|
-
/**
|
|
27
|
-
* Function that generate an empty Guid.
|
|
28
|
-
*
|
|
29
|
-
* @return "00000000-0000-0000-0000-000000000000".
|
|
30
|
-
*/
|
|
31
|
-
get empty(): string;
|
|
32
|
-
/**
|
|
33
|
-
* Check if the provided Guid is valid.
|
|
34
|
-
*
|
|
35
|
-
* @param str The Guid to check.
|
|
36
|
-
* @returns true if the Guid is valid ; false otherwise.
|
|
37
|
-
*/
|
|
38
|
-
static isValid(str: string): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* ToString base method.
|
|
41
|
-
*
|
|
42
|
-
* @returns Value as string.
|
|
43
|
-
*/
|
|
44
|
-
toString(): string;
|
|
45
|
-
/**
|
|
46
|
-
* ToJson base method.
|
|
47
|
-
*
|
|
48
|
-
* @returns Value as Json compatible string.
|
|
49
|
-
*/
|
|
50
|
-
toJSON(): string;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Function that return a new Guid.
|
|
54
|
-
*
|
|
55
|
-
* @returns New {@link Guid}.
|
|
56
|
-
*
|
|
57
|
-
* @see `Guid`
|
|
58
|
-
*/
|
|
59
|
-
export declare function generateId(): Guid;
|
package/utils/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { cloneDeep } from './theme/clone-deep';
|
|
2
|
-
export { createClass } from './theme/create-class';
|
|
3
|
-
export { createTheme } from './theme/create-theme';
|
|
4
|
-
export { isObject } from './theme/is-object';
|
|
5
|
-
export { mergeTheme } from './theme/merge-theme';
|
|
6
|
-
export { themeToString } from './theme/to-string';
|
|
7
|
-
export { BARS_SVG_ICON, CHEVRON_DOWN_SVG_ICON, CHEVRON_RIGHT_SVG_ICON, CHEVRON_UP_SVG_ICON, CLOSE_SVG_ICON, MOON_SVG_ICON, SUN_SVG_ICON, } from './icon.list';
|
|
8
|
-
export { Guid, generateId } from './id.generator';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function is used to create classes for component's while keeping the intellisens up for TailwindCSS and other extensions.
|
|
3
|
-
*
|
|
4
|
-
* @param input Generic type to be created.
|
|
5
|
-
* @returns The generic type's definition.
|
|
6
|
-
*/
|
|
7
|
-
export declare function createClass<T>(input: T): T;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function is used to create themes for component's while keeping the intellisens up for TailwindCSS and other extensions.
|
|
3
|
-
*
|
|
4
|
-
* @param input Generic type to be created.
|
|
5
|
-
* @returns The generic type's definition.
|
|
6
|
-
*/
|
|
7
|
-
export declare function createTheme<T>(input: T): T;
|