@nanisoft/prism-ui 0.13.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +22 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +9 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +131 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +33 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +4 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +34 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +24 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/diagram.d.ts +38 -7
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +134 -52
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/fact-list.d.ts +17 -0
- package/dist/components/ui/fact-list.d.ts.map +1 -1
- package/dist/components/ui/fact-list.js +18 -1
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +34 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +41 -1
- package/dist/components/ui/pulse-graph.d.ts +36 -4
- package/dist/components/ui/pulse-graph.d.ts.map +1 -1
- package/dist/components/ui/pulse-graph.js +174 -60
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +110 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +111 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/figure.d.ts +149 -0
- package/dist/lib/figure.d.ts.map +1 -0
- package/dist/lib/figure.js +242 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
- package/dist/live/run-stream-01/run-stream.js +6 -5
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/blog-post-page/index.d.ts +36 -15
- package/dist/pages/blog-post-page/index.d.ts.map +1 -1
- package/dist/pages/blog-post-page/index.js +35 -10
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +126 -16
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +229 -28
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +102 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/not-found-page/index.d.ts.map +1 -1
- package/dist/pages/not-found-page/index.js +4 -3
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1105 -62
- package/package.json +9 -3
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The seven things a retention row can say, and the cell each one draws.
|
|
5
|
+
*
|
|
6
|
+
* A closed set, and the closure is the point, for the reason
|
|
7
|
+
* `ResourceListCell` gives: the cells are the Block's, so a column naming a
|
|
8
|
+
* seventh would be a column with nothing to put in it. The names above them are the
|
|
9
|
+
* caller's, which is the other half of the same thing. A compliance surface has one
|
|
10
|
+
* column whose name is genuinely worth arguing over, the period column, and a
|
|
11
|
+
* product that calls it "Retention" and a product that calls it "How long we keep
|
|
12
|
+
* it" are both right, and a product that calls the same column "TTL" has meant
|
|
13
|
+
* something slightly different by it.
|
|
14
|
+
*
|
|
15
|
+
* The last-review cell is `last-reviewed` and the row field it draws is
|
|
16
|
+
* `reviewedAt`, and the two names are not the same on purpose. The cell id is a
|
|
17
|
+
* machine name that travels through a union and through markup, and a machine name
|
|
18
|
+
* in this package is lowercase; the field is the caller's data and keeps the
|
|
19
|
+
* spelling a reader of their own code expects.
|
|
20
|
+
*/
|
|
21
|
+
export type RetentionColumnId = 'subject' | 'kind' | 'period' | 'region' | 'policy' | 'last-reviewed' | 'href';
|
|
22
|
+
/**
|
|
23
|
+
* One column of a retention schedule, and the words above it.
|
|
24
|
+
*
|
|
25
|
+
* A cell id rather than a renderer, for the reason the closure above gives: the
|
|
26
|
+
* cells are the Block's so that the schedule reads the same in every consumer, and
|
|
27
|
+
* only the words travel. A column that took a renderer would be a table the
|
|
28
|
+
* consumer drew, and this Item would be a bordered `div`.
|
|
29
|
+
*/
|
|
30
|
+
export type RetentionColumn = {
|
|
31
|
+
/** Which cell the column draws. */
|
|
32
|
+
id: RetentionColumnId;
|
|
33
|
+
/** The heading above the column. */
|
|
34
|
+
header: ReactNode;
|
|
35
|
+
/** Layout only: a width, or an alignment. */
|
|
36
|
+
className?: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* One thing that is kept, for how long, where, and under which policy.
|
|
40
|
+
*
|
|
41
|
+
* Every word in every field here is a representation the caller makes to a
|
|
42
|
+
* regulator, to a customer or to an auditor, and Prism composes none of them. See
|
|
43
|
+
* the Block's JSDoc for why that sentence is load-bearing on this surface rather
|
|
44
|
+
* than a formality.
|
|
45
|
+
*/
|
|
46
|
+
export type RetentionRow = {
|
|
47
|
+
/** A stable key for the row, and carried on the markup as `data-retention`. */
|
|
48
|
+
id: string;
|
|
49
|
+
/**
|
|
50
|
+
* What is kept, in the publisher's own words.
|
|
51
|
+
*
|
|
52
|
+
* The anchor of the row and the row header the table announces with it. It is the
|
|
53
|
+
* phrase a reader checks against the sentence beside it, so it is not shortened,
|
|
54
|
+
* softened or rewritten here.
|
|
55
|
+
*/
|
|
56
|
+
subject: string;
|
|
57
|
+
/**
|
|
58
|
+
* The kind of thing: a category that groups the subjects, such as the records a
|
|
59
|
+
* category of data lives in.
|
|
60
|
+
*
|
|
61
|
+
* Optional, and its absence is meaningful rather than a gap: a subject with no
|
|
62
|
+
* kind is a subject the publisher has chosen not to categorise, which is itself a
|
|
63
|
+
* statement and not a formatting gap.
|
|
64
|
+
*/
|
|
65
|
+
kind?: string;
|
|
66
|
+
/**
|
|
67
|
+
* How long it is kept, as a number of days and nothing else.
|
|
68
|
+
*
|
|
69
|
+
* A `number` rather than a sentence, and the argument is the whole of the Block's
|
|
70
|
+
* JSDoc: the sentence is `periodLabel`, and a Block that printed one of the three
|
|
71
|
+
* English forms would be asserting a retention period nobody agreed to.
|
|
72
|
+
*/
|
|
73
|
+
period?: number;
|
|
74
|
+
/**
|
|
75
|
+
* The words for the period, given the number of days.
|
|
76
|
+
*
|
|
77
|
+
* Required, and a function because the sentence is the caller's. "30 days", "one
|
|
78
|
+
* month" and "a month" are three sentences, and a compliance surface that printed
|
|
79
|
+
* one of them in English would be asserting a period the reader never agreed to,
|
|
80
|
+
* which is the one thing a retention schedule exists not to do.
|
|
81
|
+
*/
|
|
82
|
+
periodLabel: (period: number) => string;
|
|
83
|
+
/**
|
|
84
|
+
* Where the data is kept, in the publisher's own terms.
|
|
85
|
+
*
|
|
86
|
+
* Optional, and a compliance surface with no region is a claim about everywhere,
|
|
87
|
+
* which is a stronger claim than any publisher can usually support, so the Block
|
|
88
|
+
* does not write one for them.
|
|
89
|
+
*/
|
|
90
|
+
region?: string;
|
|
91
|
+
/** The policy the period comes from, named so a reader can go and read it. */
|
|
92
|
+
policy?: string;
|
|
93
|
+
/**
|
|
94
|
+
* When the schedule was last reviewed, already written as it should be read.
|
|
95
|
+
*
|
|
96
|
+
* A moment rather than a reading, and the reading is `reviewedAtLabel`. The Block
|
|
97
|
+
* prints the value exactly as passed when no formatter is given, which is the
|
|
98
|
+
* arrangement `compliance-01` and `member-list-01` both take.
|
|
99
|
+
*/
|
|
100
|
+
reviewedAt?: number | string;
|
|
101
|
+
/** The words for the review, given the moment. A function because the honest reading is a sentence. */
|
|
102
|
+
reviewedAtLabel?: (value: number | string) => string;
|
|
103
|
+
/** Where the policy is read in full, rendered as a native anchor. */
|
|
104
|
+
href?: string;
|
|
105
|
+
/**
|
|
106
|
+
* The words on that link. Required whenever `href` is set, and a thrown diagnostic
|
|
107
|
+
* rather than a silent absence: a link announced by its address is punctuation
|
|
108
|
+
* rather than a name.
|
|
109
|
+
*/
|
|
110
|
+
hrefLabel?: string;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* One figure about the schedule as a whole, and the words under it.
|
|
114
|
+
*
|
|
115
|
+
* A node for the value and a string for the label, which is `metric`'s own split
|
|
116
|
+
* and the reason it is composed here rather than being drawn: a figure in a
|
|
117
|
+
* compliance summary is a number the publisher has already formatted, in a unit
|
|
118
|
+
* only the publisher knows, and a Block that printed a bare numeral would be
|
|
119
|
+
* claiming the unit.
|
|
120
|
+
*/
|
|
121
|
+
export type RetentionSummary = {
|
|
122
|
+
/** What the figure measures, read under it. */
|
|
123
|
+
label: string;
|
|
124
|
+
/** The figure, already in the publisher's own units. */
|
|
125
|
+
value: ReactNode;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* The props a Retention01 takes.
|
|
129
|
+
*
|
|
130
|
+
* Every string is a prop and the Block ships none. There is no schedule, no
|
|
131
|
+
* subject, no period, no region, no policy, no review reading, no link name and not
|
|
132
|
+
* one of the three sentences a retention period can be written as. A retention
|
|
133
|
+
* schedule is a set of representations made to regulators, to customers and to
|
|
134
|
+
* auditors, and a design system that contributed a word to one of them would be
|
|
135
|
+
* publishing a representation it has no standing to make.
|
|
136
|
+
*/
|
|
137
|
+
export type Retention01Props = {
|
|
138
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
139
|
+
eyebrow?: ReactNode;
|
|
140
|
+
/**
|
|
141
|
+
* The section title, required.
|
|
142
|
+
*
|
|
143
|
+
* Required because this is the one surface in the system where an unlabelled
|
|
144
|
+
* table of retentions is a defect rather than a layout: a schedule with no
|
|
145
|
+
* statement of whose it is reads as a document nobody issued.
|
|
146
|
+
*/
|
|
147
|
+
title: ReactNode;
|
|
148
|
+
/** One or two sentences under the title. */
|
|
149
|
+
description?: ReactNode;
|
|
150
|
+
/** The column names, in the order a reader should meet them. */
|
|
151
|
+
columns: readonly RetentionColumn[];
|
|
152
|
+
/** The rows, in the order a reader should meet them. The Block does not sort. */
|
|
153
|
+
rows: readonly RetentionRow[];
|
|
154
|
+
/**
|
|
155
|
+
* The figures about the schedule as a whole.
|
|
156
|
+
*
|
|
157
|
+
* Drawn as the table's own summary row, so they travel with the table in the
|
|
158
|
+
* accessibility tree rather than sitting in a band below it that a reader
|
|
159
|
+
* navigating the table never meets.
|
|
160
|
+
*/
|
|
161
|
+
summary?: readonly RetentionSummary[];
|
|
162
|
+
/**
|
|
163
|
+
* What the surface shows when there are no rows.
|
|
164
|
+
*
|
|
165
|
+
* Required, and the reason is the one `compliance-01` states against itself: a
|
|
166
|
+
* retention schedule with a heading and no rows says the publisher retains
|
|
167
|
+
* nothing, and hiding the section would leave a reader wondering whether it was
|
|
168
|
+
* missed. The sentence is the caller's because only the caller knows whether the
|
|
169
|
+
* answer is "we keep nothing" or "this has not been written yet".
|
|
170
|
+
*/
|
|
171
|
+
empty: ReactNode;
|
|
172
|
+
/** Heading level for the section title. @defaultValue 'h2' */
|
|
173
|
+
headingLevel?: HeadingLevel;
|
|
174
|
+
/**
|
|
175
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
176
|
+
* property from here is prohibited.
|
|
177
|
+
*/
|
|
178
|
+
className?: string;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* A retention schedule: what is kept, for how long, in which region, under which
|
|
182
|
+
* policy, and when it was last reviewed, as a real table with a summary row.
|
|
183
|
+
*
|
|
184
|
+
* **Every word in every cell is the publisher's own representation, and on this
|
|
185
|
+
* surface that is not a formality.** A retention schedule is a document made to
|
|
186
|
+
* regulators, to customers and to auditors, and a design system that contributed a
|
|
187
|
+
* single word to one of them would be publishing a representation it has no
|
|
188
|
+
* standing to make. There is no schedule here, no subject, no region, no policy and
|
|
189
|
+
* not one of the three sentences a retention period can be written as. The cost is
|
|
190
|
+
* real and worth stating: a consumer wiring this Block up writes every label
|
|
191
|
+
* themselves, and a half-built schedule is a build error rather than a page that
|
|
192
|
+
* ships six confident numbers.
|
|
193
|
+
*
|
|
194
|
+
* **`period` is a number of days and the sentence is the caller's, and the reason
|
|
195
|
+
* is that a Block cannot know which sentence is right.** "30 days", "one month" and
|
|
196
|
+
* "a month" are three sentences for the same number, and they are not variants of
|
|
197
|
+
* one another. The first is a measurement and it is the one a regulator will check
|
|
198
|
+
* against a system configuration. The second is a rounding of that measurement to
|
|
199
|
+
* a calendar unit, and it is a different promise, because thirty days is not a
|
|
200
|
+
* month and a reader who is told "one month" and is then deleted from on the
|
|
201
|
+
* thirty-first day has been told something the schedule did not say. The third is
|
|
202
|
+
* the same promise as the second with the article left off, which matters because
|
|
203
|
+
* a period is a noun phrase in one column and a verb phrase in a table caption. So
|
|
204
|
+
* the Block holds the number and hands back the sentence, and a compliance surface
|
|
205
|
+
* that printed one of the three in English would be asserting a retention period
|
|
206
|
+
* the reader never agreed to, which is the one thing this table exists not to do.
|
|
207
|
+
* The same argument is why the function is on the row rather than on the Block: the
|
|
208
|
+
* sentence may be per product, per row, or per language, and none of those is a
|
|
209
|
+
* fact this package can hold.
|
|
210
|
+
*
|
|
211
|
+
* **It is a real table, for the same reason `compliance-01` is one.** A schedule
|
|
212
|
+
* is read down the subject column and across the period, region and policy columns,
|
|
213
|
+
* and the reader's question is almost always a comparison: is this kept longer than
|
|
214
|
+
* that, is it in the same place, is it under the same policy. A reader using a
|
|
215
|
+
* screen reader navigates a table by asking for a column and hearing its heading,
|
|
216
|
+
* and this is the table where a header the reader cannot ask for is a cell they
|
|
217
|
+
* cannot place. The cost of the table is the one every real table carries:
|
|
218
|
+
* `Table` wraps the whole thing in a horizontally scrollable container, because
|
|
219
|
+
* seven columns do not fit a phone, and a schedule that reflowed into a stack would
|
|
220
|
+
* no longer be comparable.
|
|
221
|
+
*
|
|
222
|
+
* **The subject is the row header, so the table announces it with every cell.** The
|
|
223
|
+
* subject cell is a `th` with `scope="row"`, which is what lets a screen reader say
|
|
224
|
+
* which subject each period, region and policy belongs to. The row header and the
|
|
225
|
+
* cells carry `whitespace-normal`, because `TableHead` and `TableCell` set
|
|
226
|
+
* `whitespace-nowrap` and that is right for a figure in a data grid and wrong for a
|
|
227
|
+
* phrase that is a representation. That is the one place in this Block where a
|
|
228
|
+
* `className` changes a Prism-owned property rather than placing something, and it
|
|
229
|
+
* is stated here rather than left to be discovered.
|
|
230
|
+
*
|
|
231
|
+
* **The summary is the table's own row, and its figures are `metric`s.** Drawing
|
|
232
|
+
* the figures with the same Component every other figure in this package uses is
|
|
233
|
+
* the small half of the decision. The large half is the placement: the summary is
|
|
234
|
+
* a `tfoot`, so it is inside the table and travels with it, rather than a band of
|
|
235
|
+
* figures below the table that a reader navigating the table never meets and a
|
|
236
|
+
* crawler reads as unrelated to the rows above it. Each figure takes a node for its
|
|
237
|
+
* value, because the number is the publisher's and is usually in a unit only the
|
|
238
|
+
* publisher knows, and a Block that printed a bare numeral next to the word
|
|
239
|
+
* "records" would be claiming the unit.
|
|
240
|
+
*
|
|
241
|
+
* **An empty schedule renders the table with no rows and the caller's sentence,
|
|
242
|
+
* which is the opposite of the rule every other Block in this package follows, and
|
|
243
|
+
* deliberately so.** A retention schedule with a heading and no rows says the
|
|
244
|
+
* publisher retains nothing, and hiding the section would leave a reader wondering
|
|
245
|
+
* whether it was missed. The cost is that a heading can survive on a page whose
|
|
246
|
+
* schedule has been withdrawn, so a consumer who would rather see nothing should
|
|
247
|
+
* not render the Block. That is the honest trade and it is the one `compliance-01`
|
|
248
|
+
* takes for the same reason.
|
|
249
|
+
*
|
|
250
|
+
* It is a server Component: no hook, no state, no client code and no router. The
|
|
251
|
+
* values are printed exactly as passed and the arithmetic is the caller's.
|
|
252
|
+
*/
|
|
253
|
+
export declare function Retention01({ eyebrow, title, description, columns, rows, summary, empty, headingLevel, className, }: Retention01Props): import("react").JSX.Element;
|
|
254
|
+
export default Retention01;
|
|
255
|
+
//# sourceMappingURL=retention.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retention.d.ts","sourceRoot":"","sources":["../../../src/blocks/retention-01/retention.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG7C,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAYxF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,MAAM,CAAA;AAEV;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,mCAAmC;IACnC,EAAE,EAAE,iBAAiB,CAAA;IACrB,oCAAoC;IACpC,MAAM,EAAE,SAAS,CAAA;IACjB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,+EAA+E;IAC/E,EAAE,EAAE,MAAM,CAAA;IACV;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;OAOG;IACH,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAA;IACvC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,uGAAuG;IACvG,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,wDAAwD;IACxD,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,gEAAgE;IAChE,OAAO,EAAE,SAAS,eAAe,EAAE,CAAA;IACnC,iFAAiF;IACjF,IAAI,EAAE,SAAS,YAAY,EAAE,CAAA;IAC7B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAA;IAErC;;;;;;;;OAQG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,OAAO,EACP,KAAK,EACL,YAAmB,EACnB,SAAS,GACV,EAAE,gBAAgB,+BAmMlB;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useId } from 'react';
|
|
3
|
+
import { Metric } from '../../components/ui/metric.js';
|
|
4
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
5
|
+
import { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from '../../components/ui/table.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The two refusals, so that a compliance surface never renders a cell it cannot
|
|
9
|
+
* justify.
|
|
10
|
+
*
|
|
11
|
+
* A column naming a cell this Block does not draw, and a link with no name. Both
|
|
12
|
+
* are a caller's mistake rather than a request, so both throw in a console rather
|
|
13
|
+
* than rendering the quiet version of themselves.
|
|
14
|
+
*/
|
|
15
|
+
function assertProps(props) {
|
|
16
|
+
const known = [
|
|
17
|
+
'subject',
|
|
18
|
+
'kind',
|
|
19
|
+
'period',
|
|
20
|
+
'region',
|
|
21
|
+
'policy',
|
|
22
|
+
'last-reviewed',
|
|
23
|
+
'href',
|
|
24
|
+
];
|
|
25
|
+
for (const column of props.columns) {
|
|
26
|
+
if (!known.includes(column.id)) {
|
|
27
|
+
throw new Error(`Retention01: a column names the cell ${JSON.stringify(column.id)}, which is not one of the seven ` +
|
|
28
|
+
'cells this schedule can draw. A column with nothing to put in it is a column a reader counts past, ' +
|
|
29
|
+
'so add the cell rather than the heading.');
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
for (const row of props.rows) {
|
|
33
|
+
if (row.href !== undefined && (row.hrefLabel === undefined || row.hrefLabel.trim() === '')) {
|
|
34
|
+
throw new Error(`Retention01: the row ${JSON.stringify(row.subject)} carries an href with no hrefLabel, so the link ` +
|
|
35
|
+
'would be announced by its address, which is punctuation rather than a name. Pass the words that say ' +
|
|
36
|
+
'which document it is.');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A retention schedule: what is kept, for how long, in which region, under which
|
|
42
|
+
* policy, and when it was last reviewed, as a real table with a summary row.
|
|
43
|
+
*
|
|
44
|
+
* **Every word in every cell is the publisher's own representation, and on this
|
|
45
|
+
* surface that is not a formality.** A retention schedule is a document made to
|
|
46
|
+
* regulators, to customers and to auditors, and a design system that contributed a
|
|
47
|
+
* single word to one of them would be publishing a representation it has no
|
|
48
|
+
* standing to make. There is no schedule here, no subject, no region, no policy and
|
|
49
|
+
* not one of the three sentences a retention period can be written as. The cost is
|
|
50
|
+
* real and worth stating: a consumer wiring this Block up writes every label
|
|
51
|
+
* themselves, and a half-built schedule is a build error rather than a page that
|
|
52
|
+
* ships six confident numbers.
|
|
53
|
+
*
|
|
54
|
+
* **`period` is a number of days and the sentence is the caller's, and the reason
|
|
55
|
+
* is that a Block cannot know which sentence is right.** "30 days", "one month" and
|
|
56
|
+
* "a month" are three sentences for the same number, and they are not variants of
|
|
57
|
+
* one another. The first is a measurement and it is the one a regulator will check
|
|
58
|
+
* against a system configuration. The second is a rounding of that measurement to
|
|
59
|
+
* a calendar unit, and it is a different promise, because thirty days is not a
|
|
60
|
+
* month and a reader who is told "one month" and is then deleted from on the
|
|
61
|
+
* thirty-first day has been told something the schedule did not say. The third is
|
|
62
|
+
* the same promise as the second with the article left off, which matters because
|
|
63
|
+
* a period is a noun phrase in one column and a verb phrase in a table caption. So
|
|
64
|
+
* the Block holds the number and hands back the sentence, and a compliance surface
|
|
65
|
+
* that printed one of the three in English would be asserting a retention period
|
|
66
|
+
* the reader never agreed to, which is the one thing this table exists not to do.
|
|
67
|
+
* The same argument is why the function is on the row rather than on the Block: the
|
|
68
|
+
* sentence may be per product, per row, or per language, and none of those is a
|
|
69
|
+
* fact this package can hold.
|
|
70
|
+
*
|
|
71
|
+
* **It is a real table, for the same reason `compliance-01` is one.** A schedule
|
|
72
|
+
* is read down the subject column and across the period, region and policy columns,
|
|
73
|
+
* and the reader's question is almost always a comparison: is this kept longer than
|
|
74
|
+
* that, is it in the same place, is it under the same policy. A reader using a
|
|
75
|
+
* screen reader navigates a table by asking for a column and hearing its heading,
|
|
76
|
+
* and this is the table where a header the reader cannot ask for is a cell they
|
|
77
|
+
* cannot place. The cost of the table is the one every real table carries:
|
|
78
|
+
* `Table` wraps the whole thing in a horizontally scrollable container, because
|
|
79
|
+
* seven columns do not fit a phone, and a schedule that reflowed into a stack would
|
|
80
|
+
* no longer be comparable.
|
|
81
|
+
*
|
|
82
|
+
* **The subject is the row header, so the table announces it with every cell.** The
|
|
83
|
+
* subject cell is a `th` with `scope="row"`, which is what lets a screen reader say
|
|
84
|
+
* which subject each period, region and policy belongs to. The row header and the
|
|
85
|
+
* cells carry `whitespace-normal`, because `TableHead` and `TableCell` set
|
|
86
|
+
* `whitespace-nowrap` and that is right for a figure in a data grid and wrong for a
|
|
87
|
+
* phrase that is a representation. That is the one place in this Block where a
|
|
88
|
+
* `className` changes a Prism-owned property rather than placing something, and it
|
|
89
|
+
* is stated here rather than left to be discovered.
|
|
90
|
+
*
|
|
91
|
+
* **The summary is the table's own row, and its figures are `metric`s.** Drawing
|
|
92
|
+
* the figures with the same Component every other figure in this package uses is
|
|
93
|
+
* the small half of the decision. The large half is the placement: the summary is
|
|
94
|
+
* a `tfoot`, so it is inside the table and travels with it, rather than a band of
|
|
95
|
+
* figures below the table that a reader navigating the table never meets and a
|
|
96
|
+
* crawler reads as unrelated to the rows above it. Each figure takes a node for its
|
|
97
|
+
* value, because the number is the publisher's and is usually in a unit only the
|
|
98
|
+
* publisher knows, and a Block that printed a bare numeral next to the word
|
|
99
|
+
* "records" would be claiming the unit.
|
|
100
|
+
*
|
|
101
|
+
* **An empty schedule renders the table with no rows and the caller's sentence,
|
|
102
|
+
* which is the opposite of the rule every other Block in this package follows, and
|
|
103
|
+
* deliberately so.** A retention schedule with a heading and no rows says the
|
|
104
|
+
* publisher retains nothing, and hiding the section would leave a reader wondering
|
|
105
|
+
* whether it was missed. The cost is that a heading can survive on a page whose
|
|
106
|
+
* schedule has been withdrawn, so a consumer who would rather see nothing should
|
|
107
|
+
* not render the Block. That is the honest trade and it is the one `compliance-01`
|
|
108
|
+
* takes for the same reason.
|
|
109
|
+
*
|
|
110
|
+
* It is a server Component: no hook, no state, no client code and no router. The
|
|
111
|
+
* values are printed exactly as passed and the arithmetic is the caller's.
|
|
112
|
+
*/
|
|
113
|
+
export function Retention01({ eyebrow, title, description, columns, rows, summary, empty, headingLevel = 'h2', className, }) {
|
|
114
|
+
// The handle a table below takes its name from; see the note on the table.
|
|
115
|
+
const headingId = useId();
|
|
116
|
+
assertProps({ columns, rows });
|
|
117
|
+
return (_jsxs(Section, { className: className, "data-slot": "retention", children: [_jsx(SectionHeading, { as: headingLevel, id: headingId, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-10" }), _jsx("div", { "data-slot": "retention-table", className: "flex flex-col gap-4", children: _jsx("div", { className: "border-border overflow-hidden rounded-xl border", children: _jsxs(Table, { "aria-labelledby": headingId, children: [_jsx(TableHeader, { children: _jsx(TableRow, { children: columns.map((column) => (_jsx(TableHead, { scope: "col", "data-column": column.id, className: cn('whitespace-normal', column.className), children: column.header }, column.id))) }) }), _jsx(TableBody, { children: rows.length === 0 ? (_jsx(TableRow, { "data-slot": "retention-empty", children: _jsx(TableCell, { colSpan: Math.max(columns.length, 1), className: "text-muted-foreground whitespace-normal", children: empty }) })) : (rows.map((row) => (_jsx(TableRow, { "data-slot": "retention-row", "data-retention": row.id, children: columns.map((column) => {
|
|
118
|
+
if (column.id === 'subject') {
|
|
119
|
+
return (_jsx(TableHead, { scope: "row", "data-column": column.id, className: cn('text-foreground h-auto whitespace-normal font-medium', column.className), children: row.subject }, column.id));
|
|
120
|
+
}
|
|
121
|
+
if (column.id === 'kind') {
|
|
122
|
+
return (_jsx(TableCell, { "data-column": column.id, className: cn('whitespace-normal', column.className), children: row.kind ?? null }, column.id));
|
|
123
|
+
}
|
|
124
|
+
if (column.id === 'period') {
|
|
125
|
+
return (_jsx(TableCell, { "data-column": column.id, className: cn('whitespace-normal', column.className), children: row.period === undefined
|
|
126
|
+
? null
|
|
127
|
+
: row.periodLabel(row.period) }, column.id));
|
|
128
|
+
}
|
|
129
|
+
if (column.id === 'region') {
|
|
130
|
+
return (_jsx(TableCell, { "data-column": column.id, className: cn('whitespace-normal', column.className), children: row.region ?? null }, column.id));
|
|
131
|
+
}
|
|
132
|
+
if (column.id === 'policy') {
|
|
133
|
+
return (_jsx(TableCell, { "data-column": column.id, className: cn('whitespace-normal', column.className), children: row.policy ?? null }, column.id));
|
|
134
|
+
}
|
|
135
|
+
if (column.id === 'last-reviewed') {
|
|
136
|
+
return (_jsx(TableCell, { "data-column": column.id, className: cn('whitespace-normal tabular-nums', column.className), children: row.reviewedAt === undefined
|
|
137
|
+
? null
|
|
138
|
+
: row.reviewedAtLabel === undefined
|
|
139
|
+
? row.reviewedAt
|
|
140
|
+
: row.reviewedAtLabel(row.reviewedAt) }, column.id));
|
|
141
|
+
}
|
|
142
|
+
return (_jsx(TableCell, { "data-column": column.id, className: cn('whitespace-normal', column.className), children: row.href === undefined ? null : (_jsx("a", { "data-slot": "retention-href", href: row.href, className: "text-foreground focus-visible:ring-ring rounded-sm underline underline-offset-4 transition-colors duration-fast ease-out focus-visible:ring-[3px] focus-visible:outline-none", children: row.hrefLabel })) }, column.id));
|
|
143
|
+
}) }, row.id)))) }), summary === undefined || summary.length === 0 ? null : (_jsx(TableFooter, { children: _jsx(TableRow, { "data-slot": "retention-summary", children: _jsx(TableCell, { colSpan: Math.max(columns.length, 1), className: "whitespace-normal", children: _jsx("span", { className: "flex flex-wrap items-start gap-x-10 gap-y-4", children: summary.map((figure) => (_jsx(Metric, { "data-slot": "retention-summary-figure", value: figure.value, label: figure.label, className: "min-w-32" }, figure.label))) }) }) }) }))] }) }) })] }));
|
|
144
|
+
}
|
|
145
|
+
export default Retention01;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
1
2
|
import { type TimelineEntry } from '../../components/ui/timeline.js';
|
|
2
3
|
/**
|
|
3
4
|
* The words the Block does not have.
|
|
@@ -69,6 +70,18 @@ export interface RunConsole01Props {
|
|
|
69
70
|
* caller knows whether the transport has finished.
|
|
70
71
|
*/
|
|
71
72
|
streaming?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Heading level for the run's heading. @defaultValue 'h2'
|
|
75
|
+
*
|
|
76
|
+
* A prop for the reason every Block's is: the surrounding document decides where
|
|
77
|
+
* this lands in the outline, not the Block. The heading was a hard-coded `<h2>`,
|
|
78
|
+
* which is right at the top of a page and wrong anywhere else, because a run
|
|
79
|
+
* console is a panel a product opens beside something. Three Blocks in this
|
|
80
|
+
* package held that level and `SiteFooter` and `DataTable01` already take this
|
|
81
|
+
* prop, so this is the fourth name being spelled the same way rather than a new
|
|
82
|
+
* convention.
|
|
83
|
+
*/
|
|
84
|
+
headingLevel?: HeadingLevel;
|
|
72
85
|
/** Layout only. */
|
|
73
86
|
className?: string;
|
|
74
87
|
}
|
|
@@ -106,6 +119,6 @@ export interface RunConsole01Props {
|
|
|
106
119
|
* a blank frame in that moment reads as a broken surface rather than as a run that
|
|
107
120
|
* has not started.
|
|
108
121
|
*/
|
|
109
|
-
export declare function RunConsole01({ title, copy, steps, budget, detail, streaming, className, }: RunConsole01Props): import("react").JSX.Element;
|
|
122
|
+
export declare function RunConsole01({ title, copy, steps, budget, detail, streaming, headingLevel, className, }: RunConsole01Props): import("react").JSX.Element;
|
|
110
123
|
export default RunConsole01;
|
|
111
124
|
//# sourceMappingURL=run-console.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-console.d.ts","sourceRoot":"","sources":["../../../src/blocks/run-console-01/run-console.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAG3E;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,0EAA0E;IAC1E,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;IACnD,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAA;IAClB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,yCAAyC;AACzC,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,IAAI,EAAE,gBAAgB,CAAA;IACtB,oDAAoD;IACpD,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IAC/B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP,2BAA2B;QAC3B,KAAK,EAAE,MAAM,CAAA;QACb,mBAAmB;QACnB,GAAG,EAAE,MAAM,CAAA;QACX,2EAA2E;QAC3E,UAAU,CAAC,EAAE,SAAS;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAA;SAAE,EAAE,CAAA;KAChG,CAAA;IACD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mBAAmB;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAiB,EACjB,SAAS,GACV,EAAE,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"run-console.d.ts","sourceRoot":"","sources":["../../../src/blocks/run-console-01/run-console.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAG3E;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,0EAA0E;IAC1E,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;IACnD,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAA;IAClB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,yCAAyC;AACzC,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,IAAI,EAAE,gBAAgB,CAAA;IACtB,oDAAoD;IACpD,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IAC/B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP,2BAA2B;QAC3B,KAAK,EAAE,MAAM,CAAA;QACb,mBAAmB;QACnB,GAAG,EAAE,MAAM,CAAA;QACX,2EAA2E;QAC3E,UAAU,CAAC,EAAE,SAAS;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAA;SAAE,EAAE,CAAA;KAChG,CAAA;IACD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,mBAAmB;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAiB,EACjB,YAAmB,EACnB,SAAS,GACV,EAAE,iBAAiB,+BAkGnB;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { LiveRegion } from '../../components/ui/live-region.js';
|
|
3
3
|
import { Meter } from '../../components/ui/meter.js';
|
|
4
|
+
import { headingSizeClass } from '../../components/ui/section.js';
|
|
4
5
|
import { Timeline } from '../../components/ui/timeline.js';
|
|
5
6
|
import { cn } from '../../lib/utils.js';
|
|
6
7
|
/**
|
|
@@ -37,12 +38,13 @@ import { cn } from '../../lib/utils.js';
|
|
|
37
38
|
* a blank frame in that moment reads as a broken surface rather than as a run that
|
|
38
39
|
* has not started.
|
|
39
40
|
*/
|
|
40
|
-
export function RunConsole01({ title, copy, steps, budget, detail, streaming = false, className, }) {
|
|
41
|
+
export function RunConsole01({ title, copy, steps, budget, detail, streaming = false, headingLevel = 'h2', className, }) {
|
|
41
42
|
const waiting = steps.length === 0;
|
|
43
|
+
const Heading = headingLevel;
|
|
42
44
|
// Built once and placed in one of two places, so the streaming and the finished
|
|
43
45
|
// rendering cannot drift apart. Two copies of this markup would be two answers
|
|
44
46
|
// to what a run looks like, and the second one is the one that goes stale.
|
|
45
47
|
const body = waiting ? (_jsx("p", { "data-slot": "run-console-01-waiting", className: "text-muted-foreground text-sm", children: copy.waiting })) : (_jsx(Timeline, { entries: steps, label: copy.stepsLabel, empty: copy.waiting }));
|
|
46
|
-
return (_jsxs("div", { "data-slot": "run-console-01", className: cn('border-border bg-card flex flex-col gap-6 rounded-lg border p-5', className), children: [_jsxs("header", { "data-slot": "run-console-01-header", className: "flex flex-col gap-1", children: [_jsx(
|
|
48
|
+
return (_jsxs("div", { "data-slot": "run-console-01", className: cn('border-border bg-card flex flex-col gap-6 rounded-lg border p-5', className), children: [_jsxs("header", { "data-slot": "run-console-01-header", className: "flex flex-col gap-1", children: [_jsx(Heading, { className: cn('text-foreground font-semibold tracking-tight text-balance', headingSizeClass(headingLevel)), children: title }), detail === undefined ? null : (_jsx("p", { className: "text-muted-foreground text-sm", children: detail }))] }), budget === undefined ? null : (_jsx("div", { "data-slot": "run-console-01-budget", children: _jsx(Meter, { value: budget.value, max: budget.max, label: copy.budgetLabel, valueText: copy.budgetValue(budget.value, budget.max), thresholds: budget.thresholds, children: _jsx("span", { children: copy.budgetValue(budget.value, budget.max) }) }) })), streaming ? (_jsx(LiveRegion, { busy: true, label: copy.stepsLabel, className: "min-w-0", children: body })) : (body)] }));
|
|
47
49
|
}
|
|
48
50
|
export default RunConsole01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/services-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAMhD,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Services01, default } from './services.js';
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { LucideIcon } from 'lucide-react';
|
|
3
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
4
|
+
/**
|
|
5
|
+
* The link arm and the no-link arm of one engagement, as a union.
|
|
6
|
+
*
|
|
7
|
+
* The same agreement `CaseStudies01`, `Careers01` and `Industries01` make, for the
|
|
8
|
+
* same reason: the words that say what following a link does are a claim about
|
|
9
|
+
* the destination, so they belong to whoever wrote it.
|
|
10
|
+
*/
|
|
11
|
+
export type ServiceLink = {
|
|
12
|
+
/** Where the engagement's own page is. Present makes the card carry a link. */
|
|
13
|
+
href: string;
|
|
14
|
+
/** The words on the link, and what following it does. */
|
|
15
|
+
hrefLabel: string;
|
|
16
|
+
/** Opens the destination in a new browsing context, with the matching `rel`. */
|
|
17
|
+
newTab?: boolean;
|
|
18
|
+
} | {
|
|
19
|
+
href?: never;
|
|
20
|
+
hrefLabel?: never;
|
|
21
|
+
newTab?: never;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* One engagement or capability: what it is called, what it does, what the reader
|
|
25
|
+
* gets, and what it is for.
|
|
26
|
+
*
|
|
27
|
+
* `deliverables` is a `string[]` and not a node, and the reason is that a
|
|
28
|
+
* deliverables list is a set of short noun phrases the reader is checking off
|
|
29
|
+
* against their own situation. A node would let a caller put a paragraph in one
|
|
30
|
+
* entry, and one paragraph in a five-item list is a list the reader stops
|
|
31
|
+
* scanning. The order is the caller's because it is a claim about what arrives
|
|
32
|
+
* first, and an empty array renders nothing at all rather than an empty heading
|
|
33
|
+
* and an empty list.
|
|
34
|
+
*
|
|
35
|
+
* `outcome` is separate from `body` for the same reason the deliverables are
|
|
36
|
+
* separate: a body says what the work is and an outcome says what came of it, and
|
|
37
|
+
* a reader comparing two engagements needs the second without reading past the
|
|
38
|
+
* first. `icon` is optional and additive, and a card that reserves room for a mark
|
|
39
|
+
* that is not there is a hole.
|
|
40
|
+
*/
|
|
41
|
+
export type Service = {
|
|
42
|
+
/** A stable key for the engagement. */
|
|
43
|
+
id: string;
|
|
44
|
+
/** What the engagement is called. */
|
|
45
|
+
title: string;
|
|
46
|
+
/** What the work is, in a few sentences. */
|
|
47
|
+
body: ReactNode;
|
|
48
|
+
/** What the reader gets, as short noun phrases. Omit it, or pass an empty array. */
|
|
49
|
+
deliverables?: string[];
|
|
50
|
+
/** What it is for, stated as an effect rather than as a feature. */
|
|
51
|
+
outcome?: ReactNode;
|
|
52
|
+
/** The engagement's mark, from the icon set this system uses. */
|
|
53
|
+
icon?: LucideIcon;
|
|
54
|
+
} & ServiceLink;
|
|
55
|
+
/**
|
|
56
|
+
* The props a Services01 takes.
|
|
57
|
+
*
|
|
58
|
+
* Every string, every deliverable and every outcome is a prop and the Block ships
|
|
59
|
+
* none: no engagement, no ordinal, no deliverable and no default set of services.
|
|
60
|
+
* A list that hardcoded its engagements would hand every consumer a menu of
|
|
61
|
+
* somebody else's work.
|
|
62
|
+
*/
|
|
63
|
+
export type Services01Props = {
|
|
64
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
65
|
+
eyebrow?: string;
|
|
66
|
+
/** The section title. Omit it for a set composed under its own heading. */
|
|
67
|
+
title?: string;
|
|
68
|
+
/** One or two sentences under the title. */
|
|
69
|
+
description?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The engagements, in the order a reader should meet them. Order is the
|
|
72
|
+
* caller's, and it is load-bearing twice over: it is the order the work is
|
|
73
|
+
* offered in, and in the `numbered` variant it is the order the ordinals are
|
|
74
|
+
* derived from.
|
|
75
|
+
*/
|
|
76
|
+
services: Service[];
|
|
77
|
+
/**
|
|
78
|
+
* Whether each engagement is numbered or not.
|
|
79
|
+
*
|
|
80
|
+
* `numbered` is opt-in for the reason `FeatureGrid01` states for the same prop
|
|
81
|
+
* and for the same claim, read here from the other side: a number on a card is
|
|
82
|
+
* a claim that the set is a sequence. Engagements and capabilities are usually
|
|
83
|
+
* a set, and a set with numbers on it is read as a set with an order, which
|
|
84
|
+
* makes a reader who disagrees with the order argue with the numbering rather
|
|
85
|
+
* than with the content. So the numbers are the caller's decision.
|
|
86
|
+
*/
|
|
87
|
+
variant?: 'numbered' | 'plain';
|
|
88
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
89
|
+
headingLevel?: HeadingLevel;
|
|
90
|
+
/**
|
|
91
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
92
|
+
* property from here is prohibited.
|
|
93
|
+
*/
|
|
94
|
+
className?: string;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* What the product does, as a set of engagements: a title, a body, a list of what
|
|
98
|
+
* the reader gets, and an outcome, optionally numbered.
|
|
99
|
+
*
|
|
100
|
+
* **The NaniSoft framing is in this JSDoc and in the Demo, and nowhere in the
|
|
101
|
+
* Block.** What these engagements are is the work of a system that runs: read the
|
|
102
|
+
* estate, capture the market as it moves, decide what changed, and hand the
|
|
103
|
+
* finding to an agent that can act on it. That is a sequence, which is why the
|
|
104
|
+
* `numbered` variant exists and why the Demo uses it, and it is four `title`s,
|
|
105
|
+
* four `body`s and four deliverables lists at the call site. A Block that shipped
|
|
106
|
+
* them would put one company's way of working into every consumer's services page,
|
|
107
|
+
* and a services page is the page a reader is most likely to believe.
|
|
108
|
+
*
|
|
109
|
+
* **The ordinal is derived from the position, never taken from the item, and that
|
|
110
|
+
* is the whole of why it is safe to show at all.** A list that carried its own
|
|
111
|
+
* numbers is a list whose numbers can disagree with its order after a sort, a
|
|
112
|
+
* filter, a CMS re-publish or an insertion, and nothing in the rendering would
|
|
113
|
+
* catch it: the cards would read `03, 01, 02`. Rendering from the index means the
|
|
114
|
+
* numbers and the order cannot come apart, because they are the same value. The
|
|
115
|
+
* cost of deriving it is that a caller who wants the sequence to start at zero, or
|
|
116
|
+
* to skip a retired engagement, cannot, and the honest way to express that is to
|
|
117
|
+
* filter the list before it reaches the Block, which is a decision a consumer can
|
|
118
|
+
* see in its own data rather than one buried in a `number` field.
|
|
119
|
+
*
|
|
120
|
+
* **It is opt-in because a number on a card claims the set is a sequence, and a
|
|
121
|
+
* set of capabilities usually is not.** An engagement a reader buys is a sequence
|
|
122
|
+
* they can follow, and a page listing four capabilities is a set they are
|
|
123
|
+
* comparing. Numbering the second makes a reader look for the one they are missing
|
|
124
|
+
* and for a reason the numbering does not carry. So `plain` is the default, the
|
|
125
|
+
* numbers are the caller's decision, and the mono face is the same annotation the
|
|
126
|
+
* rest of this system uses for a machine value, which is what a position in a
|
|
127
|
+
* list is.
|
|
128
|
+
*
|
|
129
|
+
* **`deliverables` renders as a real list, and an empty array renders nothing.**
|
|
130
|
+
* A `<ul>` rather than a stack of paragraphs, because a reader checks the set off
|
|
131
|
+
* against their own situation and a list is what can be checked off; the marker is
|
|
132
|
+
* suppressed so the list reads as a set of terms under a heading rather than as
|
|
133
|
+
* bullets competing with the body above it. The empty case is worth stating
|
|
134
|
+
* because the alternative is a heading with nothing under it: an array of zero is a
|
|
135
|
+
* caller who has nothing to promise, and the honest rendering of that is absence
|
|
136
|
+
* rather than a titled gap.
|
|
137
|
+
*
|
|
138
|
+
* **The body, the deliverables and the outcome are three elements and not one,
|
|
139
|
+
* because a reader comparing two engagements reads them in that order and at
|
|
140
|
+
* different speeds.** The body says what the work is, the deliverables say what
|
|
141
|
+
* arrives, and the outcome says what it is for. Merging them gives a card whose
|
|
142
|
+
* last paragraph has to carry the effect as well as the description, and a reader
|
|
143
|
+
* scanning for the effect has to read the description to find it. The cost of
|
|
144
|
+
* three is that a caller with one paragraph to say has to choose which element it
|
|
145
|
+
* is, and choosing is the right pressure.
|
|
146
|
+
*
|
|
147
|
+
* A grid of engagements is three across, so a card holds a title, a body of two or
|
|
148
|
+
* three lines, a list and one line of outcome. A card that needs a fifth element
|
|
149
|
+
* is a page, and `PageHeader01` and this Block composed together is the honest
|
|
150
|
+
* arrangement for it.
|
|
151
|
+
*
|
|
152
|
+
* A service's title is a heading one step below the section, derived rather than
|
|
153
|
+
* written, so a Block embedded one level deeper carries its card titles with it.
|
|
154
|
+
*
|
|
155
|
+
* It is a server Component: no hook, no state and no client code.
|
|
156
|
+
*/
|
|
157
|
+
export declare function Services01({ eyebrow, title, description, services, variant, headingLevel, className, }: Services01Props): import("react").JSX.Element;
|
|
158
|
+
export default Services01;
|
|
159
|
+
//# sourceMappingURL=services.d.ts.map
|