@nanisoft/prism-ui 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +3 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.js +4 -4
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1003 -55
- package/package.json +9 -3
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { Button } from '../../components/ui/button.js';
|
|
5
|
+
import { LiveRegion } from '../../components/ui/live-region.js';
|
|
6
|
+
import { ScrollArea } from '../../components/ui/scroll-area.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* The one source of truth for order, so a late call with an earlier `at` sorts
|
|
10
|
+
* there and two runs of the same suite render the same ledger. Ties break on
|
|
11
|
+
* `id`, which is the same rule `RunStream01` states for its own events.
|
|
12
|
+
*/
|
|
13
|
+
const byOpened = (a, b) => a.openedAt - b.openedAt || a.call.id.localeCompare(b.call.id);
|
|
14
|
+
/**
|
|
15
|
+
* The seed a run opens with, already trimmed to the window.
|
|
16
|
+
*
|
|
17
|
+
* The trim is here rather than only on the arrival path because a caller who
|
|
18
|
+
* passes four hundred `callbacks` to a ledger that keeps two hundred has to be
|
|
19
|
+
* told so on the first paint, and a surface that only counted what it dropped
|
|
20
|
+
* after it dropped it would print a count of zero over a ledger missing half its
|
|
21
|
+
* history.
|
|
22
|
+
*/
|
|
23
|
+
function seedOf(calls, limit) {
|
|
24
|
+
const rows = [...calls].map((call) => ({ call, openedAt: call.at })).sort(byOpened);
|
|
25
|
+
if (rows.length <= limit)
|
|
26
|
+
return { rows, dropped: 0 };
|
|
27
|
+
const dropped = rows.length - limit;
|
|
28
|
+
return { rows: rows.slice(dropped), dropped };
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The ink each state is stated in, and the tick beside it.
|
|
32
|
+
*
|
|
33
|
+
* The tick is the state's own first letter rather than a glyph this file invented,
|
|
34
|
+
* so there is nothing to translate and nothing to learn twice: `f` is the failed
|
|
35
|
+
* call in every locale, and it is a letter rather than a shape, so it survives a
|
|
36
|
+
* monochrome render and a screen at 200 per cent the way a hairline does not.
|
|
37
|
+
*
|
|
38
|
+
* `queued` and `cancelled` share the muted ink, and the letters are what tell them
|
|
39
|
+
* apart. That is the same trade `Status` makes and states: a wider palette on a
|
|
40
|
+
* surface a reader scans is a wider set of colours they have to learn, and the
|
|
41
|
+
* cost of a shared ink is one letter.
|
|
42
|
+
*/
|
|
43
|
+
const STATE_INK = {
|
|
44
|
+
queued: 'text-muted-foreground',
|
|
45
|
+
running: 'text-foreground',
|
|
46
|
+
succeeded: 'text-success',
|
|
47
|
+
failed: 'text-destructive',
|
|
48
|
+
cancelled: 'text-muted-foreground',
|
|
49
|
+
};
|
|
50
|
+
/** The tick each state draws, so the five are told apart without relying on colour. */
|
|
51
|
+
const STATE_MARK = {
|
|
52
|
+
queued: 'q',
|
|
53
|
+
running: 'r',
|
|
54
|
+
succeeded: 's',
|
|
55
|
+
failed: 'f',
|
|
56
|
+
cancelled: 'c',
|
|
57
|
+
};
|
|
58
|
+
/** The clock a row reads, in UTC, because the surface holds no locale to format in. */
|
|
59
|
+
const clockOf = (at) => new Date(at).toISOString().slice(11, 19);
|
|
60
|
+
/** One call merged into the ledger, and what fell off the top doing it. */
|
|
61
|
+
function merge(rows, call, limit) {
|
|
62
|
+
const at = rows.findIndex((row) => row.call.id === call.id);
|
|
63
|
+
const next = at === -1
|
|
64
|
+
? [...rows, { call, openedAt: call.at }].sort(byOpened)
|
|
65
|
+
: rows.map((row, index) => (index === at ? { call, openedAt: row.openedAt } : row));
|
|
66
|
+
if (next.length <= limit)
|
|
67
|
+
return { rows: next, dropped: 0 };
|
|
68
|
+
const dropped = next.length - limit;
|
|
69
|
+
return { rows: next.slice(dropped), dropped };
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The tool-call ledger of a run in flight: what was called, what it returned, and
|
|
73
|
+
* what it cost, as it arrives.
|
|
74
|
+
*
|
|
75
|
+
* **The surface opens no connection, and that is the whole boundary.** There is no
|
|
76
|
+
* socket in this file, no endpoint, no retry policy, no backoff, no heartbeat and
|
|
77
|
+
* no persistence, and there is no provider to mount. `subscribe` is a function the
|
|
78
|
+
* consumer supplies and a function it tears down, which is what makes a WebSocket,
|
|
79
|
+
* an `EventSource`, a polling timer, a server-sent stream and a test's own array
|
|
80
|
+
* all the same shape to this surface: nothing here knows which one it got. A
|
|
81
|
+
* consumer that already has a connection passes it in, and a consumer that does
|
|
82
|
+
* not has not acquired a client runtime by importing this.
|
|
83
|
+
*
|
|
84
|
+
* **It is the second of the two surfaces Prism owns for a run, and the two are
|
|
85
|
+
* separate because a reader debugging a run wants them at different times and in
|
|
86
|
+
* different shapes.** `RunStream01` says what happened in words: an ordered log of
|
|
87
|
+
* events, each one a sentence the caller wrote, which is what a reader reads to
|
|
88
|
+
* follow what an agent is doing. This one says what was called and what it cost in
|
|
89
|
+
* structure: a name, a state, an elapsed figure, the arguments, the return value
|
|
90
|
+
* or the error, keyed and ordered so two calls can be compared. Those are not two
|
|
91
|
+
* renderings of one thing, because the word log answers "what did it say" and the
|
|
92
|
+
* word ledger answers "what did it spend". A reader watching a run wants the
|
|
93
|
+
* first; a reader with a bill, a latency regression or a bill from a provider
|
|
94
|
+
* wants the second. Folding them into one surface would give a reader a table and
|
|
95
|
+
* a narrative fighting over one scroll, each of them half as good at the job the
|
|
96
|
+
* other was for, and a single surface is a single surface a consumer can only
|
|
97
|
+
* take or leave.
|
|
98
|
+
*
|
|
99
|
+
* **It times nothing, measures nothing, and does not decide that a call
|
|
100
|
+
* succeeded.** `at` is the consumer's timestamp and `durationLabel` is the
|
|
101
|
+
* consumer's sentence, and the surface never starts a clock, never reads
|
|
102
|
+
* `Date.now()` and never infers a duration from the gap between one call and the
|
|
103
|
+
* next. That gap is a real number and it is not a duration: it is how long the
|
|
104
|
+
* consumer's transport took to deliver two consecutive events, which is a fact
|
|
105
|
+
* about the transport, and a ledger that printed it in a column headed "took"
|
|
106
|
+
* would be reporting a figure nobody produced. The only subtraction here is
|
|
107
|
+
* between two sightings of the *same* `id`, both of which are the consumer's own
|
|
108
|
+
* `at` values, and even that is drawn only when the second sighting is later than
|
|
109
|
+
* the first: a call seen once has no second timestamp, and a zero would be a
|
|
110
|
+
* claim that a call took no time. For the same reason the surface does not decide
|
|
111
|
+
* a call succeeded. It draws the state it was sent, in the ink that state is drawn
|
|
112
|
+
* in, and a consumer whose transport reports `succeeded` for a call that raised is
|
|
113
|
+
* a consumer with a bug in their transport that this surface cannot see and should
|
|
114
|
+
* not paper over. The cost of all of that is named: a caller who wants a duration
|
|
115
|
+
* they did not measure passes `durationLabel` and gets one, and a caller who
|
|
116
|
+
* wants the surface to measure has the wrong surface.
|
|
117
|
+
*
|
|
118
|
+
* **A row is keyed on `id` and never on its index, and the reason is a screen
|
|
119
|
+
* reader told something twice.** A ledger that grows at the top re-keys every row
|
|
120
|
+
* below it when the index of each one moves, and React's reconciliation then
|
|
121
|
+
* replaces those rows rather than moving them. A replaced node is a new node to
|
|
122
|
+
* assistive technology, so a call the reader had already reached is announced
|
|
123
|
+
* again as though it had just happened, once per arrival, in a surface whose whole
|
|
124
|
+
* job is to report arrivals. Keying on `id` means an existing row is the same row
|
|
125
|
+
* however far it has moved, which is also why a re-reported call updates its own
|
|
126
|
+
* row in place instead of adding a second one: the same id is the same call.
|
|
127
|
+
*
|
|
128
|
+
* **`limit` drops the oldest and says how many, because a run with four hundred
|
|
129
|
+
* tool calls is a log and not a table.** A ledger is a bounded set of rows a
|
|
130
|
+
* reader scans and compares; a log is a sequence a reader searches. A run that
|
|
131
|
+
* calls a tool four hundred times is normal rather than exceptional, and a ledger
|
|
132
|
+
* that kept every call would put four hundred rows in front of a reader who wants
|
|
133
|
+
* the last ten, in a `<ol>` inside a scroll region, at a moment when the run is
|
|
134
|
+
* still going and the rows at the bottom are the ones that explain it. So the
|
|
135
|
+
* oldest fall off the top, the direction a reader wants, and the count of what
|
|
136
|
+
* fell is drawn rather than inferred: a bounded list that does not say it is
|
|
137
|
+
* bounded reads as the whole thing, and a reader who believes a ledger is
|
|
138
|
+
* complete and is not will draw the wrong conclusion from it. The dropped calls
|
|
139
|
+
* are not lost to the consumer, who has the transport and the run; they are lost
|
|
140
|
+
* to this surface's window, and the count is how big that window's blind spot is.
|
|
141
|
+
*
|
|
142
|
+
* **A paused ledger stops recording, and it does not stop the run.** While paused,
|
|
143
|
+
* a call that arrives is dropped rather than queued, and the announcement is not
|
|
144
|
+
* made. Queuing is the alternative and it is worse in both directions: a queue
|
|
145
|
+
* that grows is a list whose contents the surface cannot show, and a queue that
|
|
146
|
+
* flushes on resume dumps a hundred rows at once, which is a worse thing to happen
|
|
147
|
+
* to a reader who pressed pause in order to read. The calls that happened are the
|
|
148
|
+
* consumer's, and the way to get them back into this surface is a new
|
|
149
|
+
* `resubscribeKey` with `callbacks` reseeded from the consumer's own record. What
|
|
150
|
+
* a pause does not do is close the subscription, because the connection is the
|
|
151
|
+
* consumer's and they may be sharing it with a `RunStream01` beside it.
|
|
152
|
+
*
|
|
153
|
+
* **It draws no heading.** This surface takes `label` and no `title`, because it is
|
|
154
|
+
* the thing a consumer reaches for inside a region they have already named, and a
|
|
155
|
+
* surface that named itself would either duplicate the caller's heading or push
|
|
156
|
+
* them to omit theirs. `label` names the region for assistive technology, which is
|
|
157
|
+
* a different job from a visible heading, and it is the same split `ScrollArea`
|
|
158
|
+
* already makes.
|
|
159
|
+
*
|
|
160
|
+
* It draws a heading nowhere and it animates nowhere. There is no entrance, no
|
|
161
|
+
* attention loop and no motion on an arriving row, because the reader was not
|
|
162
|
+
* waiting for a row to arrive and the motion law refuses decoration outright; the
|
|
163
|
+
* fact that something changed is reported by the polite region in it, which is the
|
|
164
|
+
* one channel in this package built for exactly that.
|
|
165
|
+
*/
|
|
166
|
+
export function ToolLedger01({ subscribe, callbacks, resubscribeKey, label, empty, limit = 200, droppedLabel, pauseControl, pauseLabel, resumeLabel, paused, className, }) {
|
|
167
|
+
const [newest, setNewest] = useState(undefined);
|
|
168
|
+
const [run, setRun] = useState(() => ({
|
|
169
|
+
key: resubscribeKey,
|
|
170
|
+
...seedOf(callbacks ?? [], limit),
|
|
171
|
+
}));
|
|
172
|
+
/*
|
|
173
|
+
* Adjusting state during render when the key changes is React's documented
|
|
174
|
+
* pattern for "a prop changed, start over", and it is the right one here for the
|
|
175
|
+
* reason `RunStream01` gives: an effect that clears the ledger runs *after* a
|
|
176
|
+
* render, so the surface would paint one frame holding the previous run's calls
|
|
177
|
+
* under the new run's subscription.
|
|
178
|
+
*/
|
|
179
|
+
if (run.key !== resubscribeKey) {
|
|
180
|
+
setRun({ key: resubscribeKey, ...seedOf(callbacks ?? [], limit) });
|
|
181
|
+
// The announcement is cleared with the ledger it announced, so a run switch does
|
|
182
|
+
// not leave the previous run's last call in the live region saying so.
|
|
183
|
+
setNewest(undefined);
|
|
184
|
+
}
|
|
185
|
+
const rows = run.rows;
|
|
186
|
+
/**
|
|
187
|
+
* Whether this surface is holding still, kept in a ref as well as in state.
|
|
188
|
+
*
|
|
189
|
+
* The ref is what the arrival path reads, and it is why the subscription effect
|
|
190
|
+
* does not list the pause among its dependencies: an effect that depended on the
|
|
191
|
+
* pause would tear the consumer's connection down and open a new one every time
|
|
192
|
+
* a reader pressed the control, and a consumer who shares one socket between this
|
|
193
|
+
* surface and a `RunStream01` would see it reconnect under them. The button
|
|
194
|
+
* writes both, so the value the effect reads is the value the reader set.
|
|
195
|
+
*/
|
|
196
|
+
const [held, setHeldState] = useState(paused === true);
|
|
197
|
+
const heldRef = useRef(held);
|
|
198
|
+
const setHeld = (next) => {
|
|
199
|
+
heldRef.current = next;
|
|
200
|
+
setHeldState(next);
|
|
201
|
+
};
|
|
202
|
+
/*
|
|
203
|
+
* A ref rather than state, so the effect does not re-subscribe because a call
|
|
204
|
+
* arrived. An effect that depended on the value it writes re-runs itself, and the
|
|
205
|
+
* surface would open a new subscription per call.
|
|
206
|
+
*/
|
|
207
|
+
const emit = useRef(() => { });
|
|
208
|
+
useEffect(() => {
|
|
209
|
+
emit.current = (call) => {
|
|
210
|
+
// Read through the ref, so a paused surface decides without re-subscribing.
|
|
211
|
+
if (heldRef.current)
|
|
212
|
+
return;
|
|
213
|
+
setRun((current) => {
|
|
214
|
+
const added = merge(current.rows, call, limit);
|
|
215
|
+
return {
|
|
216
|
+
...current,
|
|
217
|
+
rows: added.rows,
|
|
218
|
+
dropped: current.dropped + added.dropped,
|
|
219
|
+
};
|
|
220
|
+
});
|
|
221
|
+
setNewest(call.name);
|
|
222
|
+
};
|
|
223
|
+
const stop = subscribe(emit.current);
|
|
224
|
+
return () => {
|
|
225
|
+
// Calling an unsubscribe the consumer did not return would throw during
|
|
226
|
+
// unmount, so a missing one is stepped over and the leak is the consumer's to
|
|
227
|
+
// fix rather than a crash in someone else's teardown.
|
|
228
|
+
if (typeof stop === 'function')
|
|
229
|
+
stop();
|
|
230
|
+
};
|
|
231
|
+
}, [subscribe, resubscribeKey, limit]);
|
|
232
|
+
return (_jsxs("section", { "data-slot": "tool-ledger", className: cn('border-border flex flex-col gap-4 rounded-lg border p-4', className), children: [LiveRegion({ politeness: 'polite', children: newest }), droppedLabel === undefined && pauseControl !== true ? null : (_jsxs("div", { "data-slot": "tool-ledger-bar", className: "flex flex-wrap items-center gap-3", children: [run.dropped > 0 && droppedLabel !== undefined ? (_jsx("p", { "data-slot": "tool-ledger-dropped", className: "text-muted-foreground text-xs", children: droppedLabel(run.dropped) })) : null, pauseControl !== true ? null : (_jsx(Button, { "data-slot": "tool-ledger-pause", type: "button", variant: "outline", size: "sm", "aria-pressed": held, className: "ml-auto", onClick: () => setHeld(!heldRef.current), children: held ? resumeLabel : pauseLabel }))] })), rows.length === 0 ? (_jsx("p", { "data-slot": "tool-ledger-empty", className: "text-muted-foreground text-sm", children: empty })) : (_jsx(ScrollArea, { label: label, className: "max-h-96", children: _jsx("ol", { "data-slot": "tool-ledger-calls", className: "flex flex-col", children: rows.map((row) => {
|
|
233
|
+
const { call } = row;
|
|
234
|
+
// The difference between two sightings of the same call, and only when
|
|
235
|
+
// there are two. The sentence is the consumer's, the arithmetic is one
|
|
236
|
+
// subtraction of the consumer's own timestamps, and there is no clock
|
|
237
|
+
// in this file.
|
|
238
|
+
const elapsed = call.at - row.openedAt;
|
|
239
|
+
const duration = elapsed > 0 && call.durationLabel !== undefined
|
|
240
|
+
? call.durationLabel(elapsed, { id: call.id, name: call.name })
|
|
241
|
+
: null;
|
|
242
|
+
return (_jsxs("li", { "data-slot": "tool-ledger-call", "data-state": call.state, className: "border-border flex flex-col gap-1 border-b py-3 last:border-b-0", children: [_jsxs("div", { className: "flex flex-wrap items-baseline gap-x-2 gap-y-1", children: [_jsx("span", { "aria-hidden": "true", className: cn('font-mono text-xs', STATE_INK[call.state]), children: STATE_MARK[call.state] }), _jsx("time", { dateTime: new Date(row.openedAt).toISOString(), className: "text-muted-foreground font-mono text-xs tabular-nums", children: clockOf(row.openedAt) }), _jsx("span", { className: "text-foreground text-sm font-medium", children: call.name }), call.spanLabel ? (_jsx("span", { "data-slot": "tool-ledger-span", className: "border-border text-muted-foreground rounded border px-1 font-mono text-xs", children: call.spanLabel })) : null, duration === null ? null : (_jsx("span", { "data-slot": "tool-ledger-duration", className: "text-muted-foreground ml-auto font-mono text-xs tabular-nums", children: duration }))] }), call.argumentsText === undefined ? null : (_jsx("span", { "data-slot": "tool-ledger-arguments", className: "text-muted-foreground font-mono text-xs break-words", children: call.argumentsText })), call.resultText === undefined ? null : (_jsx("span", { "data-slot": "tool-ledger-result", className: "text-muted-foreground text-pretty text-xs", children: call.resultText })), call.errorText === undefined ? null : (_jsx("span", { "data-slot": "tool-ledger-error", className: "text-destructive text-pretty text-xs", children: call.errorText })), call.link === undefined ? null : (_jsx("a", { "data-slot": "tool-ledger-link", href: call.link.href, className: "text-foreground self-start rounded-sm text-xs underline-offset-4 hover:underline", children: call.link.label }))] }, call.id));
|
|
243
|
+
}) }) }))] }));
|
|
244
|
+
}
|
|
245
|
+
export default ToolLedger01;
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One principle the company holds itself to: a short name and a sentence saying
|
|
5
|
+
* what holding to it means in practice.
|
|
6
|
+
*
|
|
7
|
+
* Declared here rather than taken from `about-01`, following the note
|
|
8
|
+
* `About01` makes about `hero-01`: a page's principle and a band's principle are
|
|
9
|
+
* two surfaces a consumer composes separately, and a consumer that reaches for
|
|
10
|
+
* one while building the other should not have to import the other's type. The
|
|
11
|
+
* shapes are identical and the duplication is the cost, and the cost is small
|
|
12
|
+
* because both are three fields and a key.
|
|
13
|
+
*/
|
|
14
|
+
export type AboutPagePrinciple = {
|
|
15
|
+
/** A stable key, and not the name: a rename in the copy is not a rename in a key. */
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* The principle's own name.
|
|
19
|
+
*
|
|
20
|
+
* A string because a principles grid is scanned down its left edge, and a name
|
|
21
|
+
* that wraps to two lines costs every other tile its alignment. The sentence
|
|
22
|
+
* under it is the part a consumer wants to mark up, and that is a node.
|
|
23
|
+
*/
|
|
24
|
+
title: string;
|
|
25
|
+
/** What holding to this one means, in practice. */
|
|
26
|
+
body: ReactNode;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* One moment in the company's history: when it happened, what it was called, what
|
|
30
|
+
* changed, and optionally a figure of the time.
|
|
31
|
+
*
|
|
32
|
+
* `at` is a string rather than a `Date` and Prism formats no date: `2024`,
|
|
33
|
+
* `Q3 2024` and `Winter 2024` are all honest readings, and the reading a reader
|
|
34
|
+
* in a particular locale and script should see is the caller's to compose with
|
|
35
|
+
* `RelativeTime` or with the platform's own `Intl`.
|
|
36
|
+
*
|
|
37
|
+
* `body` is optional here and required on the rail, which is a boundary and not an
|
|
38
|
+
* oversight: a milestone that is a date and a name is a legitimate row, and the
|
|
39
|
+
* Page hands the rail an empty node for the paragraph rather than dropping the
|
|
40
|
+
* milestone, because a history with a hole in it is worse than a milestone with
|
|
41
|
+
* one sentence fewer.
|
|
42
|
+
*/
|
|
43
|
+
export type AboutPageMilestone = {
|
|
44
|
+
/** A stable key for the milestone. */
|
|
45
|
+
id: string;
|
|
46
|
+
/** When it happened, already written the way a reader should see it. */
|
|
47
|
+
at: string;
|
|
48
|
+
/** What the milestone was called at the time. */
|
|
49
|
+
title: string;
|
|
50
|
+
/** What changed, in the reader's terms rather than the company's. */
|
|
51
|
+
body?: ReactNode;
|
|
52
|
+
/** A figure of the time, composed by the caller. */
|
|
53
|
+
media?: ReactNode;
|
|
54
|
+
/** The caption for `media`. Separate from `media` because a figure that needs none is real. */
|
|
55
|
+
mediaLabel?: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* One person, as a team grid shows them: a name, a role, and whatever else the
|
|
59
|
+
* consumer publishes about them.
|
|
60
|
+
*
|
|
61
|
+
* All four of the optional fields are optional because each absence is a fact
|
|
62
|
+
* about what the consumer publishes rather than a state this Page has to render
|
|
63
|
+
* around: a portrait may be absent, a biography may be absent, a destination may
|
|
64
|
+
* be absent.
|
|
65
|
+
*/
|
|
66
|
+
export type AboutPagePerson = {
|
|
67
|
+
/** A stable key for the cell, carried on the markup so a test can name one person. */
|
|
68
|
+
id: string;
|
|
69
|
+
/** The person's own name, as they publish it, and the source of the portrait's initials. */
|
|
70
|
+
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* What they do, in the words the consumer uses.
|
|
73
|
+
*
|
|
74
|
+
* Required because a portrait and a name with no role says who someone is and
|
|
75
|
+
* not what they are for, which on a team page is the only reason the person is
|
|
76
|
+
* in it.
|
|
77
|
+
*/
|
|
78
|
+
role: string;
|
|
79
|
+
/** A sentence or two about the person, set at the reading measure and never cut short. */
|
|
80
|
+
bio?: ReactNode;
|
|
81
|
+
/**
|
|
82
|
+
* The portrait, with the name the initials come from.
|
|
83
|
+
*
|
|
84
|
+
* A name rather than a string, because a portrait with no fallback is an empty
|
|
85
|
+
* circle for as long as the image takes to arrive and for ever if it never does.
|
|
86
|
+
*/
|
|
87
|
+
avatar?: {
|
|
88
|
+
/** The photograph. Omit it, or pass a URL that fails, for the initials. */
|
|
89
|
+
src?: string;
|
|
90
|
+
/** The person's name, which is the initials' source. */
|
|
91
|
+
name: string;
|
|
92
|
+
};
|
|
93
|
+
/** Where the person goes. A native anchor, and it makes the whole cell the destination. */
|
|
94
|
+
href?: string;
|
|
95
|
+
/** The words naming the destination. Required whenever `href` is, and enforced below. */
|
|
96
|
+
hrefLabel?: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* One engagement or capability: what it is called, what the work is, what the
|
|
100
|
+
* reader gets, and what it is for.
|
|
101
|
+
*
|
|
102
|
+
* `deliverables` is a `readonly string[]` rather than a node because a
|
|
103
|
+
* deliverables list is a set of short noun phrases a reader checks off against
|
|
104
|
+
* their own situation, and one paragraph in a five item list is a list the reader
|
|
105
|
+
* stops scanning.
|
|
106
|
+
*/
|
|
107
|
+
export type AboutPageService = {
|
|
108
|
+
/** A stable key for the engagement. */
|
|
109
|
+
id: string;
|
|
110
|
+
/** What the engagement is called. */
|
|
111
|
+
title: string;
|
|
112
|
+
/** What the work is, in a few sentences. */
|
|
113
|
+
body: ReactNode;
|
|
114
|
+
/** What the reader gets, as short noun phrases, in the order it arrives. */
|
|
115
|
+
deliverables?: readonly string[];
|
|
116
|
+
/** What it is for, stated as an effect rather than as a feature. */
|
|
117
|
+
outcome?: ReactNode;
|
|
118
|
+
/** Where the engagement's own page is. Its presence makes the card carry a link. */
|
|
119
|
+
href?: string;
|
|
120
|
+
/** The words on the link. Required whenever `href` is, and enforced below. */
|
|
121
|
+
hrefLabel?: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* The closing band: a heading, a supporting line, and at most one way on.
|
|
125
|
+
*
|
|
126
|
+
* `cta` is optional because a closing band that asks for nothing is a real
|
|
127
|
+
* arrangement, and `Cta01`'s own JSDoc gives the same reason for the same prop. A
|
|
128
|
+
* band that wants two destinations is a page a consumer composes.
|
|
129
|
+
*/
|
|
130
|
+
export type AboutPageContact = {
|
|
131
|
+
/** The band's heading. */
|
|
132
|
+
title: ReactNode;
|
|
133
|
+
/** One or two sentences under the heading. */
|
|
134
|
+
description?: ReactNode;
|
|
135
|
+
/** The one way on, as a native anchor with a destination. */
|
|
136
|
+
cta?: {
|
|
137
|
+
/** The words on the link. */
|
|
138
|
+
label: string;
|
|
139
|
+
/** Where it goes. */
|
|
140
|
+
href: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* The props an AboutPage takes.
|
|
145
|
+
*
|
|
146
|
+
* Every string, every date and every destination is a prop and the Page ships
|
|
147
|
+
* none of them. An about page is the page a consumer is most tempted to fill with
|
|
148
|
+
* somebody else's sentences, because it is the page where a company talks about
|
|
149
|
+
* itself, and a Page that held any of it would put one company's history, one
|
|
150
|
+
* company's staff and one company's promises into every product that installs it.
|
|
151
|
+
*/
|
|
152
|
+
export type AboutPageProps = {
|
|
153
|
+
/** Optional label above the page's own heading. See the No-Default-Eyebrow Rule. */
|
|
154
|
+
eyebrow?: string;
|
|
155
|
+
/**
|
|
156
|
+
* The page's heading.
|
|
157
|
+
*
|
|
158
|
+
* Required, and it is the page's `h1`, which is why it is the first thing the
|
|
159
|
+
* Page hands to the first band rather than a title it draws above it. See the
|
|
160
|
+
* Page's JSDoc for the whole of that argument.
|
|
161
|
+
*/
|
|
162
|
+
title: ReactNode;
|
|
163
|
+
/**
|
|
164
|
+
* One or two sentences under the heading, for the part the heading cannot carry.
|
|
165
|
+
*
|
|
166
|
+
* A node rather than a string, because the supporting paragraph of an about
|
|
167
|
+
* band is the one place on a marketing page a consumer wants authored prose
|
|
168
|
+
* with a link in it, and a string would force them to drop the markup.
|
|
169
|
+
*/
|
|
170
|
+
description?: ReactNode;
|
|
171
|
+
/**
|
|
172
|
+
* The one big sentence: what this is, in the present tense, for the reader.
|
|
173
|
+
*
|
|
174
|
+
* Required, and it is the band. A page with a heading, a paragraph and a set of
|
|
175
|
+
* principles but no statement is a hero without its actions, and a hero is a
|
|
176
|
+
* claim about a product a reader has not decided anything about yet.
|
|
177
|
+
*/
|
|
178
|
+
statement: ReactNode;
|
|
179
|
+
/**
|
|
180
|
+
* The principles, in the order a reader should meet them.
|
|
181
|
+
*
|
|
182
|
+
* Required, and `readonly` because the normal way a consumer writes one of these
|
|
183
|
+
* is an `as const` fixture, and a prop typed as a mutable array rejects that
|
|
184
|
+
* fixture at the one moment a consumer is copying it out of a file.
|
|
185
|
+
*/
|
|
186
|
+
principles: readonly AboutPagePrinciple[];
|
|
187
|
+
/**
|
|
188
|
+
* The milestones, in the order they happened. Omit them for a company with no
|
|
189
|
+
* history worth publishing, and the order of the rest of the page is unchanged.
|
|
190
|
+
*/
|
|
191
|
+
milestones?: readonly AboutPageMilestone[];
|
|
192
|
+
/** The people, in the order a reader should meet them. Omit them and the band is not there. */
|
|
193
|
+
people?: readonly AboutPagePerson[];
|
|
194
|
+
/** The engagements, in the order a reader should meet them. Omit them and the band is not there. */
|
|
195
|
+
services?: readonly AboutPageService[];
|
|
196
|
+
/** The closing band. Omit it and the page ends on the last band that was given. */
|
|
197
|
+
contact?: AboutPageContact;
|
|
198
|
+
/**
|
|
199
|
+
* The heading level for the page's own heading, and one step below it for every
|
|
200
|
+
* band.
|
|
201
|
+
*
|
|
202
|
+
* Defaults to `h1`, because a page owns the top of the document outline. A
|
|
203
|
+
* consumer embedding the page under a heading it already owns passes one level
|
|
204
|
+
* deeper and the whole outline follows.
|
|
205
|
+
*/
|
|
206
|
+
headingLevel?: HeadingLevel;
|
|
207
|
+
/**
|
|
208
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
209
|
+
* property from here is prohibited.
|
|
210
|
+
*/
|
|
211
|
+
className?: string;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* A complete about screen, in the order a reader arrives with its questions.
|
|
215
|
+
*
|
|
216
|
+
* **The decision this Page makes is the order, and the order is the whole of what
|
|
217
|
+
* it is.** Five bands, in this sequence: what this is, how it got here, who is
|
|
218
|
+
* here, what it does, and how to reach it. Each is a question a reader actually
|
|
219
|
+
* arrives with rather than a section a template happens to contain, and the
|
|
220
|
+
* sequence is the one those questions are asked in. A reader who opens an about
|
|
221
|
+
* page does not want the history first, because the history is only legible once
|
|
222
|
+
* they know what the thing is; they do not want the team before the story, because
|
|
223
|
+
* a name with no history behind it is a logo; and they do not want the services
|
|
224
|
+
* before the people, because a list of capabilities with nobody attached to it is
|
|
225
|
+
* a brochure. So: the statement, then the rail, then the faces, then the
|
|
226
|
+
* engagements, then the way on.
|
|
227
|
+
*
|
|
228
|
+
* **The order costs something, and the cost is the point of stating it.** A
|
|
229
|
+
* consumer whose story belongs after the team, which is a real and defensible
|
|
230
|
+
* arrangement for a company whose people are the argument, cannot reorder this
|
|
231
|
+
* page; the honest answer is that it composes two Pages, one holding the people
|
|
232
|
+
* and one holding the story, and the seam between them is two page vertical
|
|
233
|
+
* rhythms where the author wanted one. That is the correct price of an opinionated
|
|
234
|
+
* order. The alternative was a `order` prop, or a slots array, and either would
|
|
235
|
+
* have moved the decision from this file to the call site, which is to say it would
|
|
236
|
+
* have stopped being a Page and become a container for five Blocks with a layout
|
|
237
|
+
* the consumer has to get right themselves. An order the Page does not own is an
|
|
238
|
+
* order every consumer gets wrong differently.
|
|
239
|
+
*
|
|
240
|
+
* **What the Page refuses is which bands appear.** It decides the sequence and
|
|
241
|
+
* nothing else. `milestones`, `people`, `services` and `contact` are all optional
|
|
242
|
+
* and their absence removes a band without moving any other, so a product with no
|
|
243
|
+
* story to tell omits `milestones` and reads the same four questions in the same
|
|
244
|
+
* order. The Page holds no opinion about how many of the five a reader needs, and
|
|
245
|
+
* that is the same refusal `PageHeader01` and `Changelog01` state: the structure
|
|
246
|
+
* is read from the data rather than imposed on it.
|
|
247
|
+
*
|
|
248
|
+
* **The `h1` is the about band's own section heading, and that is a decision worth
|
|
249
|
+
* a paragraph.** The alternative is a title the Page draws above the first band,
|
|
250
|
+
* and it was rejected for two reasons. The first is duplication: the about band
|
|
251
|
+
* opens with a title, and a title the Page drew above it would be the same words
|
|
252
|
+
* twice within one screen. The second is that a Page that draws its own heading
|
|
253
|
+
* band has to decide where the bands start below it, and the answer is always a
|
|
254
|
+
* second `Section` of vertical rhythm between the heading and the first thing the
|
|
255
|
+
* heading is about, which on a page that already opens with a statement reads as
|
|
256
|
+
* an empty band. Handing the caller's title to the first band puts the page
|
|
257
|
+
* heading where the page's argument is, gives the page exactly one `h1` without
|
|
258
|
+
* the Page having to police that, and lets `About01` hold the heading left, which
|
|
259
|
+
* is the alignment `SectionHeading` requires of anything with content under it.
|
|
260
|
+
*
|
|
261
|
+
* **The bands after the first are untitled, and the outline that follows is
|
|
262
|
+
* deliberate.** Every Block below the about band is composed at the page's own
|
|
263
|
+
* heading level, so the principles, the milestones, the people and the engagements
|
|
264
|
+
* are all one step below the page heading and each band's items sit at that same
|
|
265
|
+
* level. The alternative was a section title per band, and that is a set of props
|
|
266
|
+
* whose every value is a section heading this Page would then own, which is a Page
|
|
267
|
+
* whose interface is a form rather than a screen. What the reader gets instead is
|
|
268
|
+
* a document they can navigate by heading: the page name, then every titled thing
|
|
269
|
+
* on the page, which is what a reader jumping to "the person who does X" or "the
|
|
270
|
+
* milestone where we shipped Y" is actually looking for. The cost is that no band
|
|
271
|
+
* announces itself, and a consumer who wants titled sections composes
|
|
272
|
+
* `SectionHeading` above the bands itself, where the words are the consumer's.
|
|
273
|
+
*
|
|
274
|
+
* **The closing band is a heading and a link, and it is not `Contact01`.** That
|
|
275
|
+
* Block is a form, its `onSubmit` is a function, and a function cannot cross from a
|
|
276
|
+
* server Component to a client Component, so a Page that composed it would have to
|
|
277
|
+
* be a client Component itself and every datum on this screen would then have to
|
|
278
|
+
* be serialised across that boundary to reach a band four sections down. The
|
|
279
|
+
* rejected alternative was a `form` slot, and it was refused for the same reason
|
|
280
|
+
* every other slot on this Page is a node rather than a callback: a Page is a
|
|
281
|
+
* screen model and a screen model describes a screen, it does not act on one.
|
|
282
|
+
* A consumer that wants a contact form on its about page composes `Contact01`
|
|
283
|
+
* beside this Page, which is where the form and the handler that owns it live.
|
|
284
|
+
*
|
|
285
|
+
* **The link arms are checked before anything is drawn.** A person or an
|
|
286
|
+
* engagement with an `href` and no `hrefLabel` would render a link announced by
|
|
287
|
+
* its address, which is punctuation rather than a name, and the cost of finding
|
|
288
|
+
* that out from a screen reader is a reader who cannot follow it. The Page throws
|
|
289
|
+
* rather than degrade, for the reason `Team01`, `ContentGrid01` and `Changelog01`
|
|
290
|
+
* each state for their own link: a defect that is invisible in a screenshot is not
|
|
291
|
+
* a defect a design system can afford to ship quietly.
|
|
292
|
+
*
|
|
293
|
+
* **The collections are copied rather than forwarded, and that is a boundary with
|
|
294
|
+
* `About01`, `Story01` and `Services01`.** Those Blocks declare mutable lists and
|
|
295
|
+
* this Page declares `readonly` ones, so each list is handed over as a fresh
|
|
296
|
+
* array. The cost is one allocation per band and the reason is a fixture: an
|
|
297
|
+
* `as const` array is how a consumer writes data they did not type by hand, and a
|
|
298
|
+
* mutable prop rejects it at the moment it is most useful.
|
|
299
|
+
*
|
|
300
|
+
* It is a server Component. It fetches nothing, it holds no state, it takes no
|
|
301
|
+
* function prop and it imports no router, so a consumer renders it from whichever
|
|
302
|
+
* route their framework names for the about page.
|
|
303
|
+
*/
|
|
304
|
+
export declare function AboutPage({ eyebrow, title, description, statement, principles, milestones, people, services, contact, headingLevel, className, }: AboutPageProps): import("react").JSX.Element;
|
|
305
|
+
export default AboutPage;
|
|
306
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/about-page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,qFAAqF;IACrF,EAAE,EAAE,MAAM,CAAA;IACV;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,mDAAmD;IACnD,IAAI,EAAE,SAAS,CAAA;CAChB,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAA;IACV,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,qEAAqE;IACrE,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,sFAAsF;IACtF,EAAE,EAAE,MAAM,CAAA;IACV,4FAA4F;IAC5F,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,0FAA0F;IAC1F,GAAG,CAAC,EAAE,SAAS,CAAA;IACf;;;;;OAKG;IACH,MAAM,CAAC,EAAE;QACP,2EAA2E;QAC3E,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,wDAAwD;QACxD,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,2FAA2F;IAC3F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,IAAI,EAAE,SAAS,CAAA;IACf,4EAA4E;IAC5E,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAChC,oEAAoE;IACpE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0BAA0B;IAC1B,KAAK,EAAE,SAAS,CAAA;IAChB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,6DAA6D;IAC7D,GAAG,CAAC,EAAE;QACJ,6BAA6B;QAC7B,KAAK,EAAE,MAAM,CAAA;QACb,qBAAqB;QACrB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;OAMG;IACH,SAAS,EAAE,SAAS,CAAA;IACpB;;;;;;OAMG;IACH,UAAU,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACzC;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;IAC1C,+FAA+F;IAC/F,MAAM,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;IACnC,oGAAoG;IACpG,QAAQ,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACtC,mFAAmF;IACnF,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,KAAK,EACL,WAAW,EACX,SAAS,EACT,UAAU,EACV,UAAU,EACV,MAAM,EACN,QAAQ,EACR,OAAO,EACP,YAAmB,EACnB,SAAS,GACV,EAAE,cAAc,+BAwDhB;AAgED,eAAe,SAAS,CAAA"}
|