Commit graph

96 commits

Author SHA1 Message Date
Shubhendra Singh Chauhan
ebe087f126
[docs] Icon widget and updates to s3 and bigquery (#4123)
* added icon widget doc and updates to s3 and bigquery

* Update docs/docs/widgets/icon.md
2022-09-28 22:51:44 +05:30
Shivang
d55e0ee2cb
[docs] Pagination documentation (#3846)
* created pagination doc, updated new page layout

* reverted to the comments

Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-28 22:39:11 +05:30
Kavin Venkatachalam
2ffda26f38
[Feature]: Link Widget (#3905)
* Created Link Widget

* Added empty line at the end in theme file

* Fixed overflow issue in Link widget

* Updated visibility in the link widget

* Added doc for link widget

* Updated link widget doc

* Set fxActive on by default for visibility

* Fixed variable typo in link widget

* Updated hidden property

* Updated visibility logic for link widget

* Moved visibility to styles section

* Moved register action to useEffect

* Removed registerActions on useEffect

* Removed dependencies in registerAction function as it is breaking inspector

* updated link doc

* Add clickRef of link component as dependency of registerAction

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-27 11:12:14 +05:30
Arpit
decc924ba2
[improvement] Modal widget (#4045)
* init

* fixes: config-handler clickEvents

* fixes: position attributes for open state modal config handler

* modal body scrollable

* adds loadingState

* adds onOpen and onClose events for modal

* adds visibility property

* open general and layout Options by default

* adds styling options for modal header and body

* adds style options for show button and conditional rendering of button styles

* refactor conditional rendering styles

* clean up

* fixes typos

* remove footer

* modal size

* handles dark theme

* update naming convention for modal: trigger button

* modal size:updates

* updates modal close icon

* adds comments for conditionally rendering style options

* only vertical scrolling inside modals

* clean up

* custom UI for widget config handle for modal

* backfil

* resolves: event should not fire on mount

* modal improvements doc

* hide modal on clicking outside for viewer mode

* Remove unnecessary modification of modal property schema

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-26 15:46:21 +05:30
Shivang
b44732e4c2
[docs] created missing svg image doc (#3985)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-09 20:26:26 +05:30
Shubhendra Singh Chauhan
9b17fd2f29
[docs] updated bg-color property in tabs (#3765)
* updated bg color in tabs

* update description
2022-08-08 15:35:32 +05:30
Kavin Venkatachalam
3932d72d64
[Feature]: Tree Select Widget (#3533)
* Added Tree Select widget

* Updated checkbox-tree package path

* Added checked-path array

* Added checkedpathArray

* Updated docs

* Updated theme file

* Added default values to exposed variables
2022-08-03 19:22:49 +05:30
Manish Kushare
d703c6eed7
[docs] Adding docs for vertical separator widget (#3460) 2022-07-05 07:42:53 +05:30
Manish Kushare
0f60a66b70
[docs] added docs for html widget (#3462)
* added docs for html widget

* refactoring heading to HTML

* fixed sidebar position

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-07-05 07:40:27 +05:30
Manish Kushare
0e6f983246
[docs] added docs for color picker widget (#3464)
* added docs for color picker widget

* removed component from title

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-07-05 07:40:09 +05:30
Arpit
b48fd53ec2
[Feature] Kanban board widget (#3049)
* init kanban board widget

* kanban board

* reverts to beautifully

* kanban UI updates and dnd fixes

* bugfix: when dropped outside the col, should return back to it inital position

* updates min-width of the column

* container and widget styles

* style fixes: column container onDrag

* adds button for new group

* fixes new card overflow

* add btn for adding cards

* groups and cards updated

* add property definition

* improves draggable card position while drag is active

* handle delete group/col

* handle col/group title updates

* handles editing card title

* style fixes for input cursor

* cleanup

* card popover with codehinter fields

* minor card fixes

* updates exposed variable

* simplify boardData into cols and cards

* adds width and min-width style definations

* build board from queries

* handle draggable rbd-id

* removes add group card and delete group option

* fixes typos

* show empty state message

* fixes typos

* removes card extra border color

* fixes column typi and cards updates issue

* adds enableAddCard property defination

* adds accent color options

* default style accent color

* accent color fix

* revets popover with hinter

* fixes card drag and drop

* removes hook

* fixes: state synced with property defination updates(col and cards data)

* fixes: on re-arranging the card via dnd, update the card content

* handles if card columnId is updated

* adds card container layer

* clean up

* dark theme

* fixes card onDrop issue

* renamed the exposed variable data --> lists

* adds custom resolvers to the popover

* handle widget crash when non iterables are passed

* updates default card and col value

* fixes dnd issues for dynamic card values

* refactor: cleanup

* handles empty and undefined cardData

* fixes Height of widget is changing when popover thing is displayed.

* fixes: updating card data in widget inspector

* fixes: updating column data in widget inspector

* fixes adding cards for newly created groups/columns

* clean up

* Add kanban event onCardAdded and expose lastAddedCard

* Add onCardRemoved action and expsed lastRemovedCard variable

* Add events and variables for card movement and selection

* Add card edit feature for kanban widget

* Rename lastAddedRemoved to lastRemovedCard in kanban

* Rename lists to columns on kanban board

* Set max height of kanban column to respond to widget height

* Have "Add description" link if there is no description for Kanban cards

* kanban docs

* Change text from "add +" to "Add card" on kanban

* Validate card data before update

* Add tip about card id type on kanban documentation

* Add default min width and width for kanban

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-14 11:06:36 +05:30
Kiran Ashok
bb6fc26f7e
[ Feature ]:: steps widget (#3200)
* tabs event

* completed event firing on selection tab

* steps widget basic structure & code

* active item logic

* logic for currentstep

* logic for steps theme

* event onSelect handled and exposed currentStepId

* fixing tooltip

* logic for colour updated

* updates

* bugfixes and color theme fix

* darkmode fixes

* some bugfixes

* cleanup

* reverting

* reverting unwanted change

* updating green theme

* pr changes : style changes

* pr change :: color style made dynamic :rocket

* style fix 🚀

* docs updated

* bugfix
2022-06-13 17:44:03 +05:30
Kavin Venkatachalam
7c30a830db
[Feature]: Custom Component Widget (#2960)
* Created custom component widget

* Updated the custom component key

* Added doc for custom component

* Update iframe.html

* Installed HTML parse in dependencies

* Updated script source

* Added scripts to CSP

* Added Skypack to CSP

* Fixed Run Query issue in Viewer
2022-05-10 15:09:09 +05:30
Kavin Venkatachalam
26203cfaf9
[Docs] Timeline widget reference (#2786)
* Doc for timeline widget

* Fixed a spelling mistake
2022-04-11 16:53:18 +05:30
shivangT
5e8ccb993e
[docs] created widget reference for slider widget (#2766)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-04-07 10:51:22 +05:30
shivangT
b1a7ac8cbf
[docs] created spinner documentation (#2758)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-04-05 18:07:56 +05:30
Shubhendra Singh Chauhan
9aa041d21b
[docs] updated widget reference (#2458)
* [docs] update widgets

* updated all the widgets
2022-03-08 23:52:46 +05:30
Shubhendra Singh Chauhan
ce828ac659
[docs] updated widget references (#2445) 2022-03-08 09:26:01 +05:30
Shubhendra Singh Chauhan
0826e71380
[docs] updates widget references (#2433) 2022-03-07 15:39:44 +05:30
Shubhendra Singh Chauhan
b1ecb51681
[docs] updated widgets (#2424) 2022-03-03 20:42:10 +05:30
Shubhendra Singh Chauhan
ab96124e2d
[docs] updated checkbox (#2423) 2022-03-03 20:25:30 +05:30
Shubhendra Singh Chauhan
d1df4a71da
[docs] updated calendar and chart (#2366) 2022-02-28 11:41:07 +05:30
Shubhendra Singh Chauhan
5cbf6c76ad
[docs] updated button and listview properties (#2355) 2022-02-26 22:01:33 +05:30
Shubhendra Singh Chauhan
0e7133dba9
[Docs] List view widget (#1946)
* [Docs] List view widget

* removed Container

* added container folder
2022-01-27 10:18:58 +05:30
Kiran Ashok
b5bdfcfeac
Feature : statistics widget (#1834)
* feature:ui for statics widget

* feature:assets icons statics widget

* feature:addition to existing ui

* inclusion to existing ui editor

* feature: widget style updations

* cleanup

* cleanup

* resolving merge issue

* feature: statics widget svg updated

* fixing pr comments : bounding box width issue fix to cover widget

* pr comments : fixing naming

* bugfix : pr comments: removing all signs

* pr comment changes : fixing alignment of widget contents

* icon updated

* bugfix : dark mode colour scheme inclusion

* updation icon

* updated filenames , style changes updated

* naming change

* pr review changes : making naming convention same everywhere using camelcase

* updating sign property

* updating statistics docs

* docs updated

* sign display updated : pr changes , code cleanup
2022-01-25 09:32:01 +05:30
Muhsin Shah C P
0f709706e0
Feature: Circular progressbar (#1887)
* added circular progressbar widget

* added a basic documentation about the widget

* added progress attribute

* bounding issue is solved

* edited the widget doc

* Added new style
- Text color
- Text size

* Changed the documentation
2022-01-22 09:32:37 +05:30
Muhsin Shah C P
a68bb57302
Added Json description feature (#1732)
* Added Json description feature

* Added a toggle button for toggle from chart data to json data

* toggle effects for chart-data and json-data is added

* documentation about json part is added

* replaced the position of json toggle . changed the section and label name

* marker color field will hide if plotly is enabled
2022-01-17 16:43:02 +05:30
Muhsin Shah C P
a02d47e88e
Tags widget (#1659)
* implemented tags widget

* added text color option, changed default tags

* added scrollbar & space between tags

* Required changes are added:

- Changed colors of buttons as per the document
- Now scrollbar only shows if it is needed
- Tags height will be static

* Changed documentation

- Added gif file

* Removed text color style option from inspector
 - Changed md text file
2022-01-15 10:41:27 +05:30
Midhun G S
e4d3578563
Timer Widget (#1633)
* Timer Widget

* feature-1632 Fix

* feature-1632 fix

* feature-1632 fixes

* Fix

* Fix

* Fix

* fix

* added default value to the widget

* widget size change

* Reverting last changes
2022-01-03 09:18:56 +05:30
Shubhendra Singh Chauhan
ab6ca1f677
[Docs] Container and Password-Input (#1588)
* docs for container and password-inpur

* Update docs/docs/widgets/password-input.md

* Update docs/docs/widgets/password-input.md

* Update docs/docs/widgets/password-input.md

* Update docs/docs/widgets/password-input.md
2021-12-16 21:55:34 +05:30
Shubhendra Singh Chauhan
b3b9c4981f
[docs] added reference for tabs widget (#1574) 2021-12-14 17:30:05 +05:30
Arpit
7663147525
Feature: Code editor widget (#1381)
* Code Editor Widget

* code editor docs added

* updated to Code Mirror

* updated to Code Mirror

* Language resources do not need to be importe in @codemirror-v3.x

* code editor docs: updated with language mode info and link

* comment pkg.json for future ref - @uiw/react-codemirror versions

* docs: supported lang

* widget reference sidebar alphabetical order

* removed comment form pkg.json
2021-11-15 12:12:02 +05:30
Arpit
df88790dab
Feature: IFrame widget (#1402)
* feature: iframe widget

* iframe docs - added

* explicitly set frame-src directive

* explicitly set frame-src directive

* typos fixes
2021-11-15 10:09:56 +05:30
Arpit
bbf991d67b
Fixes documentation of file picker widget #1274 (#1369) 2021-11-05 15:25:22 +05:30
Sherfin Shamsudeen
8bbbbfc869
Feature: Calendar widget 🗓 (#1368)
* Insert required boilerplate code for Calendar widget

* Display basic calendar

* Display events on calendar widget

* Pass JS date object as calendar default event date

* Add resource scheduling to Calendar widget

* Add icon for Calendar widget

* Allow configuration of views and default view for calendar

* Add onEventSelect event to Calendar widget

* Accept date as string for Calendar

* Option to disable/enable toolbar in Calendar

* Add default date to Calendar

* Add support for setting color of calendar events

* Set calendar cell size to 50px

* Allow spacious and compact cell sizes for Calendar

* Add support for "select slots" event for calendar

* Add support for custom event tooltip for Calendar

* Add support to not highlight today and now in Calendar

* Add visible border for Calendar events

* Set 14px font size for calendar toolbar

* Add dark mode styles for calendar

* Make calendar view mode controllable with logic

* Add documentation for calendar widget

* Add additional documentation for calendar events

* Expose default view instead of view for calendar

* Add documentation for changes in calendar

* Style updates to calendar

* Increase padding for calendar events
2021-11-04 14:23:50 +05:30
Arpit
a6f99f6fba
Feature: File Picker Widget (#1274)
* File Picker Widget inital commit

* Merged develop

* add file picker icon

* dropzone

* added file picker widget

* does notrequires* babel-import

* fixed styles and removed button to open file selector

* updatedbthe fle picker icon

* style fixes

* added event: onFileSelected

* seperated the concerns and made it more flexible

* fixed handling file types for the picker

* handle - file reject

* file picker description

* text color updates

* Reads contents of the file as a text string

* display list of accepted files

* filepicker docs

* read multiple files-fixed

* style fixes

* added filepicker gif for docs

* typo fixed: docs

* selected files should be inside the widget bound & clear button to clear the selected files

* remove btn for files and selected files should always remain inside the widget bound

* display files bg style and multi-files resolved

* fixed typos
2021-11-04 11:11:10 +05:30
Muhammad Mohsin
846432b8df
Added documentation for the Divider (#1165) 2021-10-20 22:52:43 +05:30
Nishant Giri
9d8bca7647
Add Documentation for Number Input (#907)
* Add Preview GIF of Number Input

Added Preview GIF of Number Input.

* Add number-input.md

Added number-input.md to docs.
2021-10-06 12:14:13 +05:30
Arpit
5319b974f8
[docs] Updates for widget/datasource references and screenshots (#701)
* introduction gif updated with new UI

* introduction

* creating a new app

* tutorial- datasource

* adding a widget:updated

* tutorial - mobile-layout

* debugger

* table widget reference

* sharing apps: updated

* datasources: rest-api

* rest-api widget reference: updated the gif

* gifs update debugger

* redis image updated

* redis image size changed

* datasource airtable updated

* datsource graphql gif update

* black bordered gifs updated

* debugger intro gif fixed

* datasource Elasticsearch image

* widget: table properties

* added map:widget referene, and minor fixes to the table widget

* button widget

* widget: checkbox

* widget: datepicker

* widgetL date-range picker

* widget: dropdown

* widgets: multiselect

* widgets: radio button

* multi-select and radio button typo fixes

* widget: star rating

* widget: toggle switch

* widgets sidebar_postion updated

* widget:image

* input text

* widget: text inout

* widget: textarea

* widget: rich text editor

* widget: modal

* widget: textarea

* google sheets

* text/content updates

* .

* some text updates

* Fixes

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-09-15 12:12:47 +05:30
Gandharv
d619e8adfd
[docs]: widget reference for rating (#636)
* docs: star widget 

* fix puncuation
2021-08-30 14:41:30 +05:30
Mohini Dahiya
05d7c930f1
[docs] Updated the examples in chart widget reference with images (#618) 2021-08-26 19:36:37 +05:30
Arpit Nath
44b6f10ab1
[docs] toggle switch widget reference (#542)
* toggle switch widget - docs

* img tag alt attribute fixed

* fixes

* .
2021-08-19 08:22:07 +05:30
Sherfin Shamsudeen
a53cac24b2
Feature: QR scanner widget (#519)
* Add QR code scanner widget

This commit adds QR code scanner widget which
  * Displays a viewfinder that can be activated or deactivated
  * Exposes a variable named lastDetectedValue which holds the
    data contained in the last QR code it was able to scan
  * Defines an event onDetect which is fired whenever a QR code
    is successfully scanned

* Add documentation for QR scanner widget

* Supply missing newline

* Supply missing newline for qrscanner.svg

* Supply missing newlines and semicolons

* Update error modal content

* Remove `active` property from QrScanner

* Add blob: to content security policy

* Disable content security policy

* Add content security policy that allows self, unsafe-eval and blob
2021-08-18 22:15:43 +05:30
Arpit Nath
7d545e168a
[docs] radio button widget docs (#530)
* radio button widget docs

* Resolves PR changes

Co-authored-by: Arpit Nath <arpitnath@Arpits-MacBook-Pro.local>
2021-08-18 13:26:55 +05:30
navaneeth
b549d17942 [Docs] Table 2021-05-26 15:33:06 +05:30
navaneeth
cc53e29fb5 [Docs] Charts 2021-05-26 14:18:32 +05:30