@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,200 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One figure in the row across the top.
|
|
5
|
+
*
|
|
6
|
+
* The same three fields `Project01` takes for its figures, declared separately
|
|
7
|
+
* rather than imported for the reason `ProcessFlow01` gives on `ProcessStage`: a
|
|
8
|
+
* dashboard and a detail header are different claims, and a caller composing one has
|
|
9
|
+
* no reason to take the other's type, and sharing the declaration would invite a
|
|
10
|
+
* caller to widen a dashboard figure by reaching for a detail field. The field names
|
|
11
|
+
* are still the same on purpose, so a consumer with a project model has one model.
|
|
12
|
+
*/
|
|
13
|
+
export type ProjectDashboard01Figure = {
|
|
14
|
+
/** What the figure measures, read under it. */
|
|
15
|
+
label: string;
|
|
16
|
+
/** The figure itself, already formatted by the caller. */
|
|
17
|
+
value: ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* The change against the previous reading, as a number whose sign is the
|
|
20
|
+
* direction. See `MetricDelta` on the Component.
|
|
21
|
+
*/
|
|
22
|
+
delta?: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* How much of the grid one panel takes.
|
|
26
|
+
*
|
|
27
|
+
* Three, and the set is a fraction of the row rather than a width in pixels: a
|
|
28
|
+
* dashboard's panels are wide or narrow, and the honest question about a panel is
|
|
29
|
+
* how much of the row beside it it wants, which is a proportion of the page rather
|
|
30
|
+
* than a measurement of itself. `full` is a panel that wants the whole row, `half`
|
|
31
|
+
* is a panel that shares it with one other, and `third` is a panel in a row of
|
|
32
|
+
* three.
|
|
33
|
+
*/
|
|
34
|
+
export type ProjectDashboard01Span = 'full' | 'half' | 'third';
|
|
35
|
+
/**
|
|
36
|
+
* One panel of the overview: what it is called, how much of the row it takes, the
|
|
37
|
+
* controls that act on it, and its content.
|
|
38
|
+
*
|
|
39
|
+
* `children` is the whole of the panel and it is required, because a panel is a
|
|
40
|
+
* frame around something the caller composed and an empty frame is a card with a
|
|
41
|
+
* title and a gap in it. The six named panels this Block does not draw are the six
|
|
42
|
+
* a project overview usually has: a chart, a run queue, a list of stages, the people
|
|
43
|
+
* on it, its open issues and its recent activity. What a caller wants in them is a
|
|
44
|
+
* fact about their product, and a pipeline wants the run queue wide and the
|
|
45
|
+
* approvals narrow while an estate wants capacity wide and the fleet list narrow, so
|
|
46
|
+
* a Block that chose which of the six it was would be a template wearing a
|
|
47
|
+
* component's name.
|
|
48
|
+
*/
|
|
49
|
+
export type ProjectDashboard01Panel = {
|
|
50
|
+
/** A stable key for the panel, so a test can name one of them. */
|
|
51
|
+
id: string;
|
|
52
|
+
/**
|
|
53
|
+
* What the panel is called, in the caller's own words.
|
|
54
|
+
*
|
|
55
|
+
* Omit it for a panel that is a chart or a list with nothing to say above it, and
|
|
56
|
+
* the card draws no heading rather than an empty one. When it is given it is a
|
|
57
|
+
* heading one level below the section, derived rather than written, so a
|
|
58
|
+
* dashboard embedded one level deeper than it was written for carries its panel
|
|
59
|
+
* titles with it.
|
|
60
|
+
*/
|
|
61
|
+
title?: ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* How much of the row this panel takes. Defaults to `half`.
|
|
64
|
+
*
|
|
65
|
+
* A proportion of the row rather than a width, and the default is `half` because
|
|
66
|
+
* two panels beside each other is the arrangement that works for every number of
|
|
67
|
+
* panels: one panel is half a row with a gap beside it, three are a row and a
|
|
68
|
+
* half, and six are three rows of two.
|
|
69
|
+
*/
|
|
70
|
+
span?: ProjectDashboard01Span;
|
|
71
|
+
/**
|
|
72
|
+
* The controls that act on this panel rather than on the project: a range
|
|
73
|
+
* selector, a view switcher, a sort, a link to the full list.
|
|
74
|
+
*
|
|
75
|
+
* A slot, and placed at the trailing edge of the panel's header beside its title
|
|
76
|
+
* rather than above it, because a control the reader has to find is a control the
|
|
77
|
+
* reader does not use, and the title is what the panel is for.
|
|
78
|
+
*/
|
|
79
|
+
toolbar?: ReactNode;
|
|
80
|
+
/** The panel's content, which is the caller's own node. */
|
|
81
|
+
children: ReactNode;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* The props a ProjectDashboard01 takes.
|
|
85
|
+
*
|
|
86
|
+
* Every string and every number is a prop and the Block ships none: no project, no
|
|
87
|
+
* state, no figure, no panel and not one panel title. The absence of the panels is
|
|
88
|
+
* the sharpest version of the rule, because a dashboard is the surface most likely
|
|
89
|
+
* to be shipped with somebody else's numbers in it: a set of figures invented to look
|
|
90
|
+
* like a working product is worse than no dashboard, which is the argument
|
|
91
|
+
* `Stats01` makes in full and the reason that Block's early version is a paragraph
|
|
92
|
+
* on its own JSDoc.
|
|
93
|
+
*/
|
|
94
|
+
export type ProjectDashboard01Props = {
|
|
95
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
96
|
+
eyebrow?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The project's own name.
|
|
99
|
+
*
|
|
100
|
+
* Required, and it is the section heading rather than a field inside the
|
|
101
|
+
* dashboard, because a dashboard whose name is a line of body text has already
|
|
102
|
+
* lost the outline: a reader navigating by heading would meet the section and then
|
|
103
|
+
* nothing until the panels.
|
|
104
|
+
*/
|
|
105
|
+
name: string;
|
|
106
|
+
/** One or two sentences about what this project is, under the name. */
|
|
107
|
+
summary?: ReactNode;
|
|
108
|
+
/**
|
|
109
|
+
* Where the project stands, in the product's own vocabulary.
|
|
110
|
+
*
|
|
111
|
+
* Optional, and paired with `stateLabel` rather than beside it: a state a reader
|
|
112
|
+
* can only see is a state nobody can act on, so the words are required wherever
|
|
113
|
+
* the dot is drawn, and the run refuses exactly one of the two rather than
|
|
114
|
+
* drawing a dot with no sentence.
|
|
115
|
+
*/
|
|
116
|
+
state?: string;
|
|
117
|
+
/** The words for that state. Required whenever `state` is given. */
|
|
118
|
+
stateLabel?: string;
|
|
119
|
+
/** The figures, in the order a reader should meet them. */
|
|
120
|
+
figures?: ProjectDashboard01Figure[];
|
|
121
|
+
/**
|
|
122
|
+
* The panels, in the order a reader should meet them.
|
|
123
|
+
*
|
|
124
|
+
* Order is the caller's because it is a claim about what a reader looks at first
|
|
125
|
+
* on a page that is trying to tell them everything at once, and this Block does
|
|
126
|
+
* not reorder panels to put a chart first: a dashboard whose top panel is the one
|
|
127
|
+
* the product cares about is a claim the caller is better placed to make.
|
|
128
|
+
*/
|
|
129
|
+
panels?: ProjectDashboard01Panel[];
|
|
130
|
+
/** Heading level for the section heading. See `HeadingLevel`. */
|
|
131
|
+
headingLevel?: HeadingLevel;
|
|
132
|
+
/** Layout only, exactly as on every Block. */
|
|
133
|
+
className?: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* One project's overview: the figures across the top, and a grid of panels whose
|
|
137
|
+
* spans the caller declares.
|
|
138
|
+
*
|
|
139
|
+
* **Every panel is a slot, and the reason is that what a project overview shows is a
|
|
140
|
+
* fact about the project.** A pipeline wants the run queue wide and the approvals
|
|
141
|
+
* narrow. An estate wants capacity wide and the fleet list narrow. A research group
|
|
142
|
+
* wants the papers wide and the citations narrow. Three products, three entirely
|
|
143
|
+
* different answers to "what is the most important thing on this page", and a Block
|
|
144
|
+
* that chose one of them would be a template wearing a component's name: a consumer
|
|
145
|
+
* whose most important panel is the narrow one would have to put it in a slot that
|
|
146
|
+
* was not there, and the fix would be to fork the Block rather than compose it,
|
|
147
|
+
* which is the one thing this package does not offer. So this Block owns three
|
|
148
|
+
* things and nothing else: the grid, the spans, and the figures row. What goes in a
|
|
149
|
+
* panel, what it is called, and how much of the row it wants are the caller's, and
|
|
150
|
+
* the cost of that is named rather than hidden: a caller with a panel no Component
|
|
151
|
+
* in this package can draw composes the row themselves inside the slot, and a
|
|
152
|
+
* dashboard with no panels at all is a figures row, which is a real surface and a
|
|
153
|
+
* short one.
|
|
154
|
+
*
|
|
155
|
+
* **The spans are proportions of a six-track row, and the row is the Block's rather
|
|
156
|
+
* than the caller's.** A caller who could pass a width would be choosing between
|
|
157
|
+
* pixels and fractions, and would have to keep the six answers in step by hand; the
|
|
158
|
+
* alternative, a `span` of `1 | 2 | 3`, reads as a count of tracks and invites a
|
|
159
|
+
* caller to pass a four that the row cannot express. So there are three words, they
|
|
160
|
+
* are proportions, and the tracks behind them are in one table above. What that
|
|
161
|
+
* costs is real and is on `ProjectDashboard01Span`: a dashboard that wants a fifth
|
|
162
|
+
* of a row has no seam here, and the answer is two panels side by side, which is
|
|
163
|
+
* also the arrangement that reads better on a phone.
|
|
164
|
+
*
|
|
165
|
+
* **The figures are `Metric` and the state is `Status`, and both were redrawn here
|
|
166
|
+
* at first.** `Metric` owns the arrangement a headline figure is read in, which
|
|
167
|
+
* puts the figure first and the name under it, and it owns the three things a
|
|
168
|
+
* hand-rolled version gets wrong: that the direction is derived from the sign of
|
|
169
|
+
* the number rather than declared beside it, that the rising mark is a glyph so
|
|
170
|
+
* assistive technology names it in the reader's own language rather than through an
|
|
171
|
+
* English `aria-label`, and that a string figure is set in the mono face while a
|
|
172
|
+
* composed one is not. `Status` owns the dot and the arrangement that matters most on
|
|
173
|
+
* a dashboard: the dot is `aria-hidden` and the words carry the state, so a reader
|
|
174
|
+
* who cannot separate the tones still reads which is which, and a row of states
|
|
175
|
+
* never becomes a row of colours. The one thing `Metric` cannot do is print a delta
|
|
176
|
+
* it has no unit for, so a figure with a `delta` and no formatter prints the number
|
|
177
|
+
* itself, which is honest and usually not what was wanted; the caller's answer is to
|
|
178
|
+
* put the whole change in `value` as a node they formatted.
|
|
179
|
+
*
|
|
180
|
+
* **A panel's title is a heading one step below the section, derived rather than
|
|
181
|
+
* written, and a panel with no title draws no heading at all.** A dashboard is
|
|
182
|
+
* usually three to six titled cards under one heading, and hardcoding `h3` would be
|
|
183
|
+
* right exactly once, at the nesting depth it was written for; `childLevel` is the
|
|
184
|
+
* answer every Block in this package gives the same question, and a dashboard
|
|
185
|
+
* embedded one level deeper than it was written for carries its titles with it. A
|
|
186
|
+
* panel with no title is a chart with nothing to say above it, and an empty heading
|
|
187
|
+
* is a gap the reader looks through.
|
|
188
|
+
*
|
|
189
|
+
* **An empty set renders the name and nothing else, which is the honest state for a
|
|
190
|
+
* project with no data on it yet.** The alternative, an empty grid of empty cards,
|
|
191
|
+
* is a page of six frames with nothing in them, and a reader who sees it concludes
|
|
192
|
+
* the product is broken rather than that the data has not arrived.
|
|
193
|
+
*
|
|
194
|
+
* It is a server Component: no hook, no state, no client code of its own and no
|
|
195
|
+
* router. What a panel contains is the caller's node, so a dashboard full of charts
|
|
196
|
+
* costs a consumer nothing from this module.
|
|
197
|
+
*/
|
|
198
|
+
export declare function ProjectDashboard01({ eyebrow, name, summary, state, stateLabel, figures, panels, headingLevel, className, }: ProjectDashboard01Props): import("react").JSX.Element;
|
|
199
|
+
export default ProjectDashboard01;
|
|
200
|
+
//# sourceMappingURL=project-dashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-dashboard.d.ts","sourceRoot":"","sources":["../../../src/blocks/project-dashboard-01/project-dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAqCpG;;;;;;;;;GASG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,KAAK,EAAE,SAAS,CAAA;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;AAiB9D;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,kEAAkE;IAClE,EAAE,EAAE,MAAM,CAAA;IACV;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,sBAAsB,CAAA;IAC7B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,2DAA2D;IAC3D,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,uEAAuE;IACvE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACpC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,uBAAuB,EAAE,CAAA;IAClC,iEAAiE;IACjE,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,IAAI,EACJ,OAAO,EACP,KAAK,EACL,UAAU,EACV,OAAO,EACP,MAAM,EACN,YAAmB,EACnB,SAAS,GACV,EAAE,uBAAuB,+BAkGzB;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { Metric } from '../../components/ui/metric.js';
|
|
4
|
+
import { Section, SectionHeading, childLevel } from '../../components/ui/section.js';
|
|
5
|
+
import { Status } from '../../components/ui/status.js';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The tone a project's state is drawn in, from the semantic contract and no other.
|
|
9
|
+
*
|
|
10
|
+
* Keyed by the caller's own words rather than by a union, and the two states that
|
|
11
|
+
* share a role are the same two that share it in `Project01`: `active` and
|
|
12
|
+
* `complete` are both `success`, because a project that is running and a project
|
|
13
|
+
* that finished are the two states a reader is glad to see, and the words beside the
|
|
14
|
+
* dot are what tell them apart. `blocked` is `warning` and not `destructive` for the
|
|
15
|
+
* reason `FieldMap01` gives for an unmapped field: a blocked project is a thing to
|
|
16
|
+
* unblock rather than a breakage, and four amber rows is a dashboard with four tasks
|
|
17
|
+
* in it while four red rows is a dashboard sending a reader looking for an incident
|
|
18
|
+
* that is not happening.
|
|
19
|
+
*/
|
|
20
|
+
const STATE_TONE = {
|
|
21
|
+
planning: 'info',
|
|
22
|
+
active: 'success',
|
|
23
|
+
blocked: 'warning',
|
|
24
|
+
complete: 'success',
|
|
25
|
+
archived: 'neutral',
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* The tone a state is drawn in, falling back to the supporting ink.
|
|
29
|
+
*
|
|
30
|
+
* `neutral` for a state this table does not name, and the reason is that an
|
|
31
|
+
* unrecognised state is not an emergency: it is a vocabulary this Block has not been
|
|
32
|
+
* taught, and drawing it in the alarm colour would turn a naming mismatch into a page
|
|
33
|
+
* of red panels.
|
|
34
|
+
*/
|
|
35
|
+
function toneOf(state) {
|
|
36
|
+
return STATE_TONE[state] ?? 'neutral';
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The tracks each span takes, out of the six the grid is built from.
|
|
40
|
+
*
|
|
41
|
+
* Spelled out per span so the arithmetic is in one table rather than in three
|
|
42
|
+
* places: six tracks, a half is three of them and a third is two. A map rather than
|
|
43
|
+
* a lookup at the call site because the translation is a fact about this Block's
|
|
44
|
+
* grid rather than about the caller's data, and a Block that computed it three times
|
|
45
|
+
* in three places would be three chances to compute it once differently.
|
|
46
|
+
*/
|
|
47
|
+
const SPAN = {
|
|
48
|
+
full: 'lg:col-span-6',
|
|
49
|
+
half: 'lg:col-span-3',
|
|
50
|
+
third: 'lg:col-span-2',
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* One project's overview: the figures across the top, and a grid of panels whose
|
|
54
|
+
* spans the caller declares.
|
|
55
|
+
*
|
|
56
|
+
* **Every panel is a slot, and the reason is that what a project overview shows is a
|
|
57
|
+
* fact about the project.** A pipeline wants the run queue wide and the approvals
|
|
58
|
+
* narrow. An estate wants capacity wide and the fleet list narrow. A research group
|
|
59
|
+
* wants the papers wide and the citations narrow. Three products, three entirely
|
|
60
|
+
* different answers to "what is the most important thing on this page", and a Block
|
|
61
|
+
* that chose one of them would be a template wearing a component's name: a consumer
|
|
62
|
+
* whose most important panel is the narrow one would have to put it in a slot that
|
|
63
|
+
* was not there, and the fix would be to fork the Block rather than compose it,
|
|
64
|
+
* which is the one thing this package does not offer. So this Block owns three
|
|
65
|
+
* things and nothing else: the grid, the spans, and the figures row. What goes in a
|
|
66
|
+
* panel, what it is called, and how much of the row it wants are the caller's, and
|
|
67
|
+
* the cost of that is named rather than hidden: a caller with a panel no Component
|
|
68
|
+
* in this package can draw composes the row themselves inside the slot, and a
|
|
69
|
+
* dashboard with no panels at all is a figures row, which is a real surface and a
|
|
70
|
+
* short one.
|
|
71
|
+
*
|
|
72
|
+
* **The spans are proportions of a six-track row, and the row is the Block's rather
|
|
73
|
+
* than the caller's.** A caller who could pass a width would be choosing between
|
|
74
|
+
* pixels and fractions, and would have to keep the six answers in step by hand; the
|
|
75
|
+
* alternative, a `span` of `1 | 2 | 3`, reads as a count of tracks and invites a
|
|
76
|
+
* caller to pass a four that the row cannot express. So there are three words, they
|
|
77
|
+
* are proportions, and the tracks behind them are in one table above. What that
|
|
78
|
+
* costs is real and is on `ProjectDashboard01Span`: a dashboard that wants a fifth
|
|
79
|
+
* of a row has no seam here, and the answer is two panels side by side, which is
|
|
80
|
+
* also the arrangement that reads better on a phone.
|
|
81
|
+
*
|
|
82
|
+
* **The figures are `Metric` and the state is `Status`, and both were redrawn here
|
|
83
|
+
* at first.** `Metric` owns the arrangement a headline figure is read in, which
|
|
84
|
+
* puts the figure first and the name under it, and it owns the three things a
|
|
85
|
+
* hand-rolled version gets wrong: that the direction is derived from the sign of
|
|
86
|
+
* the number rather than declared beside it, that the rising mark is a glyph so
|
|
87
|
+
* assistive technology names it in the reader's own language rather than through an
|
|
88
|
+
* English `aria-label`, and that a string figure is set in the mono face while a
|
|
89
|
+
* composed one is not. `Status` owns the dot and the arrangement that matters most on
|
|
90
|
+
* a dashboard: the dot is `aria-hidden` and the words carry the state, so a reader
|
|
91
|
+
* who cannot separate the tones still reads which is which, and a row of states
|
|
92
|
+
* never becomes a row of colours. The one thing `Metric` cannot do is print a delta
|
|
93
|
+
* it has no unit for, so a figure with a `delta` and no formatter prints the number
|
|
94
|
+
* itself, which is honest and usually not what was wanted; the caller's answer is to
|
|
95
|
+
* put the whole change in `value` as a node they formatted.
|
|
96
|
+
*
|
|
97
|
+
* **A panel's title is a heading one step below the section, derived rather than
|
|
98
|
+
* written, and a panel with no title draws no heading at all.** A dashboard is
|
|
99
|
+
* usually three to six titled cards under one heading, and hardcoding `h3` would be
|
|
100
|
+
* right exactly once, at the nesting depth it was written for; `childLevel` is the
|
|
101
|
+
* answer every Block in this package gives the same question, and a dashboard
|
|
102
|
+
* embedded one level deeper than it was written for carries its titles with it. A
|
|
103
|
+
* panel with no title is a chart with nothing to say above it, and an empty heading
|
|
104
|
+
* is a gap the reader looks through.
|
|
105
|
+
*
|
|
106
|
+
* **An empty set renders the name and nothing else, which is the honest state for a
|
|
107
|
+
* project with no data on it yet.** The alternative, an empty grid of empty cards,
|
|
108
|
+
* is a page of six frames with nothing in them, and a reader who sees it concludes
|
|
109
|
+
* the product is broken rather than that the data has not arrived.
|
|
110
|
+
*
|
|
111
|
+
* It is a server Component: no hook, no state, no client code of its own and no
|
|
112
|
+
* router. What a panel contains is the caller's node, so a dashboard full of charts
|
|
113
|
+
* costs a consumer nothing from this module.
|
|
114
|
+
*/
|
|
115
|
+
export function ProjectDashboard01({ eyebrow, name, summary, state, stateLabel, figures, panels, headingLevel = 'h2', className, }) {
|
|
116
|
+
if ((state === undefined) !== (stateLabel === undefined)) {
|
|
117
|
+
throw new Error(`ProjectDashboard01: "${name}" passes ${state === undefined ? 'a stateLabel with no state' : 'a state with no stateLabel'}, ` +
|
|
118
|
+
'so the dashboard would draw a dot with no sentence beside it or a sentence about a state that is ' +
|
|
119
|
+
'not there. A state a reader can only see is a state nobody can act on, so pass both or neither.');
|
|
120
|
+
}
|
|
121
|
+
const Title = childLevel(headingLevel);
|
|
122
|
+
return (_jsxs(Section, { "data-slot": "project-dashboard-01", className: cn(className), children: [_jsxs("div", { "data-slot": "project-dashboard-head", className: "flex flex-col gap-6", children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: name, description: summary }), state === undefined ? null : (_jsx("div", { "data-slot": "project-dashboard-state", children: _jsx(Status, { tone: toneOf(state), label: stateLabel }) }))] }), figures === undefined || figures.length === 0 ? null : (_jsx("div", { "data-slot": "project-dashboard-figures", className: "mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-4", children: figures.map((figure) => (_jsx(Metric, { "data-slot": "project-dashboard-figure", value: figure.value, label: figure.label, delta: figure.delta }, figure.label))) })), panels === undefined || panels.length === 0 ? null : (_jsx("div", { "data-slot": "project-dashboard-panels", className: "mt-10 grid items-start gap-6 sm:grid-cols-2 lg:grid-cols-6", children: panels.map((panel) => (_jsxs(Card, { "data-slot": "project-dashboard-panel", "data-panel": panel.id, "data-span": panel.span ?? 'half', className: SPAN[panel.span ?? 'half'], children: [panel.title === undefined && panel.toolbar === undefined ? null : (_jsxs(CardHeader, { className: "flex items-center justify-between gap-4", children: [panel.title === undefined ? null : (_jsx(CardTitle, { as: Title, className: "min-w-0", children: panel.title })), panel.toolbar === undefined ? null : (_jsx("div", { "data-slot": "project-dashboard-panel-toolbar", className: "flex shrink-0 items-center gap-2", children: panel.toolbar }))] })), _jsx(CardContent, { className: "min-w-0", children: panel.children })] }, panel.id))) }))] }));
|
|
123
|
+
}
|
|
124
|
+
export default ProjectDashboard01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/project-list-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAKvD,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProjectList01, default } from './project-list.js';
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* The cells a project row can draw, and the four column names a caller names
|
|
5
|
+
* them with in the table form.
|
|
6
|
+
*
|
|
7
|
+
* A closed set, and the closure is the point: the cells are the Block's, so a
|
|
8
|
+
* table with a ninth column would be a table whose ninth column has nothing to
|
|
9
|
+
* put in it. The names are the caller's, which is the other half of the same
|
|
10
|
+
* thing. A projects index is a set of records whose vocabulary differs by
|
|
11
|
+
* product, and "State", "Status" and "Stage" are three names for one column and
|
|
12
|
+
* only the set's owner can say which is right. So `header` is a prop and `id` is
|
|
13
|
+
* not.
|
|
14
|
+
*/
|
|
15
|
+
export type ProjectListCell = 'name' | 'summary' | 'state' | 'owner' | 'progress' | 'updated' | 'tags' | 'href';
|
|
16
|
+
/**
|
|
17
|
+
* One column of a projects table: which cell it draws, and the words above it.
|
|
18
|
+
*
|
|
19
|
+
* The `header` precedent is `ResourceListColumn`'s and the difference from
|
|
20
|
+
* `DataTableColumn` is the same one that file states: `DataTableColumn` takes a
|
|
21
|
+
* `cell` function because it has no idea what a row contains, and this Block knows
|
|
22
|
+
* the eight cells a project has, so a caller that could write a `cell` function
|
|
23
|
+
* could draw this table without this Block. What is left is the part that is
|
|
24
|
+
* genuinely the caller's: the name of the column, its order, and where it sits.
|
|
25
|
+
*/
|
|
26
|
+
export type ProjectListColumn = {
|
|
27
|
+
/** Which of the eight cells this column draws. */
|
|
28
|
+
id: ProjectListCell;
|
|
29
|
+
/** The column's name, in the product's own words. */
|
|
30
|
+
header: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Layout classes for the column, applied to the header cell and to every cell
|
|
33
|
+
* under it. Alignment and a fixed width are what this is for.
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* One project in a list: the same fields `Project01` takes, in the form a row can
|
|
39
|
+
* carry.
|
|
40
|
+
*
|
|
41
|
+
* The field names are the same and the shapes are the same, and that is the whole
|
|
42
|
+
* point of this Block existing beside that one. A consumer with a project model
|
|
43
|
+
* has one model, so the same `Project` type renders a detail header and a list row
|
|
44
|
+
* and the two Blocks cannot drift apart, because there is nothing to drift: a
|
|
45
|
+
* caller maps their project onto the fields once and both Blocks read the same
|
|
46
|
+
* names. The cost is stated rather than hidden: a list row has nowhere to put a
|
|
47
|
+
* stage list, a span of dates and an action slot, so the fields a row drops are
|
|
48
|
+
* dropped by this type rather than silently ignored, and a caller who needs a
|
|
49
|
+
* project's stages in a list is looking for `Project01` for that project.
|
|
50
|
+
*/
|
|
51
|
+
export type ProjectListProject = {
|
|
52
|
+
/** A stable key for the project, within this list. */
|
|
53
|
+
id: string;
|
|
54
|
+
/** The project's own name. The anchor of the row and of its cell in a table. */
|
|
55
|
+
name: string;
|
|
56
|
+
/** One sentence about what this project is. A node, and a node only. */
|
|
57
|
+
summary?: ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* Where the project stands, in the caller's own vocabulary.
|
|
60
|
+
*
|
|
61
|
+
* Required on every project, and a string rather than a union of five positions
|
|
62
|
+
* for the reason the tone table above states: a projects index gathers from more
|
|
63
|
+
* than one source in most products, and a Block that narrowed the state would be
|
|
64
|
+
* a Block that decided what a project may be in.
|
|
65
|
+
*/
|
|
66
|
+
state: string;
|
|
67
|
+
/**
|
|
68
|
+
* The words for that state.
|
|
69
|
+
*
|
|
70
|
+
* Optional in the type and required in practice, and the run throws without it:
|
|
71
|
+
* every project carries a state, so every project owes words for it, and a dot
|
|
72
|
+
* with no sentence beside it is the one thing the copy gate and `Status` both
|
|
73
|
+
* exist to prevent. The `?` is here so a caller arriving from JavaScript gets
|
|
74
|
+
* this diagnostic rather than a crash inside a Component.
|
|
75
|
+
*/
|
|
76
|
+
stateLabel?: string;
|
|
77
|
+
/** Who owns it, with the portrait where there is one. */
|
|
78
|
+
owner?: {
|
|
79
|
+
/** The person's own name. */
|
|
80
|
+
name: string;
|
|
81
|
+
/** The portrait, with the name the initials come from. */
|
|
82
|
+
avatar?: {
|
|
83
|
+
/** The photograph. Omit it, or pass a URL that fails, for the initials. */
|
|
84
|
+
src?: string;
|
|
85
|
+
/** The person's name, which is the initials' source. */
|
|
86
|
+
name: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* How far along the project is, on `Progress`'s own scale of 0 to 100.
|
|
91
|
+
*
|
|
92
|
+
* Omit it for a project that is not measured, and the row draws no bar rather
|
|
93
|
+
* than a bar at zero, because a bar at zero is a claim that nothing has
|
|
94
|
+
* happened and a planning project is a thing that has not started.
|
|
95
|
+
*/
|
|
96
|
+
progress?: number;
|
|
97
|
+
/**
|
|
98
|
+
* The sentence the bar announces, given the value and the project's name.
|
|
99
|
+
*
|
|
100
|
+
* Optional in the type and required in practice whenever any project carries a
|
|
101
|
+
* `progress`, and the run throws without it. The name is in the argument because
|
|
102
|
+
* a list of forty projects is a page where a reader has to be told which bar is
|
|
103
|
+
* which, and a bar at forty per cent means whatever the reader assumes.
|
|
104
|
+
*/
|
|
105
|
+
progressLabel?: (value: number, name: string) => string;
|
|
106
|
+
/** When the project last moved, in whichever of the three forms the caller has. */
|
|
107
|
+
updated?: number | string;
|
|
108
|
+
/**
|
|
109
|
+
* The sentence for that moment, given the moment.
|
|
110
|
+
*
|
|
111
|
+
* Optional in the type and required in practice whenever any project carries an
|
|
112
|
+
* `updated`, and the run throws without it. A moment handed to `RelativeTime`
|
|
113
|
+
* with nothing beside it is a date in the reader's own locale and no claim about
|
|
114
|
+
* how old it is, which is the honest reading and is not the one a list of
|
|
115
|
+
* projects is for.
|
|
116
|
+
*/
|
|
117
|
+
updatedLabel?: (value: number | string) => string;
|
|
118
|
+
/** The caller's own chips for this project, in the order they should be met. */
|
|
119
|
+
tags?: {
|
|
120
|
+
id: string;
|
|
121
|
+
label: ReactNode;
|
|
122
|
+
}[];
|
|
123
|
+
/** Where the row goes. Rendered as a native anchor, so the destination is real. */
|
|
124
|
+
href?: string;
|
|
125
|
+
/**
|
|
126
|
+
* The words on that link, and required whenever `href` is set.
|
|
127
|
+
*
|
|
128
|
+
* A link whose only words are a project's name tells a reader nothing about what
|
|
129
|
+
* activating it will do. The words are the caller's because the destination is
|
|
130
|
+
* theirs, and the trailing position rather than the whole row is deliberate: a
|
|
131
|
+
* row whose accessible name is its name, its summary, its state and its date is
|
|
132
|
+
* a name a reader cannot hear the end of.
|
|
133
|
+
*/
|
|
134
|
+
hrefLabel?: string;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* The props a ProjectList01 takes, and the one conditional pair among them.
|
|
138
|
+
*
|
|
139
|
+
* Every string and every number is a prop and the Block ships none: no project, no
|
|
140
|
+
* state, no owner, no progress figure, no date, no chip and not one column heading.
|
|
141
|
+
* A projects index that invented a set of them would be publishing somebody
|
|
142
|
+
* else's portfolio, and the absence of the empty sentence is the sharpest version
|
|
143
|
+
* of the rule: "no projects yet" is true of a new product and false of a filter
|
|
144
|
+
* that matched nothing, so `empty` is required.
|
|
145
|
+
*/
|
|
146
|
+
export type ProjectList01Props = {
|
|
147
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
148
|
+
eyebrow?: string;
|
|
149
|
+
/** The section title. Required, because a list with no heading is a fragment. */
|
|
150
|
+
title: ReactNode;
|
|
151
|
+
/** One or two sentences under the title. */
|
|
152
|
+
description?: ReactNode;
|
|
153
|
+
/**
|
|
154
|
+
* The projects, in the order a reader should meet them.
|
|
155
|
+
*
|
|
156
|
+
* Order is the caller's, and this Block does not sort: a projects index is very
|
|
157
|
+
* often already ordered by a query that knows which project is live, which the
|
|
158
|
+
* team wants at the top and which the reader is waiting for, and a Block that
|
|
159
|
+
* sorted by name or by date would undo that decision without saying so.
|
|
160
|
+
*/
|
|
161
|
+
projects: ProjectListProject[];
|
|
162
|
+
/**
|
|
163
|
+
* The controls that act on the whole list: a search field, a sort, a create
|
|
164
|
+
* button, a `DataToolbar` the caller composed.
|
|
165
|
+
*
|
|
166
|
+
* A slot rather than a set of named controls, because which controls a list has
|
|
167
|
+
* is the caller's fact, and because a slot keeps this Block a server Component:
|
|
168
|
+
* a caller whose toolbar needs state renders a client component into it, and the
|
|
169
|
+
* client boundary is theirs rather than this file's.
|
|
170
|
+
*/
|
|
171
|
+
toolbar?: ReactNode;
|
|
172
|
+
/**
|
|
173
|
+
* The filter column, beside the list rather than above it.
|
|
174
|
+
*
|
|
175
|
+
* A `FilterPanel` is what this slot is for, and a panel is a column, so it is
|
|
176
|
+
* drawn in a narrow aside at the leading edge with the list beside it. A caller
|
|
177
|
+
* whose filters are a popover trigger or a set of chips passes them in
|
|
178
|
+
* `toolbar` and leaves this alone; a Block that drew the filters itself would be
|
|
179
|
+
* deciding that a projects index is faceted, which most are not.
|
|
180
|
+
*/
|
|
181
|
+
filters?: ReactNode;
|
|
182
|
+
/**
|
|
183
|
+
* The band's slot under the list: pagination, a count, a load-more control.
|
|
184
|
+
*
|
|
185
|
+
* Under the list and not inside it, because it is the one part of the surface
|
|
186
|
+
* that has to stay put while a reader works down a long list.
|
|
187
|
+
*/
|
|
188
|
+
footer?: ReactNode;
|
|
189
|
+
/**
|
|
190
|
+
* What the Block renders in place of the rows when there are none.
|
|
191
|
+
*
|
|
192
|
+
* Required, and a slot rather than a string, because the two empty states a
|
|
193
|
+
* projects index has are different claims: a product with no projects yet and a
|
|
194
|
+
* filter that matched nothing are opposite sentences, and a Block that wrote
|
|
195
|
+
* either one would be wrong in half the products that installed it.
|
|
196
|
+
*/
|
|
197
|
+
empty: ReactNode;
|
|
198
|
+
/**
|
|
199
|
+
* Whether the list is a stack of rows or a real table.
|
|
200
|
+
*
|
|
201
|
+
* `rows` is for a short list where the summary is the point, and it is the
|
|
202
|
+
* default because a list a reader scans top to bottom does not need column
|
|
203
|
+
* semantics to be read. `table` is for a long one, where the reader is comparing
|
|
204
|
+
* a value in one row against the same value in another, which is the moment a
|
|
205
|
+
* row stops being a list and becomes a record set: it is the moment a screen
|
|
206
|
+
* reader needs a column header to know which of six values it has landed on, and
|
|
207
|
+
* it is the moment a caller starts wanting to sort.
|
|
208
|
+
*/
|
|
209
|
+
variant?: 'rows' | 'table';
|
|
210
|
+
/**
|
|
211
|
+
* The caller's own columns, in the order the reader should meet them.
|
|
212
|
+
*
|
|
213
|
+
* Required in the table form and refused in the row form, and the union below is
|
|
214
|
+
* what says so. The `name` column has to be among them and the run fails without
|
|
215
|
+
* it, because it is the row header: a table whose rows have no row header is a
|
|
216
|
+
* table where a reader who lands on one cell is not told which project they are
|
|
217
|
+
* in. A column no project carries is a column of empty cells, which is a column
|
|
218
|
+
* every reader scans twice, and the run fails on that too.
|
|
219
|
+
*/
|
|
220
|
+
columns?: ProjectListColumn[];
|
|
221
|
+
/**
|
|
222
|
+
* Heading level for the section title. See `HeadingLevel`.
|
|
223
|
+
*/
|
|
224
|
+
headingLevel?: HeadingLevel;
|
|
225
|
+
/** Layout only, exactly as on every Block. */
|
|
226
|
+
className?: string;
|
|
227
|
+
} & ({
|
|
228
|
+
/** A table declares its columns, because a header row is read out loud. */
|
|
229
|
+
variant: 'table';
|
|
230
|
+
columns: ProjectListColumn[];
|
|
231
|
+
} | {
|
|
232
|
+
/** A row list has no header row, so there is nothing to declare. */
|
|
233
|
+
variant?: 'rows';
|
|
234
|
+
columns?: never;
|
|
235
|
+
});
|
|
236
|
+
/**
|
|
237
|
+
* A list of projects, as rows or as a real table, with a toolbar, a filter column
|
|
238
|
+
* and an empty state the caller writes.
|
|
239
|
+
*
|
|
240
|
+
* **This is the many-projects counterpart to `Project01`, and the two take the
|
|
241
|
+
* same field names on purpose.** A consumer with a project model has one model: a
|
|
242
|
+
* caller maps their project onto `name`, `state`, `owner`, `progress`, `updated`
|
|
243
|
+
* and `tags` once, and that mapping feeds a detail header and a list row without
|
|
244
|
+
* either Block knowing the other exists. The alternative, a list Block with its own
|
|
245
|
+
* field names, gives every consumer two models to keep in step, and the two drift
|
|
246
|
+
* within a release rather than across one, which is the failure mode this
|
|
247
|
+
* repository is organised against. The cost is stated rather than hidden: a row has
|
|
248
|
+
* nowhere to put a stage list, a span of dates and an action slot, so those fields
|
|
249
|
+
* are absent from the row type instead of being quietly ignored.
|
|
250
|
+
*
|
|
251
|
+
* **The two variants answer different questions, and `rows` is the one that is
|
|
252
|
+
* scanned while `table` is the one that is compared.** A short list where the
|
|
253
|
+
* summary is the point wants the rows form: each row is one project read top to
|
|
254
|
+
* bottom, its name and its sentence and its state, with no header row to announce
|
|
255
|
+
* and no columns to align, and the reader's job is to find the one they want. A
|
|
256
|
+
* long list wants the table form, and the moment that changes is the moment a
|
|
257
|
+
* reader starts comparing a value in one row against the same value in another:
|
|
258
|
+
* that is when the content is records with columns rather than a list of things,
|
|
259
|
+
* which is the exact boundary `ListPanel` draws in its own documentation. The
|
|
260
|
+
* three things a `<div>` grid gets wrong are the three a reader of forty projects
|
|
261
|
+
* needs: there is no `th` to navigate by, so a screen reader announces a bare run
|
|
262
|
+
* of values with no idea which is the state and which is the owner; there is no
|
|
263
|
+
* row header, so a reader who lands on one cell is not told which project they are
|
|
264
|
+
* in; and there is nothing for a browser's own table commands to act on.
|
|
265
|
+
*
|
|
266
|
+
* **The filter column is a slot, and it is a slot rather than a set of named
|
|
267
|
+
* controls because a projects index is not always faceted.** `FilterPanel` is the
|
|
268
|
+
* Component it is for, and the panel is a column, so the slot is drawn in a narrow
|
|
269
|
+
* aside at the leading edge with the list beside it. A caller whose filters are a
|
|
270
|
+
* popover trigger or a row of chips passes them in `toolbar` instead, and a Block
|
|
271
|
+
* that drew its own filters would be deciding that every projects index is a
|
|
272
|
+
* faceted browser, which most of them are not.
|
|
273
|
+
*
|
|
274
|
+
* **The order is the caller's and this Block does not sort.** The same argument
|
|
275
|
+
* `ResourceList01` gives and the same one `Leaderboard01` gives harder: a projects
|
|
276
|
+
* index is very often already ordered by a query that knows which project is live,
|
|
277
|
+
* and a Block that sorted by name or by date would undo a decision it cannot see.
|
|
278
|
+
* A `sort` prop would be a second derivation the caller then has to keep in step
|
|
279
|
+
* with their own data, and two orderings of one list that disagree is a list whose
|
|
280
|
+
* order nobody can fix without changing code in two places.
|
|
281
|
+
*
|
|
282
|
+
* **The run fails on five ways a projects table can be wrong, and every one of
|
|
283
|
+
* them reaches a developer rather than a reader.** A `columns` array with no
|
|
284
|
+
* `name` in it is a header row with a cell fewer than every body row and a table
|
|
285
|
+
* whose rows have no identity. A `columns` array that names the same cell twice is
|
|
286
|
+
* a table with two columns reading the same value. A column no project carries is
|
|
287
|
+
* a column of empty cells. A project with a state and no words for it is a dot
|
|
288
|
+
* with nothing beside it. And a project with a progress and no sentence for it, or
|
|
289
|
+
* a moment and no sentence for it, or a link and no words on it, is a figure
|
|
290
|
+
* announcing a bare number, a date with no claim about how old it is, and a link
|
|
291
|
+
* announced by its address. Each message names the project rather than the index,
|
|
292
|
+
* because a caller with forty projects needs to know which one.
|
|
293
|
+
*
|
|
294
|
+
* It is a server Component: no hook, no state, no client code of its own and no
|
|
295
|
+
* router. The only client code it can pull in is one `Progress` island per project
|
|
296
|
+
* that asks for a fill, and the portrait is `Avatar`, whose only client work is
|
|
297
|
+
* measuring whether an image has loaded.
|
|
298
|
+
*/
|
|
299
|
+
export declare function ProjectList01({ eyebrow, title, description, projects, toolbar, filters, footer, empty, variant, columns, headingLevel, className, }: ProjectList01Props): import("react").JSX.Element;
|
|
300
|
+
export default ProjectList01;
|
|
301
|
+
//# sourceMappingURL=project-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-list.d.ts","sourceRoot":"","sources":["../../../src/blocks/project-list-01/project-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAM7C,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AA8CxF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,MAAM,CAAA;AAEV;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,kDAAkD;IAClD,EAAE,EAAE,eAAe,CAAA;IACnB,qDAAqD;IACrD,MAAM,EAAE,SAAS,CAAA;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,sDAAsD;IACtD,EAAE,EAAE,MAAM,CAAA;IACV,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yDAAyD;IACzD,KAAK,CAAC,EAAE;QACN,6BAA6B;QAC7B,IAAI,EAAE,MAAM,CAAA;QACZ,0DAA0D;QAC1D,MAAM,CAAC,EAAE;YACP,2EAA2E;YAC3E,GAAG,CAAC,EAAE,MAAM,CAAA;YACZ,wDAAwD;YACxD,IAAI,EAAE,MAAM,CAAA;SACb,CAAA;KACF,CAAA;IACD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA;IACvD,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACjD,gFAAgF;IAChF,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,EAAE,CAAA;IACzC,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAqBD;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iFAAiF;IACjF,KAAK,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;OAOG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAA;IAC9B;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;;;;;OAOG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1B;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,CACA;IACE,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,iBAAiB,EAAE,CAAA;CAC7B,GACD;IACE,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB,CACJ,CAAA;AA8HD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,OAAO,EACP,OAAO,EACP,MAAM,EACN,KAAK,EACL,OAAgB,EAChB,OAAO,EACP,YAAmB,EACnB,SAAS,GACV,EAAE,kBAAkB,+BAuPpB;AAED,eAAe,aAAa,CAAA"}
|