@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,217 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useId } from 'react';
|
|
3
|
+
import { Metric } from '../../components/ui/metric.js';
|
|
4
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
5
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '../../components/ui/table.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The classes each cell takes, before the caller's own layout classes merge in.
|
|
9
|
+
*
|
|
10
|
+
* The value is tabular and the unit is mono, which are two different answers to two
|
|
11
|
+
* different questions. Tabular figures are for a column a reader compares down, and
|
|
12
|
+
* a unit is a short notation rather than a figure, so it takes the face this system
|
|
13
|
+
* annotates machine-readable values with. Neither is a raw ramp utility and both are
|
|
14
|
+
* authored steps.
|
|
15
|
+
*/
|
|
16
|
+
const CELL = {
|
|
17
|
+
label: 'text-foreground whitespace-normal',
|
|
18
|
+
value: 'tabular-nums whitespace-normal',
|
|
19
|
+
unit: 'text-muted-foreground font-mono whitespace-nowrap',
|
|
20
|
+
note: 'text-muted-foreground whitespace-normal',
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* A capability's limits as a real table, grouped, with a summary band underneath.
|
|
24
|
+
*
|
|
25
|
+
* **The storefront version of this pattern is a product's specification table, and
|
|
26
|
+
* the translation is what the numbers are about.** What that table publishes is a
|
|
27
|
+
* list of attributes for an item for sale: the material, the weight, the dimensions,
|
|
28
|
+
* the care instructions, in a two-column table under a heading, sometimes grouped
|
|
29
|
+
* into sections. Every part of the layout and every part of the accessibility work
|
|
30
|
+
* transfers without a change, because a specification is a table whichever subject it
|
|
31
|
+
* describes: a screen reader announces the row's name with every cell beneath it in
|
|
32
|
+
* one, and a table of key and value cells in a grid of `div`s does not. What does not
|
|
33
|
+
* transfer is the subject. The figures here are a capability's limits: what it
|
|
34
|
+
* handles, what it costs, what it will not do. A reader arrives at that table to
|
|
35
|
+
* decide whether the thing can carry their estate, their market or their run, and the
|
|
36
|
+
* only reason the pattern survives the translation intact is that the access work
|
|
37
|
+
* was never about the noun.
|
|
38
|
+
*
|
|
39
|
+
* **This Block will not derive a value, infer a unit, or round a number, and those
|
|
40
|
+
* three refusals are the reason it exists rather than a limitation of it.** A
|
|
41
|
+
* specification table is the one surface in this system where a number a reader
|
|
42
|
+
* cannot check is a liability rather than a convenience: every figure on it is
|
|
43
|
+
* something the reader is about to plan against, and a figure this package printed
|
|
44
|
+
* would be a measurement the product never made. So a throughput number is a node
|
|
45
|
+
* the caller composed, a unit is a string the caller wrote, and a precision is the
|
|
46
|
+
* caller's decision made in its own formatter before the value reached this Block.
|
|
47
|
+
* The alternatives were each rejected for the same reason and are worth naming. A
|
|
48
|
+
* `format` prop would move the arithmetic into this package and put a locale and a
|
|
49
|
+
* rounding rule into a Block that has no business choosing either. A `number` value
|
|
50
|
+
* would make the caller format outside the Block or lose the precision it belongs
|
|
51
|
+
* to, and a number prop is what produced a bare `12000` on a page that should have
|
|
52
|
+
* said `12,000`. And a `compact` or `approximate` boolean would be a rounding rule
|
|
53
|
+
* with no name, applied to a figure this package cannot see the meaning of, and a
|
|
54
|
+
* rounded retention window is a wrong retention window.
|
|
55
|
+
*
|
|
56
|
+
* **`unit` is a string beside the value and not part of it, because "12k", "12
|
|
57
|
+
* thousand" and "12000" are three renderings and the caller owns the precision as
|
|
58
|
+
* well as the number.** Which of the three is right is a fact about the measurement
|
|
59
|
+
* and the audience rather than about the measurement alone: a reader reconciling a
|
|
60
|
+
* bill wants the full number, a reader scanning a column of twelve wants the short
|
|
61
|
+
* one, and a machine reading an export wants neither. Concatenating the unit into
|
|
62
|
+
* the value would also make the unit unaddressable: a screen reader announces a run
|
|
63
|
+
* of characters, and a column of units aligned under a column of figures is a
|
|
64
|
+
* comparison a reader can make in a way a run of strings is not. The cost is that a
|
|
65
|
+
* caller who wants them joined has to join them, which is the right place for the
|
|
66
|
+
* decision because it is their figure and their audience.
|
|
67
|
+
*
|
|
68
|
+
* **A group is a body and not a merged cell, for the reason `ResourceList01` states
|
|
69
|
+
* in full.** A reader navigates a table by its headers, and a cell spanning every
|
|
70
|
+
* row of a group is a `<td rowspan="n">`, which is not a header at all. A group named
|
|
71
|
+
* in one such cell is announced once, to nobody in particular, and every row beneath
|
|
72
|
+
* it looks to a reader navigating by header like a row of the group above. The same
|
|
73
|
+
* set rendered as a sequence of bodies inside one table has the group as each body's
|
|
74
|
+
* own row-group header, and a reader hears the group before the first row of it
|
|
75
|
+
* every time.
|
|
76
|
+
*
|
|
77
|
+
* **It is one `<table>` and not one table per group.** The groups are facets of one
|
|
78
|
+
* set rather than separate documents, the columns are the same in each, and a reader
|
|
79
|
+
* who has learned the columns in the first body has learned them for the rest. The
|
|
80
|
+
* honest cost is that a reader navigating by column header meets the columns before
|
|
81
|
+
* the group, not after it. A caller whose groups are separate documents wants one
|
|
82
|
+
* table per group, which is two `SpecTable01`s.
|
|
83
|
+
*
|
|
84
|
+
* **The row header is the limit's own label and the note is the cell that
|
|
85
|
+
* qualifies it.** Neither is shortened here. A specification without its conditions
|
|
86
|
+
* is a claim about every case rather than about the one it was measured in, which is
|
|
87
|
+
* a stronger claim than a product can usually support, and this Block does not write
|
|
88
|
+
* the scope for them.
|
|
89
|
+
*
|
|
90
|
+
* **A specification with no rows renders the caller's `empty` sentence and no
|
|
91
|
+
* table at all**, which is the opposite of what `Compliance01` does with an empty
|
|
92
|
+
* claims table and the same argument applied to a different surface. A compliance
|
|
93
|
+
* section wants its heading visible so a reader can see that nothing is published
|
|
94
|
+
* there; a specification table with a header row and no body is four column names
|
|
95
|
+
* and nothing else, which tells a reader less than the sentence the caller wrote for
|
|
96
|
+
* exactly this case. The cost is that a heading can survive on a page whose limits
|
|
97
|
+
* have all been withdrawn, and a consumer who would rather see nothing should not
|
|
98
|
+
* render the Block.
|
|
99
|
+
*
|
|
100
|
+
* **The heading is aligned left**, because the table is content and it sits under the
|
|
101
|
+
* heading. `SectionHeading` states the rule and this Block has rows underneath it.
|
|
102
|
+
*
|
|
103
|
+
* It composes `Section` and `SectionHeading`, so it inherits the container and the
|
|
104
|
+
* vertical rhythm rather than re-deriving either, and it adds no container width and
|
|
105
|
+
* no section padding of its own.
|
|
106
|
+
*
|
|
107
|
+
* It is a server Component: no hook, no state, no client code and no motion. Every
|
|
108
|
+
* figure it draws is the caller's node, passed straight through.
|
|
109
|
+
*/
|
|
110
|
+
export function SpecTable01({ eyebrow, title, description, columns, groups, summary, empty, headingLevel = 'h2', className, }) {
|
|
111
|
+
// The handle a table below takes its name from; see the note on the table.
|
|
112
|
+
const headingId = useId();
|
|
113
|
+
const rows = groups.flatMap((group) => group.rows);
|
|
114
|
+
/*
|
|
115
|
+
* Checked before anything is drawn, so the run fails once with the name of the
|
|
116
|
+
* field rather than once per row with a malformed table on the page.
|
|
117
|
+
*/
|
|
118
|
+
const seen = new Set();
|
|
119
|
+
for (const column of columns) {
|
|
120
|
+
const id = column.id;
|
|
121
|
+
if (seen.has(id)) {
|
|
122
|
+
throw new Error(`SpecTable01: the column "${id}" is declared twice, so the table would have two columns ` +
|
|
123
|
+
'reading the same value and every cell after the first would be read under the wrong name. ' +
|
|
124
|
+
'Declare each cell once.');
|
|
125
|
+
}
|
|
126
|
+
if (id !== 'label' && !rows.some((row) => carries(row, id))) {
|
|
127
|
+
throw new Error(`SpecTable01: the "${id}" column was declared and no limit carries it, so the table would ` +
|
|
128
|
+
'carry a column of empty cells, which is a column every reader scans twice. Pass the value on at ' +
|
|
129
|
+
'least one limit, or drop the column.');
|
|
130
|
+
}
|
|
131
|
+
seen.add(id);
|
|
132
|
+
}
|
|
133
|
+
if (!seen.has('label')) {
|
|
134
|
+
throw new Error('SpecTable01: the columns name no "label" cell, so the header row would have a cell fewer than every ' +
|
|
135
|
+
'body row and no row would have a header for a reader to navigate into. Declare the label column, ' +
|
|
136
|
+
'which is also the row header for every row.');
|
|
137
|
+
}
|
|
138
|
+
const rowIds = new Set();
|
|
139
|
+
for (const row of rows) {
|
|
140
|
+
if (rowIds.has(row.id)) {
|
|
141
|
+
throw new Error(`SpecTable01: two limits share the key "${row.id}", so one of them is drawn with the other's ` +
|
|
142
|
+
'identity and a test cannot name which is which. Give every limit its own key.');
|
|
143
|
+
}
|
|
144
|
+
rowIds.add(row.id);
|
|
145
|
+
}
|
|
146
|
+
// A group with no limits is not drawn: a group name over an empty body is a
|
|
147
|
+
// heading with nothing under it, which is the frame-with-nothing-in-it every list
|
|
148
|
+
// in this package refuses to render.
|
|
149
|
+
const drawn = groups.filter((group) => group.rows.length > 0);
|
|
150
|
+
return (_jsxs(Section, { "data-slot": "spec-table-01", className: className, children: [_jsx(SectionHeading, { as: headingLevel, id: headingId, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-10" }), drawn.length === 0 ? (
|
|
151
|
+
/*
|
|
152
|
+
* The caller's own sentence, drawn where the table would have been rather
|
|
153
|
+
* than above it, so a reader is not left with four column names and no rows.
|
|
154
|
+
* `text-pretty` because the honest empty line is sometimes a paragraph and
|
|
155
|
+
* `text-balance` would leave a one-word last line in it.
|
|
156
|
+
*/
|
|
157
|
+
_jsx("p", { "data-slot": "spec-table-01-empty", className: "text-muted-foreground max-w-measure-narrow text-pretty", children: empty })) : (_jsxs(_Fragment, { children: [_jsx("div", { "data-slot": "spec-table-01-table", className: cn('border-border overflow-hidden rounded-xl border', className), children: _jsxs(Table, { "aria-labelledby": headingId, children: [_jsx(TableHeader, { children: _jsx(TableRow, { children: columns.map((column) => (_jsx(TableHead, { scope: "col", className: cn(CELL[column.id], column.className), children: column.header }, column.id))) }) }), drawn.map((group, groupIndex) => (
|
|
158
|
+
// The group title is the caller's own and two groups may carry the
|
|
159
|
+
// same one, so the position is part of the key rather than a second
|
|
160
|
+
// identifier the Block would have to ask for.
|
|
161
|
+
_jsxs(TableBody, { children: [_jsx(TableRow, { children: _jsx(TableHead, { scope: "rowgroup", colSpan: columns.length, className: "bg-muted/50", children: _jsx("span", { "data-slot": "spec-table-01-group", className: "text-foreground text-sm font-semibold", children: group.title }) }) }), group.rows.map((row) => (_jsx(TableRow, { "data-slot": "spec-table-01-row", "data-row": row.id, "data-emphasised": row.emphasis === true, children: columns.map((column) =>
|
|
162
|
+
/*
|
|
163
|
+
* The limit's own label is the row header, so a reader who
|
|
164
|
+
* navigates into a single cell is told what is being measured
|
|
165
|
+
* rather than hearing a figure with nothing to attach it to.
|
|
166
|
+
*/
|
|
167
|
+
column.id === 'label' ? (_jsx(TableHead, { scope: "row", className: cn(CELL[column.id],
|
|
168
|
+
// The emphasised row is the one a reader should land on,
|
|
169
|
+
// so it is drawn in the foreground ink at a heavier
|
|
170
|
+
// weight and nothing else is added to it.
|
|
171
|
+
row.emphasis === true ? 'text-foreground font-semibold' : null, column.className), children: row.label }, column.id)) : (_jsx(TableCell, { className: cn(CELL[column.id], column.id === 'value' && row.emphasis === true ? 'font-medium' : null, column.className), children: cellOf(column.id, row) }, column.id))) }, row.id)))] }, `${group.title}-${groupIndex}`)))] }) }), summary === undefined || summary.length === 0 ? null : (
|
|
172
|
+
/*
|
|
173
|
+
* The band of figures the table reduces to. `Metric` draws each one,
|
|
174
|
+
* because a figure has an arrangement and a rule about the mono face and
|
|
175
|
+
* a rule about where the label sits, and re-deriving any of those here
|
|
176
|
+
* would be a second answer in one package.
|
|
177
|
+
*/
|
|
178
|
+
_jsx("div", { "data-slot": "spec-table-01-summary", className: "border-border bg-muted/40 mt-6 grid gap-6 rounded-xl border px-6 py-5 sm:grid-cols-2 lg:grid-cols-3", children: summary.map((entry) => (_jsx(Metric, { value: entry.value, label: entry.label }, entry.label))) }))] }))] }));
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Whether one limit carries the value a column draws.
|
|
182
|
+
*
|
|
183
|
+
* A separate step so the column check reads as a sentence rather than as a chain of
|
|
184
|
+
* optional fields, and so a fifth cell added later is one line here rather than four
|
|
185
|
+
* edits across the checks above.
|
|
186
|
+
*/
|
|
187
|
+
function carries(row, id) {
|
|
188
|
+
switch (id) {
|
|
189
|
+
case 'value':
|
|
190
|
+
return row.value !== undefined && row.value !== null;
|
|
191
|
+
case 'unit':
|
|
192
|
+
return row.unit !== undefined;
|
|
193
|
+
case 'note':
|
|
194
|
+
return row.note !== undefined;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The cell one column draws for one limit.
|
|
199
|
+
*
|
|
200
|
+
* A switch rather than a map of render functions, for the reason `FieldMap01`
|
|
201
|
+
* gives: a map keyed by cell id would be a second recipe of the kind this package
|
|
202
|
+
* keeps off the public surface, and a switch over four cases is the same table with
|
|
203
|
+
* the strings in the same file as the drawing that uses them.
|
|
204
|
+
*/
|
|
205
|
+
function cellOf(id, row) {
|
|
206
|
+
switch (id) {
|
|
207
|
+
case 'label':
|
|
208
|
+
return row.label;
|
|
209
|
+
case 'value':
|
|
210
|
+
return row.value;
|
|
211
|
+
case 'unit':
|
|
212
|
+
return row.unit ?? null;
|
|
213
|
+
case 'note':
|
|
214
|
+
return row.note ?? null;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
export default SpecTable01;
|
|
@@ -129,6 +129,19 @@ export type StackGrid01Props = {
|
|
|
129
129
|
* is a fill for a large area and never a signal, and a tile of pastel behind one
|
|
130
130
|
* word is a signal a reader has to learn.
|
|
131
131
|
*
|
|
132
|
+
* **The two groups set their type identically, and it is the same two steps in
|
|
133
|
+
* both.** They happened to agree on the steps and to be wrong on both of them,
|
|
134
|
+
* which is the harder defect to see: a grid whose second group is quieter than its
|
|
135
|
+
* first is a grid saying the in-house work matters less than the assembled parts,
|
|
136
|
+
* which is the opposite of what the group is for. A tile name is a card title, so
|
|
137
|
+
* it sits at Body the way `CardTitle` says a card title sits at Body, and a role
|
|
138
|
+
* and a blurb are both supporting copy at the step `DESIGN.md` gives supporting
|
|
139
|
+
* copy. Below those two floors was the measured state of both arms: names at
|
|
140
|
+
* fourteen pixels and the line under them at twelve, so a heading rendered smaller
|
|
141
|
+
* than the copy around it and the tile read as a caption rather than as a tile. The
|
|
142
|
+
* mono annotation over an in-house name and under a codename is left at `text-xs`
|
|
143
|
+
* on purpose, because that is a machine annotation and not a run of prose.
|
|
144
|
+
*
|
|
132
145
|
* `ownLabel` is required when `own` is passed, because the group is a claim and
|
|
133
146
|
* the claim is the caller's words. Three of the four sites write three different
|
|
134
147
|
* ones, and the Block does not choose.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-grid.d.ts","sourceRoot":"","sources":["../../../src/blocks/stack-grid-01/stack-grid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,KAAK,EAAE,SAAS,SAAS,EAAE,CAAA;IAC3B;;;;OAIG;IACH,GAAG,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAA;IACzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED
|
|
1
|
+
{"version":3,"file":"stack-grid.d.ts","sourceRoot":"","sources":["../../../src/blocks/stack-grid-01/stack-grid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,KAAK,EAAE,SAAS,SAAS,EAAE,CAAA;IAC3B;;;;OAIG;IACH,GAAG,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAA;IACzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,GAAG,EACH,QAAQ,EACR,OAAO,EACP,YAAmB,EACnB,SAAS,GACV,EAAE,gBAAgB,+BA6ElB;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -28,6 +28,19 @@ import { cn } from '../../lib/utils.js';
|
|
|
28
28
|
* is a fill for a large area and never a signal, and a tile of pastel behind one
|
|
29
29
|
* word is a signal a reader has to learn.
|
|
30
30
|
*
|
|
31
|
+
* **The two groups set their type identically, and it is the same two steps in
|
|
32
|
+
* both.** They happened to agree on the steps and to be wrong on both of them,
|
|
33
|
+
* which is the harder defect to see: a grid whose second group is quieter than its
|
|
34
|
+
* first is a grid saying the in-house work matters less than the assembled parts,
|
|
35
|
+
* which is the opposite of what the group is for. A tile name is a card title, so
|
|
36
|
+
* it sits at Body the way `CardTitle` says a card title sits at Body, and a role
|
|
37
|
+
* and a blurb are both supporting copy at the step `DESIGN.md` gives supporting
|
|
38
|
+
* copy. Below those two floors was the measured state of both arms: names at
|
|
39
|
+
* fourteen pixels and the line under them at twelve, so a heading rendered smaller
|
|
40
|
+
* than the copy around it and the tile read as a caption rather than as a tile. The
|
|
41
|
+
* mono annotation over an in-house name and under a codename is left at `text-xs`
|
|
42
|
+
* on purpose, because that is a machine annotation and not a run of prose.
|
|
43
|
+
*
|
|
31
44
|
* `ownLabel` is required when `own` is passed, because the group is a claim and
|
|
32
45
|
* the claim is the caller's words. Three of the four sites write three different
|
|
33
46
|
* ones, and the Block does not choose.
|
|
@@ -52,6 +65,6 @@ export function StackGrid01({ eyebrow, title, description, parts, own, ownLabel,
|
|
|
52
65
|
'"this part is ours" in a shape and leave the words to a reader to infer. Pass the words you mean, ' +
|
|
53
66
|
'or omit the group.');
|
|
54
67
|
}
|
|
55
|
-
return (_jsxs(Section, { children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, _jsxs("div", { "data-slot": "stack-grid", className: cn('flex flex-col gap-10', className), children: [_jsx("ul", { className: "grid gap-3 sm:grid-cols-2 lg:grid-cols-4", children: parts.map((part) => (_jsx("li", { children: _jsxs(Card, { className: "bg-muted h-full gap-2 py-4", children: [_jsxs(CardHeader, { className: "gap-1", children: [_jsx(CardTitle, { className: "text-
|
|
68
|
+
return (_jsxs(Section, { children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, _jsxs("div", { "data-slot": "stack-grid", className: cn('flex flex-col gap-10', className), children: [_jsx("ul", { className: "grid gap-3 sm:grid-cols-2 lg:grid-cols-4", children: parts.map((part) => (_jsx("li", { children: _jsxs(Card, { className: "bg-muted h-full gap-2 py-4", children: [_jsxs(CardHeader, { className: "gap-1", children: [_jsx(CardTitle, { className: "text-lg", children: _jsx(Title, { children: part.name }) }), part.realName ? (_jsx("span", { className: "text-muted-foreground font-mono text-xs", children: part.realName })) : null] }), _jsx(CardContent, { children: _jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: part.role }) })] }) }, part.name))) }), own && own.length > 0 ? (_jsx("ul", { "data-slot": "stack-grid-own", className: "grid gap-3 sm:grid-cols-2 lg:grid-cols-4", children: own.map((entry) => (_jsx("li", { children: _jsxs(Card, { className: "border-primary shadow-md h-full gap-2 py-4", children: [_jsxs(CardHeader, { className: "gap-1", children: [_jsx("span", { className: "text-muted-foreground font-mono text-xs", children: ownLabel }), _jsx(CardTitle, { className: "text-lg", children: _jsx(Title, { children: entry.name }) })] }), _jsx(CardContent, { children: _jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: entry.blurb }) })] }) }, entry.name))) })) : null] }), caption ? _jsx("p", { className: "text-muted-foreground mt-6 text-pretty text-sm", children: caption }) : null] }));
|
|
56
69
|
}
|
|
57
70
|
export default StackGrid01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/story-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAK1C,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Story01, default } from './story.js';
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One milestone in a company's history: when it happened, what it was called,
|
|
5
|
+
* what it changed, and optionally a figure of the time.
|
|
6
|
+
*
|
|
7
|
+
* `at` is a `string` and not a `Date`, and the reason is the one this repository
|
|
8
|
+
* has already written down for the other half of the surface: a Block ships no
|
|
9
|
+
* formatting. A `Date` carries a timezone and a calendar and renders as
|
|
10
|
+
* `Wed Mar 04 2026 00:00:00 GMT+0000` unless something formats it, so a `Date`
|
|
11
|
+
* prop would push the formatting decision onto every consumer and make the
|
|
12
|
+
* wrong answer the easy one. As a string the Block prints what it was given,
|
|
13
|
+
* which is honest whether that is `2024`, `Q3 2024` or `Winter 2024`, and the
|
|
14
|
+
* honest way to render a date in a caller's own locale and script is the caller's
|
|
15
|
+
* to compose: `RelativeTime` for a localised absolute reading with relative words
|
|
16
|
+
* handed back, or the platform's own `Intl.DateTimeFormat` for a fixed one. A
|
|
17
|
+
* Block cannot know the locale, and a Block that guessed would ship English
|
|
18
|
+
* month names into every consumer's product.
|
|
19
|
+
*
|
|
20
|
+
* `mediaLabel` is the caption for `media`, and it is separate from `media` for the
|
|
21
|
+
* same reason every other slot is separate: a figure is the consumer's and a
|
|
22
|
+
* sentence describing it is the consumer's too, and a Block that required the
|
|
23
|
+
* two together would make a caption impossible for a figure that needs none and
|
|
24
|
+
* mandatory for one that needs a lot.
|
|
25
|
+
*/
|
|
26
|
+
export type StoryMilestone = {
|
|
27
|
+
/** A stable key for the milestone. */
|
|
28
|
+
id: string;
|
|
29
|
+
/** When it happened, already written the way the reader should see it. */
|
|
30
|
+
at: string;
|
|
31
|
+
/** What the milestone was called at the time. */
|
|
32
|
+
title: string;
|
|
33
|
+
/** What changed, in the reader's terms rather than the company's. */
|
|
34
|
+
body: ReactNode;
|
|
35
|
+
/** A figure of the time, composed by the caller. */
|
|
36
|
+
media?: ReactNode;
|
|
37
|
+
/** The caption for `media`, in the caller's words. */
|
|
38
|
+
mediaLabel?: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The props a Story01 takes.
|
|
42
|
+
*
|
|
43
|
+
* Every string, every date and every figure is a prop and the Block ships none:
|
|
44
|
+
* no milestone, no year, no caption and no default set of dates. A rail that
|
|
45
|
+
* hardcoded its milestones would hand every consumer a history that was not
|
|
46
|
+
* theirs, dated in years that were not theirs, which is the worst thing a
|
|
47
|
+
* company page can get wrong and the easiest thing for a component to do.
|
|
48
|
+
*/
|
|
49
|
+
export type Story01Props = {
|
|
50
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
51
|
+
eyebrow?: string;
|
|
52
|
+
/** The section title. Omit it for a rail composed under its own heading. */
|
|
53
|
+
title?: string;
|
|
54
|
+
/** One or two sentences under the title. */
|
|
55
|
+
description?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The milestones, in the order they happened. Order is the caller's because it
|
|
58
|
+
* is a claim about what came first, and this Block would be making that claim
|
|
59
|
+
* for them if it sorted.
|
|
60
|
+
*/
|
|
61
|
+
milestones: StoryMilestone[];
|
|
62
|
+
/**
|
|
63
|
+
* Whether the rail runs down the page or across it.
|
|
64
|
+
*
|
|
65
|
+
* `horizontal` collapses to the vertical rail below `md`, and that is the part
|
|
66
|
+
* worth reading twice: a five-milestone horizontal rail on a phone is five
|
|
67
|
+
* columns of unreadable text, so the width at which the horizontal form turns
|
|
68
|
+
* into the vertical one is a decision this Block makes once, here, rather than a
|
|
69
|
+
* decision four or five marketing pages each make differently and get wrong at
|
|
70
|
+
* the width below it. The cost of making it once is that the caller cannot put
|
|
71
|
+
* a horizontal rail on a narrow surface, and the reason that is acceptable is
|
|
72
|
+
* that there is no honest way to do so.
|
|
73
|
+
*
|
|
74
|
+
* @defaultValue 'vertical'
|
|
75
|
+
*/
|
|
76
|
+
orient?: 'vertical' | 'horizontal';
|
|
77
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
78
|
+
headingLevel?: HeadingLevel;
|
|
79
|
+
/**
|
|
80
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
81
|
+
* property from here is prohibited.
|
|
82
|
+
*/
|
|
83
|
+
className?: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* A company's history as a reader walks it: a date, a title, what changed, and
|
|
87
|
+
* an optional figure, along a rail with a rule down one side.
|
|
88
|
+
*
|
|
89
|
+
* **It is a Block and not a component, and the difference is the subject.**
|
|
90
|
+
* `Timeline` draws a run's progress as it happens: it is fed events, it has four
|
|
91
|
+
* states, it scales durations against the longest step in the run, and one of its
|
|
92
|
+
* states moves. This arranges a sequence that has already finished, in a section
|
|
93
|
+
* that has content under its heading, and none of that machinery applies to it. A
|
|
94
|
+
* company history has no run state and no durations, and a reader who met a
|
|
95
|
+
* `Timeline` on an about page would be told a thing about the product is live and
|
|
96
|
+
* is not. So the two are different subjects, they compose as different things, and
|
|
97
|
+
* this is a section of a page rather than a shape inside one.
|
|
98
|
+
*
|
|
99
|
+
* **The NaniSoft framing is in this JSDoc and in the Demo, and nowhere in the
|
|
100
|
+
* Block.** The history these pages tell is the history of a pipeline that came to
|
|
101
|
+
* run, a market that came to be captured rather than reconstructed, an estate that
|
|
102
|
+
* came to be observed instead of visited, and work that came to be done by agents
|
|
103
|
+
* rather than filed for a person to pick up. Those are four claims, and every one
|
|
104
|
+
* of them is a `body` and a `title` at the call site. A Block that shipped them as
|
|
105
|
+
* strings would install one company's history into every consumer's page, so what
|
|
106
|
+
* travels is the shape: a date, a name, what changed, and a figure with a caption
|
|
107
|
+
* somebody had to write.
|
|
108
|
+
*
|
|
109
|
+
* **One `<ol>`, and the rail is not a second list.** A history that was drawn as
|
|
110
|
+
* a row per milestone group would be several lists, and a screen reader would
|
|
111
|
+
* announce it as three lists rather than one sequence. The milestones are one
|
|
112
|
+
* ordered list, the rail is a decorative span inside each entry, and it is marked
|
|
113
|
+
* `aria-hidden` so the sequence is read from the entries and not from a rule. The
|
|
114
|
+
* rule is what a sighted reader uses to see continuity; the order is what every
|
|
115
|
+
* other reader uses, and it comes from the element rather than from the drawing.
|
|
116
|
+
*
|
|
117
|
+
* **The dot is on the rail and the rail is behind it, which is what makes the
|
|
118
|
+
* vertical form read as one line rather than as a stack of rules.** The spine is
|
|
119
|
+
* drawn from the dot to the bottom of its own entry, so the last entry draws no
|
|
120
|
+
* spine and the line stops at the last dot instead of trailing past the end. That
|
|
121
|
+
* is the detail that separates a rail from a border, and it is the same detail
|
|
122
|
+
* `Timeline` states for its own spine.
|
|
123
|
+
*
|
|
124
|
+
* **The horizontal form is the one to watch, and the breakpoint is this Block's
|
|
125
|
+
* decision.** A five-milestone horizontal rail on a phone is five columns of
|
|
126
|
+
* unreadable text, so below `md` the horizontal form is the vertical form. The
|
|
127
|
+
* alternative was a prop for the width at which the rail turns, and it was
|
|
128
|
+
* refused: a consumer that set it too low would ship five columns of unreadable
|
|
129
|
+
* text, and a consumer that set it too high would get a vertical rail on a
|
|
130
|
+
* laptop. The honest answer is one breakpoint, made once, in the place that owns
|
|
131
|
+
* the layout.
|
|
132
|
+
*
|
|
133
|
+
* **Both forms are one set of elements.** The horizontal form is not a second
|
|
134
|
+
* tree rendered beside the first: it is the same `<ol>`, the same `<li>` and the
|
|
135
|
+
* same spine, with the track count and the spine's axis changed by utility
|
|
136
|
+
* classes at `md`. Two trees would have meant the history twice in the
|
|
137
|
+
* accessibility tree and twice for a crawler, and a reader who resized the window
|
|
138
|
+
* would have watched one copy of the section swap for the other. The cost of one
|
|
139
|
+
* tree is that the last milestone's rule is dropped on the vertical form and kept
|
|
140
|
+
* on the horizontal one, because a horizontal rail that stopped one column early
|
|
141
|
+
* reads as a rail that ran out.
|
|
142
|
+
*
|
|
143
|
+
* A milestone's title is a heading one step below the section, derived rather
|
|
144
|
+
* than written, so a Block embedded one level deeper carries its headings with
|
|
145
|
+
* it. A `body` that runs past four lines stops being a milestone body, and the
|
|
146
|
+
* detail belongs above the rail in `description` or in the `media` figure beside
|
|
147
|
+
* it.
|
|
148
|
+
*
|
|
149
|
+
* It is a server Component: no hook, no state and no client code.
|
|
150
|
+
*/
|
|
151
|
+
export declare function Story01({ eyebrow, title, description, milestones, orient, headingLevel, className, }: Story01Props): import("react").JSX.Element;
|
|
152
|
+
export default Story01;
|
|
153
|
+
//# sourceMappingURL=story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../src/blocks/story-01/story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAA;IACV,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,qEAAqE;IACrE,IAAI,EAAE,SAAS,CAAA;IACf,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAcD;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,UAAU,EAAE,cAAc,EAAE,CAAA;IAC5B;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,CAAA;IAClC,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,KAAK,EACL,WAAW,EACX,UAAU,EACV,MAAmB,EACnB,YAAmB,EACnB,SAAS,GACV,EAAE,YAAY,+BA+Fd;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
|
+
/**
|
|
5
|
+
* The tracks a horizontal rail gets, once the reader has stopped being on a
|
|
6
|
+
* phone.
|
|
7
|
+
*
|
|
8
|
+
* Two steps rather than a count, because the count is the caller's and a
|
|
9
|
+
* horizontal rail of eight milestones is eight cards and no reader reads eight
|
|
10
|
+
* cards. Two across at the width where the rail appears and three across at the
|
|
11
|
+
* width of the container, so a five-milestone history reads as three and then
|
|
12
|
+
* two, which is a shape rather than an orphan.
|
|
13
|
+
*/
|
|
14
|
+
const HORIZONTAL_TRACKS = 'md:grid-cols-2 lg:grid-cols-3';
|
|
15
|
+
/**
|
|
16
|
+
* A company's history as a reader walks it: a date, a title, what changed, and
|
|
17
|
+
* an optional figure, along a rail with a rule down one side.
|
|
18
|
+
*
|
|
19
|
+
* **It is a Block and not a component, and the difference is the subject.**
|
|
20
|
+
* `Timeline` draws a run's progress as it happens: it is fed events, it has four
|
|
21
|
+
* states, it scales durations against the longest step in the run, and one of its
|
|
22
|
+
* states moves. This arranges a sequence that has already finished, in a section
|
|
23
|
+
* that has content under its heading, and none of that machinery applies to it. A
|
|
24
|
+
* company history has no run state and no durations, and a reader who met a
|
|
25
|
+
* `Timeline` on an about page would be told a thing about the product is live and
|
|
26
|
+
* is not. So the two are different subjects, they compose as different things, and
|
|
27
|
+
* this is a section of a page rather than a shape inside one.
|
|
28
|
+
*
|
|
29
|
+
* **The NaniSoft framing is in this JSDoc and in the Demo, and nowhere in the
|
|
30
|
+
* Block.** The history these pages tell is the history of a pipeline that came to
|
|
31
|
+
* run, a market that came to be captured rather than reconstructed, an estate that
|
|
32
|
+
* came to be observed instead of visited, and work that came to be done by agents
|
|
33
|
+
* rather than filed for a person to pick up. Those are four claims, and every one
|
|
34
|
+
* of them is a `body` and a `title` at the call site. A Block that shipped them as
|
|
35
|
+
* strings would install one company's history into every consumer's page, so what
|
|
36
|
+
* travels is the shape: a date, a name, what changed, and a figure with a caption
|
|
37
|
+
* somebody had to write.
|
|
38
|
+
*
|
|
39
|
+
* **One `<ol>`, and the rail is not a second list.** A history that was drawn as
|
|
40
|
+
* a row per milestone group would be several lists, and a screen reader would
|
|
41
|
+
* announce it as three lists rather than one sequence. The milestones are one
|
|
42
|
+
* ordered list, the rail is a decorative span inside each entry, and it is marked
|
|
43
|
+
* `aria-hidden` so the sequence is read from the entries and not from a rule. The
|
|
44
|
+
* rule is what a sighted reader uses to see continuity; the order is what every
|
|
45
|
+
* other reader uses, and it comes from the element rather than from the drawing.
|
|
46
|
+
*
|
|
47
|
+
* **The dot is on the rail and the rail is behind it, which is what makes the
|
|
48
|
+
* vertical form read as one line rather than as a stack of rules.** The spine is
|
|
49
|
+
* drawn from the dot to the bottom of its own entry, so the last entry draws no
|
|
50
|
+
* spine and the line stops at the last dot instead of trailing past the end. That
|
|
51
|
+
* is the detail that separates a rail from a border, and it is the same detail
|
|
52
|
+
* `Timeline` states for its own spine.
|
|
53
|
+
*
|
|
54
|
+
* **The horizontal form is the one to watch, and the breakpoint is this Block's
|
|
55
|
+
* decision.** A five-milestone horizontal rail on a phone is five columns of
|
|
56
|
+
* unreadable text, so below `md` the horizontal form is the vertical form. The
|
|
57
|
+
* alternative was a prop for the width at which the rail turns, and it was
|
|
58
|
+
* refused: a consumer that set it too low would ship five columns of unreadable
|
|
59
|
+
* text, and a consumer that set it too high would get a vertical rail on a
|
|
60
|
+
* laptop. The honest answer is one breakpoint, made once, in the place that owns
|
|
61
|
+
* the layout.
|
|
62
|
+
*
|
|
63
|
+
* **Both forms are one set of elements.** The horizontal form is not a second
|
|
64
|
+
* tree rendered beside the first: it is the same `<ol>`, the same `<li>` and the
|
|
65
|
+
* same spine, with the track count and the spine's axis changed by utility
|
|
66
|
+
* classes at `md`. Two trees would have meant the history twice in the
|
|
67
|
+
* accessibility tree and twice for a crawler, and a reader who resized the window
|
|
68
|
+
* would have watched one copy of the section swap for the other. The cost of one
|
|
69
|
+
* tree is that the last milestone's rule is dropped on the vertical form and kept
|
|
70
|
+
* on the horizontal one, because a horizontal rail that stopped one column early
|
|
71
|
+
* reads as a rail that ran out.
|
|
72
|
+
*
|
|
73
|
+
* A milestone's title is a heading one step below the section, derived rather
|
|
74
|
+
* than written, so a Block embedded one level deeper carries its headings with
|
|
75
|
+
* it. A `body` that runs past four lines stops being a milestone body, and the
|
|
76
|
+
* detail belongs above the rail in `description` or in the `media` figure beside
|
|
77
|
+
* it.
|
|
78
|
+
*
|
|
79
|
+
* It is a server Component: no hook, no state and no client code.
|
|
80
|
+
*/
|
|
81
|
+
export function Story01({ eyebrow, title, description, milestones, orient = 'vertical', headingLevel = 'h2', className, }) {
|
|
82
|
+
// A milestone title is a heading one step below the section that introduces the
|
|
83
|
+
// sequence, so a reader navigating by heading meets the history under the
|
|
84
|
+
// section that introduces it rather than as a set of its siblings.
|
|
85
|
+
const Title = childLevel(headingLevel);
|
|
86
|
+
const horizontal = orient === 'horizontal';
|
|
87
|
+
return (_jsxs(Section, { children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, _jsx("ol", { "data-slot": "story-01-rail", "data-orient": orient, className: cn('grid gap-x-8', horizontal && HORIZONTAL_TRACKS, className), children: milestones.map((milestone, index) => {
|
|
88
|
+
const isLast = index === milestones.length - 1;
|
|
89
|
+
return (_jsxs("li", { "data-slot": "story-01-milestone", className: cn(
|
|
90
|
+
// One set of elements for both forms. Below the breakpoint the
|
|
91
|
+
// marker is a narrow first track beside the text and the spine
|
|
92
|
+
// runs down it; at and above it the marker track becomes a full
|
|
93
|
+
// row above the text and the spine runs across it, which is a
|
|
94
|
+
// rail the reader reads left to right.
|
|
95
|
+
'grid grid-cols-[auto_minmax(0,1fr)] gap-x-4', horizontal && 'md:grid-cols-1 md:gap-x-0 md:gap-y-3'), children: [_jsxs("div", { "data-slot": "story-01-track", "aria-hidden": true, className: cn('flex flex-col items-center', horizontal && 'md:flex-row md:items-center md:gap-2'), children: [_jsx("span", { "data-slot": "story-01-marker", className: "bg-primary mt-2 size-2.5 shrink-0 rounded-full" }), _jsx("span", { "data-slot": "story-01-spine", className: cn('bg-border w-px flex-1',
|
|
96
|
+
// The last entry has nothing under it on the vertical form, so
|
|
97
|
+
// its rule is dropped rather than trailing past the end of the
|
|
98
|
+
// history. The horizontal form keeps it, because a rail that
|
|
99
|
+
// stopped one column short reads as a rail that ran out.
|
|
100
|
+
isLast && 'md:hidden', horizontal && 'md:h-px md:w-auto') })] }), _jsxs("div", { "data-slot": "story-01-body", className: "flex min-w-0 flex-col gap-3 pb-10 last:pb-0 md:pb-0", children: [_jsx("span", { "data-slot": "story-01-at", className: "text-muted-foreground font-mono text-xs", children: milestone.at }), _jsx(Title, { className: "text-lg tracking-tight", children: milestone.title }), _jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: milestone.body }), milestone.media ? (_jsxs("figure", { "data-slot": "story-01-media", className: "mt-1 flex flex-col gap-2", children: [milestone.media, milestone.mediaLabel ? (_jsx("figcaption", { className: "text-muted-foreground text-xs", children: milestone.mediaLabel })) : null] })) : null] })] }, milestone.id));
|
|
101
|
+
}) })] }));
|
|
102
|
+
}
|
|
103
|
+
export default Story01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/summary-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAO9C,YAAY,EACV,cAAc,EACd,WAAW,EACX,aAAa,EACb,WAAW,EACX,gBAAgB,GACjB,MAAM,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Summary01, default } from './summary.js';
|