@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,184 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/** One row of the comparison, when each point carries its own label. */
|
|
4
|
+
export type Compare01Point = {
|
|
5
|
+
/**
|
|
6
|
+
* The row's name, as the caller writes it.
|
|
7
|
+
*
|
|
8
|
+
* A short noun phrase. The column is scanned top to bottom, and a label that
|
|
9
|
+
* wraps to two lines is a row whose two values sit at different heights.
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/** The value on this arm. The caller's node, rendered as the caller wrote it. */
|
|
13
|
+
value: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* One row of the comparison, when the shared `labels` array names it.
|
|
17
|
+
*
|
|
18
|
+
* `label` is declared `never` rather than merely optional, so a caller who passes
|
|
19
|
+
* the shared array and also labels a point gets a type error instead of a matrix
|
|
20
|
+
* whose left column is named twice by two different words. See
|
|
21
|
+
* `Compare01Props.labels`.
|
|
22
|
+
*/
|
|
23
|
+
export type Compare01SharedPoint = {
|
|
24
|
+
/** Forbidden on this arm. The Block's `labels` array names this row. */
|
|
25
|
+
label?: never;
|
|
26
|
+
/** The value on this arm. */
|
|
27
|
+
value: ReactNode;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* One arm of a comparison whose points carry their own labels.
|
|
31
|
+
*
|
|
32
|
+
* `name` is the arm's title: a `th scope="col"` in the `table` form and a heading
|
|
33
|
+
* at `childLevel(headingLevel)` in the `stacked` form, so it is the one thing in
|
|
34
|
+
* the Block a reader navigating by heading can land on.
|
|
35
|
+
*/
|
|
36
|
+
export type Compare01Arm = {
|
|
37
|
+
/** The arm's name, as the caller writes it. */
|
|
38
|
+
name: string;
|
|
39
|
+
/** One or two sentences about the arm, under its name. */
|
|
40
|
+
summary?: ReactNode;
|
|
41
|
+
/** A slot for whatever shows the arm: a figure, a screenshot, a code sample. */
|
|
42
|
+
media?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* The rows, in the order a reader should meet them, each carrying its own
|
|
45
|
+
* label. Order is the caller's because it is a claim about which difference
|
|
46
|
+
* matters first.
|
|
47
|
+
*/
|
|
48
|
+
points: readonly Compare01Point[];
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* One arm of a comparison whose rows are named by the shared `labels` array.
|
|
52
|
+
*
|
|
53
|
+
* The same arm as `Compare01Arm` with the point's own label removed, which is the
|
|
54
|
+
* whole difference: the row names are one list because the two arms are the same
|
|
55
|
+
* shape, and a caller who has reached that conclusion should write it once.
|
|
56
|
+
*/
|
|
57
|
+
export type Compare01SharedArm = {
|
|
58
|
+
/** The arm's name, as the caller writes it. */
|
|
59
|
+
name: string;
|
|
60
|
+
/** One or two sentences about the arm, under its name. */
|
|
61
|
+
summary?: ReactNode;
|
|
62
|
+
/** A slot for whatever shows the arm. */
|
|
63
|
+
media?: ReactNode;
|
|
64
|
+
/** The rows, positionally paired with the Block's `labels`. */
|
|
65
|
+
points: readonly Compare01SharedPoint[];
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* The props a Compare01 takes.
|
|
69
|
+
*
|
|
70
|
+
* The last member is a union, and the union is the decision this Block made once.
|
|
71
|
+
* A comparison has a left column of row names, and there are exactly two ways to
|
|
72
|
+
* supply it: the names live on the points, or they live in one array that applies
|
|
73
|
+
* to both arms. Supporting both at once per arm is the shape this type refuses,
|
|
74
|
+
* because a comparison whose left arm names its rows and whose right arm does not
|
|
75
|
+
* is a table whose middle column is prose on one side and silence on the other,
|
|
76
|
+
* and the reader has to work out which side is the naming side. So the choice is
|
|
77
|
+
* made once, at the top, and the losing arm declares `label` as `never` so the
|
|
78
|
+
* compiler can see it. The cost is a props type a caller has to read before they
|
|
79
|
+
* write anything, and it is paid for a reason that shows up in the rendered page
|
|
80
|
+
* rather than in a type error.
|
|
81
|
+
*
|
|
82
|
+
* Every string is a prop and the Block ships none: no arm name, no summary, no row
|
|
83
|
+
* name and no value.
|
|
84
|
+
*/
|
|
85
|
+
export type Compare01Props = {
|
|
86
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
87
|
+
eyebrow?: ReactNode;
|
|
88
|
+
/** The section title. Omit it for a comparison composed under its own heading. */
|
|
89
|
+
title?: ReactNode;
|
|
90
|
+
/** One or two sentences under the title. */
|
|
91
|
+
description?: ReactNode;
|
|
92
|
+
/**
|
|
93
|
+
* Which form the comparison takes.
|
|
94
|
+
*
|
|
95
|
+
* `table` is a real table, and it scrolls sideways on a narrow screen, because a
|
|
96
|
+
* table that restacks has stopped being a table and a reader comparing by
|
|
97
|
+
* attribute is reading across a row. `stacked` puts one arm above the other and
|
|
98
|
+
* collapses to a single column, which costs the reader the side-by-side
|
|
99
|
+
* alignment they came for and buys them a page they can read on a phone. Both
|
|
100
|
+
* are legitimate and the difference is a fact about the reader's device rather
|
|
101
|
+
* than about the two things being compared, so the Block offers the two and does
|
|
102
|
+
* not pick. The rejected alternative was deciding from the viewport alone, which
|
|
103
|
+
* is a media query making a claim about how a reader compares.
|
|
104
|
+
*
|
|
105
|
+
* @defaultValue 'table'
|
|
106
|
+
*/
|
|
107
|
+
variant?: 'table' | 'stacked';
|
|
108
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
109
|
+
headingLevel?: HeadingLevel;
|
|
110
|
+
/** Layout classes for the comparison. Layout only; every visual property is Prism's. */
|
|
111
|
+
className?: string;
|
|
112
|
+
} & ({
|
|
113
|
+
/**
|
|
114
|
+
* Forbidden on this arm: the points carry their own labels, and a shared
|
|
115
|
+
* array beside them would be a second place for the same words.
|
|
116
|
+
*/
|
|
117
|
+
labels?: never;
|
|
118
|
+
/** The left arm. */
|
|
119
|
+
left: Compare01Arm;
|
|
120
|
+
/** The right arm. */
|
|
121
|
+
right: Compare01Arm;
|
|
122
|
+
} | {
|
|
123
|
+
/**
|
|
124
|
+
* The row names, one per row, in the order the rows appear. Required on
|
|
125
|
+
* this arm because it is what names the left column, and a comparison with
|
|
126
|
+
* no named rows is two columns of values with nothing to align them on.
|
|
127
|
+
*/
|
|
128
|
+
labels: readonly string[];
|
|
129
|
+
/** The left arm. Its points carry no labels of their own. */
|
|
130
|
+
left: Compare01SharedArm;
|
|
131
|
+
/** The right arm. Its points carry no labels of their own. */
|
|
132
|
+
right: Compare01SharedArm;
|
|
133
|
+
});
|
|
134
|
+
/**
|
|
135
|
+
* Two things side by side, in the shape the word "compare" usually means: a
|
|
136
|
+
* two-column band with a shared row of labels down the left.
|
|
137
|
+
*
|
|
138
|
+
* **Prism ships no verdict, and the absence is the feature.** A compare Block is
|
|
139
|
+
* the one place on a marketing page where the surface is allowed to be unfair, and
|
|
140
|
+
* that is exactly why a design system has no standing in it. So there is no
|
|
141
|
+
* winner state, no check on the better column, no default highlight, no `featured`
|
|
142
|
+
* arm and no prop that would produce one. A design system that marks a winner is
|
|
143
|
+
* making a claim about a market it knows nothing about, in the same terms `Price`
|
|
144
|
+
* refuses to pick a currency: Prism is not entitled to a verdict either, and the
|
|
145
|
+
* two refusals are the same refusal. The cost is real and worth naming. A Block
|
|
146
|
+
* that could mark a winner would be a shorter thing to sell, it would demo better,
|
|
147
|
+
* and every consumer who used it would be publishing a comparison a competitor
|
|
148
|
+
* could read. So the Block lays out two arms, draws both at the same weight, and
|
|
149
|
+
* stops. The arms do not even take a `highlight`: symmetry is cheaper to defend
|
|
150
|
+
* than a documented exception.
|
|
151
|
+
*
|
|
152
|
+
* **A row whose two arms disagree is a row, and the Block says nothing about which
|
|
153
|
+
* is better.** There is no em, no tick, no colour and no ordering between the
|
|
154
|
+
* arms. A `value` is a node the caller composed, so a consumer that wants a check
|
|
155
|
+
* in one column puts a check in one column, in their own words and with their own
|
|
156
|
+
* judgement behind it, and Prism's part in that is not disagreeing. The cost of
|
|
157
|
+
* that refusal is that a caller cannot get a comparison to declare itself in one
|
|
158
|
+
* line, and the answer is that a comparison which declares itself is not a
|
|
159
|
+
* comparison any more.
|
|
160
|
+
*
|
|
161
|
+
* **The two narrow-screen answers are the caller's, and the Block decides once
|
|
162
|
+
* rather than per row.** `table` scrolls sideways on a narrow screen and `stacked`
|
|
163
|
+
* puts one arm above the other, for the reason `Compare01Props.variant` gives. The
|
|
164
|
+
* narrow-screen decision is made once, here, because a Block that re-decided it
|
|
165
|
+
* per row would be a table whose first two rows stack and whose rest do not.
|
|
166
|
+
*
|
|
167
|
+
* **The label column is a real column and the choice of who names it is made once.**
|
|
168
|
+
* See `Compare01Props` for the union. A shared array is the better fit when the two
|
|
169
|
+
* arms are the same shape, which is the usual case, and per-point labels are the
|
|
170
|
+
* better fit when one arm has a row the other has no answer for. What is not
|
|
171
|
+
* available is the half-and-half case, because a left column named by two
|
|
172
|
+
* mechanisms is a column no reader can rely on.
|
|
173
|
+
*
|
|
174
|
+
* **Arms of different lengths are refused rather than padded.** A column with a
|
|
175
|
+
* missing cell is a claim about a product, made by a comparison whose own data
|
|
176
|
+
* disagreed with it, and no amount of quiet padding makes that the caller's
|
|
177
|
+
* intent. The check runs before anything is rendered, and it names both counts in
|
|
178
|
+
* the message so the fix is a one-line edit at the call site.
|
|
179
|
+
*
|
|
180
|
+
* It is a server Component: no hook, no state, no client code and no router.
|
|
181
|
+
*/
|
|
182
|
+
export declare function Compare01(props: Compare01Props): import("react").JSX.Element;
|
|
183
|
+
export default Compare01;
|
|
184
|
+
//# sourceMappingURL=compare.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../src/blocks/compare-01/compare.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG7C,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAWpG,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,iFAAiF;IACjF,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,wEAAwE;IACxE,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,6BAA6B;IAC7B,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;OAIG;IACH,MAAM,EAAE,SAAS,cAAc,EAAE,CAAA;CAClC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,yCAAyC;IACzC,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,+DAA+D;IAC/D,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAA;CACxC,CAAA;AAQD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,kFAAkF;IAClF,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,wFAAwF;IACxF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,CACA;IACE;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,oBAAoB;IACpB,IAAI,EAAE,YAAY,CAAA;IAClB,qBAAqB;IACrB,KAAK,EAAE,YAAY,CAAA;CACpB,GACD;IACE;;;;OAIG;IACH,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;IACzB,6DAA6D;IAC7D,IAAI,EAAE,kBAAkB,CAAA;IACxB,8DAA8D;IAC9D,KAAK,EAAE,kBAAkB,CAAA;CAC1B,CACJ,CAAA;AAoFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BAsI9C;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useId } from 'react';
|
|
3
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../components/ui/card.js';
|
|
4
|
+
import { Section, SectionHeading, childLevel } 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 row names, read from whichever shape arrived.
|
|
9
|
+
*
|
|
10
|
+
* The two branches are the union's two arms, and only one of them is reachable for
|
|
11
|
+
* a given `shared`: with the shared array present every element is a
|
|
12
|
+
* `Compare01SharedPoint` and the array is the total source of names, and with it
|
|
13
|
+
* absent every element is a `Compare01Point` whose `label` is required. The
|
|
14
|
+
* `?? ''` is the price of holding both element types in one array, and it is
|
|
15
|
+
* unreachable for a caller who wrote TypeScript.
|
|
16
|
+
*/
|
|
17
|
+
function rowNames(points, shared) {
|
|
18
|
+
if (shared !== undefined)
|
|
19
|
+
return shared;
|
|
20
|
+
return points.map((point) => point.label ?? '');
|
|
21
|
+
}
|
|
22
|
+
/** One row of the `table` form: the row's name, then a value per arm. */
|
|
23
|
+
function CompareRow({ label, left, right, }) {
|
|
24
|
+
return (_jsxs(TableRow, { children: [_jsx(TableHead, { scope: "row", className: "w-56 align-top whitespace-normal font-normal", children: _jsx("span", { className: "text-sm font-medium", children: label }) }), _jsx(TableCell, { className: "align-top whitespace-normal", children: left }), _jsx(TableCell, { className: "align-top whitespace-normal", children: right })] }));
|
|
25
|
+
}
|
|
26
|
+
/** One arm of the `stacked` form: a titled card, its media, and its own rows. */
|
|
27
|
+
function StackedArm({ name, summary, media, points, rows, Heading, }) {
|
|
28
|
+
return (_jsxs(Card, { "data-slot": "compare-arm", className: "gap-4", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { as: Heading, children: name }), summary ? _jsx(CardDescription, { children: summary }) : null] }), media ? _jsx("div", { "data-slot": "compare-media", children: media }) : null, _jsx(CardContent, { children: _jsx("dl", { className: "flex flex-col gap-3", children: points.map((point, index) => (_jsxs("div", { className: "flex flex-col gap-0.5", children: [_jsx("dt", { className: "text-muted-foreground text-xs font-medium", children: rows[index] }), _jsx("dd", { className: "text-pretty text-sm", children: point.value })] }, index))) }) })] }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Two things side by side, in the shape the word "compare" usually means: a
|
|
32
|
+
* two-column band with a shared row of labels down the left.
|
|
33
|
+
*
|
|
34
|
+
* **Prism ships no verdict, and the absence is the feature.** A compare Block is
|
|
35
|
+
* the one place on a marketing page where the surface is allowed to be unfair, and
|
|
36
|
+
* that is exactly why a design system has no standing in it. So there is no
|
|
37
|
+
* winner state, no check on the better column, no default highlight, no `featured`
|
|
38
|
+
* arm and no prop that would produce one. A design system that marks a winner is
|
|
39
|
+
* making a claim about a market it knows nothing about, in the same terms `Price`
|
|
40
|
+
* refuses to pick a currency: Prism is not entitled to a verdict either, and the
|
|
41
|
+
* two refusals are the same refusal. The cost is real and worth naming. A Block
|
|
42
|
+
* that could mark a winner would be a shorter thing to sell, it would demo better,
|
|
43
|
+
* and every consumer who used it would be publishing a comparison a competitor
|
|
44
|
+
* could read. So the Block lays out two arms, draws both at the same weight, and
|
|
45
|
+
* stops. The arms do not even take a `highlight`: symmetry is cheaper to defend
|
|
46
|
+
* than a documented exception.
|
|
47
|
+
*
|
|
48
|
+
* **A row whose two arms disagree is a row, and the Block says nothing about which
|
|
49
|
+
* is better.** There is no em, no tick, no colour and no ordering between the
|
|
50
|
+
* arms. A `value` is a node the caller composed, so a consumer that wants a check
|
|
51
|
+
* in one column puts a check in one column, in their own words and with their own
|
|
52
|
+
* judgement behind it, and Prism's part in that is not disagreeing. The cost of
|
|
53
|
+
* that refusal is that a caller cannot get a comparison to declare itself in one
|
|
54
|
+
* line, and the answer is that a comparison which declares itself is not a
|
|
55
|
+
* comparison any more.
|
|
56
|
+
*
|
|
57
|
+
* **The two narrow-screen answers are the caller's, and the Block decides once
|
|
58
|
+
* rather than per row.** `table` scrolls sideways on a narrow screen and `stacked`
|
|
59
|
+
* puts one arm above the other, for the reason `Compare01Props.variant` gives. The
|
|
60
|
+
* narrow-screen decision is made once, here, because a Block that re-decided it
|
|
61
|
+
* per row would be a table whose first two rows stack and whose rest do not.
|
|
62
|
+
*
|
|
63
|
+
* **The label column is a real column and the choice of who names it is made once.**
|
|
64
|
+
* See `Compare01Props` for the union. A shared array is the better fit when the two
|
|
65
|
+
* arms are the same shape, which is the usual case, and per-point labels are the
|
|
66
|
+
* better fit when one arm has a row the other has no answer for. What is not
|
|
67
|
+
* available is the half-and-half case, because a left column named by two
|
|
68
|
+
* mechanisms is a column no reader can rely on.
|
|
69
|
+
*
|
|
70
|
+
* **Arms of different lengths are refused rather than padded.** A column with a
|
|
71
|
+
* missing cell is a claim about a product, made by a comparison whose own data
|
|
72
|
+
* disagreed with it, and no amount of quiet padding makes that the caller's
|
|
73
|
+
* intent. The check runs before anything is rendered, and it names both counts in
|
|
74
|
+
* the message so the fix is a one-line edit at the call site.
|
|
75
|
+
*
|
|
76
|
+
* It is a server Component: no hook, no state, no client code and no router.
|
|
77
|
+
*/
|
|
78
|
+
export function Compare01(props) {
|
|
79
|
+
// The handle a table below takes its name from; see the note on the table.
|
|
80
|
+
const headingId = useId();
|
|
81
|
+
const { eyebrow, title, description, variant = 'table', headingLevel = 'h2', className } = props;
|
|
82
|
+
const shared = props.labels;
|
|
83
|
+
const { left, right } = props;
|
|
84
|
+
const leftPoints = left.points;
|
|
85
|
+
const rightPoints = right.points;
|
|
86
|
+
if (leftPoints.length !== rightPoints.length) {
|
|
87
|
+
throw new Error(`Compare01: the arm '${left.name}' has ${leftPoints.length} point(s) and the arm ` +
|
|
88
|
+
`'${right.name}' has ${rightPoints.length}. A comparison whose arms are different lengths is a ` +
|
|
89
|
+
'column with a missing cell, so the lengths are checked rather than padded.');
|
|
90
|
+
}
|
|
91
|
+
if (shared !== undefined && shared.length !== leftPoints.length) {
|
|
92
|
+
throw new Error(`Compare01: the arm '${left.name}' has ${leftPoints.length} point(s) and labels has ` +
|
|
93
|
+
`${shared.length} name(s). A comparison whose rows are not named one for one is a row with no ` +
|
|
94
|
+
'name or a name with no row, so the lengths are checked rather than padded.');
|
|
95
|
+
}
|
|
96
|
+
const rows = rowNames(leftPoints, shared);
|
|
97
|
+
// The arm names are the two column headings, so they are titles inside the
|
|
98
|
+
// section that introduces the comparison.
|
|
99
|
+
const ArmHeading = childLevel(headingLevel);
|
|
100
|
+
return (_jsxs(Section, { children: [title ? (_jsx(SectionHeading, { as: headingLevel, id: headingId, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, variant === 'stacked' ? (_jsxs("div", { "data-slot": "compare", "data-variant": "stacked", className: cn('grid gap-6 lg:grid-cols-2', className), children: [_jsx(StackedArm, { name: left.name, summary: left.summary, media: left.media, points: leftPoints, rows: rows, Heading: ArmHeading }), _jsx(StackedArm, { name: right.name, summary: right.summary, media: right.media, points: rightPoints, rows: rows, Heading: ArmHeading })] })) : (_jsx("div", { "data-slot": "compare", "data-variant": "table", className: cn('flex flex-col gap-4', className), children: _jsx("div", { className: "border-border overflow-hidden rounded-xl border", children: _jsxs(Table, { "aria-labelledby": title ? headingId : undefined, children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { className: "w-56" }), [left, right].map((arm, index) => (_jsx(TableHead, { scope: "col", className: "whitespace-normal align-bottom", children: _jsxs("div", { className: "flex flex-col items-start gap-1", children: [_jsx(ArmHeading, { className: "text-base font-semibold tracking-tight text-balance", children: arm.name }), arm.summary ? (_jsx("span", { className: "text-muted-foreground text-sm font-normal", children: arm.summary })) : null, arm.media ? _jsx("div", { "data-slot": "compare-media", children: arm.media }) : null] }) }, index)))] }) }), _jsx(TableBody, { children: rows.map((row, index) => (
|
|
101
|
+
// Positional: a row name is display content and a caller may
|
|
102
|
+
// legitimately compare the same attribute twice under two
|
|
103
|
+
// headings, which keying on the name would punish.
|
|
104
|
+
_jsx(CompareRow, { label: row, left: leftPoints[index].value, right: rightPoints[index].value }, index))) })] }) }) }))] }));
|
|
105
|
+
}
|
|
106
|
+
export default Compare01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/compare-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAK9C,YAAY,EACV,YAAY,EACZ,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Compare01, default } from './compare.js';
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The three states a compliance row can be in.
|
|
5
|
+
*
|
|
6
|
+
* Three, and the set is closed. It is `Status`'s set of five tones narrowed to
|
|
7
|
+
* the states a claim about a standard can actually be in, and the narrowing is
|
|
8
|
+
* the argument: a compliance surface has no `destructive` row, because "we do not
|
|
9
|
+
* hold this" is not a claim a publisher makes about a standard it has chosen to
|
|
10
|
+
* publish, and a surface with a destructive state on it invites exactly the
|
|
11
|
+
* marketing use this Block exists to refuse.
|
|
12
|
+
*/
|
|
13
|
+
export type ComplianceState = 'held' | 'in-progress' | 'not-applicable';
|
|
14
|
+
/**
|
|
15
|
+
* One claim, and everything that makes it checkable.
|
|
16
|
+
*
|
|
17
|
+
* The words in every one of these fields are the caller's legal statements, not
|
|
18
|
+
* Prism's. See the Block's JSDoc for why that sentence is load-bearing rather
|
|
19
|
+
* than a formality.
|
|
20
|
+
*/
|
|
21
|
+
type Compliance01RowBase = {
|
|
22
|
+
/**
|
|
23
|
+
* A stable key for the row, and carried on the markup as `data-compliance` so
|
|
24
|
+
* a test can name one claim rather than the first one.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* What is claimed, in the publisher's own words.
|
|
29
|
+
*
|
|
30
|
+
* The anchor of the row and the row header the table announces with it. It is
|
|
31
|
+
* the sentence a reader checks against the document beside it, so it is not
|
|
32
|
+
* shortened, softened or rewritten here.
|
|
33
|
+
*/
|
|
34
|
+
claim: string;
|
|
35
|
+
/**
|
|
36
|
+
* The standard, framework or control the claim is made against.
|
|
37
|
+
*
|
|
38
|
+
* Optional, and its absence is meaningful rather than a gap: a claim with no
|
|
39
|
+
* standard is a statement the publisher has made about itself, and there is no
|
|
40
|
+
* tick to draw for it. See the Block's JSDoc for the refusal.
|
|
41
|
+
*/
|
|
42
|
+
standard?: string;
|
|
43
|
+
/**
|
|
44
|
+
* What the claim covers: which system, which region, which version.
|
|
45
|
+
*
|
|
46
|
+
* A compliance claim without a scope is a claim about everything, which is a
|
|
47
|
+
* stronger claim than any publisher can usually support, and this Block does
|
|
48
|
+
* not write the scope for them.
|
|
49
|
+
*/
|
|
50
|
+
scope?: string;
|
|
51
|
+
/**
|
|
52
|
+
* When the claim was last reviewed, already written as it should be read.
|
|
53
|
+
*
|
|
54
|
+
* A string rather than a `Date`, and that is a decision with a reason: this is
|
|
55
|
+
* a Block and a Block ships no formatting, so the reading is the caller's
|
|
56
|
+
* string rather than a date Prism would have to turn into words. The honest
|
|
57
|
+
* reading of a review date is a `relative-time`, which is a Component a caller
|
|
58
|
+
* composes; see the Block's JSDoc.
|
|
59
|
+
*/
|
|
60
|
+
reviewedAt?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The state of the claim, drawn from the tone set `Status` owns.
|
|
63
|
+
*
|
|
64
|
+
* Optional, and a row with no state says nothing about its own status, which
|
|
65
|
+
* is the honest reading of a claim nobody has labelled. A `held` claim also
|
|
66
|
+
* needs a `standard`; see the Block's JSDoc.
|
|
67
|
+
*/
|
|
68
|
+
state?: ComplianceState;
|
|
69
|
+
/**
|
|
70
|
+
* The words for the state, in the publisher's own vocabulary.
|
|
71
|
+
*
|
|
72
|
+
* Required whenever `state` is given, and not defaulted, for the reason
|
|
73
|
+
* `StatusLedger01`'s `statusLabel` states in full: the state is a colour and
|
|
74
|
+
* the words are the information, and a publisher whose regimes say "attested"
|
|
75
|
+
* where another's say "held" cannot be given one vocabulary by a design system.
|
|
76
|
+
* A missing one is a thrown diagnostic rather than a silent absence.
|
|
77
|
+
*/
|
|
78
|
+
stateLabel?: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* One row of the claims table.
|
|
82
|
+
*
|
|
83
|
+
* **The evidence pair is a union, and that is the whole of why this is a type
|
|
84
|
+
* alias over an interface.** The four fields a row always carries are on every
|
|
85
|
+
* arm, and the two fields that describe an evidence link are on one arm together:
|
|
86
|
+
* a row either links to a published document and names it, or it does neither.
|
|
87
|
+
* Declaring `evidenceHref` and `evidenceLabel` as two independent optional
|
|
88
|
+
* properties would have produced three states a compliance table must never show,
|
|
89
|
+
* a link with no name, a name with no link, and neither, and only the first of
|
|
90
|
+
* those is what the optional pair was trying to say.
|
|
91
|
+
*
|
|
92
|
+
* The `state` pair works the same way and for the same reason, and the
|
|
93
|
+
* `stateLabel` is a separate union below for the same reason again: a state is a
|
|
94
|
+
* colour and the words beside it are the information.
|
|
95
|
+
*/
|
|
96
|
+
export type Compliance01Row = Compliance01RowBase & ({
|
|
97
|
+
/**
|
|
98
|
+
* Where the evidence is: a native anchor `href`.
|
|
99
|
+
*
|
|
100
|
+
* Omit it and the cell says nothing, which is a truthful answer. A claim
|
|
101
|
+
* with no published document behind it has no evidence link, and this
|
|
102
|
+
* Block will not link to a contact form to fill the gap.
|
|
103
|
+
*/
|
|
104
|
+
evidenceHref: string;
|
|
105
|
+
/**
|
|
106
|
+
* The words that name the evidence, and the link's accessible name.
|
|
107
|
+
*
|
|
108
|
+
* Required on this arm and forbidden on the other one, so a link whose
|
|
109
|
+
* accessible name is its address is a compile error rather than
|
|
110
|
+
* something a screen reader announces as punctuation, and a name with no
|
|
111
|
+
* link beside it is a compile error rather than a sentence in an empty
|
|
112
|
+
* cell. The words are the caller's, because the words say which document
|
|
113
|
+
* this is.
|
|
114
|
+
*/
|
|
115
|
+
evidenceLabel: string;
|
|
116
|
+
} | {
|
|
117
|
+
/** Forbidden, so that "a link with no name" cannot be typed. */
|
|
118
|
+
evidenceHref?: never;
|
|
119
|
+
/** Forbidden, so that "a name with no link" cannot be typed either. */
|
|
120
|
+
evidenceLabel?: never;
|
|
121
|
+
});
|
|
122
|
+
/**
|
|
123
|
+
* What each column says it holds.
|
|
124
|
+
*
|
|
125
|
+
* Six nodes and all six required, because a compliance table whose columns are
|
|
126
|
+
* unnamed is a grid, and a grid of claims is a set of assertions with nothing to
|
|
127
|
+
* check them against. The words are the caller's because what a publisher calls
|
|
128
|
+
* its review date, its scope and its evidence is part of the claim rather than
|
|
129
|
+
* part of the layout.
|
|
130
|
+
*/
|
|
131
|
+
export type Compliance01Columns = {
|
|
132
|
+
/** Above the claim column, which is also the row header the table announces. */
|
|
133
|
+
claim: ReactNode;
|
|
134
|
+
/** Above the standard column. */
|
|
135
|
+
standard: ReactNode;
|
|
136
|
+
/** Above the scope column. */
|
|
137
|
+
scope: ReactNode;
|
|
138
|
+
/** Above the last reviewed column. */
|
|
139
|
+
reviewedAt: ReactNode;
|
|
140
|
+
/** Above the state column. */
|
|
141
|
+
state: ReactNode;
|
|
142
|
+
/** Above the evidence column. */
|
|
143
|
+
evidence: ReactNode;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* The props a Compliance01 takes.
|
|
147
|
+
*
|
|
148
|
+
* Every string is a prop and the Block ships none. There is no standard list, no
|
|
149
|
+
* certification vocabulary, no default state and not one word of a claim: a
|
|
150
|
+
* compliance surface that shipped any of them would be making statements about a
|
|
151
|
+
* publisher's regulatory position on their behalf.
|
|
152
|
+
*/
|
|
153
|
+
export type Compliance01Props = {
|
|
154
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
155
|
+
eyebrow?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The section title, required.
|
|
158
|
+
*
|
|
159
|
+
* Required because this is the one surface in the system where an unlabelled
|
|
160
|
+
* table of claims is a defect rather than a layout: a table of assertions with
|
|
161
|
+
* no statement of who is making them reads as a certification nobody issued.
|
|
162
|
+
*/
|
|
163
|
+
title: ReactNode;
|
|
164
|
+
/** One or two sentences under the title. */
|
|
165
|
+
description?: ReactNode;
|
|
166
|
+
/** The claims, in the order a reader should meet them. Order is the caller's. */
|
|
167
|
+
rows: readonly Compliance01Row[];
|
|
168
|
+
/** What each column says it holds. See `Compliance01Columns`. */
|
|
169
|
+
columns: Compliance01Columns;
|
|
170
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
171
|
+
headingLevel?: HeadingLevel;
|
|
172
|
+
/**
|
|
173
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
174
|
+
* property from here is prohibited.
|
|
175
|
+
*/
|
|
176
|
+
className?: string;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* A table of what is claimed, to which standard, by whom, when it was last
|
|
180
|
+
* reviewed, and where the evidence is.
|
|
181
|
+
*
|
|
182
|
+
* **The reason this Item exists is not the table.** A table is `Table`, and
|
|
183
|
+
* `Table` is already in this package. What a design system is tempted to do on a
|
|
184
|
+
* compliance surface is render a tick for a claim nobody has checked: the tick
|
|
185
|
+
* is the reward, it is the thing the marketing copy reaches for, and every
|
|
186
|
+
* design system that has shipped a compliance section has shipped one by
|
|
187
|
+
* defaulting the state to the good one. So this Block ships a state set in which
|
|
188
|
+
* the honest answers are first class rather than absent. `in-progress` and
|
|
189
|
+
* `not-applicable` are members of the set, not edge cases, which is what stops a
|
|
190
|
+
* publisher from reading the two tone-less states as an admission they have to
|
|
191
|
+
* hide by claiming the first one instead. And a row that claims to hold something
|
|
192
|
+
* with no standard behind it throws rather than rendering a bare tick, because
|
|
193
|
+
* the alternative is a certification mark this package drew for a sentence it
|
|
194
|
+
* cannot check.
|
|
195
|
+
*
|
|
196
|
+
* **Every word in every cell is the caller's legal statement.** The claims, the
|
|
197
|
+
* standards, the scopes, the review readings, the state vocabulary and the
|
|
198
|
+
* evidence names are all props, and the Block composes none of them into a
|
|
199
|
+
* sentence of its own. That is not a formality in this one place. A compliance
|
|
200
|
+
* surface is a set of representations made to regulators, to customers and to
|
|
201
|
+
* auditors, and a design system that contributed a word to one of them would be
|
|
202
|
+
* publishing a representation it has no standing to make. The cost of the rule is
|
|
203
|
+
* real and stated here: there is no default for anything, so a consumer wiring
|
|
204
|
+
* this Block up writes every label themselves, and a half-built compliance
|
|
205
|
+
* section is a build error rather than a page that ships six ticks.
|
|
206
|
+
*
|
|
207
|
+
* **The state is a tone and the words are the caller's, which is the same split
|
|
208
|
+
* `StatusLedger01` makes.** `Status` owns the five tones and refuses to pick one,
|
|
209
|
+
* and this Block maps its three states onto three of those tones while taking the
|
|
210
|
+
* words beside them from the caller. A publisher whose regimes say "attested"
|
|
211
|
+
* where another's say "held" is not a vocabulary this Block can reconcile, and a
|
|
212
|
+
* missing `stateLabel` throws rather than falling back to the machine value,
|
|
213
|
+
* which would print `in-progress` into a regulatory document as if it were a term
|
|
214
|
+
* of art.
|
|
215
|
+
*
|
|
216
|
+
* **`reviewedAt` is a string because a Block ships no formatting, and the honest
|
|
217
|
+
* reading of a review date is a Component rather than a call into `Intl`.** The
|
|
218
|
+
* alternative was to accept a `Date` and format it here, which is a Block
|
|
219
|
+
* choosing a locale, a calendar and a granularity on a publisher's regulatory
|
|
220
|
+
* behalf, and which would put `Intl` in every consumer's bundle for a rendering
|
|
221
|
+
* Prism has no stake in. So the value is printed exactly as passed. A caller who
|
|
222
|
+
* wants the reading to say "three months ago" composes `relative-time` beside
|
|
223
|
+
* this table, or formats the string themselves, and a Block that wanted the
|
|
224
|
+
* relative phrase would compose that Component rather than format inline. The
|
|
225
|
+
* cost is stated rather than hidden: a caller who passes an ISO string gets an
|
|
226
|
+
* ISO string, which is honest and rarely what was wanted.
|
|
227
|
+
*
|
|
228
|
+
* **The claim is the row header, so the table announces it with every cell.** The
|
|
229
|
+
* claim cell is a `th` with `scope="row"` rather than a `td`, which is what lets
|
|
230
|
+
* a screen reader say which claim each state and each date belongs to. The row
|
|
231
|
+
* header and the cells carry `whitespace-normal` and `h-auto` because
|
|
232
|
+
* `TableHead` and `TableCell` set `whitespace-nowrap` and a fixed header height,
|
|
233
|
+
* which is right for a figure in a data grid and wrong for a sentence that is a
|
|
234
|
+
* legal statement; that is the one place in this Block where a `className`
|
|
235
|
+
* changes a Prism-owned property rather than placing something, and it is stated
|
|
236
|
+
* here rather than left to be discovered.
|
|
237
|
+
*
|
|
238
|
+
* An empty set renders the table with no rows, which is deliberate and is the
|
|
239
|
+
* opposite of the rule every other Block in this package follows: a compliance
|
|
240
|
+
* section with a heading and no rows says "we publish nothing here", and hiding
|
|
241
|
+
* it would leave a reader wondering whether the section was missed. The cost is
|
|
242
|
+
* that a heading can survive on a page whose claims have all been withdrawn, so a
|
|
243
|
+
* consumer who would rather see nothing should not render the Block.
|
|
244
|
+
*
|
|
245
|
+
* It is a server Component: no hook, no state, no client code and no motion.
|
|
246
|
+
*/
|
|
247
|
+
export declare function Compliance01({ eyebrow, title, description, rows, columns, headingLevel, className, }: Compliance01Props): import("react").JSX.Element;
|
|
248
|
+
export default Compliance01;
|
|
249
|
+
//# sourceMappingURL=compliance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance.d.ts","sourceRoot":"","sources":["../../../src/blocks/compliance-01/compliance.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAWxF;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,aAAa,GAAG,gBAAgB,CAAA;AAmBvE;;;;;;GAMG;AACH,KAAK,mBAAmB,GAAG;IACzB;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAC/C,CACI;IACE;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;;;;;;;OASG;IACH,aAAa,EAAE,MAAM,CAAA;CACtB,GACD;IACE,gEAAgE;IAChE,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,uEAAuE;IACvE,aAAa,CAAC,EAAE,KAAK,CAAA;CACtB,CACJ,CAAA;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,gFAAgF;IAChF,KAAK,EAAE,SAAS,CAAA;IAChB,iCAAiC;IACjC,QAAQ,EAAE,SAAS,CAAA;IACnB,8BAA8B;IAC9B,KAAK,EAAE,SAAS,CAAA;IAChB,sCAAsC;IACtC,UAAU,EAAE,SAAS,CAAA;IACrB,8BAA8B;IAC9B,KAAK,EAAE,SAAS,CAAA;IAChB,iCAAiC;IACjC,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,iFAAiF;IACjF,IAAI,EAAE,SAAS,eAAe,EAAE,CAAA;IAChC,iEAAiE;IACjE,OAAO,EAAE,mBAAmB,CAAA;IAC5B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,OAAO,EACP,YAAmB,EACnB,SAAS,GACV,EAAE,iBAAiB,+BAmFnB;AAED,eAAe,YAAY,CAAA"}
|