Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8c97dd8
chore
maemreyo Jan 13, 2025
bc109f6
chore: add theme
maemreyo Jan 14, 2025
8e27bdd
wip: add inputbase
maemreyo Jan 14, 2025
e005145
wip: update inputbase
maemreyo Jan 14, 2025
94f5ee0
wip: add template component
maemreyo Jan 14, 2025
e9b22d5
chore: add todos
maemreyo Jan 14, 2025
ed36cad
chore: add tooltip
maemreyo Jan 14, 2025
080d4ab
chore: update InputLabel, InputBase
maemreyo Jan 14, 2025
60890d6
chore: wip
maemreyo Jan 20, 2025
fc49f05
chore: add combobox default values
maemreyo Jan 20, 2025
79a0f2a
chore: update combobox
maemreyo Jan 20, 2025
258f647
chore: bump version
maemreyo Jan 20, 2025
b8b5052
chore: remove unused code
maemreyo Jan 20, 2025
fbc901b
chore: remove unused code
maemreyo Jan 20, 2025
fb8a4f1
chore
maemreyo Jan 20, 2025
e35d2e9
chore: bump version
maemreyo Jan 20, 2025
3e6aef5
chore: bump version to 0.0.21 and refactor ComboBox component to impr…
maemreyo Jan 20, 2025
2acf68f
feat: add showDraggableList prop to ComboBoxInput for enhanced custom…
maemreyo Jan 20, 2025
2159f69
feat: enhance DynamicForm with submit button and improve ComboBox han…
maemreyo Jan 20, 2025
9a266a7
chore: bump version to 0.0.22
maemreyo Jan 20, 2025
401cd83
feat: enhance ComboBox component to support required field validation
maemreyo Jan 21, 2025
286f10c
chore: bump version to 0.0.23
maemreyo Jan 21, 2025
63fdcb4
feat: add renderErrorMessage prop to FieldConfig and FormContentProps…
maemreyo Jan 21, 2025
b0c9fbd
chore: bump version to 0.0.24
maemreyo Jan 21, 2025
47c5d6c
refactor: update InputRenderer to use fieldConfig for error message r…
maemreyo Jan 21, 2025
d577470
chore: bump version to 0.0.25
maemreyo Jan 21, 2025
a1b12b0
chore: update @matthew.ngo/react-form-kit to version 0.0.10 and enhan…
maemreyo Jan 21, 2025
43203c6
chore: bump version
maemreyo Jan 21, 2025
8bf8c43
Adds disabled state to combobox options
maemreyo Jan 23, 2025
4634980
bump
maemreyo Jan 23, 2025
d681992
Updates ComboBox to support list direction
maemreyo Jan 23, 2025
1735eb7
bump version
maemreyo Jan 23, 2025
90bf59e
bump version
maemreyo Jan 23, 2025
065db28
Updates react-form-kit dependency
maemreyo Feb 6, 2025
defcb19
update
maemreyo Feb 6, 2025
a382699
Adds option to control initial item loading
maemreyo Feb 6, 2025
00a9e5a
update
maemreyo Feb 6, 2025
aab593b
Updates combobox to reinitialize on prop changes
maemreyo Feb 6, 2025
c1eb849
Refactors ComboBox component for improved data handling
maemreyo Feb 6, 2025
5ed65b0
feat: Add form lifecycle hooks to DynamicForm story
maemreyo Feb 19, 2025
8ba686c
feat: Update version to 0.0.36
maemreyo Feb 19, 2025
c65a5fc
feat: Update ComboBox - Add `onItemsChange` callback
maemreyo Feb 19, 2025
485160e
fix bug combobox
maemreyo Jul 21, 2025
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
11 changes: 5 additions & 6 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
const { TsconfigPathsPlugin } = require('tsconfig-paths-webpack-plugin');
const path = require('path');

module.exports = {
stories: [
'../src/**/*.stories.mdx',
'../src/**/*.stories.@(js|jsx|ts|tsx)',
'../stories/**/*.stories.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
],
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
Expand All @@ -20,6 +16,9 @@ module.exports = {
autodocs: true,
},
webpackFinal: async (config) => {
// config.resolve.plugins = config.resolve.plugins || [];
// config.resolve.plugins.push(new TsconfigPathsPlugin({}));

config.module.rules.push({
test: /\.(ts|tsx)$/,
exclude: /node_modules/,
Expand Down
42 changes: 42 additions & 0 deletions create_components.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/bin/bash

# List of component names
components=(
"InputBase" "InputLabel" "InputControl" "InputIcon" "InputHelperText"
"InputErrorMessage" "InputGroup" "TextAreaControl" "NumberInput" "DatePicker"
"TimePicker" "FileUpload" "ColorPicker" "SelectBase" "MultiSelect" "Combobox"
"AutoComplete" "CheckboxGroup" "RadioGroup" "ToggleSwitch" "ScrollArea"
"Badge" "Pill" "Tooltip" "Popover" "ValidationSummary" "ConfirmDialog"
"FormActions" "ProgressIndicator" "LoadingSpinner" "ValidationIcon"
"FormGroup" "FormRow" "FormDivider" "FormMessage" "FormSection"
"FormGrid" "FormStepper" "FormAccordion" "FormTabs" "FieldArray"
"DynamicField"
)

# Loop through each component and create folder and files
for component in "${components[@]}"
do
# Create component directory
mkdir -p "$component"
echo "Created directory $component"

# Create index.ts
touch "$component/index.ts"
echo "Created $component/index.ts"

# Create <component_name>.tsx
touch "$component/${component}.tsx"
echo "Created $component/${component}.tsx"

# Create TODO.md
touch "$component/TODO.md"
echo "Created $component/TODO.md"

# Create styled.ts
touch "$component/styled.ts"
echo "Created $component/styled.ts"

# Create types.ts
touch "$component/types.ts"
echo "Created $component/types.ts"
done
3 changes: 0 additions & 3 deletions example/.npmignore

This file was deleted.

14 changes: 0 additions & 14 deletions example/index.html

This file was deleted.

14 changes: 0 additions & 14 deletions example/index.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions example/package.json

This file was deleted.

18 changes: 0 additions & 18 deletions example/tsconfig.json

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.14",
"version": "0.0.37",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
Expand Down Expand Up @@ -139,6 +139,7 @@
"storybook": "^8.4.7",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"tsdx": "^0.14.1",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
Expand All @@ -149,9 +150,8 @@
},
"dependencies": {
"@hookform/resolvers": "^3.9.1",
"@matthew.ngo/react-form-kit": "^0.0.14",
"lodash": "^4.17.21",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-hook-form": "^7.49.3",
"styled-components": "^6.1.13",
"yup": "^1.6.1"
Expand Down
Loading
Loading