@nanisoft/prism-ui 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +3 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.js +4 -4
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1003 -55
- package/package.json +9 -3
|
@@ -14,13 +14,36 @@ import { Input } from '../../components/ui/input.js';
|
|
|
14
14
|
* submit control. It owns no credentials and no request: every field value and
|
|
15
15
|
* the submit handler come from the consumer, and the error line is a prop so
|
|
16
16
|
* the consumer's validation decides when it appears. Every string is a prop.
|
|
17
|
+
*
|
|
18
|
+
* **An error is one message about the submission, and it marks at most one field.**
|
|
19
|
+
* The two are separate decisions because a form-level sentence is usually not about
|
|
20
|
+
* a control at all: bad credentials, a locked account and a rate limit are all
|
|
21
|
+
* things no field is wrong about. The message is drawn in an `Alert`, which
|
|
22
|
+
* announces itself, and the field the caller names in `errorId` carries
|
|
23
|
+
* `aria-invalid`, and every other field carries nothing. Marking them all was the
|
|
24
|
+
* arrangement before, and it told a reader that two fields they had filled in
|
|
25
|
+
* correctly were wrong.
|
|
26
|
+
*
|
|
27
|
+
* **A field's description is drawn under it and referred to by it.** The id is
|
|
28
|
+
* derived from the field's own `id`, which is already the one stable caller-owned
|
|
29
|
+
* string on the field, so the reference costs a template and cannot collide.
|
|
17
30
|
*/
|
|
18
31
|
export function AuthForm01({ title, description, fields, error, remember, submitLabel, pendingLabel, pending = false, onSubmit, footer, headingLevel = 'h2', }) {
|
|
19
32
|
// This Block draws no section heading, so the card title is the one heading it
|
|
20
33
|
// renders and takes the level directly rather than a step below one.
|
|
21
34
|
const Title = headingLevel;
|
|
22
|
-
return (_jsx("form", { onSubmit: onSubmit, className: "w-full", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: _jsx(Title, { children: title }) }), description ? _jsx(CardDescription, { children: description }) : null] }), _jsxs(CardContent, { className: "flex flex-col gap-4", children: [error ? (_jsxs(Alert, { variant: "destructive", children: [_jsx(CircleAlert, {}), _jsx(AlertDescription, { children: error })] })) : null, _jsx(FieldGroup, { children: fields.map((field) =>
|
|
23
|
-
|
|
24
|
-
|
|
35
|
+
return (_jsx("form", { onSubmit: onSubmit, className: "w-full", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: _jsx(Title, { children: title }) }), description ? _jsx(CardDescription, { children: description }) : null] }), _jsxs(CardContent, { className: "flex flex-col gap-4", children: [error ? (_jsxs(Alert, { variant: "destructive", children: [_jsx(CircleAlert, {}), _jsx(AlertDescription, { children: error })] })) : null, _jsx(FieldGroup, { children: fields.map((field) => {
|
|
36
|
+
/*
|
|
37
|
+
* Derived from the field's own id rather than from a `useId`, because
|
|
38
|
+
* `field.id` is already the one stable, caller-owned string on the
|
|
39
|
+
* field and a generated one would have to be threaded through the
|
|
40
|
+
* description and the input to meet itself.
|
|
41
|
+
*/
|
|
42
|
+
const descriptionId = field.description === undefined ? undefined : `${field.id}-description`;
|
|
43
|
+
const marked = error !== undefined && field.errorId === field.id;
|
|
44
|
+
return (_jsxs(Field, { children: [_jsx(FieldLabel, { htmlFor: field.id, children: field.label }), _jsx(Input, { id: field.id, type: field.type ?? 'text', placeholder: field.placeholder, autoComplete: field.autoComplete, value: field.value, defaultValue: field.defaultValue, onChange: field.onChange
|
|
45
|
+
? (event) => field.onChange?.(event.target.value)
|
|
46
|
+
: undefined, required: field.required, disabled: field.disabled, "aria-invalid": marked ? true : undefined, ...(descriptionId === undefined ? null : { 'aria-describedby': descriptionId }) }), field.description === undefined ? null : (_jsx(FieldDescription, { id: descriptionId, children: field.description }))] }, field.id));
|
|
47
|
+
}) }), remember ? (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Checkbox, { id: remember.id, checked: remember.checked, defaultChecked: remember.defaultChecked, onCheckedChange: remember.onCheckedChange, disabled: remember.disabled }), _jsx(FieldLabel, { htmlFor: remember.id, children: remember.label })] })) : null] }), _jsxs(CardFooter, { className: "flex-col gap-3", children: [_jsx(Button, { type: "submit", className: "w-full", disabled: pending, children: pending ? (pendingLabel ?? submitLabel) : submitLabel }), footer] })] }) }));
|
|
25
48
|
}
|
|
26
49
|
export default AuthForm01;
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One recognition: the body that gave it, the organisation they gave it to, the
|
|
5
|
+
* year, and where the record is.
|
|
6
|
+
*
|
|
7
|
+
* The field called `body` is the work, not a sentence describing it. A reader
|
|
8
|
+
* checks the name of the work first, so the work is the anchor of the row and the
|
|
9
|
+
* awarding body and the date are the two facts that sit beside it.
|
|
10
|
+
*/
|
|
11
|
+
export type Awards01Award = {
|
|
12
|
+
/**
|
|
13
|
+
* A stable key for the row.
|
|
14
|
+
*
|
|
15
|
+
* Required, and carried on the markup as `data-award`, so a test can name one
|
|
16
|
+
* recognition rather than the first one and two recognitions in one list are
|
|
17
|
+
* individually addressable. Two bodies can win the same recognition in the
|
|
18
|
+
* same year, which is the case a name used as a key fails on.
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* The work that was recognised, named as the awarding body names it.
|
|
23
|
+
*
|
|
24
|
+
* The anchor of the row and the card title. It is a public claim: a name that
|
|
25
|
+
* is not the body's own spelling of the work reads as a correction of the record.
|
|
26
|
+
*/
|
|
27
|
+
body: string;
|
|
28
|
+
/**
|
|
29
|
+
* The organisation that gave the recognition.
|
|
30
|
+
*
|
|
31
|
+
* Not the body that received it and not the publisher of the list. This is who
|
|
32
|
+
* decided, which is the half of a recognition a reader cannot infer from the
|
|
33
|
+
* name of the work.
|
|
34
|
+
*/
|
|
35
|
+
organisation: string;
|
|
36
|
+
/**
|
|
37
|
+
* The year the recognition was given, as the awarding body writes it.
|
|
38
|
+
*
|
|
39
|
+
* Required, and required by law rather than by habit: see the Block's JSDoc for
|
|
40
|
+
* why an undated award is a logo with words. A body that gives an award every
|
|
41
|
+
* year writes a year, a season or a date. A body that has not published since
|
|
42
|
+
* has not given one, and the honest entry for that is not an award.
|
|
43
|
+
*/
|
|
44
|
+
year: string;
|
|
45
|
+
/**
|
|
46
|
+
* The category or track, when the awarding body splits its recognition into
|
|
47
|
+
* more than one.
|
|
48
|
+
*
|
|
49
|
+
* Rendered as an outlined `Badge` rather than as another line of copy, because
|
|
50
|
+
* a category is a label a reader scans past rather than a sentence they read.
|
|
51
|
+
* The words are the caller's own, since a body names its own tracks.
|
|
52
|
+
*/
|
|
53
|
+
category?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Where the record is.
|
|
56
|
+
*
|
|
57
|
+
* A native anchor `href`, so the whole row is a link with the browser's own
|
|
58
|
+
* affordances. Omit it for a recognition whose record is not public, and the
|
|
59
|
+
* row is then read rather than followed; nothing about a missing destination is
|
|
60
|
+
* inferred.
|
|
61
|
+
*/
|
|
62
|
+
href?: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* The props an Awards01 takes.
|
|
66
|
+
*
|
|
67
|
+
* Every string is a prop and the Block ships none: no body, no year, no category
|
|
68
|
+
* and not one award. A list of recognitions that hardcoded any of them would hand
|
|
69
|
+
* every consumer who installed it a claim about that consumer's own work.
|
|
70
|
+
*/
|
|
71
|
+
export type Awards01Props = {
|
|
72
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
73
|
+
eyebrow?: string;
|
|
74
|
+
/** The section title. Omit it for a list composed under its own heading. */
|
|
75
|
+
title?: ReactNode;
|
|
76
|
+
/** One or two sentences under the title. */
|
|
77
|
+
description?: ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* The recognitions, in the order a reader should meet them.
|
|
80
|
+
*
|
|
81
|
+
* Order is a claim about what the reader should see first, and the Block does
|
|
82
|
+
* not sort. A caller who wants recency has a year on every row and can sort on
|
|
83
|
+
* it in one line of their own code; a Block that sorted would be deciding what
|
|
84
|
+
* a consumer is proudest of.
|
|
85
|
+
*/
|
|
86
|
+
awards: readonly Awards01Award[];
|
|
87
|
+
/**
|
|
88
|
+
* `list` draws hairline rows. `cards` draws a card per recognition with the
|
|
89
|
+
* work as its title.
|
|
90
|
+
*
|
|
91
|
+
* @defaultValue 'list'
|
|
92
|
+
*/
|
|
93
|
+
layout?: 'list' | 'cards';
|
|
94
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
95
|
+
headingLevel?: HeadingLevel;
|
|
96
|
+
/**
|
|
97
|
+
* Layout only, exactly as on every Component. Changing a Prism-owned visual
|
|
98
|
+
* property from here is prohibited.
|
|
99
|
+
*/
|
|
100
|
+
className?: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* A list of recognitions: who gave it, what for, and the year it was given.
|
|
104
|
+
*
|
|
105
|
+
* **This is a separate Item from `logo-cloud-01` because a logo and an award are
|
|
106
|
+
* not the same kind of claim.** A logo is a mark, and a mark says only who works
|
|
107
|
+
* with us, which is a fact about a relationship and one that does not expire. An
|
|
108
|
+
* award is a sentence: a body decided something about a piece of work, on a
|
|
109
|
+
* date, and wrote it down. A consumer can show a mark they were given this
|
|
110
|
+
* morning or a recognition from eleven years ago; they cannot show an award
|
|
111
|
+
* without the year, because the year is the part of the sentence that is a fact
|
|
112
|
+
* about when it was true, and the part that goes out of date. So the date is a
|
|
113
|
+
* required field here, set in the mono face beside the organisation rather than
|
|
114
|
+
* inside the body copy, which is what separates the two Blocks visually as well
|
|
115
|
+
* as factually.
|
|
116
|
+
*
|
|
117
|
+
* **A missing year is a thrown diagnostic, and that is the Block's whole argument.**
|
|
118
|
+
* An award with no date is not an award: it is a logo with words attached, and
|
|
119
|
+
* the words are the half that would let a reader believe it. The date is the part
|
|
120
|
+
* that expires and the part a reader checks, because a recognition has a
|
|
121
|
+
* currency, and an undated one cannot be stale, so it never goes out of date and
|
|
122
|
+
* therefore never has to be withdrawn. A consumer who wants a band of marks
|
|
123
|
+
* already has `logo-cloud-01`, where no date is required because no date is
|
|
124
|
+
* claimed, so there is nothing here for the undated case to fall back on.
|
|
125
|
+
*
|
|
126
|
+
* **`trust-strip-01` is the same content without the date, and it is a different
|
|
127
|
+
* Item because it makes a weaker claim.** The strip is one line, undated,
|
|
128
|
+
* unlinked, and reads as a general assurance, so it can hold "Recognised by
|
|
129
|
+
* leading industry bodies" where a dated record would be a claim nobody has
|
|
130
|
+
* checked. Both are correct and neither is interchangeable: a consumer who swaps
|
|
131
|
+
* one for the other is upgrading an assurance into a record, which is an
|
|
132
|
+
* editorial and legal decision rather than a layout one. So the two Blocks do
|
|
133
|
+
* not merge and neither takes the fields of the other.
|
|
134
|
+
*
|
|
135
|
+
* **A row with a destination is a native anchor and a row without one is not a
|
|
136
|
+
* disabled link.** The whole row is the anchor in the list arrangement and the
|
|
137
|
+
* whole card is the anchor in the cards arrangement, so the destination shows in
|
|
138
|
+
* the status bar, a context menu can copy it and middle click opens it. The card
|
|
139
|
+
* arrangement puts the anchor outside the card rather than inside it, so the
|
|
140
|
+
* focus ring bounds the card rather than the words in it, which is the argument
|
|
141
|
+
* `Item` states in full: a ring around a box that sized itself to its own text is
|
|
142
|
+
* not an indicator.
|
|
143
|
+
*
|
|
144
|
+
* The list arrangement is a `ul`, so a reader hears how many recognitions there
|
|
145
|
+
* are before the first one. A card title is composed at `childLevel(headingLevel)`
|
|
146
|
+
* rather than at a fixed level, so a set embedded one level deeper than it was
|
|
147
|
+
* written for carries its titles with it. An empty set renders nothing, for the
|
|
148
|
+
* reason `ProductSwitcher` and `AvatarGroup` each state: an empty frame is worse
|
|
149
|
+
* than an absent one.
|
|
150
|
+
*
|
|
151
|
+
* It is a server Component: no hook, no state, no client code and no motion
|
|
152
|
+
* beyond the transition on a row that is a link.
|
|
153
|
+
*/
|
|
154
|
+
export declare function Awards01({ eyebrow, title, description, awards, layout, headingLevel, className, }: Awards01Props): import("react").JSX.Element | null;
|
|
155
|
+
export default Awards01;
|
|
156
|
+
//# sourceMappingURL=awards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"awards.d.ts","sourceRoot":"","sources":["../../../src/blocks/awards-01/awards.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAEpG;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;;;OAOG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;OAOG;IACH,MAAM,EAAE,SAAS,aAAa,EAAE,CAAA;IAChC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACzB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAO,EACP,KAAK,EACL,WAAW,EACX,MAAM,EACN,MAAe,EACf,YAAmB,EACnB,SAAS,GACV,EAAE,aAAa,sCAsGf;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Badge } from '../../components/ui/badge.js';
|
|
3
|
+
import { Card, CardHeader, CardTitle } from '../../components/ui/card.js';
|
|
4
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
5
|
+
/**
|
|
6
|
+
* The two facts that sit beside the work: who decided, and when.
|
|
7
|
+
*
|
|
8
|
+
* Two elements rather than one joined string, and the reason is the mono stack.
|
|
9
|
+
* The organisation is the interface face and the year is set in mono, because a
|
|
10
|
+
* year is a machine reading and this system annotates those in mono everywhere
|
|
11
|
+
* else. A single string could not be both, and a year set in the interface face
|
|
12
|
+
* beside a wordmark stops reading as a value. The pair is a `flex` column in the
|
|
13
|
+
* list arrangement and a baseline row in the cards arrangement, and both read in
|
|
14
|
+
* the same order: who, then when, then what for.
|
|
15
|
+
*/
|
|
16
|
+
function AwardAttribution({ organisation, year, }) {
|
|
17
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { "data-slot": "awards-organisation", className: "text-sm font-semibold", children: organisation }), _jsx("span", { "data-slot": "awards-year", className: "text-muted-foreground font-mono text-xs", children: year })] }));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The check that makes this Block an argument rather than a list.
|
|
21
|
+
*
|
|
22
|
+
* A year that is absent or blank throws, and the diagnostic names the reason in
|
|
23
|
+
* the words a developer needs: an undated award is a logo with words attached. A
|
|
24
|
+
* throw rather than a fallback because there is no fallback that is not a claim.
|
|
25
|
+
* An empty year cell is a visible gap in the middle of a public record, and a
|
|
26
|
+
* year this Block invented would be worse than either. Rendering nothing would
|
|
27
|
+
* be quietest and worst, because a consumer who published the page would never
|
|
28
|
+
* learn that their record was incomplete.
|
|
29
|
+
*/
|
|
30
|
+
function assertYear(award) {
|
|
31
|
+
if (typeof award.year !== 'string' || award.year.trim() === '') {
|
|
32
|
+
throw new Error('Awards01: an award declares no year, and an undated award is a logo with words attached. Pass the year ' +
|
|
33
|
+
'the awarding body published, or use a block that makes no dated claim, such as a logo cloud or a trust ' +
|
|
34
|
+
'strip.');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A list of recognitions: who gave it, what for, and the year it was given.
|
|
39
|
+
*
|
|
40
|
+
* **This is a separate Item from `logo-cloud-01` because a logo and an award are
|
|
41
|
+
* not the same kind of claim.** A logo is a mark, and a mark says only who works
|
|
42
|
+
* with us, which is a fact about a relationship and one that does not expire. An
|
|
43
|
+
* award is a sentence: a body decided something about a piece of work, on a
|
|
44
|
+
* date, and wrote it down. A consumer can show a mark they were given this
|
|
45
|
+
* morning or a recognition from eleven years ago; they cannot show an award
|
|
46
|
+
* without the year, because the year is the part of the sentence that is a fact
|
|
47
|
+
* about when it was true, and the part that goes out of date. So the date is a
|
|
48
|
+
* required field here, set in the mono face beside the organisation rather than
|
|
49
|
+
* inside the body copy, which is what separates the two Blocks visually as well
|
|
50
|
+
* as factually.
|
|
51
|
+
*
|
|
52
|
+
* **A missing year is a thrown diagnostic, and that is the Block's whole argument.**
|
|
53
|
+
* An award with no date is not an award: it is a logo with words attached, and
|
|
54
|
+
* the words are the half that would let a reader believe it. The date is the part
|
|
55
|
+
* that expires and the part a reader checks, because a recognition has a
|
|
56
|
+
* currency, and an undated one cannot be stale, so it never goes out of date and
|
|
57
|
+
* therefore never has to be withdrawn. A consumer who wants a band of marks
|
|
58
|
+
* already has `logo-cloud-01`, where no date is required because no date is
|
|
59
|
+
* claimed, so there is nothing here for the undated case to fall back on.
|
|
60
|
+
*
|
|
61
|
+
* **`trust-strip-01` is the same content without the date, and it is a different
|
|
62
|
+
* Item because it makes a weaker claim.** The strip is one line, undated,
|
|
63
|
+
* unlinked, and reads as a general assurance, so it can hold "Recognised by
|
|
64
|
+
* leading industry bodies" where a dated record would be a claim nobody has
|
|
65
|
+
* checked. Both are correct and neither is interchangeable: a consumer who swaps
|
|
66
|
+
* one for the other is upgrading an assurance into a record, which is an
|
|
67
|
+
* editorial and legal decision rather than a layout one. So the two Blocks do
|
|
68
|
+
* not merge and neither takes the fields of the other.
|
|
69
|
+
*
|
|
70
|
+
* **A row with a destination is a native anchor and a row without one is not a
|
|
71
|
+
* disabled link.** The whole row is the anchor in the list arrangement and the
|
|
72
|
+
* whole card is the anchor in the cards arrangement, so the destination shows in
|
|
73
|
+
* the status bar, a context menu can copy it and middle click opens it. The card
|
|
74
|
+
* arrangement puts the anchor outside the card rather than inside it, so the
|
|
75
|
+
* focus ring bounds the card rather than the words in it, which is the argument
|
|
76
|
+
* `Item` states in full: a ring around a box that sized itself to its own text is
|
|
77
|
+
* not an indicator.
|
|
78
|
+
*
|
|
79
|
+
* The list arrangement is a `ul`, so a reader hears how many recognitions there
|
|
80
|
+
* are before the first one. A card title is composed at `childLevel(headingLevel)`
|
|
81
|
+
* rather than at a fixed level, so a set embedded one level deeper than it was
|
|
82
|
+
* written for carries its titles with it. An empty set renders nothing, for the
|
|
83
|
+
* reason `ProductSwitcher` and `AvatarGroup` each state: an empty frame is worse
|
|
84
|
+
* than an absent one.
|
|
85
|
+
*
|
|
86
|
+
* It is a server Component: no hook, no state, no client code and no motion
|
|
87
|
+
* beyond the transition on a row that is a link.
|
|
88
|
+
*/
|
|
89
|
+
export function Awards01({ eyebrow, title, description, awards, layout = 'list', headingLevel = 'h2', className, }) {
|
|
90
|
+
if (awards.length === 0)
|
|
91
|
+
return null;
|
|
92
|
+
const Title = childLevel(headingLevel);
|
|
93
|
+
return (_jsxs(Section, { className: className, children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, layout === 'cards' ? (_jsx("ul", { "data-slot": "awards", "data-layout": layout, className: "grid gap-6 sm:grid-cols-2", children: awards.map((award) => {
|
|
94
|
+
assertYear(award);
|
|
95
|
+
const card = (_jsx(Card, { className: "h-full gap-4 py-6", children: _jsxs(CardHeader, { className: "gap-2.5", children: [_jsx(CardTitle, { as: Title, children: award.body }), _jsx("div", { className: "flex flex-wrap items-baseline gap-x-2 gap-y-1", children: _jsx(AwardAttribution, { organisation: award.organisation, year: award.year }) }), award.category === undefined ? null : (_jsx(Badge, { variant: "outline", children: award.category }))] }) }));
|
|
96
|
+
return (_jsx("li", { "data-slot": "awards-item", "data-award": award.id, className: "h-full", children: award.href === undefined ? (card) : (_jsx("a", { "data-slot": "awards-link", href: award.href, className: "focus-visible:ring-ring block h-full rounded-xl transition-opacity duration-fast ease-out hover:opacity-80 focus-visible:ring-[3px] focus-visible:outline-none", children: card })) }, award.id));
|
|
97
|
+
}) })) : (_jsx("ul", { "data-slot": "awards", "data-layout": layout, className: "flex flex-col", children: awards.map((award) => {
|
|
98
|
+
assertYear(award);
|
|
99
|
+
return (_jsx("li", { "data-slot": "awards-item", "data-award": award.id, className: "border-border border-b first:border-t", children: award.href === undefined ? (_jsxs("div", { className: "flex flex-col gap-1.5 px-2 py-5 sm:flex-row sm:items-baseline sm:gap-6", children: [_jsx("span", { className: "flex shrink-0 flex-col gap-0.5 sm:w-64", children: _jsx(AwardAttribution, { organisation: award.organisation, year: award.year }) }), _jsxs("span", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [_jsx("span", { className: "text-pretty text-sm", children: award.body }), award.category === undefined ? null : (_jsx(Badge, { variant: "outline", children: award.category }))] })] })) : (_jsxs("a", { "data-slot": "awards-link", href: award.href, className: "hover:bg-accent/50 focus-visible:ring-ring flex flex-col gap-1.5 rounded-sm px-2 py-5 transition-colors duration-fast ease-out focus-visible:ring-[3px] focus-visible:outline-none sm:flex-row sm:items-baseline sm:gap-6", children: [_jsx("span", { className: "flex shrink-0 flex-col gap-0.5 sm:w-64", children: _jsx(AwardAttribution, { organisation: award.organisation, year: award.year }) }), _jsxs("span", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [_jsx("span", { className: "text-pretty text-sm", children: award.body }), award.category === undefined ? null : (_jsx(Badge, { variant: "outline", children: award.category }))] })] })) }, award.id));
|
|
100
|
+
}) }))] }));
|
|
101
|
+
}
|
|
102
|
+
export default Awards01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/awards-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAK5C,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Awards01, default } from './awards.js';
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The cycles a backdrop can run, named for the mechanism and not for a length.
|
|
5
|
+
*
|
|
6
|
+
* Seven members and six are the cycles the ambient scale authors in the token
|
|
7
|
+
* package. `rise` is the seventh because the stylesheet publishes a class for it
|
|
8
|
+
* beside the other six and a Block that offered six of seven would be making the
|
|
9
|
+
* caller find the seventh some other way.
|
|
10
|
+
*
|
|
11
|
+
* The value is the caller's choice and the names are Prism's, and that is the
|
|
12
|
+
* right way round. A field is which mechanism the reader is watching, which is a
|
|
13
|
+
* decision about the claim the figure makes; a length is which token prices it,
|
|
14
|
+
* and the stylesheet has already resolved that from `var(--ambient-*)`. Naming a
|
|
15
|
+
* keyframe in a shorthand with a length attached is what this set exists to make
|
|
16
|
+
* unnecessary, and a `duration` prop here would put the length back in a Block's
|
|
17
|
+
* source where a token owns it.
|
|
18
|
+
*/
|
|
19
|
+
export type Backdrop01Field = 'travel' | 'sweep' | 'drift' | 'scan' | 'pulse' | 'shimmer' | 'rise';
|
|
20
|
+
/**
|
|
21
|
+
* How loud the field is behind the copy, as opacity on the layer that holds it.
|
|
22
|
+
*
|
|
23
|
+
* Two steps, and the names are Prism's while the choice is the caller's, for the
|
|
24
|
+
* same reason the seven cycle names are: which of the two is a decision about
|
|
25
|
+
* contrast between a field and the copy sitting on it, and a decision a Block can
|
|
26
|
+
* make from the two things it can see. The declared union rather than a lookup
|
|
27
|
+
* into the map below, so the emitted declaration the corpus reads says
|
|
28
|
+
* `'subtle' | 'present'` instead of referring to a constant it cannot name.
|
|
29
|
+
*/
|
|
30
|
+
export type Backdrop01Intensity = 'subtle' | 'present';
|
|
31
|
+
/**
|
|
32
|
+
* The props a Backdrop01 takes.
|
|
33
|
+
*
|
|
34
|
+
* Every string is a prop and the Block ships none. There is no band headline, no
|
|
35
|
+
* default cycle, no default intensity sentence and no default pair of button
|
|
36
|
+
* labels, and the absence of the last two is the sharpest version of the rule: a
|
|
37
|
+
* backdrop that hardcoded "Pause" would put an English word on a control in every
|
|
38
|
+
* consumer's product, in every language, with no prop to change it.
|
|
39
|
+
*/
|
|
40
|
+
export type Backdrop01Props = {
|
|
41
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
42
|
+
eyebrow?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The section title. Omit it for a band composed under its own heading, which
|
|
45
|
+
* is the usual case for something placed directly under a hero.
|
|
46
|
+
*/
|
|
47
|
+
title?: ReactNode;
|
|
48
|
+
/** One or two sentences under the title. */
|
|
49
|
+
description?: ReactNode;
|
|
50
|
+
/**
|
|
51
|
+
* The band's own content, composed by the caller.
|
|
52
|
+
*
|
|
53
|
+
* A slot rather than a set of copy props, and the reason is that the content of
|
|
54
|
+
* a band is the only thing about it that Prism cannot know: it is a headline, a
|
|
55
|
+
* paragraph, two actions and a figure in some arrangement, and a Block that
|
|
56
|
+
* took a prop for each would be four arrangements wearing one name. The content
|
|
57
|
+
* sits over the field, which is why the band is a layout and not a template.
|
|
58
|
+
*/
|
|
59
|
+
children: ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* The figure the field runs on, usually a `SignalField` or a `PulseGraph`.
|
|
62
|
+
*
|
|
63
|
+
* Required rather than optional, and the Block draws no figure of its own,
|
|
64
|
+
* because a field of invented marks is the retired line's defect rebuilt: the
|
|
65
|
+
* numbers were never collected and the motion says a system is running. A node
|
|
66
|
+
* is a node the caller named, a reading is a reading the caller holds, and an
|
|
67
|
+
* empty figure is an empty figure. What the Block owns is the layer the figure
|
|
68
|
+
* rides on, which is where a cycle can be applied without the figure having to
|
|
69
|
+
* know it is being animated.
|
|
70
|
+
*/
|
|
71
|
+
figure: ReactNode;
|
|
72
|
+
/**
|
|
73
|
+
* The figure's accessible name, and the only thing a screen reader reads from
|
|
74
|
+
* the field.
|
|
75
|
+
*
|
|
76
|
+
* Required, and the reason this Block is the claim half of the two is on the
|
|
77
|
+
* Component's own JSDoc. See there for why the atmosphere half is not an arm
|
|
78
|
+
* here.
|
|
79
|
+
*/
|
|
80
|
+
label: string;
|
|
81
|
+
/**
|
|
82
|
+
* Which cycle the field runs. See `Backdrop01Field`.
|
|
83
|
+
*
|
|
84
|
+
* Required rather than defaulted, because the cycle is a claim about the figure
|
|
85
|
+
* and only the caller knows what the figure claims. A default would be this
|
|
86
|
+
* Block choosing the mechanism a consumer's own claim gets made by, and a
|
|
87
|
+
* backdrop whose wavefront does not match its subject is a decoration wearing a
|
|
88
|
+
* caption.
|
|
89
|
+
*/
|
|
90
|
+
field: Backdrop01Field;
|
|
91
|
+
/**
|
|
92
|
+
* How loud the field is behind the copy. @defaultValue 'subtle'
|
|
93
|
+
*
|
|
94
|
+
* Opacity on the layer, and the reasoning for it not being a length is on
|
|
95
|
+
* `INTENSITY` above, where the one-second floor is the reason.
|
|
96
|
+
*/
|
|
97
|
+
intensity?: Backdrop01Intensity;
|
|
98
|
+
/**
|
|
99
|
+
* Whether the field is stopped. @defaultValue false
|
|
100
|
+
*
|
|
101
|
+
* The controlled arm. Pass it with `pauseControl={false}` and put the button in
|
|
102
|
+
* `children` when the state belongs to something larger than this band: a
|
|
103
|
+
* dashboard that stops every figure on the page together, or a settings toggle,
|
|
104
|
+
* is one state and several bands, and a state this Block owns would be a second
|
|
105
|
+
* copy of it that disagrees with the first.
|
|
106
|
+
*
|
|
107
|
+
* With `pauseControl` set, the same prop is the value the Block starts from and
|
|
108
|
+
* owns from then on, which is the usual defaultValue arrangement and is
|
|
109
|
+
* documented on the prop because it is the one place a reader of a call site
|
|
110
|
+
* could otherwise be surprised.
|
|
111
|
+
*/
|
|
112
|
+
paused?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Whether the Block draws the pause control. @defaultValue false
|
|
115
|
+
*
|
|
116
|
+
* Off by default because a control on every backdrop is a control on every page
|
|
117
|
+
* a consumer puts one on, and most of those pages have a figure that is worth
|
|
118
|
+
* stopping and no reason to offer it. See the Component JSDoc for why the
|
|
119
|
+
* control is this Block's own button rather than a slot, which is the decision
|
|
120
|
+
* this prop and the two labels after it exist to record.
|
|
121
|
+
*/
|
|
122
|
+
pauseControl?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* The words on the control while the field runs. Required with `pauseControl`.
|
|
125
|
+
*
|
|
126
|
+
* A prop, not a default, for the reason every accessible name in this package
|
|
127
|
+
* is a prop: the control is a sentence a reader hears, every language words
|
|
128
|
+
* stopping differently, and a default here would be an English string in every
|
|
129
|
+
* consumer's product that they cannot translate without forking the library.
|
|
130
|
+
*/
|
|
131
|
+
pauseLabel?: string;
|
|
132
|
+
/**
|
|
133
|
+
* The words on the control while the field is stopped. Required with
|
|
134
|
+
* `pauseControl`.
|
|
135
|
+
*
|
|
136
|
+
* A second prop rather than a second half of the first, because "Pause" and
|
|
137
|
+
* "Play" are not a pair in every language, and because a caller whose control
|
|
138
|
+
* says "Stop the sweep" and "Sweep stopped" is describing a figure rather than
|
|
139
|
+
* naming a transport control.
|
|
140
|
+
*/
|
|
141
|
+
resumeLabel?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Heading level for the section title. @defaultValue 'h2'
|
|
144
|
+
*
|
|
145
|
+
* See `HeadingLevel`.
|
|
146
|
+
*/
|
|
147
|
+
headingLevel?: HeadingLevel;
|
|
148
|
+
/**
|
|
149
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
150
|
+
* property from here is prohibited.
|
|
151
|
+
*/
|
|
152
|
+
className?: string;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* A band with a live field running behind it, and a control that stops the field.
|
|
156
|
+
*
|
|
157
|
+
* **The test that decides whether motion belongs here at all, in the terms this
|
|
158
|
+
* repository uses. Stop the animation. Look at the band. Is the figure still
|
|
159
|
+
* true, and is every mark of it still readable?** If both answers are yes then
|
|
160
|
+
* the movement was emphasis and it belongs on a band, because emphasis is a thing
|
|
161
|
+
* a reader can lose and get back. If stopping it leaves an empty rectangle, then
|
|
162
|
+
* the thing this was built from was never a figure at all. It was a video with
|
|
163
|
+
* extra steps, it is the Component it was built with that is wrong, and no
|
|
164
|
+
* amount of restraint on the Block will turn it back into a drawing. So the
|
|
165
|
+
* question is asked of the figure and not of the band, which is why `figure` is a
|
|
166
|
+
* required slot: a backdrop is a frame for somebody else's drawing, and the only
|
|
167
|
+
* claim this Item makes is that the drawing survives being still.
|
|
168
|
+
*
|
|
169
|
+
* **Which of the two figures this Block is, and why it refuses to decide for the
|
|
170
|
+
* caller.** The motion law sorts figures into two, and the two are different
|
|
171
|
+
* things rather than one thing with a flag. A figure that carries a claim has to
|
|
172
|
+
* name itself to a screen reader, because the claim is the whole of what it is
|
|
173
|
+
* for, and `PulseGraph` and `PulseSeries` both require a label for that reason. A
|
|
174
|
+
* figure that is atmosphere names nothing, because a field of dots is not
|
|
175
|
+
* information and a screen reader being made to read one is a cost with no reader
|
|
176
|
+
* attached, and `SignalField` is `aria-hidden` by default for exactly that
|
|
177
|
+
* reason. This Block is the **claim** half: `label` is required and the field
|
|
178
|
+
* layer publishes it, so a caller who has a claim to make has a name for it here
|
|
179
|
+
* and never has to reach past the band. What it will not do is grow a
|
|
180
|
+
* `decorative` arm for the other half, and the reason is specific rather than
|
|
181
|
+
* cautious: the figure is the caller's and the caller's figure has already
|
|
182
|
+
* answered the question. `SignalField` arrives `aria-hidden` and `PulseGraph`
|
|
183
|
+
* arrives named, so a `decorative` prop here would be a second answer to a
|
|
184
|
+
* question two Components have already answered, and the disagreement between
|
|
185
|
+
* them would be invisible in the rendered result and audible in a screen reader.
|
|
186
|
+
* The atmosphere half is not missing from this system. It is `SignalField` with
|
|
187
|
+
* nothing passed, which is the cheapest way to draw it and needs no flag here.
|
|
188
|
+
*
|
|
189
|
+
* **Intensity is opacity on a wrapper, and that is the whole of the decision.**
|
|
190
|
+
* It is not a new token and not a new keyframe, and it is not a length. A length
|
|
191
|
+
* would be the failure the ambient scale was built to close: a cycle measured in
|
|
192
|
+
* hundreds of milliseconds is a flicker, the emitted-contract test fails every
|
|
193
|
+
* `ambient` member below 1000ms and says so in the failure, and an intensity that
|
|
194
|
+
* scaled the cycle would let a caller reach that floor by asking for a brighter
|
|
195
|
+
* backdrop. A demonstration that reads as a flicker is the one outcome the floor
|
|
196
|
+
* exists to prevent, so the second axis is the only one left that cannot produce
|
|
197
|
+
* it. What the prop actually decides is how present the field is behind the copy,
|
|
198
|
+
* which is a question about contrast between two things on one surface and
|
|
199
|
+
* nothing to do with time.
|
|
200
|
+
*
|
|
201
|
+
* **The pause control is a real button, and its two labels are props.** That is
|
|
202
|
+
* the decision, and the reason to state it is the alternative:
|
|
203
|
+
* `prism-ambient-paused` is a published utility in the one stylesheet, and it is
|
|
204
|
+
* published rather than left to each consumer because the alternative is four
|
|
205
|
+
* products each writing their own stop mechanism and at least one of them getting
|
|
206
|
+
* it wrong in the specific way of restarting the cycle when the figure scrolls
|
|
207
|
+
* back into view. So the stop mechanism is one class, in one place, and the thing
|
|
208
|
+
* that puts it on is this control. The two labels are the caller's because they
|
|
209
|
+
* are the sentences a reader hears, and because a band whose button says "Pause"
|
|
210
|
+
* in a product whose language has no word for pausing is a control the consumer
|
|
211
|
+
* cannot fix without forking the library. The Block throws without them rather
|
|
212
|
+
* than shipping an English button, for the same reason `InstrumentPanel01` throws
|
|
213
|
+
* on a state with no words beside it.
|
|
214
|
+
*
|
|
215
|
+
* **It is a client Component, and the rejected alternative is the interesting
|
|
216
|
+
* part.** The pause is state, so the module carries `'use client'`, and the
|
|
217
|
+
* first answer considered was to keep this a server Component and take the
|
|
218
|
+
* control as a `ReactNode` slot. That would have been wrong for a specific
|
|
219
|
+
* reason rather than a stylistic one, and the props are where the reason shows.
|
|
220
|
+
* `pauseControl` is a boolean and `pauseLabel` and `resumeLabel` are two
|
|
221
|
+
* strings, so a slot is not merely rejected, it is inexpressible: those three
|
|
222
|
+
* props describe a control this Block draws, and a Block that handed the button
|
|
223
|
+
* back would be asking the caller for a different set of props and getting a
|
|
224
|
+
* second decision about whether the stop mechanism exists at all. A slot hands
|
|
225
|
+
* the stop mechanism back to the consumer, which is exactly what publishing
|
|
226
|
+
* `prism-ambient-paused` was meant to stop, and it would have put two more
|
|
227
|
+
* invented sentences in front of every call site, so forty call sites would be
|
|
228
|
+
* forty chances to write "Pause animation" in English. A slot is the right
|
|
229
|
+
* shape for a control the consumer owns, such as a range selector or a
|
|
230
|
+
* fullscreen toggle, and the wrong shape for the one control whose entire
|
|
231
|
+
* behaviour is this Block's own published class. The cost of the client
|
|
232
|
+
* boundary is real and worth naming: the module is measured by
|
|
233
|
+
* `check-client-budget`, and a consumer who does not want the button can leave
|
|
234
|
+
* `pauseControl` off and never instantiate the state. The caller's `children`
|
|
235
|
+
* and `figure` cross the boundary as slots, so a server-rendered figure stays
|
|
236
|
+
* server-rendered and this band costs a consumer the module and not the
|
|
237
|
+
* drawing.
|
|
238
|
+
*
|
|
239
|
+
* **Nothing here is hidden and nothing waits for a script.** No rule in the
|
|
240
|
+
* ambient layer sets a resting `opacity: 0` and no figure this Block wraps waits
|
|
241
|
+
* for an intersection, a timer or a frame, so the band is complete and legible at
|
|
242
|
+
* first paint, to a reader with scripting off, in a print stylesheet, and to a
|
|
243
|
+
* crawler. The `prefers-reduced-motion` block in the stylesheet is one
|
|
244
|
+
* `animation: none`, and because every element's resting state is its full form,
|
|
245
|
+
* that reader gets the same band with the field still drawn. The pause control is
|
|
246
|
+
* the manual equivalent of the same thing, which is why it is a first-class state
|
|
247
|
+
* rather than a prop that hides a wrapper: hiding the wrapper would take the
|
|
248
|
+
* figure with it, and pausing keeps it.
|
|
249
|
+
*
|
|
250
|
+
* **What the cycle suits is the caller's figure, and this Block will not hide
|
|
251
|
+
* that.** `drift` and `pulse` are the two whose resting form is the figure's own
|
|
252
|
+
* full form, so they are safe on any drawing. `travel`, `sweep`, `scan` and
|
|
253
|
+
* `shimmer` carry something *across* a field, which is what the stylesheet says
|
|
254
|
+
* they are for, and a caller who puts one on a figure narrower than the band is
|
|
255
|
+
* asking for a marker to leave. The band clips, so nothing escapes the frame, and
|
|
256
|
+
* a caller who pauses and finds the field thin has learned which cycle their
|
|
257
|
+
* figure wanted. That is the falsifiable test above doing its job, and it is a
|
|
258
|
+
* better outcome than the alternative this Block refused: choosing the cycle for
|
|
259
|
+
* the caller, which is a claim about their figure that a component cannot check.
|
|
260
|
+
*
|
|
261
|
+
* It is a client Component in its entirety, and the only thing in it that needs a
|
|
262
|
+
* client is the pause. The frame, the field layer, the wash and the section
|
|
263
|
+
* around them are server-renderable markup, and the two slots a caller fills
|
|
264
|
+
* cross the boundary rather than dragging their own trees into it.
|
|
265
|
+
*/
|
|
266
|
+
export declare function Backdrop01({ eyebrow, title, description, children, figure, label, field, intensity, paused, pauseControl, pauseLabel, resumeLabel, headingLevel, className, }: Backdrop01Props): import("react").JSX.Element;
|
|
267
|
+
export default Backdrop01;
|
|
268
|
+
//# sourceMappingURL=backdrop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../src/blocks/backdrop-01/backdrop.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAGhD,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGxF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,OAAO,GACP,OAAO,GACP,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,CAAA;AAwBV;;;;;;;;;GASG;AACH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,SAAS,CAAA;AAmBtD;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;;OAQG;IACH,QAAQ,EAAE,SAAS,CAAA;IACnB;;;;;;;;;;OAUG;IACH,MAAM,EAAE,SAAS,CAAA;IACjB;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;;OAQG;IACH,KAAK,EAAE,eAAe,CAAA;IACtB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAA;IAC/B;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EACL,KAAK,EACL,SAAoB,EACpB,MAAc,EACd,YAAoB,EACpB,UAAU,EACV,WAAW,EACX,YAAmB,EACnB,SAAS,GACV,EAAE,eAAe,+BA8FjB;AAED,eAAe,UAAU,CAAA"}
|