Skip to content
Open

Rc #164

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
f5f0e33
refactor(tailwind-formio): use vite to build package to esm
Romakita Dec 27, 2024
ef97ce7
refactor(tailwind): migrate to esm
Romakita Dec 27, 2024
23aec9c
chore: remove config package
Romakita Dec 27, 2024
07acb3d
refactor(react-formio): migrate to esm and vitest
Romakita Dec 27, 2024
b719151
Github CI build: __run_2 v3.0.0-alpha.1 [ci skip]
semantic-release-bot Dec 29, 2024
43742f1
refactor(react-formio): remove props-type dependencies
Romakita Dec 29, 2024
91a8e55
fix: update tsconfig
Romakita Jan 4, 2025
376eade
Github CI build: __run_2 v3.0.0-alpha.2 [ci skip]
semantic-release-bot Jan 4, 2025
e34573e
fix(react-formio): changing naming convention for Type (prefix by Typ…
Romakita Jan 4, 2025
a6ff414
Github CI build: __run_2 v3.0.0-alpha.3 [ci skip]
semantic-release-bot Jan 4, 2025
6025ce5
chore(react-formio): improve storybook form documentation
Romakita Jan 4, 2025
c1de308
fix(react-formio): fix onAsyncSubmit on useForm hook
Romakita Jan 6, 2025
8de6060
Github CI build: __run_2 v3.0.0-alpha.4 [ci skip]
semantic-release-bot Jan 6, 2025
41b3e6b
fix(react-formio): migrate FormBuilder to react hooks
Romakita Jan 6, 2025
f240d25
Github CI build: __run_2 v3.0.0-alpha.5 [ci skip]
semantic-release-bot Jan 6, 2025
222ece1
fix(react-formio): use useDebounced lib to debounce input text changes
Romakita Jan 6, 2025
6631f8c
Github CI build: __run_2 v3.0.0-alpha.6 [ci skip]
semantic-release-bot Jan 7, 2025
fe22af5
chore: update storybook configuration
Romakita Jan 7, 2025
dc37108
fix: fix typing issue
Romakita Jan 7, 2025
f6d6642
refactor(react-formio): move Alert in molecules
Romakita Jan 7, 2025
a406a72
refactor(react-formio): move Card in molecules
Romakita Jan 7, 2025
3826f72
refactor(react-formio): move InputTags,InputText,FormControl inside m…
Romakita Jan 7, 2025
f249efd
refactor(react-formio): move Select inside molecules
Romakita Jan 7, 2025
f318413
refactor(react-formio): move Loader inside molecules
Romakita Jan 7, 2025
a487caf
refactor(react-formio): move Modal inside molecules/organisms
Romakita Jan 7, 2025
bf68753
refactor(react-formio): move Pagination inside molecules
Romakita Jan 7, 2025
3ebbe4f
refactor(react-formio): move Tabs inside molecules
Romakita Jan 10, 2025
5dab6eb
refactor(react-formio): move Table inside molecules
Romakita Jan 10, 2025
9cae9ae
refactor(react-formio): move all formio component under organisms
Romakita Jan 10, 2025
8ef879c
Github CI build: __run_2 v3.0.0-alpha.7 [ci skip]
semantic-release-bot Jan 10, 2025
53e9ddb
feat(react-formio): add react-select
Romakita Jan 16, 2025
86ddca3
feat(react-formio): add Icon atom
Romakita Jan 17, 2025
828c292
feat(react-formio): add button molecule
Romakita Jan 17, 2025
5ff7bdb
feat(react-formio): register FormBuilder, FormEdit, etc to the contai…
Romakita Jan 17, 2025
1904ed5
Github CI build: __run_2 v3.0.0-alpha.8 [ci skip]
semantic-release-bot Jan 18, 2025
d948768
refactor(react-formio): rework interfaces to be aligned with HTML sta…
Romakita Jan 19, 2025
6c6f640
feat(react-formio): add support Choicesjs and React-select layout to …
Romakita Jan 19, 2025
3827361
Github CI build: __run_2 v3.0.0-alpha.9 [ci skip]
semantic-release-bot Jan 25, 2025
923cb89
feat(react-formio): use @tanstack/react-table
Romakita Jan 12, 2025
4d09434
Github CI build: __run_2 v3.0.0-alpha.10 [ci skip]
semantic-release-bot Jun 21, 2025
da2bc56
feat(tabs): implement Tabs component with keyboard navigation support
Romakita Jun 23, 2025
a9b8e1f
feat(tabs): enhance Tabs component with improved type definitions and…
Romakita Sep 9, 2025
ca379c9
Github CI build: __run_2 v3.0.0-alpha.11 [ci skip]
semantic-release-bot Sep 9, 2025
d549d92
chore(tsconfig): update TypeScript configuration for improved path re…
Romakita Sep 9, 2025
3199e32
chore(deps): upgrade vitest and related dependencies to version 3.2.4
Romakita Sep 9, 2025
5fff2dd
chore(deps): upgrade vite to version 7.1.5
Romakita Sep 9, 2025
f932125
chore(deps): update Storybook and related dependencies to version 9.1.5
Romakita Sep 10, 2025
1cfbe33
fix(react-formio): integrate MSW for mock API responses and enhance F…
Romakita Sep 10, 2025
c9bd5e0
chore(build): add Playwright installation step to CI workflow
Romakita Sep 10, 2025
8aa803d
chore(deps): add vite-tsconfig-paths dependency and configure in vitest
Romakita Sep 10, 2025
2d89696
chore(deps): update Storybook and related dependencies to version 9.1…
Romakita Oct 4, 2025
cb54e1f
chore(deps): update @chromatic-com/storybook to version 4.1.1 and chr…
Romakita Oct 4, 2025
746c922
Github CI build: __run_2 v3.0.0-alpha.12 [ci skip]
semantic-release-bot Oct 4, 2025
e72e4f0
chore(deps): upgrade @tsed/monorepo-utils to version 3.0.0
Romakita Oct 4, 2025
2426234
chore(docs): update documentation titles and add new guides for compo…
Romakita Oct 4, 2025
12c6b33
feat: implement i18n support in form components and update related in…
Romakita Oct 4, 2025
4da6fdb
fix: clean code base and fix issues
Romakita Oct 4, 2025
9cd7681
Github CI build: __run_2 v3.0.0-alpha.13 [ci skip]
semantic-release-bot Oct 4, 2025
ed1d4d1
feat: add more documentation and use lucide font instead bx icons
Romakita Oct 5, 2025
5a394a6
Github CI build: __run_2 v3.0.0-alpha.14 [ci skip]
semantic-release-bot Oct 6, 2025
8d44ab3
Merge remote-tracking branch 'origin/master' into alpha
Romakita Oct 7, 2025
ab37a3a
Github CI build: __run_2 v3.0.0-alpha.15 [ci skip]
semantic-release-bot Oct 7, 2025
c0af29e
Merge pull request #163 from tsedio/alpha
Romakita Oct 7, 2025
2c25646
Github CI build: __run_2 v3.0.0-rc.1 [ci skip]
semantic-release-bot Oct 7, 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
  •  
  •  
  •  
26 changes: 3 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,6 @@ jobs:

test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "yarn"
- name: Install dependencies 🚀
run: yarn install --immutable
- name: Run test 🔍
run: yarn test

test-storybook:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
Expand All @@ -53,17 +38,12 @@ jobs:
run: yarn install --immutable
- name: Install Playwright 🚀
run: yarn playwright install
- name: Build Storybook
run: yarn storybook:build --quiet
- name: Serve Storybook and run tests 🔍
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && yarn storybook:test:ci"
- name: Run test 🔍
run: yarn run tailwind:build && yarn test

deploy-packages:
runs-on: ubuntu-latest
needs: [lint, test, test-storybook]
needs: [lint, test]
if: ${{ github.event_name != 'pull_request' && (contains(github.ref, 'master') || contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc')) }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ storybook-static
.DS_Store
.nyc_output
/docs/.vuepress/dist/
/packages/tailwind/COLORS.JSON

# Yarn
.pnp.*
Expand All @@ -65,3 +64,4 @@ storybook-static
!.yarn/sdks
!.yarn/versions

**/tsconfig.*.tsbuildinfo
58 changes: 42 additions & 16 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,61 @@
import type { StorybookConfig } from "@storybook/react-vite";
import remarkGfm from "remark-gfm";

const config: StorybookConfig = {
staticDirs: ["../packages/tailwind/build"],
staticDirs: ["../packages/tailwind-formio/build"],

stories: [
"../stories/Getting-started.mdx",
"../stories/GettingStarted.mdx",
"../stories/TailwindTheme.mdx",
"../stories/RegisterReactComponent.mdx",
"../stories/Hooks.mdx",
"../stories/OptimizeYourBundleSize.mdx",
"../stories/**/*.mdx",
"../packages/{tailwind-formio,react-formio}/src/**/*.mdx",
"../packages/{tailwind-formio,react-formio}/src/**/*.stories.@(js|jsx|ts|tsx)",
"../packages/{tailwind-formio,react-formio}/src/**/*.story.@(js|jsx|ts|tsx)"
{
titlePrefix: "Styling",
directory: "../packages/tailwind-formio"
},
{
titlePrefix: "Atoms",
directory: "../packages/react-formio/src/atoms"
},
{
titlePrefix: "Molecules",
directory: "../packages/react-formio/src/molecules"
},
{
titlePrefix: "Organisms",
directory: "../packages/react-formio/src/organisms"
}
],

addons: [
"@storybook/addon-a11y",
"@storybook/addon-links",
"@storybook/addon-interactions",
"@storybook/addon-essentials",
"@storybook/addon-mdx-gfm",
"@storybook/addon-links",
"@storybook/addon-interactions",
"@storybook/addon-onboarding",
{
name: "@storybook/addon-docs",
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm]
}
}
}
},
"@chromatic-com/storybook"
],

framework: {
name: "@storybook/react-vite",
options: {}
},

docs: {},
typescript: {
reactDocgen: "react-docgen-typescript"
core: {
builder: {
name: "@storybook/builder-vite",
options: {
viteConfigPath: "./vite.config.ts"
}
},
disableTelemetry: true
}
};

Expand Down
30 changes: 21 additions & 9 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,39 @@
import "./styles/index.css";

import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport";
import { withThemeByClassName } from "@storybook/addon-themes";
import { Formio, Templates } from "@tsed/react-formio";
import tailwind from "@tsed/tailwind-formio";
import { initialize, mswLoader } from "msw-storybook-addon";
import { INITIAL_VIEWPORTS } from "storybook/viewport";

// eslint-disable-next-line react-hooks/rules-of-hooks
Formio.use(tailwind);

Templates.framework = "tailwind";

/** @type { import('@storybook/react').Preview } */
initialize();

/** @type { import("@storybook/react-vite").Preview } */
const preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/
}
docs: {
source: { language: "tsx" }
}
},
viewport: {
viewports: INITIAL_VIEWPORTS
}
},
loaders: [mswLoader],
tags: ["autodocs"],
decorators: [
withThemeByClassName({
themes: {
light: "",
dark: "dark"
},
defaultTheme: "light"
})
]
};

