@lilydesignsystem/alpine-headless 0.0.0-stage → 0.1.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/LICENSE.md +64 -0
- package/README.md +52 -2
- package/components/accordion-checkbox.html +37 -0
- package/components/accordion-link.html +18 -0
- package/components/accordion-list-item.html +19 -0
- package/components/accordion-list.html +17 -0
- package/components/accordion-nav.html +47 -0
- package/components/action-bar-button.html +18 -0
- package/components/action-bar.html +28 -0
- package/components/action-group.html +55 -0
- package/components/action-link.html +18 -0
- package/components/address-input.html +18 -0
- package/components/addressograph-box.html +18 -0
- package/components/affix.html +18 -0
- package/components/age-view.html +16 -0
- package/components/ai-label.html +18 -0
- package/components/alba-community-health-index-input.html +18 -0
- package/components/alba-community-health-index-view.html +14 -0
- package/components/alert-dialog.html +33 -0
- package/components/alert.html +21 -0
- package/components/allergy-record-list-item.html +38 -0
- package/components/allergy-record-list.html +38 -0
- package/components/angle-slider-range-input.html +19 -0
- package/components/announcement-banner.html +18 -0
- package/components/answer.html +18 -0
- package/components/aotearoa-national-health-index-input.html +18 -0
- package/components/aotearoa-national-health-index-view.html +14 -0
- package/components/area-chart.html +47 -0
- package/components/argentina-codigo-unico-de-identificacion-laboral-input.html +18 -0
- package/components/argentina-codigo-unico-de-identificacion-laboral-view.html +14 -0
- package/components/article-layout.html +17 -0
- package/components/as-saudiyah-raqm-al-huwiyah-al-wataniyah-input.html +18 -0
- package/components/as-saudiyah-raqm-al-huwiyah-al-wataniyah-view.html +14 -0
- package/components/aspect-ratio-container.html +14 -0
- package/components/australia-individual-healthcare-identifier-input.html +18 -0
- package/components/australia-individual-healthcare-identifier-view.html +14 -0
- package/components/australia-tax-file-number-input.html +18 -0
- package/components/australia-tax-file-number-view.html +14 -0
- package/components/autosuggest.html +32 -0
- package/components/avatar-group.html +18 -0
- package/components/avatar-image.html +17 -0
- package/components/avatar-text.html +17 -0
- package/components/avatar.html +18 -0
- package/components/back-link.html +18 -0
- package/components/badge.html +19 -0
- package/components/banner-box.html +18 -0
- package/components/banner.html +19 -0
- package/components/bar-chart.html +47 -0
- package/components/barcode-image.html +16 -0
- package/components/beach-ball.html +21 -0
- package/components/belgique-numero-de-registre-national-input.html +18 -0
- package/components/belgique-numero-de-registre-national-view.html +14 -0
- package/components/bharat-aadhaar-input.html +18 -0
- package/components/bharat-aadhaar-view.html +12 -0
- package/components/blockquote.html +21 -0
- package/components/body-map.html +60 -0
- package/components/body-text.html +14 -0
- package/components/brasil-cartao-nacional-de-saude-input.html +18 -0
- package/components/brasil-cartao-nacional-de-saude-view.html +14 -0
- package/components/breadcrumb-link.html +18 -0
- package/components/breadcrumb-list-item.html +19 -0
- package/components/breadcrumb-list.html +17 -0
- package/components/breadcrumb-nav.html +17 -0
- package/components/bulgaria-edinen-grazhdanski-nomer-input.html +18 -0
- package/components/bulgaria-edinen-grazhdanski-nomer-view.html +14 -0
- package/components/button-group.html +18 -0
- package/components/button-input.html +16 -0
- package/components/button.html +17 -0
- package/components/byline.html +19 -0
- package/components/calendar-day-table.html +30 -0
- package/components/calendar-month-table.html +30 -0
- package/components/calendar-range-picker.html +18 -0
- package/components/calendar-table-body.html +19 -0
- package/components/calendar-table-foot.html +19 -0
- package/components/calendar-table-head.html +19 -0
- package/components/calendar-table-row.html +19 -0
- package/components/calendar-table-td.html +22 -0
- package/components/calendar-table-th.html +23 -0
- package/components/calendar-table.html +19 -0
- package/components/calendar-week-table.html +30 -0
- package/components/calendar-year-table.html +30 -0
- package/components/call-to-action.html +17 -0
- package/components/canada-social-insurance-number-input.html +18 -0
- package/components/canada-social-insurance-number-view.html +14 -0
- package/components/candlestick-chart.html +47 -0
- package/components/caption.html +16 -0
- package/components/card.html +18 -0
- package/components/care-card.html +19 -0
- package/components/carousel.html +54 -0
- package/components/cascader.html +89 -0
- package/components/cesko-cestovni-pas-input.html +18 -0
- package/components/cesko-cestovni-pas-view.html +12 -0
- package/components/cesko-rodne-cislo-input.html +18 -0
- package/components/cesko-rodne-cislo-view.html +14 -0
- package/components/character-counter.html +30 -0
- package/components/character.html +18 -0
- package/components/chat-composer.html +44 -0
- package/components/chat-list-item.html +17 -0
- package/components/chat-list.html +17 -0
- package/components/chat-message.html +17 -0
- package/components/chat-nav.html +17 -0
- package/components/check-list-item.html +19 -0
- package/components/check-list.html +18 -0
- package/components/checkbox-group.html +18 -0
- package/components/checkbox-input.html +16 -0
- package/components/chile-rol-unico-nacional-input.html +18 -0
- package/components/chile-rol-unico-nacional-view.html +14 -0
- package/components/choropleth-chart.html +47 -0
- package/components/citation.html +14 -0
- package/components/clamp-text.html +20 -0
- package/components/clipboard-copy-button.html +19 -0
- package/components/coachmark.html +40 -0
- package/components/code-block.html +18 -0
- package/components/code.html +14 -0
- package/components/collapsible.html +19 -0
- package/components/collection-list-item.html +31 -0
- package/components/collection-list.html +17 -0
- package/components/colombia-cedula-de-ciudadania-input.html +18 -0
- package/components/colombia-cedula-de-ciudadania-view.html +14 -0
- package/components/color-input.html +16 -0
- package/components/color-picker-button.html +19 -0
- package/components/color-picker.html +19 -0
- package/components/column-chart.html +47 -0
- package/components/combobox.html +49 -0
- package/components/command.html +51 -0
- package/components/comment.html +18 -0
- package/components/composed-chart.html +47 -0
- package/components/container-with-fixed-width.html +18 -0
- package/components/container-with-fluid-width.html +18 -0
- package/components/container.html +14 -0
- package/components/content-block.html +17 -0
- package/components/contents-link.html +29 -0
- package/components/contents-list-item.html +19 -0
- package/components/contents-list.html +17 -0
- package/components/contents-nav.html +17 -0
- package/components/context-menu-item.html +19 -0
- package/components/context-menu.html +41 -0
- package/components/contextual-help.html +43 -0
- package/components/convert-div.html +18 -0
- package/components/convert-from-div.html +14 -0
- package/components/convert-from-unit-div.html +14 -0
- package/components/convert-from-value-div.html +14 -0
- package/components/convert-into-div.html +14 -0
- package/components/convert-into-unit-div.html +14 -0
- package/components/convert-into-value-div.html +14 -0
- package/components/currency-input.html +18 -0
- package/components/cymru-rhif-y-gwasanaeth-iechyd-gwladol-input.html +18 -0
- package/components/cymru-rhif-y-gwasanaeth-iechyd-gwladol-view.html +14 -0
- package/components/danmark-personnummer-input.html +18 -0
- package/components/danmark-personnummer-view.html +14 -0
- package/components/data-filter-form.html +26 -0
- package/components/data-table-body.html +19 -0
- package/components/data-table-foot.html +19 -0
- package/components/data-table-head.html +19 -0
- package/components/data-table-row.html +19 -0
- package/components/data-table-td.html +22 -0
- package/components/data-table-th.html +23 -0
- package/components/data-table.html +19 -0
- package/components/date-field.html +38 -0
- package/components/date-input.html +16 -0
- package/components/date-range.html +26 -0
- package/components/date-time-local-input.html +16 -0
- package/components/date-time-now-input.html +37 -0
- package/components/date-time-view.html +18 -0
- package/components/decision-support-card.html +52 -0
- package/components/description-list-item.html +14 -0
- package/components/description-list.html +17 -0
- package/components/details.html +15 -0
- package/components/deutschland-krankenversichertennummer-input.html +18 -0
- package/components/deutschland-krankenversichertennummer-view.html +14 -0
- package/components/device-record-list-item.html +29 -0
- package/components/device-record-list.html +29 -0
- package/components/dial-group.html +18 -0
- package/components/dial.html +19 -0
- package/components/dialog.html +32 -0
- package/components/diff.html +18 -0
- package/components/digital-object-identifier-link.html +18 -0
- package/components/do-list-item.html +20 -0
- package/components/do-list.html +18 -0
- package/components/document-list-item.html +14 -0
- package/components/document-list.html +17 -0
- package/components/dont-list-item.html +20 -0
- package/components/dont-list.html +18 -0
- package/components/download-button.html +21 -0
- package/components/draft.html +19 -0
- package/components/drawer.html +36 -0
- package/components/dropdown-menu.html +56 -0
- package/components/early-warning-score-view.html +19 -0
- package/components/ecuador-cedula-de-identidad-input.html +18 -0
- package/components/ecuador-cedula-de-identidad-view.html +14 -0
- package/components/editable-form.html +31 -0
- package/components/editable.html +25 -0
- package/components/eesti-isikukood-input.html +18 -0
- package/components/eesti-isikukood-view.html +14 -0
- package/components/eire-individual-health-identifier-input.html +20 -0
- package/components/eire-individual-health-identifier-view.html +14 -0
- package/components/ellada-dematerialised-securities-system-input.html +18 -0
- package/components/ellada-dematerialised-securities-system-view.html +14 -0
- package/components/email-input.html +16 -0
- package/components/email-link.html +18 -0
- package/components/emoji-character-picker.html +18 -0
- package/components/emoji.html +18 -0
- package/components/empty-state.html +20 -0
- package/components/end-notes.html +17 -0
- package/components/england-national-health-service-number-input.html +18 -0
- package/components/england-national-health-service-number-view.html +14 -0
- package/components/error-message.html +18 -0
- package/components/error-summary.html +20 -0
- package/components/espana-codigo-de-identificacion-fiscal-input.html +18 -0
- package/components/espana-codigo-de-identificacion-fiscal-view.html +14 -0
- package/components/espana-tarjeta-sanitaria-individual-input.html +18 -0
- package/components/espana-tarjeta-sanitaria-individual-view.html +14 -0
- package/components/event.html +17 -0
- package/components/expander.html +33 -0
- package/components/feature-card.html +31 -0
- package/components/feature-photo.html +25 -0
- package/components/field.html +17 -0
- package/components/fieldset.html +18 -0
- package/components/figure.html +18 -0
- package/components/file-dialog.html +32 -0
- package/components/file-input.html +16 -0
- package/components/file-manager.html +18 -0
- package/components/file-tree.html +93 -0
- package/components/file-upload.html +35 -0
- package/components/five-face-rating-picker-button.html +20 -0
- package/components/five-face-rating-picker.html +69 -0
- package/components/five-face-rating-view.html +19 -0
- package/components/five-star-rating-picker-button.html +20 -0
- package/components/five-star-rating-picker.html +69 -0
- package/components/five-star-rating-view.html +19 -0
- package/components/flair.html +18 -0
- package/components/flex-stack.html +18 -0
- package/components/float-button.html +20 -0
- package/components/floating-panel.html +19 -0
- package/components/footer.html +17 -0
- package/components/footnote.html +18 -0
- package/components/form.html +17 -0
- package/components/framer.html +18 -0
- package/components/france-numero-d-identification-au-repertoire-input.html +20 -0
- package/components/france-numero-d-identification-au-repertoire-view.html +14 -0
- package/components/funnel-chart.html +47 -0
- package/components/gantt-table-tbody.html +19 -0
- package/components/gantt-table-td.html +22 -0
- package/components/gantt-table-tfoot.html +19 -0
- package/components/gantt-table-th.html +23 -0
- package/components/gantt-table-thead.html +19 -0
- package/components/gantt-table-tr.html +19 -0
- package/components/gantt-table.html +19 -0
- package/components/gauge-chart.html +50 -0
- package/components/go-to-next-section.html +16 -0
- package/components/go-to-previous-section.html +16 -0
- package/components/go-to-top.html +18 -0
- package/components/government-banner.html +35 -0
- package/components/government-identifier.html +33 -0
- package/components/grail-layout-bottom-footer.html +17 -0
- package/components/grail-layout-center-main.html +17 -0
- package/components/grail-layout-left-aside.html +17 -0
- package/components/grail-layout-right-aside.html +17 -0
- package/components/grail-layout-top-header.html +17 -0
- package/components/grail-layout.html +14 -0
- package/components/graphic-block.html +23 -0
- package/components/grid.html +22 -0
- package/components/hamburger-menu.html +33 -0
- package/components/hanguk-jumin-deungnok-beonho-input.html +18 -0
- package/components/hanguk-jumin-deungnok-beonho-view.html +14 -0
- package/components/header.html +17 -0
- package/components/headline.html +22 -0
- package/components/heatmap-chart-with-year-of-days.html +55 -0
- package/components/heatmap-chart.html +50 -0
- package/components/hero-headline.html +23 -0
- package/components/hero.html +17 -0
- package/components/hidden-input.html +17 -0
- package/components/hint.html +14 -0
- package/components/hong-kong-identity-card-input.html +18 -0
- package/components/hong-kong-identity-card-view.html +14 -0
- package/components/horizontal-scroller.html +19 -0
- package/components/hover-card.html +30 -0
- package/components/hrvatska-osobni-identifikacijski-broj-input.html +18 -0
- package/components/hrvatska-osobni-identifikacijski-broj-view.html +14 -0
- package/components/iban-input.html +17 -0
- package/components/iban-view.html +12 -0
- package/components/icon-button.html +18 -0
- package/components/icon-list-item.html +22 -0
- package/components/icon-list.html +17 -0
- package/components/icon.html +18 -0
- package/components/image-cropper.html +20 -0
- package/components/image-file-input.html +16 -0
- package/components/image-input.html +16 -0
- package/components/image.html +16 -0
- package/components/immunization-record-list-item.html +31 -0
- package/components/immunization-record-list.html +31 -0
- package/components/indonesia-nomor-induk-kependudukan-input.html +18 -0
- package/components/indonesia-nomor-induk-kependudukan-view.html +14 -0
- package/components/info-state.html +37 -0
- package/components/information-callout.html +18 -0
- package/components/input-group.html +28 -0
- package/components/input-with-mask.html +28 -0
- package/components/input.html +16 -0
- package/components/inset-text.html +18 -0
- package/components/iran-kod-e-melli-input.html +18 -0
- package/components/iran-kod-e-melli-view.html +14 -0
- package/components/island-kennitala-input.html +18 -0
- package/components/island-kennitala-view.html +14 -0
- package/components/italia-codice-fiscale-input.html +18 -0
- package/components/italia-codice-fiscale-view.html +14 -0
- package/components/kanban-table-body.html +19 -0
- package/components/kanban-table-foot.html +19 -0
- package/components/kanban-table-head.html +19 -0
- package/components/kanban-table-row.html +19 -0
- package/components/kanban-table-td.html +22 -0
- package/components/kanban-table-th.html +23 -0
- package/components/kanban-table.html +19 -0
- package/components/kbd-shortcut.html +27 -0
- package/components/kbd.html +19 -0
- package/components/kypros-national-passport-number-input.html +18 -0
- package/components/kypros-national-passport-number-view.html +14 -0
- package/components/label.html +17 -0
- package/components/latvija-personas-kods-input.html +18 -0
- package/components/latvija-personas-kods-view.html +14 -0
- package/components/liechtenstein-national-identity-card-number-input.html +18 -0
- package/components/liechtenstein-national-identity-card-number-view.html +14 -0
- package/components/liechtenstein-passport-number-input.html +18 -0
- package/components/liechtenstein-passport-number-view.html +14 -0
- package/components/lietuva-asmens-kodas-input.html +18 -0
- package/components/lietuva-asmens-kodas-view.html +14 -0
- package/components/lietuva-pasas-input.html +18 -0
- package/components/lietuva-pasas-view.html +12 -0
- package/components/line-chart.html +47 -0
- package/components/listbox.html +36 -0
- package/components/loading.html +19 -0
- package/components/luxembourg-matricule-input.html +18 -0
- package/components/luxembourg-matricule-view.html +14 -0
- package/components/magyarorszag-taj-szam-input.html +18 -0
- package/components/magyarorszag-taj-szam-view.html +14 -0
- package/components/malaysia-kad-pengenalan-input.html +18 -0
- package/components/malaysia-kad-pengenalan-view.html +14 -0
- package/components/malta-national-identification-number-input.html +18 -0
- package/components/malta-national-identification-number-view.html +14 -0
- package/components/malta-passport-number-input.html +18 -0
- package/components/malta-passport-number-view.html +14 -0
- package/components/mark.html +12 -0
- package/components/masonry.html +18 -0
- package/components/measurement-instance-input.html +16 -0
- package/components/measurement-instance-view.html +14 -0
- package/components/measurement-system-input.html +16 -0
- package/components/measurement-system-view.html +14 -0
- package/components/measurement-unit-input.html +16 -0
- package/components/measurement-unit-view.html +14 -0
- package/components/medical-banner-box-for-advice.html +19 -0
- package/components/medical-banner-box-for-danger.html +19 -0
- package/components/medical-banner-box.html +19 -0
- package/components/medical-banner.html +30 -0
- package/components/medication-record-list-item.html +29 -0
- package/components/medication-record-list.html +29 -0
- package/components/medication-view.html +19 -0
- package/components/mentions-input.html +54 -0
- package/components/menu-bar-button.html +19 -0
- package/components/menu-bar.html +37 -0
- package/components/menu-group.html +22 -0
- package/components/menu-item.html +19 -0
- package/components/menu.html +37 -0
- package/components/meter.html +20 -0
- package/components/mexico-clave-unica-de-registro-de-poblacion-input.html +18 -0
- package/components/mexico-clave-unica-de-registro-de-poblacion-view.html +14 -0
- package/components/middle-truncation.html +29 -0
- package/components/misr-al-raqm-al-qawmi-input.html +18 -0
- package/components/misr-al-raqm-al-qawmi-view.html +14 -0
- package/components/mockup-browser.html +18 -0
- package/components/mockup-laptop.html +18 -0
- package/components/mockup-phone-landscape.html +18 -0
- package/components/mockup-phone-portrait.html +18 -0
- package/components/mockup-shell.html +18 -0
- package/components/mockup-tablet-landscape.html +18 -0
- package/components/mockup-tablet-portrait.html +18 -0
- package/components/mockup-watch.html +18 -0
- package/components/mockup-window.html +18 -0
- package/components/month-input.html +16 -0
- package/components/multi-select-with-extras.html +25 -0
- package/components/multi-select.html +22 -0
- package/components/navigation-menu.html +37 -0
- package/components/nederland-burgerservice-nummer-input.html +18 -0
- package/components/nederland-burgerservice-nummer-view.html +14 -0
- package/components/nederland-identiteitskaart-nummer-input.html +18 -0
- package/components/nederland-identiteitskaart-nummer-view.html +14 -0
- package/components/nederland-paspoort-nummer-input.html +18 -0
- package/components/nederland-paspoort-nummer-view.html +14 -0
- package/components/net-promoter-score-picker-button.html +20 -0
- package/components/net-promoter-score-picker.html +129 -0
- package/components/net-promoter-score-view.html +14 -0
- package/components/newsletter-signup.html +57 -0
- package/components/nigeria-national-identification-number-input.html +18 -0
- package/components/nigeria-national-identification-number-view.html +14 -0
- package/components/nihon-kojin-bango-input.html +18 -0
- package/components/nihon-kojin-bango-view.html +14 -0
- package/components/norge-fodselsnummer-input.html +18 -0
- package/components/norge-fodselsnummer-view.html +14 -0
- package/components/notification.html +19 -0
- package/components/number-input.html +16 -0
- package/components/numeric-rating-scale-picker.html +104 -0
- package/components/observation-view.html +22 -0
- package/components/one-time-password-input.html +24 -0
- package/components/option.html +19 -0
- package/components/organization.html +17 -0
- package/components/osterreich-sozialversicherungsnummer-input.html +18 -0
- package/components/osterreich-sozialversicherungsnummer-view.html +14 -0
- package/components/overlay-container.html +18 -0
- package/components/padding-reset.html +14 -0
- package/components/pagination-link.html +18 -0
- package/components/pagination-list-item.html +19 -0
- package/components/pagination-list.html +17 -0
- package/components/pagination-nav.html +17 -0
- package/components/pakistan-computerized-national-identity-card-input.html +18 -0
- package/components/pakistan-computerized-national-identity-card-view.html +14 -0
- package/components/panel.html +18 -0
- package/components/password-input-or-text-input-div.html +29 -0
- package/components/password-input.html +16 -0
- package/components/person.html +17 -0
- package/components/phase-banner.html +18 -0
- package/components/photo-pack.html +18 -0
- package/components/pictogram.html +31 -0
- package/components/picture.html +24 -0
- package/components/pie-chart.html +47 -0
- package/components/pilipinas-philhealth-identification-number-input.html +18 -0
- package/components/pilipinas-philhealth-identification-number-view.html +14 -0
- package/components/pin-input-div.html +38 -0
- package/components/place.html +17 -0
- package/components/polska-numer-identyfikacji-podatkowej-input.html +18 -0
- package/components/polska-numer-identyfikacji-podatkowej-view.html +14 -0
- package/components/polska-pesel-input.html +18 -0
- package/components/polska-pesel-view.html +12 -0
- package/components/popconfirm-dialog.html +54 -0
- package/components/popover.html +41 -0
- package/components/popup.html +46 -0
- package/components/portugal-numero-de-identificacao-fiscal-input.html +18 -0
- package/components/portugal-numero-de-identificacao-fiscal-view.html +14 -0
- package/components/portugal-passaporte-input.html +18 -0
- package/components/portugal-passaporte-view.html +14 -0
- package/components/postal-code-input.html +16 -0
- package/components/postal-code-view.html +14 -0
- package/components/prathet-thai-lek-prajam-tua-prachachon-input.html +18 -0
- package/components/prathet-thai-lek-prajam-tua-prachachon-view.html +14 -0
- package/components/problem-record-list-item.html +37 -0
- package/components/problem-record-list.html +37 -0
- package/components/procedure-record-list-item.html +29 -0
- package/components/procedure-record-list.html +29 -0
- package/components/product-card.html +36 -0
- package/components/progress-bar.html +19 -0
- package/components/progress-circle.html +21 -0
- package/components/progress-spinner.html +19 -0
- package/components/progress.html +19 -0
- package/components/qr-code-image.html +18 -0
- package/components/question.html +18 -0
- package/components/radar-chart.html +50 -0
- package/components/radio-group.html +18 -0
- package/components/radio-input.html +16 -0
- package/components/range-input.html +16 -0
- package/components/record-list-item.html +28 -0
- package/components/record-list.html +28 -0
- package/components/red-amber-green-picker-button.html +20 -0
- package/components/red-amber-green-picker.html +49 -0
- package/components/red-amber-green-view.html +17 -0
- package/components/red-orange-yellow-green-blue-picker-button.html +20 -0
- package/components/red-orange-yellow-green-blue-picker.html +69 -0
- package/components/red-orange-yellow-green-blue-view.html +14 -0
- package/components/related-content.html +17 -0
- package/components/reset-input.html +16 -0
- package/components/resizable.html +20 -0
- package/components/review-date.html +16 -0
- package/components/ring-chart.html +47 -0
- package/components/romania-cod-numeric-personal-input.html +18 -0
- package/components/romania-cod-numeric-personal-view.html +14 -0
- package/components/romania-pasaport-input.html +18 -0
- package/components/romania-pasaport-view.html +14 -0
- package/components/rossiya-snils-input.html +18 -0
- package/components/rossiya-snils-view.html +16 -0
- package/components/sankey-chart.html +50 -0
- package/components/scatter-chart.html +47 -0
- package/components/schweiz-ahv-nummer-input.html +18 -0
- package/components/schweiz-ahv-nummer-view.html +14 -0
- package/components/screen-reader-span.html +14 -0
- package/components/scroll-area.html +19 -0
- package/components/scroll-bar.html +20 -0
- package/components/scroller-base.html +19 -0
- package/components/scroller-video.html +38 -0
- package/components/scroller.html +30 -0
- package/components/search-input.html +16 -0
- package/components/section-heading.html +22 -0
- package/components/section-link.html +18 -0
- package/components/section-list-item.html +14 -0
- package/components/section-list.html +17 -0
- package/components/section-nav.html +17 -0
- package/components/segment-group-item.html +21 -0
- package/components/segment-group.html +37 -0
- package/components/select-with-extras.html +14 -0
- package/components/select.html +17 -0
- package/components/separator.html +16 -0
- package/components/share-page.html +18 -0
- package/components/sheet.html +36 -0
- package/components/show-more.html +31 -0
- package/components/sidebar.html +17 -0
- package/components/signature-pad.html +18 -0
- package/components/singapore-national-registration-identity-card-input.html +18 -0
- package/components/singapore-national-registration-identity-card-view.html +16 -0
- package/components/skeleton.html +18 -0
- package/components/skip-link.html +18 -0
- package/components/slide-out-drawer.html +36 -0
- package/components/slider-button.html +19 -0
- package/components/slider.html +21 -0
- package/components/slovenija-emso-input.html +18 -0
- package/components/slovenija-emso-view.html +14 -0
- package/components/slovensko-pas-input.html +18 -0
- package/components/slovensko-pas-view.html +12 -0
- package/components/slovensko-rodne-cislo-input.html +18 -0
- package/components/slovensko-rodne-cislo-view.html +14 -0
- package/components/sonner.html +19 -0
- package/components/south-africa-identity-number-input.html +18 -0
- package/components/south-africa-identity-number-view.html +14 -0
- package/components/sparkline.html +18 -0
- package/components/split-button.html +59 -0
- package/components/split-view.html +36 -0
- package/components/splitter.html +20 -0
- package/components/statistic.html +36 -0
- package/components/status-light.html +22 -0
- package/components/status-tag.html +17 -0
- package/components/step-list-item.html +18 -0
- package/components/step-list.html +18 -0
- package/components/sticky-promo-banner.html +30 -0
- package/components/streaming-text.html +32 -0
- package/components/submit-input.html +16 -0
- package/components/success-panel.html +18 -0
- package/components/summary-box.html +22 -0
- package/components/summary-list-item.html +17 -0
- package/components/summary-list.html +17 -0
- package/components/sunburst-chart.html +47 -0
- package/components/suomi-henkilotunnus-input.html +18 -0
- package/components/suomi-henkilotunnus-view.html +14 -0
- package/components/super-banner.html +19 -0
- package/components/sverige-personnummer-input.html +18 -0
- package/components/sverige-personnummer-view.html +14 -0
- package/components/switch-button.html +19 -0
- package/components/tab-bar-button.html +27 -0
- package/components/tab-bar.html +59 -0
- package/components/tab-panel.html +34 -0
- package/components/table-body.html +16 -0
- package/components/table-foot.html +16 -0
- package/components/table-head.html +16 -0
- package/components/table-row.html +18 -0
- package/components/table-td.html +20 -0
- package/components/table-th.html +24 -0
- package/components/table.html +17 -0
- package/components/tag-group.html +18 -0
- package/components/tag-input-div.html +41 -0
- package/components/tag.html +15 -0
- package/components/taiwan-guomin-shenfenzheng-tongyi-bianhao-input.html +18 -0
- package/components/taiwan-guomin-shenfenzheng-tongyi-bianhao-view.html +14 -0
- package/components/task-bar-button.html +17 -0
- package/components/task-bar.html +19 -0
- package/components/task-list-item.html +20 -0
- package/components/task-list.html +18 -0
- package/components/tel-input.html +16 -0
- package/components/tel-link.html +18 -0
- package/components/text-area-input-with-character-counter.html +32 -0
- package/components/text-area-input.html +17 -0
- package/components/text-input-with-search.html +30 -0
- package/components/text-input.html +16 -0
- package/components/theme-provider.html +18 -0
- package/components/theme-select-option.html +19 -0
- package/components/theme-select.html +17 -0
- package/components/theme-view.html +14 -0
- package/components/thinking.html +21 -0
- package/components/tile-map.html +21 -0
- package/components/tile.html +18 -0
- package/components/time-input.html +16 -0
- package/components/time-picker-input.html +19 -0
- package/components/timeline-list-item.html +19 -0
- package/components/timeline-list.html +17 -0
- package/components/timeout-dialog.html +18 -0
- package/components/timer-button.html +20 -0
- package/components/timer.html +19 -0
- package/components/toast.html +19 -0
- package/components/toggle-button.html +19 -0
- package/components/toggle-group.html +30 -0
- package/components/tool-bar-button.html +17 -0
- package/components/tool-bar.html +19 -0
- package/components/tool-call-error.html +17 -0
- package/components/tool-call-input.html +18 -0
- package/components/tool-call-name.html +12 -0
- package/components/tool-call-output.html +18 -0
- package/components/tool-call-status.html +16 -0
- package/components/tool-call.html +58 -0
- package/components/tooltip.html +30 -0
- package/components/tour-list-item.html +20 -0
- package/components/tour-list.html +19 -0
- package/components/tour.html +59 -0
- package/components/transfer-list.html +37 -0
- package/components/tree-link.html +18 -0
- package/components/tree-list-item.html +21 -0
- package/components/tree-list.html +71 -0
- package/components/tree-menu.html +71 -0
- package/components/tree-nav.html +76 -0
- package/components/tree-select.html +89 -0
- package/components/tuaisceart-eireann-health-and-care-number-input.html +20 -0
- package/components/tuaisceart-eireann-health-and-care-number-view.html +14 -0
- package/components/turkiye-tc-kimlik-numarasi-input.html +18 -0
- package/components/turkiye-tc-kimlik-numarasi-view.html +14 -0
- package/components/ukrayina-reyestratsiyniy-nomer-oblikovoyi-kartky-platnyka-podatkiv-input.html +18 -0
- package/components/ukrayina-reyestratsiyniy-nomer-oblikovoyi-kartky-platnyka-podatkiv-view.html +16 -0
- package/components/united-kingdom-national-health-service-number-input.html +18 -0
- package/components/united-kingdom-national-health-service-number-view.html +14 -0
- package/components/united-kingdom-national-insurance-number-input.html +18 -0
- package/components/united-kingdom-national-insurance-number-view.html +14 -0
- package/components/united-states-social-security-number-input.html +18 -0
- package/components/united-states-social-security-number-view.html +14 -0
- package/components/url-input.html +16 -0
- package/components/uruguay-cedula-de-identidad-input.html +18 -0
- package/components/uruguay-cedula-de-identidad-view.html +14 -0
- package/components/validation-list-item.html +18 -0
- package/components/validation-list.html +18 -0
- package/components/video-player.html +25 -0
- package/components/viet-nam-can-cuoc-cong-dan-input.html +18 -0
- package/components/viet-nam-can-cuoc-cong-dan-view.html +14 -0
- package/components/visible.html +17 -0
- package/components/warning-callout.html +18 -0
- package/components/warning-text.html +22 -0
- package/components/watermark.html +26 -0
- package/components/week-input.html +16 -0
- package/components/wheel-picker.html +46 -0
- package/components/yisrael-teudat-zehut-input.html +18 -0
- package/components/yisrael-teudat-zehut-view.html +14 -0
- package/components/zhongguo-jumin-shenfenzheng-haoma-input.html +18 -0
- package/components/zhongguo-jumin-shenfenzheng-haoma-view.html +14 -0
- package/index.js +27 -0
- package/index.md +53 -0
- package/lily-alpine.js +2979 -0
- package/middle-truncation.js +74 -0
- package/overflow-navigation.js +141 -0
- package/package.json +57 -4
- package/page-check.js +102 -0
- package/wheel-picker.js +219 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!-- Synced from the canonical repository by bin/sync-special-files.
|
|
2
|
+
Do not edit here; edit the root copy and re-run the script.
|
|
3
|
+
Canonical: https://github.com/LilyDesignSystem/lily-design-system/blob/main/LICENSE.md -->
|
|
4
|
+
|
|
5
|
+
# License
|
|
6
|
+
|
|
7
|
+
Lily Design System™ is free open source software.
|
|
8
|
+
|
|
9
|
+
License is any of these, at your option, or contact us for custom license options.
|
|
10
|
+
|
|
11
|
+
- [MIT](https://opensource.org/license/mit) ([SPDX: MIT](https://spdx.org/licenses/MIT.html))
|
|
12
|
+
|
|
13
|
+
- [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) ([SPDX: Apache-2.0](https://spdx.org/licenses/Apache-2.0.html))
|
|
14
|
+
|
|
15
|
+
- [GNU General Public License v2.0](https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html) ([SPDX: GPL-2.0-only](https://spdx.org/licenses/GPL-2.0-only.html))
|
|
16
|
+
|
|
17
|
+
- [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0-standalone.html) ([SPDX: GPL-3.0-only](https://spdx.org/licenses/GPL-3.0-only.html))
|
|
18
|
+
|
|
19
|
+
- [BSD 3-Clause License](https://opensource.org/license/bsd-3-clause) ([SPDX: BSD-3-Clause](https://spdx.org/licenses/BSD-3-Clause.html))
|
|
20
|
+
|
|
21
|
+
## SPDX
|
|
22
|
+
|
|
23
|
+
The machine-readable expression for the choice above is:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
SPDX-License-Identifier: MIT OR Apache-2.0 OR GPL-2.0-only OR GPL-3.0-only OR BSD-3-Clause
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Every package manifest in this repository should carry that expression, or a
|
|
30
|
+
single identifier from the list where the packaging format does not accept a
|
|
31
|
+
disjunction. You do not need permission to pick one: choose whichever member of
|
|
32
|
+
the list suits your project and comply with that one.
|
|
33
|
+
|
|
34
|
+
This applies to the whole repository — the component catalog, the headless
|
|
35
|
+
libraries, the example applications, the helper packages, the `themes/`
|
|
36
|
+
stylesheets, the `bin/` tooling, and the documentation.
|
|
37
|
+
|
|
38
|
+
## Scope note
|
|
39
|
+
|
|
40
|
+
This file supersedes an earlier `CC BY-NC-SA` notice. That notice was a content
|
|
41
|
+
license with a non-commercial clause, it was not an open-source license, and it
|
|
42
|
+
contradicted both the specification and the published packages. It should not be
|
|
43
|
+
relied on. If you obtained Lily under it and that raises a question for you,
|
|
44
|
+
contact <joel@joelparkerhenderson.com>.
|
|
45
|
+
|
|
46
|
+
## Trademarks
|
|
47
|
+
|
|
48
|
+
Lily™ and Lily Design System™ are trademarks. The trademarks are distinct from
|
|
49
|
+
the software license: a trademark claim (™) asserts use of the marks and is
|
|
50
|
+
independent of the licenses above. A license to the software is not a license to
|
|
51
|
+
the marks.
|
|
52
|
+
|
|
53
|
+
You may say your project uses Lily, is built with Lily, or is compatible with
|
|
54
|
+
Lily. Please do not use the marks as the name of your fork or product, or in a
|
|
55
|
+
way that suggests affiliation or endorsement. For any use beyond that, contact
|
|
56
|
+
<joel@joelparkerhenderson.com>.
|
|
57
|
+
|
|
58
|
+
## Third-party references
|
|
59
|
+
|
|
60
|
+
Lily's example applications and `themes/` stylesheets take visual reference from
|
|
61
|
+
public-sector design systems including NHS UK, GOV.UK, and USWDS. Lily is not
|
|
62
|
+
affiliated with, endorsed by, or connected to any of those organisations. Their
|
|
63
|
+
names and marks belong to them, and this license grants nothing in respect of
|
|
64
|
+
them.
|
package/README.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Lily Design System™ - Alpine.js Headless
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Headless components for [Alpine.js](https://alpinejs.dev/): annotated, semantic HTML snippets that carry the ARIA, class hooks and Alpine directives, plus one small Alpine plugin that owns state and keyboard behaviour. Zero CSS, zero text, zero icons. Targets WCAG 2.2 AAA.
|
|
4
|
+
|
|
5
|
+
**Status: 583 of the 608 catalog components** — every component that is pure markup (488) plus 83 with Alpine behaviour. The whole catalog is covered; the [example app](../lily-design-system-alpine-examples/) and four helpers ([data grid](../lily-design-system-alpine-data-grid/), [kanban board](../lily-design-system-alpine-kanban-board/), [calendar](../lily-design-system-alpine-calendar/), [Gantt chart](../lily-design-system-alpine-gantt-chart/)) exist; what is left (the other helpers, the publish pipeline) is in [spec/index.md](spec/index.md).
|
|
6
|
+
|
|
7
|
+
## How it works
|
|
8
|
+
|
|
9
|
+
Alpine has no component model, so a Lily component here is a snippet you copy into your page (or include from a template) and a behaviour registered by the plugin:
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<script type="module">
|
|
13
|
+
import Alpine from "alpinejs";
|
|
14
|
+
import lily from "@lilydesignsystem/alpine-headless/plugin";
|
|
15
|
+
Alpine.plugin(lily);
|
|
16
|
+
Alpine.start();
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<button
|
|
20
|
+
class="switch-button"
|
|
21
|
+
x-data="lilySwitchButton(false)"
|
|
22
|
+
x-bind="button"
|
|
23
|
+
aria-label="Notifications"
|
|
24
|
+
>
|
|
25
|
+
Notifications
|
|
26
|
+
</button>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The snippet fixes the element, the base class (first, as in every Lily catalog) and the ARIA. The plugin's `Alpine.data()` behaviours expose `x-bind` objects (`button`, `trigger`, `tab('id')`, `panel('id')` …) so you can reuse the contract on your own elements.
|
|
30
|
+
|
|
31
|
+
## Components
|
|
32
|
+
|
|
33
|
+
- **Static markup (488):** every html-headless snippet with no behaviour, e.g. `alert`, `badge`, `breadcrumb-nav`, `button`, `card`, `table`, the national identifiers. Their tests check the element, base class and ARIA role, not behaviour.
|
|
34
|
+
- **Hand-written (83), by family** (the `families/*.mjs` modules, plus the first 12 in the generator):
|
|
35
|
+
- _Toggles and disclosure:_ `toggle-button` (`lilyToggleButton`), `switch-button` (`lilySwitchButton`), `toggle-group` (`lilyToggleGroup`), `collapsible`, `expander`, `government-banner`, `hamburger-menu` (`lilyCollapsible`), `show-more` (`lilyShowMore`), `accordion-nav` (`lilyAccordion`), `accordion-checkbox` (`lilyCheckboxAccordion`), `medical-banner`, `sticky-promo-banner` (`lilyDismissible`), `hover-card` (`lilyHoverCard`), `tooltip` (`lilyTooltip`), `popover`, `contextual-help` (`lilyPopover`), `clipboard-copy-button` (`lilyClipboardCopy`), `tab-bar`, `tab-bar-button`, `tab-panel` (`lilyTabs`).
|
|
36
|
+
- _Overlays:_ `dialog`, `alert-dialog`, `file-dialog` (`lilyDialog`), `drawer`, `slide-out-drawer`, `sheet` (`lilyModalSurface`: a `<dialog>` opened with `showModal()`), `popup`, `overlay-container` (`lilyOverlay`), `popconfirm-dialog` (`lilyConfirm`).
|
|
37
|
+
- _Menus:_ `menu`, `menu-bar` (`lilyMenu`), `dropdown-menu`, `split-button`, `action-group` (`lilyDropdownMenu`), `context-menu` (`lilyContextMenu`).
|
|
38
|
+
- _Selection:_ `listbox` (`lilyListbox`), `segment-group` (`lilySegmentGroup`), `combobox` (`lilyCombobox`), `command` (`lilyCommand`); the five rating and status pickers are native radios and `<select>` bound with `x-model`.
|
|
39
|
+
- _Trees:_ `tree-nav`, `tree-menu`, `file-tree` (`lilyTree`), `tree-select` (`lilyTreeSelect`), `cascader` (`lilyCascader`).
|
|
40
|
+
- _Text and form inputs:_ `character-counter`, `text-area-input-with-character-counter`, `password-input-or-text-input-div`, `pin-input-div`, `tag-input-div`, `currency-input`, `text-input-with-search`, `mentions-input`, `editable`, `editable-form`, `data-filter-form`, `newsletter-signup`, `date-time-now-input`, `time-picker-input`.
|
|
41
|
+
- _Value controls and guided widgets:_ `slider`, `dial`, `color-picker`, `splitter`, `resizable`, `scroll-area`, `carousel`, `tour`, `coachmark`, `file-upload`.
|
|
42
|
+
- _Container-only (role and name, no behaviour):_ `calendar-range-picker`, `emoji-character-picker`, `image-cropper`, `signature-pad`, `file-manager`, `float-button`, `toast`, `sonner`, `timer`.
|
|
43
|
+
|
|
44
|
+
## Develop
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
pnpm install
|
|
48
|
+
pnpm test # vitest + jsdom, every snippet mounted under real Alpine
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`node generate-components.mjs` regenerates the snippets, tests and stories.
|
|
52
|
+
|
|
53
|
+
Lily™ and Lily Design System™ are trademarks.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!-- accordion-checkbox.html -->
|
|
2
|
+
<!-- AccordionCheckbox component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a checkbox option that reveals an accordion panel when checked
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: accordion-checkbox
|
|
7
|
+
Keyboard: Tab to the checkbox, Space to expand and collapse
|
|
8
|
+
Accessibility: a real checkbox with aria-expanded and aria-controls; the panel is a labelled region
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="accordion-checkbox"
|
|
14
|
+
x-data="lilyCheckboxAccordion(false)"
|
|
15
|
+
>
|
|
16
|
+
<input
|
|
17
|
+
class="accordion-checkbox-input"
|
|
18
|
+
type="checkbox"
|
|
19
|
+
id="accordion-checkbox-1"
|
|
20
|
+
x-bind="input"
|
|
21
|
+
aria-controls="accordion-checkbox-1-panel"
|
|
22
|
+
/>
|
|
23
|
+
<label
|
|
24
|
+
class="accordion-checkbox-label"
|
|
25
|
+
for="accordion-checkbox-1"
|
|
26
|
+
><!-- Consumer provides label --></label
|
|
27
|
+
>
|
|
28
|
+
<div
|
|
29
|
+
class="accordion-checkbox-panel"
|
|
30
|
+
id="accordion-checkbox-1-panel"
|
|
31
|
+
role="region"
|
|
32
|
+
aria-labelledby="accordion-checkbox-1"
|
|
33
|
+
x-bind="panel"
|
|
34
|
+
>
|
|
35
|
+
<!-- Consumer provides revealable panel content -->
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- accordion-link.html -->
|
|
2
|
+
<!-- AccordionLink component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an accordion link
|
|
5
|
+
HTML tag: <a>
|
|
6
|
+
CSS class: accordion-link
|
|
7
|
+
Keyboard: Tab to focus, Enter to follow link
|
|
8
|
+
Accessibility: aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<a
|
|
13
|
+
class="accordion-link"
|
|
14
|
+
aria-label=""
|
|
15
|
+
href=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides content -->
|
|
18
|
+
</a>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- accordion-list-item.html -->
|
|
2
|
+
<!-- AccordionListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an accordion list item component
|
|
5
|
+
HTML tag: <li wrapped in ol>
|
|
6
|
+
CSS class: accordion-list-item
|
|
7
|
+
Keyboard: none; not interactive, and any interactive children handle their own keys
|
|
8
|
+
Accessibility: aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<ol>
|
|
13
|
+
<li
|
|
14
|
+
class="accordion-list-item"
|
|
15
|
+
aria-label="Example"
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides child content -->
|
|
18
|
+
</li>
|
|
19
|
+
</ol>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- accordion-list.html -->
|
|
2
|
+
<!-- AccordionList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an accordion ordered list of list item components
|
|
5
|
+
HTML tag: <ol, of accordion-list-item lis each holding a details>
|
|
6
|
+
CSS class: accordion-list
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: native list semantics; optional aria-label
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<ol
|
|
13
|
+
class="accordion-list"
|
|
14
|
+
aria-label=""
|
|
15
|
+
>
|
|
16
|
+
<!-- Consumer provides accordion list items -->
|
|
17
|
+
</ol>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<!-- accordion-nav.html -->
|
|
2
|
+
<!-- AccordionNav component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an accordion navigation area for collapsible accordion information
|
|
5
|
+
HTML tag: <nav>
|
|
6
|
+
CSS class: accordion-nav
|
|
7
|
+
Keyboard: Tab between triggers, Enter or Space to expand and collapse
|
|
8
|
+
Accessibility: each trigger has aria-expanded and aria-controls; each panel is a region labelled by its trigger
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<nav
|
|
13
|
+
class="accordion-nav"
|
|
14
|
+
aria-label=""
|
|
15
|
+
x-data="lilyAccordion(false)"
|
|
16
|
+
>
|
|
17
|
+
<ol class="accordion-list">
|
|
18
|
+
<li class="accordion-list-item">
|
|
19
|
+
<button
|
|
20
|
+
class="accordion-trigger"
|
|
21
|
+
x-bind="trigger('one')"
|
|
22
|
+
>
|
|
23
|
+
<!-- Consumer provides heading -->
|
|
24
|
+
</button>
|
|
25
|
+
<div
|
|
26
|
+
class="accordion-panel"
|
|
27
|
+
x-bind="panel('one')"
|
|
28
|
+
>
|
|
29
|
+
<!-- Consumer provides content -->
|
|
30
|
+
</div>
|
|
31
|
+
</li>
|
|
32
|
+
<li class="accordion-list-item">
|
|
33
|
+
<button
|
|
34
|
+
class="accordion-trigger"
|
|
35
|
+
x-bind="trigger('two')"
|
|
36
|
+
>
|
|
37
|
+
<!-- Consumer provides heading -->
|
|
38
|
+
</button>
|
|
39
|
+
<div
|
|
40
|
+
class="accordion-panel"
|
|
41
|
+
x-bind="panel('two')"
|
|
42
|
+
>
|
|
43
|
+
<!-- Consumer provides content -->
|
|
44
|
+
</div>
|
|
45
|
+
</li>
|
|
46
|
+
</ol>
|
|
47
|
+
</nav>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- action-bar-button.html -->
|
|
2
|
+
<!-- ActionBarButton component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: one action button inside an action bar
|
|
5
|
+
HTML tag: <button>
|
|
6
|
+
CSS class: action-bar-button
|
|
7
|
+
Keyboard: Tab to focus, Enter or Space to activate (native <button> behavior)
|
|
8
|
+
Accessibility: aria-label is REQUIRED for accessible name; disabled state honored
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<button
|
|
13
|
+
class="action-bar-button"
|
|
14
|
+
type="button"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides icon and/or text content -->
|
|
18
|
+
</button>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!-- action-bar.html -->
|
|
2
|
+
<!-- ActionBar component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a contextual action bar that appears when items are selected, showing the selection count and bulk action buttons
|
|
5
|
+
HTML tag: <div with role="toolbar">
|
|
6
|
+
CSS class: action-bar
|
|
7
|
+
Keyboard: ArrowLeft/ArrowRight move between the controls (wrapping), Home/End jump; one tab stop; Escape presses the clear button
|
|
8
|
+
Accessibility: role="toolbar" with required aria-label; the count is announced by the consumer; data-selected-count for CSS
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="action-bar"
|
|
14
|
+
role="toolbar"
|
|
15
|
+
aria-label=""
|
|
16
|
+
data-selected-count="0"
|
|
17
|
+
x-lily-toolbar=".action-bar-clear"
|
|
18
|
+
>
|
|
19
|
+
<span class="action-bar-count"></span>
|
|
20
|
+
<!-- Consumer inserts action-bar-button children here -->
|
|
21
|
+
<button
|
|
22
|
+
class="action-bar-clear"
|
|
23
|
+
type="button"
|
|
24
|
+
aria-label=""
|
|
25
|
+
>
|
|
26
|
+
×
|
|
27
|
+
</button>
|
|
28
|
+
</div>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!-- action-group.html -->
|
|
2
|
+
<!-- ActionGroup component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a group of action buttons that can collapse to an overflow menu when space is constrained
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: action-group
|
|
7
|
+
Keyboard: ArrowLeft/ArrowRight move between the actions (wrapping), Home/End jump; one tab stop; the overflow trigger behaves as a dropdown-menu trigger
|
|
8
|
+
Accessibility: role="group" with aria-label; overflow trigger: aria-haspopup="menu", aria-expanded, aria-controls
|
|
9
|
+
Popover API: the overflow menu is popover="auto" and the trigger names it with
|
|
10
|
+
command="toggle-popover" commandfor (and popovertarget), so it opens, and
|
|
11
|
+
closes on Escape and on a click outside, even before Alpine starts
|
|
12
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
13
|
+
-->
|
|
14
|
+
|
|
15
|
+
<div
|
|
16
|
+
class="action-group"
|
|
17
|
+
role="group"
|
|
18
|
+
aria-label=""
|
|
19
|
+
x-data="lilyDropdownMenu(false)"
|
|
20
|
+
x-bind="root"
|
|
21
|
+
x-lily-toolbar
|
|
22
|
+
>
|
|
23
|
+
<button type="button"><!-- Consumer provides a visible action --></button>
|
|
24
|
+
<button
|
|
25
|
+
class="action-group-overflow-trigger"
|
|
26
|
+
x-bind="trigger"
|
|
27
|
+
aria-label=""
|
|
28
|
+
aria-controls="action-group-overflow-1"
|
|
29
|
+
command="toggle-popover"
|
|
30
|
+
commandfor="action-group-overflow-1"
|
|
31
|
+
popovertarget="action-group-overflow-1"
|
|
32
|
+
>
|
|
33
|
+
…
|
|
34
|
+
</button>
|
|
35
|
+
<div
|
|
36
|
+
class="action-group-overflow-menu"
|
|
37
|
+
id="action-group-overflow-1"
|
|
38
|
+
aria-label=""
|
|
39
|
+
popover="auto"
|
|
40
|
+
x-bind="menu"
|
|
41
|
+
>
|
|
42
|
+
<button
|
|
43
|
+
class="action-group-overflow-item"
|
|
44
|
+
x-bind="item"
|
|
45
|
+
>
|
|
46
|
+
<!-- Consumer provides label -->
|
|
47
|
+
</button>
|
|
48
|
+
<button
|
|
49
|
+
class="action-group-overflow-item"
|
|
50
|
+
x-bind="item"
|
|
51
|
+
>
|
|
52
|
+
<!-- Consumer provides label -->
|
|
53
|
+
</button>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- action-link.html -->
|
|
2
|
+
<!-- ActionLink component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a hyperlink styled as an action trigger
|
|
5
|
+
HTML tag: <a>
|
|
6
|
+
CSS class: action-link
|
|
7
|
+
Keyboard: Tab to focus, Enter to follow link
|
|
8
|
+
Accessibility: aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<a
|
|
13
|
+
class="action-link"
|
|
14
|
+
aria-label=""
|
|
15
|
+
href=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides link text -->
|
|
18
|
+
</a>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- address-input.html -->
|
|
2
|
+
<!-- AddressInput component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an input for searching or manually entering an address
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: address-input
|
|
7
|
+
Keyboard: none; not interactive, and any interactive children handle their own keys
|
|
8
|
+
Accessibility: aria-label
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="address-input"
|
|
14
|
+
role="group"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides content -->
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- addressograph-box.html -->
|
|
2
|
+
<!-- AddressographBox component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a box that shows a person's identification details, such as name, tracking information, and salient notations
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: addressograph-box
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: role="group" with aria-label; drop both when the content needs no name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="addressograph-box"
|
|
14
|
+
role="group"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides content -->
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- affix.html -->
|
|
2
|
+
<!-- Affix component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a wrapper that pins its content to a viewport position while the page scrolls
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: affix
|
|
7
|
+
Keyboard: None (passive layout container)
|
|
8
|
+
Accessibility: None — purely structural; no role or ARIA attributes are added.
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="affix"
|
|
14
|
+
style="position: sticky; top: 0"
|
|
15
|
+
data-offset-top="0"
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides the content to be pinned to the viewport -->
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- age-view.html -->
|
|
2
|
+
<!-- AgeView component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a read-only display of a person's age, in the units suited to it
|
|
5
|
+
HTML tag: <span>
|
|
6
|
+
CSS class: age-view
|
|
7
|
+
Keyboard:
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<span
|
|
13
|
+
class="age-view"
|
|
14
|
+
data-duration="P23D"
|
|
15
|
+
><span class="screen-reader-span">Age </span>3 weeks 2 days</span
|
|
16
|
+
>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- ai-label.html -->
|
|
2
|
+
<!-- AiLabel component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an indicator of AI instances that is a pathway to AI explainability
|
|
5
|
+
HTML tag: <span>
|
|
6
|
+
CSS class: ai-label
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<span
|
|
13
|
+
class="ai-label"
|
|
14
|
+
role="img"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides text content -->
|
|
18
|
+
</span>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- alba-community-health-index-input.html -->
|
|
2
|
+
<!-- AlbaCommunityHealthIndexInput component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an input for entering Scotland's Community Health Index (CHI)
|
|
5
|
+
HTML tag: <input>
|
|
6
|
+
CSS class: alba-community-health-index-input
|
|
7
|
+
Keyboard: Tab to focus, standard input keyboard interactions
|
|
8
|
+
Accessibility: Implicit input role, aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<input
|
|
13
|
+
class="alba-community-health-index-input"
|
|
14
|
+
type="text"
|
|
15
|
+
aria-label="Community Health Index"
|
|
16
|
+
autocomplete="off"
|
|
17
|
+
spellcheck="false"
|
|
18
|
+
/>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- alba-community-health-index-view.html -->
|
|
2
|
+
<!-- AlbaCommunityHealthIndexView component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a read-only display of Scotland's Community Health Index (CHI)
|
|
5
|
+
HTML tag: <span>
|
|
6
|
+
CSS class: alba-community-health-index-view
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: a visible caption names the value, or the screen-reader-span does. A plain span cannot take aria-label
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<span class="alba-community-health-index-view"
|
|
13
|
+
><span class="screen-reader-span">Community Health Index </span></span
|
|
14
|
+
>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!-- alert-dialog.html -->
|
|
2
|
+
<!-- AlertDialog component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a modal dialog for urgent messages requiring user acknowledgment
|
|
5
|
+
HTML tag: <dialog>
|
|
6
|
+
CSS class: alert-dialog
|
|
7
|
+
Keyboard: Tab cycles focus inside, Escape closes
|
|
8
|
+
Accessibility: native <dialog> opened with showModal(); role="alertdialog"; aria-label names it; aria-modal="true"
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div x-data="lilyDialog(false)">
|
|
13
|
+
<button
|
|
14
|
+
class="alert-dialog-trigger"
|
|
15
|
+
x-bind="trigger"
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides trigger label -->
|
|
18
|
+
</button>
|
|
19
|
+
<dialog
|
|
20
|
+
class="alert-dialog"
|
|
21
|
+
role="alertdialog"
|
|
22
|
+
aria-label=""
|
|
23
|
+
x-bind="dialog"
|
|
24
|
+
>
|
|
25
|
+
<!-- Consumer provides dialog content -->
|
|
26
|
+
<button
|
|
27
|
+
class="alert-dialog-close"
|
|
28
|
+
x-bind="closer"
|
|
29
|
+
>
|
|
30
|
+
<!-- Consumer provides label -->
|
|
31
|
+
</button>
|
|
32
|
+
</dialog>
|
|
33
|
+
</div>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- alert.html -->
|
|
2
|
+
<!-- Alert component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a status message for important information or feedback
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: alert
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: role="alert", aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="alert"
|
|
14
|
+
data-type="info"
|
|
15
|
+
aria-live="assertive"
|
|
16
|
+
aria-atomic="true"
|
|
17
|
+
role="alert"
|
|
18
|
+
aria-label=""
|
|
19
|
+
>
|
|
20
|
+
<!-- Consumer provides content -->
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- allergy-record-list-item.html -->
|
|
2
|
+
<!-- AllergyRecordListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: one allergy or intolerance in an allergy record list, with substance, reaction, severity, criticality and status
|
|
5
|
+
HTML tag: <li>
|
|
6
|
+
CSS class: allergy-record-list-item
|
|
7
|
+
Keyboard:
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<ul
|
|
13
|
+
class="allergy-record-list"
|
|
14
|
+
data-status="known"
|
|
15
|
+
aria-label="Known allergies"
|
|
16
|
+
>
|
|
17
|
+
<li
|
|
18
|
+
class="allergy-record-list-item"
|
|
19
|
+
data-severity="severe"
|
|
20
|
+
data-criticality="high"
|
|
21
|
+
data-clinical-status="active"
|
|
22
|
+
data-verification-status="confirmed"
|
|
23
|
+
>
|
|
24
|
+
<span class="allergy-record-list-item-substance">Penicillin</span>
|
|
25
|
+
<span class="allergy-record-list-item-reaction">Anaphylaxis</span>
|
|
26
|
+
<span class="allergy-record-list-item-severity">Severe</span>
|
|
27
|
+
<span class="allergy-record-list-item-criticality">High risk</span>
|
|
28
|
+
<span class="allergy-record-list-item-clinical-status">Active</span>
|
|
29
|
+
<span class="allergy-record-list-item-verification-status">Confirmed</span>
|
|
30
|
+
<span class="allergy-record-list-item-type">Allergy</span>
|
|
31
|
+
<span class="allergy-record-list-item-category">Medication</span>
|
|
32
|
+
<time
|
|
33
|
+
class="allergy-record-list-item-updated"
|
|
34
|
+
datetime="2026-11-03"
|
|
35
|
+
>Updated 3 Nov 2026</time
|
|
36
|
+
>
|
|
37
|
+
</li>
|
|
38
|
+
</ul>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- allergy-record-list.html -->
|
|
2
|
+
<!-- AllergyRecordList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a list of a patient's allergies and intolerances, whose status is never blank
|
|
5
|
+
HTML tag: <ul>
|
|
6
|
+
CSS class: allergy-record-list
|
|
7
|
+
Keyboard:
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<ul
|
|
13
|
+
class="allergy-record-list"
|
|
14
|
+
data-status="known"
|
|
15
|
+
aria-label="Known allergies"
|
|
16
|
+
>
|
|
17
|
+
<li
|
|
18
|
+
class="allergy-record-list-item"
|
|
19
|
+
data-severity="severe"
|
|
20
|
+
data-criticality="high"
|
|
21
|
+
data-clinical-status="active"
|
|
22
|
+
data-verification-status="confirmed"
|
|
23
|
+
>
|
|
24
|
+
<span class="allergy-record-list-item-substance">Penicillin</span>
|
|
25
|
+
<span class="allergy-record-list-item-reaction">Anaphylaxis</span>
|
|
26
|
+
<span class="allergy-record-list-item-severity">Severe</span>
|
|
27
|
+
<span class="allergy-record-list-item-criticality">High risk</span>
|
|
28
|
+
<span class="allergy-record-list-item-clinical-status">Active</span>
|
|
29
|
+
<span class="allergy-record-list-item-verification-status">Confirmed</span>
|
|
30
|
+
<span class="allergy-record-list-item-type">Allergy</span>
|
|
31
|
+
<span class="allergy-record-list-item-category">Medication</span>
|
|
32
|
+
<time
|
|
33
|
+
class="allergy-record-list-item-updated"
|
|
34
|
+
datetime="2026-11-03"
|
|
35
|
+
>Updated 3 Nov 2026</time
|
|
36
|
+
>
|
|
37
|
+
</li>
|
|
38
|
+
</ul>
|