* added instruction text property in file pciker to make user unable to provide custom instructions
* Added default instruction text
* made the changes to make sure existing app do not crashes because of instructionText prop
* Solve issue - existing file pickers wont display anything if we don't default to the default instruction text
* changes in operation.json file
* migration script for adding instructionText prop
* removed unwanted operations.json file
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
* fixes: multiple files with same file name can be uploaded
* removes unwanted logs
* compare file paths for validating existing selected files
* disable picker if max count is reched
* fixes loading spinner postions
* max file count for single selection
* disables the dropzone on max count only when multiple is true
* show max count msg for dnd file to the dropzone
* clean up
* check already selectedFile count with max file count on adding new files
* reverts accepted file data for singly selected files
* Remove validation for existing files on filepicker
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* solve the bug- now only 1 message is shown for exceeding max file count
* added edge case to only show unique error message
* persisting previous accepted files upon rejecting a file
* fixes: retain existing selected files on rejection
* cleanup
* fixes: dropzone active even with listed selected files
* handles rejected files sizes for error msgs
* on dialogue box closed, should list files if exits
* fixes: show list of files if exits when files are rejected
* fixes: show list of files if exits when files are rejected
* fixes reject message for file sizes
* clean up
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* updating File picker
Text input
Text area
DateRangePicker
Datepicker
PasswordInput
NumberInput
TextInput
codeEditor, to include border radius style option
* change to number input
* theme file updated to remove override for border radius
* change to number input
* text input updated with border radius style
* updated with border radius
* date range picker border radius removed
* removing overiding class
* feat: add restore shortcut when component is deleted
* change toast messages to hot toast from toastify
* change toast messages to hot toast from toastify
* change toast messages to hot toast from toastify
* on key press match clear the pressed keys
* add react hotkeys hook and delete use-shortcuts custom hook
* change toast messages to hot toast from toastify
* add immer lib
* applyPatches from immer + add undo redo on appdefination changes
* remove notification on undo
* add can-undo + can-redo checks
* add missing can-redo to handlePatchAdd
* add component versioning on componentDefinitionChanged
* set default value of loading state to interpolated boolean false for table
* set canUndo on initial load to false
* fix last element not getting removed on undo
* Remove console log
* add migration to change loadingState for existing tables
* set loadingstate value based on the previous value
* fix: app crash on inspector opening
* add check for selectedComponentId inside components def
* update template definitions for loadingState
* fix alert for success, error, info for button notifications
* Read file as dataURL or textString
* adds new properties to the file picker docs
* url -> URL encoded string
* typo fix
* docs update
* remove file reading options, and default file reading as textSting and dataURL
* remove docs: definations
* name variable should be empty string too by default
* data (exposed variable) updated to dataURL
* data (exposed variable) updated to dataURL
* Better canvas
* Better canvas
* Better canvas
* Fix for resize
* Fix for drag
* Fix for drag
* Fix for drag
* Adjust width of components by # of grid lines
* Adjust components to comply with gridline based width
* Fix the width of rigth sidebar
* Fix for subcontainer resize issue
* Fix for dropped widget width (sc)
* Fix subcontainer drag width
* Fix grid for sub container
* Fix viewer
* Fix
* Fix
* Use RnD for dragging within canvas
* bounds for subcontainers
* fix for subcontainers
* Fix for mouseover issue
* Fix
* Fix widget widths
* Fixes chart
* Fixes qr scanner and divider
* Remove scaleValue
* Mmerge fix
* Mmerge fix
* Fix for ormconfig
* Fixes for comments
* Add comment where the user clicked
* Disable dragging on viewer
* Max width for canvas
* Fix for widget click events
* Fix for radio button
* Rebase widget width and left offset for responsive canvas
* Fix
* Fix the width of file picker
* Fix for calendar widget
* Disable zoom selector
* Fixes comment positions
* css fixes
* Fix
* Recompute width and offset of subcontainer widgets based on its parent's width
* Calculate container width separately for modal children while migrating to responsive
* Refactor migration to responsive canvas whereinwhich all mutations are done only after all required changes are computed
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>