@webtides/element-library 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +208 -0
- package/README.md +72 -56
- package/all.js +16 -0
- package/catalog.js +17 -1
- package/custom-elements.json +14731 -10193
- package/package.json +1 -1
- package/src/components/accordion/accordion.changelog.md +11 -0
- package/src/components/accordion/accordion.js +15 -3
- package/src/components/accordion/accordion.readme.md +27 -1
- package/src/components/accordion/accordion.style.js +19 -0
- package/src/components/app-bar/app-bar.changelog.md +24 -0
- package/src/components/app-bar/app-bar.define.js +3 -0
- package/src/components/app-bar/app-bar.js +91 -0
- package/src/components/app-bar/app-bar.readme.md +130 -0
- package/src/components/app-bar/app-bar.style.js +103 -0
- package/src/components/app-frame/app-frame.changelog.md +45 -0
- package/src/components/app-frame/app-frame.define.js +3 -0
- package/src/components/app-frame/app-frame.events.js +6 -0
- package/src/components/app-frame/app-frame.js +1073 -0
- package/src/components/app-frame/app-frame.readme.md +416 -0
- package/src/components/app-frame/app-frame.style.js +527 -0
- package/src/components/button/button.changelog.md +25 -0
- package/src/components/button/button.events.js +3 -0
- package/src/components/button/button.js +209 -14
- package/src/components/button/button.readme.md +82 -6
- package/src/components/button/button.style.js +161 -7
- package/src/components/checkbox-field/checkbox-field.changelog.md +6 -0
- package/src/components/checkbox-field/checkbox-field.js +7 -1
- package/src/components/description-list/description-list.changelog.md +25 -0
- package/src/components/description-list/description-list.define.js +3 -0
- package/src/components/description-list/description-list.js +44 -0
- package/src/components/description-list/description-list.readme.md +135 -0
- package/src/components/description-list/description-list.style.js +140 -0
- package/src/components/dialog/dialog.changelog.md +7 -0
- package/src/components/dialog/dialog.readme.md +5 -0
- package/src/components/dialog/dialog.style.js +17 -2
- package/src/components/drawer/drawer.changelog.md +7 -0
- package/src/components/drawer/drawer.readme.md +7 -6
- package/src/components/drawer/drawer.style.js +35 -2
- package/src/components/dropdown/dropdown.readme.md +6 -1
- package/src/components/list/list.changelog.md +24 -0
- package/src/components/list/list.define.js +3 -0
- package/src/components/list/list.js +66 -0
- package/src/components/list/list.readme.md +122 -0
- package/src/components/list/list.style.js +56 -0
- package/src/components/list-item/list-item.changelog.md +24 -0
- package/src/components/list-item/list-item.define.js +3 -0
- package/src/components/list-item/list-item.js +128 -0
- package/src/components/list-item/list-item.readme.md +126 -0
- package/src/components/list-item/list-item.style.js +234 -0
- package/src/components/menu/menu.changelog.md +27 -0
- package/src/components/menu/menu.define.js +3 -0
- package/src/components/menu/menu.events.js +5 -0
- package/src/components/menu/menu.js +570 -0
- package/src/components/menu/menu.readme.md +272 -0
- package/src/components/menu/menu.style.js +55 -0
- package/src/components/menu-group/menu-group.changelog.md +20 -0
- package/src/components/menu-group/menu-group.define.js +3 -0
- package/src/components/menu-group/menu-group.js +44 -0
- package/src/components/menu-group/menu-group.readme.md +74 -0
- package/src/components/menu-group/menu-group.style.js +38 -0
- package/src/components/menu-item/menu-item.changelog.md +24 -0
- package/src/components/menu-item/menu-item.define.js +3 -0
- package/src/components/menu-item/menu-item.js +130 -0
- package/src/components/menu-item/menu-item.readme.md +94 -0
- package/src/components/menu-item/menu-item.style.js +87 -0
- package/src/components/nav/nav.changelog.md +35 -0
- package/src/components/nav/nav.define.js +3 -0
- package/src/components/nav/nav.js +212 -0
- package/src/components/nav/nav.readme.md +248 -0
- package/src/components/nav/nav.style.js +269 -0
- package/src/components/nav-item/nav-item.changelog.md +25 -0
- package/src/components/nav-item/nav-item.define.js +3 -0
- package/src/components/nav-item/nav-item.js +75 -0
- package/src/components/nav-item/nav-item.readme.md +111 -0
- package/src/components/nav-item/nav-item.style.js +159 -0
- package/src/components/pagination/pagination.changelog.md +8 -0
- package/src/components/pagination/pagination.js +123 -49
- package/src/components/pagination/pagination.readme.md +24 -6
- package/src/components/pagination/pagination.style.js +11 -1
- package/src/components/scroll-to-top/scroll-to-top.changelog.md +7 -5
- package/src/components/scroll-to-top/scroll-to-top.js +16 -12
- package/src/components/scroll-to-top/scroll-to-top.readme.md +2 -0
- package/src/components/segmented-field/segmented-field.changelog.md +27 -0
- package/src/components/segmented-field/segmented-field.define.js +3 -0
- package/src/components/segmented-field/segmented-field.js +175 -0
- package/src/components/segmented-field/segmented-field.readme.md +140 -0
- package/src/components/segmented-field/segmented-field.style.js +193 -0
- package/src/components/splitter/splitter.changelog.md +24 -0
- package/src/components/splitter/splitter.define.js +3 -0
- package/src/components/splitter/splitter.events.js +4 -0
- package/src/components/splitter/splitter.js +237 -0
- package/src/components/splitter/splitter.readme.md +164 -0
- package/src/components/splitter/splitter.style.js +100 -0
- package/src/components/status-bar/status-bar.changelog.md +25 -0
- package/src/components/status-bar/status-bar.define.js +3 -0
- package/src/components/status-bar/status-bar.js +74 -0
- package/src/components/status-bar/status-bar.readme.md +139 -0
- package/src/components/status-bar/status-bar.style.js +122 -0
- package/src/components/switch-field/switch-field.changelog.md +6 -0
- package/src/components/switch-field/switch-field.js +7 -1
- package/src/components/tab-group/tab-group.changelog.md +7 -0
- package/src/components/tab-group/tab-group.js +30 -9
- package/src/components/tab-group/tab-group.readme.md +14 -0
- package/src/components/toast/toast.changelog.md +6 -0
- package/src/components/toast/toast.readme.md +5 -3
- package/src/components/toast/toast.style.js +22 -6
- package/src/components/toolbar/toolbar.changelog.md +24 -0
- package/src/components/toolbar/toolbar.define.js +3 -0
- package/src/components/toolbar/toolbar.js +233 -0
- package/src/components/toolbar/toolbar.readme.md +156 -0
- package/src/components/toolbar/toolbar.style.js +49 -0
- package/src/components/tooltip/tooltip.changelog.md +11 -0
- package/src/components/tooltip/tooltip.js +51 -4
- package/src/components/tooltip/tooltip.readme.md +26 -1
- package/src/components/tree/tree.changelog.md +23 -0
- package/src/components/tree/tree.define.js +3 -0
- package/src/components/tree/tree.js +138 -0
- package/src/components/tree/tree.readme.md +119 -0
- package/src/components/tree/tree.style.js +16 -0
- package/src/components/tree-item/tree-item.changelog.md +23 -0
- package/src/components/tree-item/tree-item.define.js +3 -0
- package/src/components/tree-item/tree-item.events.js +3 -0
- package/src/components/tree-item/tree-item.js +246 -0
- package/src/components/tree-item/tree-item.readme.md +128 -0
- package/src/components/tree-item/tree-item.style.js +226 -0
- package/src/styles/appearance.style.js +47 -0
- package/src/styles/choice-group.style.js +1 -1
- package/src/styles/modal.style.js +14 -1
- package/src/styles/size.style.js +41 -0
- package/src/utils/focus.js +69 -0
- package/src/utils/scroll.js +24 -0
- package/types/all.d.ts +16 -0
- package/types/src/components/accordion/accordion.d.ts +3 -1
- package/types/src/components/app-bar/app-bar.d.ts +43 -0
- package/types/src/components/app-bar/app-bar.define.d.ts +1 -0
- package/types/src/components/app-bar/app-bar.style.d.ts +2 -0
- package/types/src/components/app-frame/app-frame.d.ts +491 -0
- package/types/src/components/app-frame/app-frame.define.d.ts +1 -0
- package/types/src/components/app-frame/app-frame.events.d.ts +7 -0
- package/types/src/components/app-frame/app-frame.style.d.ts +8 -0
- package/types/src/components/button/button.d.ts +97 -7
- package/types/src/components/button/button.events.d.ts +4 -0
- package/types/src/components/description-list/description-list.d.ts +29 -0
- package/types/src/components/description-list/description-list.define.d.ts +1 -0
- package/types/src/components/description-list/description-list.style.d.ts +2 -0
- package/types/src/components/list/list.d.ts +39 -0
- package/types/src/components/list/list.define.d.ts +1 -0
- package/types/src/components/list/list.style.d.ts +2 -0
- package/types/src/components/list-item/list-item.d.ts +62 -0
- package/types/src/components/list-item/list-item.define.d.ts +1 -0
- package/types/src/components/list-item/list-item.style.d.ts +2 -0
- package/types/src/components/menu/menu.d.ts +266 -0
- package/types/src/components/menu/menu.define.d.ts +1 -0
- package/types/src/components/menu/menu.events.d.ts +6 -0
- package/types/src/components/menu/menu.style.d.ts +2 -0
- package/types/src/components/menu-group/menu-group.d.ts +24 -0
- package/types/src/components/menu-group/menu-group.define.d.ts +1 -0
- package/types/src/components/menu-group/menu-group.style.d.ts +2 -0
- package/types/src/components/menu-item/menu-item.d.ts +59 -0
- package/types/src/components/menu-item/menu-item.define.d.ts +1 -0
- package/types/src/components/menu-item/menu-item.style.d.ts +2 -0
- package/types/src/components/nav/nav.d.ts +103 -0
- package/types/src/components/nav/nav.define.d.ts +1 -0
- package/types/src/components/nav/nav.style.d.ts +2 -0
- package/types/src/components/nav-item/nav-item.d.ts +39 -0
- package/types/src/components/nav-item/nav-item.define.d.ts +1 -0
- package/types/src/components/nav-item/nav-item.style.d.ts +2 -0
- package/types/src/components/pagination/pagination.d.ts +31 -2
- package/types/src/components/scroll-to-top/scroll-to-top.d.ts +6 -5
- package/types/src/components/segmented-field/segmented-field.d.ts +85 -0
- package/types/src/components/segmented-field/segmented-field.define.d.ts +1 -0
- package/types/src/components/segmented-field/segmented-field.style.d.ts +2 -0
- package/types/src/components/splitter/splitter.d.ts +127 -0
- package/types/src/components/splitter/splitter.define.d.ts +1 -0
- package/types/src/components/splitter/splitter.events.d.ts +5 -0
- package/types/src/components/splitter/splitter.style.d.ts +2 -0
- package/types/src/components/status-bar/status-bar.d.ts +44 -0
- package/types/src/components/status-bar/status-bar.define.d.ts +1 -0
- package/types/src/components/status-bar/status-bar.style.d.ts +2 -0
- package/types/src/components/tab-group/tab-group.d.ts +17 -0
- package/types/src/components/toolbar/toolbar.d.ts +96 -0
- package/types/src/components/toolbar/toolbar.define.d.ts +1 -0
- package/types/src/components/toolbar/toolbar.style.d.ts +2 -0
- package/types/src/components/tooltip/tooltip.d.ts +26 -0
- package/types/src/components/tree/tree.d.ts +62 -0
- package/types/src/components/tree/tree.define.d.ts +1 -0
- package/types/src/components/tree/tree.style.d.ts +2 -0
- package/types/src/components/tree-item/tree-item.d.ts +106 -0
- package/types/src/components/tree-item/tree-item.define.d.ts +1 -0
- package/types/src/components/tree-item/tree-item.events.d.ts +4 -0
- package/types/src/components/tree-item/tree-item.style.d.ts +2 -0
- package/types/src/styles/appearance.style.d.ts +31 -0
- package/types/src/styles/choice-group.style.d.ts +1 -1
- package/types/src/styles/modal.style.d.ts +5 -0
- package/types/src/styles/size.style.d.ts +24 -0
- package/types/src/utils/focus.d.ts +25 -0
- package/types/src/utils/scroll.d.ts +11 -0
- package/web-types.json +2530 -393
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,214 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this
|
|
|
12
12
|
|
|
13
13
|
## Unreleased
|
|
14
14
|
|
|
15
|
+
## [0.4.0] - 2026-11-27
|
|
16
|
+
|
|
17
|
+
### accordion
|
|
18
|
+
|
|
19
|
+
- Changed: where scripting is off, a server-rendered accordion without `open="true"` is closed and cannot be opened; it was open before, because nothing had collapsed it. The readme has a rule for a page that wants the content readable there (`@media (scripting: none)` and the `content` part). ([#187](https://github.com/webtides/element-library/issues/187))
|
|
20
|
+
- Fixed: a closed accordion that was rendered on the server shows its header alone from the first paint. The markup of the server had the content as it is while open, the browser painted it, and the element took it away once it started: everything below the accordion jumped up with every page load, and where scripting is off the accordion was open. The stylesheet of the element now collapses the content unless the host has `open="true"`, which holds before the element starts. An accordion with `open="true"` is server-rendered open, with the line under its header and the turned chevron, and stays that way. ([#187](https://github.com/webtides/element-library/issues/187))
|
|
21
|
+
- Fixed: a closed accordion that is rendered in the browser starts closed. It was rendered open and collapsed with the transition, in front of the user and with the content below it moving. ([#187](https://github.com/webtides/element-library/issues/187))
|
|
22
|
+
|
|
23
|
+
### app-bar
|
|
24
|
+
|
|
25
|
+
- Added: `el-app-bar`, a new component: the bar at the top of a view, with a start (a button back, or the one for the navigation), a title and an end (the actions). Start and end follow the reading direction, and a region the page leaves empty takes no room. ([#178](https://github.com/webtides/element-library/issues/178))
|
|
26
|
+
- Added: the title is one line: what does not fit is cut with an ellipsis, and never pushes the actions out. The whole title stays in the page for assistive technology. `heading-level` (1 to 6) makes it the heading of the view; unset, it is text.
|
|
27
|
+
- Added: the buttons of the bar are plain while they have no appearance of their own; `appearance` names another one. The bar does not write to its buttons: it says the appearance in CSS properties that are inherited.
|
|
28
|
+
- Added: in the header of an `el-app-frame` the surface of the bar reaches as far as the surface of the region: under the status bar and the notch of a phone and to the sides of the screen, while its content stays clear of them. The line to the content is the one of the region there.
|
|
29
|
+
- Added: as high as a control and its padding, with and without a button, and at least `--el-touch-target` high on a touch screen.
|
|
30
|
+
- Added: a surface from `--el-color-bg` and a line to the content from `--el-color-border` and `--el-border-width`. The line is a border, which stays where the user forces colours and is there without a theme then. The bar is no landmark and has no role.
|
|
31
|
+
|
|
32
|
+
### app-frame
|
|
33
|
+
|
|
34
|
+
- Added: `el-app-frame`, a new component: the frame of an application. It fills what the browser shows and lays out five regions, a header, a footer, a navigation at the start side, an aside at the end side, and the content. A region the page leaves empty takes no room, and start and end follow the reading direction. ([#176](https://github.com/webtides/element-library/issues/176))
|
|
35
|
+
- Added: the frame is fixed to the edges of the viewport, which move with the address bar of a phone: it is as high as what the browser shows, and no higher. The content scrolls between the header and the footer, which stay in view. The window does not scroll in a frame; `scroller` is the element that does, for a page that sets the scroll back after a change of the view.
|
|
36
|
+
- Added: narrow and wide by its own width: from the width `wide-from` names (`30rem`, `40rem`, `48rem` by default, `64rem` or `80rem`) the navigation and the aside are columns beside the content, and each scrolls on its own. Below it the content and the aside are one column that scrolls, and the navigation is a drawer. The stylesheet decides, with a container query per step, so a server-rendered frame has its layout before the script has run. `wide` reads what the stylesheet has decided.
|
|
37
|
+
- Added: `--el-app-frame-navigation-size` (`16rem`) and `--el-app-frame-aside-size` (`20rem`) are the widths of the two columns.
|
|
38
|
+
- Added: the page writes the landmarks: `<header slot="header">`, `<nav slot="navigation" aria-label="…">`, `<main id="…">`, `<aside slot="aside">` and `<footer slot="footer">`. The frame adds none of its own.
|
|
39
|
+
- Added: the first stop of the Tab key is a link that skips to the content, with the text of `skip-label`. It is a link to the id of the `main` of the page, which works before the script has run. After it the content is in view from its start, the keys scroll it, and the Tab key goes on inside of it.
|
|
40
|
+
- Added: on a phone with `viewport-fit=cover` nothing in a region lies under the notch, the rounded corners or the home indicator. The surface of a region (`::part(header)`, `::part(footer)`, …) reaches the edge of the screen, and what is in it does not. A region tells the components in it how far its surface reaches, and that it draws the line to the content itself, in CSS properties that are inherited.
|
|
41
|
+
- Added: a region that scrolls and has nothing in it that takes the focus is a stop of the Tab key itself, so the keyboard can scroll it in every browser.
|
|
42
|
+
- Added: on paper the frame is as long as its content, which prints whole.
|
|
43
|
+
- Added: lines between the regions from `--el-color-border` and `--el-border-width`. They are borders, which stay where the user forces colours, and they are there without a theme then. Without a theme the frame paints nothing.
|
|
44
|
+
- Added: `narrow-only` and `wide-only` name the regions that are there at one width only (`header`, `navigation`, `aside`, `footer`, with a space between them): a bar of destinations in the footer of a phone, for example (`narrow-only="footer"`), or an aside for a desktop (`wide-only="aside"`). The stylesheet leaves a region out, without a script, and the frame keeps the edge of the screen clear that the region kept clear. ([#179](https://github.com/webtides/element-library/issues/179))
|
|
45
|
+
- Added: where the frame is narrow, the navigation does not show and opens as a drawer from the start edge. The page writes the navigation once: the element in the `navigation` slot is the column of the wide frame and the content of the drawer of the narrow one, and no node is moved. ([#177](https://github.com/webtides/element-library/issues/177))
|
|
46
|
+
- Added: any element with `data-navigation-toggle` in the frame opens and closes that drawer. The frame writes `aria-expanded` onto it, and it is not there where the navigation is a column: an `el-button` by the stylesheet of the frame, before any script has run, another element by the script (`hidden`).
|
|
47
|
+
- Added: the drawer is an `el-drawer`: modal, with the focus kept in it. `Escape`, its close button and a click beside it close it, and the focus goes back to the button that opened it. A link the user follows in it closes it, also where the page takes the click. `navigation-label` is its title and `close-label` the name of its close button; its parts are `drawer`, `drawer-header`, `drawer-title`, `drawer-close-button` and `drawer-body`.
|
|
48
|
+
- Added: a change of the width while the drawer is open leaves nothing behind: no backdrop, no lock on the scroll of the page and no inert page.
|
|
49
|
+
- Added: `navigation-open` opens and closes the drawer from a script, `app-frame-navigation-toggle` tells of both, and `:state(navigation-open)` matches while it is open.
|
|
50
|
+
- Added: `narrow-navigation="bar"`: where the frame is narrow, the navigation lies at the lower edge, over the footer, instead of being a drawer. For an `el-nav` in the `navigation` slot, whose destinations are a bar there and a rail in the column of the wide frame: the page writes them once. The region is a surface of the frame at the lower edge, as the footer is, and the column is as wide as what is in it. ([#181](https://github.com/webtides/element-library/issues/181))
|
|
51
|
+
- Added: the column of the navigation tells an `el-nav` in it to be a column (a rail, or the list its `column` asks for), and that the region draws the line to the content, in CSS properties that are inherited. The drawer of the navigation says the same.
|
|
52
|
+
- Added: `resizable` names the columns whose width the user sets by dragging their edge (`navigation`, `aside`). The edge is an `el-splitter` of the frame at the side of the column that faces the content: dragged with a mouse, a finger or a pen, a stop of the Tab key with the arrow keys, `Home` and `End`, and a separator with the width and the name of the column for assistive technology (`navigation-label`, and the new `aside-label`). Its parts are `navigation-splitter` and `aside-splitter`. ([#182](https://github.com/webtides/element-library/issues/182))
|
|
53
|
+
- Added: `navigation-size` and `aside-size` are the widths of the two columns in pixels. The frame sets them while the user drags, `app-frame-resize` tells of every width and `app-frame-resize-end` of the one that stays (`detail.region`, `detail.size`). The page keeps the width and gives it back in the attribute: the template writes it onto the grid, so a server-rendered frame has it before the script has run.
|
|
54
|
+
- Added: `--el-app-frame-navigation-min-size`, `--el-app-frame-navigation-max-size`, `--el-app-frame-aside-min-size` and `--el-app-frame-aside-max-size` are the limits of a column that is resizable (`10rem`, and `min(30rem, 40cqi)`: two fifths of the width of the frame at most). The stylesheet holds a width that is kept between them.
|
|
55
|
+
- Added: where the frame is narrow, a column has no edge to drag, and the drawer of the navigation keeps the width of the stylesheet.
|
|
56
|
+
- Added: a view of columns in the content: a list and what is chosen in it beside each other, each scrolling on its own where the frame is wide, and a page that scrolls as a whole where it is narrow. The frame does it as it is: the region of the content has a height where the frame is wide, and the frame is a container for the queries of the page. The readme says what the page writes, and tests and a story hold it. ([#200](https://github.com/webtides/element-library/issues/200))
|
|
57
|
+
- Added: an on-screen keyboard that the browser lays over the page: while it covers a part of the viewport, the frame is as high as the part above it and where that part is (`window.visualViewport`), so the header stays in view and the footer lies above the keyboard, without room for a home indicator. `:state(keyboard)` matches while it is so. A viewport that shows less is a keyboard only while the user types into something (a field, a text they edit or an `iframe` has the focus): Safari on iOS shows less while a finger pulls the page past its top as well. Only a frame that fills the viewport follows, and not while the user has zoomed in. ([#201](https://github.com/webtides/element-library/issues/201))
|
|
58
|
+
- Added: the field the user types into stays in view: the frame scrolls its region to it when the region gets less high, for a keyboard or a window that gets smaller. A field in a dialog or a popover is left to the browser.
|
|
59
|
+
- Added: `status-bar-tap`: a tap on the status bar of an iPhone brings the content to its top, as in an application. iOS scrolls the document for that tap and never a region, so the frame keeps the document one pixel higher than the viewport, lets it snap to that pixel, hears it go to zero, and scrolls what scrolls its content (`scroller`), smoothly unless the user asks for less motion. `app-frame-status-bar-tap` is fired first, and a listener that prevents its default keeps the frame from scrolling. Off by default: the document scrolls by a pixel with it, and the frame writes `scroll-snap-type` onto the `html` element while it listens. ([#201](https://github.com/webtides/element-library/issues/201))
|
|
60
|
+
- Added: only the tap is taken for one. A script that scrolls the window does not move a document that snaps, so a router that sets the scroll back, or brings a place back, is none; where a script can move the document, the frame takes no scroll for the tap. A finger that drags the page, a wheel or a key, a keyboard that comes or goes and a viewport that changes its size are none, and neither is the moment after them, nor what iOS does to the document until it has arrived at the top. While a dialog or a drawer locks the scroll of the document nothing happens, and the document is on its pixel after. Only on iOS, and only for a frame that fills the viewport.
|
|
61
|
+
|
|
62
|
+
### button
|
|
63
|
+
|
|
64
|
+
- Added: `toggle`: the button is a toggle button, one that stays pressed. A click flips `pressed`, and so do the Space and the Enter key; the control has `aria-pressed` with the state, so a screen reader announces a toggle button. `pressed` is a property and an attribute the page can set and read, and a toggle button writes the attribute itself (`pressed="true"`, `"false"`). `toggle` is ignored on a button with `href`. ([#172](https://github.com/webtides/element-library/issues/172))
|
|
65
|
+
- Added: `button-toggle`, fired when a click has flipped a toggle button, with the new state in `detail.pressed`. Not fired when `pressed` is set from a script. A `click` listener of the page that calls `preventDefault()` keeps the button from flipping. ([#172](https://github.com/webtides/element-library/issues/172))
|
|
66
|
+
- Added: a pressed button shows that it is pressed: a ring inside of its edge in the colour of its label, in every variant and appearance, and a tint of the text colour where the button has no fill. The ring is a border, so it stays where the user forces colours, and it has the corners of the button, the joined ones of an `el-button-group` as well. Before, no rule selected a pressed button, and it looked like one that is not pressed. ([#172](https://github.com/webtides/element-library/issues/172))
|
|
67
|
+
- Added: in a container that gives its controls a size and an appearance, an `el-toolbar`, the button takes them from it, while the page has not set `size` or `appearance` on the button itself. A button that names its own keeps it, the defaults included (`appearance="filled"`, `size="medium"`). The container says both in CSS properties that are inherited, and the button reads them in its stylesheet: its attributes are not written, and outside of such a container nothing changes. ([#194](https://github.com/webtides/element-library/issues/194))
|
|
68
|
+
- Added: an `el-button` with `data-navigation-toggle`, the button that opens the navigation of an `el-app-frame`, is not there where the navigation is a column beside the content. The frame says so in a CSS property that is inherited, so this holds before any script has run. Outside of a frame the attribute changes nothing. ([#177](https://github.com/webtides/element-library/issues/177))
|
|
69
|
+
- Added: in a container that has the edge of the screen around it, an `el-status-bar`, the focus ring of a theme is inside of the button and not around it. The container says so in a CSS property that is inherited (`--_el-context-focus-ring-offset`); outside of such a container the ring is where it was. ([#180](https://github.com/webtides/element-library/issues/180))
|
|
70
|
+
- Changed: a button with `aria-pressed="true"` that the page sets itself shows the ring of a pressed button as well. The attribute goes to the control as before, and no click changes it. ([#172](https://github.com/webtides/element-library/issues/172))
|
|
71
|
+
|
|
72
|
+
### description-list
|
|
73
|
+
|
|
74
|
+
- Added: `el-description-list`, a new component: rows of a name and its value, for a settings page or the page of an entry. The element is the native `<dl>` (it is inside of the shadow root), and the page writes the names as `<dt>` and the values as `<dd>` into it. Below 30rem of its own width a name stands above its value; from 30rem the two stand side by side, with the values of all rows on one line. The list measures itself (a container query), not the viewport. `--el-description-list-term-width` sets the width of the column of the names. Unset, it is as wide as the longest name, and 40% of the list at most. A `<dd data-action>` ends its row in an action, a link or a small button: at the end of the row, in the middle of the first line of the value. A row with a button is as high as a row without one. A row has `--el-space-3` above and below, and a line in `--el-color-border` above every row but the first, over the whole width. The line is not a border, so a reset of the page that takes the border off every element leaves it. Where the user forces colours it is drawn in the text colour of the system. A long value breaks, inside of a word where it has to: the list is never wider than its place. The list runs no script: a server-rendered list is laid out before the element takes over, and looks the same after. ([#195](https://github.com/webtides/element-library/issues/195))
|
|
75
|
+
|
|
76
|
+
### dialog
|
|
77
|
+
|
|
78
|
+
- Fixed: a dialog is never higher than what the browser shows. Its greatest height counted the address bar of a phone in (`100vh`), so the footer of a long dialog was below the edge while the bar was there. It follows the bar now (`100dvh`). ([#183](https://github.com/webtides/element-library/issues/183))
|
|
79
|
+
- Fixed: on a phone whose page reaches under the notch and the home indicator (`viewport-fit=cover`), the dialog keeps out of the room the system takes at the edges of the screen, and is in the middle of what is left. Elsewhere nothing changes.
|
|
80
|
+
|
|
81
|
+
### drawer
|
|
82
|
+
|
|
83
|
+
- Fixed: on a phone whose page reaches under the notch and the home indicator (`viewport-fit=cover`), the header of a drawer was under the status bar and its footer under the home indicator. The surface still reaches the three edges it lies against, and its header, its body and its footer keep clear of that room now. The size the page gives is the one of what is in the drawer, and the room is on top. Elsewhere nothing changes. ([#183](https://github.com/webtides/element-library/issues/183))
|
|
84
|
+
- Fixed: what is in a drawer and would keep the edges of the screen clear itself (an `el-app-bar`, an `el-nav`) is told that the surface does so, and adds no room of its own.
|
|
85
|
+
|
|
86
|
+
### list
|
|
87
|
+
|
|
88
|
+
- Added: `el-list`, a new component: a list of rows, for messages, articles, files or the entries of a settings page. It is the list for assistive technology (`role="list"`, named by `label`), and every `el-list-item` slotted into it is an item of that list. The texts of all rows begin on one line, after the widest start of the list: the list has a column for the start and one for the rest, and a row takes them over (`subgrid`). A list without a start in any row has no first column. `density` (`'default'` or `'compact'`): `--el-space-3` or `--el-space-2` above and below the texts of a row. `appearance`: `'plain'` (the default) has no surface and reaches from edge to edge of its place; `'outlined'` and `'filled'` are the surfaces of `el-card`. Between two rows is a line in `--el-color-border`. Without a theme the list paints nothing. `--el-list-padding-inline` is the padding of a row at its start and its end, `--el-space-4` unset. With `0` a list in the body of an `el-card` has its rows on the line of the other content. The list runs no script: a server-rendered list is complete without JavaScript, and looks the same before and after the element takes over. ([#192](https://github.com/webtides/element-library/issues/192))
|
|
89
|
+
|
|
90
|
+
### list-item
|
|
91
|
+
|
|
92
|
+
- Added: `el-list-item`, a new component: one row of an `el-list`, an item of its list (`role="listitem"`). It has a start (`start` slot), a title (default slot), a line under it (`description`), an end (`end`) and a control of its own (`action`). With `href` the row is a link as a whole: the title is a native link (`target` is passed on, `rel` is written with it), and its target is the whole row. A control in `action` lies on top of the link and stays a target of its own. On a touch screen a row that is a link is at least `--el-touch-target` high. `current` marks the current or the chosen row: `aria-current` (`"page"` on the link, `"true"` on a row without one), a tint, a bar at the start in the accent colour and a heavier title. The bar is a border, so it stays where the user forces colours. `mark` draws a dot in the padding at the start of the row, which does not move the texts. Its text is read in front of the title and is part of the name of the link (`mark="Unread"`). A long title breaks into more lines, inside of a word where it has to, so a text a user typed cannot widen the page. `truncate` cuts the title and the line under it after one line. The row runs no script: its link works before the element takes over, and without JavaScript in server-rendered markup. ([#192](https://github.com/webtides/element-library/issues/192))
|
|
93
|
+
|
|
94
|
+
### menu
|
|
95
|
+
|
|
96
|
+
- Added: `el-menu`, a new component: a menu button. A button of the page in the `trigger` slot opens a list of actions, which are `el-menu-item` elements. To assistive technology it is a menu (`role="menu"`) of menu items, and the button says that it opens one and whether it is open (`aria-haspopup="menu"`, `aria-expanded`). ([#167](https://github.com/webtides/element-library/issues/167))
|
|
97
|
+
- Added: a click, `Enter`, `Space` and `ArrowDown` on the button open the menu and put the focus on its first entry, `ArrowUp` on its last. In the menu the arrow keys move through the entries and around the ends, `Home` and `End` go to the first and to the last, and a letter goes to the next entry that starts with it.
|
|
98
|
+
- Added: `Escape` closes the menu and gives the focus back to the button. The Tab key closes it and moves on, and a click beside it closes it.
|
|
99
|
+
- Added: choosing an entry closes the menu and fires `menu-select`, with the entry in `detail.item` and its `value` in `detail.value`. `menu-show` and `menu-hide` tell of the menu itself, `open` (reflected) and `:state(open)` say whether it is shown, and `show()`, `hide()` and `toggle()` open and close it from a script.
|
|
100
|
+
- Added: the panel is a native popover in the top layer: nothing clips it, and it moves nothing on the page. It is placed at the button with Floating UI, at the side `placement` names (`bottom-start` by default) with a gap of `distance`, on the other side without room there, and never outside of the viewport. A long menu scrolls in what the browser shows. The menu opens and closes that popover itself (`popover="manual"`): a pointer that goes down beside it closes it, `Escape` in the menu closes it and leaves a dialog around it open, and a menu that opens closes the one before it. One the platform closes (`auto`) would be gone when the finger of a long press is lifted.
|
|
101
|
+
- Added: a surface, a border and a shadow from the tokens, with the colours of the system without a theme. `--el-menu-min-width` (`10rem`) and `--el-menu-max-width` (`20rem`) bound its width. An `el-divider` in the menu is a line between two entries.
|
|
102
|
+
- Added: `showAt(place, opener)`: one menu for many things, the rows of a list. It opens the menu at a point of the viewport, for a right click or a long press, with the corner of the menu at the point and the menu inside of the viewport, or at an element of the page, the button of a row, placed as at its own button. ([#186](https://github.com/webtides/element-library/issues/186))
|
|
103
|
+
- Added: what the menu is opened for is its `opener`: the property while the menu is open, `detail.opener` of `menu-select`, and what gets the focus back. An open menu moves when `showAt()` is called again, and tells of both rows (`menu-hide`, `menu-show`).
|
|
104
|
+
- Added: a button of the page that says that it opens a menu (`aria-haspopup="menu"`) is told whether the menu is open for it (`aria-expanded`), and gives the menu its name while it has no `label`.
|
|
105
|
+
|
|
106
|
+
### menu-group
|
|
107
|
+
|
|
108
|
+
- Added: `el-menu-group`, a new component: a group of entries in an `el-menu`. A group to assistive technology (`role="group"`), with `label` as its heading and its name. The heading the eye sees is not read a second time. ([#167](https://github.com/webtides/element-library/issues/167))
|
|
109
|
+
- Added: a line divides a group from what is before it in the menu. A group that is the first thing in its menu has none. Where the user forces colours the line is there without a theme as well.
|
|
110
|
+
|
|
111
|
+
### menu-item
|
|
112
|
+
|
|
113
|
+
- Added: `el-menu-item`, a new component: one entry of an `el-menu`. A `<button>` with `role="menuitem"`, or a link with `href`, `target` and `rel`. It is out of the order of the Tab key: the menu moves the focus to it. ([#167](https://github.com/webtides/element-library/issues/167))
|
|
114
|
+
- Added: `value` is what the entry stands for, for the listener of `menu-select`. Choosing an entry is a click on it, which the page can hear on the entry as well.
|
|
115
|
+
- Added: `disabled`: the entry cannot be chosen. It says so (`aria-disabled`), fires no click, and the keyboard still gets to it. A link that is disabled has no address.
|
|
116
|
+
- Added: the `icon` slot takes an icon in front of the text, and takes no room while it is empty.
|
|
117
|
+
- Added: `variant` (reflected): `danger` shows an entry for something that cannot be undone in the colour of a danger, from the shared variants.
|
|
118
|
+
- Added: the entry under the pointer and the one with the focus of the keyboard have a tint of the text colour, and the focus a ring inside of the entry, which is what shows where the user forces colours. On a touch screen an entry is at least `--el-touch-target` high.
|
|
119
|
+
|
|
120
|
+
### nav
|
|
121
|
+
|
|
122
|
+
- Added: `el-nav`, a new component: the destinations of an application as a bar for the lower edge of a phone. A navigation landmark (`<nav>`, named by `label`) with a list of `el-nav-item` links. ([#179](https://github.com/webtides/element-library/issues/179))
|
|
123
|
+
- Added: three to five destinations share the width in equal parts, however long their texts are. The bar is as high as an `el-app-bar`, and keeps that height: a text that does not fit is cut.
|
|
124
|
+
- Added: in the footer of an `el-app-frame` the surface of the bar reaches the lower edge of the screen and its sides, and the destinations stay above the home indicator of a phone. The line to the content is the one of the region there. Alone, the bar keeps its destinations clear of the home indicator and of the sides itself (`env(safe-area-inset-*)`).
|
|
125
|
+
- Added: a surface from `--el-color-bg` and a line to the content from `--el-color-border` and `--el-border-width`. The line is a border, which stays where the user forces colours and is there without a theme then.
|
|
126
|
+
- Added: `layout="rail"`: the destinations below each other in a narrow column for the side of a wider screen, `--el-nav-rail-size` wide (`5rem`), with a line to the content at the side that faces it. The rail is as high as its place, and scrolls where it has more destinations than height. ([#181](https://github.com/webtides/element-library/issues/181))
|
|
127
|
+
- Added: the `end` slot: a second group at the lower end of a rail, for the settings and the account. It is a list of its own, stays in view while the group at the top scrolls, and is not shown in a bar.
|
|
128
|
+
- Added: `labels="false"`: the destinations show an icon alone. Their texts are off the screen and stay the names of their links, and show as tooltips for the pointer and for the focus of the keyboard, beside a rail and above a bar. The tooltips are `el-tooltip` elements in the shadow root (`::part(tooltip)`); the element imports the tooltip, and with it `@floating-ui/dom`.
|
|
129
|
+
- Added: `layout="auto"`, the new default: a bar, and a rail where an `el-app-frame` has the element in the column at its side. The frame says so in a CSS property that is inherited, so the page writes the destinations once and the stylesheets decide, before any script has run. Alone, and in the footer of a frame, `auto` is the bar that was the default.
|
|
130
|
+
- Added: alone, a rail keeps its destinations clear of the top, its side and the lower edge of the screen (`env(safe-area-inset-*)`).
|
|
131
|
+
- Added: `layout="list"`: the destinations below each other, each a row with its icon and its text beside it, for a sidebar. A list is as wide as its place and as high as it, scrolls where it has more destinations than height, and keeps the `end` slot at its lower end in view. Where its place is as wide as what is in it, it is `--el-nav-list-size` wide (`16rem`). ([#199](https://github.com/webtides/element-library/issues/199))
|
|
132
|
+
- Added: `column`: what `layout="auto"` is in the column at the side of an `el-app-frame`, `rail` (the default) or `list`. The class of the landmark says it and the stylesheet decides, so a server-rendered page has a list on one view and a rail on another before any script has run.
|
|
133
|
+
- Added: the `secondary` slot: a second group of destinations below the first, for the pages that have no room in a bar, with `secondary-label` as its heading. A list shows the heading, a rail shows the group below a line, and a bar leaves the group out. The group is a list of its own with the heading as its name (`::part(secondary)`, `::part(secondary-label)`, `::part(secondary-list)`).
|
|
134
|
+
- Added: in an element of the page that is in the `navigation` slot of a frame, the element takes its layout from the frame as one that is in the slot itself. In a flex column of that element it takes the height that is left: its destinations scroll, and what the page puts above and below it stays in view.
|
|
135
|
+
- Changed: the groups at the top of a rail scroll together in a new part, `groups`. `::part(list)` is the first group as before and no longer the element that scrolls. ([#199](https://github.com/webtides/element-library/issues/199))
|
|
136
|
+
|
|
137
|
+
### nav-item
|
|
138
|
+
|
|
139
|
+
- Added: `el-nav-item`, a new component: one destination of an `el-nav`. A link with an icon (slot `icon`) and a short text under it, as an entry of a list. `href`, `target` and `rel` are the ones of the link. ([#179](https://github.com/webtides/element-library/issues/179))
|
|
140
|
+
- Added: `current` marks the destination of the current view: the link gets `aria-current="page"`, the colour of the text instead of the muted one, a heavier text and a shape behind its icon. The shape has a border, so it stays where the user forces colours, and the weight marks the destination without a theme.
|
|
141
|
+
- Added: the text is one line: what does not fit is cut with an ellipsis, and the whole text stays in the page for assistive technology.
|
|
142
|
+
- Added: the `badge` slot takes a count or a dot, an `el-badge` as a rule, on the corner of the icon. It is part of the link and comes after the text, so a screen reader reads it with the name of the destination.
|
|
143
|
+
- Added: on a touch screen the link is at least `--el-touch-target` wide and high.
|
|
144
|
+
- Added: in an `el-nav` that shows icons alone (`labels="false"`) the text of the destination is off the screen and stays the name of its link. In a rail a destination is as high as it is, and in a bar a share of the width: the `el-nav` says which in CSS properties that are inherited. ([#181](https://github.com/webtides/element-library/issues/181))
|
|
145
|
+
- Added: as a row of a list (`layout="list"` of the `el-nav`, or `column="list"` in the column of a frame) the text is beside the icon, the row is as high as a control, the shape of the current destination is behind the whole row, and what is in the `badge` slot is at the end of the row. The `el-nav` says so in CSS properties that are inherited: the markup of a destination is the same. ([#199](https://github.com/webtides/element-library/issues/199))
|
|
146
|
+
|
|
147
|
+
### pagination
|
|
148
|
+
|
|
149
|
+
- Added: `href`: the address of a page, with `{page}` in the place of its number (`/notes?page={page}`). With it the pages, the page before and the page after are links, in the server-rendered markup as well: a list that is rendered a page at a time is paged without JavaScript, a page opens in a new tab, and its address can be copied. Without it the pagination is buttons, as before. ([#189](https://github.com/webtides/element-library/issues/189))
|
|
150
|
+
- Added: the current page is a link to its own address with `aria-current="page"`. On the first page the way back, and on the last one the way on, is a link without an address: no stop of the Tab key, and announced as a link that is not available (`role="link"`, `aria-disabled="true"`).
|
|
151
|
+
- Added: a link fires no `pagination-change` and does not set `page`: the address brings the next page. The parts, the sizes, the focus ring and the touch targets are the ones of the buttons.
|
|
152
|
+
|
|
153
|
+
### scroll-to-top
|
|
154
|
+
|
|
155
|
+
- Changed: it scrolls the element around it that scrolls to the top, the content of an `el-app-frame` for example, and the window where there is none. Before, it scrolled the window whatever it was in. `duration` is ignored when that element has `scroll-behavior: smooth`. ([#176](https://github.com/webtides/element-library/issues/176))
|
|
156
|
+
|
|
157
|
+
### segmented-field
|
|
158
|
+
|
|
159
|
+
- Added: `el-segmented-field`, a new component: one choice of a few options as a row of joined buttons, which behaves like a group of radios. It extends `el-radio-field`: a native `<fieldset>`/`<legend>` with an `<input type="radio">` per option, so the one tab stop, the arrow keys, the value in the form, its reset and `required` are native, and the label, the help message and the error message are the ones of every field. `input-change` reports the value. `options` as `el-radio-field` has them: plain strings, or objects with a `value`, a `label` and `disabled`. The whole field can be disabled as well. An option with `icon`, the address of an SVG symbol (`#grid`, `/icons.svg#grid`), shows that icon in the place of its label. The label is then its name for assistive technology and its tooltip. The row looks like an `el-button-group`: two neighbours share one line, only the corners at the two ends are round (at the other ends in a text that runs from right to left), and the option with the keyboard focus lies over its neighbours. The row is never wider than its place: the options share the width then, and a label breaks into lines. The chosen option has a tint of its text colour and a ring inside of its edge, as a pressed `el-button`. The ring is a border, so it stays where the user forces colours. `size` (`small`, `medium`, `large`): an option is as high as an `el-button` of that size. On a touch screen it is at least `--el-touch-target` high and wide. The look is the stylesheet reading the native radios. A server-rendered field does not change when the element takes over, and it submits its value before the script has run. ([#166](https://github.com/webtides/element-library/issues/166))
|
|
160
|
+
- Added: in a container that gives its controls a size, an `el-toolbar`, the field takes it from there, while the page has not set `size` on the field itself. ([#194](https://github.com/webtides/element-library/issues/194))
|
|
161
|
+
|
|
162
|
+
### splitter
|
|
163
|
+
|
|
164
|
+
- Added: `el-splitter`, a new component: the edge between two panes that are beside each other, which the user drags to set the width of one of them. It is the control and sizes nothing itself, as a range does: `value` is the width in pixels, between `min` and `max`, and the layout around it takes it from the events. ([#182](https://github.com/webtides/element-library/issues/182))
|
|
165
|
+
- Added: dragged with a mouse, a finger and a pen. While it is dragged no text is selected, a finger does not scroll the page, and the edge keeps following the pointer over an `iframe`: it captures the pointer and covers the viewport for that time. `:state(dragging)` matches while it is dragged.
|
|
166
|
+
- Added: a stop of the Tab key: the arrow keys move the edge by `step` pixels (`16` by default), `Home` and `End` take it to the least and to the greatest width. To assistive technology it is a separator with a value (`role="separator"`, `aria-valuenow`, `aria-valuemin`, `aria-valuemax`) and with the name of what it sizes (`label`).
|
|
167
|
+
- Added: `splitter-resize` tells of every width while the user changes it, `splitter-resize-end` of the one that stays: when the pointer lets go, and with every key. A width the page sets tells of nothing.
|
|
168
|
+
- Added: `placement` is the edge of its pane the splitter is: `end` (the default, the pane is in front of it) or `start` (the pane is after it). The direction of the drag and of the arrow keys follows it, and the reading direction.
|
|
169
|
+
- Added: the edge is thin, a line from `--el-color-border` and `--el-border-width` (`--el-splitter-line-width` sets another width), and takes the pointer in a wider area around it: `--el-space-2` wide, and at least `--el-touch-target` on a touch screen. Under the pointer, while it is dragged and with the keyboard focus the line is a mark in `--el-color-accent`, and the focus has a ring. The line is a border, which stays where the user forces colours and is there without a theme then.
|
|
170
|
+
|
|
171
|
+
### status-bar
|
|
172
|
+
|
|
173
|
+
- Added: `el-status-bar`, a new component: a narrow line of state at the lower edge of a tool for a desktop, with entries at its start and at its end (slot `end`), which follow the reading direction. An entry is what the page writes: a text, an icon with a name, an `el-button`, an `el-spinner` or an `el-progress-bar`. ([#180](https://github.com/webtides/element-library/issues/180))
|
|
174
|
+
- Added: the bar is lower than a control, seven tenths of `--el-control-height`, with the small text of the tokens (`--el-font-size-sm`), and keeps that height whatever is in it. On a touch screen it is at least `--el-touch-target` high.
|
|
175
|
+
- Added: an `el-button` in the bar is as high as the bar, plain, has its small text, and shows its focus ring inside of itself. The bar does not write to its buttons: it says all of it in CSS properties that are inherited.
|
|
176
|
+
- Added: entries that do not fit do not wrap and do not lie on each other. The entries at the start give way: their group is cut at its end, and the entries at the end stay. A button in the part that is cut shows while it has the keyboard focus.
|
|
177
|
+
- Added: the bar is no live region and has no role. The page marks an entry whose change is announced (`role="status"`).
|
|
178
|
+
- Added: in the footer of an `el-app-frame` the surface of the bar reaches as far as the surface of the region: to the lower edge of the screen and to its sides, while its entries stay clear of them. The line to the content is the one of the region there.
|
|
179
|
+
- Added: a surface from `--el-color-bg`, text in `--el-color-fg-muted`, and a line to the content from `--el-color-border` and `--el-border-width`. The line is a border, which stays where the user forces colours and is there without a theme then.
|
|
180
|
+
|
|
181
|
+
### tab-group
|
|
182
|
+
|
|
183
|
+
- Fixed: a group finds its panels and links also when `name` and `for` were set as properties. It compared the `name` and the `for` attribute with `selected`, and a framework that creates the elements in the browser sets the property where the element has one (Svelte 5, for example after a hot reload of a component): such a panel had no attribute, the group matched none, hid every panel and took `aria-selected` from every link. The group reads the property now and falls back to the attribute, on start and with every selection. `el-tab-panel` and `el-tab-link` do not reflect the two properties. ([#196](https://github.com/webtides/element-library/issues/196))
|
|
184
|
+
- Fixed: a `name` that is a number works: `selected="2"`, `for="2"` and `name="2"` belong together, also after a click on the link. element-js reads such an attribute as a number, and the group compared it with the text of the attribute; it compares texts now. ([#196](https://github.com/webtides/element-library/issues/196))
|
|
185
|
+
|
|
186
|
+
### toast
|
|
187
|
+
|
|
188
|
+
- Fixed: on a phone whose page reaches under the notch and the home indicator (`viewport-fit=cover`), a toast could lie under them. The distance of the stack from an edge (`--el-toast-inset`) is on top of the room the system takes there now, and the stack is no wider than what is between the two sides. Elsewhere nothing changes. ([#183](https://github.com/webtides/element-library/issues/183))
|
|
189
|
+
|
|
190
|
+
### toolbar
|
|
191
|
+
|
|
192
|
+
- Added: `el-toolbar`, a new component: the row of controls over a list or a view. A toolbar for assistive technology (`role="toolbar"`, named by `label`), with what the page writes into it as its controls: `el-button`, `el-button-group`, `el-segmented-field`, and `el-divider` between two groups. `size` and `appearance` are the size and the appearance of the controls that have none of their own: of every `el-button` in the toolbar, also inside of a group, and `size` of an `el-segmented-field`. A toolbar that names none has controls of the medium size and plain buttons. A control that names its own keeps it, the defaults included. The toolbar does not write to its controls: it says both in CSS properties that are inherited. The controls stand in a row with a gap of `--el-space-2`. What is slotted into `end` stands at the end; start and end follow the reading direction. A toolbar with more controls than its width takes breaks into a second line. One stop of the Tab key, as the WAI-ARIA toolbar pattern says: the arrow keys move the focus between the controls and around the ends, Home and End go to the first and the last one, and Tab leaves the toolbar and comes back to the control that had the focus last. The options of an `el-segmented-field` are controls of the toolbar: the left and right arrow keys go through them, Space and the up and down keys choose. In a control that takes text the keys belong to that control. An `el-button` with an `aria-label`, a button with an icon alone, shows that name as a tooltip, for the pointer and for the focus of the keyboard. The tooltips are `el-tooltip` elements in the shadow root of the toolbar (`::part(tooltip)`); the toolbar imports the tooltip, and with it `@floating-ui/dom`. The look is the stylesheets alone: a server-rendered toolbar does not change when the elements take over. The script adds the keyboard and the tooltips. ([#194](https://github.com/webtides/element-library/issues/194))
|
|
193
|
+
|
|
194
|
+
### tooltip
|
|
195
|
+
|
|
196
|
+
- Added: `anchor`: the anchor as an element, for one that an id cannot name: an element in another tree than the tooltip, the light DOM of a component whose shadow root the tooltip is in. A property only, and it comes before `for`. ([#194](https://github.com/webtides/element-library/issues/194))
|
|
197
|
+
- Added: `type` (`'description'` by default, or `'label'`): a tooltip of the type `label` shows the name its anchor already has, of a button with an icon alone for example. It does not describe the anchor (`aria-describedby` is not written) and is hidden from assistive technology, which would read the name twice. ([#194](https://github.com/webtides/element-library/issues/194))
|
|
198
|
+
- Fixed: in Safari a tooltip could stay shown after its anchor had lost the pointer or the focus: `open` was `false`, and the tooltip was still there. The tooltip read its own state back (`states.has('open')`) to know whether there was something to close, and WebKit forgets what was added to the states of an element a moment later, while `:state(open)` still matches. The tooltip keeps a field of its own now.
|
|
199
|
+
|
|
200
|
+
### tree
|
|
201
|
+
|
|
202
|
+
- Added: `el-tree`, a new component: entries that open and close, for folders, categories and a library beside the content. The tree is a list (`role="list"`, named by `label`), every `el-tree-item` in it is an entry, and an entry holds the entries below it, to any depth. To assistive technology it is nested lists of links with a button per branch, not a `role="tree"`: the entries stay links, and they work before the script has run. The readme says why. The keys of the WAI-ARIA tree view pattern, on top of the Tab key: up and down between the entries that are shown, right opens a branch or goes into it, left closes it or goes to the entry above, Home and End. The other way round for left and right in a text that runs from right to left. `--el-tree-indent` is how far the entries of a level stand in from the ones above, `--el-space-4` unset. The tree keeps no state: which branches are open is the `open` attribute of the entries. `tree-item-toggle` of an entry bubbles through the tree. ([#193](https://github.com/webtides/element-library/issues/193))
|
|
203
|
+
|
|
204
|
+
### tree-item
|
|
205
|
+
|
|
206
|
+
- Added: `el-tree-item`, a new component: one entry of an `el-tree`, an item of its list (`role="listitem"`), with the entries below it in a list of their own. It has an icon at the start (`start` slot), its name (`label`, or the `label` slot) and a count at the end (`end`). With `href` the name is a native link whose target is the whole row. An entry that also has entries below it gets a button that opens and closes them, named by the name of the entry, with `aria-expanded`. Without `href`, an entry with entries below it is that button as a whole. `open` is the state of a branch, reflected to the attribute. The stylesheet reads the attribute: a server-rendered entry shows its entries, or hides them, from the first paint. The button, the arrow keys and `toggle()` change it and fire `tree-item-toggle`; setting `open` from a script fires nothing. `current` marks the entry of the page the user is on: `aria-current="page"`, a tint, a bar at the start in the accent colour and a heavier name. The bar is a border, so it stays where the user forces colours. A row is as wide as the tree on every level, and what stands in it is moved in by `--el-tree-indent` per level. A long name breaks, inside of a word where it has to. On a touch screen a row is at least `--el-touch-target` high, and the button of a branch that wide and high. ([#193](https://github.com/webtides/element-library/issues/193))
|
|
207
|
+
|
|
208
|
+
## [0.3.1] - 2026-11-17
|
|
209
|
+
|
|
210
|
+
### button
|
|
211
|
+
|
|
212
|
+
- Changed: an `el-button` of the type `submit` makes its hidden native `<button type="submit">` when the form is first submitted with it: with a click, or with Enter in an `<input>` or a `<select>` of the form. Before, it appended that button as soon as it started. Until the first submit the children of the `el-button` are what the page wrote, and `form.querySelector('[type="submit"]')` does not find a native button in it. When the page replaces the content of the button, the native button is made again with the next submit, and no longer with the next render. A native submit button that the page writes is taken as before. ([#184](https://github.com/webtides/element-library/issues/184))
|
|
213
|
+
- Fixed: a server-rendered `el-button` of the type `submit` no longer breaks the hydration of its page. The element appended its native submit button as soon as it started, and a framework that hydrated after that found a child it had not rendered (Svelte 5: `hydration_mismatch`, the page was built again, and what the user had typed into the form by then was gone). See "On a page that a framework hydrates" in the readme of the button. ([#184](https://github.com/webtides/element-library/issues/184))
|
|
214
|
+
|
|
215
|
+
### checkbox-field
|
|
216
|
+
|
|
217
|
+
- Fixed: `checked` set from outside moves the checkbox, also after the user has pressed it. The field wrote the `checked` attribute of its native input alone, which is the default of the control: after a press the control no longer follows it. `field.checked = false`, or the `checked` attribute, took the check mark away, while the native checkbox stayed checked and the form went on submitting the value. The field now writes the property of the input as well, before it dispatches `input-change`. ([#185](https://github.com/webtides/element-library/issues/185))
|
|
218
|
+
|
|
219
|
+
### switch-field
|
|
220
|
+
|
|
221
|
+
- Fixed: `checked` set from outside moves the switch, also after the user has pressed it. The field wrote the `checked` attribute of its native input alone, which is the default of the control: after a press the control no longer follows it. `field.checked = false`, or the `checked` attribute, turned the host and its `:state(checked)` off, while the track stayed on and the form went on submitting the value. The field now writes the property of the input as well, before it dispatches `input-change`. ([#185](https://github.com/webtides/element-library/issues/185))
|
|
222
|
+
|
|
15
223
|
## [0.3.0] - 2026-11-17
|
|
16
224
|
|
|
17
225
|
### Packaging
|
package/README.md
CHANGED
|
@@ -55,62 +55,78 @@ Each theme defines the library's `--el-*` design-token contract at `:root` and u
|
|
|
55
55
|
|
|
56
56
|
## Components
|
|
57
57
|
|
|
58
|
-
| Package | Description
|
|
59
|
-
| -------------------- |
|
|
60
|
-
| accordion | Single Accordion element
|
|
61
|
-
| accordion-group | Accordion group to hold multiple elements
|
|
62
|
-
| amount-field | A simple element to create amount stepping input fields
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
72
|
-
|
|
|
73
|
-
|
|
|
74
|
-
|
|
|
75
|
-
|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
|
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
95
|
-
|
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
|
|
|
113
|
-
|
|
|
58
|
+
| Package | Description | Version |
|
|
59
|
+
| -------------------- | ------------------------------------------------------------------------------- | ------- |
|
|
60
|
+
| accordion | Single Accordion element | `0.1.0` |
|
|
61
|
+
| accordion-group | Accordion group to hold multiple elements | `0.1.0` |
|
|
62
|
+
| amount-field | A simple element to create amount stepping input fields | `0.1.1` |
|
|
63
|
+
| app-bar | The bar at the top of a view: a title, a way back and a few actions | `0.1.0` |
|
|
64
|
+
| app-frame | The frame of an application: five regions around its content, on any screen | `0.1.0` |
|
|
65
|
+
| avatar | The picture of a person or a thing: an image, initials or an icon | `0.1.0` |
|
|
66
|
+
| badge | A short label for a status or a count, with variants and appearances | `0.1.0` |
|
|
67
|
+
| breadcrumb | The trail from the start page to the current page: a landmark with a list | `0.1.0` |
|
|
68
|
+
| breadcrumb-item | One entry of a breadcrumb: a link with href, text without, with a separator | `0.1.0` |
|
|
69
|
+
| button | A themeable button with variants, sizes, icon slots, caret and loading | `0.1.0` |
|
|
70
|
+
| button-group | A row of buttons that reads as one control, a group with a name | `0.1.0` |
|
|
71
|
+
| card | A surface that groups content, with media, header, body and footer regions | `0.1.0` |
|
|
72
|
+
| carousel | A carousel element that wraps the glide.js library for sliding elements | `0.1.1` |
|
|
73
|
+
| checkbox-field | | `0.1.1` |
|
|
74
|
+
| checkbox-group-field | A choice of any number of options: checkboxes in a native fieldset | `0.1.0` |
|
|
75
|
+
| color-field | A colour for a form, picked in the picker of a native colour input | `0.1.0` |
|
|
76
|
+
| combobox-field | A text input with suggestions the browser offers, in a native datalist | `0.1.0` |
|
|
77
|
+
| copy-button | A button that copies a text to the clipboard and shows the outcome | `0.1.0` |
|
|
78
|
+
| date-field | A date, a time or both in the control of the browser, with min, max and step | `0.1.0` |
|
|
79
|
+
| description-list | Rows of a name and its value on a native dl, stacked or side by side | `0.1.0` |
|
|
80
|
+
| dialog | A modal dialog built on the native `<dialog>` element | `0.1.0` |
|
|
81
|
+
| divider | A line between two groups of content, horizontal or vertical | `0.1.0` |
|
|
82
|
+
| drawer | A panel that slides in from an edge of the viewport, built on the dialog | `0.1.0` |
|
|
83
|
+
| dropdown | A dropdown element | `0.1.0` |
|
|
84
|
+
| empty-state | A message in the place of a list that is empty, with an optional action | `0.1.0` |
|
|
85
|
+
| file-field | One or several files for a form, built on a native file input | `0.1.0` |
|
|
86
|
+
| form-field | | `0.1.0` |
|
|
87
|
+
| input-field | | `0.1.0` |
|
|
88
|
+
| lazy-src | | `0.2.0` |
|
|
89
|
+
| list | A list of rows with one density, one line between them and one text line | `0.1.0` |
|
|
90
|
+
| list-item | One row of a list: a start, a title, a line under it, an end, a link as a whole | `0.1.0` |
|
|
91
|
+
| menu | A button that opens a list of actions: a menu the keyboard moves through | `0.1.0` |
|
|
92
|
+
| menu-group | A group of entries in a menu, with a heading | `0.1.0` |
|
|
93
|
+
| menu-item | One entry of a menu: an action, or a link | `0.1.0` |
|
|
94
|
+
| nav | The destinations of an application: a bar on a phone, a rail or a list beside | `0.1.0` |
|
|
95
|
+
| nav-item | One destination of a nav: a link with an icon, a short text and a count | `0.1.0` |
|
|
96
|
+
| notification | An alert with variants, auto-dismiss and a live region, inline or as a toast | `0.1.0` |
|
|
97
|
+
| otp-field | A one-time code in one native input, cleaned as it is entered | `0.1.0` |
|
|
98
|
+
| pagination | The way through a list that is split into pages, with a button per page | `0.1.0` |
|
|
99
|
+
| password-field | A masked password input with an optional show/hide reveal toggle | `0.1.0` |
|
|
100
|
+
| popover | A panel that floats next to an anchor, built on the native popover | `0.1.0` |
|
|
101
|
+
| progress-bar | A track that fills with the progress of a task, with or without a value | `0.1.0` |
|
|
102
|
+
| progress-ring | A ring that closes with the progress of a task, with room for a short text | `0.1.0` |
|
|
103
|
+
| radio-field | A single-choice radio group built on a native fieldset | `0.1.0` |
|
|
104
|
+
| range-field | A number from a span, picked with the thumb of a native range | `0.1.0` |
|
|
105
|
+
| rating-field | A rating from 1 to max as a row of stars, built on a native radio group | `0.1.0` |
|
|
106
|
+
| scroll-to | | `0.1.0` |
|
|
107
|
+
| scroll-to-top | | `0.1.0` |
|
|
108
|
+
| segmented-field | One choice of a few options as a row of joined buttons, on native radios | `0.1.0` |
|
|
109
|
+
| select-field | | `0.1.0` |
|
|
110
|
+
| skeleton | A shape in the place of content that is still loading, with sheen and pulse | `0.1.0` |
|
|
111
|
+
| slider | CSS only slider element to slide child elements | `0.4.3` |
|
|
112
|
+
| spinner | A spinner for a wait of unknown length, sized by the font size | `0.1.0` |
|
|
113
|
+
| splitter | The edge between two panes, which the user drags to set the width of one | `0.1.0` |
|
|
114
|
+
| status-bar | A narrow line of state at the lower edge of a tool for a desktop | `0.1.0` |
|
|
115
|
+
| sticky | | `0.2.0` |
|
|
116
|
+
| svg-use | | `0.1.0` |
|
|
117
|
+
| switch-field | An on/off toggle backed by a native checkbox with role="switch" | `0.1.0` |
|
|
118
|
+
| tab-group | A tab group wraps a list of tab-links and tab-panels and shows one at a time | `0.1.0` |
|
|
119
|
+
| tab-link | A link that serves as a label for one of the tab panels to display that panel | `0.1.0` |
|
|
120
|
+
| tab-panel | The element that contains the content associated with a tab | `0.1.0` |
|
|
121
|
+
| tag | A label for a keyword or a filter, with variants, sizes and a remove button | `0.1.0` |
|
|
122
|
+
| tag-field | A list of entries the user writes, as tags under one name | `0.1.0` |
|
|
123
|
+
| textarea-field | | `0.1.0` |
|
|
124
|
+
| toast | The region where toasts appear: a stack of notifications at an edge | `0.1.0` |
|
|
125
|
+
| toolbar | The controls over a list or a view, with one size, one look and the arrow keys | `0.1.0` |
|
|
126
|
+
| tooltip | A short text that explains its anchor, for the pointer and the keyboard | `0.1.0` |
|
|
127
|
+
| transition-classes | An element that applies classes for various stages of a transition | `0.1.0` |
|
|
128
|
+
| tree | Entries that open and close: nested lists of links with the keys of a tree | `0.1.0` |
|
|
129
|
+
| tree-item | One entry of a tree: an icon, its name, a count, a link, and the entries below | `0.1.0` |
|
|
114
130
|
|
|
115
131
|
<!-- Please move these up once they are implemented
|
|
116
132
|
| modal-element | | TBD |
|
package/all.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import './src/components/accordion/accordion.define.js';
|
|
2
2
|
import './src/components/accordion-group/accordion-group.define.js';
|
|
3
3
|
import './src/components/amount-field/amount-field.define.js';
|
|
4
|
+
import './src/components/app-bar/app-bar.define.js';
|
|
5
|
+
import './src/components/app-frame/app-frame.define.js';
|
|
4
6
|
import './src/components/avatar/avatar.define.js';
|
|
5
7
|
import './src/components/badge/badge.define.js';
|
|
6
8
|
import './src/components/breadcrumb/breadcrumb.define.js';
|
|
@@ -15,6 +17,7 @@ import './src/components/color-field/color-field.define.js';
|
|
|
15
17
|
import './src/components/combobox-field/combobox-field.define.js';
|
|
16
18
|
import './src/components/copy-button/copy-button.define.js';
|
|
17
19
|
import './src/components/date-field/date-field.define.js';
|
|
20
|
+
import './src/components/description-list/description-list.define.js';
|
|
18
21
|
import './src/components/dialog/dialog.define.js';
|
|
19
22
|
import './src/components/divider/divider.define.js';
|
|
20
23
|
import './src/components/drawer/drawer.define.js';
|
|
@@ -24,6 +27,13 @@ import './src/components/file-field/file-field.define.js';
|
|
|
24
27
|
import './src/components/form-field/form-field.define.js';
|
|
25
28
|
import './src/components/input-field/input-field.define.js';
|
|
26
29
|
import './src/components/lazy-src/lazy-src.define.js';
|
|
30
|
+
import './src/components/list/list.define.js';
|
|
31
|
+
import './src/components/list-item/list-item.define.js';
|
|
32
|
+
import './src/components/menu/menu.define.js';
|
|
33
|
+
import './src/components/menu-group/menu-group.define.js';
|
|
34
|
+
import './src/components/menu-item/menu-item.define.js';
|
|
35
|
+
import './src/components/nav/nav.define.js';
|
|
36
|
+
import './src/components/nav-item/nav-item.define.js';
|
|
27
37
|
import './src/components/notification/notification.define.js';
|
|
28
38
|
import './src/components/otp-field/otp-field.define.js';
|
|
29
39
|
import './src/components/pagination/pagination.define.js';
|
|
@@ -36,10 +46,13 @@ import './src/components/range-field/range-field.define.js';
|
|
|
36
46
|
import './src/components/rating-field/rating-field.define.js';
|
|
37
47
|
import './src/components/scroll-to/scroll-to.define.js';
|
|
38
48
|
import './src/components/scroll-to-top/scroll-to-top.define.js';
|
|
49
|
+
import './src/components/segmented-field/segmented-field.define.js';
|
|
39
50
|
import './src/components/select-field/select-field.define.js';
|
|
40
51
|
import './src/components/skeleton/skeleton.define.js';
|
|
41
52
|
import './src/components/slider/slider.define.js';
|
|
42
53
|
import './src/components/spinner/spinner.define.js';
|
|
54
|
+
import './src/components/splitter/splitter.define.js';
|
|
55
|
+
import './src/components/status-bar/status-bar.define.js';
|
|
43
56
|
import './src/components/sticky/sticky.define.js';
|
|
44
57
|
import './src/components/svg-use/svg-use.define.js';
|
|
45
58
|
import './src/components/switch-field/switch-field.define.js';
|
|
@@ -50,5 +63,8 @@ import './src/components/tag/tag.define.js';
|
|
|
50
63
|
import './src/components/tag-field/tag-field.define.js';
|
|
51
64
|
import './src/components/textarea-field/textarea-field.define.js';
|
|
52
65
|
import './src/components/toast/toast.define.js';
|
|
66
|
+
import './src/components/toolbar/toolbar.define.js';
|
|
53
67
|
import './src/components/tooltip/tooltip.define.js';
|
|
54
68
|
import './src/components/transition-classes/transition-classes.define.js';
|
|
69
|
+
import './src/components/tree/tree.define.js';
|
|
70
|
+
import './src/components/tree-item/tree-item.define.js';
|
package/catalog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by @webtides/element-js-ssr-renderer — do not edit by hand.
|
|
2
|
-
// Source: manifest custom-elements.json (
|
|
2
|
+
// Source: manifest custom-elements.json (70 components)
|
|
3
3
|
// A static, bundler-traceable Catalog. Pass it straight to `resolve` — no wrapper:
|
|
4
4
|
// import catalog from "./catalog.js";
|
|
5
5
|
// elementSSR({ resolve: catalog });
|
|
@@ -9,6 +9,8 @@ export default {
|
|
|
9
9
|
'el-accordion': () => import('./src/components/accordion/accordion.js'),
|
|
10
10
|
'el-accordion-group': () => import('./src/components/accordion-group/accordion-group.js'),
|
|
11
11
|
'el-amount-field': () => import('./src/components/amount-field/amount-field.js'),
|
|
12
|
+
'el-app-bar': () => import('./src/components/app-bar/app-bar.js'),
|
|
13
|
+
'el-app-frame': () => import('./src/components/app-frame/app-frame.js'),
|
|
12
14
|
'el-avatar': () => import('./src/components/avatar/avatar.js'),
|
|
13
15
|
'el-badge': () => import('./src/components/badge/badge.js'),
|
|
14
16
|
'el-breadcrumb': () => import('./src/components/breadcrumb/breadcrumb.js'),
|
|
@@ -23,6 +25,7 @@ export default {
|
|
|
23
25
|
'el-combobox-field': () => import('./src/components/combobox-field/combobox-field.js'),
|
|
24
26
|
'el-copy-button': () => import('./src/components/copy-button/copy-button.js'),
|
|
25
27
|
'el-date-field': () => import('./src/components/date-field/date-field.js'),
|
|
28
|
+
'el-description-list': () => import('./src/components/description-list/description-list.js'),
|
|
26
29
|
'el-dialog': () => import('./src/components/dialog/dialog.js'),
|
|
27
30
|
'el-divider': () => import('./src/components/divider/divider.js'),
|
|
28
31
|
'el-drawer': () => import('./src/components/drawer/drawer.js'),
|
|
@@ -32,6 +35,13 @@ export default {
|
|
|
32
35
|
'el-form-field': () => import('./src/components/form-field/form-field.js'),
|
|
33
36
|
'el-input-field': () => import('./src/components/input-field/input-field.js'),
|
|
34
37
|
'el-lazy-src': () => import('./src/components/lazy-src/lazy-src.js'),
|
|
38
|
+
'el-list': () => import('./src/components/list/list.js'),
|
|
39
|
+
'el-list-item': () => import('./src/components/list-item/list-item.js'),
|
|
40
|
+
'el-menu': () => import('./src/components/menu/menu.js'),
|
|
41
|
+
'el-menu-group': () => import('./src/components/menu-group/menu-group.js'),
|
|
42
|
+
'el-menu-item': () => import('./src/components/menu-item/menu-item.js'),
|
|
43
|
+
'el-nav': () => import('./src/components/nav/nav.js'),
|
|
44
|
+
'el-nav-item': () => import('./src/components/nav-item/nav-item.js'),
|
|
35
45
|
'el-notification': () => import('./src/components/notification/notification.js'),
|
|
36
46
|
'el-otp-field': () => import('./src/components/otp-field/otp-field.js'),
|
|
37
47
|
'el-pagination': () => import('./src/components/pagination/pagination.js'),
|
|
@@ -44,10 +54,13 @@ export default {
|
|
|
44
54
|
'el-rating-field': () => import('./src/components/rating-field/rating-field.js'),
|
|
45
55
|
'el-scroll-to': () => import('./src/components/scroll-to/scroll-to.js'),
|
|
46
56
|
'el-scroll-to-top': () => import('./src/components/scroll-to-top/scroll-to-top.js'),
|
|
57
|
+
'el-segmented-field': () => import('./src/components/segmented-field/segmented-field.js'),
|
|
47
58
|
'el-select-field': () => import('./src/components/select-field/select-field.js'),
|
|
48
59
|
'el-skeleton': () => import('./src/components/skeleton/skeleton.js'),
|
|
49
60
|
'el-slider': () => import('./src/components/slider/slider.js'),
|
|
50
61
|
'el-spinner': () => import('./src/components/spinner/spinner.js'),
|
|
62
|
+
'el-splitter': () => import('./src/components/splitter/splitter.js'),
|
|
63
|
+
'el-status-bar': () => import('./src/components/status-bar/status-bar.js'),
|
|
51
64
|
'el-sticky': () => import('./src/components/sticky/sticky.js'),
|
|
52
65
|
'el-svg-use': () => import('./src/components/svg-use/svg-use.js'),
|
|
53
66
|
'el-switch-field': () => import('./src/components/switch-field/switch-field.js'),
|
|
@@ -58,6 +71,9 @@ export default {
|
|
|
58
71
|
'el-tag-field': () => import('./src/components/tag-field/tag-field.js'),
|
|
59
72
|
'el-textarea-field': () => import('./src/components/textarea-field/textarea-field.js'),
|
|
60
73
|
'el-toast': () => import('./src/components/toast/toast.js'),
|
|
74
|
+
'el-toolbar': () => import('./src/components/toolbar/toolbar.js'),
|
|
61
75
|
'el-tooltip': () => import('./src/components/tooltip/tooltip.js'),
|
|
62
76
|
'el-transition-classes': () => import('./src/components/transition-classes/transition-classes.js'),
|
|
77
|
+
'el-tree': () => import('./src/components/tree/tree.js'),
|
|
78
|
+
'el-tree-item': () => import('./src/components/tree-item/tree-item.js'),
|
|
63
79
|
};
|