Commit Graph

285 Commits

Author SHA1 Message Date
Keviin Åberg Kultalahti edb16eeff8 convert Heading to new API 2021-04-30 13:33:50 +02:00
Keviin Åberg Kultalahti 25a56b697e delete BBUI Styleguide 2021-04-30 13:31:59 +02:00
Keviin Åberg Kultalahti f0f10ab2b4 Convert Body component to use size="" prop 2021-04-30 13:31:45 +02:00
Andrew Kingston b5ee768cb1 Fix combobox disabled state and remove unnecessary props 2021-04-29 15:24:59 +01:00
Andrew Kingston 233e9af80c Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:54:52 +01:00
Andrew Kingston d415b331a1 Update merged files to use spectrum 2021-04-28 15:53:21 +01:00
Andrew Kingston 0caad1f582 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Keviin Åberg Kultalahti 193d542e0b remove unused prop from DrawerContent component 2021-04-28 16:18:56 +02:00
Andrew Kingston 85466fb7da Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:08:54 +01:00
Andrew Kingston 14a9eebfa1 Update other cypress helpers to work with spectrum 2021-04-28 15:08:43 +01:00
Keviin Åberg Kultalahti 598189cfb0 remove Spacer import/export 2021-04-28 15:55:52 +02:00
Keviin Åberg Kultalahti 111eb47a9a removes Spacer component and last few instances of use 2021-04-28 15:54:35 +02:00
Keviin Åberg Kultalahti 381ab45834 Merge branch 'spectrum-bbui' into spectrum/kevs-bits-and-bobs-the-sequel 2021-04-28 15:09:32 +02:00
Andrew Kingston 56cebe156b Update all backend buttons to be action buttons. Add missing ActionMenu conversion to views 2021-04-28 13:59:55 +01:00
Keviin Åberg Kultalahti 7df0555721 rewords FilterPanel to use new DrawerContent component 2021-04-28 14:52:58 +02:00
Keviin Åberg Kultalahti 42204aa53d rename DrawerContentWithSidebar to DrawerContent and add sidebar check 2021-04-28 14:42:44 +02:00
Andrew Kingston bdd9eb2ff3 Update all component icons 2021-04-28 13:42:17 +01:00
Keviin Åberg Kultalahti 5c627f9372 Switch bindingPanel to use new Drawer content component 2021-04-28 10:10:48 +02:00
Keviin Åberg Kultalahti a1cad7ab0d Create DrawerContent component 2021-04-27 17:43:56 +02:00
Keviin Åberg Kultalahti a7e329d153 update progressbar to use new API 2021-04-27 16:41:43 +02:00
Keviin Åberg Kultalahti 21b4eb5d5c remove old unused component from bbui 2021-04-27 16:30:58 +02:00
Keviin Åberg Kultalahti 0b37d6f89a rework Icons to use new API 2021-04-27 16:30:13 +02:00
Keviin Åberg Kultalahti c1542dc49e rework Divider to use new API 2021-04-27 16:25:39 +02:00
Keviin Åberg Kultalahti 19052a66a5 rework ClearButton 2021-04-27 16:23:42 +02:00
Keviin Åberg Kultalahti 6e36a337f7 actually remove it 2021-04-27 16:22:43 +02:00
Keviin Åberg Kultalahti 1cd6acc1b6 remove old unsused close component from bbui 2021-04-27 16:22:33 +02:00
Keviin Åberg Kultalahti aaf9b9e305 merge main branch 2021-04-27 16:19:42 +02:00
Keviin Åberg Kultalahti 768dfef5a0 convert ActionButton to new interface 2021-04-27 16:18:52 +02:00
Keviin Åberg Kultalahti a760e6c1b5 Changes ActionMenu button slot to be called control 2021-04-27 15:34:17 +02:00
Keviin Åberg Kultalahti bc6ce42252 Merge branch 'spectrum-bbui' into spectrum/kevs-bits-and-bobs-the-sequel 2021-04-27 15:28:03 +02:00
Keviin Åberg Kultalahti fd2d263b4c Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-27 15:27:07 +02:00
Keviin Åberg Kultalahti f940cf5a39 Adds basic layout component 2021-04-27 15:06:08 +02:00
Keviin Åberg Kultalahti 66081ffa3d rework ActionMenu and add noClose prop to MenuItem 2021-04-27 11:48:47 +02:00
Keviin Åberg Kultalahti e6ce9aaa2f converts component adding buttons in design section 2021-04-26 17:34:28 +02:00
Andrew Kingston 5b78e0c375 Update filter popover to modal 2021-04-26 16:14:16 +01:00
Andrew Kingston c9933e001b Fix active class on buttons 2021-04-26 16:02:03 +01:00
Keviin Åberg Kultalahti bc391d32a3 More conversions... 2021-04-26 14:31:32 +02:00
Keviin Åberg Kultalahti 3b414df8c9 add closeOnClick slot prop to ActionMenu 2021-04-26 14:14:05 +02:00
Keviin Åberg Kultalahti 47f6509baf update ActionButton interface 2021-04-23 15:45:10 +02:00
Keviin Åberg Kultalahti 40450fdf5a adds hoverable prop to modal close button 2021-04-23 14:03:59 +02:00
Keviin Åberg Kultalahti dbb125dd12 Merge branch 'spectrum-bbui' into spectrum/kevins-bits-and-bobs 2021-04-23 12:52:05 +02:00
Andrew Kingston 59614ddd26 Add custom scrollbars and fix page heights 2021-04-23 11:39:39 +01:00
Andrew Kingston fef61ba25f Update top nav to use tabs and fix a few tab layout issues 2021-04-23 11:30:17 +01:00
Andrew Kingston b92083bf83 Update lots of font sizes, padding and other UI improvements 2021-04-23 10:48:19 +01:00
Keviin Åberg Kultalahti 7012ce46ce switch out remix icons 2021-04-23 10:33:41 +02:00
Keviin Åberg Kultalahti 66c5a134e5 fix formatting in some files 2021-04-23 09:41:49 +02:00
Keviin Åberg Kultalahti 9f5393a7ac wip: fixes a couple of drawers 2021-04-22 16:34:18 +02:00
Keviin Åberg Kultalahti 9b295f89ba converts Drawer component to Spectrum 2021-04-22 15:14:55 +02:00
Andrew Kingston 3165f3b346 Improve builder settings modal styles 2021-04-22 13:59:00 +01:00
Andrew Kingston 12c0845eeb Fix crash due ot leftover export from BBUI 2021-04-22 13:23:02 +01:00
Keviin Åberg Kultalahti f8fc07631d fix DropdownMenu not being removed from export file 2021-04-22 12:15:42 +02:00
Keviin Åberg Kultalahti 51c7114bef Merge branch 'spectrum-bbui' into spectrum/kevins-bits-and-bobs 2021-04-22 12:09:51 +02:00
Andrew Kingston 5a3a661f99 Update automation section to use spectrum 2021-04-22 10:58:04 +01:00
Andrew Kingston 7cee3018d6 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-22 10:10:52 +01:00
Andrew Kingston a0304d7945 Add dropzone component and update builder and standard components 2021-04-22 10:10:42 +01:00
Keviin Åberg Kultalahti 77b48874e8 Delete DropdownMenu component 2021-04-21 16:03:32 +02:00
Keviin Åberg Kultalahti 09551f971b Switch out DropdownMenu to Popover across the builder 2021-04-21 16:03:12 +02:00
Keviin Åberg Kultalahti 79ae6d8b78 add defaults to Button and ActionGroup components 2021-04-21 15:59:08 +02:00
Keviin Åberg Kultalahti 4c750e34b9 Move DetailSummary and update to use Spectrum Icon 2021-04-21 15:34:46 +02:00
Keviin Åberg Kultalahti 038d3dcb55 Switches out SideNav to SideNavigation component 2021-04-21 15:25:25 +02:00
Keviin Åberg Kultalahti ca63c6957f Implements SideNavigation component 2021-04-21 15:18:50 +02:00
Keviin Åberg Kultalahti 6c8b18bcb2 add size prop to ClearButton 2021-04-21 14:59:16 +02:00
Keviin Åberg Kultalahti f1a793ce2a remove usage of old Icons component in ModalContent 2021-04-21 14:59:09 +02:00
Keviin Åberg Kultalahti 7bb6fa474e fix Menu component 2021-04-21 14:51:17 +02:00
Keviin Åberg Kultalahti de0f57ab25 Remove Icons 2021-04-21 14:20:53 +02:00
Keviin Åberg Kultalahti 4afe779eb4 fix ButtonGroup not adding classes to children 2021-04-21 14:19:10 +02:00
Keviin Åberg Kultalahti be300c37d0 Implements ButtonGroup component 2021-04-21 14:12:47 +02:00
Keviin Åberg Kultalahti 22b665d164 Implements Tags and Tag components 2021-04-21 14:10:24 +02:00
Keviin Åberg Kultalahti c6f0b868a0 implements ClearButton 2021-04-21 14:09:56 +02:00
Keviin Åberg Kultalahti bade192b6d implements Avatar component 2021-04-21 14:09:36 +02:00
Keviin Åberg Kultalahti 1f608ad761 wip: initial tags 2021-04-21 13:53:49 +02:00
Keviin Åberg Kultalahti e4c32f5ddb Removes Switcher component 2021-04-21 13:44:36 +02:00
Keviin Åberg Kultalahti 72fc3ea6dd adds defaults to Typography components 2021-04-21 13:21:43 +02:00
Keviin Åberg Kultalahti 6db09715df merge spectrum-bbui 2021-04-21 13:15:16 +02:00
Andrew Kingston 57aaa05461 Remove some old stuff and update binding icon 2021-04-21 11:42:25 +01:00
Andrew Kingston b2fc4e56eb Add datepicker, centralise icon management and update builder styles 2021-04-20 20:06:27 +01:00
Andrew Kingston 142c47fc36 Revert to use manual handlers for closing rather than clickOutside action 2021-04-20 18:14:33 +01:00
Keviin Åberg Kultalahti 69823b1d52 clean up Tree Item component 2021-04-20 16:44:08 +02:00
Keviin Åberg Kultalahti 1f50a970c1 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 5b7f58d7b4 Add search component and update screen list panel 2021-04-20 14:24:14 +01:00
Andrew Kingston 6ac5a999cb Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-20 14:06:33 +01:00
Andrew Kingston b70afda93c Update all form components to update bound values before firing onchange events 2021-04-20 12:49:02 +01:00
Andrew Kingston b17c4b961d Update filter popover 2021-04-20 12:31:08 +01:00
Andrew Kingston b0e5e48883 Update all backend table popovers to use spectrum and fix multiple bugs 2021-04-20 12:20:03 +01:00
Andrew Kingston 17d031eeed 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 1bc678ad9e 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 36b1cd75fd Update button actions to use new spectrum components 2021-04-19 14:40:51 +01:00
Andrew Kingston a537ed9ca4 Update label to use spectrum 2021-04-19 14:36:28 +01:00
Andrew Kingston 3703ab17a4 Update all design panel settings and styles to use new spectrum components 2021-04-19 14:04:07 +01:00
Andrew Kingston af73ea15be Add combobox component 2021-04-19 12:05:11 +01:00
Andrew Kingston 9a0ad49b74 Add switch and fix modal titles 2021-04-16 17:12:22 +01:00
Andrew Kingston 95bef3e90a Standardise text area updates 2021-04-16 16:11:11 +01:00
Andrew Kingston 691c9a9bd1 Replace RichText editor with spectrum text area 2021-04-16 16:00:10 +01:00
Keviin Åberg Kultalahti fb77d95e34 implements working TreeView component 2021-04-16 16:41:04 +02:00
Keviin Åberg Kultalahti 8aa6e66be2 wip: tree component 2021-04-16 16:17:26 +02:00
Andrew Kingston 7ba5ff7b34 Add radio group spectrum component and update builder 2021-04-16 14:30:33 +01:00
Andrew Kingston ea5501fe98 Make modals only close on a mousedown outside the modal rather than a click 2021-04-16 13:09:16 +01:00
Andrew Kingston 63dfb552d7 Fix crash when non iterable options property given to picker 2021-04-16 13:08:06 +01:00
Keviin Åberg Kultalahti 1a53a3cb45 Convert main nav to use an ActionGroup 2021-04-16 12:40:34 +02:00
Andrew Kingston 9a2385e4b2 Use BBUI checkbox in standard components 2021-04-16 11:32:41 +01:00
Andrew Kingston 4d84e063dd Improve select determination of field text 2021-04-16 11:32:24 +01:00
Andrew Kingston 48a85ae103 Improve multiselect determintation of pretty labels 2021-04-16 11:32:05 +01:00
Keviin Åberg Kultalahti e8376435dd Adds Icon component to bbui 2021-04-16 12:24:06 +02:00
Andrew Kingston 474d08ed94 Add spectrum checkbox component 2021-04-16 11:05:53 +01:00
Andrew Kingston 795b96513e Use new spectrum components to build up Table SelectEditRenderer cell 2021-04-16 11:05:31 +01:00
Andrew Kingston a9f07045f7 Extract value and label props from select options which are objects by default 2021-04-16 11:04:50 +01:00
Andrew Kingston 3aeb85f62f Fix table height when no rows exist and fixed row count specified 2021-04-16 11:03:44 +01:00
Andrew Kingston 0f8ddd47fe Fix table borders and background colours to properly reflect spectrum theme 2021-04-16 09:39:49 +01:00
Andrew Kingston aab06cdc36 Don't render field label components unless a label exists 2021-04-16 09:39:29 +01:00
Andrew Kingston e28bbf594b Fix placeholder text 2021-04-16 09:39:09 +01:00
Andrew Kingston 917f0551d5 Add missing modal content dependency 2021-04-16 09:02:16 +01:00
Andrew Kingston 4381c8981f Prune old dependencies 2021-04-16 09:01:52 +01:00
Andrew Kingston b0f31aaf15 Allow selects to support no placeholder option 2021-04-16 09:01:21 +01:00
Andrew Kingston 4b51381c88 Update lock 2021-04-16 08:10:18 +01:00
Andrew Kingston 534ca3319e Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-16 08:08:52 +01:00
Andrew Kingston b9913390c7 Change BBUI to single bundle export and clean up some form components 2021-04-15 19:28:08 +01:00
Keviin Åberg Kultalahti a800c6198a adds wip progresscircle component 2021-04-15 18:06:22 +02:00
Keviin Åberg Kultalahti 7c115149ba adds progressBar 2021-04-15 15:39:14 +02:00
Keviin Åberg Kultalahti 61e1529ea8 adds on:select handler to tabs component 2021-04-15 15:39:00 +02:00
Andrew Kingston 5f697f0e96 Add pretty labels to multiselect and fix stale props issue 2021-04-15 14:05:59 +01:00
Keviin Åberg Kultalahti f25bebf822 remove log 2021-04-15 14:48:20 +02:00
Keviin Åberg Kultalahti 7f05d74355 working sliding animation between tabs 2021-04-15 14:42:39 +02:00
Andrew Kingston 087e8ed153 Fix multiselect 2021-04-15 12:14:51 +01:00
Andrew Kingston 87e37e0fc5 Fix modal transform causing inner overlays to incorrectly calculate window dimensions 2021-04-15 12:09:06 +01:00
Andrew Kingston b741d9e9d9 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 6960966cac adds working tabs 2021-04-14 16:07:45 +02:00
Keviin Åberg Kultalahti 5da296ed5d adds divider component 2021-04-14 14:52:25 +02:00
Keviin Åberg Kultalahti f34b899ef6 adds Typogaphy components 2021-04-14 10:53:23 +02:00
Keviin Åberg Kultalahti db6b0c72df adds Heading component 2021-04-14 10:40:44 +02:00
Keviin Åberg Kultalahti fa08a6211d rework to use tick instead of manual timeout 2021-04-14 10:25:10 +02:00
Keviin Åberg Kultalahti 5d1d53f679 adds focus action to first input field of modals 2021-04-14 10:22:45 +02:00
Andrew Kingston 75a58829a6 Add missing menu, actiongroup and link spectrum dependencies 2021-04-13 18:12:10 +01:00
Andrew Kingston 758297a093 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 18:08:55 +01:00
Andrew Kingston 8af2b8f2a0 Fix table spectrum colour definitions 2021-04-13 18:08:01 +01:00
Keviin Åberg Kultalahti 744f943e95 Merge branch 'spectrum-bbui' into spectrum/actionbutton-actionmenus 2021-04-13 17:05:01 +02:00
Andrew Kingston 719c2af295 Fix z-index on table header 2021-04-13 15:31:38 +01:00
Andrew Kingston c1ba8f065f Add missing toast dependency 2021-04-13 15:28:57 +01:00
Andrew Kingston 7204ba7ffb Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 15:24:34 +01:00
Andrew Kingston 567e43046e Fix scroll state not resetting 2021-04-13 15:10:27 +01:00
Andrew Kingston d5827e15b3 Support non-sortable columns in table and prevent first row rendering flashing 2021-04-13 14:44:30 +01:00
Andrew Kingston 08a1b4c1d7 Allow table dynamic resizing and scrolling whenever rowCount is not specified 2021-04-13 14:14:14 +01:00
Andrew Kingston 0b3dcb40a3 Use BBUI spectrum table in standard components 2021-04-12 16:14:24 +01:00
Keviin Åberg Kultalahti cfe0b153e6 Implements ActionMenu component 2021-04-12 17:10:55 +02:00
Keviin Åberg Kultalahti 5c3fcb053d Implements Menu component 2021-04-12 16:26:26 +02:00
Andrew Kingston 4703c87991 Improve table cell rendering and pass down table slot 2021-04-12 15:24:33 +01:00
Andrew Kingston 7ca7769482 Add hover cursor to relationship badges in tables 2021-04-12 15:16:49 +01:00
Andrew Kingston 1c1f71ebfb Don't show header in spectrum table unless rows exist 2021-04-12 15:15:35 +01:00
Andrew Kingston 28b4e178fe Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Andrew Kingston e7a866e45a Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Keviin Åberg Kultalahti b947bac525 wip menu component 2021-04-12 11:24:03 +02:00