export default preview;
1 change: 1 addition & 0 deletions .storybook/styles/fonts/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "bxicons/index.css";
@import "lucide-static/font/lucide.css";
@import "inconsolata/index.css";
@import "source-sans-pro/index.css";
2 changes: 1 addition & 1 deletion .storybook/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "tailwind.css";
@import "fonts/index.css";
@import "typography.css";
@import "../../node_modules/formiojs/dist/formio.full.css";
@import "../../node_modules/@formio/js/dist/formio.full.css";
@import "../../packages/tailwind-formio/styles/index.css";

8 changes: 8 additions & 0 deletions .storybook/vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import * as a11yAddonAnnotations from "@storybook/addon-a11y/preview";
import { setProjectAnnotations } from "@storybook/react-vite";

import * as projectAnnotations from "./preview";

// This is an important step to apply the right configuration when testing your stories.
// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
setProjectAnnotations([a11yAddonAnnotations, projectAnnotations]);
3 changes: 1 addition & 2 deletions chromatic.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"onlyChanged": true,
"onlyChanged": false,
"projectId": "Project:676abc3ef2ee519da9b21fb6",
"storybookBaseDir": "packages/storybook",
"zip": true
}
1 change: 0 additions & 1 deletion commitlint.config.cjs

This file was deleted.

4 changes: 4 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
extends: ["@commitlint/config-conventional"],
rules: { "header-max-length": [2, "always", 200] }
};
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "2.3.6"
"version": "3.0.0-alpha.12"
}
Loading