Commit Graph

3106 Commits

Author SHA1 Message Date
Keviin Åberg Kultalahti 0a036e5f20 Merge branch 'spectrum-bbui' into spectrum/kevs-bits-and-bobs-the-sequel 2021-04-27 15:28:03 +02:00
Keviin Åberg Kultalahti 03eb8603bd Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-27 15:27:07 +02:00
Keviin Åberg Kultalahti 3102b6de2c Adds basic layout component 2021-04-27 15:06:08 +02:00
Keviin Åberg Kultalahti 9bda97b300 rework ActionMenu and add noClose prop to MenuItem 2021-04-27 11:48:47 +02:00
Keviin Åberg Kultalahti 0146cd0c88 converts component adding buttons in design section 2021-04-26 17:34:28 +02:00
Andrew Kingston 17bf73706a Update filter popover to modal 2021-04-26 16:14:16 +01:00
Andrew Kingston 37d1004d8d Fix active class on buttons 2021-04-26 16:02:03 +01:00
Keviin Åberg Kultalahti 3950e26ade More conversions... 2021-04-26 14:31:32 +02:00
Keviin Åberg Kultalahti 2b394eab25 add closeOnClick slot prop to ActionMenu 2021-04-26 14:14:05 +02:00
Keviin Åberg Kultalahti e7b8ec4223 update ActionButton interface 2021-04-23 15:45:10 +02:00
Keviin Åberg Kultalahti 135b3acbf3 adds hoverable prop to modal close button 2021-04-23 14:03:59 +02:00
Keviin Åberg Kultalahti 311d4f9d65 Merge branch 'spectrum-bbui' into spectrum/kevins-bits-and-bobs 2021-04-23 12:52:05 +02:00
Andrew Kingston c33f51600a Add custom scrollbars and fix page heights 2021-04-23 11:39:39 +01:00
Andrew Kingston d36a80b0de Update top nav to use tabs and fix a few tab layout issues 2021-04-23 11:30:17 +01:00
Andrew Kingston f859ad5210 Update lots of font sizes, padding and other UI improvements 2021-04-23 10:48:19 +01:00
Keviin Åberg Kultalahti 8a36d81d32 switch out remix icons 2021-04-23 10:33:41 +02:00
Keviin Åberg Kultalahti 3c4ca05e87 fix formatting in some files 2021-04-23 09:41:49 +02:00
Keviin Åberg Kultalahti e03d49ce53 wip: fixes a couple of drawers 2021-04-22 16:34:18 +02:00
Keviin Åberg Kultalahti 77bbb440cb converts Drawer component to Spectrum 2021-04-22 15:14:55 +02:00
Andrew Kingston 863406574c Improve builder settings modal styles 2021-04-22 13:59:00 +01:00
Andrew Kingston 10b010f9d6 Fix crash due ot leftover export from BBUI 2021-04-22 13:23:02 +01:00
Keviin Åberg Kultalahti 840d41d7eb fix DropdownMenu not being removed from export file 2021-04-22 12:15:42 +02:00
Keviin Åberg Kultalahti 4106d5705b Merge branch 'spectrum-bbui' into spectrum/kevins-bits-and-bobs 2021-04-22 12:09:51 +02:00
Andrew Kingston 5770035650 Update automation section to use spectrum 2021-04-22 10:58:04 +01:00
Andrew Kingston 1a067fd492 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-22 10:10:52 +01:00
Andrew Kingston 1fb6cd0b4b Add dropzone component and update builder and standard components 2021-04-22 10:10:42 +01:00
Keviin Åberg Kultalahti f3f0c29a9d Delete DropdownMenu component 2021-04-21 16:03:32 +02:00
Keviin Åberg Kultalahti 66562400fe Switch out DropdownMenu to Popover across the builder 2021-04-21 16:03:12 +02:00
Keviin Åberg Kultalahti 446c3af075 add defaults to Button and ActionGroup components 2021-04-21 15:59:08 +02:00
Keviin Åberg Kultalahti 5eaae47ec0 Move DetailSummary and update to use Spectrum Icon 2021-04-21 15:34:46 +02:00
Keviin Åberg Kultalahti b5fde37c39 Switches out SideNav to SideNavigation component 2021-04-21 15:25:25 +02:00
Keviin Åberg Kultalahti 3197174398 Implements SideNavigation component 2021-04-21 15:18:50 +02:00
Keviin Åberg Kultalahti 7229bdbaa3 add size prop to ClearButton 2021-04-21 14:59:16 +02:00
Keviin Åberg Kultalahti 81f2e14172 remove usage of old Icons component in ModalContent 2021-04-21 14:59:09 +02:00
Keviin Åberg Kultalahti b9f5868fb3 fix Menu component 2021-04-21 14:51:17 +02:00
Keviin Åberg Kultalahti f690adc552 Remove Icons 2021-04-21 14:20:53 +02:00
Keviin Åberg Kultalahti cb3e2fd106 fix ButtonGroup not adding classes to children 2021-04-21 14:19:10 +02:00
Keviin Åberg Kultalahti a86c6788da Implements ButtonGroup component 2021-04-21 14:12:47 +02:00
Keviin Åberg Kultalahti 64b3b0f6ef Implements Tags and Tag components 2021-04-21 14:10:24 +02:00
Keviin Åberg Kultalahti 937bd03af5 implements ClearButton 2021-04-21 14:09:56 +02:00
Keviin Åberg Kultalahti 8d80c007f3 implements Avatar component 2021-04-21 14:09:36 +02:00
Keviin Åberg Kultalahti 8390bee693 wip: initial tags 2021-04-21 13:53:49 +02:00
Keviin Åberg Kultalahti 0e786089f5 Removes Switcher component 2021-04-21 13:44:36 +02:00
Keviin Åberg Kultalahti 7a6d4fd359 adds defaults to Typography components 2021-04-21 13:21:43 +02:00
Keviin Åberg Kultalahti a84b1ed316 merge spectrum-bbui 2021-04-21 13:15:16 +02:00
Andrew Kingston 532b861bb0 Remove some old stuff and update binding icon 2021-04-21 11:42:25 +01:00
Andrew Kingston 06b438d585 Add datepicker, centralise icon management and update builder styles 2021-04-20 20:06:27 +01:00
Andrew Kingston 3c8b6fa5c6 Revert to use manual handlers for closing rather than clickOutside action 2021-04-20 18:14:33 +01:00
Keviin Åberg Kultalahti 7b9377ea1e clean up Tree Item component 2021-04-20 16:44:08 +02:00
Keviin Åberg Kultalahti 7403e4925e wip: trying to get the new TreeView component to work with the drag-and-drop functionality 2021-04-20 15:57:56 +02:00
Andrew Kingston 14cf5c0669 Add search component and update screen list panel 2021-04-20 14:24:14 +01:00
Andrew Kingston fde47ad61c Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-20 14:06:33 +01:00
Andrew Kingston e41c6e33e0 Update all form components to update bound values before firing onchange events 2021-04-20 12:49:02 +01:00
Andrew Kingston beb296fd0d Update filter popover 2021-04-20 12:31:08 +01:00
Andrew Kingston d268064164 Update all backend table popovers to use spectrum and fix multiple bugs 2021-04-20 12:20:03 +01:00
Andrew Kingston 9482112d6b Update entire builder backend UI to work with new spectrum components and fix multiple issues 2021-04-20 11:53:19 +01:00
Andrew Kingston 51c8609736 Add caret position function to text area and fix issue with design transitions and custom styles 2021-04-19 15:07:25 +01:00
Andrew Kingston 3a15047007 Update button actions to use new spectrum components 2021-04-19 14:40:51 +01:00
Andrew Kingston bafe7b64bd Update label to use spectrum 2021-04-19 14:36:28 +01:00
Andrew Kingston 90bcd87d24 Update all design panel settings and styles to use new spectrum components 2021-04-19 14:04:07 +01:00
Andrew Kingston eeac45d3e7 Add combobox component 2021-04-19 12:05:11 +01:00
Andrew Kingston 9663c62d2e Add switch and fix modal titles 2021-04-16 17:12:22 +01:00
Andrew Kingston ac4e0b6986 Standardise text area updates 2021-04-16 16:11:11 +01:00
Andrew Kingston 2ab62dc935 Replace RichText editor with spectrum text area 2021-04-16 16:00:10 +01:00
Keviin Åberg Kultalahti 0365e86876 implements working TreeView component 2021-04-16 16:41:04 +02:00
Keviin Åberg Kultalahti ff72127875 wip: tree component 2021-04-16 16:17:26 +02:00
Andrew Kingston 431abb53ce Add radio group spectrum component and update builder 2021-04-16 14:30:33 +01:00
Andrew Kingston 3354aeff54 Make modals only close on a mousedown outside the modal rather than a click 2021-04-16 13:09:16 +01:00
Andrew Kingston ff9824011a Fix crash when non iterable options property given to picker 2021-04-16 13:08:06 +01:00
Keviin Åberg Kultalahti 98ad7a745a Convert main nav to use an ActionGroup 2021-04-16 12:40:34 +02:00
Andrew Kingston 106b7b9ebd Use BBUI checkbox in standard components 2021-04-16 11:32:41 +01:00
Andrew Kingston b14e993846 Improve select determination of field text 2021-04-16 11:32:24 +01:00
Andrew Kingston 84da746bb7 Improve multiselect determintation of pretty labels 2021-04-16 11:32:05 +01:00
Keviin Åberg Kultalahti d761a4ebfe Adds Icon component to bbui 2021-04-16 12:24:06 +02:00
Andrew Kingston 064c2d8551 Add spectrum checkbox component 2021-04-16 11:05:53 +01:00
Andrew Kingston 7af7ff85ad Use new spectrum components to build up Table SelectEditRenderer cell 2021-04-16 11:05:31 +01:00
Andrew Kingston 698bf90007 Extract value and label props from select options which are objects by default 2021-04-16 11:04:50 +01:00
Andrew Kingston ad6fb672f1 Fix table height when no rows exist and fixed row count specified 2021-04-16 11:03:44 +01:00
Andrew Kingston f241f201b9 Fix table borders and background colours to properly reflect spectrum theme 2021-04-16 09:39:49 +01:00
Andrew Kingston 47183460b7 Don't render field label components unless a label exists 2021-04-16 09:39:29 +01:00
Andrew Kingston 57f4ebd897 Fix placeholder text 2021-04-16 09:39:09 +01:00
Andrew Kingston 2e2d1b6738 Add missing modal content dependency 2021-04-16 09:02:16 +01:00
Andrew Kingston 2f619be19c Prune old dependencies 2021-04-16 09:01:52 +01:00
Andrew Kingston 966d842d7c Allow selects to support no placeholder option 2021-04-16 09:01:21 +01:00
Andrew Kingston 7d91794a53 Update lock 2021-04-16 08:10:18 +01:00
Andrew Kingston b823f2bed1 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-16 08:08:52 +01:00
Andrew Kingston 591d1c0fc5 Change BBUI to single bundle export and clean up some form components 2021-04-15 19:28:08 +01:00
Keviin Åberg Kultalahti afb5e25b1d adds wip progresscircle component 2021-04-15 18:06:22 +02:00
Keviin Åberg Kultalahti a95240404a adds progressBar 2021-04-15 15:39:14 +02:00
Keviin Åberg Kultalahti e12808e3a2 adds on:select handler to tabs component 2021-04-15 15:39:00 +02:00
Andrew Kingston d779fbbea4 Add pretty labels to multiselect and fix stale props issue 2021-04-15 14:05:59 +01:00
Keviin Åberg Kultalahti 9f0f04c8d3 remove log 2021-04-15 14:48:20 +02:00
Keviin Åberg Kultalahti cec19df28b working sliding animation between tabs 2021-04-15 14:42:39 +02:00
Andrew Kingston dd7bf3fd68 Fix multiselect 2021-04-15 12:14:51 +01:00
Andrew Kingston 9a7cf3079a Fix modal transform causing inner overlays to incorrectly calculate window dimensions 2021-04-15 12:09:06 +01:00
Andrew Kingston 10fe99346f Improve modal layout, improve modal button spacing, use rollup for building to expose multple BBUI entrypoints 2021-04-15 11:50:56 +01:00
Keviin Åberg Kultalahti 1e5245589a adds working tabs 2021-04-14 16:07:45 +02:00
Keviin Åberg Kultalahti 3056d4316a adds divider component 2021-04-14 14:52:25 +02:00
Keviin Åberg Kultalahti 697c3d33df adds Typogaphy components 2021-04-14 10:53:23 +02:00
Keviin Åberg Kultalahti df5c2e04a7 adds Heading component 2021-04-14 10:40:44 +02:00
Keviin Åberg Kultalahti 59c88b0064 rework to use tick instead of manual timeout 2021-04-14 10:25:10 +02:00
Keviin Åberg Kultalahti 255512e309 adds focus action to first input field of modals 2021-04-14 10:22:45 +02:00
Andrew Kingston 4e2fceffcb Add missing menu, actiongroup and link spectrum dependencies 2021-04-13 18:12:10 +01:00
Andrew Kingston 0acc823af4 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 18:08:55 +01:00
Andrew Kingston a85cada9d8 Fix table spectrum colour definitions 2021-04-13 18:08:01 +01:00
Keviin Åberg Kultalahti 8032d5f85d Merge branch 'spectrum-bbui' into spectrum/actionbutton-actionmenus 2021-04-13 17:05:01 +02:00
Andrew Kingston 9180312bab Fix z-index on table header 2021-04-13 15:31:38 +01:00
Andrew Kingston c602502e46 Add missing toast dependency 2021-04-13 15:28:57 +01:00
Andrew Kingston c729d80902 Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 15:24:34 +01:00
Andrew Kingston 0f56ed3c95 Fix scroll state not resetting 2021-04-13 15:10:27 +01:00
Andrew Kingston 13b7140571 Support non-sortable columns in table and prevent first row rendering flashing 2021-04-13 14:44:30 +01:00
Andrew Kingston e166195a49 Allow table dynamic resizing and scrolling whenever rowCount is not specified 2021-04-13 14:14:14 +01:00
Andrew Kingston 41742e7138 Use BBUI spectrum table in standard components 2021-04-12 16:14:24 +01:00
Keviin Åberg Kultalahti cef3437c50 Implements ActionMenu component 2021-04-12 17:10:55 +02:00
Keviin Åberg Kultalahti 0b18b55433 Implements Menu component 2021-04-12 16:26:26 +02:00
Andrew Kingston d7cb604151 Improve table cell rendering and pass down table slot 2021-04-12 15:24:33 +01:00
Andrew Kingston 3b2ef3a5e9 Add hover cursor to relationship badges in tables 2021-04-12 15:16:49 +01:00
Andrew Kingston 9e2803cb8d Don't show header in spectrum table unless rows exist 2021-04-12 15:15:35 +01:00
Andrew Kingston f76fb21562 Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Andrew Kingston afca35a229 Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Keviin Åberg Kultalahti 199756134b wip menu component 2021-04-12 11:24:03 +02:00
Andrew Kingston b8c9cf0898 Add table placeholder 2021-04-09 14:48:26 +01:00
Keviin Åberg Kultalahti 439fda6785 fix buttons 2021-04-09 15:24:28 +02:00
Keviin Åberg Kultalahti 1b3e93c6c5 reworks buttons to use more ergonomic interface 2021-04-09 15:21:51 +02:00
Andrew Kingston b699573941 Add custom renderers to table and improve table sorting 2021-04-09 14:21:27 +01:00
Keviin Åberg Kultalahti a44a208391 fix erroneous class usage 2021-04-09 14:57:31 +02:00
Keviin Åberg Kultalahti 9e2cf66173 adds Link component to bbui 2021-04-09 14:44:48 +02:00
Andrew Kingston 372a8ac944 Fix error when attachment type doesn't exist 2021-04-09 13:36:54 +01:00
Andrew Kingston aa2cd7fbba Lighten table scrollbar colours 2021-04-09 13:08:37 +01:00
Andrew Kingston e7dcb311d3 Fix table border styles in default theme 2021-04-09 13:07:22 +01:00
Andrew Kingston ff174a7a3a Shrink scroll bars slightly 2021-04-09 13:02:55 +01:00
Keviin Åberg Kultalahti fe991c683e adds ActionGroup component 2021-04-09 13:48:55 +02:00
Keviin Åberg Kultalahti b43e0e6547 adds an ActionButton component to bbui 2021-04-09 13:38:48 +02:00
Keviin Åberg Kultalahti 5a2287ddcb moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Keviin Åberg Kultalahti af983023fb converts popover to spectrum 2021-04-09 11:22:49 +02:00
Keviin Åberg Kultalahti 0e52a1e12f add text slot conditional to button 2021-04-09 11:10:37 +02:00
Keviin Åberg Kultalahti d8b352a9ae convert table command buttons to spectrum 2021-04-08 18:04:03 +02:00
Keviin Åberg Kultalahti 2801b77200 converts Button to spectrum 2021-04-08 17:04:27 +02:00
Andrew Kingston 5ef5106f07 Add spectrum table to BBUI and update builder 2021-04-08 15:57:24 +01:00
Keviin Åberg Kultalahti 560cc9670c fix integration modal 2021-04-08 16:29:08 +02:00
Keviin Åberg Kultalahti 5f7cfe3714 fix modal-container targeting for Portal component 2021-04-08 16:05:31 +02:00
Keviin Åberg Kultalahti 0675944893 converts ModalContent to semi-use spectrum 2021-04-08 15:46:34 +02:00
Keviin Åberg Kultalahti 88e04eb9e2 small fixes to modal 2021-04-08 15:04:26 +02:00
Keviin Åberg Kultalahti 4c3db2b238 add underlay component and fix modal 2021-04-08 14:47:57 +02:00
Keviin Åberg Kultalahti 6797b9af59 converts modal to use spectrum variables 2021-04-08 13:44:42 +02:00
Keviin Åberg Kultalahti 7f4250dca2 wip: bbui modal to spectrum conversion 2021-04-08 13:26:45 +02:00
Andrew Kingston 206399f32f Lint 2021-04-07 15:14:49 +01:00
Andrew Kingston 72b811b568 Add dev script to do a one-time BBUI build so that the stylesheet exists 2021-04-07 11:47:01 +01:00
Andrew Kingston 120c22fdb4 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Andrew Kingston 80454387be Add missing alt tag to dropzone image 2021-04-01 19:21:12 +01:00
Andrew Kingston 90df8a21c1 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston 673fcad230 Remove dev script from BBUI as it is bundled from other packages in the dev stack now 2021-04-01 13:52:52 +01:00
Andrew Kingston 73afd3c676 Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston 3ab4c7f4bc Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Andrew Kingston 44ad38fdf8 Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Andrew Kingston 64cd1aca32 Add BBUI package to monorepo 2021-03-31 10:59:07 +01:00