@nanisoft/prism-ui 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +3 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.js +4 -4
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1003 -55
- package/package.json +9 -3
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One figure the customer is asserting.
|
|
5
|
+
*
|
|
6
|
+
* Every field is the customer's own: the number, the label that says what it
|
|
7
|
+
* measures, and the delta and the hint. See the Block's JSDoc for why this row
|
|
8
|
+
* is the reason the Block exists.
|
|
9
|
+
*/
|
|
10
|
+
export type CaseStudy01Result = {
|
|
11
|
+
/** What the figure measures, in the customer's words. */
|
|
12
|
+
label: string;
|
|
13
|
+
/**
|
|
14
|
+
* The figure, already formatted.
|
|
15
|
+
*
|
|
16
|
+
* A node rather than a number, for the reason `Metric` takes a node: a figure a
|
|
17
|
+
* consumer formatted itself is a machine reading, and this package attaches no
|
|
18
|
+
* unit to a number it has never seen.
|
|
19
|
+
*/
|
|
20
|
+
value: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* The change against the previous period, as a plain number.
|
|
23
|
+
*
|
|
24
|
+
* No unit, because Prism cannot know whether this is twelve percent or twelve
|
|
25
|
+
* seconds, and `Metric` prints the number exactly as passed unless the caller
|
|
26
|
+
* gives it a formatter. Pass `0.12` and the row reads `0.12`.
|
|
27
|
+
*/
|
|
28
|
+
delta?: number;
|
|
29
|
+
/** The period, the source or the caveat that matters here. */
|
|
30
|
+
hint?: ReactNode;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* A quotation, with the person who said it.
|
|
34
|
+
*
|
|
35
|
+
* The words are the customer's and so are the person's: a case study that puts
|
|
36
|
+
* words in a named person's mouth is a fabrication with an attribution on it.
|
|
37
|
+
*/
|
|
38
|
+
export type CaseStudy01Quote = {
|
|
39
|
+
/** What the person said. */
|
|
40
|
+
quote: ReactNode;
|
|
41
|
+
/** Who said it, as they are named. */
|
|
42
|
+
name: string;
|
|
43
|
+
/** What they do, where the customer publishes it. */
|
|
44
|
+
role?: string;
|
|
45
|
+
};
|
|
46
|
+
/** Everything a CaseStudy01 takes, other than whether a quote was given. */
|
|
47
|
+
type CaseStudy01CommonProps = {
|
|
48
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
49
|
+
eyebrow?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The section title, when it is not the customer name.
|
|
52
|
+
*
|
|
53
|
+
* Omit it and the customer's name is the section heading, which is the right
|
|
54
|
+
* default here: a case study headed by the work rather than by the customer
|
|
55
|
+
* invites the reader to read it as a claim about a customer rather than about
|
|
56
|
+
* a result. The customer's name is drawn in the body either way, so passing a
|
|
57
|
+
* title never hides it.
|
|
58
|
+
*/
|
|
59
|
+
title?: ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* Whose it is.
|
|
62
|
+
*
|
|
63
|
+
* Required, and required because a case study without a named customer is an
|
|
64
|
+
* advertisement with a paragraph attached. The name is a claim about another
|
|
65
|
+
* organisation, so it is the consumer's to publish and Prism's only to draw.
|
|
66
|
+
*/
|
|
67
|
+
customer: string;
|
|
68
|
+
/** The sector the customer is in, as a label. */
|
|
69
|
+
sector?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The one-paragraph account of what happened.
|
|
72
|
+
*
|
|
73
|
+
* Required, because a case study with no account is a logo with a number under
|
|
74
|
+
* it. It is the paragraph a reader reads before deciding whether the figures
|
|
75
|
+
* below it mean anything.
|
|
76
|
+
*/
|
|
77
|
+
summary: ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* The problem, as authored content.
|
|
80
|
+
*
|
|
81
|
+
* A node rather than a string because this is a run of prose and the caller
|
|
82
|
+
* authors prose: paragraphs, lists, a heading. A Block that took a string would
|
|
83
|
+
* be taking one paragraph where the caller wrote three. If the run contains a
|
|
84
|
+
* heading, compose it at `childLevel(headingLevel)`, which is a fact about where
|
|
85
|
+
* the Block was placed and so is the caller's to get right.
|
|
86
|
+
*/
|
|
87
|
+
problem?: ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* What was done, as authored content.
|
|
90
|
+
*
|
|
91
|
+
* Same shape as `problem` and the same rule about a heading inside it.
|
|
92
|
+
*/
|
|
93
|
+
approach?: ReactNode;
|
|
94
|
+
/**
|
|
95
|
+
* The figures the customer is asserting.
|
|
96
|
+
*
|
|
97
|
+
* Required, and an empty array renders no results strip at all rather than two
|
|
98
|
+
* hairlines around nothing. A case study with no result is a case study with no
|
|
99
|
+
* case, and the type says the row is owed while the renderer declines to draw
|
|
100
|
+
* an empty frame. Every figure here is the customer's assertion and none of
|
|
101
|
+
* them is Prism's.
|
|
102
|
+
*/
|
|
103
|
+
results: readonly CaseStudy01Result[];
|
|
104
|
+
/** The caller's actions, for the sentence that asks the reader what to do. */
|
|
105
|
+
actions?: ReactNode;
|
|
106
|
+
/**
|
|
107
|
+
* `stacked` puts the narrative above the figures. `split` puts the narrative in
|
|
108
|
+
* the left column and the figures and the quotation in the right one.
|
|
109
|
+
*
|
|
110
|
+
* @defaultValue 'stacked'
|
|
111
|
+
*/
|
|
112
|
+
layout?: 'stacked' | 'split';
|
|
113
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
114
|
+
headingLevel?: HeadingLevel;
|
|
115
|
+
/**
|
|
116
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
117
|
+
* property from here is prohibited.
|
|
118
|
+
*/
|
|
119
|
+
className?: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* The props a CaseStudy01 takes.
|
|
123
|
+
*
|
|
124
|
+
* The union is the one place in this Block where the type system earns its keep:
|
|
125
|
+
* `quoteLabel` is required in exactly the shape where a quotation is rendered and
|
|
126
|
+
* meaningless in the shape where none is, and two independent optionals could not
|
|
127
|
+
* say that. This is the `HeroAction` rule applied to a figure rather than to an
|
|
128
|
+
* anchor.
|
|
129
|
+
*/
|
|
130
|
+
export type CaseStudy01Props = CaseStudy01CommonProps & ({
|
|
131
|
+
/** The quotation to close with. */
|
|
132
|
+
quote: CaseStudy01Quote;
|
|
133
|
+
/**
|
|
134
|
+
* The figure's accessible name, so a reader is told this is a quotation
|
|
135
|
+
* rather than body copy.
|
|
136
|
+
*
|
|
137
|
+
* Required whenever `quote` is given. A blockquote with no name is a run
|
|
138
|
+
* of italic text that a screen reader reads as the page own words, and a
|
|
139
|
+
* case study whose quotation is indistinguishable from its own prose is a
|
|
140
|
+
* misattribution waiting to happen.
|
|
141
|
+
*/
|
|
142
|
+
quoteLabel: string;
|
|
143
|
+
} | {
|
|
144
|
+
/** No quotation, and therefore no name owed for one. */
|
|
145
|
+
quote?: never;
|
|
146
|
+
quoteLabel?: never;
|
|
147
|
+
});
|
|
148
|
+
/**
|
|
149
|
+
* One case study in full: a customer, a sector, the problem, what was done, the
|
|
150
|
+
* figures the customer asserts, and optionally a quotation.
|
|
151
|
+
*
|
|
152
|
+
* **The results row is the reason this Block exists, and every figure in it is
|
|
153
|
+
* the caller's.** A case study is the one page on a marketing site where a
|
|
154
|
+
* number is legally dangerous. Every other number on a marketing page is
|
|
155
|
+
* decoration the reader can discount, and a number under the word "results" is a
|
|
156
|
+
* statement of fact about a third party that a publisher is accountable for. So
|
|
157
|
+
* `results` is a prop, every field of it is a prop, `Metric` is handed the value
|
|
158
|
+
* the consumer formatted and is never asked what unit it is in, and there is not
|
|
159
|
+
* one figure, one percentage and one period in this package. The alternative was
|
|
160
|
+
* a Block that shipped a plausible reduction figure, which is worse than useless:
|
|
161
|
+
* it is a false advertising claim that installs itself into every consumer's
|
|
162
|
+
* product, on a page nobody in this repository has any standing to publish, and
|
|
163
|
+
* the consumer who left it alone would inherit it silently. That is the whole
|
|
164
|
+
* design, and every other decision below is smaller than it.
|
|
165
|
+
*
|
|
166
|
+
* **`delta` is a bare number and the row says exactly what it was given.** `0.12`
|
|
167
|
+
* prints as `0.12`, because `Metric` takes an optional formatter and Prism has no
|
|
168
|
+
* formatter for a caller's domain. The honest arrangement is to put the unit in
|
|
169
|
+
* `value`, where the consumer formatted it, or to pass a formatter; the cost of
|
|
170
|
+
* the refusal is a row that says `0.12` where the reader hoped for `12%`, which is
|
|
171
|
+
* honest and usually not what was wanted. Stating that is better than guessing
|
|
172
|
+
* a percent sign onto a number about somebody else's revenue.
|
|
173
|
+
*
|
|
174
|
+
* **`quoteLabel` is required with a quotation, and it names the `figure`.** The
|
|
175
|
+
* quotation is a `figure` rather than a `blockquote` on its own so that it has a
|
|
176
|
+
* name, and the name is drawn as a visually hidden node inside that figure and
|
|
177
|
+
* reached with `aria-labelledby` from a generated id. Without it a screen reader
|
|
178
|
+
* reads the quotation as the page's own sentences, and a case study in which the
|
|
179
|
+
* quotation cannot be told from the prose is a case study that misattributes
|
|
180
|
+
* words. `useId` is the source of that id for the reason `ListPanel` states: a
|
|
181
|
+
* hand-counted id collides the moment two case studies are on one page, which is
|
|
182
|
+
* exactly what happens on a marketing site.
|
|
183
|
+
*
|
|
184
|
+
* **The narrative is `Prose`, so the caller writes prose and Prism holds the
|
|
185
|
+
* measure.** `problem` and `approach` are nodes rather than strings because they
|
|
186
|
+
* are runs of authored content: paragraphs, lists, a heading. A Block that took a
|
|
187
|
+
* string would take one paragraph where the consumer wrote three, which is how a
|
|
188
|
+
* case study ends up with a wall of semicolon-separated claims. The cost is
|
|
189
|
+
* stated rather than hidden: the run arrives unstyled, so a caller who wants a
|
|
190
|
+
* label above it composes its own heading, and that heading should be at
|
|
191
|
+
* `childLevel(headingLevel)` because the level of a heading inside authored prose
|
|
192
|
+
* is a fact about where the Block was placed.
|
|
193
|
+
*
|
|
194
|
+
* **`stacked` and `split` are two arrangements of the same content and neither
|
|
195
|
+
* changes what is claimed.** A stacked study reads the account first and the
|
|
196
|
+
* figures after it, which suits a long narrative; a split one puts the figures
|
|
197
|
+
* beside the account, which suits a reader who came for the number. The Block
|
|
198
|
+
* does not choose between them and does not decide how many figures fit either
|
|
199
|
+
* way, so a caller with five figures gets five figures in both.
|
|
200
|
+
*
|
|
201
|
+
* The section title is `title` when given and the customer's name otherwise, and
|
|
202
|
+
* the customer's name is drawn in the body either way. The section is the one
|
|
203
|
+
* place in this package where the heading is a claim about a third party, which
|
|
204
|
+
* is why the name is a required prop and never a default: there is no anonymous
|
|
205
|
+
* case study here, and a generic label standing in for a name would be an
|
|
206
|
+
* advertisement rather than a study.
|
|
207
|
+
*
|
|
208
|
+
* It is a server Component: no hook, no state and no client code. `useId` is the
|
|
209
|
+
* one React call it makes, and it is the call the server render supports, which
|
|
210
|
+
* `ListPanel`, `FilterPanel` and `FileUpload` already depend on.
|
|
211
|
+
*/
|
|
212
|
+
export declare function CaseStudy01({ eyebrow, title, customer, sector, summary, problem, approach, results, quote, quoteLabel, actions, layout, headingLevel, className, }: CaseStudy01Props): import("react").JSX.Element;
|
|
213
|
+
export default CaseStudy01;
|
|
214
|
+
//# sourceMappingURL=case-study.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-study.d.ts","sourceRoot":"","sources":["../../../src/blocks/case-study-01/case-study.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAK7C,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGxF;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,4BAA4B;IAC5B,KAAK,EAAE,SAAS,CAAA;IAChB,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,4EAA4E;AAC5E,KAAK,sBAAsB,GAAG;IAC5B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;OAMG;IACH,OAAO,EAAE,SAAS,CAAA;IAClB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;;;;;;OAQG;IACH,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACrC,8EAA8E;IAC9E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC5B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,CACI;IACE,mCAAmC;IACnC,KAAK,EAAE,gBAAgB,CAAA;IACvB;;;;;;;;OAQG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB,GACD;IACE,wDAAwD;IACxD,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,UAAU,CAAC,EAAE,KAAK,CAAA;CACnB,CACJ,CAAA;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,KAAK,EACL,UAAU,EACV,OAAO,EACP,MAAkB,EAClB,YAAmB,EACnB,SAAS,GACV,EAAE,gBAAgB,+BAwGlB;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useId } from 'react';
|
|
3
|
+
import { Badge } from '../../components/ui/badge.js';
|
|
4
|
+
import { Metric } from '../../components/ui/metric.js';
|
|
5
|
+
import { Prose } from '../../components/ui/prose.js';
|
|
6
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* One case study in full: a customer, a sector, the problem, what was done, the
|
|
10
|
+
* figures the customer asserts, and optionally a quotation.
|
|
11
|
+
*
|
|
12
|
+
* **The results row is the reason this Block exists, and every figure in it is
|
|
13
|
+
* the caller's.** A case study is the one page on a marketing site where a
|
|
14
|
+
* number is legally dangerous. Every other number on a marketing page is
|
|
15
|
+
* decoration the reader can discount, and a number under the word "results" is a
|
|
16
|
+
* statement of fact about a third party that a publisher is accountable for. So
|
|
17
|
+
* `results` is a prop, every field of it is a prop, `Metric` is handed the value
|
|
18
|
+
* the consumer formatted and is never asked what unit it is in, and there is not
|
|
19
|
+
* one figure, one percentage and one period in this package. The alternative was
|
|
20
|
+
* a Block that shipped a plausible reduction figure, which is worse than useless:
|
|
21
|
+
* it is a false advertising claim that installs itself into every consumer's
|
|
22
|
+
* product, on a page nobody in this repository has any standing to publish, and
|
|
23
|
+
* the consumer who left it alone would inherit it silently. That is the whole
|
|
24
|
+
* design, and every other decision below is smaller than it.
|
|
25
|
+
*
|
|
26
|
+
* **`delta` is a bare number and the row says exactly what it was given.** `0.12`
|
|
27
|
+
* prints as `0.12`, because `Metric` takes an optional formatter and Prism has no
|
|
28
|
+
* formatter for a caller's domain. The honest arrangement is to put the unit in
|
|
29
|
+
* `value`, where the consumer formatted it, or to pass a formatter; the cost of
|
|
30
|
+
* the refusal is a row that says `0.12` where the reader hoped for `12%`, which is
|
|
31
|
+
* honest and usually not what was wanted. Stating that is better than guessing
|
|
32
|
+
* a percent sign onto a number about somebody else's revenue.
|
|
33
|
+
*
|
|
34
|
+
* **`quoteLabel` is required with a quotation, and it names the `figure`.** The
|
|
35
|
+
* quotation is a `figure` rather than a `blockquote` on its own so that it has a
|
|
36
|
+
* name, and the name is drawn as a visually hidden node inside that figure and
|
|
37
|
+
* reached with `aria-labelledby` from a generated id. Without it a screen reader
|
|
38
|
+
* reads the quotation as the page's own sentences, and a case study in which the
|
|
39
|
+
* quotation cannot be told from the prose is a case study that misattributes
|
|
40
|
+
* words. `useId` is the source of that id for the reason `ListPanel` states: a
|
|
41
|
+
* hand-counted id collides the moment two case studies are on one page, which is
|
|
42
|
+
* exactly what happens on a marketing site.
|
|
43
|
+
*
|
|
44
|
+
* **The narrative is `Prose`, so the caller writes prose and Prism holds the
|
|
45
|
+
* measure.** `problem` and `approach` are nodes rather than strings because they
|
|
46
|
+
* are runs of authored content: paragraphs, lists, a heading. A Block that took a
|
|
47
|
+
* string would take one paragraph where the consumer wrote three, which is how a
|
|
48
|
+
* case study ends up with a wall of semicolon-separated claims. The cost is
|
|
49
|
+
* stated rather than hidden: the run arrives unstyled, so a caller who wants a
|
|
50
|
+
* label above it composes its own heading, and that heading should be at
|
|
51
|
+
* `childLevel(headingLevel)` because the level of a heading inside authored prose
|
|
52
|
+
* is a fact about where the Block was placed.
|
|
53
|
+
*
|
|
54
|
+
* **`stacked` and `split` are two arrangements of the same content and neither
|
|
55
|
+
* changes what is claimed.** A stacked study reads the account first and the
|
|
56
|
+
* figures after it, which suits a long narrative; a split one puts the figures
|
|
57
|
+
* beside the account, which suits a reader who came for the number. The Block
|
|
58
|
+
* does not choose between them and does not decide how many figures fit either
|
|
59
|
+
* way, so a caller with five figures gets five figures in both.
|
|
60
|
+
*
|
|
61
|
+
* The section title is `title` when given and the customer's name otherwise, and
|
|
62
|
+
* the customer's name is drawn in the body either way. The section is the one
|
|
63
|
+
* place in this package where the heading is a claim about a third party, which
|
|
64
|
+
* is why the name is a required prop and never a default: there is no anonymous
|
|
65
|
+
* case study here, and a generic label standing in for a name would be an
|
|
66
|
+
* advertisement rather than a study.
|
|
67
|
+
*
|
|
68
|
+
* It is a server Component: no hook, no state and no client code. `useId` is the
|
|
69
|
+
* one React call it makes, and it is the call the server render supports, which
|
|
70
|
+
* `ListPanel`, `FilterPanel` and `FileUpload` already depend on.
|
|
71
|
+
*/
|
|
72
|
+
export function CaseStudy01({ eyebrow, title, customer, sector, summary, problem, approach, results, quote, quoteLabel, actions, layout = 'stacked', headingLevel = 'h2', className, }) {
|
|
73
|
+
const quoteId = useId();
|
|
74
|
+
const account = (_jsxs(_Fragment, { children: [problem === undefined ? null : (_jsx(Prose, { "data-slot": "case-study-problem", children: problem })), approach === undefined ? null : (_jsx(Prose, { "data-slot": "case-study-approach", children: approach }))] }));
|
|
75
|
+
const figures = results.length === 0 ? null : (_jsx("div", { "data-slot": "case-study-results", className: "border-border grid gap-6 border-y py-8 sm:grid-cols-2 lg:grid-cols-3", children: results.map((result, index) => (_jsx(Metric, { "data-result": result.label, value: result.value, label: result.label, delta: result.delta, hint: result.hint }, `${result.label}-${index}`))) }));
|
|
76
|
+
const quotation = quote === undefined ? null : (_jsxs("figure", { "data-slot": "case-study-quote", "aria-labelledby": quoteId, className: "flex flex-col gap-3", children: [_jsx("span", { id: quoteId, className: "sr-only", children: quoteLabel }), _jsx("blockquote", { "data-slot": "case-study-quotation", className: "text-balance text-lg font-medium text-pretty sm:text-xl", children: quote.quote }), _jsxs("figcaption", { "data-slot": "case-study-attribution", className: "flex flex-col gap-0.5 text-sm", children: [_jsx("span", { className: "font-medium", children: quote.name }), quote.role === undefined ? null : (_jsx("span", { className: "text-muted-foreground", children: quote.role }))] })] }));
|
|
77
|
+
return (_jsxs(Section, { className: className, children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title ?? customer, className: "mb-8" }), _jsxs("div", { "data-slot": "case-study", "data-layout": layout, className: cn(layout === 'split' ? 'flex flex-col gap-10 lg:grid lg:grid-cols-3 lg:gap-12' : 'flex flex-col gap-10'), children: [_jsxs("div", { "data-slot": "case-study-account", className: cn('flex flex-col gap-6', layout === 'split' ? 'lg:col-span-2' : ''), children: [_jsxs("div", { "data-slot": "case-study-meta", className: "flex flex-wrap items-center gap-3", children: [_jsx("span", { "data-slot": "case-study-customer", className: "text-sm font-semibold", children: customer }), sector === undefined ? null : (_jsx(Badge, { variant: "outline", "data-sector": sector, children: sector }))] }), _jsx("p", { "data-slot": "case-study-summary", className: "max-w-measure text-lg text-pretty", children: summary }), account] }), _jsxs("div", { "data-slot": "case-study-evidence", className: "flex flex-col gap-8", children: [figures, quotation] })] }), actions === undefined ? null : (_jsx("div", { "data-slot": "case-study-actions", className: "mt-10 flex flex-wrap items-center gap-3", children: actions }))] }));
|
|
78
|
+
}
|
|
79
|
+
export default CaseStudy01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/case-study-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAMnD,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CaseStudy01, default } from './case-study.js';
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The five kinds a change record can be, and the closed set is the taxonomy.
|
|
5
|
+
*
|
|
6
|
+
* A taxonomy and not a severity ladder, and the difference decides the tones
|
|
7
|
+
* below. A change record says what kind of change it is; it does not say how bad
|
|
8
|
+
* it was, because "bad" is a property of a reader's exposure rather than of the
|
|
9
|
+
* record. A security fix in a package nobody installed is not more urgent than a
|
|
10
|
+
* typo fix in the package everybody did, and the record cannot tell the two apart.
|
|
11
|
+
* So these are the kinds and the words are the kinds.
|
|
12
|
+
*/
|
|
13
|
+
export type Changelog01Kind = 'added' | 'changed' | 'fixed' | 'removed' | 'security';
|
|
14
|
+
/**
|
|
15
|
+
* One change record inside a release: a kind, a title, and the sentence or two
|
|
16
|
+
* that say what changed.
|
|
17
|
+
*
|
|
18
|
+
* `kind` and `title` are required, and a record with neither is a line in a list
|
|
19
|
+
* a reader has to interpret. `body` is optional because half of what a changelog
|
|
20
|
+
* publishes is a one line record: "Dropped the deprecated `mode` prop", which is
|
|
21
|
+
* complete on its own and would be worse with a sentence under it.
|
|
22
|
+
*/
|
|
23
|
+
export type Changelog01Entry = {
|
|
24
|
+
/** The record's stable key within its release. */
|
|
25
|
+
id: string;
|
|
26
|
+
/** Which of the five kinds this record is. */
|
|
27
|
+
kind: Changelog01Kind;
|
|
28
|
+
/** The one line that says what changed. */
|
|
29
|
+
title: string;
|
|
30
|
+
/**
|
|
31
|
+
* The detail under the line: why it changed, what it affects, what to do about
|
|
32
|
+
* it. A node, so a caller may pass a paragraph, a list of migration steps, or a
|
|
33
|
+
* `CodeBlock` showing the old and the new call side by side.
|
|
34
|
+
*/
|
|
35
|
+
body?: ReactNode;
|
|
36
|
+
/** Where the full record lives. Its presence makes the entry carry a link. */
|
|
37
|
+
href?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The words on the link, and required whenever `href` is.
|
|
40
|
+
*
|
|
41
|
+
* A link whose only words are the entry's own title tells a reader nothing about
|
|
42
|
+
* what following it does, and the same rule holds here as in every other Block
|
|
43
|
+
* that draws one.
|
|
44
|
+
*/
|
|
45
|
+
hrefLabel?: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* One release: what it is called, when it was, one line about it, and its records.
|
|
49
|
+
*
|
|
50
|
+
* `version` and `entries` are required and `at` is not, because a changelog is
|
|
51
|
+
* grouped by release in one product and by date in another, and a date is a fact
|
|
52
|
+
* about the release rather than part of its identity. `1.4.0` and `2026-09-30` are
|
|
53
|
+
* both legitimate things to print where a version goes, and the Block prints the
|
|
54
|
+
* string it was handed in the mono face because both are machine notation.
|
|
55
|
+
*/
|
|
56
|
+
export type Changelog01Release = {
|
|
57
|
+
/** The release's stable key within the set. */
|
|
58
|
+
id: string;
|
|
59
|
+
/**
|
|
60
|
+
* The version, or the date, or whatever identifies this group of records, as the
|
|
61
|
+
* product writes it.
|
|
62
|
+
*/
|
|
63
|
+
version: string;
|
|
64
|
+
/** The moment, as a string. Printed verbatim; see `ContentGrid01Entry`'s `at`. */
|
|
65
|
+
at?: string;
|
|
66
|
+
/** One line about the release as a whole, for a reader deciding whether to read on. */
|
|
67
|
+
summary?: ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* The records, in the order the product published them.
|
|
70
|
+
*
|
|
71
|
+
* Order is the caller's, and a changelog is one of the two surfaces in this
|
|
72
|
+
* system where the order is genuinely a claim: a security fix belongs next to
|
|
73
|
+
* the change that made it necessary far more often than it belongs at the top of
|
|
74
|
+
* the list.
|
|
75
|
+
*/
|
|
76
|
+
entries: Changelog01Entry[];
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* The props a Changelog01 takes.
|
|
80
|
+
*
|
|
81
|
+
* Every string is a prop and the Block ships none: no version, no date, no kind
|
|
82
|
+
* word, no title, no body and no link label. A changelog is the highest risk of
|
|
83
|
+
* hardcoded copy in this package, because the vocabulary of change is the most
|
|
84
|
+
* tempting kind of copy to write: five words, a fixed order, and every product
|
|
85
|
+
* apparently needs them. Five words in English is five words every consumer of
|
|
86
|
+
* this Block inherits, and the corpus publishes them as the design system's own.
|
|
87
|
+
*/
|
|
88
|
+
export type Changelog01Props = {
|
|
89
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
90
|
+
eyebrow?: string;
|
|
91
|
+
/** The section title. Omit it for a changelog composed under its own heading. */
|
|
92
|
+
title?: string;
|
|
93
|
+
/** One or two sentences under the title. */
|
|
94
|
+
description?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The releases, newest first unless the product says otherwise.
|
|
97
|
+
*
|
|
98
|
+
* The Block does not sort. A changelog's order is a publication decision with a
|
|
99
|
+
* long tail of exceptions, and a Block that sorted by version string would
|
|
100
|
+
* reorder `1.10.0` before `1.9.0` for every consumer whose versions are strings.
|
|
101
|
+
*/
|
|
102
|
+
releases: Changelog01Release[];
|
|
103
|
+
/**
|
|
104
|
+
* Whether each record carries its kind mark.
|
|
105
|
+
*
|
|
106
|
+
* @defaultValue true
|
|
107
|
+
*
|
|
108
|
+
* On by default because a reader scanning a page of releases is usually looking
|
|
109
|
+
* for one kind and not reading all of them. Pass `false` where the release's own
|
|
110
|
+
* summary already says what kind of release it was, or where the records are
|
|
111
|
+
* written so that the title alone identifies them, which is the case for a
|
|
112
|
+
* product that publishes two records per release and no more.
|
|
113
|
+
*/
|
|
114
|
+
showKinds?: boolean;
|
|
115
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
116
|
+
headingLevel?: HeadingLevel;
|
|
117
|
+
/**
|
|
118
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
119
|
+
* property from here is prohibited.
|
|
120
|
+
*/
|
|
121
|
+
className?: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* A dated record of what changed, grouped by release, each record carrying a
|
|
125
|
+
* version, a kind, a line about what changed, and the sentence under it.
|
|
126
|
+
*
|
|
127
|
+
* **The five kinds and their tones are stated out loud in the `KIND_TONE` note
|
|
128
|
+
* above, and `security` takes `warning` rather than `destructive`, and the reason
|
|
129
|
+
* is the one thing a Block cannot know.** Severity is the reader's judgement, not
|
|
130
|
+
* the record's property. A `security` entry is the only one of the five that
|
|
131
|
+
* carries an implied claim about urgency, and a design system that coloured it
|
|
132
|
+
* destructively would be making that claim for every consumer in every release
|
|
133
|
+
* for ever. The concrete cost is easy to name: a product that publishes a routine
|
|
134
|
+
* dependency bump under `security` would have a red dot on it, and a reader
|
|
135
|
+
* trained by that page would learn to skip the red, and the day the product had a
|
|
136
|
+
* real advisory there would be nothing louder left to spend. The other side of
|
|
137
|
+
* that is the cost of `warning` and it is worth naming too: a consumer who needs a
|
|
138
|
+
* genuinely serious advisory to be unmistakable has no louder mark available to
|
|
139
|
+
* them, because the tone is fixed by the kind. The answer is that a serious
|
|
140
|
+
* advisory is a sentence, and the sentence is the `title` and the `body` the
|
|
141
|
+
* caller wrote. A design system has no standing to decide how alarming a
|
|
142
|
+
* consumer's release history is.
|
|
143
|
+
*
|
|
144
|
+
* **The kind is the taxonomy and the tones are the Block's, and neither is the
|
|
145
|
+
* caller's words.** The five kinds are closed because they are a vocabulary of
|
|
146
|
+
change that a reader learns once and then scans by, and a per-product vocabulary
|
|
147
|
+
* would be a column no reader could scan. What the caller owns is the tone's
|
|
148
|
+
* absence or presence and the sentence beside the mark, which is why the mark is
|
|
149
|
+
* `Status` and not a `Badge`: `Status` takes a tone and a label, its dot is
|
|
150
|
+
`aria-hidden`, and the label carries the meaning, so a reader who cannot separate
|
|
151
|
+
* `warning` from `neutral` still hears which kind each record is. The five words
|
|
152
|
+
* themselves are rendered from the value the caller passed, which is what a tier
|
|
153
|
+
* is: a machine value in a closed set, drawn as it was given, exactly as a
|
|
154
|
+
* version, a file name or a tier in any other Block is drawn.
|
|
155
|
+
*
|
|
156
|
+
* **The outline is section, then release, then record, and all three levels are
|
|
157
|
+
* derived.** A release is a heading one step below the section and a record is a
|
|
158
|
+
* heading one step below the release, which is `childLevel` applied twice rather
|
|
159
|
+
* than a literal `h3` in either place. The reason the record is not a sibling of
|
|
160
|
+
* the release is the shape of the data: a changelog is a set of groups, and a
|
|
161
|
+
* reader who navigates by heading is looking for a version, and then for a record
|
|
162
|
+
* inside it. A changelog with forty records directly under the section is an
|
|
163
|
+
* outline of forty peers and no grouping, which is a list of flat entries and not
|
|
164
|
+
* a record of releases. The cost is real: a reader on a page with a hundred
|
|
165
|
+
* releases meets a hundred headings before any record, which is the price of a
|
|
166
|
+
* structure they can jump through and the price a `Story01` already pays.
|
|
167
|
+
*
|
|
168
|
+
* **A release with no records draws its version and its date and no list.** An
|
|
169
|
+
* empty array is a legitimate state rather than a gap: a release that was cut
|
|
170
|
+
before anything landed, a release whose records were all withdrawn, a milestone
|
|
171
|
+
with a name and nothing under it. What it must not draw is a frame. A bordered
|
|
172
|
+
empty group under a version reads as content that failed to load, which is the
|
|
173
|
+
* one thing a changelog must never suggest about a release, and a
|
|
174
|
+
* "no changes" line would be a sentence Prism does not have the standing to
|
|
175
|
+
* write, because whether an empty release is a mistake or a policy is the
|
|
176
|
+
* product's business. So the list element is not drawn at all, and the release
|
|
177
|
+
* reads as a version with nothing under it, which is what it is.
|
|
178
|
+
*
|
|
179
|
+
* **A release is one `section`-less group of the section it sits in, and the
|
|
180
|
+
* versions are a list.** The releases are drawn in a `div` rather than a nested
|
|
181
|
+
* `<section>` because a `<section>` is a landmark and forty landmarks with no
|
|
182
|
+
* accessible name is forty announcements of nothing; the version is the heading and
|
|
183
|
+
* the heading is the name. The records inside a release are one `ul`, so a reader
|
|
184
|
+
* hears one list per release rather than one list for the page, and a list that
|
|
185
|
+
* spans a group boundary is a list whose items are not all the same kind of thing.
|
|
186
|
+
*
|
|
187
|
+
* **A record with no link draws no link, and one with a link carries the caller's
|
|
188
|
+
* words.** The pair is checked before anything is drawn, the same refusal
|
|
189
|
+
* `ContentGrid01` makes and for the same reason, and the message names the field.
|
|
190
|
+
* A per-record link is the difference between a changelog and a set of titles: it
|
|
191
|
+
* is where a reader goes for the migration steps, the diff, or the issue, and a
|
|
192
|
+
* changelog that cannot link out is a list of assertions.
|
|
193
|
+
*
|
|
194
|
+
* It is a server Component: no hook, no state and no client code. A consumer that
|
|
195
|
+
* wants a record's body to hold a control composes the control itself in `body`,
|
|
196
|
+
* which is the arrangement a `ReactNode` slot exists for.
|
|
197
|
+
*/
|
|
198
|
+
export declare function Changelog01({ eyebrow, title, description, releases, showKinds, headingLevel, className, }: Changelog01Props): import("react").JSX.Element | null;
|
|
199
|
+
export default Changelog01;
|
|
200
|
+
//# sourceMappingURL=changelog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"changelog.d.ts","sourceRoot":"","sources":["../../../src/blocks/changelog-01/changelog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAIpG;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;AA0DpF;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,8CAA8C;IAC9C,IAAI,EAAE,eAAe,CAAA;IACrB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,kFAAkF;IAClF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,uFAAuF;IACvF,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;OAOG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAC5B,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;OAMG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAA;IAC9B;;;;;;;;;;OAUG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,SAAgB,EAChB,YAAmB,EACnB,SAAS,GACV,EAAE,gBAAgB,sCAoHlB;AAED,eAAe,WAAW,CAAA"}
|