Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
7a81cea
feat: make flowbite-button usable as directive
MGREMY Jan 20, 2025
f6189ab
feat: make flowbite-button usable as directive (#109)
MGREMY Jan 20, 2025
142ba0c
docs: fix flex-wrap class
MGREMY Jan 21, 2025
c6ebc43
docs: fix deprecated in button page
MGREMY Jan 22, 2025
98f1b7c
feat: make flowbite-navbar-* usable as directive
MGREMY Jan 22, 2025
5fd4a3b
feat: make flowbite-navbar-* usable as directive (#110)
MGREMY Jan 22, 2025
37201d7
docs: add sidebar directive
MGREMY Jan 23, 2025
1b526ac
feat(sidebar): make flowbite-sidebar-* usable as directive
MGREMY Jan 23, 2025
76c765d
docs(sidebar): fix z-40
MGREMY Jan 23, 2025
28685be
feat(sidebar): make flowbite-sidebar-* usable as directive
MGREMY Jan 23, 2025
1668395
feat(accordion): make flowbite-accordion usable as directive
MGREMY Mar 3, 2025
aee5933
feat(breadcrumb): make flowbite-breadcrumb usable as directive
MGREMY Mar 3, 2025
90fd0b6
Feature make component available as directive (#112)
MGREMY Mar 20, 2025
c3c8416
chore: add angular-primitive dependency
MGREMY Mar 20, 2025
c352bfd
refacto(button): migrate to angular-primitive (WIP)
MGREMY Mar 20, 2025
1408e2f
refacto(button): migrate to angular-primitive (WIP)
MGREMY Mar 28, 2025
9bc3741
refactor: add storybook for library
MGREMY Mar 28, 2025
a853329
refactor: button storybook add customStyle
MGREMY Mar 28, 2025
053fab6
docs: add disabled to button storybook
MGREMY Mar 29, 2025
1c0274c
refactor: rename .css file
MGREMY Mar 29, 2025
90e5365
refactor: lock file
MGREMY Mar 29, 2025
bc3ae81
chore: add class import sort prettier plugin
MGREMY Apr 3, 2025
b46e6a9
feat: switch to tailwindcss v4
MGREMY Apr 3, 2025
e076662
chore: add storybook to project
MGREMY Apr 3, 2025
bd9088a
chore: add dark mode in storybook
MGREMY Apr 4, 2025
1800561
refactor: path for 2.0.0 during dev phase
MGREMY Apr 4, 2025
4692737
feat: add injection of base theme for components
MGREMY Apr 6, 2025
bf883ce
refactor: rename root to host in theme
MGREMY Apr 6, 2025
4c63656
refactor(button): add state
MGREMY Apr 10, 2025
d090830
refactor: remove v1 files
MGREMY Apr 11, 2025
973cd99
refactor(button): outline (WIP)
MGREMY Apr 11, 2025
4a03a97
refactor: dependencies (WIP)
MGREMY Apr 11, 2025
bedfa56
refactor: dependencies (WIP)
MGREMY Apr 11, 2025
856abbe
refactor: dependencies (WIP)
MGREMY Apr 11, 2025
2174be0
refactor(button): adapt outline style
MGREMY Apr 11, 2025
c8e886e
refactor: dependencies (WIP)
MGREMY Apr 11, 2025
92b6653
refactor(button): add styles
MGREMY Apr 11, 2025
d1d23de
refactor: move to css tailwind config
MGREMY Apr 11, 2025
065fe8f
refactor: clean config files
MGREMY Apr 11, 2025
5c4161b
refactor(accordion): migrate to v2
MGREMY Apr 12, 2025
eb881a2
refactor: fix token state creation
MGREMY Apr 12, 2025
6e530ba
refactor: change setting injection in components
MGREMY Apr 18, 2025
131d617
refactor: add exportAs for components
MGREMY May 2, 2025
935fe53
refactor(alert): migrate to v2
MGREMY May 2, 2025
ffeb1f2
refactor(badge): migrate to v2
MGREMY May 2, 2025
2004fda
refactor(breadcrumb): migrate to v2
MGREMY May 2, 2025
d5c57c9
refactor(dropdown): migrate to v2
MGREMY May 3, 2025
56a7bc2
refactor: add component generation tool
MGREMY May 3, 2025
62d4644
refactor: add secondary entry point to generator
MGREMY May 3, 2025
070e88a
refactor: move generator location
MGREMY May 3, 2025
b14276b
refactor: catch error create entrypoint
MGREMY May 3, 2025
791d4a8
refactor: add host class
MGREMY May 3, 2025
be1ca1f
refactor(indicator): migrate to v2
MGREMY May 3, 2025
7d68d8e
refactor: add storybook generator
MGREMY May 3, 2025
46702b9
refactor(modal): migrate to v2
MGREMY May 3, 2025
19a8db2
chore: pnpm-lock.json
MGREMY May 3, 2025
e72b947
refactor: tailwindcss vscode settings
MGREMY May 3, 2025
54e2711
chore: remove vercel config
MGREMY May 3, 2025
73e3fb2
chore: update config for vercel deployments on v2
MGREMY May 3, 2025
aa6dfed
chore: update config for vercel deployments on v2
MGREMY May 3, 2025
1824c7d
chore: update ng-primitive version
MGREMY May 3, 2025
6f123d0
refactor(icon): migrate to v2
MGREMY May 4, 2025
8ec6446
refactor(button): make abstract and create icon button
MGREMY May 4, 2025
36b1f0d
refactor(button): make abstract and create icon button
MGREMY May 4, 2025
2150c4c
refactor(button): make styling abstract
MGREMY May 4, 2025
99973a5
refactor(indicator): add colors
MGREMY May 4, 2025
cc41bc5
refactor(): change modal button
MGREMY May 5, 2025
be4fecd
refactor(navbar): migrate to v2 (WIP)
MGREMY May 5, 2025
0a8190f
refactor(navbar): migrate to v2 (WIP)
MGREMY May 5, 2025
a834259
refactor(navbar): migrate to v2
MGREMY May 8, 2025
f27fd9e
refactor: remove tests & tests libraries
MGREMY May 8, 2025
c5286d8
refactor: update ssr dependency
MGREMY May 8, 2025
aedb63b
refactor: add skeleton for v2
MGREMY May 8, 2025
38ce331
refactor: make state internal
MGREMY May 8, 2025
9377488
refactor(sidebar): migrate to v2
MGREMY May 9, 2025
de6ad5b
refactor(sidebar): migrate to v2
MGREMY May 9, 2025
4ac85ec
refactor(theme-toggle): migrate to v2
MGREMY May 30, 2025
35ee6d0
refactor(pagination): migrate to v2
MGREMY May 30, 2025
731bdff
feat(tooltip): add new component #94
MGREMY May 30, 2025
f36ad3b
feat(button-group): add new component
MGREMY May 30, 2025
8edabc5
feat(form-field): add new component
MGREMY May 30, 2025
b005747
feat(clipboard): add new component #92
MGREMY May 30, 2025
326149d
feat(card): add new component #91
MGREMY May 31, 2025
fc7d7f9
docs: to 2.0
MGREMY May 31, 2025
ba83f90
chore: update ng-primitives & ng-doc version
MGREMY May 31, 2025
7d0cff1
docs: to 2.0
MGREMY May 31, 2025
e3ee8e8
chore: add documentation generator
MGREMY May 31, 2025
217a9a4
docs: to 2.0
MGREMY May 31, 2025
2c1fdf0
docs: to 2.0
MGREMY Jun 1, 2025
8c3c635
docs: to 2.0
MGREMY Jun 1, 2025
020c4a1
docs: to 2.0
MGREMY Jun 1, 2025
44b7cc8
docs: to 2.0
MGREMY Jun 1, 2025
5ede15c
docs: to 2.0
MGREMY Jun 1, 2025
b1d1cd9
docs: to 2.0
MGREMY Jun 1, 2025
85d8446
docs: to 2.0
MGREMY Jun 1, 2025
4bb6445
docs: to 2.0
MGREMY Jun 1, 2025
8ff5d25
docs: to 2.0
MGREMY Jun 1, 2025
b447b49
docs: to 2.0
MGREMY Jun 1, 2025
d4f68fd
docs: to 2.0
MGREMY Jun 1, 2025
d08bf66
docs: to 2.0
MGREMY Jun 1, 2025
df2cb41
docs: to 2.0
MGREMY Jun 1, 2025
cc1d1af
docs: to 2.0
MGREMY Jun 1, 2025
5debeda
refactor: to 2.0
MGREMY Jun 1, 2025
d7b079f
refactor: to 2.0
MGREMY Jun 2, 2025
a4966fe
refactor: to 2.0
MGREMY Jun 2, 2025
8138850
refactor: to 2.0
MGREMY Jun 2, 2025
c8a390b
refactor: to 2.0
MGREMY Jun 2, 2025
9bd527f
refactor: to 2.0
MGREMY Jun 2, 2025
55daf45
refactor: to 2.0
MGREMY Jun 2, 2025
1e8ab5f
refactor: to 2.0
MGREMY Jun 2, 2025
6cd44a4
refactor: to 2.0
MGREMY Jun 2, 2025
6320175
refactor: to 2.0
MGREMY Jun 3, 2025
62461e5
refactor: to 2.0
MGREMY Jun 3, 2025
9f8b18c
refactor: to 2.0
MGREMY Jun 3, 2025
ef20fbc
refactor: to 2.0
MGREMY Jun 3, 2025
c947059
refactor: to 2.0
MGREMY Jun 3, 2025
5b5446d
refactor: to 2.0
MGREMY Jun 3, 2025
23aefdf
refactor: to 2.0
MGREMY Jun 3, 2025
8bda407
refactor: to 2.0
MGREMY Jun 3, 2025
46617d0
refactor: to 2.0
MGREMY Jun 3, 2025
1295930
refactor: to 2.0
MGREMY Jun 3, 2025
c1e22ad
refactor: to 2.0
MGREMY Jun 4, 2025
a2b2dfc
refactor: to 2.0
MGREMY Jun 5, 2025
1193fb1
refactor: to 2.0
MGREMY Jun 5, 2025
2510ec8
refactor: to 2.0
MGREMY Jun 5, 2025
7dd6beb
refactor: to 2.0
MGREMY Jun 5, 2025
bc6e80f
refactor: to 2.0
MGREMY Jun 5, 2025
b6146bd
refactor: to 2.0
MGREMY Jul 1, 2025
b161eec
refactor: to 2.0
MGREMY Jul 1, 2025
4e17be8
refactor(dropdown): to 2.0
MGREMY Jul 2, 2025
19c013d
refactor(icon): to 2.0
MGREMY Jul 2, 2025
62bbcc2
refactor(indicator): to 2.0
MGREMY Jul 2, 2025
64c51b5
refactor(navbar): to 2.0
MGREMY Jul 2, 2025
45fac01
refactor(pagination): to 2.0
MGREMY Jul 2, 2025
3743180
refactor(sidebar): to 2.0
MGREMY Jul 2, 2025
8d81420
refactor(sidebar): to 2.0
MGREMY Jul 2, 2025
67b15f9
refactor(tab): to 2.0
MGREMY Jul 3, 2025
a6b9f6d
refactor(tooltip): to 2.0
MGREMY Jul 3, 2025
df971a6
refactor: tailwindcss dependencies
MGREMY Jul 3, 2025
d5e0c0f
refactor: ng-primitives dependencies
MGREMY Jul 3, 2025
805cf4e
chore: update to angular 20
MGREMY Jul 3, 2025
3277b7e
refactor: storybook dependencies
MGREMY Jul 3, 2025
84980eb
refactor: pnpm-lock
MGREMY Jul 3, 2025
a73a947
refactor: dependencies
MGREMY Jul 3, 2025
15e450c
ci: simplify pnpm setup
MGREMY Jul 3, 2025
c00bc07
ci: re-setup
MGREMY Jul 3, 2025
eff6edd
ci: fix version
MGREMY Jul 3, 2025
8598058
docs: to 2.0
MGREMY Jul 3, 2025
01feef0
ci: remove test ci
MGREMY Jul 3, 2025
6d7c8b2
chore: re-enable prerender
MGREMY Jul 3, 2025
6a030b9
fix: sidebar & navbar
MGREMY Jul 3, 2025
8d2766f
docs: fix display for some components
MGREMY Jul 3, 2025
7112e25
docs(tab): create documentation
MGREMY Jul 3, 2025
6fde86a
chore: update ng-primitives
MGREMY Jul 3, 2025
f21e71b
docs: fix pagination behavior
MGREMY Jul 3, 2025
6276175
docs: fix sidebar toggle disapear
MGREMY Jul 3, 2025
40be69a
docs: fix badge icons
MGREMY Jul 3, 2025
d5d1b5c
docs: fix global text color
MGREMY Jul 4, 2025
8c06860
docs: update README
MGREMY Jul 4, 2025
60797f3
docs: update README
MGREMY Jul 4, 2025
d8e421f
docs: update README
MGREMY Jul 4, 2025
b58375b
docs: add page for ng-primitives
MGREMY Jul 4, 2025
aba336b
docs: changes
MGREMY Jul 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 5 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"plugins": ["@nx", "@typescript-eslint", "prettier"],
"extends": ["plugin:@nx/angular", "plugin:@typescript-eslint/recommended", "prettier"],
"overrides": [
{
"files": "*.json",
"parser": "jsonc-eslint-parser",
"rules": {}
},
{
"files": ["*.ts"],
"rules": {
Expand All @@ -13,19 +18,13 @@
"endOfLine": "auto"
}
],

// ESLint
"no-extra-semi": "off",
"comma-dangle": "off",
"no-empty-function": "off",

// TypeScript
"@typescript-eslint/no-extra-semi": "error",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/consistent-type-imports": "error",

// Nx specific rules
"@nx/enforce-module-boundaries": "error"
}
}
Expand Down
89 changes: 0 additions & 89 deletions .github/actions/setup/action.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/cache_cleanup.yml

This file was deleted.

58 changes: 30 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,61 +8,63 @@

jobs:
lint:
strategy:
matrix:
node-version: [20]

name: Lint the code 🕵
runs-on: ubuntu-latest
steps:
- name: Check out the code 🗄
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup NodeJS 💿
uses: actions/setup-node@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: 20

- name: Monorepo install
uses: ./.github/actions/setup
version: 10

- name: Lint the code 🕵
run: pnpm all:lint

test:
name: Run unit tests 🔬
runs-on: ubuntu-latest
steps:
- name: Check out the code 🗄
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup NodeJS 💿
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Monorepo install
uses: ./.github/actions/setup
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline

- name: Run unit tests 🔬
run: pnpm all:test -- --ci --verbose
- name: Lint the code 🕵
run: pnpm all:lint

build:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
strategy:
matrix:
node-version: [20]

name: Build code 🛠
runs-on: ubuntu-latest
steps:
- name: Check out the code 🗄
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup NodeJS 💿
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Monorepo install
uses: ./.github/actions/setup
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline

- name: Build code 🛠
run: pnpm all:build

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
32 changes: 24 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Specify the version'
required: false
type: string
dryRun:
description: 'Start the release with dryRun parameter'
required: true
Expand All @@ -11,31 +15,43 @@ on:

jobs:
release:
if: (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/release') || (github.event_name == 'workflow_dispatch' && github.event.inputs.dryRun == 'true' && github.ref == 'refs/heads/main')
strategy:
matrix:
node-version: [20]

if: (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/release') || (github.event_name == 'workflow_dispatch' && github.event.inputs.dryRun == 'true')
name: Release new version 🛠
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Check out the code 🗄
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Setup NodeJS 💿
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Monorepo install
uses: ./.github/actions/setup
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline

- name: Release new version 🛠
run: pnpm lib:release -- --ci --verbose --skip-nx-cache --dryRun=${{ github.event.inputs.dryRun }}
run: pnpm exec nx release ${{ github.event.inputs.version || '' }} --verbose --dryRun=${{ github.event.inputs.dryRun }}
env:
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ Thumbs.db
.angular

.vercel
.nx
.nx
.cursor/rules/nx-rules.mdc
.github/instructions/nx.instructions.md
3 changes: 1 addition & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"*.ts": ["nx affected:lint --fix --files"],
"*": ["npx nx format:write --files"],
"*.css": ["npx stylelint --fix"]
"*": ["npx nx format:write --files"]
}
5 changes: 0 additions & 5 deletions .nxreleaserc.json

This file was deleted.

9 changes: 7 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"bracketSpacing": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["prettier-plugin-packagejson", "@ianvs/prettier-plugin-sort-imports"],
"plugins": [
"prettier-plugin-packagejson",
"@ianvs/prettier-plugin-sort-imports",
"prettier-plugin-tailwindcss"
],
"importOrder": [
"^~/(.*)$",
"^[.]",
Expand All @@ -18,5 +22,6 @@
"",
"<BUILTIN_MODULES>"
],
"importOrderParserPlugins": ["typescript", "decorators-legacy"]
"importOrderParserPlugins": ["typescript", "decorators-legacy"],
"tailwindFunctions": ["twMerge", "createTheme"]
}
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"angular.ng-template",
"nrwl.angular-console",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner",
"dbaeumer.vscode-eslint"
]
}
10 changes: 4 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\r\n",
"editor.formatOnSave": true,
"tailwindCSS.experimental.configFile": "libs/flowbite-angular/styles/flowbite-angular.css",
"tailwindCSS.classAttributes": ["class", "className", "ngClass", "customStyle"],
"tailwindCSS.experimental.classRegex": [
["twMerge\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["createTheme\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
],
"tailwindCSS.classFunctions": ["twMerge", "createTheme"],
"typescript.tsdk": "node_modules/typescript/lib",

"[markdown]": {
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false,
Expand All @@ -22,5 +19,6 @@
"strings": "off",
"other": "off"
}
}
},
"eslint.validate": ["json"]
}
3 changes: 0 additions & 3 deletions api/index.mjs

This file was deleted.

Loading