@nanisoft/prism-ui 0.13.0 → 0.15.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 +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -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 +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -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 +3 -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 +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -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/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/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/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 +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- 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 +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -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/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.js +4 -4
- 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/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 +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- 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 +98 -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/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 +1003 -55
- package/package.json +9 -3
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Contact01, } from '../../blocks/contact-01/index.js';
|
|
4
|
+
import { Card, CardContent, CardHeader, CardTitle } from '../../components/ui/card.js';
|
|
5
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
6
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* One declared field as `Contact01` draws it, with the two shapes kept apart.
|
|
10
|
+
*
|
|
11
|
+
* `Contact01` declares a union whose select arm requires `options`, and this Page's
|
|
12
|
+
* prop is flat on purpose, so the union is built here once and the flat pair is
|
|
13
|
+
* checked above before this runs. The alternative was forwarding the flat record
|
|
14
|
+
* and letting the Block's own diagnostic fire three frames down, which names the
|
|
15
|
+
* Block rather than the prop the caller passed.
|
|
16
|
+
*/
|
|
17
|
+
function asContactField(field) {
|
|
18
|
+
const shared = {
|
|
19
|
+
id: field.id,
|
|
20
|
+
label: field.label,
|
|
21
|
+
required: field.required,
|
|
22
|
+
description: field.description,
|
|
23
|
+
placeholder: field.placeholder,
|
|
24
|
+
autoComplete: field.autoComplete,
|
|
25
|
+
};
|
|
26
|
+
if (field.type !== 'select')
|
|
27
|
+
return { ...shared, type: field.type };
|
|
28
|
+
const options = field.options ?? [];
|
|
29
|
+
if (options.length === 0) {
|
|
30
|
+
throw new Error(`ContactPage: the field "${field.id}" is a select and passes no options, so the control would render with ` +
|
|
31
|
+
'nothing in it, which is a question no reader can answer and looks answered only because the control is ' +
|
|
32
|
+
'there and focusable. Pass the choices, or declare the field as a text field and check the answer in ' +
|
|
33
|
+
'your own handler.');
|
|
34
|
+
}
|
|
35
|
+
return { ...shared, type: 'select', options: options.map((option) => ({ ...option })) };
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The two checks the office union makes for a TypeScript caller, run here for the
|
|
39
|
+
* JavaScript one and for the value that came out of a build step with the type's
|
|
40
|
+
* guarantee already gone.
|
|
41
|
+
*
|
|
42
|
+
* Both are about a card that would say less than it appears to. An office with no
|
|
43
|
+
* postal lines is a card that asserts a place exists and does not say where, and a
|
|
44
|
+
* map link with no words is a control announced as a coordinate.
|
|
45
|
+
*/
|
|
46
|
+
function assertOffices(offices) {
|
|
47
|
+
for (const office of offices ?? []) {
|
|
48
|
+
if (office.lines.length === 0) {
|
|
49
|
+
throw new Error(`ContactPage: the office "${office.id}" declares no postal lines, so the card would name a place and say ` +
|
|
50
|
+
'nothing about where it is. Pass the lines a reader would write on an envelope, or drop the office and ' +
|
|
51
|
+
'let the form carry the enquiry.');
|
|
52
|
+
}
|
|
53
|
+
if (office.mapHref !== undefined && (!office.mapLabel || office.mapLabel.trim() === '')) {
|
|
54
|
+
throw new Error(`ContactPage: the office "${office.id}" carries a map link with no mapLabel, so the control would be ` +
|
|
55
|
+
'announced by its destination, which is punctuation rather than a name. Pass the words that say what ' +
|
|
56
|
+
'the link does, or drop it.');
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A complete contact screen: the page heading, the form the caller declares, the
|
|
62
|
+
* places a reader can reach a person, and the questions they should not have to ask
|
|
63
|
+
* to find this screen.
|
|
64
|
+
*
|
|
65
|
+
* **The offices are the part that makes this a Page rather than a `Contact01`, and
|
|
66
|
+
* it is worth saying what that Block cannot do.** A contact Block is a band: one
|
|
67
|
+
* form, in one column, with the caller's fields. A contact screen is the band, the
|
|
68
|
+
* places, and the questions, and the two extras are what a reader actually arrives
|
|
69
|
+
* with, because a reader who wants to write has a fallback and a reader who has run
|
|
70
|
+
* out of patience has a map. `Contact01` has an `address` arm and this Page does not
|
|
71
|
+
* use it, for three reasons that all point the same way: that arm holds exactly one
|
|
72
|
+
* postal address where a business has as many as it has regions; it has no field for
|
|
73
|
+
* a name for the place, so three cities are three unlabelled blocks of lines; and
|
|
74
|
+
* its link arm is a `mailto`, which is the wrong link for a place that is not
|
|
75
|
+
* reachable by post. A consumer whose only address is one postal address beside one
|
|
76
|
+
* form should compose `Contact01` with that arm, which is the better arrangement
|
|
77
|
+
* for one address, and the cost here is the other thing: the offices are a band
|
|
78
|
+
* under the form rather than a column beside it, because a Block that draws its own
|
|
79
|
+
* `Section` cannot be dropped into a grid column without the page's vertical rhythm
|
|
80
|
+
* doubling, which is the same reason `dashboard-page` stacks its bands rather than
|
|
81
|
+
* setting two of them side by side.
|
|
82
|
+
*
|
|
83
|
+
* **The offices are facts and not controls, and the type is what holds that.** A
|
|
84
|
+
* postal line is a string a reader copies. `detail` is a node, because the honest
|
|
85
|
+
* thing under a place is sometimes a sentence and sometimes a small table of
|
|
86
|
+
* opening hours, and a string would force one of those to be flattened. The only
|
|
87
|
+
* link a card may carry is the caller's own map link, and it carries words, and the
|
|
88
|
+
* union is what makes those words required. A screen that turned its regions into
|
|
89
|
+
* navigation would be telling a reader that a place is a topic they can read about,
|
|
90
|
+
* and the only topic any of them has is how to get there.
|
|
91
|
+
*
|
|
92
|
+
* **The page heading and the form band are two headings and not one sentence twice.**
|
|
93
|
+
* The rejected alternative was handing `title` to the form and letting the Block's
|
|
94
|
+
* section heading be the page's `h1`, which is what `onboarding-page` does and what
|
|
95
|
+
* it can do because its first band is the whole screen. Here the first band is a
|
|
96
|
+
* form with a name of its own, and a screen whose page heading was "Talk to us" and
|
|
97
|
+
* whose form heading was also "Talk to us" would be a page with one heading drawn
|
|
98
|
+
* twice and a reader navigating by heading who met the form rather than the page.
|
|
99
|
+
*
|
|
100
|
+
* **The status is `Contact01`'s, and the refusal to invent one is the whole of this
|
|
101
|
+
* Page's copy law.** There is no success sentence anywhere in this file, no `sent`
|
|
102
|
+
* flag written by this package, and no "we will reply within a day". A contact
|
|
103
|
+
* request can be delivered, held by a filter, filed by a bot, refused as a duplicate
|
|
104
|
+
* and answered, and one sentence cannot be true of all five, so the caller owns the
|
|
105
|
+
* promise and writes the words. The cost is that a consumer who installs this screen
|
|
106
|
+
* has to write a sentence they will get wrong once.
|
|
107
|
+
*
|
|
108
|
+
* **It is a client Component, and the reason is `onSubmit`.** A handler is a
|
|
109
|
+
* function, a function is a piece of state, and a function cannot cross from a
|
|
110
|
+
* server Component to a client Component, so a server Page that took one would hand
|
|
111
|
+
* a caller a form that gathers a person's name, an address and a message and then
|
|
112
|
+
* calls nothing. `Contact01` is a client module for the same reason and the Page
|
|
113
|
+
* cannot be a server module in front of it. The cost is stated rather than hidden:
|
|
114
|
+
* every datum on this screen is serialised across the boundary to reach a band three
|
|
115
|
+
* elements down, and the rejected alternative was a form slot, which would have
|
|
116
|
+
* been a Page that owns a heading, a row of addresses and nothing a reader could
|
|
117
|
+
* submit.
|
|
118
|
+
*/
|
|
119
|
+
export function ContactPage({ eyebrow, title, description, form, fields, onSubmit, submitLabel, consent, status, offices, officesLabel, footer, headingLevel = 'h1', className, }) {
|
|
120
|
+
assertOffices(offices);
|
|
121
|
+
/*
|
|
122
|
+
The band heading is one step below the page heading and an office's name is one
|
|
123
|
+
step below that, which is what `childLevel` is for: a hardcoded level in each
|
|
124
|
+
would be right exactly once.
|
|
125
|
+
*/
|
|
126
|
+
const BandHeading = childLevel(headingLevel);
|
|
127
|
+
const OfficeHeading = childLevel(BandHeading);
|
|
128
|
+
return (_jsxs("div", { "data-slot": "contact-page", className: cn(className), children: [_jsx(Section, { "data-slot": "contact-page-heading", children: _jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description }) }), _jsx(Contact01, { title: form.title, description: form.description, fields: fields.map(asContactField), onSubmit: onSubmit, submitLabel: submitLabel, consent: consent, status: status, variant: "stacked", headingLevel: BandHeading }), offices === undefined ? null : (_jsxs(Section, { "data-slot": "contact-page-offices", children: [_jsx(SectionHeading, { as: BandHeading, align: "left", title: officesLabel, className: "mb-10" }), _jsx("div", { "data-slot": "contact-page-office-row", className: "grid items-start gap-6 md:grid-cols-2 lg:grid-cols-3", children: offices.map((office) => (_jsxs(Card, { "data-slot": "contact-page-office", "data-office": office.id, className: "h-full", children: [_jsx(CardHeader, { children: _jsx(CardTitle, { as: OfficeHeading, children: office.name }) }), _jsxs(CardContent, { className: "flex flex-col items-start gap-4", children: [_jsx("address", { "data-slot": "contact-page-office-address", className: "text-muted-foreground flex flex-col gap-1 not-italic text-sm", children: office.lines.map((line, index) => (
|
|
129
|
+
/*
|
|
130
|
+
Positional, because a postal line is display content and a
|
|
131
|
+
business with two branches on one street can legitimately
|
|
132
|
+
print the same line twice.
|
|
133
|
+
*/
|
|
134
|
+
_jsx("span", { children: line }, `${office.id}-${index}`))) }), office.detail === undefined ? null : (_jsx("div", { "data-slot": "contact-page-office-detail", className: "text-pretty text-sm", children: office.detail })), office.mapHref === undefined ? null : (_jsx(CtaLink, { "data-slot": "contact-page-office-map", href: office.mapHref, variant: "ghost", size: "sm", children: office.mapLabel }))] })] }, office.id))) })] })), footer === undefined ? null : (_jsx("div", { "data-slot": "contact-page-footer", children: footer }))] }));
|
|
135
|
+
}
|
|
136
|
+
export default ContactPage;
|
|
@@ -267,6 +267,14 @@ export type DocsShellProps = {
|
|
|
267
267
|
* twenty-seven-page tree are both a full screen and neither is a page-long
|
|
268
268
|
* sidebar.
|
|
269
269
|
*
|
|
270
|
+
* **The frame is three columns from `lg`, and the third is the consumer's to
|
|
271
|
+
* fill.** The rail is 15rem, the document takes the rest, and the contents rail
|
|
272
|
+
* is 13rem. The third track exists only when `toc` is passed, because the
|
|
273
|
+
* document takes the second track by auto-placement and a template that named a
|
|
274
|
+
* track no child occupies would leave the document in the 15rem one. Below `lg`
|
|
275
|
+
* the frame is a single column with both rails hidden, which is the arrangement
|
|
276
|
+
* a phone gets.
|
|
277
|
+
*
|
|
270
278
|
* It is a Page rather than a Block because it is a whole screen and it is the
|
|
271
279
|
* screen a content pipeline targets: a route that reads one document and hands
|
|
272
280
|
* it the page tree, the outline and the current address. A Block would be the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-shell.d.ts","sourceRoot":"","sources":["../../../src/pages/docs-shell/docs-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAA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screen and neither is a page-long
|
|
68
68
|
* sidebar.
|
|
69
69
|
*
|
|
70
|
+
* **The frame is three columns from `lg`, and the third is the consumer's to
|
|
71
|
+
* fill.** The rail is 15rem, the document takes the rest, and the contents rail
|
|
72
|
+
* is 13rem. The third track exists only when `toc` is passed, because the
|
|
73
|
+
* document takes the second track by auto-placement and a template that named a
|
|
74
|
+
* track no child occupies would leave the document in the 15rem one. Below `lg`
|
|
75
|
+
* the frame is a single column with both rails hidden, which is the arrangement
|
|
76
|
+
* a phone gets.
|
|
77
|
+
*
|
|
70
78
|
* It is a Page rather than a Block because it is a whole screen and it is the
|
|
71
79
|
* screen a content pipeline targets: a route that reads one document and hands
|
|
72
80
|
* it the page tree, the outline and the current address. A Block would be the
|
|
@@ -84,13 +92,22 @@ export function DocsShell({ title, description, nav, toc, currentHref, navLabel,
|
|
|
84
92
|
const rail = nav && nav.length > 0 ? nav : undefined;
|
|
85
93
|
const contents = toc && toc.length > 0 ? toc : undefined;
|
|
86
94
|
const neighbours = currentHref === undefined ? undefined : deriveNeighbours(nav ?? [], currentHref);
|
|
87
|
-
return (_jsxs("div", { "data-slot": "docs-shell", className: cn('mx-auto w-full max-w-
|
|
88
|
-
// One
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
// the document
|
|
92
|
-
//
|
|
93
|
-
|
|
95
|
+
return (_jsxs("div", { "data-slot": "docs-shell", className: cn('mx-auto w-full max-w-page px-6 py-10 lg:px-8', className), children: [header, _jsxs("div", { "data-slot": "docs-shell-frame", className: cn('flex flex-col gap-8 lg:flex-row lg:gap-10',
|
|
96
|
+
// One track for the rail, one for the document, and a third for the
|
|
97
|
+
// contents rail when there is one. The template names exactly the
|
|
98
|
+
// tracks the children occupy rather than a fixed three-column grid,
|
|
99
|
+
// because the document takes the second track by auto-placement: a
|
|
100
|
+
// tree with no contents rail has two children, so a three-track
|
|
101
|
+
// template would leave the document in the 15rem first track.
|
|
102
|
+
//
|
|
103
|
+
// The third track is at the same width as the two-column frame, and
|
|
104
|
+
// that is a fact about the token package rather than a preference: the
|
|
105
|
+
// emitted theme closes `xl` with `initial`, so a third track written
|
|
106
|
+
// against a wider screen compiled to no media query at all, and the
|
|
107
|
+
// contents rail landed in an implicit `auto` track rather than the
|
|
108
|
+
// 13rem one. `check-breakpoint-variants.mjs` is the gate that says so
|
|
109
|
+
// to the next class written against a screen the theme does not emit.
|
|
110
|
+
contents ? 'lg:grid lg:grid-cols-[15rem_minmax(0,1fr)_13rem]' : 'lg:grid lg:grid-cols-[15rem_minmax(0,1fr)]'), children: [rail ? (_jsx("aside", { "data-slot": "docs-rail", className: "hidden lg:col-start-1 lg:row-start-1 lg:block", children: _jsx("nav", { "aria-label": navLabel, className: "lg:sticky lg:top-20 lg:max-h-[calc(100svh-7rem)] lg:overflow-y-auto lg:pe-4", children: _jsx(NavList, { entries: rail, currentHref: currentHref, depth: 0 }) }) })) : null, _jsxs("article", { "data-slot": "docs-article", className: "flex min-w-0 flex-col gap-8", children: [title ? (_jsxs("header", { className: "flex flex-col gap-3", children: [_jsx(Heading, { as: "h1", size: "3xl", children: title }), description ? (_jsx(Text, { size: "lg", tone: "muted", className: "max-w-measure", children: description })) : null] })) : description ? (_jsx(Text, { size: "lg", tone: "muted", className: "max-w-measure", children: description })) : null, _jsx(Prose, { fullWidth: true, children: children }), neighbours ? (_jsx(Pager, { previous: neighbours.previous, next: neighbours.next, label: pagerLabel, labels: pagerLabels })) : null] }), contents ? (_jsx("aside", { "data-slot": "docs-contents", className: "hidden lg:col-start-3 lg:row-start-1 lg:block", children: _jsx("nav", { "aria-label": tocLabel, className: "lg:sticky lg:top-20 lg:max-h-[calc(100svh-7rem)] lg:overflow-y-auto", children: _jsx(NavList, { entries: contents, currentHref: currentHref, depth: 0 }) }) })) : null] }), footer] }));
|
|
94
111
|
}
|
|
95
112
|
/* ------------------------------------------------------------------ *
|
|
96
113
|
* The tree
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One way out of a failed screen, and the words for it.
|
|
5
|
+
*
|
|
6
|
+
* Identical to `NotFoundLink`, and it is a second declaration rather than an import
|
|
7
|
+
* because a Page's props are the surface a consumer reads and this Page is shipped
|
|
8
|
+
* from its own subpath: a consumer reading the corpus for a retry screen should not
|
|
9
|
+
* have to know that a not-found screen also exists. The duplication is four fields
|
|
10
|
+
* and a key, and the alternative is a shared type in one Page's module that the
|
|
11
|
+
* other Page's documentation would then be about.
|
|
12
|
+
*/
|
|
13
|
+
export type ErrorPageLink = {
|
|
14
|
+
/** The words of the link. */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Where it goes. */
|
|
17
|
+
href: string;
|
|
18
|
+
/**
|
|
19
|
+
* Opens the destination in a new browsing context, which defaults the link
|
|
20
|
+
* relationship to `noopener noreferrer`. Almost never right on a failed screen: a
|
|
21
|
+
* reader who has just been shown a failure and is sent to a new tab has to find
|
|
22
|
+
* their way back and cannot tell whether the thing they were doing is still there.
|
|
23
|
+
*/
|
|
24
|
+
newTab?: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Every field of an ErrorPage except whether it shows a support reference.
|
|
28
|
+
*
|
|
29
|
+
* Not exported, because the two arms below are what a caller writes and this is
|
|
30
|
+
* only the half they share. The union is what makes `referenceLabel` required
|
|
31
|
+
* wherever `reference` is set, and a flat pair of optional props could not: a
|
|
32
|
+
* reference with no label is a value on the page that nothing names, and a label
|
|
33
|
+
* with no reference is a word heading nothing.
|
|
34
|
+
*/
|
|
35
|
+
type ErrorPageFields = {
|
|
36
|
+
/**
|
|
37
|
+
* The status code, drawn as the page's own `h1`.
|
|
38
|
+
*
|
|
39
|
+
* Required, and a string rather than a number because it is displayed, not
|
|
40
|
+
* computed: a Page never decides what code it is answering, and a code a product
|
|
41
|
+
* derives from its own exception class is a code this Page would then be
|
|
42
|
+
* asserting about the consumer's deployment.
|
|
43
|
+
*/
|
|
44
|
+
code: string;
|
|
45
|
+
/**
|
|
46
|
+
* The headline under the code: the sentence that says what happened.
|
|
47
|
+
*
|
|
48
|
+
* A `string` because it is one sentence and it is the part a reader actually
|
|
49
|
+
* reads, and it is the caller's because every product says it differently.
|
|
50
|
+
*/
|
|
51
|
+
title: string;
|
|
52
|
+
/** One or two sentences, for anything a reader should know before they press anything. */
|
|
53
|
+
description?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The control that tries the failed request again.
|
|
56
|
+
*
|
|
57
|
+
* A node and not a label and a handler, and that is the decision this Page is
|
|
58
|
+
* shaped around. See the JSDoc on the Page: a slot is what keeps this screen a
|
|
59
|
+
* server Component while the retry is still the first thing on it.
|
|
60
|
+
*/
|
|
61
|
+
retry?: ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* The ways out, in the order a reader should see them. Put the destination most
|
|
64
|
+
* likely to help first.
|
|
65
|
+
*/
|
|
66
|
+
links: readonly ErrorPageLink[];
|
|
67
|
+
/**
|
|
68
|
+
* The accessible name of the row of ways out.
|
|
69
|
+
*
|
|
70
|
+
* Required, because it is a word a reader hears and a Page that ships no copy
|
|
71
|
+
* ships no reader-facing copy either. The Page's own phrasing is "where to next";
|
|
72
|
+
* a site that files its destinations differently names the same landmark
|
|
73
|
+
* differently.
|
|
74
|
+
*/
|
|
75
|
+
linksLabel: string;
|
|
76
|
+
/** A slot for anything else the site wants to say here: a status page, a chat route. */
|
|
77
|
+
children?: ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* The level of the code, and one step below it for the headline.
|
|
80
|
+
*
|
|
81
|
+
* Defaults to `h1`, because a Page owns the top of the document outline and the
|
|
82
|
+
* code is this screen's one string that is the same for every failure of its kind.
|
|
83
|
+
*/
|
|
84
|
+
headingLevel?: HeadingLevel;
|
|
85
|
+
/** Layout only, exactly as on every Item. Changing a Prism-owned visual property from here is prohibited. */
|
|
86
|
+
className?: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* The props an ErrorPage takes.
|
|
90
|
+
*
|
|
91
|
+
* Every string and every destination is a prop and the Page ships none. There is no
|
|
92
|
+
* "something went wrong", no "please try again" and no product name, for the same
|
|
93
|
+
* reason `NotFoundPage` gives: the failure screens are the ones every reader and no
|
|
94
|
+
* crawler sees, so a sentence written here would be a claim about a product this
|
|
95
|
+
* package knows nothing about, in the exact place where being wrong is worst.
|
|
96
|
+
*/
|
|
97
|
+
export type ErrorPageProps = ErrorPageFields & ({
|
|
98
|
+
/**
|
|
99
|
+
* The support reference a reader quotes to a person: the request id, the
|
|
100
|
+
* incident, the case number.
|
|
101
|
+
*
|
|
102
|
+
* A `string` because it is a machine value a reader copies rather than
|
|
103
|
+
* reads, which is why it is drawn in the mono face and why the label beside
|
|
104
|
+
* it is the caller's word.
|
|
105
|
+
*/
|
|
106
|
+
reference: string;
|
|
107
|
+
/**
|
|
108
|
+
* The word naming that value.
|
|
109
|
+
*
|
|
110
|
+
* Required here and forbidden on the other arm. "Reference", "Incident"
|
|
111
|
+
* and "Case" are three words for three products, and a reference a reader
|
|
112
|
+
* has to guess the name of is a reference they cannot quote.
|
|
113
|
+
*/
|
|
114
|
+
referenceLabel: string;
|
|
115
|
+
} | {
|
|
116
|
+
/** No reference on this screen. */
|
|
117
|
+
reference?: never;
|
|
118
|
+
/** No word is needed, because there is no value to name. */
|
|
119
|
+
referenceLabel?: never;
|
|
120
|
+
});
|
|
121
|
+
/**
|
|
122
|
+
* A complete failure screen: the code, what happened, the retry, and the ways out.
|
|
123
|
+
*
|
|
124
|
+
* **This is the third of the three Pages that `DESIGN.md` records under Known Open
|
|
125
|
+
* Items as deferred to v1.1**, so it discharges that row rather than adding to the
|
|
126
|
+
* tail. The other two are `PricingPage` and `OnboardingPage`.
|
|
127
|
+
*
|
|
128
|
+
* **It is the sibling of `NotFoundPage` and the two fail for opposite reasons, which
|
|
129
|
+
* is the reason they are two items rather than one with a prop.** A not-found is a
|
|
130
|
+
* request that will never succeed: the address is wrong, the page was never there,
|
|
131
|
+
* and no amount of asking again produces it, so a retry on a 404 is a lie told by a
|
|
132
|
+
* button, and a reader who believes it waits, and then believes the next one too. A
|
|
133
|
+
* server error is a request that may well succeed on a second try: the database was
|
|
134
|
+
* briefly unreachable, a deploy was halfway, a queue was full. So on this screen the
|
|
135
|
+
* retry is not one control among several, it is the most important thing on the page,
|
|
136
|
+
* and it goes first, above the links and above the sentence that names the failure.
|
|
137
|
+
* A design system that treated the two as one item, with a `retry` prop on the shared
|
|
138
|
+
* screen and a flag deciding whether to draw it, would be wrong twice: it would teach
|
|
139
|
+
* a 404 reader to press a button that cannot work, and it would teach an error
|
|
140
|
+
* reader that the product agrees with them. Two screens with one shape between them
|
|
141
|
+
* is the honest arrangement, and the cost is that a consumer with an error boundary
|
|
142
|
+
* renders two components and holds two sets of words, which is a sentence in their
|
|
143
|
+
* own copy rather than a fork.
|
|
144
|
+
*
|
|
145
|
+
* **Everything else is deliberately identical to its sibling**, and the shape of
|
|
146
|
+
* that sameness is the argument. The code is the `h1` and the headline is one step
|
|
147
|
+
* below it, for the reason `NotFoundPage` gives: the code is the one string on the
|
|
148
|
+
* screen that is the same for every failure of its kind, so it is what anything
|
|
149
|
+
* reading the outline indexes. The code is set in the mono face because it is a
|
|
150
|
+
* machine value and that is the face this package annotates machine values with. The
|
|
151
|
+
* links are native anchors with real destinations, for the reason its sibling gives
|
|
152
|
+
* and for the same doubled reason: a reader who has just followed one link to a
|
|
153
|
+
* failure is the reader on this site who most wants to see where the next one goes.
|
|
154
|
+
*
|
|
155
|
+
* **`retry` is a slot and that is what keeps this screen a server Component, and the
|
|
156
|
+
* argument is about the boundary rather than about the control.** The rejected shape
|
|
157
|
+
* was `retry: { label, onRetry }`: a handler is a function, a function is a piece of
|
|
158
|
+
* state, and state is a client module, so that shape would have put the entire
|
|
159
|
+
* failure screen, including every link and the code, on the client because one button
|
|
160
|
+
* wanted an `onClick`. Passing the control in as a node inverts it: the caller writes
|
|
161
|
+
* their own button in their own client component, this Page renders the node, and a
|
|
162
|
+
* consumer whose retry is a router refresh, a mutation retry or a plain reload all
|
|
163
|
+
* pass their own thing and get it drawn first. The cost is that Prism cannot check
|
|
164
|
+
* that the slot is a control at all, and can neither label it nor disable it while a
|
|
165
|
+
* retry is in flight, so a caller whose retry needs a busy state holds that state in
|
|
166
|
+
* the component they wrote. That is the right home for it: the in-flight state is a
|
|
167
|
+
* fact about the consumer's request and not about a screen.
|
|
168
|
+
*
|
|
169
|
+
* **The reference is a `dl`, and the label is a prop, because the word is the
|
|
170
|
+
* consumer's.** "Reference", "Incident" and "Case" are three words for three
|
|
171
|
+
* products and a reader has to be able to quote the word their support process asks
|
|
172
|
+
* for. The value itself is a machine string a reader copies rather than reads, so it
|
|
173
|
+
* is drawn in the mono face, and the pair is a definition list so a screen reader
|
|
174
|
+
* announces the label with the value rather than reading a bare string.
|
|
175
|
+
*
|
|
176
|
+
* The Page carries no `noindex` and no `robots` directive, for the reason its
|
|
177
|
+
* sibling gives: what a failure response is indexed as is the consumer's server's
|
|
178
|
+
* decision, and a component that declared it would be making a claim about a
|
|
179
|
+
* deployment it cannot see.
|
|
180
|
+
*
|
|
181
|
+
* It is a server Component. It fetches nothing, it holds no state and it imports no
|
|
182
|
+
* router, so a consumer renders it from whichever route their framework names for
|
|
183
|
+
* the status, and nothing on the screen costs client JavaScript until the caller's
|
|
184
|
+
* own retry control does.
|
|
185
|
+
*/
|
|
186
|
+
export declare function ErrorPage({ code, title, description, retry, links, linksLabel, reference, referenceLabel, children, headingLevel, className, }: ErrorPageProps): import("react").JSX.Element;
|
|
187
|
+
export default ErrorPage;
|
|
188
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/error-page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,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AAQ,EACR,YAAmB,EACnB,SAAS,GACV,EAAE,cAAc,+BAkEhB;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
3
|
+
import { Prose } from '../../components/ui/prose.js';
|
|
4
|
+
import { Section, childLevel } from '../../components/ui/section.js';
|
|
5
|
+
import { Heading, Text } from '../../components/ui/typography.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The one check the union cannot make, run before anything is drawn.
|
|
9
|
+
*
|
|
10
|
+
* It is here for the JavaScript caller and for a value that came out of a database
|
|
11
|
+
* with the type's guarantee already gone, for the reason `Help01`, `Team01` and
|
|
12
|
+
* `Onboarding01` each keep their own: a defect that is invisible in a screenshot is
|
|
13
|
+
* not a defect a design system can afford to ship quietly.
|
|
14
|
+
*/
|
|
15
|
+
function assertReference(reference, referenceLabel) {
|
|
16
|
+
if (reference === undefined)
|
|
17
|
+
return;
|
|
18
|
+
if (referenceLabel === undefined || referenceLabel.trim() === '') {
|
|
19
|
+
throw new Error('ErrorPage: a reference is shown with no referenceLabel, so the value would sit on the page with nothing ' +
|
|
20
|
+
'naming it and a reader would have no way to know what it is for. Pass the word your support process ' +
|
|
21
|
+
'asks readers to quote, or drop the reference.');
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A complete failure screen: the code, what happened, the retry, and the ways out.
|
|
26
|
+
*
|
|
27
|
+
* **This is the third of the three Pages that `DESIGN.md` records under Known Open
|
|
28
|
+
* Items as deferred to v1.1**, so it discharges that row rather than adding to the
|
|
29
|
+
* tail. The other two are `PricingPage` and `OnboardingPage`.
|
|
30
|
+
*
|
|
31
|
+
* **It is the sibling of `NotFoundPage` and the two fail for opposite reasons, which
|
|
32
|
+
* is the reason they are two items rather than one with a prop.** A not-found is a
|
|
33
|
+
* request that will never succeed: the address is wrong, the page was never there,
|
|
34
|
+
* and no amount of asking again produces it, so a retry on a 404 is a lie told by a
|
|
35
|
+
* button, and a reader who believes it waits, and then believes the next one too. A
|
|
36
|
+
* server error is a request that may well succeed on a second try: the database was
|
|
37
|
+
* briefly unreachable, a deploy was halfway, a queue was full. So on this screen the
|
|
38
|
+
* retry is not one control among several, it is the most important thing on the page,
|
|
39
|
+
* and it goes first, above the links and above the sentence that names the failure.
|
|
40
|
+
* A design system that treated the two as one item, with a `retry` prop on the shared
|
|
41
|
+
* screen and a flag deciding whether to draw it, would be wrong twice: it would teach
|
|
42
|
+
* a 404 reader to press a button that cannot work, and it would teach an error
|
|
43
|
+
* reader that the product agrees with them. Two screens with one shape between them
|
|
44
|
+
* is the honest arrangement, and the cost is that a consumer with an error boundary
|
|
45
|
+
* renders two components and holds two sets of words, which is a sentence in their
|
|
46
|
+
* own copy rather than a fork.
|
|
47
|
+
*
|
|
48
|
+
* **Everything else is deliberately identical to its sibling**, and the shape of
|
|
49
|
+
* that sameness is the argument. The code is the `h1` and the headline is one step
|
|
50
|
+
* below it, for the reason `NotFoundPage` gives: the code is the one string on the
|
|
51
|
+
* screen that is the same for every failure of its kind, so it is what anything
|
|
52
|
+
* reading the outline indexes. The code is set in the mono face because it is a
|
|
53
|
+
* machine value and that is the face this package annotates machine values with. The
|
|
54
|
+
* links are native anchors with real destinations, for the reason its sibling gives
|
|
55
|
+
* and for the same doubled reason: a reader who has just followed one link to a
|
|
56
|
+
* failure is the reader on this site who most wants to see where the next one goes.
|
|
57
|
+
*
|
|
58
|
+
* **`retry` is a slot and that is what keeps this screen a server Component, and the
|
|
59
|
+
* argument is about the boundary rather than about the control.** The rejected shape
|
|
60
|
+
* was `retry: { label, onRetry }`: a handler is a function, a function is a piece of
|
|
61
|
+
* state, and state is a client module, so that shape would have put the entire
|
|
62
|
+
* failure screen, including every link and the code, on the client because one button
|
|
63
|
+
* wanted an `onClick`. Passing the control in as a node inverts it: the caller writes
|
|
64
|
+
* their own button in their own client component, this Page renders the node, and a
|
|
65
|
+
* consumer whose retry is a router refresh, a mutation retry or a plain reload all
|
|
66
|
+
* pass their own thing and get it drawn first. The cost is that Prism cannot check
|
|
67
|
+
* that the slot is a control at all, and can neither label it nor disable it while a
|
|
68
|
+
* retry is in flight, so a caller whose retry needs a busy state holds that state in
|
|
69
|
+
* the component they wrote. That is the right home for it: the in-flight state is a
|
|
70
|
+
* fact about the consumer's request and not about a screen.
|
|
71
|
+
*
|
|
72
|
+
* **The reference is a `dl`, and the label is a prop, because the word is the
|
|
73
|
+
* consumer's.** "Reference", "Incident" and "Case" are three words for three
|
|
74
|
+
* products and a reader has to be able to quote the word their support process asks
|
|
75
|
+
* for. The value itself is a machine string a reader copies rather than reads, so it
|
|
76
|
+
* is drawn in the mono face, and the pair is a definition list so a screen reader
|
|
77
|
+
* announces the label with the value rather than reading a bare string.
|
|
78
|
+
*
|
|
79
|
+
* The Page carries no `noindex` and no `robots` directive, for the reason its
|
|
80
|
+
* sibling gives: what a failure response is indexed as is the consumer's server's
|
|
81
|
+
* decision, and a component that declared it would be making a claim about a
|
|
82
|
+
* deployment it cannot see.
|
|
83
|
+
*
|
|
84
|
+
* It is a server Component. It fetches nothing, it holds no state and it imports no
|
|
85
|
+
* router, so a consumer renders it from whichever route their framework names for
|
|
86
|
+
* the status, and nothing on the screen costs client JavaScript until the caller's
|
|
87
|
+
* own retry control does.
|
|
88
|
+
*/
|
|
89
|
+
export function ErrorPage({ code, title, description, retry, links, linksLabel, reference, referenceLabel, children, headingLevel = 'h1', className, }) {
|
|
90
|
+
assertReference(reference, referenceLabel);
|
|
91
|
+
/*
|
|
92
|
+
The headline sits one step below the code, which is the same derivation every
|
|
93
|
+
Block uses and the reason a hardcoded `h2` would be right exactly once.
|
|
94
|
+
*/
|
|
95
|
+
const TitleHeading = childLevel(headingLevel);
|
|
96
|
+
return (_jsx(Section, { "data-slot": "error-page", className: cn(className), children: _jsxs("div", { "data-slot": "error-page-body", className: "flex flex-col items-start gap-6", children: [_jsx(Heading, { as: headingLevel, size: "4xl", className: "text-muted-foreground font-mono", children: code }), _jsxs("div", { className: "flex flex-col gap-3", children: [_jsx(Heading, { as: TitleHeading, size: "2xl", children: title }), description ? _jsx(Text, { size: "lg", children: description }) : null] }), retry === undefined ? null : (_jsx("div", { "data-slot": "error-page-retry", children: retry })), links.length > 0 ? (_jsx("nav", { "aria-label": linksLabel, className: "flex flex-wrap items-center gap-3", children: links.map((link, index) => (_jsx(CtaLink, { href: link.href, newTab: link.newTab, variant: index === 0 ? 'default' : 'outline', children: link.label }, link.href))) })) : null, reference === undefined ? null : (_jsxs("dl", { "data-slot": "error-page-reference", className: "flex flex-col items-start gap-1", children: [_jsx("dt", { className: "text-muted-foreground text-xs", children: referenceLabel }), _jsx("dd", { className: "font-mono text-sm", children: reference })] })), children ? _jsx(Prose, { className: "mt-2", children: children }) : null] }) }));
|
|
97
|
+
}
|
|
98
|
+
export default ErrorPage;
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -25,4 +25,14 @@ export { BlogPostPage } from './blog-post-page/index.js';
|
|
|
25
25
|
export type { BlogPostPageProps, BlogPostTag, BlogPostNeighbour, BlogPostTrailLabels } from './blog-post-page/index.js';
|
|
26
26
|
export { DocsShell } from './docs-shell/index.js';
|
|
27
27
|
export type { DocsShellProps, DocsNavEntry, DocsNavPage, DocsNavGroup, DocsNavDivider, DocsPagerLabels, } from './docs-shell/index.js';
|
|
28
|
+
export { AboutPage } from './about-page/index.js';
|
|
29
|
+
export { CareersPage } from './careers-page/index.js';
|
|
30
|
+
export { ChangelogPage } from './changelog-page/index.js';
|
|
31
|
+
export { ContactPage } from './contact-page/index.js';
|
|
32
|
+
export { ErrorPage } from './error-page/index.js';
|
|
33
|
+
export { LegalPage } from './legal-page/index.js';
|
|
34
|
+
export { OnboardingPage } from './onboarding-page/index.js';
|
|
35
|
+
export { PricingPage } from './pricing-page/index.js';
|
|
36
|
+
export { SearchPage } from './search-page/index.js';
|
|
37
|
+
export { StatusPage } from './status-page/index.js';
|
|
28
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pages/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAC9G,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,YAAY,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,cAAc,EACd,eAAe,GAChB,MAAM,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pages/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBA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C1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA"}
|
package/dist/pages/index.js
CHANGED
|
@@ -18,3 +18,17 @@ export { AuthPage } from './auth-page/index.js';
|
|
|
18
18
|
export { NotFoundPage } from './not-found-page/index.js';
|
|
19
19
|
export { BlogPostPage } from './blog-post-page/index.js';
|
|
20
20
|
export { DocsShell } from './docs-shell/index.js';
|
|
21
|
+
/*
|
|
22
|
+
* the ten screens the 2026-09 expansion added.
|
|
23
|
+
* Derived by the maintainer rather than authored: each entry is read out of the Item own
|
|
24
|
+
* index module, so an Item and its barrel line cannot come apart. */
|
|
25
|
+
export { AboutPage } from './about-page/index.js';
|
|
26
|
+
export { CareersPage } from './careers-page/index.js';
|
|
27
|
+
export { ChangelogPage } from './changelog-page/index.js';
|
|
28
|
+
export { ContactPage } from './contact-page/index.js';
|
|
29
|
+
export { ErrorPage } from './error-page/index.js';
|
|
30
|
+
export { LegalPage } from './legal-page/index.js';
|
|
31
|
+
export { OnboardingPage } from './onboarding-page/index.js';
|
|
32
|
+
export { PricingPage } from './pricing-page/index.js';
|
|
33
|
+
export { SearchPage } from './search-page/index.js';
|
|
34
|
+
export { StatusPage } from './status-page/index.js';
|