@nanisoft/prism-ui 0.13.0 → 0.16.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/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +22 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +9 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +131 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +33 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +4 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +34 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +24 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/diagram.d.ts +38 -7
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +134 -52
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/fact-list.d.ts +17 -0
- package/dist/components/ui/fact-list.d.ts.map +1 -1
- package/dist/components/ui/fact-list.js +18 -1
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +34 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +41 -1
- package/dist/components/ui/pulse-graph.d.ts +36 -4
- package/dist/components/ui/pulse-graph.d.ts.map +1 -1
- package/dist/components/ui/pulse-graph.js +174 -60
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +110 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +111 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/figure.d.ts +149 -0
- package/dist/lib/figure.d.ts.map +1 -0
- package/dist/lib/figure.js +242 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
- package/dist/live/run-stream-01/run-stream.js +6 -5
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/blog-post-page/index.d.ts +36 -15
- package/dist/pages/blog-post-page/index.d.ts.map +1 -1
- package/dist/pages/blog-post-page/index.js +35 -10
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +126 -16
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +229 -28
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +102 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/not-found-page/index.d.ts.map +1 -1
- package/dist/pages/not-found-page/index.js +4 -3
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1105 -62
- package/package.json +9 -3
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* What a member is doing right now, as far as the caller knows.
|
|
5
|
+
*
|
|
6
|
+
* The caller knows, not this Block. Presence arrives from a socket or a poll the
|
|
7
|
+
* consumer owns, and a Block that read it would be a Block that fetches.
|
|
8
|
+
*/
|
|
9
|
+
export type MemberPresence = 'online' | 'away' | 'offline';
|
|
10
|
+
/**
|
|
11
|
+
* One member, as a members list shows them: who they are, what they do, whether
|
|
12
|
+
* they are around, and when they were last here.
|
|
13
|
+
*/
|
|
14
|
+
export type MemberList01Member = {
|
|
15
|
+
/**
|
|
16
|
+
* A stable key for the row, passed back to `onSelect` and `actions`, and
|
|
17
|
+
* carried on the markup as `data-member` so a test can name one row rather than
|
|
18
|
+
* the first one.
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/** The member's own name, and the accessible name of the row's control. */
|
|
22
|
+
name: string;
|
|
23
|
+
/** What they do. Omit it rather than passing an empty string. */
|
|
24
|
+
role?: string;
|
|
25
|
+
/** Where they are, as far as the consumer knows. See `MemberPresence`. */
|
|
26
|
+
presence?: MemberPresence;
|
|
27
|
+
/**
|
|
28
|
+
* The words for the presence, in the consumer's own vocabulary.
|
|
29
|
+
*
|
|
30
|
+
* Required whenever `presence` is given and not defaulted, for the reason
|
|
31
|
+
* `StatusLedger01`'s `statusLabel` states in full: the tone is a colour and the
|
|
32
|
+
* words are the information, and three products that call the same state "free",
|
|
33
|
+
* "available" and "online" cannot be given one word by a design system. A
|
|
34
|
+
* missing one throws, because a presence dot with no words beside it is a
|
|
35
|
+
* claim about a colleague that nothing in the document backs up.
|
|
36
|
+
*/
|
|
37
|
+
presenceLabel?: string;
|
|
38
|
+
/**
|
|
39
|
+
* When the member was last here, already written as it should be read.
|
|
40
|
+
*
|
|
41
|
+
* A string rather than a `Date` and rather than a number of minutes, because a
|
|
42
|
+
* Block ships no formatting: see the Block's JSDoc for what the honest reading
|
|
43
|
+
* of a last-seen is and why Prism does not print it.
|
|
44
|
+
*/
|
|
45
|
+
lastSeen?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The portrait, with the name the initials come from.
|
|
48
|
+
*
|
|
49
|
+
* Omit it for a member the consumer has no photograph of. The initials rule
|
|
50
|
+
* is the one `AvatarGroup` applies and it is repeated rather than imported; see
|
|
51
|
+
* that Component for why the helper is not exported.
|
|
52
|
+
*/
|
|
53
|
+
avatar?: {
|
|
54
|
+
/** The photograph. Omit it, or pass a URL that fails, for the initials. */
|
|
55
|
+
src?: string;
|
|
56
|
+
/** The member's name, which is the initials' source. */
|
|
57
|
+
name: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Where the member's own record goes.
|
|
61
|
+
*
|
|
62
|
+
* Rendered as a real anchor on the identity part of the row, so the destination
|
|
63
|
+
* shows in the status bar and can be opened in a new context. Mutually
|
|
64
|
+
* exclusive with a Block-level `onSelect`: see the Block's JSDoc.
|
|
65
|
+
*/
|
|
66
|
+
href?: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* The props a MemberList01 takes.
|
|
70
|
+
*
|
|
71
|
+
* Every string is a prop and the Block ships none. There is no member list, no
|
|
72
|
+
* default presence vocabulary and not one default presence label, because a
|
|
73
|
+
* presence label is a claim about a colleague and a design system is not the party
|
|
74
|
+
* that makes it.
|
|
75
|
+
*/
|
|
76
|
+
export type MemberList01Props = {
|
|
77
|
+
/**
|
|
78
|
+
* The list's own accessible name, rendered as the list's name and as no visible
|
|
79
|
+
* text.
|
|
80
|
+
*
|
|
81
|
+
* A string rather than a node because `aria-label` is a string in the platform:
|
|
82
|
+
* a node label would need an `aria-labelledby` hop to an element the
|
|
83
|
+
* surrounding panel owns, which is the caller's decision and not this Block's.
|
|
84
|
+
*/
|
|
85
|
+
label?: string;
|
|
86
|
+
/** The section title. Omit it for a list composed inside a panel that has one. */
|
|
87
|
+
title?: ReactNode;
|
|
88
|
+
/** The members, in the order the caller wants them. The Block does not sort. */
|
|
89
|
+
members: readonly MemberList01Member[];
|
|
90
|
+
/**
|
|
91
|
+
* Makes each row a control.
|
|
92
|
+
*
|
|
93
|
+
* Pass it and every row is a real button whose accessible name is the member's
|
|
94
|
+
* own name, and this is the one Block in this wave that ships client code: a
|
|
95
|
+
* surface that attaches a handler is a client Component, and the directive is
|
|
96
|
+
* here rather than in a leaf so a consumer composing a server page gets the
|
|
97
|
+
* boundary in one place.
|
|
98
|
+
*/
|
|
99
|
+
onSelect?: (id: string) => void;
|
|
100
|
+
/**
|
|
101
|
+
* The controls at the trailing edge of one row.
|
|
102
|
+
*
|
|
103
|
+
* A function of the member id rather than a node, so a caller with one row
|
|
104
|
+
* action set draws it once for a list of any length. These are in addition to
|
|
105
|
+
* whatever `href` or `onSelect` reaches and never instead of it, which is the
|
|
106
|
+
* rule `Item` states and the reason a members list never has a row whose only
|
|
107
|
+
* destination is a kebab menu.
|
|
108
|
+
*/
|
|
109
|
+
actions?: (id: string) => ReactNode;
|
|
110
|
+
/**
|
|
111
|
+
* What the list shows when there are no members.
|
|
112
|
+
*
|
|
113
|
+
* A slot rather than a sentence, for the reason `EmptyState01` exists: an empty
|
|
114
|
+
* list has more than one reason behind it and the words differ. With nothing
|
|
115
|
+
* passed and no members, this Block renders nothing at all.
|
|
116
|
+
*/
|
|
117
|
+
empty?: ReactNode;
|
|
118
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
119
|
+
headingLevel?: HeadingLevel;
|
|
120
|
+
/**
|
|
121
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
122
|
+
* property from here is prohibited.
|
|
123
|
+
*/
|
|
124
|
+
className?: string;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* A dense list of people for an application surface: a name, a role, a presence,
|
|
128
|
+
* a last-seen column and a slot for the caller's own row actions.
|
|
129
|
+
*
|
|
130
|
+
* **This is a Block and not `Item` and not `ListPanel`, and the two facts that
|
|
131
|
+
* make it a member list are the presence dot and the last-seen column.** `Item`
|
|
132
|
+
* is a row, and it is the right row for most lists: media, a title, a
|
|
133
|
+
* description, one value and trailing controls. What it cannot be is a row that
|
|
134
|
+
* knows a colleague is online. Its `meta` is one value, so presence and last-seen
|
|
135
|
+
* would have to be packed into one field and read as a single sentence by a
|
|
136
|
+
* screen reader, which is exactly the defect `Item`'s own JSDoc argues against
|
|
137
|
+
* when it says a row should not have to guess. `ListPanel` is the other half: a
|
|
138
|
+
* titled, bounded, scrollable region with header and footer slots, which knows
|
|
139
|
+
* about a region and not about its rows. Composing a member list from those two
|
|
140
|
+
* would leave every consumer writing the same two columns again, and writing them
|
|
141
|
+
* slightly differently each time, which is the drift this package exists to end.
|
|
142
|
+
*
|
|
143
|
+
* **The presence tones are mapped here and the words are the caller's, because a
|
|
144
|
+
* wrong mapping is a claim about a colleague.** `online` is `success`. `away` is
|
|
145
|
+
* `warning`, the one tone that reads as not available rather than as broken. And
|
|
146
|
+
* `offline` is `neutral` rather than `destructive`, because most people on a
|
|
147
|
+
* members list are offline and a page of red dots says a page of faults, which
|
|
148
|
+
* nobody believes and everybody has to look at. The words beside the dot come
|
|
149
|
+
* from `presenceLabel`, because three products that call the same state "free",
|
|
150
|
+
* "available" and "online" cannot be given one word by a design system, and a dot
|
|
151
|
+
* with no words is a claim with nothing in the document to check it against.
|
|
152
|
+
*
|
|
153
|
+
* **`lastSeen` is a string and Prism prints it exactly as passed.** The honest
|
|
154
|
+
* reading of when somebody was last around is a localised one, which is what
|
|
155
|
+
* `relative-time` exists for, so the caller composes that Component in its own
|
|
156
|
+
* code and passes the reading it produced, or draws the Component beside this
|
|
157
|
+
* list. A Block that formatted the moment itself would be choosing a locale, a
|
|
158
|
+
* calendar and a granularity on a colleague's behalf, and would put `Intl` in
|
|
159
|
+
* every consumer's bundle for a rendering Prism has no stake in. The cost is
|
|
160
|
+
* stated rather than hidden: a caller who passes a raw timestamp gets a raw
|
|
161
|
+
* timestamp, which is honest and rarely what was wanted.
|
|
162
|
+
*
|
|
163
|
+
* **A row with `onSelect` is a real button whose accessible name is the member's
|
|
164
|
+
* name and nothing else.** The name is set as the accessible name explicitly so
|
|
165
|
+
* that the role, the presence words and the last-seen reading inside the row do
|
|
166
|
+
* not get appended to it, which would make the button's name a sentence a
|
|
167
|
+
* speaker has to read twice. The visible name is inside that accessible name, so
|
|
168
|
+
* the WCAG rule that a visible label must be contained in the accessible name
|
|
169
|
+
* holds; the alternative, letting the row's own text name the button, is the
|
|
170
|
+
* arrangement this sentence exists to prevent. The button wraps the identity part
|
|
171
|
+
* of the row only, with the presence, the reading and the caller's actions
|
|
172
|
+
* outside it, so one row is one control and the actions are the second thing a
|
|
173
|
+
* reader meets rather than the first.
|
|
174
|
+
*
|
|
175
|
+
* **`href` and `onSelect` are exclusive per member, and the type cannot say so,
|
|
176
|
+
* so a check does.** A row that is a link and a button at once is not a control
|
|
177
|
+
* any keyboard model can express, and passing both is a mistake rather than a
|
|
178
|
+
* request, so it throws in a consumer's console rather than rendering one of the
|
|
179
|
+
* two. The alternative was a union on the member type keyed on a Block-level
|
|
180
|
+
* prop, which would have made every caller narrow their own data for a decision
|
|
181
|
+
* this Block can make once.
|
|
182
|
+
*
|
|
183
|
+
* It is the one client Block in this wave and the directive is the reason rather
|
|
184
|
+
* than an accident: `onSelect` attaches a handler, and a surface that attaches a
|
|
185
|
+
* handler owns the JavaScript that carries it. With `onSelect` omitted the
|
|
186
|
+
* rendered output is entirely static and there is no state to hydrate, because
|
|
187
|
+
* `Avatar` is the only client leaf and its client work is measuring whether an
|
|
188
|
+
* image has loaded.
|
|
189
|
+
*/
|
|
190
|
+
export declare function MemberList01({ label, title, members, onSelect, actions, empty, headingLevel, className, }: MemberList01Props): import("react").JSX.Element;
|
|
191
|
+
export default MemberList01;
|
|
192
|
+
//# sourceMappingURL=member-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"member-list.d.ts","sourceRoot":"","sources":["../../../src/blocks/member-list-01/member-list.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AA4BxF;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAA;AAE1D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IACV,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAA;IACZ,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP,2EAA2E;QAC3E,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,wDAAwD;QACxD,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kFAAkF;IAClF,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,gFAAgF;IAChF,OAAO,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,CAAA;IACnC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAgDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,KAAK,EACL,YAAmB,EACnB,SAAS,GACV,EAAE,iBAAiB,+BA+GnB;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Avatar, AvatarFallback, AvatarImage } from '../../components/ui/avatar.js';
|
|
4
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
5
|
+
import { Status } from '../../components/ui/status.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The three presences a member can be in, and the tone each one is drawn in.
|
|
9
|
+
*
|
|
10
|
+
* The mapping is stated here rather than left in the caller's hands, and the
|
|
11
|
+
* reason is that a presence is a statement about a colleague. `online` is
|
|
12
|
+
* `success`, because it is the state the reader is looking for and it is the one
|
|
13
|
+
* a green dot has always meant. `away` is `warning`, because a colleague who is
|
|
14
|
+
* away has said they are not available and amber is the one tone in the contract
|
|
15
|
+
* that reads as not available rather than as broken. `offline` is `neutral`,
|
|
16
|
+
* because most people on a member list are offline and a row of red dots is a
|
|
17
|
+
* page of alarms that means nothing.
|
|
18
|
+
*
|
|
19
|
+
* `offline` is deliberately not `destructive`. Somebody who closed their laptop
|
|
20
|
+
* has not broken anything, and a tone that says they have is a claim about a
|
|
21
|
+
* colleague drawn from a row of data. The cost is stated rather than hidden: a
|
|
22
|
+
* reader who cannot separate `neutral` from `success` on a small dot still reads
|
|
23
|
+
* the words beside it, which is the same trade `Status` makes everywhere.
|
|
24
|
+
*/
|
|
25
|
+
const PRESENCE_TONE = {
|
|
26
|
+
online: 'success',
|
|
27
|
+
away: 'warning',
|
|
28
|
+
offline: 'neutral',
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The initials a name produces, and the rule that produces them.
|
|
32
|
+
*
|
|
33
|
+
* Two letters from the first and last words, and the first two characters of a
|
|
34
|
+
* single word. It is the same rule `AvatarGroup` applies, repeated rather than
|
|
35
|
+
* imported, and the boundary is the reason: that helper is private to its module
|
|
36
|
+
* and exporting it would make a private derivation part of a published surface
|
|
37
|
+
* to save six lines in a Block. The cost is stated rather than hidden: two
|
|
38
|
+
* modules carry the rule, so a change to it is a change in both.
|
|
39
|
+
*/
|
|
40
|
+
function initialsOf(name) {
|
|
41
|
+
const words = name.trim().split(/\s+/).filter(Boolean);
|
|
42
|
+
const first = words[0];
|
|
43
|
+
if (first === undefined)
|
|
44
|
+
return '';
|
|
45
|
+
if (words.length === 1)
|
|
46
|
+
return first.slice(0, 2).toUpperCase();
|
|
47
|
+
return `${first.charAt(0)}${words[words.length - 1].charAt(0)}`.toUpperCase();
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The three refusals, so that a member list never renders something it cannot
|
|
51
|
+
* justify.
|
|
52
|
+
*
|
|
53
|
+
* A presence with no words is a coloured dot, which is unreadable to a screen
|
|
54
|
+
* reader and invisible to a reader who cannot separate the tones. A member with
|
|
55
|
+
* both a destination and a selection is two controls in one row, which no
|
|
56
|
+
* keyboard model can express. The rest is composition the caller owns.
|
|
57
|
+
*/
|
|
58
|
+
function assertMembers(members, selectable) {
|
|
59
|
+
for (const member of members) {
|
|
60
|
+
if (member.presence !== undefined && (member.presenceLabel === undefined || member.presenceLabel.trim() === '')) {
|
|
61
|
+
throw new Error('MemberList01: a member declares a presence and no presenceLabel, so the dot would be a colour with ' +
|
|
62
|
+
'nothing to read beside it, which is a claim about a colleague no document backs up. Pass the words ' +
|
|
63
|
+
'this product uses for that state.');
|
|
64
|
+
}
|
|
65
|
+
if (selectable && member.href !== undefined) {
|
|
66
|
+
throw new Error('MemberList01: a member declares an href while the list is selectable, so the row would be a link and a ' +
|
|
67
|
+
'button at once. Pick one for the row: either the member has a destination, or the row selects.');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* A dense list of people for an application surface: a name, a role, a presence,
|
|
73
|
+
* a last-seen column and a slot for the caller's own row actions.
|
|
74
|
+
*
|
|
75
|
+
* **This is a Block and not `Item` and not `ListPanel`, and the two facts that
|
|
76
|
+
* make it a member list are the presence dot and the last-seen column.** `Item`
|
|
77
|
+
* is a row, and it is the right row for most lists: media, a title, a
|
|
78
|
+
* description, one value and trailing controls. What it cannot be is a row that
|
|
79
|
+
* knows a colleague is online. Its `meta` is one value, so presence and last-seen
|
|
80
|
+
* would have to be packed into one field and read as a single sentence by a
|
|
81
|
+
* screen reader, which is exactly the defect `Item`'s own JSDoc argues against
|
|
82
|
+
* when it says a row should not have to guess. `ListPanel` is the other half: a
|
|
83
|
+
* titled, bounded, scrollable region with header and footer slots, which knows
|
|
84
|
+
* about a region and not about its rows. Composing a member list from those two
|
|
85
|
+
* would leave every consumer writing the same two columns again, and writing them
|
|
86
|
+
* slightly differently each time, which is the drift this package exists to end.
|
|
87
|
+
*
|
|
88
|
+
* **The presence tones are mapped here and the words are the caller's, because a
|
|
89
|
+
* wrong mapping is a claim about a colleague.** `online` is `success`. `away` is
|
|
90
|
+
* `warning`, the one tone that reads as not available rather than as broken. And
|
|
91
|
+
* `offline` is `neutral` rather than `destructive`, because most people on a
|
|
92
|
+
* members list are offline and a page of red dots says a page of faults, which
|
|
93
|
+
* nobody believes and everybody has to look at. The words beside the dot come
|
|
94
|
+
* from `presenceLabel`, because three products that call the same state "free",
|
|
95
|
+
* "available" and "online" cannot be given one word by a design system, and a dot
|
|
96
|
+
* with no words is a claim with nothing in the document to check it against.
|
|
97
|
+
*
|
|
98
|
+
* **`lastSeen` is a string and Prism prints it exactly as passed.** The honest
|
|
99
|
+
* reading of when somebody was last around is a localised one, which is what
|
|
100
|
+
* `relative-time` exists for, so the caller composes that Component in its own
|
|
101
|
+
* code and passes the reading it produced, or draws the Component beside this
|
|
102
|
+
* list. A Block that formatted the moment itself would be choosing a locale, a
|
|
103
|
+
* calendar and a granularity on a colleague's behalf, and would put `Intl` in
|
|
104
|
+
* every consumer's bundle for a rendering Prism has no stake in. The cost is
|
|
105
|
+
* stated rather than hidden: a caller who passes a raw timestamp gets a raw
|
|
106
|
+
* timestamp, which is honest and rarely what was wanted.
|
|
107
|
+
*
|
|
108
|
+
* **A row with `onSelect` is a real button whose accessible name is the member's
|
|
109
|
+
* name and nothing else.** The name is set as the accessible name explicitly so
|
|
110
|
+
* that the role, the presence words and the last-seen reading inside the row do
|
|
111
|
+
* not get appended to it, which would make the button's name a sentence a
|
|
112
|
+
* speaker has to read twice. The visible name is inside that accessible name, so
|
|
113
|
+
* the WCAG rule that a visible label must be contained in the accessible name
|
|
114
|
+
* holds; the alternative, letting the row's own text name the button, is the
|
|
115
|
+
* arrangement this sentence exists to prevent. The button wraps the identity part
|
|
116
|
+
* of the row only, with the presence, the reading and the caller's actions
|
|
117
|
+
* outside it, so one row is one control and the actions are the second thing a
|
|
118
|
+
* reader meets rather than the first.
|
|
119
|
+
*
|
|
120
|
+
* **`href` and `onSelect` are exclusive per member, and the type cannot say so,
|
|
121
|
+
* so a check does.** A row that is a link and a button at once is not a control
|
|
122
|
+
* any keyboard model can express, and passing both is a mistake rather than a
|
|
123
|
+
* request, so it throws in a consumer's console rather than rendering one of the
|
|
124
|
+
* two. The alternative was a union on the member type keyed on a Block-level
|
|
125
|
+
* prop, which would have made every caller narrow their own data for a decision
|
|
126
|
+
* this Block can make once.
|
|
127
|
+
*
|
|
128
|
+
* It is the one client Block in this wave and the directive is the reason rather
|
|
129
|
+
* than an accident: `onSelect` attaches a handler, and a surface that attaches a
|
|
130
|
+
* handler owns the JavaScript that carries it. With `onSelect` omitted the
|
|
131
|
+
* rendered output is entirely static and there is no state to hydrate, because
|
|
132
|
+
* `Avatar` is the only client leaf and its client work is measuring whether an
|
|
133
|
+
* image has loaded.
|
|
134
|
+
*/
|
|
135
|
+
export function MemberList01({ label, title, members, onSelect, actions, empty, headingLevel = 'h2', className, }) {
|
|
136
|
+
assertMembers(members, onSelect !== undefined);
|
|
137
|
+
return (_jsxs(Section, { className: cn('py-6', className), children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", title: title, className: "mb-6" })) : null, members.length === 0 ? (empty === undefined ? null : (_jsx("div", { "data-slot": "member-list-empty", className: "text-muted-foreground text-pretty text-sm", children: empty }))) : (_jsx("ul", { "data-slot": "member-list", "aria-label": label, className: "border-border flex flex-col border-t", children: members.map((member) => {
|
|
138
|
+
const identity = (_jsxs(_Fragment, { children: [member.name, member.role === undefined ? null : (_jsx("span", { className: "text-muted-foreground block text-xs", children: member.role }))] }));
|
|
139
|
+
return (_jsxs("li", { "data-slot": "member-list-row", "data-member": member.id, "data-presence": member.presence, className: "border-border flex items-center gap-3 border-b px-3 py-2", children: [member.avatar === undefined ? null : (_jsxs(Avatar, { className: "size-8", children: [member.avatar.src === undefined ? null : (_jsx(AvatarImage, { src: member.avatar.src, alt: "" })), _jsx(AvatarFallback, { className: "text-mono", children: initialsOf(member.avatar.name) })] })), onSelect === undefined ? (member.href === undefined ? (_jsx("span", { "data-slot": "member-list-identity", className: "min-w-0 flex-1 text-sm font-medium", children: identity })) : (_jsx("a", { "data-slot": "member-list-identity", href: member.href, className: "focus-visible:ring-ring min-w-0 flex-1 rounded-sm text-sm font-medium transition-colors duration-fast ease-out hover:underline focus-visible:ring-[3px] focus-visible:outline-none", children: identity }))) : (_jsx("button", { "data-slot": "member-list-identity", type: "button", "aria-label": member.name, onClick: () => onSelect(member.id), className: "focus-visible:ring-ring min-w-0 flex-1 rounded-sm text-left text-sm font-medium transition-colors duration-fast ease-out hover:underline focus-visible:ring-[3px] focus-visible:outline-none", children: identity })), member.presence === undefined ? null : (_jsx(Status, { size: "sm", tone: PRESENCE_TONE[member.presence], label: member.presenceLabel, className: "shrink-0" })), member.lastSeen === undefined ? null : (_jsx("span", { "data-slot": "member-list-last-seen", className: "text-muted-foreground shrink-0 text-xs tabular-nums sm:w-40 sm:text-right", children: member.lastSeen })), actions === undefined ? null : (_jsx("span", { "data-slot": "member-list-actions", className: "flex shrink-0 items-center gap-1", children: actions(member.id) }))] }, member.id));
|
|
140
|
+
}) }))] }));
|
|
141
|
+
}
|
|
142
|
+
export default MemberList01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/milestone-timeline-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAMnE,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MilestoneTimeline01, default } from './milestone-timeline.js';
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The three states a milestone can be in.
|
|
5
|
+
*
|
|
6
|
+
* Three, and the set is the sequence's rather than the Block's: a milestone
|
|
7
|
+
* either happened, is where the system is, or has not happened yet, and a fourth
|
|
8
|
+
* such as `delayed` or `at-risk` is a claim about a plan rather than a position
|
|
9
|
+
* in a sequence, which is what the three words are. A caller whose roadmap has a
|
|
10
|
+
* fourth state states it in the `body`, where a reader reads a sentence about one
|
|
11
|
+
* milestone, rather than here, where a fourth mark would be a colour the reader
|
|
12
|
+
* has to learn and a maintainer has to keep true.
|
|
13
|
+
*/
|
|
14
|
+
export type MilestoneState = 'complete' | 'current' | 'upcoming';
|
|
15
|
+
/**
|
|
16
|
+
* One thing a system reached, when it reached it, and how far along it was.
|
|
17
|
+
*/
|
|
18
|
+
export type Milestone = {
|
|
19
|
+
/** A stable key for the milestone. */
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* When it was reached, already written the way the reader should see it.
|
|
23
|
+
*
|
|
24
|
+
* A string and not a `Date`, for the reason this repository has already written
|
|
25
|
+
* down for the sibling that takes the same field: a `Date` carries a timezone
|
|
26
|
+
* and a calendar and renders as `Wed Mar 04 2026 00:00:00 GMT+0000` unless
|
|
27
|
+
* something formats it, so a `Date` prop would push the formatting decision
|
|
28
|
+
* onto every consumer and make the wrong answer the easy one. As a string the
|
|
29
|
+
* Block prints what it was given, which is honest whether that is `2024`,
|
|
30
|
+
* `Q3 2024` or `Winter 2024`. A caller who needs a localised absolute reading
|
|
31
|
+
* composes `RelativeTime` themselves, which hands back the platform's own
|
|
32
|
+
* formatting for the moment and the caller's own words for the distance from
|
|
33
|
+
* now, and a caller who wants a fixed date uses the platform's
|
|
34
|
+
* `Intl.DateTimeFormat` directly. Neither is available to this Block, which
|
|
35
|
+
* knows no locale and would ship English month names into every consumer's
|
|
36
|
+
* product.
|
|
37
|
+
*/
|
|
38
|
+
at: string;
|
|
39
|
+
/** What the milestone is called, in the caller's own words. */
|
|
40
|
+
title: string;
|
|
41
|
+
/** What the milestone changed, for a reader who has arrived at it. */
|
|
42
|
+
body?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* How far along this milestone was, as a percentage, or nothing.
|
|
45
|
+
*
|
|
46
|
+
* Omit it for a milestone that is a moment rather than a piece of work, and the
|
|
47
|
+
* row draws no bar at all rather than a bar at zero, because a bar at zero is a
|
|
48
|
+
* claim that nothing happened and a milestone is by definition something that
|
|
49
|
+
* did.
|
|
50
|
+
*/
|
|
51
|
+
progress?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Where the milestone stands. Omit it and the row draws a bare tick on the
|
|
54
|
+
* rail rather than one of the three state marks, because the alternative is
|
|
55
|
+
* this Block drawing a state the caller did not say.
|
|
56
|
+
*/
|
|
57
|
+
state?: MilestoneState;
|
|
58
|
+
/** Where the milestone goes. Rendered as a native anchor. */
|
|
59
|
+
href?: string;
|
|
60
|
+
/** The words on that link. Required whenever `href` is set. */
|
|
61
|
+
hrefLabel?: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* The props a MilestoneTimeline01 takes.
|
|
65
|
+
*
|
|
66
|
+
* Every string and every number is a prop and the Block ships none. There is no
|
|
67
|
+
* default sequence, no default date, no default state and no default wording for
|
|
68
|
+
* the current milestone, and the absence of the sequence is the sharpest version
|
|
69
|
+
* of the rule: what a system has reached is a claim about a system, and a Block
|
|
70
|
+
* that shipped one would be publishing a roadmap on every consumer's behalf.
|
|
71
|
+
*/
|
|
72
|
+
export type MilestoneTimeline01Props = {
|
|
73
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
74
|
+
eyebrow?: string;
|
|
75
|
+
/** The section title. Required, because a sequence with no heading is a fragment. */
|
|
76
|
+
title: ReactNode;
|
|
77
|
+
/** One or two sentences under the title. */
|
|
78
|
+
description?: ReactNode;
|
|
79
|
+
/**
|
|
80
|
+
* The milestones, in the order they were reached. Order is the caller's,
|
|
81
|
+
* because it is a claim about what came first.
|
|
82
|
+
*/
|
|
83
|
+
milestones: readonly Milestone[];
|
|
84
|
+
/**
|
|
85
|
+
* The words for the milestone that is current, and the only state on the rail
|
|
86
|
+
* that carries any. Required whenever a milestone is `current`.
|
|
87
|
+
*/
|
|
88
|
+
nowLabel?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The words for a milestone's progress, given the number.
|
|
91
|
+
*
|
|
92
|
+
* Required whenever any milestone carries `progress`. See the Component JSDoc
|
|
93
|
+
* for why the bar's own value is not enough to announce.
|
|
94
|
+
*/
|
|
95
|
+
progressLabel?: (value: number) => string;
|
|
96
|
+
/**
|
|
97
|
+
* Heading level for the section title. @defaultValue 'h2'
|
|
98
|
+
*
|
|
99
|
+
* See `HeadingLevel`.
|
|
100
|
+
*/
|
|
101
|
+
headingLevel?: HeadingLevel;
|
|
102
|
+
/**
|
|
103
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
104
|
+
* property from here is prohibited.
|
|
105
|
+
*/
|
|
106
|
+
className?: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* A dated sequence of what a system reached: when, what, and how far along it
|
|
110
|
+
* was, on a rail with a rule down one side and a fill per milestone.
|
|
111
|
+
*
|
|
112
|
+
* **What this is not, and it has to be sharp because two sibling items exist and
|
|
113
|
+
* a reader will meet all three.** The three differ by tense and by whether the
|
|
114
|
+
* sequence is still running, and nothing else, so the differences are worth
|
|
115
|
+
* stating as exactly that. `timeline.tsx` is a Component, not a Block, and it
|
|
116
|
+
* shows where a **run** has got to **as it happens**: it is fed events, it has
|
|
117
|
+
* four run states of its own (`pending`, `running`, `done`, `failed`), it scales
|
|
118
|
+
* each step's duration against the longest step in the run, and one of its states
|
|
119
|
+
* moves. It is a `live` concern, and a reader who met one of those on a page
|
|
120
|
+
* would be told something about the product is running right now. `story-01` is
|
|
121
|
+
* a Block, and it arranges a company's **past** in the **past tense**: a history,
|
|
122
|
+
* dated, in the order it happened, with a figure beside some of the entries and
|
|
123
|
+
* no state on any of them, because a history has nothing to be current about.
|
|
124
|
+
* This Block is a Block too, and it shows a system's **reached and not yet** state
|
|
125
|
+
* with a **fill per milestone**, and that is the middle case: it has a future, so
|
|
126
|
+
* it has an `upcoming`, and it has a position, so exactly one of its milestones
|
|
127
|
+
* may be `current` and that one is named. A consumer who has a run wants
|
|
128
|
+
* `Timeline`, a consumer who has a company wants `story-01`, and a consumer who
|
|
129
|
+
* has a system that has got to where it is now, and has not got to the rest of
|
|
130
|
+
* it, wants this.
|
|
131
|
+
*
|
|
132
|
+
* **The fill is `Progress`, and a filled bar drawn here would be a second
|
|
133
|
+
* implementation of a Component whose accessibility was already worked out.**
|
|
134
|
+
* Three states in a row is what `steps.tsx` already owns, and a Block that
|
|
135
|
+
* re-drew the rule would be a second implementation of a Component whose
|
|
136
|
+
* accessibility was already worked out. The same argument settles the bar: a
|
|
137
|
+
* hand-drawn filled bar is a div with a width on it, and a div with a width is a
|
|
138
|
+
* picture of a value that no screen reader, no crawler and no print stylesheet can
|
|
139
|
+
* read, which is the exact failure `Progress` exists to close, because it exposes
|
|
140
|
+
* the value, the minimum and the maximum through ARIA and takes the words for it
|
|
141
|
+
* through `valueText`. The cost of composing it rather than drawing is real
|
|
142
|
+
* and is named here: `Progress` is a client Component over Base UI, so a
|
|
143
|
+
* milestone that carries a `progress` is a client island, and a consumer with
|
|
144
|
+
* eight milestones all carrying one is paying for eight. The answer is to leave
|
|
145
|
+
* `progress` off the milestones that are moments, which is what the prop's own
|
|
146
|
+
* documentation says.
|
|
147
|
+
*
|
|
148
|
+
* **The words travel as a string and not as a function, and that is the server
|
|
149
|
+
* boundary rather than a preference.** This Block is a server Component and
|
|
150
|
+
* `Progress` is a client one, so a callback prop handed down from here is a build
|
|
151
|
+
* error: the two halves do not share a runtime, and a function cannot be
|
|
152
|
+
* serialised across the seam. It called `getAriaValueText={(v) => progressLabel(v)}`
|
|
153
|
+
* first, and the whole roster failed to prerender on the first milestone that
|
|
154
|
+
* carried a bar. `Progress` therefore publishes `valueText` for exactly this case
|
|
155
|
+
* and throws when a caller gives it both forms, so the ambiguity is reported
|
|
156
|
+
* rather than resolved by whichever prop the framework happened to read last.
|
|
157
|
+
*
|
|
158
|
+
* **`progressLabel` is required whenever a milestone carries a `progress`, and
|
|
159
|
+
* the reason is that the number is not a sentence and does not know its unit.**
|
|
160
|
+
* A milestone's bar is a percentage of something this Block cannot see, and
|
|
161
|
+
* sixty per cent of a migration is not the same fact as sixty per cent of a
|
|
162
|
+
* rollout of a policy, so the bar alone announces a bare figure that means
|
|
163
|
+
* whatever the reader assumes. The label is the caller's because the thing being
|
|
164
|
+
* measured is the caller's, and the same argument as `RelativeTime` applies to the
|
|
165
|
+
* rest of this surface: a sentence about a caller's own quantity cannot be
|
|
166
|
+
* authored here, because Prism does not know the unit, the period, or what the
|
|
167
|
+
* bar is a bar of.
|
|
168
|
+
*
|
|
169
|
+
* **`nowLabel` is required whenever a milestone is `current`, and the reason is
|
|
170
|
+
* the one this package keeps arriving at from three directions.** A mark is a
|
|
171
|
+
* shape, and a reader who cannot separate the emphasis ink from the border colour
|
|
172
|
+
* has learned nothing from it; a `current` milestone is the one row a reader may
|
|
173
|
+
* act on, and an unnamed current row is a row a reader has to guess the
|
|
174
|
+
* importance of. `StatusLedger01` requires its words for the same reason,
|
|
175
|
+
* `InstrumentPanel01` throws on a state with no label beside it, and the copy gate
|
|
176
|
+
* holds the close button of a dialog for it. The Block throws rather than
|
|
177
|
+
* shipping a state a reader can only see.
|
|
178
|
+
*
|
|
179
|
+
* **A milestone with no state draws a tick and not one of the three marks.**
|
|
180
|
+
* That is a small decision with a large one behind it. The three state marks all
|
|
181
|
+
* say something: this one is reached, this one is where the system is, this one
|
|
182
|
+
* has not happened. A caller who passes no `state` has said none of those, and the
|
|
183
|
+
* Block cannot pick one on their behalf, because the two available guesses are
|
|
184
|
+
* both wrong in a way a reader would act on. Drawing it as `complete` claims the
|
|
185
|
+
* system got there, and a milestone the team is still working on would then read
|
|
186
|
+
* as done. Drawing it as `upcoming` claims it has not, and a milestone that
|
|
187
|
+
* finished last year would then read as pending. So the row draws a bare hairline
|
|
188
|
+
* on the rail, which reads as a mark that has nothing to say, and the sequence is
|
|
189
|
+
* still complete and legible without it.
|
|
190
|
+
*
|
|
191
|
+
* **`at` is a string rather than a `Date`, so the caller keeps its own locale.**
|
|
192
|
+
* See the field's own documentation above. A `Date` prop would carry a timezone
|
|
193
|
+
* and a calendar into a Block that formats nothing, and the honest way to render
|
|
194
|
+
* a moment in a caller's language is the caller's to compose: `RelativeTime` for
|
|
195
|
+
* a localised absolute reading with the relative words handed back, or the
|
|
196
|
+
* platform's `Intl.DateTimeFormat` for a fixed one.
|
|
197
|
+
*
|
|
198
|
+
* **One `<ol>`, and the rail is not a second list.** A sequence drawn as a row
|
|
199
|
+
* per group would be several lists, and a screen reader would announce it as
|
|
200
|
+
* several. The milestones are one ordered list, the spine is a decorative span
|
|
201
|
+
* inside each entry and is `aria-hidden`, so the sequence is read from the
|
|
202
|
+
* entries and not from a rule. The spine runs from the mark to the bottom of its
|
|
203
|
+
* own entry and the last entry draws none, which is the detail that separates a
|
|
204
|
+
* rail from a border.
|
|
205
|
+
*
|
|
206
|
+
* A milestone title is a heading one step below the section, derived rather than
|
|
207
|
+
* written, so a Block embedded one level deeper carries its headings with it. A
|
|
208
|
+
* body of more than about four lines stops being a milestone body, and the detail
|
|
209
|
+
* belongs above the rail in `description` or in the caller's own figure.
|
|
210
|
+
*
|
|
211
|
+
* It is a server Component: no hook, no state, no client code of its own and no
|
|
212
|
+
* router. The only client code it can pull in is one `Progress` island per
|
|
213
|
+
* milestone that asks for a fill.
|
|
214
|
+
*/
|
|
215
|
+
export declare function MilestoneTimeline01({ eyebrow, title, description, milestones, nowLabel, progressLabel, headingLevel, className, }: MilestoneTimeline01Props): import("react").JSX.Element | null;
|
|
216
|
+
export default MilestoneTimeline01;
|
|
217
|
+
//# sourceMappingURL=milestone-timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"milestone-timeline.d.ts","sourceRoot":"","sources":["../../../src/blocks/milestone-timeline-01/milestone-timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAIpG;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAA;AAkBhE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAA;IACV;;;;;;;;;;;;;;;;OAgBG;IACH,EAAE,EAAE,MAAM,CAAA;IACV,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qFAAqF;IACrF,KAAK,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;OAGG;IACH,UAAU,EAAE,SAAS,SAAS,EAAE,CAAA;IAChC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACzC;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,KAAK,EACL,WAAW,EACX,UAAU,EACV,QAAQ,EACR,aAAa,EACb,YAAmB,EACnB,SAAS,GACV,EAAE,wBAAwB,sCAsI1B;AAED,eAAe,mBAAmB,CAAA"}
|