@nanisoft/prism-ui 0.13.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +22 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +9 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +131 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +33 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +4 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +34 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +24 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/diagram.d.ts +38 -7
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +134 -52
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/fact-list.d.ts +17 -0
- package/dist/components/ui/fact-list.d.ts.map +1 -1
- package/dist/components/ui/fact-list.js +18 -1
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +34 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +41 -1
- package/dist/components/ui/pulse-graph.d.ts +36 -4
- package/dist/components/ui/pulse-graph.d.ts.map +1 -1
- package/dist/components/ui/pulse-graph.js +174 -60
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +110 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +111 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/figure.d.ts +149 -0
- package/dist/lib/figure.d.ts.map +1 -0
- package/dist/lib/figure.js +242 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
- package/dist/live/run-stream-01/run-stream.js +6 -5
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/blog-post-page/index.d.ts +36 -15
- package/dist/pages/blog-post-page/index.d.ts.map +1 -1
- package/dist/pages/blog-post-page/index.js +35 -10
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +126 -16
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +229 -28
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +102 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/not-found-page/index.d.ts.map +1 -1
- package/dist/pages/not-found-page/index.js +4 -3
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1105 -62
- package/package.json +9 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/blocks/services-01/services.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAI9C,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGpG;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,+EAA+E;IAC/E,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;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,IAAI,EAAE,SAAS,CAAA;IACf,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,oEAAoE;IACpE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,iEAAiE;IACjE,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,GAAG,WAAW,CAAA;AAEf;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAA;IAC9B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,OAAiB,EACjB,YAAmB,EACnB,SAAS,GACV,EAAE,eAAe,+BAqGjB;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
* What the product does, as a set of engagements: a title, a body, a list of what
|
|
8
|
+
* the reader gets, and an outcome, optionally numbered.
|
|
9
|
+
*
|
|
10
|
+
* **The NaniSoft framing is in this JSDoc and in the Demo, and nowhere in the
|
|
11
|
+
* Block.** What these engagements are is the work of a system that runs: read the
|
|
12
|
+
* estate, capture the market as it moves, decide what changed, and hand the
|
|
13
|
+
* finding to an agent that can act on it. That is a sequence, which is why the
|
|
14
|
+
* `numbered` variant exists and why the Demo uses it, and it is four `title`s,
|
|
15
|
+
* four `body`s and four deliverables lists at the call site. A Block that shipped
|
|
16
|
+
* them would put one company's way of working into every consumer's services page,
|
|
17
|
+
* and a services page is the page a reader is most likely to believe.
|
|
18
|
+
*
|
|
19
|
+
* **The ordinal is derived from the position, never taken from the item, and that
|
|
20
|
+
* is the whole of why it is safe to show at all.** A list that carried its own
|
|
21
|
+
* numbers is a list whose numbers can disagree with its order after a sort, a
|
|
22
|
+
* filter, a CMS re-publish or an insertion, and nothing in the rendering would
|
|
23
|
+
* catch it: the cards would read `03, 01, 02`. Rendering from the index means the
|
|
24
|
+
* numbers and the order cannot come apart, because they are the same value. The
|
|
25
|
+
* cost of deriving it is that a caller who wants the sequence to start at zero, or
|
|
26
|
+
* to skip a retired engagement, cannot, and the honest way to express that is to
|
|
27
|
+
* filter the list before it reaches the Block, which is a decision a consumer can
|
|
28
|
+
* see in its own data rather than one buried in a `number` field.
|
|
29
|
+
*
|
|
30
|
+
* **It is opt-in because a number on a card claims the set is a sequence, and a
|
|
31
|
+
* set of capabilities usually is not.** An engagement a reader buys is a sequence
|
|
32
|
+
* they can follow, and a page listing four capabilities is a set they are
|
|
33
|
+
* comparing. Numbering the second makes a reader look for the one they are missing
|
|
34
|
+
* and for a reason the numbering does not carry. So `plain` is the default, the
|
|
35
|
+
* numbers are the caller's decision, and the mono face is the same annotation the
|
|
36
|
+
* rest of this system uses for a machine value, which is what a position in a
|
|
37
|
+
* list is.
|
|
38
|
+
*
|
|
39
|
+
* **`deliverables` renders as a real list, and an empty array renders nothing.**
|
|
40
|
+
* A `<ul>` rather than a stack of paragraphs, because a reader checks the set off
|
|
41
|
+
* against their own situation and a list is what can be checked off; the marker is
|
|
42
|
+
* suppressed so the list reads as a set of terms under a heading rather than as
|
|
43
|
+
* bullets competing with the body above it. The empty case is worth stating
|
|
44
|
+
* because the alternative is a heading with nothing under it: an array of zero is a
|
|
45
|
+
* caller who has nothing to promise, and the honest rendering of that is absence
|
|
46
|
+
* rather than a titled gap.
|
|
47
|
+
*
|
|
48
|
+
* **The body, the deliverables and the outcome are three elements and not one,
|
|
49
|
+
* because a reader comparing two engagements reads them in that order and at
|
|
50
|
+
* different speeds.** The body says what the work is, the deliverables say what
|
|
51
|
+
* arrives, and the outcome says what it is for. Merging them gives a card whose
|
|
52
|
+
* last paragraph has to carry the effect as well as the description, and a reader
|
|
53
|
+
* scanning for the effect has to read the description to find it. The cost of
|
|
54
|
+
* three is that a caller with one paragraph to say has to choose which element it
|
|
55
|
+
* is, and choosing is the right pressure.
|
|
56
|
+
*
|
|
57
|
+
* A grid of engagements is three across, so a card holds a title, a body of two or
|
|
58
|
+
* three lines, a list and one line of outcome. A card that needs a fifth element
|
|
59
|
+
* is a page, and `PageHeader01` and this Block composed together is the honest
|
|
60
|
+
* arrangement for it.
|
|
61
|
+
*
|
|
62
|
+
* A service's title is a heading one step below the section, derived rather than
|
|
63
|
+
* written, so a Block embedded one level deeper carries its card titles with it.
|
|
64
|
+
*
|
|
65
|
+
* It is a server Component: no hook, no state and no client code.
|
|
66
|
+
*/
|
|
67
|
+
export function Services01({ eyebrow, title, description, services, variant = 'plain', headingLevel = 'h2', className, }) {
|
|
68
|
+
// A service's title is a heading one step below the section that introduces the
|
|
69
|
+
// set, so four titles under one heading read as four children of it rather than
|
|
70
|
+
// as four competing sections.
|
|
71
|
+
const Title = childLevel(headingLevel);
|
|
72
|
+
const numbered = variant === 'numbered';
|
|
73
|
+
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": "services-01", "data-variant": variant, className: cn('grid gap-6 sm:grid-cols-2 lg:grid-cols-3', className), children: services.map((service, index) => (_jsx("li", { "data-slot": "services-01-item", className: "h-full", children: _jsxs(Card, { className: "h-full gap-4 py-6", children: [_jsxs(CardHeader, { children: [numbered ? (_jsx("span", { "data-slot": "services-01-ordinal", className: "text-muted-foreground font-mono text-xs tabular-nums", children: String(index + 1).padStart(2, '0') })) : null, service.icon ? (_jsx("span", { "data-slot": "services-01-icon", className: "bg-accent text-accent-foreground mb-2 flex size-10 items-center justify-center rounded-lg", children: _jsx(service.icon, { className: "size-5" }) })) : null, _jsx(CardTitle, { children: _jsx(Title, { children: service.title }) }), _jsx("p", { className: "text-muted-foreground text-pretty text-sm", children: service.body })] }), _jsxs(CardContent, { className: "flex flex-col gap-4", children: [service.deliverables && service.deliverables.length > 0 ? (_jsx("ul", { "data-slot": "services-01-deliverables",
|
|
74
|
+
// The markers are suppressed on purpose. A deliverables list is
|
|
75
|
+
// a set of terms under the engagement, and the reader is
|
|
76
|
+
// checking it against their own situation rather than reading
|
|
77
|
+
// a bulleted argument, so the bullets would compete with the
|
|
78
|
+
// body above them for the same attention.
|
|
79
|
+
className: "flex flex-col gap-1.5 text-sm [&>li]:list-none", children: service.deliverables.map((deliverable) => (_jsx("li", { "data-slot": "services-01-deliverable", className: "text-muted-foreground text-pretty", children: deliverable }, deliverable))) })) : null, service.outcome ? (_jsx("p", { "data-slot": "services-01-outcome", className: "border-border border-t pt-4 text-pretty text-sm font-medium", children: service.outcome })) : null, service.href !== undefined ? (_jsx(CtaLink, { href: service.href, newTab: service.newTab, variant: "ghost", size: "sm", className: "self-start", children: service.hrefLabel })) : null] })] }) }, service.id))) })] }));
|
|
80
|
+
}
|
|
81
|
+
export default Services01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/settings-integrations-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAKzE,YAAY,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SettingsIntegrations01, default } from './settings-integrations.js';
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* Where a connection stands, and the four answers that are true.
|
|
5
|
+
*
|
|
6
|
+
* `needs-attention` is the member of this set that a two-state design system does
|
|
7
|
+
* not have, and the Block's JSDoc argues for it at length: an integration that is
|
|
8
|
+
* connected and wrong is the common case, not the exception, and a system offering
|
|
9
|
+
* only connected and available leaves a consumer with exactly one way to render
|
|
10
|
+
* it, which is to draw it as available. That is a lie the reader acts on.
|
|
11
|
+
*/
|
|
12
|
+
export type SettingsIntegrationsState = 'connected' | 'available' | 'needs-attention' | 'unavailable';
|
|
13
|
+
/**
|
|
14
|
+
* One system a workspace connects to, and everything a reader needs to decide
|
|
15
|
+
* what to do about it.
|
|
16
|
+
*
|
|
17
|
+
* The mark is a slot and Prism ships no vendor marks, for the two reasons
|
|
18
|
+
* `integration-01` states in full: a vendor's mark is a licensed asset with terms
|
|
19
|
+
* attached, and a set of marks in a design system is a set of marks that will be
|
|
20
|
+
* wrong within a year.
|
|
21
|
+
*/
|
|
22
|
+
export type SettingsIntegrationsItem = {
|
|
23
|
+
/** A stable key for the row, passed back to `onConnect`, and carried as `data-integration`. */
|
|
24
|
+
id: string;
|
|
25
|
+
/** The system's own name, as the system spells it. */
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* One line about what connecting it gets a reader.
|
|
29
|
+
*
|
|
30
|
+
* A capability and not a description. "Reads process values from every site" is
|
|
31
|
+
* a fact a reader can check by trying it; "a powerful integration for your team"
|
|
32
|
+
* is a sentence about the product, and one of those on every row is a list of
|
|
33
|
+
* sentences.
|
|
34
|
+
*/
|
|
35
|
+
capability: string;
|
|
36
|
+
/** Where the connection stands. Required, because a row with no state cannot be acted on. */
|
|
37
|
+
state: SettingsIntegrationsState;
|
|
38
|
+
/**
|
|
39
|
+
* The words for the state, in the product's own vocabulary.
|
|
40
|
+
*
|
|
41
|
+
* Required whenever `state` is given, which is always, and a thrown diagnostic
|
|
42
|
+
* rather than a silent absence, for the reason `Status` states in full: the
|
|
43
|
+
* tone is a colour and the words are the information, and a row of states with
|
|
44
|
+
* no words is a row of coloured dots that a reader who cannot separate the tones
|
|
45
|
+
* cannot read and a screen reader cannot read at all. A product whose vocabulary
|
|
46
|
+
* says "Reconnect" where another's says "Needs attention" cannot be given one
|
|
47
|
+
* word by a design system.
|
|
48
|
+
*/
|
|
49
|
+
stateLabel?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The system's own mark, composed by the caller.
|
|
52
|
+
*
|
|
53
|
+
* A slot, and one that draws no frame of its own. See the Block's JSDoc for why
|
|
54
|
+
* that is a decision rather than an omission: a mark in this position is very
|
|
55
|
+
* often a `PackSwatch`, which is a fully rounded element carrying a `data-pack`
|
|
56
|
+
* boundary, and a frame with a radius utility around it pins the swatch inside a
|
|
57
|
+
* second shape.
|
|
58
|
+
*/
|
|
59
|
+
mark?: ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* When the connection was made, in whichever of the two forms the caller already
|
|
62
|
+
* has it.
|
|
63
|
+
*
|
|
64
|
+
* A moment rather than a reading, and the reading is `connectedSinceLabel`. The
|
|
65
|
+
* Block prints the value exactly as passed when no formatter is given, which is
|
|
66
|
+
* the arrangement `compliance-01` and `member-list-01` both take and the same
|
|
67
|
+
* cost applies to.
|
|
68
|
+
*/
|
|
69
|
+
connectedSince?: number | string;
|
|
70
|
+
/**
|
|
71
|
+
* The words for the connection date, given the moment.
|
|
72
|
+
*
|
|
73
|
+
* A function because the honest reading is a localised sentence, which is what
|
|
74
|
+
* `relative-time` hands back and what no Block in this package prints on its own.
|
|
75
|
+
*/
|
|
76
|
+
connectedSinceLabel?: (value: number | string) => string;
|
|
77
|
+
/**
|
|
78
|
+
* Where the connection is managed, which is the destination a reader wants
|
|
79
|
+
* before they want to reconnect anything.
|
|
80
|
+
*/
|
|
81
|
+
href?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The words on that link. Required whenever `href` is set, and a thrown
|
|
84
|
+
* diagnostic rather than a silent absence: a link announced by its address is a
|
|
85
|
+
* link no reader can tell from its neighbour.
|
|
86
|
+
*/
|
|
87
|
+
hrefLabel?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The caller's own control for this row, in place of the Block's connect
|
|
90
|
+
* control.
|
|
91
|
+
*
|
|
92
|
+
* A slot and not a variant, because the four states want four different
|
|
93
|
+
* controls and a connected integration usually needs a disconnect or a fix
|
|
94
|
+
* rather than a connect. See the Block's JSDoc for which states draw the
|
|
95
|
+
* Block's own control and which draw this.
|
|
96
|
+
*/
|
|
97
|
+
action?: ReactNode;
|
|
98
|
+
/**
|
|
99
|
+
* The group this integration belongs in, for `groupBy="category"`. Omit it and
|
|
100
|
+
* the integration is not grouped, which is the same state as passing
|
|
101
|
+
* `groupBy="none"`.
|
|
102
|
+
*/
|
|
103
|
+
category?: string;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* The props a SettingsIntegrations01 takes.
|
|
107
|
+
*
|
|
108
|
+
* Every string is a prop and the Block ships none. There is no integration list,
|
|
109
|
+
* no vendor name, no capability, no state word, no mark, no connect sentence and
|
|
110
|
+
* not one of the four sentences a connection surface is most tempted to ship.
|
|
111
|
+
*/
|
|
112
|
+
export type SettingsIntegrations01Props = {
|
|
113
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
114
|
+
eyebrow?: ReactNode;
|
|
115
|
+
/** The section title. Required, because a list of connections with no heading is a fragment. */
|
|
116
|
+
title: ReactNode;
|
|
117
|
+
/** One or two sentences under the title. */
|
|
118
|
+
description?: ReactNode;
|
|
119
|
+
/** The integrations, in the order a reader should meet them. Order is the caller's. */
|
|
120
|
+
integrations: readonly SettingsIntegrationsItem[];
|
|
121
|
+
/**
|
|
122
|
+
* Called when a reader presses the connect control on an available integration.
|
|
123
|
+
*
|
|
124
|
+
* A request and not a mutation, for the reason `settings-notifications-01` and
|
|
125
|
+
* `settings-members-01` both take: the row's state comes from the data, so a
|
|
126
|
+
* control that moved and rolled back would show a reader a connection the
|
|
127
|
+
* product did not make.
|
|
128
|
+
*/
|
|
129
|
+
onConnect?: (id: string) => void;
|
|
130
|
+
/**
|
|
131
|
+
* The words on the connect control, given the integration.
|
|
132
|
+
*
|
|
133
|
+
* Required whenever `onConnect` is set, and a function because the honest
|
|
134
|
+
* sentence usually names the system and sometimes qualifies the action, so a
|
|
135
|
+
* record of one string per state would be the wrong shape. The sentence also
|
|
136
|
+
* has to be distinct per row, because a column of four controls all announced
|
|
137
|
+
* as "Connect" is a column a screen reader user cannot act on.
|
|
138
|
+
*/
|
|
139
|
+
connectLabel?: (integration: {
|
|
140
|
+
id: string;
|
|
141
|
+
name: string;
|
|
142
|
+
}) => string;
|
|
143
|
+
/**
|
|
144
|
+
* Whether the integrations are gathered into the groups they named.
|
|
145
|
+
*
|
|
146
|
+
* @defaultValue 'none'
|
|
147
|
+
*/
|
|
148
|
+
groupBy?: 'none' | 'category';
|
|
149
|
+
/**
|
|
150
|
+
* What the surface shows when there are no integrations.
|
|
151
|
+
*
|
|
152
|
+
* Required, and the reason is the one `settings-members-01` gives: a workspace
|
|
153
|
+
* that has connected to nothing and a workspace whose connections failed to load
|
|
154
|
+
* are not the same page, and a Block that chose between them would be choosing
|
|
155
|
+
* between a true sentence and a false one.
|
|
156
|
+
*/
|
|
157
|
+
empty: ReactNode;
|
|
158
|
+
/** Heading level for the section title. @defaultValue 'h2' */
|
|
159
|
+
headingLevel?: HeadingLevel;
|
|
160
|
+
/**
|
|
161
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
162
|
+
* property from here is prohibited.
|
|
163
|
+
*/
|
|
164
|
+
className?: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* The systems a workspace connects to, one row each, with the state that tells a
|
|
168
|
+
* reader whether anything needs doing and one control that matches that state.
|
|
169
|
+
*
|
|
170
|
+
* **`needs-attention` is the state that makes this Block worth shipping, and the
|
|
171
|
+
* argument is that a two-state design system cannot help a consumer tell the
|
|
172
|
+
* truth.** The common case in every product with integrations is a connection
|
|
173
|
+
* that was made, and has since stopped being right: the token expired, the scope
|
|
174
|
+
* was narrowed, the account was renamed, the vendor changed its API and the
|
|
175
|
+
* integration kept working until it did not. That is not an edge case and it is not
|
|
176
|
+
* a fault, it is the ordinary life of a connection. A design system offering only
|
|
177
|
+
* connected and available gives a consumer exactly one way to draw it, and the one
|
|
178
|
+
* way on offer is `available`, which says to the reader that nothing is wrong and
|
|
179
|
+
* that they may carry on. The reader acts on that: they do not go and look, and the
|
|
180
|
+
* failure they were one click from finding arrives later, in somebody else's part
|
|
181
|
+
* of the product, with no connection to this page. So the state exists here as a
|
|
182
|
+
* first-class member rather than as a tone somebody applies by hand, and the words
|
|
183
|
+
* beside it are the caller's because "Reconnect", "Needs attention" and "Token
|
|
184
|
+
* expired" are three products' honest answers to the same tone.
|
|
185
|
+
*
|
|
186
|
+
* **The tone for it is `warning` and not `destructive`, and that is a judgement
|
|
187
|
+
* about the reader rather than about the severity.** A token that expired last
|
|
188
|
+
* Tuesday is work waiting to be done, and `destructive` on a settings page is the
|
|
189
|
+
* tone for something the reader broke. A page of red connections is a page of
|
|
190
|
+
* alarms that means nothing, and the reader who sees it learns to stop reading the
|
|
191
|
+
* row, which is the opposite of what a state exists to achieve. `unavailable` is
|
|
192
|
+
* `neutral` for the same reason from the other side: a capability that is not
|
|
193
|
+
* offered in this region is not in dispute, and drawing it as though it were turns
|
|
194
|
+
* a commercial fact into an error.
|
|
195
|
+
*
|
|
196
|
+
* **The Block draws a connect control on an available row and nothing on the
|
|
197
|
+
* other three, and the `action` slot is where the other three put theirs.** A
|
|
198
|
+
* control that cannot work is worse than no control: a connect button on an
|
|
199
|
+
* unavailable row is a promise the product will break, and a connect button on a
|
|
200
|
+
* needs-attention row names the wrong action, because the reader does not want to
|
|
201
|
+
* connect a second time, they want to fix a first one. So the Block offers exactly
|
|
202
|
+
* the control its own state implies and hands the rest to the caller, which is
|
|
203
|
+
* why `action` is a slot and not a `variant` string. The cost is stated rather
|
|
204
|
+
* than hidden: a consumer who wants a uniform control down the whole column draws
|
|
205
|
+
* it in the slot for three rows out of four, and the Block will not pretend the
|
|
206
|
+
* fourth is the same.
|
|
207
|
+
*
|
|
208
|
+
* **The mark slot draws no frame, no surface and no radius, and that is a
|
|
209
|
+
* decision about a specific Component.** A mark in this position is very often a
|
|
210
|
+
* `PackSwatch`, which is a fully rounded element carrying a `data-pack` boundary,
|
|
211
|
+
* and the token build resolves the whole radius scale beneath that boundary: a
|
|
212
|
+
* pack changes the corners of everything under it, which is the point. A frame
|
|
213
|
+
* with a radius utility drawn around the slot would pin the swatch inside a second
|
|
214
|
+
* shape, so six packs in a row would show six different silhouettes and the reader
|
|
215
|
+
* comparing them would be comparing the frame rather than the pack. A tinted
|
|
216
|
+
* background is refused for the same reason one shade lighter: it says the mark is
|
|
217
|
+
* a picture, and a swatch is a preview rather than a picture, and the words beside
|
|
218
|
+
* it are already the identity. A caller who wants a framed logo puts a frame in
|
|
219
|
+
* the slot.
|
|
220
|
+
*
|
|
221
|
+
* **A connected row shows when it was connected rather than a control, because
|
|
222
|
+
* the question a reader has about a working connection is how long it has been
|
|
223
|
+
* working.** The alternative was a row of identical management controls down the
|
|
224
|
+
* whole list, which tells a reader nothing they did not know and pushes the row
|
|
225
|
+
* that needs them further down. The date is printed exactly as passed, with
|
|
226
|
+
* `connectedSinceLabel` offered for the caller who has a formatter, and the honest
|
|
227
|
+
* relative reading is a `relative-time` the caller composes. The cost is the one
|
|
228
|
+
* `compliance-01` states for a review date: a caller who passes a raw timestamp
|
|
229
|
+
* gets a raw timestamp, which is honest and rarely what was wanted.
|
|
230
|
+
*
|
|
231
|
+
* **A grouped list still shows the integrations the caller did not group.** They
|
|
232
|
+
* are drawn last, under no title, and the count is on the list element as
|
|
233
|
+
* `data-ungrouped`, because dropping them is the one simplification that produces
|
|
234
|
+
* the worst support question a component can produce: a reader who counted eleven
|
|
235
|
+
* and found ten.
|
|
236
|
+
*
|
|
237
|
+
* It is a client Component, and the directive is unconditional: a surface that
|
|
238
|
+
* attaches a handler owns the JavaScript that carries it, and the directive is on
|
|
239
|
+
* the module rather than in a leaf so a consumer composing a server page gets the
|
|
240
|
+
* boundary in one place they can see. The cost is that with `onConnect` omitted the
|
|
241
|
+
* module is still in the client graph, which was judged worth one boundary rather
|
|
242
|
+
* than two arrangements of the same surface.
|
|
243
|
+
*/
|
|
244
|
+
export declare function SettingsIntegrations01({ eyebrow, title, description, integrations, onConnect, connectLabel, groupBy, empty, headingLevel, className, }: SettingsIntegrations01Props): import("react").JSX.Element;
|
|
245
|
+
export default SettingsIntegrations01;
|
|
246
|
+
//# sourceMappingURL=settings-integrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-integrations.d.ts","sourceRoot":"","sources":["../../../src/blocks/settings-integrations-01/settings-integrations.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,6BAA6B,CAAA;AAIpC;;;;;;;;GAQG;AACH,MAAM,MAAM,yBAAyB,GACjC,WAAW,GACX,WAAW,GACX,iBAAiB,GACjB,aAAa,CAAA;AA2BjB;;;;;;;;GAQG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,+FAA+F;IAC/F,EAAE,EAAE,MAAM,CAAA;IACV,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB,6FAA6F;IAC7F,KAAK,EAAE,yBAAyB,CAAA;IAChC;;;;;;;;;;OAUG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAChC;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACxD;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAiDD;;;;;;GAMG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,gGAAgG;IAChG,KAAK,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,uFAAuF;IACvF,YAAY,EAAE,SAAS,wBAAwB,EAAE,CAAA;IACjD;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAA;IACpE;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC7B;;;;;;;OAOG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAmDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,OAAgB,EAChB,KAAK,EACL,YAAmB,EACnB,SAAS,GACV,EAAE,2BAA2B,+BA4K7B;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Button } from '../../components/ui/button.js';
|
|
4
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
5
|
+
import { Section, SectionHeading, childLevel, } from '../../components/ui/section.js';
|
|
6
|
+
import { Status } from '../../components/ui/status.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* The tone each state is drawn in, from the semantic contract and no other.
|
|
10
|
+
*
|
|
11
|
+
* Mapped here rather than passed, for the reason `Status` gives for refusing to
|
|
12
|
+
* pick a tone itself: the tone is a judgement about urgency and only the caller
|
|
13
|
+
* can make it, but the mapping from a state to a tone is a judgement this Block
|
|
14
|
+
* can make once and every consumer would otherwise make the same way. So the
|
|
15
|
+
* mapping is stated and the words are not.
|
|
16
|
+
*
|
|
17
|
+
* `needs-attention` is `warning` and not `destructive`, and the reason is the one
|
|
18
|
+
* `member-list-01` gives for a colleague who is away: a token that expired last
|
|
19
|
+
* Tuesday is work waiting to be done, not a fault, and `destructive` on a settings
|
|
20
|
+
* page is the tone for something the reader broke. A page of red integrations is a
|
|
21
|
+
* page of alarms that means nothing, and the reader who sees it learns to skip the
|
|
22
|
+
* row. `unavailable` is `neutral` rather than `destructive` for the same reason
|
|
23
|
+
* from the other side: a capability that is not offered in this region is not in
|
|
24
|
+
* dispute, and drawing it as though it were turns a commercial fact into an error.
|
|
25
|
+
*/
|
|
26
|
+
const STATE_TONE = {
|
|
27
|
+
connected: 'success',
|
|
28
|
+
available: 'info',
|
|
29
|
+
'needs-attention': 'warning',
|
|
30
|
+
unavailable: 'neutral',
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The caller's integrations, gathered into the groups they named.
|
|
34
|
+
*
|
|
35
|
+
* First appearance sets the order rather than an alphabet, on the same argument
|
|
36
|
+
* every list in this package takes: order is a claim about what matters first,
|
|
37
|
+
* and an alphabetically sorted set of categories is a claim this Block would be
|
|
38
|
+
* making for the caller about a taxonomy the Block has never seen. A category
|
|
39
|
+
* whose name was passed by two rows that are not adjacent is one group, because
|
|
40
|
+
* grouping by name is the only thing that can be right.
|
|
41
|
+
*/
|
|
42
|
+
function groupOf(integrations) {
|
|
43
|
+
const groups = [];
|
|
44
|
+
const byName = new Map();
|
|
45
|
+
for (const integration of integrations) {
|
|
46
|
+
if (integration.category === undefined)
|
|
47
|
+
continue;
|
|
48
|
+
const existing = byName.get(integration.category);
|
|
49
|
+
if (existing !== undefined) {
|
|
50
|
+
existing.items.push(integration);
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
const group = {
|
|
54
|
+
id: integration.category,
|
|
55
|
+
name: integration.category,
|
|
56
|
+
items: [integration],
|
|
57
|
+
};
|
|
58
|
+
byName.set(integration.category, group);
|
|
59
|
+
groups.push(group);
|
|
60
|
+
}
|
|
61
|
+
const loose = integrations.filter((integration) => integration.category === undefined);
|
|
62
|
+
if (loose.length > 0) {
|
|
63
|
+
groups.push({ id: 'ungrouped', items: loose });
|
|
64
|
+
}
|
|
65
|
+
return groups;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The refusals, so that a connections surface never renders a control or a word
|
|
69
|
+
* it cannot justify.
|
|
70
|
+
*
|
|
71
|
+
* A state with no words, a link with no name, a connect handler with no sentence
|
|
72
|
+
* on the control, and a sentence on a control whose handler is not there. Each is
|
|
73
|
+
* a caller's mistake rather than a request.
|
|
74
|
+
*/
|
|
75
|
+
function assertProps(props) {
|
|
76
|
+
const { integrations, onConnect, connectLabel } = props;
|
|
77
|
+
if (onConnect !== undefined && connectLabel === undefined) {
|
|
78
|
+
throw new Error('SettingsIntegrations01: onConnect was passed with no connectLabel, so every control would be announced ' +
|
|
79
|
+
'by the same word and a reader would be told which system to press by nothing. Pass the function that ' +
|
|
80
|
+
'names the system.');
|
|
81
|
+
}
|
|
82
|
+
if (onConnect === undefined && connectLabel !== undefined) {
|
|
83
|
+
throw new Error('SettingsIntegrations01: connectLabel was passed with no onConnect, so the sentences would be composed ' +
|
|
84
|
+
'and then discarded, which is a caller who believes they have named the controls on a surface that has ' +
|
|
85
|
+
'none.');
|
|
86
|
+
}
|
|
87
|
+
for (const integration of integrations) {
|
|
88
|
+
if (integration.stateLabel === undefined || integration.stateLabel.trim() === '') {
|
|
89
|
+
throw new Error(`SettingsIntegrations01: the integration ${JSON.stringify(integration.name)} declares a state and no ` +
|
|
90
|
+
'words for it, so the row would be a coloured dot with nothing to read beside it. Pass stateLabel in ' +
|
|
91
|
+
'the vocabulary your product uses, which is not this Block to choose.');
|
|
92
|
+
}
|
|
93
|
+
if (integration.href !== undefined && (integration.hrefLabel === undefined || integration.hrefLabel.trim() === '')) {
|
|
94
|
+
throw new Error(`SettingsIntegrations01: the integration ${JSON.stringify(integration.name)} carries an href with no ` +
|
|
95
|
+
'hrefLabel, so the link would be announced by its address, which is punctuation rather than a name.');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The systems a workspace connects to, one row each, with the state that tells a
|
|
101
|
+
* reader whether anything needs doing and one control that matches that state.
|
|
102
|
+
*
|
|
103
|
+
* **`needs-attention` is the state that makes this Block worth shipping, and the
|
|
104
|
+
* argument is that a two-state design system cannot help a consumer tell the
|
|
105
|
+
* truth.** The common case in every product with integrations is a connection
|
|
106
|
+
* that was made, and has since stopped being right: the token expired, the scope
|
|
107
|
+
* was narrowed, the account was renamed, the vendor changed its API and the
|
|
108
|
+
* integration kept working until it did not. That is not an edge case and it is not
|
|
109
|
+
* a fault, it is the ordinary life of a connection. A design system offering only
|
|
110
|
+
* connected and available gives a consumer exactly one way to draw it, and the one
|
|
111
|
+
* way on offer is `available`, which says to the reader that nothing is wrong and
|
|
112
|
+
* that they may carry on. The reader acts on that: they do not go and look, and the
|
|
113
|
+
* failure they were one click from finding arrives later, in somebody else's part
|
|
114
|
+
* of the product, with no connection to this page. So the state exists here as a
|
|
115
|
+
* first-class member rather than as a tone somebody applies by hand, and the words
|
|
116
|
+
* beside it are the caller's because "Reconnect", "Needs attention" and "Token
|
|
117
|
+
* expired" are three products' honest answers to the same tone.
|
|
118
|
+
*
|
|
119
|
+
* **The tone for it is `warning` and not `destructive`, and that is a judgement
|
|
120
|
+
* about the reader rather than about the severity.** A token that expired last
|
|
121
|
+
* Tuesday is work waiting to be done, and `destructive` on a settings page is the
|
|
122
|
+
* tone for something the reader broke. A page of red connections is a page of
|
|
123
|
+
* alarms that means nothing, and the reader who sees it learns to stop reading the
|
|
124
|
+
* row, which is the opposite of what a state exists to achieve. `unavailable` is
|
|
125
|
+
* `neutral` for the same reason from the other side: a capability that is not
|
|
126
|
+
* offered in this region is not in dispute, and drawing it as though it were turns
|
|
127
|
+
* a commercial fact into an error.
|
|
128
|
+
*
|
|
129
|
+
* **The Block draws a connect control on an available row and nothing on the
|
|
130
|
+
* other three, and the `action` slot is where the other three put theirs.** A
|
|
131
|
+
* control that cannot work is worse than no control: a connect button on an
|
|
132
|
+
* unavailable row is a promise the product will break, and a connect button on a
|
|
133
|
+
* needs-attention row names the wrong action, because the reader does not want to
|
|
134
|
+
* connect a second time, they want to fix a first one. So the Block offers exactly
|
|
135
|
+
* the control its own state implies and hands the rest to the caller, which is
|
|
136
|
+
* why `action` is a slot and not a `variant` string. The cost is stated rather
|
|
137
|
+
* than hidden: a consumer who wants a uniform control down the whole column draws
|
|
138
|
+
* it in the slot for three rows out of four, and the Block will not pretend the
|
|
139
|
+
* fourth is the same.
|
|
140
|
+
*
|
|
141
|
+
* **The mark slot draws no frame, no surface and no radius, and that is a
|
|
142
|
+
* decision about a specific Component.** A mark in this position is very often a
|
|
143
|
+
* `PackSwatch`, which is a fully rounded element carrying a `data-pack` boundary,
|
|
144
|
+
* and the token build resolves the whole radius scale beneath that boundary: a
|
|
145
|
+
* pack changes the corners of everything under it, which is the point. A frame
|
|
146
|
+
* with a radius utility drawn around the slot would pin the swatch inside a second
|
|
147
|
+
* shape, so six packs in a row would show six different silhouettes and the reader
|
|
148
|
+
* comparing them would be comparing the frame rather than the pack. A tinted
|
|
149
|
+
* background is refused for the same reason one shade lighter: it says the mark is
|
|
150
|
+
* a picture, and a swatch is a preview rather than a picture, and the words beside
|
|
151
|
+
* it are already the identity. A caller who wants a framed logo puts a frame in
|
|
152
|
+
* the slot.
|
|
153
|
+
*
|
|
154
|
+
* **A connected row shows when it was connected rather than a control, because
|
|
155
|
+
* the question a reader has about a working connection is how long it has been
|
|
156
|
+
* working.** The alternative was a row of identical management controls down the
|
|
157
|
+
* whole list, which tells a reader nothing they did not know and pushes the row
|
|
158
|
+
* that needs them further down. The date is printed exactly as passed, with
|
|
159
|
+
* `connectedSinceLabel` offered for the caller who has a formatter, and the honest
|
|
160
|
+
* relative reading is a `relative-time` the caller composes. The cost is the one
|
|
161
|
+
* `compliance-01` states for a review date: a caller who passes a raw timestamp
|
|
162
|
+
* gets a raw timestamp, which is honest and rarely what was wanted.
|
|
163
|
+
*
|
|
164
|
+
* **A grouped list still shows the integrations the caller did not group.** They
|
|
165
|
+
* are drawn last, under no title, and the count is on the list element as
|
|
166
|
+
* `data-ungrouped`, because dropping them is the one simplification that produces
|
|
167
|
+
* the worst support question a component can produce: a reader who counted eleven
|
|
168
|
+
* and found ten.
|
|
169
|
+
*
|
|
170
|
+
* It is a client Component, and the directive is unconditional: a surface that
|
|
171
|
+
* attaches a handler owns the JavaScript that carries it, and the directive is on
|
|
172
|
+
* the module rather than in a leaf so a consumer composing a server page gets the
|
|
173
|
+
* boundary in one place they can see. The cost is that with `onConnect` omitted the
|
|
174
|
+
* module is still in the client graph, which was judged worth one boundary rather
|
|
175
|
+
* than two arrangements of the same surface.
|
|
176
|
+
*/
|
|
177
|
+
export function SettingsIntegrations01({ eyebrow, title, description, integrations, onConnect, connectLabel, groupBy = 'none', empty, headingLevel = 'h2', className, }) {
|
|
178
|
+
assertProps({ integrations, onConnect, connectLabel });
|
|
179
|
+
// A group is a group inside the section, so its name is one level below the
|
|
180
|
+
// section's own heading. The rows carry no headings of their own: a row's name
|
|
181
|
+
// is a label on a record rather than a section of the page, and eight headings
|
|
182
|
+
// in a list of connections is eight entries for a reader navigating by heading
|
|
183
|
+
// who expected sections.
|
|
184
|
+
const GroupTitle = childLevel(headingLevel);
|
|
185
|
+
if (integrations.length === 0) {
|
|
186
|
+
return (_jsxs(Section, { className: className, "data-slot": "settings-integrations", children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description }), _jsx("p", { "data-slot": "settings-integrations-empty", className: "text-muted-foreground text-pretty text-sm", children: empty })] }));
|
|
187
|
+
}
|
|
188
|
+
const groups = groupBy === 'category'
|
|
189
|
+
? groupOf(integrations)
|
|
190
|
+
: [{ id: 'all', items: [...integrations] }];
|
|
191
|
+
// The one control the Block draws itself, and the one state it draws it on. The
|
|
192
|
+
// other three states hand the row to the caller, for the reason the Block
|
|
193
|
+
// JSDoc gives.
|
|
194
|
+
const connectable = (state) => state === 'available';
|
|
195
|
+
return (_jsxs(Section, { className: className, "data-slot": "settings-integrations", children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-10" }), _jsx("div", { "data-slot": "settings-integrations-list", "data-ungrouped": groupBy === 'category' && integrations.some((one) => one.category === undefined)
|
|
196
|
+
? integrations.filter((one) => one.category === undefined).length
|
|
197
|
+
: undefined, className: cn('flex flex-col gap-10', className), children: groups.map((group) => (_jsxs("section", { "data-slot": "settings-integrations-group", "data-group": group.name, className: "flex flex-col gap-4", children: [group.name === undefined ? null : (_jsx(GroupTitle, { "data-slot": "settings-integrations-group-title", className: "border-border text-muted-foreground border-t pt-4 text-sm font-semibold tracking-wide uppercase", children: group.name })), _jsx("ul", { "data-slot": "settings-integrations-rows", className: "flex flex-col", children: group.items.map((integration) => (_jsxs("li", { "data-slot": "settings-integrations-row", "data-integration": integration.id, "data-state": integration.state, className: "border-border flex flex-wrap items-center gap-x-4 gap-y-3 border-b py-4 first:border-t", children: [integration.mark === undefined ? null : (
|
|
198
|
+
/*
|
|
199
|
+
No frame, no surface and no radius around the mark, and the
|
|
200
|
+
reason is in the Block JSDoc: a `PackSwatch` in this slot is a
|
|
201
|
+
fully rounded element carrying a `data-pack` boundary, and the
|
|
202
|
+
token build resolves the radius scale beneath it. A frame here
|
|
203
|
+
would pin six packs inside six different silhouettes.
|
|
204
|
+
*/
|
|
205
|
+
_jsx("span", { "aria-hidden": true, "data-slot": "settings-integrations-mark", className: "flex shrink-0 items-center", children: integration.mark })), _jsxs("span", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [_jsx("span", { className: "text-sm font-semibold", children: integration.name }), _jsx("span", { className: "text-muted-foreground text-pretty text-sm", children: integration.capability })] }), _jsx(Status, { "data-slot": "settings-integrations-state", size: "sm", tone: STATE_TONE[integration.state], label: integration.stateLabel, className: "shrink-0" }), integration.state === 'connected' &&
|
|
206
|
+
integration.connectedSince !== undefined ? (_jsx("span", { "data-slot": "settings-integrations-since", className: "text-muted-foreground shrink-0 text-xs tabular-nums", children: integration.connectedSinceLabel === undefined
|
|
207
|
+
? integration.connectedSince
|
|
208
|
+
: integration.connectedSinceLabel(integration.connectedSince) })) : null, integration.href === undefined ? null : (_jsx(CtaLink, { "data-slot": "settings-integrations-href", href: integration.href, size: "sm", variant: "ghost", className: "shrink-0", children: integration.hrefLabel })), integration.action === undefined ? null : (_jsx("span", { "data-slot": "settings-integrations-action", className: "flex shrink-0 items-center gap-2", children: integration.action })), integration.action === undefined &&
|
|
209
|
+
connectable(integration.state) &&
|
|
210
|
+
onConnect !== undefined &&
|
|
211
|
+
connectLabel !== undefined ? (_jsx(Button, { "data-slot": "settings-integrations-connect", size: "sm", variant: "outline", onClick: () => onConnect(integration.id), className: "shrink-0", children: connectLabel({ id: integration.id, name: integration.name }) })) : null] }, integration.id))) })] }, group.id))) })] }));
|
|
212
|
+
}
|
|
213
|
+
export default SettingsIntegrations01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/settings-members-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAK/D,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SettingsMembers01, default } from './settings-members.js';
|