@nanisoft/prism-ui 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +3 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.js +4 -4
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1003 -55
- package/package.json +9 -3
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { ArrowUpDown, X } from 'lucide-react';
|
|
4
|
+
import { Button } from '../../components/ui/button.js';
|
|
5
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
6
|
+
import { Price } from '../../components/ui/price.js';
|
|
7
|
+
import { Section, SectionHeading, childLevel, } from '../../components/ui/section.js';
|
|
8
|
+
import { cn } from '../../lib/utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The refusals, checked before anything is drawn so a caller's mistake is one
|
|
11
|
+
* diagnostic in a console rather than a column of buttons a screen reader cannot
|
|
12
|
+
* tell apart.
|
|
13
|
+
*
|
|
14
|
+
* Five, and each is a control that cannot be used. A move control with no name,
|
|
15
|
+
* and a remove control with no name, because a button announced as "button" is
|
|
16
|
+
* the one control a screen reader user cannot act on and it is invisible to
|
|
17
|
+
* everybody else. A move handler with no label, which is the same defect arriving
|
|
18
|
+
* from the other direction. A link with no words, or a name with no link beside
|
|
19
|
+
* it. And a caller who has passed a handler and not the sentence, or the sentence
|
|
20
|
+
* and not the handler, which is a caller who believes they have named controls on
|
|
21
|
+
* a surface that has none.
|
|
22
|
+
*/
|
|
23
|
+
function assertShortlist(props) {
|
|
24
|
+
const { items, onMove, moveLabel, onRemove, removeLabel } = props;
|
|
25
|
+
if (onMove !== undefined && moveLabel === undefined) {
|
|
26
|
+
throw new Error('Shortlist01: onMove was passed with no moveLabel, so every move control would be announced by the same ' +
|
|
27
|
+
'word and a reader would be told which thing to move by nothing. Pass the function that names the item.');
|
|
28
|
+
}
|
|
29
|
+
if (moveLabel !== undefined && onMove === undefined) {
|
|
30
|
+
throw new Error('Shortlist01: moveLabel was passed with no onMove, so the sentences would be composed and then discarded, ' +
|
|
31
|
+
'which is a caller who believes they have named the controls on a surface that has none.');
|
|
32
|
+
}
|
|
33
|
+
if (onRemove !== undefined && removeLabel === undefined) {
|
|
34
|
+
throw new Error('Shortlist01: onRemove was passed with no removeLabel, so every remove control would be announced by the ' +
|
|
35
|
+
'same word and a reader would be guessing which item they were on. Pass the function that names the ' +
|
|
36
|
+
'item.');
|
|
37
|
+
}
|
|
38
|
+
if (removeLabel !== undefined && onRemove === undefined) {
|
|
39
|
+
throw new Error('Shortlist01: removeLabel was passed with no onRemove, so the sentences would be composed and then ' +
|
|
40
|
+
'discarded, which is a caller who believes they have named the controls on a surface that has none.');
|
|
41
|
+
}
|
|
42
|
+
for (const item of items) {
|
|
43
|
+
if ((item.href === undefined) !== (item.hrefLabel === undefined)) {
|
|
44
|
+
throw new Error(`Shortlist01: the item ${JSON.stringify(item.name)} declares one of href and hrefLabel without the ` +
|
|
45
|
+
'other, so the row would carry a link with no words of its own, or a name with no link beside it. Pass ' +
|
|
46
|
+
'both, or neither.');
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A set of capabilities a reader is considering, each of which they can move or
|
|
52
|
+
* take off the list, in cards or in rows.
|
|
53
|
+
*
|
|
54
|
+
* **The storefront version of this pattern is a wishlist, and the pattern is the
|
|
55
|
+
* same one.** A shop shows a reader the things they saved to buy later, each with
|
|
56
|
+
* a mark, a name, a price, and a control to take it off the list. What changes
|
|
57
|
+
* here is what is on the list. Prism's products observe a pipeline, capture a
|
|
58
|
+
* market, watch an estate and run agents, so what a reader is weighing up is a
|
|
59
|
+
* capability: an ingest, a retention policy, a connector, an agent. Nothing here
|
|
60
|
+
* is for sale, nothing here has a basket, and the "price" is a rating the product
|
|
61
|
+
* publishes, not a figure anybody will be charged. A reader who has used both will
|
|
62
|
+
* recognise the shape, and the difference that matters is that a wishlist is a
|
|
63
|
+
* list of things and a shortlist is a list of decisions.
|
|
64
|
+
*
|
|
65
|
+
* **The controls are part of the item rather than a row action, and that is the
|
|
66
|
+
* one decision this Block has that a list does not.** A list is a list of things
|
|
67
|
+
* somebody published, and the only thing a reader can do with one is read it. A
|
|
68
|
+
* shortlist is a set the reader chose and can change, which means the ability to
|
|
69
|
+
* change it is not an affordance sitting beside the item, it is part of what the
|
|
70
|
+
* item is: a row with no control is not a shortlist item that happens to lack a
|
|
71
|
+
* control, it is a list the reader is looking at and cannot act on, and a reader
|
|
72
|
+
* who cannot act on a list stops treating it as theirs. So the two controls are
|
|
73
|
+
* drawn inside the item, in both arrangements, and the Block never draws a kebab
|
|
74
|
+
* menu for them either, for the reason `Item` states: a row whose only route to an
|
|
75
|
+
* action is a menu in the corner hides its own content from a reader who is not
|
|
76
|
+
* looking for a menu, and on a shortlist that reader is the reader who is
|
|
77
|
+
* comparing. The cost is stated rather than hidden: a caller who wants a single
|
|
78
|
+
* control for the whole set uses the `actions` slot and leaves both of these off,
|
|
79
|
+
* and a shortlist drawn with neither is a reader's list that the product cannot
|
|
80
|
+
* act on, which is a legitimate page and not the page this Block is for.
|
|
81
|
+
*
|
|
82
|
+
* **Both control names are functions, and the reason is the one `tag-group` gives
|
|
83
|
+
* about its own remove control.** A remove control that announced only "Remove"
|
|
84
|
+
* gives a screen reader reader two identical buttons and leaves the reader guessing
|
|
85
|
+
* which item they are on. On a tag group that is an annoyance, because the tags
|
|
86
|
+
* are read left to right and a reader can usually tell. On a shortlist it is
|
|
87
|
+
* worse, because a reader works through a shortlist one item at a time, every item
|
|
88
|
+
* carries its own remove, and the item is the only thing that distinguishes one
|
|
89
|
+
* control from the next. So the name has to contain the item's name, the item's
|
|
90
|
+
* name is typed as a `string` rather than a node precisely so that Prism can hand
|
|
91
|
+
* it to a function rather than trying to interpolate a node into a sentence, and
|
|
92
|
+
* the sentence itself is the caller's because it is a sentence in their language.
|
|
93
|
+
* The move control is a function for the same reason and one more: a column of
|
|
94
|
+
* eight controls all announced as "Move" is a column nobody can act on, and the
|
|
95
|
+
* honest sentence usually says what moving means in this product, which is a fact
|
|
96
|
+
* this Block cannot see.
|
|
97
|
+
*
|
|
98
|
+
* **The Block reports which item and never decides what moving it means.** A
|
|
99
|
+
* shortlist is a set a reader is still arguing with, and the ways a reader argues
|
|
100
|
+
* with a set are more than one: promote it, send it to a colleague, open it in a
|
|
101
|
+
* comparison, take it to a quote. A Block that drew an up and a down would be
|
|
102
|
+
* drawing one product's idea of reordering, so `onMove` takes an id and nothing
|
|
103
|
+
* else, and what happens next is the caller's. That is the arrangement
|
|
104
|
+
* `SettingsMembers01` uses for a role change and `SettingsSecurity01` uses for a
|
|
105
|
+
* toggle: the control reports a request, the data decides whether it happened,
|
|
106
|
+
* and a request that failed leaves the item exactly where the reader left it,
|
|
107
|
+
* which is a control that told the truth.
|
|
108
|
+
*
|
|
109
|
+
* **The order is the caller's and the Block never sorts.** The array a caller
|
|
110
|
+
* passes is the order the reader chose, and sorting it would be a Block making a
|
|
111
|
+
* claim about which of a reader's own considerations matters most. That is the
|
|
112
|
+
* same refusal every list in this package makes, and it is stronger here because
|
|
113
|
+
* the order is not the store's or the catalogue's, it is one person's thinking at
|
|
114
|
+
* one moment, and a component that reorders it is editing that.
|
|
115
|
+
*
|
|
116
|
+
* **The name is a heading one step below the section, in both arrangements.** A
|
|
117
|
+
* reader who has built a shortlist and then navigates by heading wants to land on
|
|
118
|
+
* one of the things they were considering, not on a list item in a column, and a
|
|
119
|
+
* name in a `span` is a name they cannot come back to. The two arrangements draw
|
|
120
|
+
* the same tree rather than two, so a consumer who switches `variant` at render
|
|
121
|
+
* time gets one list in the accessibility tree rather than two, and the outline
|
|
122
|
+
* does not depend on a layout prop.
|
|
123
|
+
*
|
|
124
|
+
* **The mark is a slot and no mark is drawn in its place.** The reason is the one
|
|
125
|
+
* `UserProfile01` gives for its portrait: a placeholder where a logo would be is
|
|
126
|
+
* a claim that the absence is a gap, and it says the same thing about every reader
|
|
127
|
+
* of every product that installs this Block. So the frame is a fixed size, the
|
|
128
|
+
* node inside it is the caller's, and a thing with no mark draws no frame at all,
|
|
129
|
+
* which is the honest state for a capability the product has no logo for.
|
|
130
|
+
*
|
|
131
|
+
* It is a client Component, and the directive is unconditional. The rule this
|
|
132
|
+
* follows is the one `AddressBook01` states in full: a surface that attaches a
|
|
133
|
+
* handler is a client Component, and the directive is on the module rather than in
|
|
134
|
+
* a leaf so that a consumer composing a server page gets the boundary in one place
|
|
135
|
+
* they can see. The cost is that with both handlers omitted the whole module is
|
|
136
|
+
* still in the client graph, where the static arrangement would have shipped no
|
|
137
|
+
* JavaScript at all; the price was judged worth paying for one boundary rather
|
|
138
|
+
* than two arrangements of the same surface.
|
|
139
|
+
*/
|
|
140
|
+
export function Shortlist01({ eyebrow, title, description, items, onMove, moveLabel, onRemove, removeLabel, actions, empty, variant = 'cards', headingLevel = 'h2', className, }) {
|
|
141
|
+
assertShortlist({ items, onMove, moveLabel, onRemove, removeLabel });
|
|
142
|
+
// An item's name is a heading one step below the section that introduces the
|
|
143
|
+
// set, derived rather than written, so a Block embedded one level deeper carries
|
|
144
|
+
// its names with it.
|
|
145
|
+
const Title = childLevel(headingLevel);
|
|
146
|
+
const asCards = variant === 'cards';
|
|
147
|
+
return (_jsxs(Section, { "data-slot": "shortlist-01", className: cn(className), children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-8" }), actions === undefined ? null : (
|
|
148
|
+
/*
|
|
149
|
+
The caller's controls for the set as a whole, at the trailing edge above
|
|
150
|
+
it rather than inside any item, because they act on the list and not on
|
|
151
|
+
one of its entries. A plain row with no role, for the reason `Item`'s
|
|
152
|
+
trailing slot is one: the controls inside are the controls, and a group
|
|
153
|
+
here would be a group with no name and one more thing a reader walks
|
|
154
|
+
past.
|
|
155
|
+
*/
|
|
156
|
+
_jsx("div", { "data-slot": "shortlist-01-actions", className: "mb-6 flex flex-wrap items-center gap-3", children: actions })), items.length === 0 ? (
|
|
157
|
+
/*
|
|
158
|
+
The caller's own sentence, drawn where the set would have been rather
|
|
159
|
+
than above it, so a reader is not told there is nothing at the foot of a
|
|
160
|
+
page that shows a shortlist. A reader who has finished deciding and a
|
|
161
|
+
reader whose query failed are both looking at an empty page, and only
|
|
162
|
+
the caller knows which one it is.
|
|
163
|
+
*/
|
|
164
|
+
_jsx("p", { "data-slot": "shortlist-01-empty", className: "text-muted-foreground max-w-measure-narrow text-pretty text-sm", children: empty })) : asCards ? (_jsx("ul", { "data-slot": "shortlist-01-items", "data-variant": variant, className: "grid items-start gap-6 sm:grid-cols-2 lg:grid-cols-3", children: items.map((item) => (_jsxs("li", { "data-slot": "shortlist-01-item", "data-item": item.id, className: "border-border bg-card flex h-full flex-col gap-4 rounded-xl border p-5 shadow-sm", children: [item.mark === undefined ? null : (
|
|
165
|
+
/*
|
|
166
|
+
The caller's own mark in a fixed frame. The frame is a size and a
|
|
167
|
+
clip and nothing else, so a caller's logo and a caller's monogram
|
|
168
|
+
are the same height whichever they pass, and an item with no mark
|
|
169
|
+
draws no frame rather than a grey disc where a logo would be.
|
|
170
|
+
*/
|
|
171
|
+
_jsx("span", { "data-slot": "shortlist-01-mark", className: "bg-muted flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-md [&_img]:size-full [&_img]:object-cover", children: item.mark })), _jsx(Title, { "data-slot": "shortlist-01-name", className: "text-base font-semibold", children: item.name }), item.reason === undefined ? null : (_jsx("span", { "data-slot": "shortlist-01-reason", className: "text-muted-foreground text-pretty text-sm", children: item.reason })), item.price === undefined ? null : (_jsx(Price, { "data-slot": "shortlist-01-price", ...item.price, size: "sm" })), item.note === undefined ? null : (_jsx("span", { "data-slot": "shortlist-01-note", className: "text-muted-foreground mt-auto text-xs", children: item.note })), item.href === undefined || item.hrefLabel === undefined ? null : (_jsx(CtaLink, { "data-slot": "shortlist-01-link", href: item.href, variant: "outline", size: "sm", className: "self-start", children: item.hrefLabel })), _jsx(Controls, { "data-slot": "shortlist-01-controls", item: { id: item.id, name: item.name }, onMove: onMove, moveLabel: moveLabel, onRemove: onRemove, removeLabel: removeLabel, className: "mt-auto" })] }, item.id))) })) : (_jsx("ul", { "data-slot": "shortlist-01-items", "data-variant": variant, className: "border-border flex flex-col border-t", children: items.map((item) => (_jsxs("li", { "data-slot": "shortlist-01-item", "data-item": item.id, className: "border-border flex flex-wrap items-center gap-x-4 gap-y-3 border-b px-3 py-4", children: [item.mark === undefined ? null : (_jsx("span", { "data-slot": "shortlist-01-mark", className: "bg-muted flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-md [&_img]:size-full [&_img]:object-cover", children: item.mark })), _jsxs("div", { "data-slot": "shortlist-01-body", className: "flex min-w-0 flex-1 flex-col gap-1", children: [_jsx(Title, { "data-slot": "shortlist-01-name", className: "text-sm font-semibold", children: item.name }), item.reason === undefined ? null : (_jsx("span", { "data-slot": "shortlist-01-reason", className: "text-muted-foreground text-pretty text-xs", children: item.reason })), item.price === undefined ? null : (_jsx(Price, { "data-slot": "shortlist-01-price", ...item.price, size: "sm" })), item.note === undefined ? null : (_jsx("span", { "data-slot": "shortlist-01-note", className: "text-muted-foreground text-xs", children: item.note }))] }), item.href === undefined || item.hrefLabel === undefined ? null : (_jsx(CtaLink, { "data-slot": "shortlist-01-link", href: item.href, variant: "outline", size: "sm", className: "shrink-0", children: item.hrefLabel })), _jsx(Controls, { "data-slot": "shortlist-01-controls", item: { id: item.id, name: item.name }, onMove: onMove, moveLabel: moveLabel, onRemove: onRemove, removeLabel: removeLabel, className: "shrink-0" })] }, item.id))) }))] }));
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* The two controls that make an item part of a set the reader owns.
|
|
175
|
+
*
|
|
176
|
+
* Both are real buttons with a real focus ring and a real hit target, and both
|
|
177
|
+
* take their accessible name from the caller because the item's own name is the
|
|
178
|
+
* only thing that distinguishes one from the next. The icons are `aria-hidden`
|
|
179
|
+
* and the names are the answer, which is the pattern every icon-only region in
|
|
180
|
+
* this package uses: the shape is decoration, the words are the information.
|
|
181
|
+
*
|
|
182
|
+
* The move control is a single button with no direction, and the reason is in the
|
|
183
|
+
* Block's JSDoc: the ways a reader moves a thing on a shortlist are more than
|
|
184
|
+
* one, and the Block reports which item rather than choosing how it travels.
|
|
185
|
+
*/
|
|
186
|
+
function Controls({ item, onMove, moveLabel, onRemove, removeLabel, className, }) {
|
|
187
|
+
if (onMove === undefined && onRemove === undefined)
|
|
188
|
+
return null;
|
|
189
|
+
return (_jsxs("div", { className: cn('flex items-center gap-1', className), children: [onMove !== undefined && moveLabel !== undefined ? (_jsx(Button, { "data-slot": "shortlist-01-move", type: "button", variant: "ghost", size: "icon", "aria-label": moveLabel(item), onClick: () => onMove(item.id), children: _jsx(ArrowUpDown, { "aria-hidden": "true" }) })) : null, onRemove !== undefined && removeLabel !== undefined ? (_jsx(Button, { "data-slot": "shortlist-01-remove", type: "button", variant: "ghost", size: "icon", "aria-label": removeLabel(item), onClick: () => onRemove(item.id), children: _jsx(X, { "aria-hidden": "true" }) })) : null] }));
|
|
190
|
+
}
|
|
191
|
+
export default Shortlist01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/showcase-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAMnD,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Showcase01, default } from './showcase-01.js';
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type Fact } from '../../components/ui/fact-list.js';
|
|
3
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
4
|
+
/**
|
|
5
|
+
* One action in a showcase's action row that names a destination.
|
|
6
|
+
*
|
|
7
|
+
* One of the two arms of `ShowcaseAction`, and named rather than left as an inline
|
|
8
|
+
* member of the union so a caller assembling a row from its own data can say which
|
|
9
|
+
* arm it is building. `href` is required and that is the whole of the arm: a
|
|
10
|
+
* control drawn as a call to action and with nowhere to go is the dead end
|
|
11
|
+
* `CtaLink`'s own JSDoc names, and this Block cannot repair it, because a Block
|
|
12
|
+
* ships no behaviour.
|
|
13
|
+
*/
|
|
14
|
+
export type ShowcaseLinkAction = {
|
|
15
|
+
/** The words on the control. Every string a showcase renders is the caller's. */
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Where the action goes. Required rather than optional, so that "a link whose
|
|
19
|
+
* address is sometimes undefined" is a compile error rather than a control that
|
|
20
|
+
* navigates on the renders where the address happens to be there.
|
|
21
|
+
*/
|
|
22
|
+
href: string;
|
|
23
|
+
/** Opens the destination in a new browsing context, with the matching `rel`. */
|
|
24
|
+
newTab?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Which weight this action draws at, when the caller does not say.
|
|
27
|
+
*
|
|
28
|
+
* Defaults to `default` for the first action in the row and `outline` for the
|
|
29
|
+
* rest. A slot carries its own weight, so it does not take one from here.
|
|
30
|
+
*/
|
|
31
|
+
variant?: 'default' | 'outline' | 'secondary' | 'ghost';
|
|
32
|
+
/**
|
|
33
|
+
* Forbidden, so that an action cannot be both a destination and a caller's own
|
|
34
|
+
* control. The two are rendered by different code on different elements, and a
|
|
35
|
+
* value carrying both would have to pick one silently.
|
|
36
|
+
*/
|
|
37
|
+
slot?: never;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* One action in a showcase's action row that is the caller's own control.
|
|
41
|
+
*
|
|
42
|
+
* **This is the arm that replaced a rendered button, and the reason it is a slot
|
|
43
|
+
* rather than an `onClick` is that a Block cannot receive one.** This is a server
|
|
44
|
+
* Component, so a handler is not a prop it can be given, and the arm it replaced
|
|
45
|
+
* rendered a bare `<Button>` under the standfirst: focusable, announced as a button,
|
|
46
|
+
* and activating to nothing, on the section's primary ask. The defect was in the
|
|
47
|
+
* **type**, not in the render, because a `label` with no destination was a legal
|
|
48
|
+
* value.
|
|
49
|
+
*
|
|
50
|
+
* What belongs here is anything Prism cannot make work: a router's own `Link`, a
|
|
51
|
+
* control that opens a configurator or a trial dialog. What does not belong here is
|
|
52
|
+
* a plain anchor; that is the other arm.
|
|
53
|
+
*/
|
|
54
|
+
export type ShowcaseSlotAction = {
|
|
55
|
+
/**
|
|
56
|
+
* The caller's own control, placed in the row where this action sits.
|
|
57
|
+
*
|
|
58
|
+
* The whole control, including its own label, its own weight and any icon. The
|
|
59
|
+
* Block draws no frame around it and adds no class to it, because a class it adds
|
|
60
|
+
* is a style the caller cannot see and cannot remove, and this package has no
|
|
61
|
+
* override path.
|
|
62
|
+
*/
|
|
63
|
+
slot: ReactNode;
|
|
64
|
+
/**
|
|
65
|
+
* Forbidden on this arm, and for a reason rather than by tidiness: the Block
|
|
66
|
+
* renders `slot` and nothing else, so a `label` beside it would be a word no
|
|
67
|
+
* reader ever sees and a caller would reasonably believe had been rendered.
|
|
68
|
+
*/
|
|
69
|
+
label?: never;
|
|
70
|
+
/** Forbidden: an anchor belongs on the other arm, where Prism renders it. */
|
|
71
|
+
href?: never;
|
|
72
|
+
/** Forbidden with `href`, for the same reason. */
|
|
73
|
+
newTab?: never;
|
|
74
|
+
/**
|
|
75
|
+
* Forbidden, because the Block cannot style a node it does not render. A weight
|
|
76
|
+
* accepted here and dropped would be the one prop in this Block that a reader of
|
|
77
|
+
* the type could believe was in effect when it is not.
|
|
78
|
+
*/
|
|
79
|
+
variant?: never;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* One action in a showcase's action row, as a union of the two things an action in
|
|
83
|
+
* this position can honestly be.
|
|
84
|
+
*
|
|
85
|
+
* **A caller should not be able to reach a dead control by accident, and the union
|
|
86
|
+
* is what stops it.** A single shape with an optional `href` made both of these
|
|
87
|
+
* mistakes silent, and each was a legal value that rendered a control which
|
|
88
|
+
* activated to nothing: `{ label: 'Configure it' }`, which was the likely mistake
|
|
89
|
+
* because a showcase's first action is almost always a link, and
|
|
90
|
+
* `{ label, href: maybeUrl }`, which navigated on the renders where the address
|
|
91
|
+
* happened to be there and rendered a button on the others.
|
|
92
|
+
*
|
|
93
|
+
* The first arm therefore **requires** `href`, and the second carries the caller's
|
|
94
|
+
* own control rather than a `Button` this Block cannot wire to anything.
|
|
95
|
+
*
|
|
96
|
+
* It is declared here rather than imported from `hero-01`, following
|
|
97
|
+
* `ProcessFlow01`'s note on the same point, and `scripts/check-block-controls.mjs`
|
|
98
|
+
* is what holds the shape: a consumer installing a section that shows a capability
|
|
99
|
+
* in depth would otherwise be made to resolve a marketing hero to get it, and a
|
|
100
|
+
* shared type would be a ninth copy of the law that could drift from the other
|
|
101
|
+
* eight. The gate is the single place the law is written down.
|
|
102
|
+
*/
|
|
103
|
+
export type ShowcaseAction = ShowcaseLinkAction | ShowcaseSlotAction;
|
|
104
|
+
/**
|
|
105
|
+
* The props a Showcase01 takes. Every string is a prop and the Block ships none.
|
|
106
|
+
*/
|
|
107
|
+
export type Showcase01Props = {
|
|
108
|
+
/** Optional label above the name. It has no default, and the honest state is none. */
|
|
109
|
+
eyebrow?: string;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the thing being shown, set at the section's heading step.
|
|
112
|
+
*
|
|
113
|
+
* A string and not a node, and the difference is worth naming: this is the one
|
|
114
|
+
* heading in this system that names a single proper noun rather than making a
|
|
115
|
+
* claim in prose, so there is no emphasised word inside it to set in a caller's
|
|
116
|
+
* mark. A caller whose name is a phrase and needs a claim beside it writes the
|
|
117
|
+
* claim in `standfirst`.
|
|
118
|
+
*/
|
|
119
|
+
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* The standfirst: the sentence under the name that says what the thing is for.
|
|
122
|
+
*
|
|
123
|
+
* A node, because the same three NaniSoft sites set part of this line in their own
|
|
124
|
+
* mark. Optional rather than required, because a name that is self-describing, such
|
|
125
|
+
* as a service or a pipeline, needs no gloss and a gloss that repeats the name is
|
|
126
|
+
* worse than no gloss.
|
|
127
|
+
*/
|
|
128
|
+
standfirst?: ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* The specification, as the caller's own facts. See `Fact`.
|
|
131
|
+
*
|
|
132
|
+
* `Fact['value']` is a node rather than a string, and that is what lets a row hold
|
|
133
|
+
* a `CodeBlock`: a specification row whose answer is a command or a fragment is a
|
|
134
|
+
* specification, and a caller who cannot put source in a cell is pushed into a
|
|
135
|
+
* paragraph underneath, which is where specifications go to stop being readable.
|
|
136
|
+
*/
|
|
137
|
+
facts: readonly Fact[];
|
|
138
|
+
/**
|
|
139
|
+
* The media panel's contents, drawn by the caller inside the frame this Block
|
|
140
|
+
* draws around it. Omit it for a showcase that is a specification and nothing else.
|
|
141
|
+
*/
|
|
142
|
+
media?: ReactNode;
|
|
143
|
+
/**
|
|
144
|
+
* The accessible name of the media region, published on the `<figure>` and as no
|
|
145
|
+
* visible text.
|
|
146
|
+
*
|
|
147
|
+
* Required whenever `media` is passed, and the Block throws without it. The rule is
|
|
148
|
+
* `FeatureRows01`'s: a figure a reader cannot name is a figure a reader navigating
|
|
149
|
+
* by figure cannot find again, and this Block's whole subject is one capability on
|
|
150
|
+
* a page that may carry three of them.
|
|
151
|
+
*/
|
|
152
|
+
mediaLabel?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Up to two actions, under the standfirst. See `ShowcaseAction` and its two arms:
|
|
155
|
+
* every action Prism renders here is a link, and an action that cannot be one is a
|
|
156
|
+
* slot the Block places without styling.
|
|
157
|
+
*/
|
|
158
|
+
actions?: ShowcaseAction[];
|
|
159
|
+
/**
|
|
160
|
+
* Which side the media panel takes.
|
|
161
|
+
*
|
|
162
|
+
* A layout prop rather than a `className`, because swapping the panel from one
|
|
163
|
+
* side to the other is a composition decision a page makes repeatedly and
|
|
164
|
+
* re-deriving it from utility classes at each call site is how a page ends up with
|
|
165
|
+
* two panels on opposite sides and no reason why.
|
|
166
|
+
*
|
|
167
|
+
* @defaultValue 'panel-right'
|
|
168
|
+
*/
|
|
169
|
+
layout?: 'panel-left' | 'panel-right';
|
|
170
|
+
/**
|
|
171
|
+
* Heading level for the name. Defaults to `h2` because a Block is composed, not a
|
|
172
|
+
* page. See `HeadingLevel`.
|
|
173
|
+
*/
|
|
174
|
+
headingLevel?: HeadingLevel;
|
|
175
|
+
/**
|
|
176
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
177
|
+
* property from here is prohibited.
|
|
178
|
+
*/
|
|
179
|
+
className?: string;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* One capability in depth: its name, a standfirst, a specification, a panel, and at
|
|
183
|
+
* most two actions.
|
|
184
|
+
*
|
|
185
|
+
* **This is the upstream experience and service pattern, and the translation is the
|
|
186
|
+
* decision the whole effort rests on, so it is stated rather than assumed.** The
|
|
187
|
+
* published pattern is a storefront's product page: a name, a paragraph about it, a
|
|
188
|
+
* table of specifications, a gallery, and a buy button. Everything about that pattern
|
|
189
|
+
* is layout and accessibility work, and all of it transfers without a change: a
|
|
190
|
+
* specification is a description list whichever product it describes, a gallery is a
|
|
191
|
+
* figure a reader has to be able to name, and the buy button is a real anchor rather
|
|
192
|
+
* than a styled `div`. What does not transfer is the framing, and framing is where
|
|
193
|
+
* most of the prose in such a page goes. So the layout is the storefront's and the
|
|
194
|
+
* writing is Prism's: a pipeline that runs, a market that is captured, an estate that
|
|
195
|
+
* is observed, a run that is finished and can be read afterwards. The Demo holds that
|
|
196
|
+
* vocabulary and this component holds none of it, because a Block ships no copy and
|
|
197
|
+
* a showcase whose examples were authored by a design system would hand every
|
|
198
|
+
* consumer a page about somebody else's product.
|
|
199
|
+
*
|
|
200
|
+
* **The specification is `FactList` and the panel is a `figure`, and neither is
|
|
201
|
+
* re-derived here.** `FactList` is a real `<dl>` with the term before its answer,
|
|
202
|
+
* which is what a specification is and what a table of key and value cells is not: a
|
|
203
|
+
* screen reader announces the term before the answer in one and reads two columns of
|
|
204
|
+
* equal weight in the other, and a reader who lands mid-list cannot tell which half
|
|
205
|
+
* they are in. The panel is a `<figure>` with a required name for the reason
|
|
206
|
+
* `FeatureRows01` states. Re-deriving either here would put a second answer to "how
|
|
207
|
+
* does a specification read" in one package, and the second answer is always the one
|
|
208
|
+
* that disagrees.
|
|
209
|
+
*
|
|
210
|
+
* **What this is not, and the reason matters more than the list would.** This is not
|
|
211
|
+
* a pricing Block and it carries no price, no period, no currency and no tier. That is
|
|
212
|
+
* not a missing feature, it is the refusal that keeps the item honest: a Block that
|
|
213
|
+
* holds a number the caller has to remember to change is a Block that ships a stale
|
|
214
|
+
* claim, and a stale price is the one number on a marketing page that a reader acts
|
|
215
|
+
* on. `Price` exists as a Component and `Pricing01` exists as a Block, and a caller
|
|
216
|
+
* who wants a price composes them beside this one rather than putting the figure in
|
|
217
|
+
* here where nothing would tell them it can go stale.
|
|
218
|
+
*
|
|
219
|
+
* **The panel is drawn by this Block, and the copy column is first in the DOM on both
|
|
220
|
+
* layouts.** The name and the specification are the content; the panel is evidence
|
|
221
|
+
* for them, and a reader who never reaches the panel has still read everything the
|
|
222
|
+
* section claims. `layout` therefore moves the panel in the visual order with `order`
|
|
223
|
+
* rather than by swapping the columns in the markup, so the reading order is the same
|
|
224
|
+
* whichever side the panel is drawn on.
|
|
225
|
+
*
|
|
226
|
+
* **The heading is aligned left.** `SectionHeading` states the rule and this section
|
|
227
|
+
* has a specification and a panel beside and under the name, so there is content and
|
|
228
|
+
* the answer is left.
|
|
229
|
+
*
|
|
230
|
+
* It composes `Section` and `SectionHeading`, so it inherits the container and the
|
|
231
|
+
* vertical rhythm rather than re-deriving either, and it adds no container width and
|
|
232
|
+
* no section padding of its own.
|
|
233
|
+
*
|
|
234
|
+
* It is a server Component: no hook, no state and no client code.
|
|
235
|
+
*/
|
|
236
|
+
export declare function Showcase01({ eyebrow, name, standfirst, facts, media, mediaLabel, actions, layout, headingLevel, className, }: Showcase01Props): import("react").JSX.Element;
|
|
237
|
+
export default Showcase01;
|
|
238
|
+
//# sourceMappingURL=showcase-01.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-01.d.ts","sourceRoot":"","sources":["../../../src/blocks/showcase-01/showcase-01.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKhD,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGxF;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iFAAiF;IACjF,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,CAAA;IACvD;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAA;CACb,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;;;OAOG;IACH,IAAI,EAAE,SAAS,CAAA;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,6EAA6E;IAC7E,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,kDAAkD;IAClD,MAAM,CAAC,EAAE,KAAK,CAAA;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,kBAAkB,CAAA;AAEpE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;;;OAQG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB;;;;;;;OAOG;IACH,KAAK,EAAE,SAAS,IAAI,EAAE,CAAA;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,aAAa,CAAA;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,IAAI,EACJ,UAAU,EACV,KAAK,EACL,KAAK,EACL,UAAU,EACV,OAAY,EACZ,MAAsB,EACtB,YAAmB,EACnB,SAAS,GACV,EAAE,eAAe,+BAyFjB;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment } from 'react';
|
|
3
|
+
import { ArrowRight } from 'lucide-react';
|
|
4
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
5
|
+
import { FactList } from '../../components/ui/fact-list.js';
|
|
6
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* One capability in depth: its name, a standfirst, a specification, a panel, and at
|
|
10
|
+
* most two actions.
|
|
11
|
+
*
|
|
12
|
+
* **This is the upstream experience and service pattern, and the translation is the
|
|
13
|
+
* decision the whole effort rests on, so it is stated rather than assumed.** The
|
|
14
|
+
* published pattern is a storefront's product page: a name, a paragraph about it, a
|
|
15
|
+
* table of specifications, a gallery, and a buy button. Everything about that pattern
|
|
16
|
+
* is layout and accessibility work, and all of it transfers without a change: a
|
|
17
|
+
* specification is a description list whichever product it describes, a gallery is a
|
|
18
|
+
* figure a reader has to be able to name, and the buy button is a real anchor rather
|
|
19
|
+
* than a styled `div`. What does not transfer is the framing, and framing is where
|
|
20
|
+
* most of the prose in such a page goes. So the layout is the storefront's and the
|
|
21
|
+
* writing is Prism's: a pipeline that runs, a market that is captured, an estate that
|
|
22
|
+
* is observed, a run that is finished and can be read afterwards. The Demo holds that
|
|
23
|
+
* vocabulary and this component holds none of it, because a Block ships no copy and
|
|
24
|
+
* a showcase whose examples were authored by a design system would hand every
|
|
25
|
+
* consumer a page about somebody else's product.
|
|
26
|
+
*
|
|
27
|
+
* **The specification is `FactList` and the panel is a `figure`, and neither is
|
|
28
|
+
* re-derived here.** `FactList` is a real `<dl>` with the term before its answer,
|
|
29
|
+
* which is what a specification is and what a table of key and value cells is not: a
|
|
30
|
+
* screen reader announces the term before the answer in one and reads two columns of
|
|
31
|
+
* equal weight in the other, and a reader who lands mid-list cannot tell which half
|
|
32
|
+
* they are in. The panel is a `<figure>` with a required name for the reason
|
|
33
|
+
* `FeatureRows01` states. Re-deriving either here would put a second answer to "how
|
|
34
|
+
* does a specification read" in one package, and the second answer is always the one
|
|
35
|
+
* that disagrees.
|
|
36
|
+
*
|
|
37
|
+
* **What this is not, and the reason matters more than the list would.** This is not
|
|
38
|
+
* a pricing Block and it carries no price, no period, no currency and no tier. That is
|
|
39
|
+
* not a missing feature, it is the refusal that keeps the item honest: a Block that
|
|
40
|
+
* holds a number the caller has to remember to change is a Block that ships a stale
|
|
41
|
+
* claim, and a stale price is the one number on a marketing page that a reader acts
|
|
42
|
+
* on. `Price` exists as a Component and `Pricing01` exists as a Block, and a caller
|
|
43
|
+
* who wants a price composes them beside this one rather than putting the figure in
|
|
44
|
+
* here where nothing would tell them it can go stale.
|
|
45
|
+
*
|
|
46
|
+
* **The panel is drawn by this Block, and the copy column is first in the DOM on both
|
|
47
|
+
* layouts.** The name and the specification are the content; the panel is evidence
|
|
48
|
+
* for them, and a reader who never reaches the panel has still read everything the
|
|
49
|
+
* section claims. `layout` therefore moves the panel in the visual order with `order`
|
|
50
|
+
* rather than by swapping the columns in the markup, so the reading order is the same
|
|
51
|
+
* whichever side the panel is drawn on.
|
|
52
|
+
*
|
|
53
|
+
* **The heading is aligned left.** `SectionHeading` states the rule and this section
|
|
54
|
+
* has a specification and a panel beside and under the name, so there is content and
|
|
55
|
+
* the answer is left.
|
|
56
|
+
*
|
|
57
|
+
* It composes `Section` and `SectionHeading`, so it inherits the container and the
|
|
58
|
+
* vertical rhythm rather than re-deriving either, and it adds no container width and
|
|
59
|
+
* no section padding of its own.
|
|
60
|
+
*
|
|
61
|
+
* It is a server Component: no hook, no state and no client code.
|
|
62
|
+
*/
|
|
63
|
+
export function Showcase01({ eyebrow, name, standfirst, facts, media, mediaLabel, actions = [], layout = 'panel-right', headingLevel = 'h2', className, }) {
|
|
64
|
+
if (media !== undefined && !mediaLabel) {
|
|
65
|
+
throw new Error('Showcase01: a media node was passed with no mediaLabel, so the figure would be one a reader ' +
|
|
66
|
+
'navigating by figure cannot tell from the next showcase on the page. Pass the words you mean, or omit the media.');
|
|
67
|
+
}
|
|
68
|
+
const panelFirst = layout === 'panel-left';
|
|
69
|
+
return (_jsx(Section, { "data-slot": "showcase-01", className: className, children: _jsxs("div", { "data-slot": "showcase-01-band", className: "grid items-start gap-10 lg:grid-cols-2 lg:gap-16", children: [_jsxs("div", { "data-slot": "showcase-01-copy", className: cn('flex min-w-0 flex-col gap-8', panelFirst ? 'lg:order-2' : 'lg:order-1'), children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: name, description: standfirst }), actions.length ? (_jsx("div", { "data-slot": "showcase-01-actions", className: "flex flex-col gap-3 sm:flex-row", children: actions.map((action, index) => {
|
|
70
|
+
// A slot is the caller's own control, placed where it asked to be and
|
|
71
|
+
// otherwise untouched. Keyed positionally for the reason the other
|
|
72
|
+
// keyed lists in this package state: two actions may share a label,
|
|
73
|
+
// and a row keyed on a localised label remounts when the reader
|
|
74
|
+
// changes language.
|
|
75
|
+
if ('slot' in action) {
|
|
76
|
+
return _jsx(Fragment, { children: action.slot }, index);
|
|
77
|
+
}
|
|
78
|
+
// The variant follows the position, which is a decision about the
|
|
79
|
+
// row's shape rather than about the element.
|
|
80
|
+
const variant = action.variant ?? (index === 0 ? 'default' : 'outline');
|
|
81
|
+
return (_jsxs(CtaLink, { href: action.href, newTab: action.newTab, size: "lg", variant: variant, className: "group", children: [action.label, index === 0 ? (_jsx(ArrowRight, { className: "transition-transform size-4 group-hover:translate-x-0.5" })) : null] }, index));
|
|
82
|
+
}) })) : null, _jsx(FactList, { facts: facts })] }), media ? (_jsx("figure", { "data-slot": "showcase-01-media", "aria-label": mediaLabel, className: cn('bg-card flex min-w-0 flex-col justify-center rounded-xl border p-4 shadow-sm', panelFirst ? 'lg:order-1' : 'lg:order-2'), children: media })) : null] }) }));
|
|
83
|
+
}
|
|
84
|
+
export default Showcase01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/signup-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAS/C,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,cAAc,EACd,WAAW,EACX,YAAY,EACZ,WAAW,GACZ,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Signup01, default } from './signup-01.js';
|