@nanisoft/prism-ui 0.13.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +22 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +9 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +131 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +33 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +4 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +34 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +24 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/diagram.d.ts +38 -7
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +134 -52
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/fact-list.d.ts +17 -0
- package/dist/components/ui/fact-list.d.ts.map +1 -1
- package/dist/components/ui/fact-list.js +18 -1
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +34 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +41 -1
- package/dist/components/ui/pulse-graph.d.ts +36 -4
- package/dist/components/ui/pulse-graph.d.ts.map +1 -1
- package/dist/components/ui/pulse-graph.js +174 -60
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +110 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +111 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/figure.d.ts +149 -0
- package/dist/lib/figure.d.ts.map +1 -0
- package/dist/lib/figure.js +242 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
- package/dist/live/run-stream-01/run-stream.js +6 -5
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/blog-post-page/index.d.ts +36 -15
- package/dist/pages/blog-post-page/index.d.ts.map +1 -1
- package/dist/pages/blog-post-page/index.js +35 -10
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +126 -16
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +229 -28
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +102 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/not-found-page/index.d.ts.map +1 -1
- package/dist/pages/not-found-page/index.js +4 -3
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1105 -62
- package/package.json +9 -3
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/** The two surfaces a promotion band can be drawn on. See `OFFER_TONE`. */
|
|
4
|
+
export type Offer01Tone = 'default' | 'primary';
|
|
5
|
+
/**
|
|
6
|
+
* The props an Offer01 takes.
|
|
7
|
+
*
|
|
8
|
+
* Every string is a prop and the Block ships none: no eyebrow, no headline, no
|
|
9
|
+
* supporting line, no code, no control and no terms. The last of those is the
|
|
10
|
+
* point, and it is required.
|
|
11
|
+
*/
|
|
12
|
+
export type Offer01Props = {
|
|
13
|
+
/** Optional label above the headline. See the No-Default-Eyebrow Rule. */
|
|
14
|
+
eyebrow?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* The headline: what the promotion is.
|
|
17
|
+
*
|
|
18
|
+
* Required, and it is the section's own heading rather than a line inside the
|
|
19
|
+
* band, which is a composition decision the JSDoc below explains. A promotion
|
|
20
|
+
* with no headline is a discount with nothing claiming it, and the two hardest
|
|
21
|
+
* sentences to write are the one that says what the offer is and the one that
|
|
22
|
+
* says what it excludes.
|
|
23
|
+
*/
|
|
24
|
+
title: ReactNode;
|
|
25
|
+
/** One or two sentences under the headline: the size of the discount, the shape. */
|
|
26
|
+
description?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* The slot for the promotion's control, which is usually one call to action.
|
|
29
|
+
*
|
|
30
|
+
* A node rather than a label and a destination, for the reason `Cta01` gives:
|
|
31
|
+
* the control is a link, a router link, a form or a menu, and a Block that
|
|
32
|
+
* declared its label and its `href` would be unable to render three of those
|
|
33
|
+
* four. The cost is that this Block cannot check that the control goes
|
|
34
|
+
* anywhere, and the reason is that a control with no destination is a
|
|
35
|
+
* consumer's bug rather than a Block's to catch.
|
|
36
|
+
*/
|
|
37
|
+
actions?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* The closing note: the expiry, the scope, the exclusions, in the caller's own
|
|
40
|
+
* words.
|
|
41
|
+
*
|
|
42
|
+
* Required, and the argument is the whole JSDoc below. A discount with no
|
|
43
|
+
* expiry, no scope and no exclusions is legally and ethically a different offer
|
|
44
|
+
* from one with them, and a design system that lets this prop be optional is a
|
|
45
|
+
* design system that has made that call for every consumer that installs it.
|
|
46
|
+
*/
|
|
47
|
+
terms: ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* Which surface the band is drawn on.
|
|
50
|
+
*
|
|
51
|
+
* @defaultValue 'default'
|
|
52
|
+
*/
|
|
53
|
+
tone?: Offer01Tone;
|
|
54
|
+
/** Heading level for the headline. See `HeadingLevel`. */
|
|
55
|
+
headingLevel?: HeadingLevel;
|
|
56
|
+
/** Layout classes for the band. Layout only; every visual property is Prism's. */
|
|
57
|
+
className?: string;
|
|
58
|
+
} & ({
|
|
59
|
+
/**
|
|
60
|
+
* The code the reader redeems, as the caller writes it.
|
|
61
|
+
*
|
|
62
|
+
* A `string` and not a node, because a code is a machine value: it is
|
|
63
|
+
* copied, compared and typed, and a caller that composes one out of
|
|
64
|
+
* fragments will be one release away from shipping a code with a space in
|
|
65
|
+
* it.
|
|
66
|
+
*/
|
|
67
|
+
code: string;
|
|
68
|
+
/**
|
|
69
|
+
* The words that name the code, for its accessible name.
|
|
70
|
+
*
|
|
71
|
+
* Required whenever `code` is, and declared `never` when it is not, so the
|
|
72
|
+
* two cannot drift apart. A chip holding `PRISM20` announces as the six
|
|
73
|
+
* characters and nothing else, and a reader who has just been told to enter
|
|
74
|
+
* a code has to be told which of the four things on this band is the code.
|
|
75
|
+
* The cost is a prop a consumer has to remember, and the reason is the same
|
|
76
|
+
* one `Toast.closeLabel` is required for: four products in two languages
|
|
77
|
+
* cannot all be told this control says "Code".
|
|
78
|
+
*/
|
|
79
|
+
codeLabel: string;
|
|
80
|
+
} | {
|
|
81
|
+
/** No code on this band. */
|
|
82
|
+
code?: never;
|
|
83
|
+
/** No accessible name needed, because there is no chip to name. */
|
|
84
|
+
codeLabel?: never;
|
|
85
|
+
});
|
|
86
|
+
/**
|
|
87
|
+
* A promotion band: an eyebrow, a headline, a supporting line, a code, one action
|
|
88
|
+
* and the terms that say what the offer excludes.
|
|
89
|
+
*
|
|
90
|
+
* **The terms are required, and a design system that let them be optional would
|
|
91
|
+
* have made the call for its consumers.** A discount with no expiry, no scope and
|
|
92
|
+
* no exclusions is not a shorter version of the same offer, it is a different
|
|
93
|
+
* offer: the one with terms is an offer a reader can accept, and the one without is
|
|
94
|
+
* a claim the consumer cannot safely ship, because in most markets the terms of a
|
|
95
|
+
* promotion are the part that is binding and the headline is the part that is not.
|
|
96
|
+
* Making `terms` optional would have been the quietest possible way for this
|
|
97
|
+
* repository to decide that for four products, and it would have looked like a
|
|
98
|
+
* convenience while behaving like an opinion. So the prop is required, `terms` is
|
|
99
|
+
* what fills it, and the only way to render this Block without saying what an
|
|
100
|
+
* offer excludes is not to render it.
|
|
101
|
+
*
|
|
102
|
+
* **The headline is above the band rather than inside it, and that is a colour
|
|
103
|
+
* decision rather than a layout one.** `SectionHeading` states its own muted ink
|
|
104
|
+
* for the eyebrow and the description, which is correct on the page ground and
|
|
105
|
+
* wrong on a filled `bg-primary` surface, because muted on primary is the
|
|
106
|
+
* inheritance `check-variant-ink` exists to refuse and the measurement in
|
|
107
|
+
* `Cta01Action.variant` is what it refused. So the heading sits on the ground where
|
|
108
|
+
* its own ink is measured, and the band below it carries the code, the control and
|
|
109
|
+
* the terms. The cost is that the promotion is split across two surfaces rather
|
|
110
|
+
* than being one filled panel, and the answer is that a filled panel would have had
|
|
111
|
+
* to re-declare `SectionHeading`'s type for one Block, which is how a design system
|
|
112
|
+
* grows a second heading.
|
|
113
|
+
*
|
|
114
|
+
* **The code is a chip in the mono face, and the mono face is the reason.** The
|
|
115
|
+
* mono stack in this system annotates machine-readable values, and a redemption
|
|
116
|
+
* code is the most machine-readable value a marketing page carries: it is copied,
|
|
117
|
+
* compared, typed and diffed. It is a `kbd`-shaped chip rather than a `Kbd`,
|
|
118
|
+
* because a `Kbd` is a key on a keyboard and is set in the interface face on
|
|
119
|
+
* purpose, and a discount code is not a key. The chip carries the caller's
|
|
120
|
+
* `codeLabel` in a visually hidden span beside the code, which is the same pattern
|
|
121
|
+
* every icon-only region in this package uses: the shape is decoration, the words
|
|
122
|
+
* are the answer. The chip states its own ink beside its own fill for the same
|
|
123
|
+
* reason the band does, and `muted-foreground` on `muted` is a gated pair
|
|
124
|
+
* precisely because the pill, the avatar fallback and the key pattern all sit on
|
|
125
|
+
* the tinted surface rather than on the page ground, so the chip is legible on a
|
|
126
|
+
* `default` band and on a `primary` one.
|
|
127
|
+
*
|
|
128
|
+
* **A `tone` of `primary` states its own fill and its own ink.** See
|
|
129
|
+
* `OFFER_TONE`, which carries the measurement. Both tones draw a fill, and a fill
|
|
130
|
+
* without an ink is a control that is legible on the page ground and invisible on
|
|
131
|
+
* the band, which is the defect `Cta01` shipped at 1.01:1 in lavender dark.
|
|
132
|
+
*
|
|
133
|
+
* It is a server Component: no hook, no state, no client code and no router. The
|
|
134
|
+
* one control is the consumer's node, so a consumer who passes a client component
|
|
135
|
+
* pays for the control and not for the band.
|
|
136
|
+
*/
|
|
137
|
+
export declare function Offer01({ eyebrow, title, description, actions, terms, tone, headingLevel, className, code, codeLabel, }: Offer01Props): import("react").JSX.Element;
|
|
138
|
+
export default Offer01;
|
|
139
|
+
//# sourceMappingURL=offer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offer.d.ts","sourceRoot":"","sources":["../../../src/blocks/offer-01/offer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AA2BxF,2EAA2E;AAC3E,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,CAAA;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;;OAQG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,oFAAoF;IACpF,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;;OAQG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,CACA;IACE;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;;;;OAUG;IACH,SAAS,EAAE,MAAM,CAAA;CAClB,GACD;IACE,4BAA4B;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,mEAAmE;IACnE,SAAS,CAAC,EAAE,KAAK,CAAA;CAClB,CACJ,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAAK,EACL,IAAgB,EAChB,YAAmB,EACnB,SAAS,EACT,IAAI,EACJ,SAAS,GACV,EAAE,YAAY,+BA8Cd;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
|
+
/**
|
|
5
|
+
* The two surfaces a promotion band can be drawn on, and each one states its own
|
|
6
|
+
* fill and its own ink.
|
|
7
|
+
*
|
|
8
|
+
* This is the `check-variant-ink` rule and not a style preference, and the gate
|
|
9
|
+
* that holds it reads the Component layer only, so a Block stating the rule in its
|
|
10
|
+
* own map is the Block doing the work the gate cannot. The measurement is in
|
|
11
|
+
* `Cta01Action.variant` and in `toast.tsx`: `Cta01` drew a filled `bg-primary`
|
|
12
|
+
* panel, defaulted its second action to `outline`, and shipped a control that was
|
|
13
|
+
* `--background` behind `--primary-foreground`, which measured 1.01:1 in the
|
|
14
|
+
* lavender pack's dark mode. It was in the document, focusable, announced, and
|
|
15
|
+
* unreadable.
|
|
16
|
+
*
|
|
17
|
+
* So a `primary` band is `bg-primary text-primary-foreground` and a `default` band
|
|
18
|
+
* is `bg-card text-card-foreground`, and neither inherits its ink. The cost is
|
|
19
|
+
* that this Block cannot be recoloured by a caller, which is the no-override-path
|
|
20
|
+
* rule arriving at a colour and not at a wrapper: a promotion band that a consumer
|
|
21
|
+
* painted in their own brand hue is a band nobody in this repository can measure.
|
|
22
|
+
*/
|
|
23
|
+
const OFFER_TONE = {
|
|
24
|
+
default: 'border-border bg-card text-card-foreground border',
|
|
25
|
+
primary: 'border-transparent bg-primary text-primary-foreground border',
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A promotion band: an eyebrow, a headline, a supporting line, a code, one action
|
|
29
|
+
* and the terms that say what the offer excludes.
|
|
30
|
+
*
|
|
31
|
+
* **The terms are required, and a design system that let them be optional would
|
|
32
|
+
* have made the call for its consumers.** A discount with no expiry, no scope and
|
|
33
|
+
* no exclusions is not a shorter version of the same offer, it is a different
|
|
34
|
+
* offer: the one with terms is an offer a reader can accept, and the one without is
|
|
35
|
+
* a claim the consumer cannot safely ship, because in most markets the terms of a
|
|
36
|
+
* promotion are the part that is binding and the headline is the part that is not.
|
|
37
|
+
* Making `terms` optional would have been the quietest possible way for this
|
|
38
|
+
* repository to decide that for four products, and it would have looked like a
|
|
39
|
+
* convenience while behaving like an opinion. So the prop is required, `terms` is
|
|
40
|
+
* what fills it, and the only way to render this Block without saying what an
|
|
41
|
+
* offer excludes is not to render it.
|
|
42
|
+
*
|
|
43
|
+
* **The headline is above the band rather than inside it, and that is a colour
|
|
44
|
+
* decision rather than a layout one.** `SectionHeading` states its own muted ink
|
|
45
|
+
* for the eyebrow and the description, which is correct on the page ground and
|
|
46
|
+
* wrong on a filled `bg-primary` surface, because muted on primary is the
|
|
47
|
+
* inheritance `check-variant-ink` exists to refuse and the measurement in
|
|
48
|
+
* `Cta01Action.variant` is what it refused. So the heading sits on the ground where
|
|
49
|
+
* its own ink is measured, and the band below it carries the code, the control and
|
|
50
|
+
* the terms. The cost is that the promotion is split across two surfaces rather
|
|
51
|
+
* than being one filled panel, and the answer is that a filled panel would have had
|
|
52
|
+
* to re-declare `SectionHeading`'s type for one Block, which is how a design system
|
|
53
|
+
* grows a second heading.
|
|
54
|
+
*
|
|
55
|
+
* **The code is a chip in the mono face, and the mono face is the reason.** The
|
|
56
|
+
* mono stack in this system annotates machine-readable values, and a redemption
|
|
57
|
+
* code is the most machine-readable value a marketing page carries: it is copied,
|
|
58
|
+
* compared, typed and diffed. It is a `kbd`-shaped chip rather than a `Kbd`,
|
|
59
|
+
* because a `Kbd` is a key on a keyboard and is set in the interface face on
|
|
60
|
+
* purpose, and a discount code is not a key. The chip carries the caller's
|
|
61
|
+
* `codeLabel` in a visually hidden span beside the code, which is the same pattern
|
|
62
|
+
* every icon-only region in this package uses: the shape is decoration, the words
|
|
63
|
+
* are the answer. The chip states its own ink beside its own fill for the same
|
|
64
|
+
* reason the band does, and `muted-foreground` on `muted` is a gated pair
|
|
65
|
+
* precisely because the pill, the avatar fallback and the key pattern all sit on
|
|
66
|
+
* the tinted surface rather than on the page ground, so the chip is legible on a
|
|
67
|
+
* `default` band and on a `primary` one.
|
|
68
|
+
*
|
|
69
|
+
* **A `tone` of `primary` states its own fill and its own ink.** See
|
|
70
|
+
* `OFFER_TONE`, which carries the measurement. Both tones draw a fill, and a fill
|
|
71
|
+
* without an ink is a control that is legible on the page ground and invisible on
|
|
72
|
+
* the band, which is the defect `Cta01` shipped at 1.01:1 in lavender dark.
|
|
73
|
+
*
|
|
74
|
+
* It is a server Component: no hook, no state, no client code and no router. The
|
|
75
|
+
* one control is the consumer's node, so a consumer who passes a client component
|
|
76
|
+
* pays for the control and not for the band.
|
|
77
|
+
*/
|
|
78
|
+
export function Offer01({ eyebrow, title, description, actions, terms, tone = 'default', headingLevel = 'h2', className, code, codeLabel, }) {
|
|
79
|
+
return (_jsxs(Section, { children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-8" }), _jsxs("div", { "data-slot": "offer", "data-tone": tone, className: cn('flex flex-col items-start gap-4 rounded-2xl p-6 shadow-sm sm:p-8', OFFER_TONE[tone], className), children: [code ? (_jsxs("code", { "data-slot": "offer-code", className: "bg-muted text-muted-foreground inline-flex h-7 items-center gap-2 rounded-sm px-2 font-mono text-sm font-medium select-none", children: [_jsx("span", { className: "sr-only", children: codeLabel }), code] })) : null, actions ? (_jsx("div", { "data-slot": "offer-actions", className: "flex flex-wrap items-center gap-3", children: actions })) : null, _jsx("div", { "data-slot": "offer-terms", className: "text-muted-foreground max-w-measure text-pretty text-sm", children: terms })] })] }));
|
|
80
|
+
}
|
|
81
|
+
export default Offer01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/offering-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAKhD,YAAY,EACV,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Offering01, default } from './offering.js';
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type PriceProps } from '../../components/ui/price.js';
|
|
3
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
4
|
+
/**
|
|
5
|
+
* The four states a capability can be in, and the set is closed.
|
|
6
|
+
*
|
|
7
|
+
* A capability here is a thing the product offers: a capture source, an agent, a
|
|
8
|
+
* connector, a tier. What a page has to say about one of those is not a binary. A
|
|
9
|
+
* connector that exists and runs is one thing. A connector a named set of customers
|
|
10
|
+
* can turn on today is a second. A connector on the roadmap is a third, and it is a
|
|
11
|
+
* real answer rather than an absence, because a product that ships it will have it
|
|
12
|
+
* and a reader who is told nothing has to guess whether it does not exist or is
|
|
13
|
+
* merely unannounced. A connector that has been withdrawn is the fourth.
|
|
14
|
+
*
|
|
15
|
+
* **The closure is the argument and it is the reason this Block is a separate Item
|
|
16
|
+
* from `Showcase01`.** `Showcase01` shows what a product does, and it has no state
|
|
17
|
+
* prop at all, which is right for it: a showcase is evidence, and evidence of
|
|
18
|
+
* something unbuilt is a picture of a mock. This Block shows what a product plans
|
|
19
|
+
* to do as well as what it does, and a design system that offered only available
|
|
20
|
+
* and unavailable would leave a consumer with two bad options for a roadmap item.
|
|
21
|
+
* They could leave the state off, and then the capability would render as built,
|
|
22
|
+
* which is the one thing a product page must never do. Or they could leave it out
|
|
23
|
+
* of the page, and then the roadmap would be a slide nobody can find. So the
|
|
24
|
+
* honest answers are in the type, and `coming-soon` is a first-class member
|
|
25
|
+
* rather than the gap between the two members everybody ships.
|
|
26
|
+
*
|
|
27
|
+
* The cost is real and worth naming. A closed set is a set a product eventually
|
|
28
|
+
* outgrows, and the escape is the type on the other Block that takes an open
|
|
29
|
+
* string: `OfferingList01` maps an unknown state to the tone that asserts nothing
|
|
30
|
+
* and takes the words from the caller, because a list of forty rows cannot afford a
|
|
31
|
+
* type that refuses a row. The difference between the two is the count. One
|
|
32
|
+
* capability in depth can be given a closed set and a diagnostic; forty rows on a
|
|
33
|
+
* catalogue page cannot, and the two answers are both correct for their own scale.
|
|
34
|
+
*/
|
|
35
|
+
export type Offering01State = 'available' | 'in-preview' | 'coming-soon' | 'unavailable';
|
|
36
|
+
/**
|
|
37
|
+
* One limit of a capability: what is measured, and what the answer is.
|
|
38
|
+
*
|
|
39
|
+
* `label` is a string rather than a node, for `FactList`'s reason: a column of
|
|
40
|
+
* terms is read by scanning the left edge, and a term that wraps to two lines
|
|
41
|
+
* costs every other row its alignment. `value` is a node because the answers on a
|
|
42
|
+
* capability page are not all strings: a figure the caller formatted, a
|
|
43
|
+
* `RelativeTime`, a `CodeBlock` for the identifier a support request needs.
|
|
44
|
+
*/
|
|
45
|
+
export type Offering01Fact = {
|
|
46
|
+
/** The limit's stable key, so a caller can address one row by name. */
|
|
47
|
+
id: string;
|
|
48
|
+
/** What is measured, in the product's own words. */
|
|
49
|
+
label: string;
|
|
50
|
+
/** The answer. A string, or any node a caller composes. */
|
|
51
|
+
value: ReactNode;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* One availability reading: a name, a value, and the caveat beside it.
|
|
55
|
+
*
|
|
56
|
+
* Availability is not the same fact as the state. The state says whether the
|
|
57
|
+
* capability can be turned on at all; this says what turning it on depends on, or
|
|
58
|
+
* how far the rollout has got, or which regions it covers. They change on different
|
|
59
|
+
* clocks and they answer different questions, which is why they are two props and
|
|
60
|
+
* not one.
|
|
61
|
+
*/
|
|
62
|
+
export type Offering01Availability = {
|
|
63
|
+
/** What the reading is about. The caller's words, because the fact is theirs. */
|
|
64
|
+
label: string;
|
|
65
|
+
/** The reading itself. */
|
|
66
|
+
value: ReactNode;
|
|
67
|
+
/** The caveat that qualifies the reading, for the sentence that is not the number. */
|
|
68
|
+
note?: ReactNode;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The props an Offering01 takes.
|
|
72
|
+
*
|
|
73
|
+
* Every string, every figure, every state word and every availability reading is a
|
|
74
|
+
* prop and the Block ships none. There is no capability in this package, no default
|
|
75
|
+
* state, no sample specification and not one word of a rollout note: the set of
|
|
76
|
+
* things a product offers is the product's own fact, and a Block that shipped one
|
|
77
|
+
* would be publishing somebody else's roadmap.
|
|
78
|
+
*/
|
|
79
|
+
export type Offering01Props = {
|
|
80
|
+
/** Optional label above the capability's name. It has no default. */
|
|
81
|
+
eyebrow?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The capability's own name, set at the section's heading step.
|
|
84
|
+
*
|
|
85
|
+
* A string and not a node, for `Showcase01`'s reason: this is the one heading in
|
|
86
|
+
* this system that names a single proper noun rather than making a claim in
|
|
87
|
+
* prose, so there is no emphasised word inside it to set in a caller's mark. A
|
|
88
|
+
* caller whose name is a phrase and needs a claim beside it writes the claim in
|
|
89
|
+
* `standfirst`.
|
|
90
|
+
*/
|
|
91
|
+
name: string;
|
|
92
|
+
/**
|
|
93
|
+
* The standfirst: the sentence under the name that says what the capability is
|
|
94
|
+
* for.
|
|
95
|
+
*
|
|
96
|
+
* Optional rather than required, because a name that is self-describing needs no
|
|
97
|
+
* gloss, and a gloss that repeats the name is worse than no gloss. It is a node
|
|
98
|
+
* because the same four NaniSoft sites set part of this line in their own mark.
|
|
99
|
+
*/
|
|
100
|
+
standfirst?: ReactNode;
|
|
101
|
+
/** The prose under the standfirst, for the argument the name cannot carry. */
|
|
102
|
+
body?: ReactNode;
|
|
103
|
+
/** The capability's limits, as the caller's own facts. See `Offering01Fact`. */
|
|
104
|
+
facts?: readonly Offering01Fact[];
|
|
105
|
+
/**
|
|
106
|
+
* What the capability costs.
|
|
107
|
+
*
|
|
108
|
+
* `PriceProps` rather than an amount and a currency, so the figure goes through
|
|
109
|
+
* the platform's own formatter with the locale, the precision and the period the
|
|
110
|
+
* caller chose. The cost of composing rather than owning is stated in `Price`'s
|
|
111
|
+
* own note: a server Component constructs a formatter per request rather than one
|
|
112
|
+
* at build, and a page that prints a thousand prices constructs a thousand of
|
|
113
|
+
* them. A consumer with prices on a hot path caches the formatter, which is a
|
|
114
|
+
* better place for that knowledge than a design system.
|
|
115
|
+
*/
|
|
116
|
+
price?: PriceProps;
|
|
117
|
+
/** The line under the price: the billing period, the caveat, the commitment. */
|
|
118
|
+
priceNote?: ReactNode;
|
|
119
|
+
/** What state the capability is in. See `Offering01State`. */
|
|
120
|
+
state?: Offering01State;
|
|
121
|
+
/**
|
|
122
|
+
* The words for the state, in the product's own vocabulary.
|
|
123
|
+
*
|
|
124
|
+
* Required whenever `state` is given, and the run throws without one. The reason
|
|
125
|
+
* is `Status`'s reason and it is not softened here: a status with no words is a
|
|
126
|
+
* coloured dot, invisible to a reader who cannot separate the tones and unreadable
|
|
127
|
+
* to a screen reader whatever the tones are. It is a function and not a string
|
|
128
|
+
* because one function covers all four states, which is what `FieldMap01` and
|
|
129
|
+
* `Project01` do, and because the words for a state are frequently a sentence
|
|
130
|
+
* rather than a word: "available to twelve named sites" and "generally available"
|
|
131
|
+
* are both one state and neither is a term anybody can map onto a label.
|
|
132
|
+
*/
|
|
133
|
+
stateLabel?: (state: string) => string;
|
|
134
|
+
/** What turning the capability on depends on. See `Offering01Availability`. */
|
|
135
|
+
availability?: Offering01Availability;
|
|
136
|
+
/** The actions that belong to this capability rather than to the page. */
|
|
137
|
+
actions?: ReactNode;
|
|
138
|
+
/** The panel beside the copy: the evidence, the figure, or the caveat list. */
|
|
139
|
+
aside?: ReactNode;
|
|
140
|
+
/**
|
|
141
|
+
* Whether the aside sits beside the copy or under it.
|
|
142
|
+
*
|
|
143
|
+
* A layout prop rather than a `className`, for `Showcase01`'s reason: swapping
|
|
144
|
+
* the panel from one side to the other is a composition decision a page makes
|
|
145
|
+
* repeatedly, and re-deriving it from utility classes at each call site is how a
|
|
146
|
+
* page ends up with two panels on opposite sides and no reason why. The copy is
|
|
147
|
+
* first in the markup on both arrangements, so a reader who never reaches the
|
|
148
|
+
* panel has still read everything the section claims.
|
|
149
|
+
*
|
|
150
|
+
* @defaultValue 'split'
|
|
151
|
+
*/
|
|
152
|
+
layout?: 'stacked' | 'split';
|
|
153
|
+
/**
|
|
154
|
+
* Heading level for the capability's name.
|
|
155
|
+
*
|
|
156
|
+
* Defaults to `h2` because a Block is composed, not a page. See `HeadingLevel`.
|
|
157
|
+
*/
|
|
158
|
+
headingLevel?: HeadingLevel;
|
|
159
|
+
/**
|
|
160
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual property
|
|
161
|
+
* from here is prohibited.
|
|
162
|
+
*/
|
|
163
|
+
className?: string;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* One capability in full, with the state that says whether it can be turned on.
|
|
167
|
+
*
|
|
168
|
+
* **The storefront version of this pattern is a single-product page, and the
|
|
169
|
+
* translation is the whole of the difference.** What that page publishes is an item
|
|
170
|
+
* for sale: a name, a paragraph about it, a table of specifications, a price, a
|
|
171
|
+
* stock reading, and a button that adds it to a basket. Every part of the layout
|
|
172
|
+
* and every part of the accessibility work transfers without a change, because a
|
|
173
|
+
* specification is a description list whichever thing it describes and a stock
|
|
174
|
+
* reading is a status whichever thing is being stocked. What does not transfer is
|
|
175
|
+
* the noun. The thing on the page here is a capability the product offers: a
|
|
176
|
+
* capture source, an agent, a connector, a tier. It is not for sale, it is not in a
|
|
177
|
+
* basket, and the action at the bottom of the page is a decision rather than a
|
|
178
|
+
* transaction. So the slot shapes are the storefront's and the subject is not, and
|
|
179
|
+
* the reading of the state mark is the part that had to be re-thought rather than
|
|
180
|
+
* renamed: on a shop, "out of stock" is the only thing a reader has to be told,
|
|
181
|
+
* and on a product page a capability that is planned, or in preview, or withdrawn
|
|
182
|
+
* is a different fact each with different consequences for the person reading.
|
|
183
|
+
*
|
|
184
|
+
* **A capability that is not built yet is a first-class state here, and that is
|
|
185
|
+
* what this Block exists to say.** The reason it is a separate Item from
|
|
186
|
+
* `Showcase01` is exactly this: a showcase shows what a product does, and this one
|
|
187
|
+
* shows what a product plans to do as well. A design system that offered only
|
|
188
|
+
* available and unavailable would leave a consumer with two bad options for a
|
|
189
|
+
* roadmap item, and both of them are wrong. Drop the state and the capability
|
|
190
|
+
* renders exactly as a built one does, which is the one thing a product page must
|
|
191
|
+
* never do, because a reader who believes a connector exists will plan an estate
|
|
192
|
+
* around it. Leave the capability off the page and the roadmap becomes a slide
|
|
193
|
+
* nobody can find and nobody can link to. So `coming-soon` is in the type, it is
|
|
194
|
+
* drawn in the neutral tone rather than the information tone, and the words beside
|
|
195
|
+
* it are required, because "Planned" and "Shipping in the March release" are two
|
|
196
|
+
* different promises and only the product knows which one it made.
|
|
197
|
+
*
|
|
198
|
+
* **The four states are a closed set and the words are not, and the difference is
|
|
199
|
+
* worth stating because it looks like an inconsistency.** The state chooses the
|
|
200
|
+
* tone from four, so this Block can colour a capability without asking. The
|
|
201
|
+
* `stateLabel` function is the caller's, so the reader reads the product's own
|
|
202
|
+
* vocabulary rather than this package's. `Status` makes the same split at the
|
|
203
|
+
* Component layer and refuses to pick a tone at all; here the Block picks it
|
|
204
|
+
* because a single capability in depth is a fact about one thing and can afford a
|
|
205
|
+
* type that says which four answers exist. The Block that cannot afford it is
|
|
206
|
+
* `OfferingList01`, which takes the state as an open string and maps it by
|
|
207
|
+
* guessing, because a catalogue of forty rows must not refuse to render a row whose
|
|
208
|
+
* state this package has not heard of. Two answers, each right at its own scale,
|
|
209
|
+
* and the difference between them is the count of rows.
|
|
210
|
+
*
|
|
211
|
+
* **The specification is `FactList` and the panel is an `aside`, and neither is
|
|
212
|
+
* re-derived here.** `FactList` is a real `<dl>` with the term before its answer,
|
|
213
|
+
* which is what a specification is and what a table of key and value cells is not:
|
|
214
|
+
* a screen reader announces the term before the answer in one and reads two columns
|
|
215
|
+
* of equal weight in the other. Re-deriving it would put a second answer to "how
|
|
216
|
+
* does a specification read" in one package, and the second answer is always the
|
|
217
|
+
* one that disagrees. The `aside` is complementary content and says so to assistive
|
|
218
|
+
* technology without a `role`, which is the reason it is the element rather than a
|
|
219
|
+
* second column.
|
|
220
|
+
*
|
|
221
|
+
* **The price composes `Price` and the Block adds no currency, no period and no
|
|
222
|
+
* precision.** The size is `lg` and it is the Block's choice rather than the
|
|
223
|
+
* caller's, because a single capability in depth is the one place on a marketing
|
|
224
|
+
* site where the price is a headline figure beside the name and nothing else on
|
|
225
|
+
* the page competes with it. The caller who wants it quieter composes `Price` in
|
|
226
|
+
* the `actions` slot or beside the Block instead, which is the answer
|
|
227
|
+
* `Showcase01`'s own note gives about prices.
|
|
228
|
+
*
|
|
229
|
+
* **The heading is aligned left.** `SectionHeading` states the rule and this
|
|
230
|
+
* section has a body, a specification, a price and a panel under the name, so there
|
|
231
|
+
* is content and the answer is left.
|
|
232
|
+
*
|
|
233
|
+
* It composes `Section` and `SectionHeading`, so it inherits the container and the
|
|
234
|
+
* vertical rhythm rather than re-deriving either, and it adds no container width
|
|
235
|
+
* and no section padding of its own.
|
|
236
|
+
*
|
|
237
|
+
* It is a server Component: no hook, no state, no client code and no motion. It
|
|
238
|
+
* takes a function prop, which a server parent can pass and a client parent cannot
|
|
239
|
+
* hand down without its own boundary; `FieldMap01` and `Project01` take function
|
|
240
|
+
* props the same way, and a consumer who needs this Block inside a client tree
|
|
241
|
+
* wraps it in their own client module rather than patching this one.
|
|
242
|
+
*/
|
|
243
|
+
export declare function Offering01({ eyebrow, name, standfirst, body, facts, price, priceNote, state, stateLabel, availability, actions, aside, layout, headingLevel, className, }: Offering01Props): import("react").JSX.Element;
|
|
244
|
+
export default Offering01;
|
|
245
|
+
//# sourceMappingURL=offering.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offering.d.ts","sourceRoot":"","sources":["../../../src/blocks/offering-01/offering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAIxF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,aAAa,CAAA;AAmCxF;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,uEAAuE;IACvE,EAAE,EAAE,MAAM,CAAA;IACV,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;IACb,2DAA2D;IAC3D,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,iFAAiF;IACjF,KAAK,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,KAAK,EAAE,SAAS,CAAA;IAChB,sFAAsF;IACtF,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;;;OAQG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IACjC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,gFAAgF;IAChF,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACtC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,sBAAsB,CAAA;IACrC,0EAA0E;IAC1E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,KAAK,EACL,KAAK,EACL,SAAS,EACT,KAAK,EACL,UAAU,EACV,YAAY,EACZ,OAAO,EACP,KAAK,EACL,MAAgB,EAChB,YAAmB,EACnB,SAAS,GACV,EAAE,eAAe,+BAqIjB;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { FactList } from '../../components/ui/fact-list.js';
|
|
3
|
+
import { Price } from '../../components/ui/price.js';
|
|
4
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
5
|
+
import { Status } from '../../components/ui/status.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The tone each state is drawn in, mapped rather than passed.
|
|
9
|
+
*
|
|
10
|
+
* `Status` owns the five tones and refuses to pick one, for the reason its own
|
|
11
|
+
* JSDoc states: a status is asked for far more often than a meter and for smaller
|
|
12
|
+
* things, so a Component that coloured itself would be making a claim about the
|
|
13
|
+
* caller's product with the least evidence. This Block has more to go on than a
|
|
14
|
+
* status mark does, which is why it maps rather than refuses, and the mapping is
|
|
15
|
+
* the judgement stated rather than hidden:
|
|
16
|
+
*
|
|
17
|
+
* - `available` is `success`, because a capability that runs is the good news and
|
|
18
|
+
* the dot should look like it.
|
|
19
|
+
* - `in-preview` is `info`, not `warning`. A preview is the ordinary state of a
|
|
20
|
+
* capability between built and trusted, and painting it as a caution would teach
|
|
21
|
+
* readers to ignore the colour. `Compliance01` makes the same call for
|
|
22
|
+
* `in-progress` and gives the same reason.
|
|
23
|
+
* - `coming-soon` is `neutral`, and this is the one worth stopping on. A roadmap
|
|
24
|
+
* item is not an alarm, and `Status` says `neutral` is the tone for a state with
|
|
25
|
+
* nothing to alarm about, which is exactly what a plan is. The alternative was
|
|
26
|
+
* `info`, which reads as though something is happening now, and `warning`, which
|
|
27
|
+
* reads as though something is wrong. A neutral dot beside a caller's own words
|
|
28
|
+
* is the honest shape: nothing is happening yet, and here is what it will be.
|
|
29
|
+
* - `unavailable` is `destructive`, and it is the only member that takes an alarm
|
|
30
|
+
* tone. A withdrawn capability is the one state on this Block a reader may have
|
|
31
|
+
* to act on, because the reader may be holding a page that depends on it.
|
|
32
|
+
*/
|
|
33
|
+
const STATE_TONE = {
|
|
34
|
+
available: 'success',
|
|
35
|
+
'in-preview': 'info',
|
|
36
|
+
'coming-soon': 'neutral',
|
|
37
|
+
unavailable: 'destructive',
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* One capability in full, with the state that says whether it can be turned on.
|
|
41
|
+
*
|
|
42
|
+
* **The storefront version of this pattern is a single-product page, and the
|
|
43
|
+
* translation is the whole of the difference.** What that page publishes is an item
|
|
44
|
+
* for sale: a name, a paragraph about it, a table of specifications, a price, a
|
|
45
|
+
* stock reading, and a button that adds it to a basket. Every part of the layout
|
|
46
|
+
* and every part of the accessibility work transfers without a change, because a
|
|
47
|
+
* specification is a description list whichever thing it describes and a stock
|
|
48
|
+
* reading is a status whichever thing is being stocked. What does not transfer is
|
|
49
|
+
* the noun. The thing on the page here is a capability the product offers: a
|
|
50
|
+
* capture source, an agent, a connector, a tier. It is not for sale, it is not in a
|
|
51
|
+
* basket, and the action at the bottom of the page is a decision rather than a
|
|
52
|
+
* transaction. So the slot shapes are the storefront's and the subject is not, and
|
|
53
|
+
* the reading of the state mark is the part that had to be re-thought rather than
|
|
54
|
+
* renamed: on a shop, "out of stock" is the only thing a reader has to be told,
|
|
55
|
+
* and on a product page a capability that is planned, or in preview, or withdrawn
|
|
56
|
+
* is a different fact each with different consequences for the person reading.
|
|
57
|
+
*
|
|
58
|
+
* **A capability that is not built yet is a first-class state here, and that is
|
|
59
|
+
* what this Block exists to say.** The reason it is a separate Item from
|
|
60
|
+
* `Showcase01` is exactly this: a showcase shows what a product does, and this one
|
|
61
|
+
* shows what a product plans to do as well. A design system that offered only
|
|
62
|
+
* available and unavailable would leave a consumer with two bad options for a
|
|
63
|
+
* roadmap item, and both of them are wrong. Drop the state and the capability
|
|
64
|
+
* renders exactly as a built one does, which is the one thing a product page must
|
|
65
|
+
* never do, because a reader who believes a connector exists will plan an estate
|
|
66
|
+
* around it. Leave the capability off the page and the roadmap becomes a slide
|
|
67
|
+
* nobody can find and nobody can link to. So `coming-soon` is in the type, it is
|
|
68
|
+
* drawn in the neutral tone rather than the information tone, and the words beside
|
|
69
|
+
* it are required, because "Planned" and "Shipping in the March release" are two
|
|
70
|
+
* different promises and only the product knows which one it made.
|
|
71
|
+
*
|
|
72
|
+
* **The four states are a closed set and the words are not, and the difference is
|
|
73
|
+
* worth stating because it looks like an inconsistency.** The state chooses the
|
|
74
|
+
* tone from four, so this Block can colour a capability without asking. The
|
|
75
|
+
* `stateLabel` function is the caller's, so the reader reads the product's own
|
|
76
|
+
* vocabulary rather than this package's. `Status` makes the same split at the
|
|
77
|
+
* Component layer and refuses to pick a tone at all; here the Block picks it
|
|
78
|
+
* because a single capability in depth is a fact about one thing and can afford a
|
|
79
|
+
* type that says which four answers exist. The Block that cannot afford it is
|
|
80
|
+
* `OfferingList01`, which takes the state as an open string and maps it by
|
|
81
|
+
* guessing, because a catalogue of forty rows must not refuse to render a row whose
|
|
82
|
+
* state this package has not heard of. Two answers, each right at its own scale,
|
|
83
|
+
* and the difference between them is the count of rows.
|
|
84
|
+
*
|
|
85
|
+
* **The specification is `FactList` and the panel is an `aside`, and neither is
|
|
86
|
+
* re-derived here.** `FactList` is a real `<dl>` with the term before its answer,
|
|
87
|
+
* which is what a specification is and what a table of key and value cells is not:
|
|
88
|
+
* a screen reader announces the term before the answer in one and reads two columns
|
|
89
|
+
* of equal weight in the other. Re-deriving it would put a second answer to "how
|
|
90
|
+
* does a specification read" in one package, and the second answer is always the
|
|
91
|
+
* one that disagrees. The `aside` is complementary content and says so to assistive
|
|
92
|
+
* technology without a `role`, which is the reason it is the element rather than a
|
|
93
|
+
* second column.
|
|
94
|
+
*
|
|
95
|
+
* **The price composes `Price` and the Block adds no currency, no period and no
|
|
96
|
+
* precision.** The size is `lg` and it is the Block's choice rather than the
|
|
97
|
+
* caller's, because a single capability in depth is the one place on a marketing
|
|
98
|
+
* site where the price is a headline figure beside the name and nothing else on
|
|
99
|
+
* the page competes with it. The caller who wants it quieter composes `Price` in
|
|
100
|
+
* the `actions` slot or beside the Block instead, which is the answer
|
|
101
|
+
* `Showcase01`'s own note gives about prices.
|
|
102
|
+
*
|
|
103
|
+
* **The heading is aligned left.** `SectionHeading` states the rule and this
|
|
104
|
+
* section has a body, a specification, a price and a panel under the name, so there
|
|
105
|
+
* is content and the answer is left.
|
|
106
|
+
*
|
|
107
|
+
* It composes `Section` and `SectionHeading`, so it inherits the container and the
|
|
108
|
+
* vertical rhythm rather than re-deriving either, and it adds no container width
|
|
109
|
+
* and no section padding of its own.
|
|
110
|
+
*
|
|
111
|
+
* It is a server Component: no hook, no state, no client code and no motion. It
|
|
112
|
+
* takes a function prop, which a server parent can pass and a client parent cannot
|
|
113
|
+
* hand down without its own boundary; `FieldMap01` and `Project01` take function
|
|
114
|
+
* props the same way, and a consumer who needs this Block inside a client tree
|
|
115
|
+
* wraps it in their own client module rather than patching this one.
|
|
116
|
+
*/
|
|
117
|
+
export function Offering01({ eyebrow, name, standfirst, body, facts, price, priceNote, state, stateLabel, availability, actions, aside, layout = 'split', headingLevel = 'h2', className, }) {
|
|
118
|
+
if (state !== undefined && stateLabel === undefined) {
|
|
119
|
+
throw new Error('Offering01: the capability declares a state and no stateLabel, so the state would be a coloured dot ' +
|
|
120
|
+
'with nothing to read beside it, which is invisible to a reader who cannot separate the tones and ' +
|
|
121
|
+
'unreadable to a screen reader whatever the tones are. Pass the words your product uses for that ' +
|
|
122
|
+
'state; this Block will not choose between preview and private preview, and it will not print the ' +
|
|
123
|
+
'machine value into a product page.');
|
|
124
|
+
}
|
|
125
|
+
/*
|
|
126
|
+
* The caller's facts, in the shape `FactList` draws. The mapping is one line and
|
|
127
|
+
* it is the reason this Block takes its own `Offering01Fact` rather than
|
|
128
|
+
* importing `Fact`: a fact in a list of capabilities is keyed, because a caller
|
|
129
|
+
* assembling forty of them outside JSX has to name each row to type the array,
|
|
130
|
+
* and `Fact` has no key. `FactList` needs no key of its own because a
|
|
131
|
+
* definition list is not a keyed collection.
|
|
132
|
+
*/
|
|
133
|
+
const specification = (facts ?? []).map((fact) => ({
|
|
134
|
+
label: fact.label,
|
|
135
|
+
value: fact.value,
|
|
136
|
+
}));
|
|
137
|
+
return (_jsx(Section, { "data-slot": "offering-01", className: className, children: _jsxs("div", { "data-slot": "offering-01-body", "data-layout": layout, className: cn('grid items-start gap-10',
|
|
138
|
+
// One column when there is no panel, and one column when the caller asked
|
|
139
|
+
// for the panel underneath, so the two arrangements differ by the track
|
|
140
|
+
// rather than by the order in the markup. The copy stays first in the DOM
|
|
141
|
+
// either way, which is what makes the reading order the same on both.
|
|
142
|
+
aside === undefined ? null : layout === 'split' ? 'lg:grid-cols-2 lg:gap-16' : 'lg:gap-12'), children: [_jsxs("div", { "data-slot": "offering-01-copy", className: "flex min-w-0 flex-col gap-8", children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: name, description: standfirst }), state === undefined || stateLabel === undefined ? null : (_jsx("div", { "data-slot": "offering-01-state", children: _jsx(Status, { tone: STATE_TONE[state], label: stateLabel(state) }) })), body === undefined ? null : (_jsx("div", { "data-slot": "offering-01-prose", className: "text-muted-foreground flex max-w-measure flex-col gap-4 text-pretty", children: body })), _jsx(FactList, { facts: specification }), price === undefined ? null : (_jsxs("div", { "data-slot": "offering-01-price", className: "flex flex-col gap-2", children: [_jsx(Price, { ...price, size: "lg" }), priceNote === undefined ? null : (_jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: priceNote }))] })), availability === undefined ? null : (_jsxs("div", { "data-slot": "offering-01-availability", className: "border-border bg-muted/40 flex flex-col gap-1 rounded-lg border px-4 py-3", children: [_jsx("span", { "data-slot": "offering-01-availability-label", className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: availability.label }), _jsx("span", { "data-slot": "offering-01-availability-value", className: "text-sm font-medium", children: availability.value }), availability.note === undefined ? null : (_jsx("span", { "data-slot": "offering-01-availability-note", className: "text-muted-foreground text-pretty text-xs", children: availability.note }))] })), actions === undefined ? null : (_jsx("div", { "data-slot": "offering-01-actions", className: "flex flex-col gap-3 sm:flex-row", children: actions }))] }), aside === undefined ? null : (_jsx("aside", { "data-slot": "offering-01-aside", className: "min-w-0", children: aside }))] }) }));
|
|
143
|
+
}
|
|
144
|
+
export default Offering01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/offering-categories-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAIrE,YAAY,EACV,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,uBAAuB,CAAA"}
|