@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
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!-- decision-support-card.html -->
|
|
2
|
+
<!-- DecisionSupportCard component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a clinical decision support card with a summary, urgency indicator, source, suggestions and override reasons
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: decision-support-card
|
|
7
|
+
Keyboard: Tab through the source link, suggestions, links, the reason select and the dismiss button; Enter or Space
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="decision-support-card"
|
|
14
|
+
role="group"
|
|
15
|
+
aria-label="Penicillin allergy recorded"
|
|
16
|
+
data-indicator="critical"
|
|
17
|
+
>
|
|
18
|
+
<p class="decision-support-card-header">
|
|
19
|
+
<span class="decision-support-card-indicator">Critical</span>
|
|
20
|
+
<span class="decision-support-card-summary">Penicillin allergy recorded</span>
|
|
21
|
+
</p>
|
|
22
|
+
<div class="decision-support-card-detail"><p>Amoxicillin is a penicillin.</p></div>
|
|
23
|
+
<p class="decision-support-card-source"><a href="#formulary">Local formulary</a></p>
|
|
24
|
+
<div class="decision-support-card-suggestions">
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
class="decision-support-card-suggestion"
|
|
28
|
+
data-recommended="true"
|
|
29
|
+
>
|
|
30
|
+
Cancel amoxicillin
|
|
31
|
+
</button>
|
|
32
|
+
</div>
|
|
33
|
+
<form class="decision-support-card-override">
|
|
34
|
+
<label class="decision-support-card-override-label"
|
|
35
|
+
>Reason for dismissing
|
|
36
|
+
<select
|
|
37
|
+
class="decision-support-card-override-reason"
|
|
38
|
+
name="overrideReason"
|
|
39
|
+
required
|
|
40
|
+
>
|
|
41
|
+
<option value="">Choose a reason</option>
|
|
42
|
+
<option value="error">Allergy recorded in error</option>
|
|
43
|
+
</select></label
|
|
44
|
+
>
|
|
45
|
+
<button
|
|
46
|
+
type="submit"
|
|
47
|
+
class="decision-support-card-dismiss"
|
|
48
|
+
>
|
|
49
|
+
Dismiss
|
|
50
|
+
</button>
|
|
51
|
+
</form>
|
|
52
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- description-list-item.html -->
|
|
2
|
+
<!-- DescriptionListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: one key-value pair in a description list using dt and dd elements
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: description-list-item
|
|
7
|
+
Keyboard: none; not interactive, and any interactive children handle their own keys
|
|
8
|
+
Accessibility: none of its own; meaning comes from the content
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div class="description-list-item">
|
|
13
|
+
<!-- Consumer provides content -->
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- description-list.html -->
|
|
2
|
+
<!-- DescriptionList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a definition list displaying information in key-value format <dl>
|
|
5
|
+
HTML tag: <dl>
|
|
6
|
+
CSS class: description-list
|
|
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
|
+
<dl
|
|
13
|
+
class="description-list"
|
|
14
|
+
aria-label=""
|
|
15
|
+
>
|
|
16
|
+
<!-- Consumer provides content -->
|
|
17
|
+
</dl>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- details.html -->
|
|
2
|
+
<!-- Details component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a disclosure widget that shows and hides content
|
|
5
|
+
HTML tag: <details>
|
|
6
|
+
CSS class: details
|
|
7
|
+
Keyboard: Tab to the summary, Enter or Space to open and close
|
|
8
|
+
Accessibility: native disclosure semantics; no ARIA added
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<details class="details">
|
|
13
|
+
<summary class="details-summary"><!-- Consumer provides summary --></summary>
|
|
14
|
+
<!-- Consumer provides content -->
|
|
15
|
+
</details>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- deutschland-krankenversichertennummer-input.html -->
|
|
2
|
+
<!-- DeutschlandKrankenversichertennummerInput component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an input for entering Germany's Krankenversichertennummer (KVNR)
|
|
5
|
+
HTML tag: <input>
|
|
6
|
+
CSS class: deutschland-krankenversichertennummer-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="deutschland-krankenversichertennummer-input"
|
|
14
|
+
type="text"
|
|
15
|
+
aria-label="Health Insurance Number"
|
|
16
|
+
autocomplete="off"
|
|
17
|
+
spellcheck="false"
|
|
18
|
+
/>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- deutschland-krankenversichertennummer-view.html -->
|
|
2
|
+
<!-- DeutschlandKrankenversichertennummerView component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a read-only display of Germany's Krankenversichertennummer (KVNR)
|
|
5
|
+
HTML tag: <span>
|
|
6
|
+
CSS class: deutschland-krankenversichertennummer-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="deutschland-krankenversichertennummer-view"
|
|
13
|
+
><span class="screen-reader-span">Health Insurance Number </span></span
|
|
14
|
+
>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- device-record-list-item.html -->
|
|
2
|
+
<!-- DeviceRecordListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: one medical device in a device record list, with its status and when it was used
|
|
5
|
+
HTML tag: <li>
|
|
6
|
+
CSS class: device-record-list-item
|
|
7
|
+
Keyboard:
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<ul
|
|
13
|
+
class="device-record-list"
|
|
14
|
+
data-status="known"
|
|
15
|
+
aria-label="Medical devices"
|
|
16
|
+
>
|
|
17
|
+
<li
|
|
18
|
+
class="device-record-list-item"
|
|
19
|
+
data-status="active"
|
|
20
|
+
>
|
|
21
|
+
<span class="device-record-list-item-device">Cardiac pacemaker</span>
|
|
22
|
+
<span class="device-record-list-item-status">In use</span>
|
|
23
|
+
<time
|
|
24
|
+
class="device-record-list-item-timing"
|
|
25
|
+
datetime="2021-02-08"
|
|
26
|
+
>Since 8 Feb 2021</time
|
|
27
|
+
>
|
|
28
|
+
</li>
|
|
29
|
+
</ul>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- device-record-list.html -->
|
|
2
|
+
<!-- DeviceRecordList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a list of a patient's medical devices, whose status is never blank
|
|
5
|
+
HTML tag: <ul>
|
|
6
|
+
CSS class: device-record-list
|
|
7
|
+
Keyboard:
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<ul
|
|
13
|
+
class="device-record-list"
|
|
14
|
+
data-status="known"
|
|
15
|
+
aria-label="Medical devices"
|
|
16
|
+
>
|
|
17
|
+
<li
|
|
18
|
+
class="device-record-list-item"
|
|
19
|
+
data-status="active"
|
|
20
|
+
>
|
|
21
|
+
<span class="device-record-list-item-device">Cardiac pacemaker</span>
|
|
22
|
+
<span class="device-record-list-item-status">In use</span>
|
|
23
|
+
<time
|
|
24
|
+
class="device-record-list-item-timing"
|
|
25
|
+
datetime="2021-02-08"
|
|
26
|
+
>Since 8 Feb 2021</time
|
|
27
|
+
>
|
|
28
|
+
</li>
|
|
29
|
+
</ul>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- dial-group.html -->
|
|
2
|
+
<!-- DialGroup component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a group of dial components
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: dial-group
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: role="group", aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="dial-group"
|
|
14
|
+
role="group"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides content -->
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- dial.html -->
|
|
2
|
+
<!-- Dial component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a rotary dial control for selecting a value
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: dial
|
|
7
|
+
Keyboard: Right/Up raise, Left/Down lower, Shift moves ten steps, Home and End jump to the bounds
|
|
8
|
+
Accessibility: role="slider" with aria-label, aria-valuenow/min/max; tabindex 0 (or -1) and aria-disabled only when disabled
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="dial"
|
|
14
|
+
aria-label=""
|
|
15
|
+
x-data="lilyDial(50, 0, 100, 1)"
|
|
16
|
+
x-bind="dial"
|
|
17
|
+
>
|
|
18
|
+
<!-- Consumer provides the dial face -->
|
|
19
|
+
</div>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!-- dialog.html -->
|
|
2
|
+
<!-- Dialog component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a modal or non-modal dialog window
|
|
5
|
+
HTML tag: <dialog>
|
|
6
|
+
CSS class: dialog
|
|
7
|
+
Keyboard: Tab cycles focus inside, Escape closes
|
|
8
|
+
Accessibility: native <dialog> opened with showModal(); 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="dialog-trigger"
|
|
15
|
+
x-bind="trigger"
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides trigger content -->
|
|
18
|
+
</button>
|
|
19
|
+
<dialog
|
|
20
|
+
class="dialog"
|
|
21
|
+
aria-label=""
|
|
22
|
+
x-bind="dialog"
|
|
23
|
+
>
|
|
24
|
+
<!-- Consumer provides dialog content -->
|
|
25
|
+
<button
|
|
26
|
+
class="dialog-close"
|
|
27
|
+
x-bind="closer"
|
|
28
|
+
>
|
|
29
|
+
<!-- Consumer provides label -->
|
|
30
|
+
</button>
|
|
31
|
+
</dialog>
|
|
32
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- diff.html -->
|
|
2
|
+
<!-- Diff component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a side-by-side comparison of two items
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: diff
|
|
7
|
+
Keyboard: None (passive element)
|
|
8
|
+
Accessibility: role="group", aria-label for accessible name
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="diff"
|
|
14
|
+
role="group"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides content -->
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- digital-object-identifier-link.html -->
|
|
2
|
+
<!-- DigitalObjectIdentifierLink component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a permanent hyperlink for a Digital Object Identifier (DOI) to an electronic source
|
|
5
|
+
HTML tag: <a>
|
|
6
|
+
CSS class: digital-object-identifier-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="digital-object-identifier-link"
|
|
14
|
+
aria-label=""
|
|
15
|
+
href=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides content -->
|
|
18
|
+
</a>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- do-list-item.html -->
|
|
2
|
+
<!-- DoListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an encouraged-practice item in a do-list guideline list
|
|
5
|
+
HTML tag: <li wrapped in ol>
|
|
6
|
+
CSS class: do-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="do-list-item"
|
|
15
|
+
data-recommendation="do"
|
|
16
|
+
aria-label="Example"
|
|
17
|
+
>
|
|
18
|
+
<!-- Consumer provides child content -->
|
|
19
|
+
</li>
|
|
20
|
+
</ol>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- do-list.html -->
|
|
2
|
+
<!-- DoList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a guideline list of encouraged do-list-item components
|
|
5
|
+
HTML tag: <ul>
|
|
6
|
+
CSS class: do-list
|
|
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
|
+
<ul
|
|
13
|
+
class="do-list"
|
|
14
|
+
role="list"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides list items -->
|
|
18
|
+
</ul>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- document-list-item.html -->
|
|
2
|
+
<!-- DocumentListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: one document entry in a document list
|
|
5
|
+
HTML tag: <li>
|
|
6
|
+
CSS class: document-list-item
|
|
7
|
+
Keyboard: none; not interactive, and any interactive children handle their own keys
|
|
8
|
+
Accessibility: native <li> semantics
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<li class="document-list-item">
|
|
13
|
+
<!-- Consumer provides content -->
|
|
14
|
+
</li>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- document-list.html -->
|
|
2
|
+
<!-- DocumentList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a list displaying documents with titles and metadata
|
|
5
|
+
HTML tag: <ul>
|
|
6
|
+
CSS class: document-list
|
|
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
|
+
<ul
|
|
13
|
+
class="document-list"
|
|
14
|
+
aria-label=""
|
|
15
|
+
>
|
|
16
|
+
<!-- Consumer provides content -->
|
|
17
|
+
</ul>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- dont-list-item.html -->
|
|
2
|
+
<!-- DontListItem component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a discouraged-practice item in a dont-list guideline list
|
|
5
|
+
HTML tag: <li wrapped in ol>
|
|
6
|
+
CSS class: dont-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="dont-list-item"
|
|
15
|
+
data-recommendation="dont"
|
|
16
|
+
aria-label="Example"
|
|
17
|
+
>
|
|
18
|
+
<!-- Consumer provides child content -->
|
|
19
|
+
</li>
|
|
20
|
+
</ol>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- dont-list.html -->
|
|
2
|
+
<!-- DontList component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a guideline list of discouraged dont-list-item components
|
|
5
|
+
HTML tag: <ul>
|
|
6
|
+
CSS class: dont-list
|
|
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
|
+
<ul
|
|
13
|
+
class="dont-list"
|
|
14
|
+
role="list"
|
|
15
|
+
aria-label=""
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides list items -->
|
|
18
|
+
</ul>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- download-button.html -->
|
|
2
|
+
<!-- DownloadButton component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a download link styled as a button, with optional file size and format metadata
|
|
5
|
+
HTML tag: <a>
|
|
6
|
+
CSS class: download-button
|
|
7
|
+
Keyboard: Tab to focus, Enter to activate (native <a> behavior)
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<a
|
|
13
|
+
class="download-button"
|
|
14
|
+
href="#"
|
|
15
|
+
aria-label=""
|
|
16
|
+
data-file-size=""
|
|
17
|
+
data-file-format=""
|
|
18
|
+
download
|
|
19
|
+
>
|
|
20
|
+
<!-- Consumer provides button content (defaults to label if omitted) -->
|
|
21
|
+
</a>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- draft.html -->
|
|
2
|
+
<!-- Draft component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an early preliminary version of content such as an article, email, report, etc.
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: draft
|
|
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="draft"
|
|
14
|
+
role="group"
|
|
15
|
+
aria-label=""
|
|
16
|
+
data-status=""
|
|
17
|
+
>
|
|
18
|
+
<!-- Consumer provides content -->
|
|
19
|
+
</div>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!-- drawer.html -->
|
|
2
|
+
<!-- Drawer component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a panel that slides in from the edge of the screen
|
|
5
|
+
HTML tag: <dialog>
|
|
6
|
+
CSS class: drawer
|
|
7
|
+
Keyboard: focus moves in on open; Tab stays inside (showModal()); Escape or the native cancel event closes and returns focus to the trigger
|
|
8
|
+
Accessibility: native <dialog> opened with showModal() (open-attribute fallback where it is missing); aria-label names it; aria-modal="true" (true: the page behind is inert); tabindex -1 so it can take focus; data-side is for consumer CSS
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div x-data="lilyModalSurface(false)">
|
|
13
|
+
<button
|
|
14
|
+
class="drawer-trigger"
|
|
15
|
+
x-bind="trigger"
|
|
16
|
+
aria-controls="drawer-1"
|
|
17
|
+
>
|
|
18
|
+
<!-- Consumer provides trigger label -->
|
|
19
|
+
</button>
|
|
20
|
+
<dialog
|
|
21
|
+
class="drawer"
|
|
22
|
+
id="drawer-1"
|
|
23
|
+
aria-label=""
|
|
24
|
+
tabindex="-1"
|
|
25
|
+
data-side="right"
|
|
26
|
+
x-bind="surface"
|
|
27
|
+
>
|
|
28
|
+
<!-- Consumer provides content -->
|
|
29
|
+
<button
|
|
30
|
+
class="drawer-close"
|
|
31
|
+
x-bind="closer"
|
|
32
|
+
>
|
|
33
|
+
<!-- Consumer provides close label -->
|
|
34
|
+
</button>
|
|
35
|
+
</dialog>
|
|
36
|
+
</div>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- dropdown-menu.html -->
|
|
2
|
+
<!-- DropdownMenu component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a menu that opens below a trigger button
|
|
5
|
+
HTML tag: <div>
|
|
6
|
+
CSS class: dropdown-menu
|
|
7
|
+
Keyboard: Enter/Space/ArrowDown open, arrows move, Escape closes
|
|
8
|
+
Accessibility: trigger: aria-haspopup="menu" + aria-expanded; popup: role="menu"; items: role="menuitem"
|
|
9
|
+
Popover API: the popup 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="dropdown-menu"
|
|
17
|
+
x-data="lilyDropdownMenu(false)"
|
|
18
|
+
x-bind="root"
|
|
19
|
+
>
|
|
20
|
+
<button
|
|
21
|
+
class="dropdown-menu-trigger"
|
|
22
|
+
x-bind="trigger"
|
|
23
|
+
aria-controls="dropdown-menu-1"
|
|
24
|
+
command="toggle-popover"
|
|
25
|
+
commandfor="dropdown-menu-1"
|
|
26
|
+
popovertarget="dropdown-menu-1"
|
|
27
|
+
>
|
|
28
|
+
<!-- Consumer provides trigger label -->
|
|
29
|
+
</button>
|
|
30
|
+
<div
|
|
31
|
+
class="dropdown-menu-popup"
|
|
32
|
+
id="dropdown-menu-1"
|
|
33
|
+
aria-label=""
|
|
34
|
+
popover="auto"
|
|
35
|
+
x-bind="menu"
|
|
36
|
+
>
|
|
37
|
+
<button
|
|
38
|
+
class="dropdown-menu-item"
|
|
39
|
+
x-bind="item"
|
|
40
|
+
>
|
|
41
|
+
<!-- Consumer provides label -->
|
|
42
|
+
</button>
|
|
43
|
+
<button
|
|
44
|
+
class="dropdown-menu-item"
|
|
45
|
+
x-bind="item"
|
|
46
|
+
>
|
|
47
|
+
<!-- Consumer provides label -->
|
|
48
|
+
</button>
|
|
49
|
+
<button
|
|
50
|
+
class="dropdown-menu-item"
|
|
51
|
+
x-bind="item"
|
|
52
|
+
>
|
|
53
|
+
<!-- Consumer provides label -->
|
|
54
|
+
</button>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- early-warning-score-view.html -->
|
|
2
|
+
<!-- EarlyWarningScoreView component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a read-only display of an early warning score, with its band and escalation text
|
|
5
|
+
HTML tag: <span>
|
|
6
|
+
CSS class: early-warning-score-view
|
|
7
|
+
Keyboard:
|
|
8
|
+
Accessibility:
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<span
|
|
13
|
+
class="early-warning-score-view"
|
|
14
|
+
data-band="high"
|
|
15
|
+
><span class="early-warning-score-view-system">NEWS2</span>
|
|
16
|
+
<span class="early-warning-score-view-score">7</span>
|
|
17
|
+
<span class="early-warning-score-view-band">High</span>
|
|
18
|
+
<span class="early-warning-score-view-escalation">Urgent response</span></span
|
|
19
|
+
>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- ecuador-cedula-de-identidad-input.html -->
|
|
2
|
+
<!-- EcuadorCedulaDeIdentidadInput component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: an input for entering Ecuador's Cedula de Identidad Number
|
|
5
|
+
HTML tag: <input>
|
|
6
|
+
CSS class: ecuador-cedula-de-identidad-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="ecuador-cedula-de-identidad-input"
|
|
14
|
+
type="text"
|
|
15
|
+
aria-label="Cedula de Identidad Number"
|
|
16
|
+
autocomplete="off"
|
|
17
|
+
spellcheck="false"
|
|
18
|
+
/>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- ecuador-cedula-de-identidad-view.html -->
|
|
2
|
+
<!-- EcuadorCedulaDeIdentidadView component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a read-only display of Ecuador's Cedula de Identidad Number
|
|
5
|
+
HTML tag: <span>
|
|
6
|
+
CSS class: ecuador-cedula-de-identidad-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="ecuador-cedula-de-identidad-view"
|
|
13
|
+
><span class="screen-reader-span">Cedula de Identidad Number </span></span
|
|
14
|
+
>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- editable-form.html -->
|
|
2
|
+
<!-- EditableForm component (Alpine.js) -->
|
|
3
|
+
<!--
|
|
4
|
+
Description: a form wrapper for inline editing of content
|
|
5
|
+
HTML tag: <form>
|
|
6
|
+
CSS class: editable-form
|
|
7
|
+
Keyboard: Enter submits and leaves edit mode; Escape cancels and leaves edit mode
|
|
8
|
+
Accessibility: aria-label names the form; the form is tabindex -1 and takes focus when it opens
|
|
9
|
+
Requires: Alpine.js with the Lily plugin (lily-alpine.js)
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
<div x-data="lilyEditableForm()">
|
|
13
|
+
<button
|
|
14
|
+
class="editable-form-edit"
|
|
15
|
+
x-bind="editButton"
|
|
16
|
+
>
|
|
17
|
+
<!-- Consumer provides edit label -->
|
|
18
|
+
</button>
|
|
19
|
+
<form
|
|
20
|
+
class="editable-form"
|
|
21
|
+
aria-label=""
|
|
22
|
+
hidden
|
|
23
|
+
x-bind="form"
|
|
24
|
+
>
|
|
25
|
+
<input
|
|
26
|
+
name="title"
|
|
27
|
+
aria-label=""
|
|
28
|
+
/>
|
|
29
|
+
<button type="submit"><!-- Consumer provides save label --></button>
|
|
30
|
+
</form>
|
|
31
|
+
</div>
|