@nanisoft/prism-ui 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +3 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.js +4 -4
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1003 -55
- package/package.json +9 -3
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The link arm and the no-link arm of one role, as a union.
|
|
5
|
+
*
|
|
6
|
+
* The same agreement `CaseStudies01` makes, for the same reason: a row whose only
|
|
7
|
+
* link is the job title reads as a title, and the sentence that says what
|
|
8
|
+
* following it does is a claim about the page a reader is about to land on and
|
|
9
|
+
* therefore about whoever wrote that page. So `hrefLabel` is required in the link
|
|
10
|
+
* arm rather than defaulted here.
|
|
11
|
+
*/
|
|
12
|
+
export type CareersRoleLink = {
|
|
13
|
+
/** Where the role goes. Present makes the row carry a link. */
|
|
14
|
+
href: string;
|
|
15
|
+
/** The words on the link, and what following it does. */
|
|
16
|
+
hrefLabel: string;
|
|
17
|
+
/** Opens the destination in a new browsing context, with the matching `rel`. */
|
|
18
|
+
newTab?: boolean;
|
|
19
|
+
} | {
|
|
20
|
+
href?: never;
|
|
21
|
+
hrefLabel?: never;
|
|
22
|
+
newTab?: never;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* One open role: what it is, which team it is in, where it is, how it is worked,
|
|
26
|
+
* and where it is applied for.
|
|
27
|
+
*
|
|
28
|
+
* `title`, `team` and `location` are required, and the reason is the one the
|
|
29
|
+
* whole section turns on. A role list exists so a reader can decide whether a
|
|
30
|
+
* job is worth reading about, and the three fields are the three questions every
|
|
31
|
+
* reader asks before that: what is it, who would I be working with, and where
|
|
32
|
+
* would I be. A row missing any of them is not a role, it is a title with a link,
|
|
33
|
+
* and a page of those is a page a reader has to open every row to evaluate, which
|
|
34
|
+
* is the cost the list was supposed to remove.
|
|
35
|
+
*
|
|
36
|
+
* `pattern` is the working pattern and it is optional, because a company that
|
|
37
|
+
* works in one place everywhere has nothing to add on that axis and a blank would
|
|
38
|
+
* be a lie in the other direction. `postedAt` is a string for the reason
|
|
39
|
+
* `Story01`'s `at` is: a Block ships no formatting, and the honest way to render a
|
|
40
|
+
* date in a caller's own locale and script is `RelativeTime` or the platform's
|
|
41
|
+
* own `Intl`, both of which the caller composes.
|
|
42
|
+
*
|
|
43
|
+
* `closed` is a state and not a removal, and the JSDoc on the Block says why at
|
|
44
|
+
* length. It is the one field here that exists to make the Block say less.
|
|
45
|
+
*/
|
|
46
|
+
export type CareersRole = {
|
|
47
|
+
/** A stable key for the role. */
|
|
48
|
+
id: string;
|
|
49
|
+
/** The role's own title, as it is written in the posting. */
|
|
50
|
+
title: string;
|
|
51
|
+
/** The team the role sits in. */
|
|
52
|
+
team: string;
|
|
53
|
+
/** Where the role is. */
|
|
54
|
+
location: string;
|
|
55
|
+
/** The working pattern, for a company that has more than one. */
|
|
56
|
+
pattern?: string;
|
|
57
|
+
/** A sentence or two about the work, for a page that has room for it. */
|
|
58
|
+
summary?: ReactNode;
|
|
59
|
+
/** When it was posted, already written the way the reader should see it. */
|
|
60
|
+
postedAt?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Marks the role as no longer open, which dims the row and states the caller's
|
|
63
|
+
* `closedLabel` on it. See the Block's JSDoc for why a closed role is rendered
|
|
64
|
+
* rather than filtered out.
|
|
65
|
+
*/
|
|
66
|
+
closed?: boolean;
|
|
67
|
+
} & CareersRoleLink;
|
|
68
|
+
/**
|
|
69
|
+
* The props a Careers01 takes.
|
|
70
|
+
*
|
|
71
|
+
* Every string and every summary is a prop, and the Block ships none: no role, no
|
|
72
|
+
* team, no location and no default "no open roles" sentence. A list that
|
|
73
|
+
* hardcoded its rows would hand every consumer a set of jobs that are not theirs.
|
|
74
|
+
*/
|
|
75
|
+
export type Careers01Props = {
|
|
76
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
77
|
+
eyebrow?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The section title. Required, because a page that lists roles without saying
|
|
80
|
+
* why it exists reads as a job board and not as a company telling a reader
|
|
81
|
+
* what it is working on.
|
|
82
|
+
*/
|
|
83
|
+
title: ReactNode;
|
|
84
|
+
/** One or two sentences under the title. */
|
|
85
|
+
description?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The roles, in the order a reader should meet them. Order is the caller's
|
|
88
|
+
* because it is a claim about which role leads.
|
|
89
|
+
*/
|
|
90
|
+
roles: CareersRole[];
|
|
91
|
+
/**
|
|
92
|
+
* The caller's own team and location controls, rendered above the list.
|
|
93
|
+
*
|
|
94
|
+
* A slot and not a `teams` prop, and the reason is that a filter is a control
|
|
95
|
+
* and this Block ships no behaviour. Narrowing a list to one team means reading
|
|
96
|
+
* which roles are in it and rendering fewer of them, so a `teams` prop here
|
|
97
|
+
* would either filter a copy the Block then no longer owns or need the state
|
|
98
|
+
* that a Block is not allowed to hold. A slot lets the caller compose its own
|
|
99
|
+
* `TagGroup`, its own `Combobox` or a set of `Button`s wired to a query it
|
|
100
|
+
* fetches itself, and the list below it stays a list.
|
|
101
|
+
*/
|
|
102
|
+
filters?: ReactNode;
|
|
103
|
+
/**
|
|
104
|
+
* What a reader sees when the caller's own filter has narrowed the list to
|
|
105
|
+
* nothing. Omit it and an empty list is an empty list.
|
|
106
|
+
*/
|
|
107
|
+
empty?: ReactNode;
|
|
108
|
+
/**
|
|
109
|
+
* The words for a role that is no longer open. Required when any role is
|
|
110
|
+
* closed, because a dimmed row with no explanation is a row a reader cannot
|
|
111
|
+
* tell from a rendering fault.
|
|
112
|
+
*/
|
|
113
|
+
closedLabel?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the roles are rows in a list or cards in a grid.
|
|
116
|
+
*
|
|
117
|
+
* `list` is the default because a role list is read by scanning its left edge:
|
|
118
|
+
* a reader is looking for a title they recognise and the location beside it, and
|
|
119
|
+
* a card per role puts a box between them. `cards` is for a page that has
|
|
120
|
+
* narrowed to a handful of roles, where a card gives the summary and the apply
|
|
121
|
+
* link room a row does not have.
|
|
122
|
+
*/
|
|
123
|
+
variant?: 'list' | 'cards';
|
|
124
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
125
|
+
headingLevel?: HeadingLevel;
|
|
126
|
+
/**
|
|
127
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
128
|
+
* property from here is prohibited.
|
|
129
|
+
*/
|
|
130
|
+
className?: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Open roles: a list where each row carries the role, the team, the location, the
|
|
134
|
+
* working pattern and a link to apply, with a slot for the caller's own filters.
|
|
135
|
+
*
|
|
136
|
+
* **A closed role is rendered dimmed rather than filtered out, and the reason is
|
|
137
|
+
* what a reader learns from each.** A reader who was told a role existed and finds
|
|
138
|
+
* it gone learns nothing at all: the absence is indistinguishable from a mistake,
|
|
139
|
+
* from a pagination bug, or from a company that removes a posting the moment
|
|
140
|
+
* somebody applies. Worse, a list that silently shrinks is a list a reader stops
|
|
141
|
+
* trusting, because a list that can lose a row without saying so is a list whose
|
|
142
|
+
* rows cannot be relied on to be there when a reader comes back. So the row stays,
|
|
143
|
+
* it is dimmed, and the caller's `closedLabel` says what happened. The Block
|
|
144
|
+
* throws when a closed role arrives with no `closedLabel`, because a dimmed row
|
|
145
|
+
* with no words on it is exactly the defect this is fixing: a reader looking at a
|
|
146
|
+
* faded line and given nothing to read about it.
|
|
147
|
+
*
|
|
148
|
+
* **The framing is a recruiting pattern translated, and the claim in this JSDoc is
|
|
149
|
+
* about the pattern rather than about NaniSoft's headcount.** A pipeline that
|
|
150
|
+
* runs needs people watching it, and the pattern every one of these marketing
|
|
151
|
+
* sites wants is the same: here is the work, here is who does it, here is where
|
|
152
|
+
* they sit, and here is the sentence that says what applying does. That is a
|
|
153
|
+
* recruiting page wearing a product's clothes, and a Block that shipped the words
|
|
154
|
+
* would put NaniSoft's own headcount into every consumer's careers page. So the
|
|
155
|
+
* roles, the teams, the locations and the closed label are all props, and the
|
|
156
|
+
* framing is written here and in the Demo where it belongs.
|
|
157
|
+
*
|
|
158
|
+
* **The three required fields are the three questions a reader asks, and requiring
|
|
159
|
+
* them is what makes the list scannable.** What is the job, who would I be working
|
|
160
|
+
* with, and where would I be. A row missing any one of them is a title with a
|
|
161
|
+
* link, and a page of those is a page a reader has to open every row to evaluate,
|
|
162
|
+
* which is the exact cost a list of roles exists to remove. `pattern` and
|
|
163
|
+
* `summary` are optional and additive, so a company with one location and a page
|
|
164
|
+
* with no room for a summary passes neither and the row renders what it has.
|
|
165
|
+
*
|
|
166
|
+
* **`filters` is a slot rather than a `teams` prop, and the reason is that a
|
|
167
|
+
* filter is a control.** Narrowing a list to one team means deciding which roles
|
|
168
|
+
* are in it and rendering fewer of them, so a `teams` prop would either filter a
|
|
169
|
+
* copy the Block then no longer owns, or need the state a Block is not allowed to
|
|
170
|
+
* hold. A `ReactNode` lets the caller compose its own control, wire it to a query
|
|
171
|
+
* it fetches itself, and hand the narrowed list back through `roles`. The cost is
|
|
172
|
+
* that the Block cannot say what happens when the list is empty, which is why
|
|
173
|
+
* `empty` is a prop and not a sentence: the honest empty state for a filtered list
|
|
174
|
+
* is the caller's, because only the caller knows whether the filter or the data is
|
|
175
|
+
* the reason.
|
|
176
|
+
*
|
|
177
|
+
* A role's title is a heading one step below the section, derived rather than
|
|
178
|
+
* written. A summary that runs past three sentences belongs in the posting rather
|
|
179
|
+
* than in a row, because a reader scanning a list is reading titles and locations
|
|
180
|
+
* and a sentence in the middle of that scan is a sentence they skip.
|
|
181
|
+
*
|
|
182
|
+
* It is a server Component: no hook, no state and no client code.
|
|
183
|
+
*/
|
|
184
|
+
export declare function Careers01({ eyebrow, title, description, roles, filters, empty, closedLabel, variant, headingLevel, className, }: Careers01Props): import("react").JSX.Element;
|
|
185
|
+
export default Careers01;
|
|
186
|
+
//# sourceMappingURL=careers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"careers.d.ts","sourceRoot":"","sources":["../../../src/blocks/careers-01/careers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAA;IACZ,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAA;IACjB,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,GAAG;IACF,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,MAAM,CAAC,EAAE,KAAK,CAAA;CACf,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,GAAG,eAAe,CAAA;AAEnB;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAO,EACP,KAAK,EACL,WAAW,EACX,OAAgB,EAChB,YAAmB,EACnB,SAAS,GACV,EAAE,cAAc,+BAuHhB;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardHeader, CardTitle } from '../../components/ui/card.js';
|
|
3
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
4
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
5
|
+
import { cn } from '../../lib/utils.js';
|
|
6
|
+
/**
|
|
7
|
+
* Open roles: a list where each row carries the role, the team, the location, the
|
|
8
|
+
* working pattern and a link to apply, with a slot for the caller's own filters.
|
|
9
|
+
*
|
|
10
|
+
* **A closed role is rendered dimmed rather than filtered out, and the reason is
|
|
11
|
+
* what a reader learns from each.** A reader who was told a role existed and finds
|
|
12
|
+
* it gone learns nothing at all: the absence is indistinguishable from a mistake,
|
|
13
|
+
* from a pagination bug, or from a company that removes a posting the moment
|
|
14
|
+
* somebody applies. Worse, a list that silently shrinks is a list a reader stops
|
|
15
|
+
* trusting, because a list that can lose a row without saying so is a list whose
|
|
16
|
+
* rows cannot be relied on to be there when a reader comes back. So the row stays,
|
|
17
|
+
* it is dimmed, and the caller's `closedLabel` says what happened. The Block
|
|
18
|
+
* throws when a closed role arrives with no `closedLabel`, because a dimmed row
|
|
19
|
+
* with no words on it is exactly the defect this is fixing: a reader looking at a
|
|
20
|
+
* faded line and given nothing to read about it.
|
|
21
|
+
*
|
|
22
|
+
* **The framing is a recruiting pattern translated, and the claim in this JSDoc is
|
|
23
|
+
* about the pattern rather than about NaniSoft's headcount.** A pipeline that
|
|
24
|
+
* runs needs people watching it, and the pattern every one of these marketing
|
|
25
|
+
* sites wants is the same: here is the work, here is who does it, here is where
|
|
26
|
+
* they sit, and here is the sentence that says what applying does. That is a
|
|
27
|
+
* recruiting page wearing a product's clothes, and a Block that shipped the words
|
|
28
|
+
* would put NaniSoft's own headcount into every consumer's careers page. So the
|
|
29
|
+
* roles, the teams, the locations and the closed label are all props, and the
|
|
30
|
+
* framing is written here and in the Demo where it belongs.
|
|
31
|
+
*
|
|
32
|
+
* **The three required fields are the three questions a reader asks, and requiring
|
|
33
|
+
* them is what makes the list scannable.** What is the job, who would I be working
|
|
34
|
+
* with, and where would I be. A row missing any one of them is a title with a
|
|
35
|
+
* link, and a page of those is a page a reader has to open every row to evaluate,
|
|
36
|
+
* which is the exact cost a list of roles exists to remove. `pattern` and
|
|
37
|
+
* `summary` are optional and additive, so a company with one location and a page
|
|
38
|
+
* with no room for a summary passes neither and the row renders what it has.
|
|
39
|
+
*
|
|
40
|
+
* **`filters` is a slot rather than a `teams` prop, and the reason is that a
|
|
41
|
+
* filter is a control.** Narrowing a list to one team means deciding which roles
|
|
42
|
+
* are in it and rendering fewer of them, so a `teams` prop would either filter a
|
|
43
|
+
* copy the Block then no longer owns, or need the state a Block is not allowed to
|
|
44
|
+
* hold. A `ReactNode` lets the caller compose its own control, wire it to a query
|
|
45
|
+
* it fetches itself, and hand the narrowed list back through `roles`. The cost is
|
|
46
|
+
* that the Block cannot say what happens when the list is empty, which is why
|
|
47
|
+
* `empty` is a prop and not a sentence: the honest empty state for a filtered list
|
|
48
|
+
* is the caller's, because only the caller knows whether the filter or the data is
|
|
49
|
+
* the reason.
|
|
50
|
+
*
|
|
51
|
+
* A role's title is a heading one step below the section, derived rather than
|
|
52
|
+
* written. A summary that runs past three sentences belongs in the posting rather
|
|
53
|
+
* than in a row, because a reader scanning a list is reading titles and locations
|
|
54
|
+
* and a sentence in the middle of that scan is a sentence they skip.
|
|
55
|
+
*
|
|
56
|
+
* It is a server Component: no hook, no state and no client code.
|
|
57
|
+
*/
|
|
58
|
+
export function Careers01({ eyebrow, title, description, roles, filters, empty, closedLabel, variant = 'list', headingLevel = 'h2', className, }) {
|
|
59
|
+
// A role's title is a heading one step below the section that introduces the
|
|
60
|
+
// set, so a reader navigating by heading finds the roles under the section that
|
|
61
|
+
// introduces them rather than as a run of siblings of it.
|
|
62
|
+
const Title = childLevel(headingLevel);
|
|
63
|
+
if (roles.some((role) => role.closed) && !closedLabel) {
|
|
64
|
+
throw new Error('Careers01: a role was passed with closed set and no closedLabel, so the row would be dimmed with ' +
|
|
65
|
+
'nothing on it saying why. A reader who was told a role existed and finds a faded row with no words ' +
|
|
66
|
+
'learns less than a page that never showed the role. Pass the words you mean, or drop the flag.');
|
|
67
|
+
}
|
|
68
|
+
const asCards = variant === 'cards';
|
|
69
|
+
return (_jsxs(Section, { children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-10" }), filters ? (_jsx("div", { "data-slot": "careers-01-filters", className: "mb-8", children: filters })) : null, roles.length === 0 ? (empty ? (_jsx("div", { "data-slot": "careers-01-empty", children: empty })) : null) : (_jsx("ul", { "data-slot": "careers-01-roles", "data-variant": variant, className: cn(asCards ? 'grid gap-6 sm:grid-cols-2' : 'flex flex-col', className), children: roles.map((role) => {
|
|
70
|
+
const isLink = role.href !== undefined;
|
|
71
|
+
return (_jsx("li", { "data-slot": "careers-01-role", "data-closed": role.closed ? true : undefined, className: cn(asCards && 'h-full',
|
|
72
|
+
// Dimming is opacity on the whole row rather than a colour on the
|
|
73
|
+
// title, because a closed row is still a real row that a reader
|
|
74
|
+
// can read: the words are the same words, they are just quieter,
|
|
75
|
+
// and a title in a different colour reads as a different kind of
|
|
76
|
+
// role rather than as a role that is no longer open.
|
|
77
|
+
role.closed && 'opacity-60'), children: _jsxs(Card, { className: cn('h-full gap-4 py-5',
|
|
78
|
+
// A row carries its title and its facts on one line, which is
|
|
79
|
+
// what a scan down the left edge needs; a card stacks them.
|
|
80
|
+
!asCards && 'md:flex-row md:items-center md:justify-between md:gap-8'), children: [_jsxs(CardHeader, { className: "gap-2", children: [_jsx(CardTitle, { children: _jsx(Title, { children: role.title }) }), role.summary ? (_jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: role.summary })) : null, _jsxs("div", { "data-slot": "careers-01-facts", className: "text-muted-foreground mt-1 flex flex-wrap items-center gap-x-4 gap-y-1 text-sm", children: [_jsx("span", { "data-slot": "careers-01-team", children: role.team }), _jsx("span", { "data-slot": "careers-01-location", children: role.location }), role.pattern ? (_jsx("span", { "data-slot": "careers-01-pattern", children: role.pattern })) : null, role.postedAt ? (_jsx("span", { "data-slot": "careers-01-posted", className: "font-mono text-xs", children: role.postedAt })) : null] }), role.closed ? (_jsx("span", { "data-slot": "careers-01-closed-label", className: "text-muted-foreground text-xs font-medium", children: closedLabel })) : null] }), isLink ? (_jsx(CardContent, { className: "md:shrink-0", children: _jsx(CtaLink, { href: role.href, newTab: role.newTab, variant: "outline", size: "sm", children: role.hrefLabel }) })) : null] }) }, role.id));
|
|
81
|
+
}) }))] }));
|
|
82
|
+
}
|
|
83
|
+
export default Careers01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/careers-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAM9C,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Careers01, default } from './careers.js';
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One result a customer got: the name of it and the value.
|
|
5
|
+
*
|
|
6
|
+
* The two members are `FactList`'s own `Fact`, and that is not a coincidence to be
|
|
7
|
+
* tidied away later. A case study's results are terms and their answers, not
|
|
8
|
+
* figures in a row, and a definition list announces the term before the value
|
|
9
|
+
* where a set of big numerals does not: a reader who lands on a study with a
|
|
10
|
+
* number they do not recognise needs to know what it is before they can weigh it.
|
|
11
|
+
* Composing `FactList` is also the reason these read the same as the facts
|
|
12
|
+
* elsewhere on a page, which a hand-drawn pair of `dt` and `dd` would not.
|
|
13
|
+
*/
|
|
14
|
+
export type CaseStudyResult = {
|
|
15
|
+
label: ReactNode;
|
|
16
|
+
value: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The link arm and the no-link arm of one study, as a union.
|
|
20
|
+
*
|
|
21
|
+
* A study that names a destination has to be given the sentence that says what
|
|
22
|
+
* following it does, and this is the type that says so. A card whose only link is
|
|
23
|
+
* the customer name reads as a name: the reader sees a company, assumes it is
|
|
24
|
+
* the whole of what is there, and the work behind it is one click away and
|
|
25
|
+
* unmentioned. "Read the case study" is a claim about the page a reader is about
|
|
26
|
+
* to land on, and it belongs to whoever wrote that page, so `hrefLabel` is
|
|
27
|
+
* required in the link arm rather than optional beside it.
|
|
28
|
+
*/
|
|
29
|
+
export type CaseStudyLink = {
|
|
30
|
+
/**
|
|
31
|
+
* Where the study goes. Present makes the card carry a link.
|
|
32
|
+
*/
|
|
33
|
+
href: string;
|
|
34
|
+
/**
|
|
35
|
+
* The words on the link, and the only way a reader learns what following it
|
|
36
|
+
* does.
|
|
37
|
+
*/
|
|
38
|
+
hrefLabel: string;
|
|
39
|
+
/** Opens the destination in a new browsing context, with the matching `rel`. */
|
|
40
|
+
newTab?: boolean;
|
|
41
|
+
} | {
|
|
42
|
+
href?: never;
|
|
43
|
+
hrefLabel?: never;
|
|
44
|
+
newTab?: never;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* One case study: who it was for, what sector they are in, what the situation
|
|
48
|
+
* was, what came of it, and where the full account lives.
|
|
49
|
+
*
|
|
50
|
+
* `customer`, `sector` and `summary` are the same fields `CaseStudy01` takes,
|
|
51
|
+
* spelled identically and with the same meanings, and the reason is the whole of
|
|
52
|
+
* the relationship between the two Blocks. One study is a full band: a reader who
|
|
53
|
+
* has decided to read one about a named customer gets the situation, the approach
|
|
54
|
+
* and the results at length. Many studies are a set of summaries: a reader
|
|
55
|
+
* scanning a grid is choosing between them, and the grid has to hold the same
|
|
56
|
+
* facts at a quarter of the length. Because the fields are the same, a consumer
|
|
57
|
+
* that has a data model for one has it for both, and a study promoted from the
|
|
58
|
+
* grid into its own band is the same record rather than a second shape of record
|
|
59
|
+
* to keep in step. That is the kind of agreement a design system should make and
|
|
60
|
+
* usually does not, and it costs nothing here: the two Blocks draw different
|
|
61
|
+
* arrangements of the same four fields and neither of them owns a field.
|
|
62
|
+
*
|
|
63
|
+
* `id` is a key and not a label, for the reason `Story01` states: a grid of
|
|
64
|
+
* studies is reordered by a consumer as often as it is read, and a key made of
|
|
65
|
+
* the words means a rename in the copy is a rename in the key.
|
|
66
|
+
*/
|
|
67
|
+
export type CaseStudy = {
|
|
68
|
+
id: string;
|
|
69
|
+
/** The customer's own name, spelled as the customer spells it. */
|
|
70
|
+
customer: string;
|
|
71
|
+
/** The sector the customer is in, for a grid that groups or filters by it. */
|
|
72
|
+
sector?: string;
|
|
73
|
+
/** The situation and what was done about it, in a few sentences. */
|
|
74
|
+
summary: ReactNode;
|
|
75
|
+
/** What came of it, as terms and their answers. Composed onto `FactList`. */
|
|
76
|
+
results?: CaseStudyResult[];
|
|
77
|
+
/** A figure of the work, composed by the caller. */
|
|
78
|
+
media?: ReactNode;
|
|
79
|
+
} & CaseStudyLink;
|
|
80
|
+
/** How many studies a grid puts on one line. The tracks, not the study count. */
|
|
81
|
+
export type CaseStudyColumns = 2 | 3;
|
|
82
|
+
/**
|
|
83
|
+
* The props a CaseStudies01 takes.
|
|
84
|
+
*
|
|
85
|
+
* Every string, every result and every figure is a prop and the Block ships none:
|
|
86
|
+
* no customer, no sector, no figure and no placeholder result. A grid that
|
|
87
|
+
* hardcoded its studies would hand every consumer a set of customers that are not
|
|
88
|
+
* theirs, which is a claim about named companies and the worst of the
|
|
89
|
+
* hardcoded-copy family.
|
|
90
|
+
*/
|
|
91
|
+
export type CaseStudies01Props = {
|
|
92
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
93
|
+
eyebrow?: string;
|
|
94
|
+
/** The section title. Omit it for a grid composed under its own heading. */
|
|
95
|
+
title?: string;
|
|
96
|
+
/** One or two sentences under the title. */
|
|
97
|
+
description?: string;
|
|
98
|
+
/**
|
|
99
|
+
* The studies, in the order a reader should meet them. Order is the caller's
|
|
100
|
+
* because it is a claim about which one leads.
|
|
101
|
+
*/
|
|
102
|
+
studies: CaseStudy[];
|
|
103
|
+
/**
|
|
104
|
+
* Whether the studies are cards in a grid or rows in a list.
|
|
105
|
+
*
|
|
106
|
+
* `grid` is the default because a reader scanning a page chooses between
|
|
107
|
+
* studies, and choosing is a comparison that wants the peers visible at once.
|
|
108
|
+
* `list` is for a page that has already narrowed to one sector, where the
|
|
109
|
+
* studies are read one after another rather than compared, and where a full
|
|
110
|
+
* width row per study gives the summary and the figure room two cards do not
|
|
111
|
+
* have.
|
|
112
|
+
*/
|
|
113
|
+
variant?: 'grid' | 'list';
|
|
114
|
+
/**
|
|
115
|
+
* How many studies sit on one line in the `grid` variant. Ignored by `list`,
|
|
116
|
+
* which has one study per line by definition.
|
|
117
|
+
*
|
|
118
|
+
* @defaultValue 2
|
|
119
|
+
*/
|
|
120
|
+
columns?: CaseStudyColumns;
|
|
121
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
122
|
+
headingLevel?: HeadingLevel;
|
|
123
|
+
/**
|
|
124
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
125
|
+
* property from here is prohibited.
|
|
126
|
+
*/
|
|
127
|
+
className?: string;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* A set of case studies as a grid of summaries or a list of rows, each holding
|
|
131
|
+
* the same fields a single-study band holds.
|
|
132
|
+
*
|
|
133
|
+
* **One study and many studies are the same record, and that is the decision
|
|
134
|
+
* worth having made.** The alternative was a `CaseStudy` type declared here that
|
|
135
|
+
* is a narrowed version of the one a single-study band takes, so the grid could
|
|
136
|
+
* hold a shorter summary, a smaller result list and a smaller figure. What that
|
|
137
|
+
* buys is a grid that can be terse; what it costs is a second shape for one
|
|
138
|
+
* concept, so a study promoted from the grid to its own band is a mapping, and
|
|
139
|
+
* two mappings in a consumer's content model are two things that will disagree.
|
|
140
|
+
* So the fields are shared and identical, and the terseness is the caller's
|
|
141
|
+
* choice of length rather than a type the Block enforces. The cost is real: a
|
|
142
|
+
* grid of five studies whose summaries are each the length a full band wants is a
|
|
143
|
+
* grid nobody scans, and the answer is the caller's to give by writing shorter
|
|
144
|
+
* summaries in the shorter place.
|
|
145
|
+
*
|
|
146
|
+
* **The NaniSoft framing is in this JSDoc and in the Demo, and nowhere in the
|
|
147
|
+
* Block.** What these studies are evidence for is a pipeline that runs, a market
|
|
148
|
+
* that is captured rather than reconstructed, an estate that is observed rather
|
|
149
|
+
* than visited, and findings that go to agents that act on them rather than to a
|
|
150
|
+
* queue of tickets. A study is the only place on a marketing page where a claim
|
|
151
|
+
* about a running system is checkable, because it is the only place a named
|
|
152
|
+
* customer and a number sit in the same card. So the customer, the situation and
|
|
153
|
+
* the results are props, and the Demo is where a claim of that kind is actually
|
|
154
|
+
* written, because a Block that shipped one would put a named company and a
|
|
155
|
+
* fabricated reading into every consumer's page.
|
|
156
|
+
*
|
|
157
|
+
* **A link needs a label, and the type is what says so.** `href` without
|
|
158
|
+
* `hrefLabel` would render a card whose only link is the customer name, and a
|
|
159
|
+
* reader meets that as a name rather than as a link to work: the visible text is
|
|
160
|
+
* the company, so the reader assumes the company is all there is, and the study
|
|
161
|
+
* behind it is a click they were never invited to make. The words on the link say
|
|
162
|
+
* what following it does, which is a claim about the destination and therefore
|
|
163
|
+
* about whoever wrote the destination, so the label is required rather than
|
|
164
|
+
* defaulted. The rejected alternative was a label this Block generated, which
|
|
165
|
+
* would have been the same three words in every consumer's product in English.
|
|
166
|
+
*
|
|
167
|
+
* **The results are a `FactList`, and the reason is the reading order.** A
|
|
168
|
+
* result is a term and its answer, and a definition list announces the term
|
|
169
|
+
* before the value. A grid of numerals with a caption under each reverses that,
|
|
170
|
+
* so a reader who lands on a number they do not recognise has to guess its unit
|
|
171
|
+
* before they can weigh it. Composing `FactList` also means a result reads the
|
|
172
|
+
* same on this grid as it does in a plan comparison or a document header, which
|
|
173
|
+
* is a reader learning one thing rather than four.
|
|
174
|
+
*
|
|
175
|
+
* **The list variant puts the figure beside the copy rather than above it, and
|
|
176
|
+
* the order is copy first.** A reader who never sees the figure still reads the
|
|
177
|
+
* customer, the situation and the results, and a screen reader reaches the
|
|
178
|
+
* sentence before the drawing. At every width the copy column comes first in the
|
|
179
|
+
* DOM, so the order is the same on a phone and on a desktop, where a list that
|
|
180
|
+
* moved its figure above its copy on a narrow screen would read as a gallery.
|
|
181
|
+
*
|
|
182
|
+
* The customer name is the card's title, and it is a heading one step below the
|
|
183
|
+
* section, derived rather than written, so a Block embedded one level deeper
|
|
184
|
+
* carries its card titles with it. A summary that runs past four sentences stops
|
|
185
|
+
* being a summary, and the full account belongs in the single-study band rather
|
|
186
|
+
* than in a longer string here.
|
|
187
|
+
*
|
|
188
|
+
* It is a server Component: no hook, no state and no client code.
|
|
189
|
+
*/
|
|
190
|
+
export declare function CaseStudies01({ eyebrow, title, description, studies, variant, columns, headingLevel, className, }: CaseStudies01Props): import("react").JSX.Element;
|
|
191
|
+
export default CaseStudies01;
|
|
192
|
+
//# sourceMappingURL=case-studies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-studies.d.ts","sourceRoot":"","sources":["../../../src/blocks/case-studies-01/case-studies.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;;;;;GAUG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,GAAG;IACF,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,MAAM,CAAC,EAAE,KAAK,CAAA;CACf,CAAA;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAA;IAChB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oEAAoE;IACpE,OAAO,EAAE,SAAS,CAAA;IAClB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;IAC3B,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,GAAG,aAAa,CAAA;AAEjB,iFAAiF;AACjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,CAAC,CAAA;AAepC;;;;;;;;GAQG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,OAAO,EAAE,SAAS,EAAE,CAAA;IACpB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,KAAK,EACL,WAAW,EACX,OAAO,EACP,OAAgB,EAChB,OAAW,EACX,YAAmB,EACnB,SAAS,GACV,EAAE,kBAAkB,+BA8FpB;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardHeader, CardTitle } from '../../components/ui/card.js';
|
|
3
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
4
|
+
import { FactList } from '../../components/ui/fact-list.js';
|
|
5
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The tracks a grid of studies gets, from the caller's own column count.
|
|
9
|
+
*
|
|
10
|
+
* Spelled out per count so a grid has exactly as many tracks as it declared and
|
|
11
|
+
* not one empty at the end of a row. Two is the default because a case study's
|
|
12
|
+
* summary is a paragraph rather than a line, and two paragraphs side by side is
|
|
13
|
+
* the widest arrangement at which both are still read rather than scanned.
|
|
14
|
+
*/
|
|
15
|
+
const TRACKS = {
|
|
16
|
+
2: 'sm:grid-cols-2',
|
|
17
|
+
3: 'sm:grid-cols-2 lg:grid-cols-3',
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* A set of case studies as a grid of summaries or a list of rows, each holding
|
|
21
|
+
* the same fields a single-study band holds.
|
|
22
|
+
*
|
|
23
|
+
* **One study and many studies are the same record, and that is the decision
|
|
24
|
+
* worth having made.** The alternative was a `CaseStudy` type declared here that
|
|
25
|
+
* is a narrowed version of the one a single-study band takes, so the grid could
|
|
26
|
+
* hold a shorter summary, a smaller result list and a smaller figure. What that
|
|
27
|
+
* buys is a grid that can be terse; what it costs is a second shape for one
|
|
28
|
+
* concept, so a study promoted from the grid to its own band is a mapping, and
|
|
29
|
+
* two mappings in a consumer's content model are two things that will disagree.
|
|
30
|
+
* So the fields are shared and identical, and the terseness is the caller's
|
|
31
|
+
* choice of length rather than a type the Block enforces. The cost is real: a
|
|
32
|
+
* grid of five studies whose summaries are each the length a full band wants is a
|
|
33
|
+
* grid nobody scans, and the answer is the caller's to give by writing shorter
|
|
34
|
+
* summaries in the shorter place.
|
|
35
|
+
*
|
|
36
|
+
* **The NaniSoft framing is in this JSDoc and in the Demo, and nowhere in the
|
|
37
|
+
* Block.** What these studies are evidence for is a pipeline that runs, a market
|
|
38
|
+
* that is captured rather than reconstructed, an estate that is observed rather
|
|
39
|
+
* than visited, and findings that go to agents that act on them rather than to a
|
|
40
|
+
* queue of tickets. A study is the only place on a marketing page where a claim
|
|
41
|
+
* about a running system is checkable, because it is the only place a named
|
|
42
|
+
* customer and a number sit in the same card. So the customer, the situation and
|
|
43
|
+
* the results are props, and the Demo is where a claim of that kind is actually
|
|
44
|
+
* written, because a Block that shipped one would put a named company and a
|
|
45
|
+
* fabricated reading into every consumer's page.
|
|
46
|
+
*
|
|
47
|
+
* **A link needs a label, and the type is what says so.** `href` without
|
|
48
|
+
* `hrefLabel` would render a card whose only link is the customer name, and a
|
|
49
|
+
* reader meets that as a name rather than as a link to work: the visible text is
|
|
50
|
+
* the company, so the reader assumes the company is all there is, and the study
|
|
51
|
+
* behind it is a click they were never invited to make. The words on the link say
|
|
52
|
+
* what following it does, which is a claim about the destination and therefore
|
|
53
|
+
* about whoever wrote the destination, so the label is required rather than
|
|
54
|
+
* defaulted. The rejected alternative was a label this Block generated, which
|
|
55
|
+
* would have been the same three words in every consumer's product in English.
|
|
56
|
+
*
|
|
57
|
+
* **The results are a `FactList`, and the reason is the reading order.** A
|
|
58
|
+
* result is a term and its answer, and a definition list announces the term
|
|
59
|
+
* before the value. A grid of numerals with a caption under each reverses that,
|
|
60
|
+
* so a reader who lands on a number they do not recognise has to guess its unit
|
|
61
|
+
* before they can weigh it. Composing `FactList` also means a result reads the
|
|
62
|
+
* same on this grid as it does in a plan comparison or a document header, which
|
|
63
|
+
* is a reader learning one thing rather than four.
|
|
64
|
+
*
|
|
65
|
+
* **The list variant puts the figure beside the copy rather than above it, and
|
|
66
|
+
* the order is copy first.** A reader who never sees the figure still reads the
|
|
67
|
+
* customer, the situation and the results, and a screen reader reaches the
|
|
68
|
+
* sentence before the drawing. At every width the copy column comes first in the
|
|
69
|
+
* DOM, so the order is the same on a phone and on a desktop, where a list that
|
|
70
|
+
* moved its figure above its copy on a narrow screen would read as a gallery.
|
|
71
|
+
*
|
|
72
|
+
* The customer name is the card's title, and it is a heading one step below the
|
|
73
|
+
* section, derived rather than written, so a Block embedded one level deeper
|
|
74
|
+
* carries its card titles with it. A summary that runs past four sentences stops
|
|
75
|
+
* being a summary, and the full account belongs in the single-study band rather
|
|
76
|
+
* than in a longer string here.
|
|
77
|
+
*
|
|
78
|
+
* It is a server Component: no hook, no state and no client code.
|
|
79
|
+
*/
|
|
80
|
+
export function CaseStudies01({ eyebrow, title, description, studies, variant = 'grid', columns = 2, headingLevel = 'h2', className, }) {
|
|
81
|
+
// A study's name is a heading one step below the section that introduces the
|
|
82
|
+
// set, so four names under one section read as four children of it rather than
|
|
83
|
+
// as four competing sections.
|
|
84
|
+
const Title = childLevel(headingLevel);
|
|
85
|
+
const asGrid = variant === 'grid';
|
|
86
|
+
return (_jsxs(Section, { children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, _jsx("ul", { "data-slot": "case-studies-01", "data-variant": variant, className: cn(asGrid ? 'grid gap-6' : 'flex flex-col gap-6', asGrid && TRACKS[columns], className), children: studies.map((study) => {
|
|
87
|
+
const isLink = study.href !== undefined;
|
|
88
|
+
return (_jsx("li", { "data-slot": "case-studies-01-item", className: cn(asGrid && 'h-full'), children: _jsxs(Card, { className: cn('h-full gap-5 py-6',
|
|
89
|
+
// A row in the list variant is one study per line, so the copy
|
|
90
|
+
// and the figure share a single row rather than stacking. The
|
|
91
|
+
// tracks are a fraction rather than a count because the figure
|
|
92
|
+
// is the reader's and its own proportions decide how much room
|
|
93
|
+
// it needs; the copy column is capped rather than the figure.
|
|
94
|
+
!asGrid && 'md:grid md:grid-cols-[minmax(0,3fr)_minmax(0,2fr)] md:gap-8'), children: [_jsxs(CardHeader, { children: [study.sector ? (_jsx("span", { "data-slot": "case-studies-01-sector", className: "text-muted-foreground font-mono text-xs", children: study.sector })) : null, _jsx(CardTitle, { children: _jsx(Title, { children: study.customer }) }), _jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: study.summary })] }), _jsxs(CardContent, { className: "flex flex-col gap-5", children: [study.results && study.results.length > 0 ? (_jsx(FactList, { facts: study.results })) : null, study.media ? (_jsx("div", { "data-slot": "case-studies-01-media", className: "min-w-0", children: study.media })) : null, isLink ? (_jsx(CtaLink, { href: study.href, newTab: study.newTab, variant: "ghost", size: "sm", className: "self-start", children: study.hrefLabel })) : null] })] }) }, study.id));
|
|
95
|
+
}) })] }));
|
|
96
|
+
}
|
|
97
|
+
export default CaseStudies01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/case-studies-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAMvD,YAAY,EACV,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,eAAe,GAChB,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CaseStudies01, default } from './case-studies.js';
|