@nanisoft/prism-ui 0.13.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +22 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +9 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +131 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +33 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +4 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +34 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +24 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/diagram.d.ts +38 -7
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +134 -52
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/fact-list.d.ts +17 -0
- package/dist/components/ui/fact-list.d.ts.map +1 -1
- package/dist/components/ui/fact-list.js +18 -1
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +34 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +41 -1
- package/dist/components/ui/pulse-graph.d.ts +36 -4
- package/dist/components/ui/pulse-graph.d.ts.map +1 -1
- package/dist/components/ui/pulse-graph.js +174 -60
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +110 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +111 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/figure.d.ts +149 -0
- package/dist/lib/figure.d.ts.map +1 -0
- package/dist/lib/figure.js +242 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
- package/dist/live/run-stream-01/run-stream.js +6 -5
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/blog-post-page/index.d.ts +36 -15
- package/dist/pages/blog-post-page/index.d.ts.map +1 -1
- package/dist/pages/blog-post-page/index.js +35 -10
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +126 -16
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +229 -28
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +102 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/not-found-page/index.d.ts.map +1 -1
- package/dist/pages/not-found-page/index.js +4 -3
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1105 -62
- package/package.json +9 -3
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One change record inside a release: which kind it is, the line that says what
|
|
5
|
+
* changed, and the sentence under it.
|
|
6
|
+
*
|
|
7
|
+
* `kind` is a closed set of five and it is the taxonomy rather than a severity
|
|
8
|
+
* ladder: a record says what kind of change it is and not how bad it was, because
|
|
9
|
+
* how bad it was is a property of a reader's exposure and not of the record. The
|
|
10
|
+
* words beside the mark are the caller's, and the mark itself is the Block's.
|
|
11
|
+
*/
|
|
12
|
+
export type ChangelogPageRecord = {
|
|
13
|
+
/** The record's stable key within its release. */
|
|
14
|
+
id: string;
|
|
15
|
+
/** Which of the five kinds this record is. */
|
|
16
|
+
kind: 'added' | 'changed' | 'fixed' | 'removed' | 'security';
|
|
17
|
+
/** The one line that says what changed. */
|
|
18
|
+
title: string;
|
|
19
|
+
/**
|
|
20
|
+
* The detail under the line: why it changed, what it affects, what to do about
|
|
21
|
+
* it. A node, so a caller may pass a paragraph, a list of migration steps, or a
|
|
22
|
+
* code block showing the old call beside the new one.
|
|
23
|
+
*/
|
|
24
|
+
body?: ReactNode;
|
|
25
|
+
/** Where the full record lives. Its presence makes the entry carry a link. */
|
|
26
|
+
href?: string;
|
|
27
|
+
/** The words on the link. Required whenever `href` is, and enforced by the Block. */
|
|
28
|
+
hrefLabel?: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* One release: what it is called, when it was, one line about it, and its records.
|
|
32
|
+
*
|
|
33
|
+
* **`version` and `at` are two different facts and both are required by different
|
|
34
|
+
* readers, which is why neither is derived from the other.** A product that cuts
|
|
35
|
+
* a nightly build has a moment and no meaningful version, and a product that ships
|
|
36
|
+
* once a month has a version a reader can compare against their own lockfile and
|
|
37
|
+
* almost no use for the hour. The Page prints what it was handed and invents
|
|
38
|
+
* neither: it holds no calendar, no semver parser and no opinion about which of
|
|
39
|
+
* the two identifies a release, because every product in this repository has
|
|
40
|
+
* answered that differently and the one answer that would fit all of them is the
|
|
41
|
+
* string the caller already had.
|
|
42
|
+
*/
|
|
43
|
+
export type ChangelogPageRelease = {
|
|
44
|
+
/**
|
|
45
|
+
* The release's stable key, and the fragment a consumer's own changelog links
|
|
46
|
+
* to.
|
|
47
|
+
*
|
|
48
|
+
* A key and not the version, because a fragment has to be a legal anchor and
|
|
49
|
+
* `1.4.0` and `Q3 2026` are not the same shape of string. The Page puts it on
|
|
50
|
+
* the element that wraps the release's own heading, so a link to it lands on the
|
|
51
|
+
* release rather than above it.
|
|
52
|
+
*/
|
|
53
|
+
id: string;
|
|
54
|
+
/** The version, or the date, or whatever identifies this group of records. */
|
|
55
|
+
version: string;
|
|
56
|
+
/** The moment, already written the way a reader should see it. */
|
|
57
|
+
at?: string;
|
|
58
|
+
/** One line about the release as a whole, for a reader deciding whether to read on. */
|
|
59
|
+
summary?: ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* The records, in the order the product published them.
|
|
62
|
+
*
|
|
63
|
+
* Order is the caller's and this Page never touches it. A changelog is a record
|
|
64
|
+
* rather than a document, and the order in a record is the order things happened
|
|
65
|
+
* in, which is a publication decision with a long tail of exceptions: a security
|
|
66
|
+
* fix belongs beside the change that made it necessary far more often than it
|
|
67
|
+
* belongs at the top of the list. Sorting by the version string would reorder
|
|
68
|
+
* `1.10.0` before `1.9.0` for every consumer whose versions happen to be
|
|
69
|
+
* strings, and sorting by the date would move a release whose records were
|
|
70
|
+
* written in a different order into one that was not.
|
|
71
|
+
*/
|
|
72
|
+
entries: readonly ChangelogPageRecord[];
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* One kind the reader can ask for, and whether they have.
|
|
76
|
+
*
|
|
77
|
+
* `state` is a state and not a control: it is what the caller has decided, and the
|
|
78
|
+
* Page draws it. The control that changes it is the caller's, in `filters`,
|
|
79
|
+
* because narrowing a changelog means holding state and a server Page holds none.
|
|
80
|
+
*/
|
|
81
|
+
export type ChangelogPageFilter = {
|
|
82
|
+
/** A stable key for the filter. */
|
|
83
|
+
id: string;
|
|
84
|
+
/** The words on the filter, in the product's own language. */
|
|
85
|
+
label: string;
|
|
86
|
+
/** Whether the caller has this kind turned on. */
|
|
87
|
+
state: 'on' | 'off';
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* The band that asks a reader to stop reading and start receiving.
|
|
91
|
+
*
|
|
92
|
+
* `cta` is a node rather than a label and a destination because the thing a reader
|
|
93
|
+
* subscribes to is a control: an email field, a feed link, a form the consumer
|
|
94
|
+
* wrote. Prism supplies the heading and the measure and the caller supplies the
|
|
95
|
+
* control, which is the same seam every other slot in this package is.
|
|
96
|
+
*/
|
|
97
|
+
export type ChangelogPageSubscribe = {
|
|
98
|
+
/** The band's heading. */
|
|
99
|
+
title: ReactNode;
|
|
100
|
+
/** One or two sentences under the heading. */
|
|
101
|
+
description?: ReactNode;
|
|
102
|
+
/** The control that subscribes the reader, composed by the caller. */
|
|
103
|
+
cta: ReactNode;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* The props a ChangelogPage takes.
|
|
107
|
+
*
|
|
108
|
+
* Every string, every version and every record is a prop and the Page ships none
|
|
109
|
+
* of them. A changelog is the highest risk of hardcoded copy in this package,
|
|
110
|
+
* because the vocabulary of change is the most tempting kind of copy to write: five
|
|
111
|
+
* words, a fixed order, and every product apparently needs them. Five words in one
|
|
112
|
+
* language is five words every consumer of this Page inherits, and the corpus
|
|
113
|
+
* publishes them as this design system's own.
|
|
114
|
+
*/
|
|
115
|
+
export type ChangelogPageProps = {
|
|
116
|
+
/** Optional label above the page's own heading. See the No-Default-Eyebrow Rule. */
|
|
117
|
+
eyebrow?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The page's heading.
|
|
120
|
+
*
|
|
121
|
+
* Required, and the Page draws it itself rather than handing it to the first
|
|
122
|
+
* release. See the Page's JSDoc for the state that decided it.
|
|
123
|
+
*/
|
|
124
|
+
title: ReactNode;
|
|
125
|
+
/** One or two sentences under the heading. */
|
|
126
|
+
description?: ReactNode;
|
|
127
|
+
/**
|
|
128
|
+
* The releases, newest first unless the product says otherwise.
|
|
129
|
+
*
|
|
130
|
+
* The Page does not sort them and does not filter them. Order is a publication
|
|
131
|
+
* decision, and which releases are shown at all is a decision about the reader.
|
|
132
|
+
*/
|
|
133
|
+
releases: readonly ChangelogPageRelease[];
|
|
134
|
+
/**
|
|
135
|
+
* The kinds the reader can ask for, and which of them they have.
|
|
136
|
+
*
|
|
137
|
+
* Drawn as a legend rather than as a row of controls, because a control that
|
|
138
|
+
* does nothing is worse than no control: this Page is a server Component, it
|
|
139
|
+
* holds no state, and a button on it would be a button a reader presses and
|
|
140
|
+
* nothing happens.
|
|
141
|
+
*/
|
|
142
|
+
kinds?: readonly ChangelogPageFilter[];
|
|
143
|
+
/**
|
|
144
|
+
* The filter control itself: a `TagGroup`, a set of `Button`s wired to a query
|
|
145
|
+
* the caller fetches, or a set of links under a query parameter.
|
|
146
|
+
*
|
|
147
|
+
* A slot because a filter is a control and this Page ships no behaviour. The
|
|
148
|
+
* narrowed set comes back through `releases`, which is why the Page never has to
|
|
149
|
+
* know what the control did.
|
|
150
|
+
*/
|
|
151
|
+
filters?: ReactNode;
|
|
152
|
+
/**
|
|
153
|
+
* The caller's own way of reaching the releases that are not on this page: a
|
|
154
|
+
* load-more control, a pager, a link to an archive route.
|
|
155
|
+
*
|
|
156
|
+
* A slot for the same reason `filters` is one, and for one more: pagination is
|
|
157
|
+
* a routing decision. Whether the next page is a query parameter, a path
|
|
158
|
+
* segment or a second fetch is a fact about the consumer's own router, and a
|
|
159
|
+
* Page that drew a pager would have drawn a router.
|
|
160
|
+
*/
|
|
161
|
+
older?: ReactNode;
|
|
162
|
+
/** The closing band asking the reader to subscribe. Omit it and the page ends at `older`. */
|
|
163
|
+
subscribe?: ChangelogPageSubscribe;
|
|
164
|
+
/**
|
|
165
|
+
* What the page shows instead of the releases when there are none.
|
|
166
|
+
*
|
|
167
|
+
* Required, and for the same reason the empty state is required on a careers
|
|
168
|
+
* page: a product that has not shipped yet still has a changelog route, and a
|
|
169
|
+
* route that draws nothing is a route a reader cannot tell from a broken one.
|
|
170
|
+
*/
|
|
171
|
+
empty: ReactNode;
|
|
172
|
+
/**
|
|
173
|
+
* The heading level for the page's own heading, and one step below it for every
|
|
174
|
+
* band and for every release heading inside those bands.
|
|
175
|
+
*
|
|
176
|
+
* Defaults to `h1`, because a page owns the top of the document outline.
|
|
177
|
+
*/
|
|
178
|
+
headingLevel?: HeadingLevel;
|
|
179
|
+
/**
|
|
180
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
181
|
+
* property from here is prohibited.
|
|
182
|
+
*/
|
|
183
|
+
className?: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* A complete record screen: what changed, in the order it changed, with the
|
|
187
|
+
* reader's own way of narrowing it and the product's own way of reaching the rest
|
|
188
|
+
* of it.
|
|
189
|
+
*
|
|
190
|
+
* **It composes one `Changelog01` per release, and that is the first thing a Block
|
|
191
|
+
* cannot do for itself.** A changelog is a record rather than a document, and the
|
|
192
|
+
* difference is not a matter of taste: a document has one reading order that a
|
|
193
|
+
* reader follows from the top, and a record has an order that is a claim about
|
|
194
|
+
* what happened, which is why the Block takes the order it is given and refuses to
|
|
195
|
+
* sort. A page that passed the whole set to one Block would have every release
|
|
196
|
+
* inside a single section, and the cost of that is the second thing this Page
|
|
197
|
+
* exists for. Composing one per release gives each release its own band and its
|
|
198
|
+
* own anchor, and the alternative was a `Section` per release written here, which
|
|
199
|
+
* would have meant re-deriving the container and the rhythm that `Section` owns.
|
|
200
|
+
*
|
|
201
|
+
* **Each release is linkable, and the release's own heading is what the link
|
|
202
|
+
* lands on.** This is the page a product points at when it says "since last time":
|
|
203
|
+
* an email, a status dashboard, a support answer and a customer's own release
|
|
204
|
+
* notes all want to send a reader to one release rather than to the top of a list
|
|
205
|
+
* they then have to scroll. So the caller's `id` goes on the element that wraps
|
|
206
|
+
* each release, the release's heading is the first thing in it, and a fragment link
|
|
207
|
+
* to that id lands on the release rather than a band above it. The Page uses the
|
|
208
|
+
* release's key rather than its version for the anchor, because a fragment has to
|
|
209
|
+
* be legal in a URL and `1.4.0` and `Q3 2026` are not the same shape of string;
|
|
210
|
+
* the cost is that a consumer writing a link by hand has to use the key, which is
|
|
211
|
+
* why the key is a required field and not derived from the version.
|
|
212
|
+
*
|
|
213
|
+
* **The filters and the older-entries slot are the caller's, and the reason is that
|
|
214
|
+
* both are facts about the reader.** A changelog is usually longer than anyone will
|
|
215
|
+
* read, and a reader who wants only the security records and the reader who wants
|
|
216
|
+
* only the ones since their last deploy are asking two different questions of the
|
|
217
|
+
* same page, so the control that asks it belongs to whoever knows the answer.
|
|
218
|
+
* Filtering also means holding state, and a server Page holds none, which is why
|
|
219
|
+
* `filters` is a node the caller fills with a control they wired themselves and
|
|
220
|
+
* `kinds` is a legend this Page draws from the state they reported: a row of
|
|
221
|
+
* pressed-looking marks with no way to press them would be a row of lies, and the
|
|
222
|
+
* legend is the honest form of the same information. `older` is a slot for the
|
|
223
|
+
* same reason plus one more, which is that pagination is a routing decision:
|
|
224
|
+
* whether the next page is a query parameter, a path segment or a second fetch is
|
|
225
|
+
* a fact about the consumer's router, and a Page that drew a pager would have drawn
|
|
226
|
+
* a router.
|
|
227
|
+
*
|
|
228
|
+
* **The page draws its own `h1`, and the state that decided it is the empty one.**
|
|
229
|
+
* The alternative was handing the caller's title to the first `Changelog01`, which
|
|
230
|
+
* is what the about page and the careers page do with their first band, and it was
|
|
231
|
+
* rejected because `Changelog01` returns nothing at all when it is given no
|
|
232
|
+
* releases. A product that has not shipped yet, or a product whose first release
|
|
233
|
+
* is being written right now, still has a changelog route, and on that route the
|
|
234
|
+
* heading would have been inside the one element that does not render, so the
|
|
235
|
+
* screen would have had no `h1`, no title, and a sentence about there being no
|
|
236
|
+
* releases floating under nothing. The Page therefore holds the heading itself, in
|
|
237
|
+
* a band of its own, and every release below it is composed at one level deeper
|
|
238
|
+
* with no title, which is also why a release's heading is a child of the page
|
|
239
|
+
* rather than a sibling of it.
|
|
240
|
+
*
|
|
241
|
+
* **`empty` is required and it is not the same prop as the one a Block would want.**
|
|
242
|
+
* The honest sentence for a changelog with nothing in it is a fact about the
|
|
243
|
+
* product and not about a changelog: "no releases yet" and "your filter matched
|
|
244
|
+
* nothing" want different words, and only the caller knows which one they are
|
|
245
|
+
* showing. So the Page takes the node and draws it in the release band's place, in
|
|
246
|
+
* a band of its own so the reader is told the record is empty rather than being
|
|
247
|
+
* shown a gap where it should be.
|
|
248
|
+
*
|
|
249
|
+
* It is a server Component. It fetches nothing, it holds no state, it takes no
|
|
250
|
+
* function prop and it imports no router, so a consumer renders it from their own
|
|
251
|
+
* changelog route and hands it the releases their release pipeline published.
|
|
252
|
+
*/
|
|
253
|
+
export declare function ChangelogPage({ eyebrow, title, description, releases, kinds, filters, older, subscribe, empty, headingLevel, className, }: ChangelogPageProps): import("react").JSX.Element;
|
|
254
|
+
export default ChangelogPage;
|
|
255
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/changelog-page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,8CAA8C;IAC9C,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;IAC5D,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;;;OAQG;IACH,EAAE,EAAE,MAAM,CAAA;IACV,8EAA8E;IAC9E,OAAO,EAAE,MAAM,CAAA;IACf,kEAAkE;IAClE,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,uFAAuF;IACvF,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;;;;;OAWG;IACH,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAA;CACxC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,KAAK,EAAE,IAAI,GAAG,KAAK,CAAA;CACpB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,0BAA0B;IAC1B,KAAK,EAAE,SAAS,CAAA;IAChB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,sEAAsE;IACtE,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;OAKG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;OAKG;IACH,QAAQ,EAAE,SAAS,oBAAoB,EAAE,CAAA;IACzC;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,sBAAsB,CAAA;IAClC;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,OAAO,EACP,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAmB,EACnB,SAAS,GACV,EAAE,kBAAkB,+BA2EpB;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Changelog01 } from '../../blocks/changelog-01/index.js';
|
|
3
|
+
import { Badge } from '../../components/ui/badge.js';
|
|
4
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
5
|
+
import { cn } from '../../lib/utils.js';
|
|
6
|
+
/**
|
|
7
|
+
* A complete record screen: what changed, in the order it changed, with the
|
|
8
|
+
* reader's own way of narrowing it and the product's own way of reaching the rest
|
|
9
|
+
* of it.
|
|
10
|
+
*
|
|
11
|
+
* **It composes one `Changelog01` per release, and that is the first thing a Block
|
|
12
|
+
* cannot do for itself.** A changelog is a record rather than a document, and the
|
|
13
|
+
* difference is not a matter of taste: a document has one reading order that a
|
|
14
|
+
* reader follows from the top, and a record has an order that is a claim about
|
|
15
|
+
* what happened, which is why the Block takes the order it is given and refuses to
|
|
16
|
+
* sort. A page that passed the whole set to one Block would have every release
|
|
17
|
+
* inside a single section, and the cost of that is the second thing this Page
|
|
18
|
+
* exists for. Composing one per release gives each release its own band and its
|
|
19
|
+
* own anchor, and the alternative was a `Section` per release written here, which
|
|
20
|
+
* would have meant re-deriving the container and the rhythm that `Section` owns.
|
|
21
|
+
*
|
|
22
|
+
* **Each release is linkable, and the release's own heading is what the link
|
|
23
|
+
* lands on.** This is the page a product points at when it says "since last time":
|
|
24
|
+
* an email, a status dashboard, a support answer and a customer's own release
|
|
25
|
+
* notes all want to send a reader to one release rather than to the top of a list
|
|
26
|
+
* they then have to scroll. So the caller's `id` goes on the element that wraps
|
|
27
|
+
* each release, the release's heading is the first thing in it, and a fragment link
|
|
28
|
+
* to that id lands on the release rather than a band above it. The Page uses the
|
|
29
|
+
* release's key rather than its version for the anchor, because a fragment has to
|
|
30
|
+
* be legal in a URL and `1.4.0` and `Q3 2026` are not the same shape of string;
|
|
31
|
+
* the cost is that a consumer writing a link by hand has to use the key, which is
|
|
32
|
+
* why the key is a required field and not derived from the version.
|
|
33
|
+
*
|
|
34
|
+
* **The filters and the older-entries slot are the caller's, and the reason is that
|
|
35
|
+
* both are facts about the reader.** A changelog is usually longer than anyone will
|
|
36
|
+
* read, and a reader who wants only the security records and the reader who wants
|
|
37
|
+
* only the ones since their last deploy are asking two different questions of the
|
|
38
|
+
* same page, so the control that asks it belongs to whoever knows the answer.
|
|
39
|
+
* Filtering also means holding state, and a server Page holds none, which is why
|
|
40
|
+
* `filters` is a node the caller fills with a control they wired themselves and
|
|
41
|
+
* `kinds` is a legend this Page draws from the state they reported: a row of
|
|
42
|
+
* pressed-looking marks with no way to press them would be a row of lies, and the
|
|
43
|
+
* legend is the honest form of the same information. `older` is a slot for the
|
|
44
|
+
* same reason plus one more, which is that pagination is a routing decision:
|
|
45
|
+
* whether the next page is a query parameter, a path segment or a second fetch is
|
|
46
|
+
* a fact about the consumer's router, and a Page that drew a pager would have drawn
|
|
47
|
+
* a router.
|
|
48
|
+
*
|
|
49
|
+
* **The page draws its own `h1`, and the state that decided it is the empty one.**
|
|
50
|
+
* The alternative was handing the caller's title to the first `Changelog01`, which
|
|
51
|
+
* is what the about page and the careers page do with their first band, and it was
|
|
52
|
+
* rejected because `Changelog01` returns nothing at all when it is given no
|
|
53
|
+
* releases. A product that has not shipped yet, or a product whose first release
|
|
54
|
+
* is being written right now, still has a changelog route, and on that route the
|
|
55
|
+
* heading would have been inside the one element that does not render, so the
|
|
56
|
+
* screen would have had no `h1`, no title, and a sentence about there being no
|
|
57
|
+
* releases floating under nothing. The Page therefore holds the heading itself, in
|
|
58
|
+
* a band of its own, and every release below it is composed at one level deeper
|
|
59
|
+
* with no title, which is also why a release's heading is a child of the page
|
|
60
|
+
* rather than a sibling of it.
|
|
61
|
+
*
|
|
62
|
+
* **`empty` is required and it is not the same prop as the one a Block would want.**
|
|
63
|
+
* The honest sentence for a changelog with nothing in it is a fact about the
|
|
64
|
+
* product and not about a changelog: "no releases yet" and "your filter matched
|
|
65
|
+
* nothing" want different words, and only the caller knows which one they are
|
|
66
|
+
* showing. So the Page takes the node and draws it in the release band's place, in
|
|
67
|
+
* a band of its own so the reader is told the record is empty rather than being
|
|
68
|
+
* shown a gap where it should be.
|
|
69
|
+
*
|
|
70
|
+
* It is a server Component. It fetches nothing, it holds no state, it takes no
|
|
71
|
+
* function prop and it imports no router, so a consumer renders it from their own
|
|
72
|
+
* changelog route and hands it the releases their release pipeline published.
|
|
73
|
+
*/
|
|
74
|
+
export function ChangelogPage({ eyebrow, title, description, releases, kinds, filters, older, subscribe, empty, headingLevel = 'h1', className, }) {
|
|
75
|
+
const band = childLevel(headingLevel);
|
|
76
|
+
return (_jsxs("div", { "data-slot": "changelog-page", className: cn(className), children: [_jsx(Section, { "data-slot": "changelog-page-heading", children: _jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description }) }), kinds === undefined && filters === undefined ? null : (_jsx(Section, { "data-slot": "changelog-page-filters", children: _jsxs("div", { className: "flex flex-col items-start gap-4", children: [kinds === undefined || kinds.length === 0 ? null : (_jsx("ul", { "data-slot": "changelog-page-kinds", className: "flex flex-wrap items-center gap-2", children: kinds.map((kind) => (_jsx("li", { children: _jsx(Badge, { variant: kind.state === 'on' ? 'secondary' : 'outline', "data-state": kind.state, children: kind.label }) }, kind.id))) })), filters] }) })), releases.length === 0 ? (_jsx(Section, { "data-slot": "changelog-page-empty", children: _jsx("div", { "data-slot": "changelog-page-empty-body", className: "text-muted-foreground text-pretty text-sm", children: empty }) })) : (releases.map((release) => (_jsx("div", { id: release.id, "data-slot": "changelog-page-release", children: _jsx(Changelog01, { headingLevel: band, releases: [
|
|
77
|
+
{
|
|
78
|
+
id: release.id,
|
|
79
|
+
version: release.version,
|
|
80
|
+
at: release.at,
|
|
81
|
+
summary: release.summary,
|
|
82
|
+
entries: release.entries.map((entry) => ({ ...entry })),
|
|
83
|
+
},
|
|
84
|
+
] }) }, release.id)))), older === undefined ? null : _jsx(Section, { "data-slot": "changelog-page-older", children: older }), subscribe === undefined ? null : (_jsxs(Section, { "data-slot": "changelog-page-subscribe", children: [_jsx(SectionHeading, { as: band, align: "left", title: subscribe.title, description: subscribe.description, className: "mb-8" }), subscribe.cta] }))] }));
|
|
85
|
+
}
|
|
86
|
+
export default ChangelogPage;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type Contact01Status, type ContactValue } from '../../blocks/contact-01/index.js';
|
|
3
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
4
|
+
/**
|
|
5
|
+
* One choice in a select field.
|
|
6
|
+
*
|
|
7
|
+
* A `value` that is a key and a `label` that is a sentence, because that is what a
|
|
8
|
+
* native `<option>` holds and nothing else. A caller who needs a description beside
|
|
9
|
+
* an option, a count or anything nested is reaching for a control the platform
|
|
10
|
+
* cannot render, and `Contact01` names that rather than pretending otherwise.
|
|
11
|
+
*/
|
|
12
|
+
export type ContactPageOption = {
|
|
13
|
+
/** What the form submits for this choice, which is a key and not a sentence. */
|
|
14
|
+
value: string;
|
|
15
|
+
/** The words the reader sees, in the product's own language. */
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* One declared field of the contact form.
|
|
20
|
+
*
|
|
21
|
+
* **Flat, on purpose, where `ContactField` is a union.** A consumer's form data is
|
|
22
|
+
* flat: a record read out of a content type, a CMS entry or a JSON file has one
|
|
23
|
+
* shape with an optional `options` key, and a caller that had to narrow their own
|
|
24
|
+
* record before they could hand it to a page would be doing the Block's type work
|
|
25
|
+
* at every call site. So the union is built once, inside this module, and the one
|
|
26
|
+
* shape it cannot build is refused here with a message that names the Page's own
|
|
27
|
+
* prop. That is `AboutPage`'s arrangement for the same pair of link fields, and the
|
|
28
|
+
* cost is the same: a caller who wants the compile error rather than the thrown one
|
|
29
|
+
* types their fields against `ContactField` and passes the result here, which
|
|
30
|
+
* works because the two are structurally the same.
|
|
31
|
+
*/
|
|
32
|
+
export type ContactPageField = {
|
|
33
|
+
/** The caller's key for this field, and the key the value arrives under. */
|
|
34
|
+
id: string;
|
|
35
|
+
/** The field's visible name, and the accessible name its control announces. */
|
|
36
|
+
label: string;
|
|
37
|
+
/** The control the field draws. Five, and they are the five `Contact01` draws. */
|
|
38
|
+
type: 'text' | 'email' | 'tel' | 'textarea' | 'select';
|
|
39
|
+
/** Whether the reader may submit the form without filling it. */
|
|
40
|
+
required: boolean;
|
|
41
|
+
/** A line under the control, announced with it. */
|
|
42
|
+
description?: ReactNode;
|
|
43
|
+
/** What the control shows while it is empty. A hint, not a name. */
|
|
44
|
+
placeholder?: string;
|
|
45
|
+
/** The choices of a `select` field, and forbidden on the other four. */
|
|
46
|
+
options?: readonly ContactPageOption[];
|
|
47
|
+
/** The platform's own autofill hint for this field. */
|
|
48
|
+
autoComplete?: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Every field of an office but whether it carries a map link.
|
|
52
|
+
*
|
|
53
|
+
* Not exported, because the two arms below are what a caller writes and this is
|
|
54
|
+
* only the half they share.
|
|
55
|
+
*/
|
|
56
|
+
type ContactPageOfficeFacts = {
|
|
57
|
+
/** A stable key for the office, carried on the markup as `data-office`. */
|
|
58
|
+
id: string;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the place: the city, the region, the desk.
|
|
61
|
+
*
|
|
62
|
+
* Required, because a card of postal lines with nothing naming which place they
|
|
63
|
+
* are is a set of addresses a reader has to guess between.
|
|
64
|
+
*/
|
|
65
|
+
name: string;
|
|
66
|
+
/** The postal lines, one per entry, in the order a reader reads them. */
|
|
67
|
+
lines: readonly string[];
|
|
68
|
+
/** Whatever else is true of this place: the hours, the languages, the nearest station. */
|
|
69
|
+
detail?: ReactNode;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* One place a reader can reach a person, and the one link it may carry.
|
|
73
|
+
*
|
|
74
|
+
* **`mapLabel` is required wherever `mapHref` is, and declared forbidden where it is
|
|
75
|
+
* not**, for the reason every other link in this package carries the same union: a
|
|
76
|
+
* control whose only words are a coordinate or a route is a control a screen reader
|
|
77
|
+
* announces as punctuation, and it is also the one control on a card whose words a
|
|
78
|
+
* mouse reader cannot select, because the words they select are the ones on the
|
|
79
|
+
* control rather than the ones in the address bar.
|
|
80
|
+
*/
|
|
81
|
+
export type ContactPageOffice = (ContactPageOfficeFacts & {
|
|
82
|
+
/** Where a map of this place is, as a native anchor's `href`. */
|
|
83
|
+
mapHref: string;
|
|
84
|
+
/** The words on that link. Required here, and forbidden on the other arm. */
|
|
85
|
+
mapLabel: string;
|
|
86
|
+
}) | (ContactPageOfficeFacts & {
|
|
87
|
+
/** No map link on this card, so no destination to name. */
|
|
88
|
+
mapHref?: never;
|
|
89
|
+
/** No accessible name owed, because there is no link to name. */
|
|
90
|
+
mapLabel?: never;
|
|
91
|
+
});
|
|
92
|
+
/**
|
|
93
|
+
* The props a ContactPage takes.
|
|
94
|
+
*
|
|
95
|
+
* Every string, every destination and the outcome of the request are props, and the
|
|
96
|
+
* Page ships none of them. A contact screen is where a design system's copy is most
|
|
97
|
+
* tempting and most expensive, because it is the screen a product writes its own
|
|
98
|
+
* apology into, and a sentence written here would be inherited by every consumer.
|
|
99
|
+
*/
|
|
100
|
+
export type ContactPageProps = {
|
|
101
|
+
/** Optional label above the page's own heading. See the No-Default-Eyebrow Rule. */
|
|
102
|
+
eyebrow?: ReactNode;
|
|
103
|
+
/**
|
|
104
|
+
* The page's heading, and this screen's `h1`.
|
|
105
|
+
*
|
|
106
|
+
* Required, and drawn by the Page rather than handed to the form band. See the
|
|
107
|
+
* Page's JSDoc for why the screen needs two headings and why they are not the
|
|
108
|
+
* same sentence twice.
|
|
109
|
+
*/
|
|
110
|
+
title: ReactNode;
|
|
111
|
+
/** One or two sentences under the heading, for what to expect from a reply. */
|
|
112
|
+
description?: ReactNode;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the form band, which sits one step below the page heading.
|
|
115
|
+
*
|
|
116
|
+
* Required rather than optional, and the reason is `Contact01`'s own: that Block
|
|
117
|
+
* requires a title, because a form with no heading is a form in a page. A screen
|
|
118
|
+
* that drew a page heading and gave the form band nothing would have a page whose
|
|
119
|
+
* title was the title of one of its own regions, and a reader navigating by
|
|
120
|
+
* heading would meet the form and not the page.
|
|
121
|
+
*/
|
|
122
|
+
form: {
|
|
123
|
+
/** The band's heading. */
|
|
124
|
+
title: ReactNode;
|
|
125
|
+
/** One supporting line under it, for the part the heading cannot carry. */
|
|
126
|
+
description?: ReactNode;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* The fields, in the order the reader should meet them.
|
|
130
|
+
*
|
|
131
|
+
* `readonly` because the normal way a consumer writes a field list is an `as
|
|
132
|
+
* const` fixture or a record read out of a build step, and a prop typed as a
|
|
133
|
+
* mutable array rejects both at the moment they are most useful.
|
|
134
|
+
*/
|
|
135
|
+
fields: readonly ContactPageField[];
|
|
136
|
+
/**
|
|
137
|
+
* Called with the declared fields' values when the reader submits.
|
|
138
|
+
*
|
|
139
|
+
* Required, for the reason `Contact01` gives: it is the only thing this Page does
|
|
140
|
+
* with what the form collected, and there is no arm of this screen in which a
|
|
141
|
+
* message is gathered and then nowhere to go.
|
|
142
|
+
*/
|
|
143
|
+
onSubmit: (value: ContactValue) => void;
|
|
144
|
+
/** The label on the one control that submits. */
|
|
145
|
+
submitLabel: string;
|
|
146
|
+
/**
|
|
147
|
+
* What the reader is told happens to what they type, drawn under the fields where
|
|
148
|
+
* the reader is about to press the control.
|
|
149
|
+
*/
|
|
150
|
+
consent?: ReactNode;
|
|
151
|
+
/**
|
|
152
|
+
* The outcome of the caller's own request, drawn in a live region and announced.
|
|
153
|
+
*
|
|
154
|
+
* `Contact01`'s status, taken unchanged rather than restated. Its four states are
|
|
155
|
+
* read for two things only: `sending` disables the submit control, because a
|
|
156
|
+
* second press while the first request is in flight is a duplicate enquiry a
|
|
157
|
+
* support inbox cannot merge, and `error` makes the announcement assertive. A Page
|
|
158
|
+
* that named the same state `working` would have to translate it at the boundary,
|
|
159
|
+
* which buys a vaguer word and a table to keep in step.
|
|
160
|
+
*/
|
|
161
|
+
status?: Contact01Status;
|
|
162
|
+
/**
|
|
163
|
+
* The closing band: a `Faq01` for the questions nobody should have to ask to find
|
|
164
|
+
* this screen, a `Newsletter01`, or a legal line.
|
|
165
|
+
*
|
|
166
|
+
* Named for the band most consumers put here, and it holds any of the three,
|
|
167
|
+
* because a contact screen is the band, the places, and the questions, and the
|
|
168
|
+
* last of those is content rather than a footer.
|
|
169
|
+
*/
|
|
170
|
+
footer?: ReactNode;
|
|
171
|
+
/**
|
|
172
|
+
* The level of the page's own heading, and one step below it for the band
|
|
173
|
+
* headings, and two below for an office's name.
|
|
174
|
+
*
|
|
175
|
+
* Defaults to `h1`, because a Page owns the top of the document outline.
|
|
176
|
+
*/
|
|
177
|
+
headingLevel?: HeadingLevel;
|
|
178
|
+
/** Layout only, exactly as on every Item. Changing a Prism-owned visual property from here is prohibited. */
|
|
179
|
+
className?: string;
|
|
180
|
+
} & ({
|
|
181
|
+
/**
|
|
182
|
+
* The places a reader can reach a person, in the order a reader should meet
|
|
183
|
+
* them. At least one, and the band is only there when there are.
|
|
184
|
+
*/
|
|
185
|
+
offices: readonly ContactPageOffice[];
|
|
186
|
+
/**
|
|
187
|
+
* The accessible name and the visible heading of that band.
|
|
188
|
+
*
|
|
189
|
+
* Required here and forbidden on the other arm. "Offices", "Where we are"
|
|
190
|
+
* and "Locations" are three products' words, and a row of addresses with
|
|
191
|
+
* nothing above it is the region every contact screen forgets to name.
|
|
192
|
+
*/
|
|
193
|
+
officesLabel: string;
|
|
194
|
+
} | {
|
|
195
|
+
/** No places on this screen, so there is no band to name. */
|
|
196
|
+
offices?: never;
|
|
197
|
+
/** No word is needed, because there is no band to name. */
|
|
198
|
+
officesLabel?: never;
|
|
199
|
+
});
|
|
200
|
+
/**
|
|
201
|
+
* A complete contact screen: the page heading, the form the caller declares, the
|
|
202
|
+
* places a reader can reach a person, and the questions they should not have to ask
|
|
203
|
+
* to find this screen.
|
|
204
|
+
*
|
|
205
|
+
* **The offices are the part that makes this a Page rather than a `Contact01`, and
|
|
206
|
+
* it is worth saying what that Block cannot do.** A contact Block is a band: one
|
|
207
|
+
* form, in one column, with the caller's fields. A contact screen is the band, the
|
|
208
|
+
* places, and the questions, and the two extras are what a reader actually arrives
|
|
209
|
+
* with, because a reader who wants to write has a fallback and a reader who has run
|
|
210
|
+
* out of patience has a map. `Contact01` has an `address` arm and this Page does not
|
|
211
|
+
* use it, for three reasons that all point the same way: that arm holds exactly one
|
|
212
|
+
* postal address where a business has as many as it has regions; it has no field for
|
|
213
|
+
* a name for the place, so three cities are three unlabelled blocks of lines; and
|
|
214
|
+
* its link arm is a `mailto`, which is the wrong link for a place that is not
|
|
215
|
+
* reachable by post. A consumer whose only address is one postal address beside one
|
|
216
|
+
* form should compose `Contact01` with that arm, which is the better arrangement
|
|
217
|
+
* for one address, and the cost here is the other thing: the offices are a band
|
|
218
|
+
* under the form rather than a column beside it, because a Block that draws its own
|
|
219
|
+
* `Section` cannot be dropped into a grid column without the page's vertical rhythm
|
|
220
|
+
* doubling, which is the same reason `dashboard-page` stacks its bands rather than
|
|
221
|
+
* setting two of them side by side.
|
|
222
|
+
*
|
|
223
|
+
* **The offices are facts and not controls, and the type is what holds that.** A
|
|
224
|
+
* postal line is a string a reader copies. `detail` is a node, because the honest
|
|
225
|
+
* thing under a place is sometimes a sentence and sometimes a small table of
|
|
226
|
+
* opening hours, and a string would force one of those to be flattened. The only
|
|
227
|
+
* link a card may carry is the caller's own map link, and it carries words, and the
|
|
228
|
+
* union is what makes those words required. A screen that turned its regions into
|
|
229
|
+
* navigation would be telling a reader that a place is a topic they can read about,
|
|
230
|
+
* and the only topic any of them has is how to get there.
|
|
231
|
+
*
|
|
232
|
+
* **The page heading and the form band are two headings and not one sentence twice.**
|
|
233
|
+
* The rejected alternative was handing `title` to the form and letting the Block's
|
|
234
|
+
* section heading be the page's `h1`, which is what `onboarding-page` does and what
|
|
235
|
+
* it can do because its first band is the whole screen. Here the first band is a
|
|
236
|
+
* form with a name of its own, and a screen whose page heading was "Talk to us" and
|
|
237
|
+
* whose form heading was also "Talk to us" would be a page with one heading drawn
|
|
238
|
+
* twice and a reader navigating by heading who met the form rather than the page.
|
|
239
|
+
*
|
|
240
|
+
* **The status is `Contact01`'s, and the refusal to invent one is the whole of this
|
|
241
|
+
* Page's copy law.** There is no success sentence anywhere in this file, no `sent`
|
|
242
|
+
* flag written by this package, and no "we will reply within a day". A contact
|
|
243
|
+
* request can be delivered, held by a filter, filed by a bot, refused as a duplicate
|
|
244
|
+
* and answered, and one sentence cannot be true of all five, so the caller owns the
|
|
245
|
+
* promise and writes the words. The cost is that a consumer who installs this screen
|
|
246
|
+
* has to write a sentence they will get wrong once.
|
|
247
|
+
*
|
|
248
|
+
* **It is a client Component, and the reason is `onSubmit`.** A handler is a
|
|
249
|
+
* function, a function is a piece of state, and a function cannot cross from a
|
|
250
|
+
* server Component to a client Component, so a server Page that took one would hand
|
|
251
|
+
* a caller a form that gathers a person's name, an address and a message and then
|
|
252
|
+
* calls nothing. `Contact01` is a client module for the same reason and the Page
|
|
253
|
+
* cannot be a server module in front of it. The cost is stated rather than hidden:
|
|
254
|
+
* every datum on this screen is serialised across the boundary to reach a band three
|
|
255
|
+
* elements down, and the rejected alternative was a form slot, which would have
|
|
256
|
+
* been a Page that owns a heading, a row of addresses and nothing a reader could
|
|
257
|
+
* submit.
|
|
258
|
+
*/
|
|
259
|
+
export declare function ContactPage({ eyebrow, title, description, form, fields, onSubmit, submitLabel, consent, status, offices, officesLabel, footer, headingLevel, className, }: ContactPageProps): import("react").JSX.Element;
|
|
260
|
+
export default ContactPage;
|
|
261
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/contact-page/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAEL,KAAK,eAAe,EAEpB,KAAK,YAAY,EAClB,MAAM,yBAAyB,CAAA;AAGhC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAA;IACb,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAA;IACV,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;IACb,kFAAkF;IAClF,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,UAAU,GAAG,QAAQ,CAAA;IACtD,iEAAiE;IACjE,QAAQ,EAAE,OAAO,CAAA;IACjB,mDAAmD;IACnD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wEAAwE;IACxE,OAAO,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACtC,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED;;;;;GAKG;AACH,KAAK,sBAAsB,GAAG;IAC5B,2EAA2E;IAC3E,EAAE,EAAE,MAAM,CAAA;IACV;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,yEAAyE;IACzE,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GACzB,CAAC,sBAAsB,GAAG;IACxB,iEAAiE;IACjE,OAAO,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC,GACF,CAAC,sBAAsB,GAAG;IACxB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,KAAK,CAAA;IACf,iEAAiE;IACjE,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,CAAC,CAAA;AAEN;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oFAAoF;IACpF,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;;OAQG;IACH,IAAI,EAAE;QACJ,0BAA0B;QAC1B,KAAK,EAAE,SAAS,CAAA;QAChB,2EAA2E;QAC3E,WAAW,CAAC,EAAE,SAAS,CAAA;KACxB,CAAA;IACD;;;;;;OAMG;IACH,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACnC;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IACvC,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,6GAA6G;IAC7G,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,CACA;IACE;;;OAGG;IACH,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACrC;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAA;CACrB,GACD;IACE,6DAA6D;IAC7D,OAAO,CAAC,EAAE,KAAK,CAAA;IACf,2DAA2D;IAC3D,YAAY,CAAC,EAAE,KAAK,CAAA;CACrB,CACJ,CAAA;AAgED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAW,EACX,OAAO,EACP,MAAM,EACN,OAAO,EACP,YAAY,EACZ,MAAM,EACN,YAAmB,EACnB,SAAS,GACV,EAAE,gBAAgB,+BAsHlB;AAED,eAAe,WAAW,CAAA"}
|