Commit Graph

17 Commits

Author SHA1 Message Date
nathan
29c29be730 Fix "Uncaught (in promise) TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'." 2023-04-05 15:47:00 +02:00
nathan
368fe85bc1 Et2TabsMobile: Fix double values when submitting.
Render was making multiple copies of the sub-template
2023-03-31 16:47:09 +02:00
nathan
e532ca176b Add Et2TabsMobile that has special rendering for tabs on mobile 2023-02-21 10:31:38 -07:00
nathan
68caabe1ae Fix hidden tabs did not make children readonly
Fixes required fields on hidden tabs still got validated
2023-02-14 10:09:58 -07:00
nathan
b8c3a97138 Et2Tabs: fix keyboard navigation 2022-12-22 14:51:48 -07:00
Hadi Nategh
e1a87caf6c WIP of better UI 2022-08-30 07:50:43 +02:00
Hadi Nategh
e75621fb39 Set default placement for tabs in mobile template 2022-08-23 13:49:20 +02:00
nathan
e67c3d6e61 Et2Tabs: Implement et2_IResizable 2022-08-05 11:01:26 -06:00
ralf
b22674dbd7 change tabbox to be an input widget allowing to get and set the active tab 2022-08-05 17:37:23 +02:00
nathan
098c2ab3f0 Fix some issues from the shoelace version bump
- SlSelect.getItemLabel() not there anymore
- SlSelect.menuItems is now a real list, and fails when parent tries to write to it
- Tabs didn't hide properly when not active, giving a scrollbar
2022-08-04 13:47:16 -06:00
nathan
111e337db1 Avoid error when getting tab height from parent 2022-08-04 09:19:04 -06:00
Hadi Nategh
47825f1be3 Override default color-indicator from shoelace 2022-08-04 16:31:14 +02:00
Hadi Nategh
de699325a6 Set a smaller font-size for tab's label 2022-08-04 16:19:30 +02:00
ralf
c3673b1126 ported timestamper to a web-component
also implemented legacy methods activateTab() and setActiveTab() for new tabs widget
2022-08-03 15:48:35 +02:00
nathan
9530f693e0 Set ID for tab contentDiv 2022-08-02 16:40:27 -06:00
nathan
d438b4e355 Use webcomponent for tabs
+ handle tabs set by variable better
2022-08-02 14:53:15 -06:00
nathan
db143f047a Change tabs to use Shoelace
Includes changes to historylog, since it did some deferred loading & sizing magic based on tab
2022-08-02 10:33:04 -06:00