Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions apps/docs/src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import { docDemoDisplayerProcessor } from './shared/processors/doc-demo-displaye
import { provideFlowbiteThemeConfig } from 'flowbite-angular/theme-toggle';

import { provideHttpClient, withFetch, withInterceptorsFromDi } from '@angular/common/http';
import { type ApplicationConfig } from '@angular/core';
import { provideZoneChangeDetection, type ApplicationConfig } from '@angular/core';
import { provideClientHydration } from '@angular/platform-browser';
import { provideAnimations } from '@angular/platform-browser/animations';
import { provideRouter, withInMemoryScrolling } from '@angular/router';
import {
NG_DOC_DEFAULT_PAGE_PROCESSORS,
Expand All @@ -23,7 +22,6 @@ import { provideNgDocContext } from '@ng-doc/generated';
export const appConfig: ApplicationConfig = {
providers: [
// #region NgDoc
provideAnimations(),
provideNgDocContext(),
provideNgDocApp({
shiki: {
Expand All @@ -42,6 +40,7 @@ export const appConfig: ApplicationConfig = {
provideMainPageProcessor(NG_DOC_DEFAULT_PAGE_PROCESSORS),
providePageProcessor(docDemoDisplayerProcessor),
// #endregion
provideZoneChangeDetection(),
provideClientHydration(),
provideRouter(
appRoutes,
Expand Down
4 changes: 3 additions & 1 deletion apps/docs/src/main.server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { AppComponent } from './app/app.component';
import { config } from './app/app.config.server';

import type { BootstrapContext } from '@angular/platform-browser';
import { bootstrapApplication } from '@angular/platform-browser';

const bootstrap = () => bootstrapApplication(AppComponent, config);
const bootstrap = (context: BootstrapContext) =>
bootstrapApplication(AppComponent, config, context);

export default bootstrap;
4 changes: 3 additions & 1 deletion apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"target": "ES2022",
"esModuleInterop": true
"esModuleInterop": true,
"module": "preserve",
"moduleResolution": "bundler"
},
"angularCompilerOptions": {
"strictInjectionParameters": true,
Expand Down
3 changes: 2 additions & 1 deletion apps/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file has been automatically migrated to valid ESM format by Storybook.
import type { StorybookConfig } from '@storybook/angular';

import { createRequire } from 'node:module';
Expand All @@ -10,7 +11,7 @@ const config: StorybookConfig = {
staticDirs: ['../public'],
addons: [getAbsolutePath('@storybook/addon-themes'), getAbsolutePath('@storybook/addon-docs')],
framework: {
name: '@storybook/angular',
name: getAbsolutePath('@storybook/angular'),
options: {},
},
docs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { twMerge } from 'tailwind-merge';
providers: [provideFlowbiteNavbarBrandState()],
host: {
'[class]': `theme().host.root`,
'[attr.type]': 'button',
type: 'button',
},
})
export class NavbarBrand {
Expand Down
8 changes: 4 additions & 4 deletions libs/flowbite-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
}
},
"peerDependencies": {
"@angular/cdk": ">=20.0.0 < 21.0.0",
"@angular/core": ">=20.0.0 < 21.0.0",
"@angular/cdk": ">=21.0.0 < 22.0.0",
"@angular/core": ">=21.0.0 < 22.0.0",
"@ng-icons/core": "^31.3.0",
"@ng-primitives/state": ">=0.57.0",
"@ng-primitives/state": "^0.90.0",
"@tailwindcss/postcss": "^4.0.0",
"ng-primitives": ">=0.57.0",
"ng-primitives": "^0.90.0",
"rxjs": "^7.4.0",
"tailwind-merge": "2.5.5",
"tailwindcss": "^4.0.0"
Expand Down
6 changes: 3 additions & 3 deletions libs/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"main": "./src/index.js",
"types": "./src/index.d.ts",
"dependencies": {
"@nx/angular": "21.2.2",
"@nx/devkit": "21.2.2",
"tslib": "^2.3.0"
"@nx/angular": "22.3.3",
"@nx/devkit": "22.3.3",
"tslib": "^2.8.1"
},
"generators": "./generators.json"
}
2 changes: 1 addition & 1 deletion libs/tools/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "commonjs"
"module": "preserve"
},
"files": [],
"include": [],
Expand Down
4 changes: 3 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@
}
},
"projects": ["flowbite-angular"],
"releaseTagPattern": "flowbite-angular@v{version}"
"releaseTag": {
"pattern": "flowbite-angular@v{version}"
}
}
}
94 changes: 47 additions & 47 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,89 +27,89 @@
"storybook:static-build": "nx run storybook:static-storybook"
},
"dependencies": {
"@angular/animations": "20.0.6",
"@angular/cdk": "20.0.5",
"@angular/common": "20.0.6",
"@angular/compiler": "20.0.6",
"@angular/core": "20.0.6",
"@angular/forms": "20.0.6",
"@angular/platform-browser": "20.0.6",
"@angular/platform-browser-dynamic": "20.0.6",
"@angular/platform-server": "20.0.6",
"@angular/router": "20.0.6",
"@angular/ssr": "20.0.5",
"@angular/animations": "21.0.8",
"@angular/cdk": "21.0.6",
"@angular/common": "21.0.8",
"@angular/compiler": "21.0.8",
"@angular/core": "21.0.8",
"@angular/forms": "21.0.8",
"@angular/platform-browser": "21.0.8",
"@angular/platform-browser-dynamic": "21.0.8",
"@angular/platform-server": "21.0.8",
"@angular/router": "21.0.8",
"@angular/ssr": "21.0.5",
"@floating-ui/dom": "^1.6.0",
"@ng-doc/app": "20.1.0",
"@ng-doc/builder": "20.1.0",
"@ng-doc/core": "20.1.0",
"@ng-doc/ui-kit": "20.1.0",
"@ng-doc/app": "21.0.0",
"@ng-doc/builder": "21.0.0",
"@ng-doc/core": "21.0.0",
"@ng-doc/ui-kit": "21.0.0",
"@ng-icons/core": "^31.3.0",
"@ng-primitives/state": "0.78.0",
"@nx/devkit": "21.2.2",
"@ng-primitives/state": "^0.90.0",
"@nx/devkit": "22.3.3",
"@tailwindcss/postcss": "^4.0.0",
"express": "4.18.3",
"ng-primitives": "0.86.0",
"ng-primitives": "^0.90.0",
"postcss": "^8.5.3",
"rxjs": "^7.4.0",
"tailwind-merge": "2.5.5",
"tslib": "2.8.1",
"zone.js": "0.15.0"
"zone.js": "0.16.0"
},
"devDependencies": {
"@angular-devkit/architect": "0.2000.5",
"@angular-devkit/core": "20.0.5",
"@angular-devkit/schematics": "20.0.5",
"@angular-eslint/eslint-plugin": "20.1.1",
"@angular-eslint/eslint-plugin-template": "20.1.1",
"@angular-eslint/template-parser": "20.1.1",
"@angular/cli": "~20.0.0",
"@angular/compiler-cli": "20.0.6",
"@angular/language-service": "20.0.6",
"@angular-devkit/architect": "0.2100.5",
"@angular-devkit/core": "21.0.5",
"@angular-devkit/schematics": "21.0.5",
"@angular-eslint/eslint-plugin": "21.1.0",
"@angular-eslint/eslint-plugin-template": "21.1.0",
"@angular-eslint/template-parser": "21.1.0",
"@angular/cli": "21.0.5",
"@angular/compiler-cli": "21.0.8",
"@angular/language-service": "21.0.8",
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.3",
"@ianvs/prettier-plugin-sort-imports": "4.4.0",
"@ng-doc/keywords-loaders": "20.1.0",
"@nx/angular": "21.2.2",
"@nx/eslint": "21.2.2",
"@nx/eslint-plugin": "21.2.2",
"@nx/js": "21.2.2",
"@nx/plugin": "21.2.2",
"@nx/storybook": "^21.2.2",
"@nx/web": "21.2.2",
"@nx/workspace": "21.2.2",
"@schematics/angular": "20.0.5",
"@storybook/addon-docs": "9.0.15",
"@storybook/addon-themes": "9.0.15",
"@storybook/angular": "9.0.15",
"@ng-doc/keywords-loaders": "21.0.0",
"@nx/angular": "22.3.3",
"@nx/eslint": "22.3.3",
"@nx/eslint-plugin": "22.3.3",
"@nx/js": "22.3.3",
"@nx/plugin": "22.3.3",
"@nx/storybook": "22.3.3",
"@nx/web": "22.3.3",
"@nx/workspace": "22.3.3",
"@schematics/angular": "21.0.5",
"@storybook/addon-docs": "10.1.11",
"@storybook/addon-themes": "10.1.11",
"@storybook/angular": "10.1.11",
"@swc-node/register": "~1.9.1",
"@swc/cli": "~0.6.0",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/express": "4.17.14",
"@types/node": "18.16.9",
"@types/node": "25.0.6",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@typescript-eslint/utils": "7.18.0",
"eslint": "8.57.0",
"eslint-config-prettier": "10.1.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-storybook": "9.0.15",
"eslint-plugin-storybook": "10.1.11",
"husky": "9.1.7",
"jsonc-eslint-parser": "2.4.0",
"lint-staged": "15.2.10",
"ng-packagr": "20.0.1",
"nx": "21.2.2",
"ng-packagr": "21.0.1",
"nx": "22.3.3",
"postcss-loader": "8.1.1",
"prettier": "3.4.2",
"prettier-eslint": "16.3.0",
"prettier-plugin-packagejson": "2.5.6",
"prettier-plugin-tailwindcss": "^0.6.11",
"shiki": "1.24.2",
"storybook": "9.0.15",
"storybook": "10.1.11",
"stylelint": "16.12.0",
"stylelint-config-standard": "36.0.1",
"tailwindcss": "^4.0.0",
"ts-node": "10.9.2",
"typescript": "5.8.3"
"typescript": "5.9.3"
}
}
Loading