@nanisoft/prism-ui 0.10.2 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- 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/app-shell-01/app-shell.js +4 -4
- package/dist/blocks/app-shell-01/index.d.ts +2 -2
- package/dist/blocks/app-shell-01/index.js +1 -1
- 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 +51 -2
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +36 -10
- package/dist/blocks/auth-form-01/index.d.ts +2 -2
- package/dist/blocks/auth-form-01/index.js +1 -1
- 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 +33 -22
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +12 -3
- package/dist/blocks/cta-01/index.d.ts +2 -2
- package/dist/blocks/cta-01/index.js +1 -1
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +15 -12
- package/dist/blocks/data-table-01/index.d.ts +2 -2
- package/dist/blocks/data-table-01/index.js +1 -1
- 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/empty-state-01/empty-state.d.ts +143 -0
- package/dist/blocks/empty-state-01/empty-state.d.ts.map +1 -0
- package/dist/blocks/empty-state-01/empty-state.js +104 -0
- package/dist/blocks/empty-state-01/index.d.ts +3 -0
- package/dist/blocks/empty-state-01/index.d.ts.map +1 -0
- package/dist/blocks/empty-state-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-grid-01/feature-grid.d.ts +28 -1
- package/dist/blocks/feature-grid-01/feature-grid.d.ts.map +1 -1
- package/dist/blocks/feature-grid-01/feature-grid.js +34 -3
- package/dist/blocks/feature-grid-01/index.d.ts +2 -2
- package/dist/blocks/feature-grid-01/index.js +1 -1
- 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 +112 -21
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +29 -16
- package/dist/blocks/hero-01/index.d.ts +2 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-01/index.js +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 +223 -20
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +137 -19
- 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/instrument-panel-01/index.d.ts +2 -2
- package/dist/blocks/instrument-panel-01/index.js +1 -1
- package/dist/blocks/instrument-panel-01/instrument-panel.js +1 -1
- 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/logo-strip-01/index.d.ts +2 -2
- package/dist/blocks/logo-strip-01/index.js +1 -1
- package/dist/blocks/logo-strip-01/logo-strip.d.ts +1 -1
- package/dist/blocks/logo-strip-01/logo-strip.js +2 -2
- 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/note-grid-01/index.d.ts +2 -2
- package/dist/blocks/note-grid-01/index.js +1 -1
- package/dist/blocks/note-grid-01/note-grid.d.ts +1 -1
- package/dist/blocks/note-grid-01/note-grid.js +1 -1
- 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 +2 -2
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/index.js +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +125 -12
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +28 -12
- 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 +2 -1
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/index.js +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +126 -2
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +22 -5
- 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/process-flow-01/index.d.ts +3 -0
- package/dist/blocks/process-flow-01/index.d.ts.map +1 -0
- package/dist/blocks/process-flow-01/index.js +1 -0
- package/dist/blocks/process-flow-01/process-flow.d.ts +118 -0
- package/dist/blocks/process-flow-01/process-flow.d.ts.map +1 -0
- package/dist/blocks/process-flow-01/process-flow.js +71 -0
- package/dist/blocks/process-rail-01/index.d.ts +2 -2
- package/dist/blocks/process-rail-01/index.js +1 -1
- package/dist/blocks/process-rail-01/process-rail.d.ts +1 -1
- package/dist/blocks/process-rail-01/process-rail.js +2 -2
- package/dist/blocks/product-grid-01/index.d.ts +2 -2
- package/dist/blocks/product-grid-01/index.js +1 -1
- package/dist/blocks/product-grid-01/product-grid.d.ts +37 -5
- package/dist/blocks/product-grid-01/product-grid.d.ts.map +1 -1
- package/dist/blocks/product-grid-01/product-grid.js +20 -6
- 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/index.d.ts +3 -0
- package/dist/blocks/run-console-01/index.d.ts.map +1 -0
- package/dist/blocks/run-console-01/index.js +1 -0
- package/dist/blocks/run-console-01/run-console.d.ts +124 -0
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -0
- package/dist/blocks/run-console-01/run-console.js +49 -0
- 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-panel-01/index.d.ts +2 -2
- package/dist/blocks/settings-panel-01/index.js +1 -1
- package/dist/blocks/settings-panel-01/settings-panel.d.ts +11 -1
- package/dist/blocks/settings-panel-01/settings-panel.d.ts.map +1 -1
- package/dist/blocks/settings-panel-01/settings-panel.js +15 -10
- 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/index.d.ts +2 -2
- package/dist/blocks/site-footer/index.js +1 -1
- package/dist/blocks/site-footer/site-footer.d.ts +19 -2
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +10 -4
- package/dist/blocks/site-header/index.d.ts +2 -2
- package/dist/blocks/site-header/index.js +1 -1
- package/dist/blocks/site-header/site-header.d.ts +2 -2
- package/dist/blocks/site-header/site-header.js +4 -4
- package/dist/blocks/site-navbar/index.d.ts +3 -0
- package/dist/blocks/site-navbar/index.d.ts.map +1 -0
- package/dist/blocks/site-navbar/index.js +1 -0
- package/dist/blocks/site-navbar/mobile-nav.d.ts +48 -0
- package/dist/blocks/site-navbar/mobile-nav.d.ts.map +1 -0
- package/dist/blocks/site-navbar/mobile-nav.js +35 -0
- package/dist/blocks/site-navbar/mode-toggle.d.ts +39 -0
- package/dist/blocks/site-navbar/mode-toggle.d.ts.map +1 -0
- package/dist/blocks/site-navbar/mode-toggle.js +39 -0
- package/dist/blocks/site-navbar/navbar-controls.d.ts +79 -0
- package/dist/blocks/site-navbar/navbar-controls.d.ts.map +1 -0
- package/dist/blocks/site-navbar/navbar-controls.js +40 -0
- package/dist/blocks/site-navbar/search-entry.d.ts +29 -0
- package/dist/blocks/site-navbar/search-entry.d.ts.map +1 -0
- package/dist/blocks/site-navbar/search-entry.js +52 -0
- package/dist/blocks/site-navbar/site-navbar.d.ts +246 -0
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -0
- package/dist/blocks/site-navbar/site-navbar.js +90 -0
- package/dist/blocks/site-navbar/sites-menu.d.ts +40 -0
- package/dist/blocks/site-navbar/sites-menu.d.ts.map +1 -0
- package/dist/blocks/site-navbar/sites-menu.js +48 -0
- package/dist/blocks/site-navbar/theme-menu.d.ts +47 -0
- package/dist/blocks/site-navbar/theme-menu.d.ts.map +1 -0
- package/dist/blocks/site-navbar/theme-menu.js +55 -0
- 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/index.d.ts +2 -2
- package/dist/blocks/stack-grid-01/index.js +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +42 -11
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +15 -7
- package/dist/blocks/stats-01/index.d.ts +9 -1
- package/dist/blocks/stats-01/index.d.ts.map +1 -1
- package/dist/blocks/stats-01/index.js +8 -1
- package/dist/blocks/stats-01/stats.d.ts +1 -1
- package/dist/blocks/stats-01/stats.js +2 -2
- package/dist/blocks/status-ledger-01/index.d.ts +2 -2
- package/dist/blocks/status-ledger-01/index.js +1 -1
- package/dist/blocks/status-ledger-01/status-ledger.d.ts +1 -1
- package/dist/blocks/status-ledger-01/status-ledger.js +2 -2
- 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 +1 -1
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +2114 -2
- package/dist/components/index.d.ts +218 -66
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +208 -40
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +10 -3
- package/dist/components/ui/alert-dialog.d.ts +119 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +100 -0
- package/dist/components/ui/alert.js +1 -1
- 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/aspect-ratio.d.ts +60 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +61 -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/avatar.js +1 -1
- package/dist/components/ui/badge.js +1 -1
- 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/breadcrumb.js +1 -1
- package/dist/components/ui/button-group.d.ts +68 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button-group.js +54 -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 +18 -3
- package/dist/components/ui/calendar.d.ts +167 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +244 -0
- package/dist/components/ui/card.d.ts +18 -6
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +23 -8
- package/dist/components/ui/carousel.d.ts +125 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +209 -0
- package/dist/components/ui/chart-frame.d.ts +216 -0
- package/dist/components/ui/chart-frame.d.ts.map +1 -0
- package/dist/components/ui/chart-frame.js +286 -0
- 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 +20 -2
- 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 +108 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +65 -0
- package/dist/components/ui/combobox.d.ts +144 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +259 -0
- package/dist/components/ui/command-palette.d.ts +117 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -0
- package/dist/components/ui/command-palette.js +222 -0
- package/dist/components/ui/command.d.ts +82 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +37 -0
- package/dist/components/ui/context-menu.d.ts +151 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +97 -0
- 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/cta-link.js +1 -1
- 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 +111 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -0
- package/dist/components/ui/date-picker.js +82 -0
- package/dist/components/ui/diagram.d.ts +84 -15
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +77 -7
- 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 +41 -7
- package/dist/components/ui/diff.d.ts +105 -0
- package/dist/components/ui/diff.d.ts.map +1 -0
- package/dist/components/ui/diff.js +113 -0
- 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 +18 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +7 -2
- 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.js +1 -1
- package/dist/components/ui/field.js +1 -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/form.d.ts +151 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +73 -0
- package/dist/components/ui/hover-card.d.ts +105 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +49 -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/input-group.d.ts +99 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +83 -0
- package/dist/components/ui/input.js +1 -1
- 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/item.d.ts +113 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +61 -0
- package/dist/components/ui/kbd.js +1 -1
- package/dist/components/ui/label.d.ts +58 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +29 -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/live-region.d.ts +9 -0
- package/dist/components/ui/live-region.d.ts.map +1 -1
- package/dist/components/ui/live-region.js +10 -2
- package/dist/components/ui/mark.js +1 -1
- 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 +206 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +118 -0
- package/dist/components/ui/meter.d.ts +121 -0
- package/dist/components/ui/meter.d.ts.map +1 -0
- package/dist/components/ui/meter.js +82 -0
- 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 +72 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/native-select.js +62 -0
- package/dist/components/ui/navigation-menu.d.ts +193 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +101 -0
- 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 +144 -0
- package/dist/components/ui/number-field.d.ts.map +1 -0
- package/dist/components/ui/number-field.js +114 -0
- package/dist/components/ui/one-time-code.d.ts +127 -0
- package/dist/components/ui/one-time-code.d.ts.map +1 -0
- package/dist/components/ui/one-time-code.js +57 -0
- 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 +24 -2
- 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 +9 -2
- 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/product-mark.d.ts +1 -1
- package/dist/components/ui/product-mark.js +1 -1
- package/dist/components/ui/product-switcher.d.ts +1 -1
- package/dist/components/ui/product-switcher.js +2 -2
- 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 +111 -3
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +31 -2
- package/dist/components/ui/pulse-graph.js +1 -1
- package/dist/components/ui/pulse-series.js +1 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +9 -2
- 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 +153 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +297 -0
- package/dist/components/ui/scroll-area.d.ts +97 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +68 -0
- package/dist/components/ui/search-dialog.d.ts +174 -0
- package/dist/components/ui/search-dialog.d.ts.map +1 -0
- package/dist/components/ui/search-dialog.js +256 -0
- 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 +134 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +141 -4
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +10 -2
- 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/separator.js +1 -1
- package/dist/components/ui/sheet.d.ts +103 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +58 -0
- package/dist/components/ui/sidebar.d.ts +257 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +205 -0
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +2 -2
- package/dist/components/ui/skeleton.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 +33 -2
- 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 +79 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +92 -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 +13 -2
- package/dist/components/ui/table-sort.d.ts +97 -0
- package/dist/components/ui/table-sort.d.ts.map +1 -0
- package/dist/components/ui/table-sort.js +102 -0
- package/dist/components/ui/table.js +1 -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 +24 -5
- 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/textarea.js +1 -1
- package/dist/components/ui/timeline.d.ts +106 -0
- package/dist/components/ui/timeline.d.ts.map +1 -0
- package/dist/components/ui/timeline.js +120 -0
- package/dist/components/ui/toast.d.ts +241 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +373 -0
- package/dist/components/ui/toggle-group.d.ts +127 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +208 -0
- package/dist/components/ui/toggle.d.ts +73 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +52 -0
- package/dist/components/ui/tooltip.js +1 -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 +93 -14
- package/dist/components/ui/typography.js +1 -1
- 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-OFL.txt +93 -93
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +184 -70
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +133 -60
- package/dist/lib/rank.d.ts +69 -0
- package/dist/lib/rank.d.ts.map +1 -0
- package/dist/lib/rank.js +77 -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 +29 -0
- package/dist/live/index.d.ts.map +1 -0
- package/dist/live/index.js +29 -0
- package/dist/live/run-stream-01/index.d.ts +3 -0
- package/dist/live/run-stream-01/index.d.ts.map +1 -0
- package/dist/live/run-stream-01/index.js +1 -0
- package/dist/live/run-stream-01/run-stream.d.ts +125 -0
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -0
- package/dist/live/run-stream-01/run-stream.js +111 -0
- 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/auth-page/index.d.ts +15 -2
- package/dist/pages/auth-page/index.d.ts.map +1 -1
- package/dist/pages/auth-page/index.js +8 -4
- package/dist/pages/blog-post-page/index.js +5 -5
- 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/dashboard-page/index.d.ts +4 -4
- package/dist/pages/dashboard-page/index.js +4 -4
- package/dist/pages/docs-shell/docs-shell.d.ts +45 -4
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +131 -23
- package/dist/pages/docs-shell/index.d.ts +2 -2
- package/dist/pages/docs-shell/index.js +1 -1
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +24 -14
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +21 -7
- 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/marketing-page/index.d.ts +6 -6
- package/dist/pages/marketing-page/index.js +5 -5
- package/dist/pages/not-found-page/index.js +4 -4
- 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/settings-page/index.d.ts +3 -3
- package/dist/pages/settings-page/index.js +4 -4
- 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/provider/index.d.ts +4 -4
- package/dist/provider/index.js +2 -2
- package/dist/provider/provider.d.ts +1 -1
- package/dist/provider/provider.js +1 -1
- package/dist/provider/theme-script.d.ts +1 -1
- package/dist/provider/theme-script.js +1 -1
- package/dist/styles.css +1669 -32
- package/package.json +17 -3
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from '../../components/ui/avatar.js';
|
|
3
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
4
|
+
import { Metric } from '../../components/ui/metric.js';
|
|
5
|
+
import { Progress } from '../../components/ui/progress.js';
|
|
6
|
+
import { RelativeTime } from '../../components/ui/relative-time.js';
|
|
7
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
8
|
+
import { Status } from '../../components/ui/status.js';
|
|
9
|
+
import { Steps } from '../../components/ui/steps.js';
|
|
10
|
+
import { cn } from '../../lib/utils.js';
|
|
11
|
+
/**
|
|
12
|
+
* The tone each state is drawn in, from the semantic contract and no other.
|
|
13
|
+
*
|
|
14
|
+
* Two of the five share a role and the sharing is deliberate rather than lazy.
|
|
15
|
+
* `active` and `complete` are both `success`, because a project that is running
|
|
16
|
+
* and a project that finished are the two states a reader is glad to see, and the
|
|
17
|
+
* words beside the dot are what tell them apart, which is the arrangement the
|
|
18
|
+
* whole tier rests on: colour is never the only channel. `planning` is `info`,
|
|
19
|
+
* the contract's cool role that means not an alarm, because work being shaped is
|
|
20
|
+
* not a fault. `archived` is `neutral`, because a project nobody is working on is
|
|
21
|
+
* not in dispute and must not be drawn as though it were.
|
|
22
|
+
*
|
|
23
|
+
* `blocked` is `warning` and not `destructive`, for the reason `FieldMap01` gives
|
|
24
|
+
* for an unmapped field: an unmapped field is a thing to do rather than a
|
|
25
|
+
* breakage, and a table of thirty projects where four are amber is a table with
|
|
26
|
+
* four tasks in it, while the same four in red reads as four incidents and sends
|
|
27
|
+
* a reader looking for a failure that is not happening. The cost is named here
|
|
28
|
+
* because it is real: a blocked project is a genuine problem, and this tone says
|
|
29
|
+
* "attend to it" rather than "something is broken". A caller whose product treats
|
|
30
|
+
* a block as a failure has no seam here, and the answer is `summary`.
|
|
31
|
+
*/
|
|
32
|
+
const STATE_TONE = {
|
|
33
|
+
planning: 'info',
|
|
34
|
+
active: 'success',
|
|
35
|
+
blocked: 'warning',
|
|
36
|
+
complete: 'success',
|
|
37
|
+
archived: 'neutral',
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* The state a stage's mark is drawn from.
|
|
41
|
+
*
|
|
42
|
+
* Three entries for three positions. `done` becomes `complete` because that is
|
|
43
|
+
* the word `Steps` uses for a stage behind the reader, and the two vocabularies
|
|
44
|
+
* differ only there. A map rather than a lookup at the call site because the
|
|
45
|
+
* translation is a fact about the Component and not about the data, and a Block
|
|
46
|
+
* that spelled `complete` in five places would be five chances to spell it once
|
|
47
|
+
* wrong.
|
|
48
|
+
*/
|
|
49
|
+
const RAIL_STATE = {
|
|
50
|
+
done: 'complete',
|
|
51
|
+
current: 'current',
|
|
52
|
+
upcoming: 'upcoming',
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The initials a name produces, and the rule that produces them.
|
|
56
|
+
*
|
|
57
|
+
* Two letters from the first and last words, and the first two characters of a
|
|
58
|
+
* single word. It is the same rule `AvatarGroup` and `Team01` apply and it is
|
|
59
|
+
* repeated here for the reason `Team01` states in full: that helper is private to
|
|
60
|
+
* its module and exporting it would make a private derivation part of the
|
|
61
|
+
* published surface of a Component in order to save six lines in a Block. The cost
|
|
62
|
+
* of the repetition is named rather than hidden, because three modules now carry
|
|
63
|
+
* this rule and a change to it is a change in three. A caller who needs a case it
|
|
64
|
+
* does not cover passes their own node through the `avatar` slot's `name` and a
|
|
65
|
+
* monogram of their own choosing.
|
|
66
|
+
*/
|
|
67
|
+
function initialsOf(name) {
|
|
68
|
+
const words = name.trim().split(/\s+/).filter(Boolean);
|
|
69
|
+
const first = words[0];
|
|
70
|
+
if (first === undefined)
|
|
71
|
+
return '';
|
|
72
|
+
if (words.length === 1)
|
|
73
|
+
return first.slice(0, 2).toUpperCase();
|
|
74
|
+
return `${first.charAt(0)}${words[words.length - 1].charAt(0)}`.toUpperCase();
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The stage the rail is on, and the reason this Block picks it rather than asking.
|
|
78
|
+
*
|
|
79
|
+
* `Steps` requires exactly one current step and throws without one, and a
|
|
80
|
+
* project's stage list is a place where that is genuinely absent: a project whose
|
|
81
|
+
* stages are all done has no current stage, and a project nobody has started has
|
|
82
|
+
* one that is not declared. So the rail's position is derived when the caller has
|
|
83
|
+
* not declared it: the first stage that has not been done, and the last stage
|
|
84
|
+
* when everything is done, which is the only position a finished rail can hold.
|
|
85
|
+
*
|
|
86
|
+
* The caller who has declared one gets it, and the caller who has declared two is
|
|
87
|
+
* a caller whose data contradicts itself, which the guard above refuses rather
|
|
88
|
+
* than a position this Block guesses at.
|
|
89
|
+
*/
|
|
90
|
+
function railCurrent(stages) {
|
|
91
|
+
const declared = stages.findIndex((stage) => stage.state === 'current');
|
|
92
|
+
if (declared !== -1)
|
|
93
|
+
return declared;
|
|
94
|
+
const firstOpen = stages.findIndex((stage) => stage.state === 'upcoming');
|
|
95
|
+
return firstOpen === -1 ? stages.length - 1 : firstOpen;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* A project in full: its name, where it stands, who owns it, when it runs, how far
|
|
99
|
+
* along it is, what it reads, and the stages it is on.
|
|
100
|
+
*
|
|
101
|
+
* **The reader here is looking for one project, so everything in this Block is
|
|
102
|
+
* scannable and the two things a reader reaches for are a state and an owner.**
|
|
103
|
+
* That is the fact the whole arrangement is built on, and it is why the state and
|
|
104
|
+
* the owner sit on the first line under the name rather than in a field list at
|
|
105
|
+
* the bottom: a reader who has opened a project to find out whether it is stuck
|
|
106
|
+
* has two questions, and neither of them is a figure. Scanability and keyboard
|
|
107
|
+
* reach outrank expression at this tier, and a state nobody can find in a glance
|
|
108
|
+
* is a state this Block has failed to ship whatever else it got right.
|
|
109
|
+
*
|
|
110
|
+
* **The state is `Status` and the figures are `Metric`, and neither was redrawn.**
|
|
111
|
+
* `Status` is a dot in one of five tones beside the caller's own words, and it
|
|
112
|
+
* owns the arrangement that matters here: the dot is `aria-hidden` and the words
|
|
113
|
+
* carry the state, so a reader who cannot separate `warning` from `destructive`
|
|
114
|
+
* still reads which is which, and a state is never colour alone. A hand-drawn dot
|
|
115
|
+
* beside a word in this Block would be a second implementation of that Component
|
|
116
|
+
* and the second one is the one that gets the `aria-hidden` wrong. `Metric` owns
|
|
117
|
+
* the arrangement a headline figure is read in, which puts the figure first and
|
|
118
|
+
* the name under it, and it owns the fact that a string figure is set in the mono
|
|
119
|
+
* face while a composed one is not. The one thing it cannot do is print a delta it
|
|
120
|
+
* has no unit for, and the cost of that is stated on `Project01Figure`.
|
|
121
|
+
*
|
|
122
|
+
* **The fill is `Progress` with `valueText`, and the reason is the seam rather
|
|
123
|
+
* than the bar.** A hand-drawn filled bar is a div with a width on it, and a div
|
|
124
|
+
* with a width is a picture of a value that no screen reader, no crawler and no
|
|
125
|
+
* print stylesheet can read, which is the exact failure `Progress` exists to close
|
|
126
|
+
* because it exposes the value, the minimum and the maximum through ARIA. The
|
|
127
|
+
* second half is why the words travel as a string: this Block is a server
|
|
128
|
+
* Component and `Progress` is a client one, so a callback handed down from here is
|
|
129
|
+
* a build error rather than a warning, and `Progress` therefore publishes
|
|
130
|
+
* `valueText` for exactly this case. The cost of composing it is real and is named
|
|
131
|
+
* here: `Progress` is a client Component, so a project with a fill is a client
|
|
132
|
+
* island and a caller with forty projects on one page is paying for forty. The
|
|
133
|
+
* answer is to leave `progress` off the projects that are not measured.
|
|
134
|
+
*
|
|
135
|
+
* **The stage list is `Steps`, because the rail is a Component and the three
|
|
136
|
+
* marks are already right.** The alternative was a hand-drawn list of discs and
|
|
137
|
+
* rules, and it is a second implementation of three things `Steps` has already
|
|
138
|
+
* settled: that the states differ by shape before they differ by colour, so a
|
|
139
|
+
* reader who cannot separate a filled disc from a ring is not being told two
|
|
140
|
+
* different things about two different stages; that exactly one step carries
|
|
141
|
+
* `aria-current`, because two current steps is a rail with two answers to where
|
|
142
|
+
* the reader is; and that the rule between the steps carries how far along they
|
|
143
|
+
* are, rather than a bar per step restating "done" once per stage and leaving the
|
|
144
|
+
* arithmetic to the reader. The cost is stated rather than hidden, and it is the
|
|
145
|
+
* rail's own limitation rather than this Block's: `Steps`'s qualifier is a string,
|
|
146
|
+
* and a stage's moment is a node, so the rail cannot hold a date. The moments are
|
|
147
|
+
* drawn beneath it as the definition list they are, and a caller whose stages are
|
|
148
|
+
* mostly dates wants `MilestoneTimeline01`, which is the Block built for a dated
|
|
149
|
+
* sequence.
|
|
150
|
+
*
|
|
151
|
+
* **The dates are the caller's and the sentence is the caller's, and this is the
|
|
152
|
+
* same rule the rest of this roster keeps arriving at from three directions.** The
|
|
153
|
+
* moments are passed to `RelativeTime` untouched, so the absolute reading a reader
|
|
154
|
+
* sees is the platform's own in the language they have, and `dateLabel` supplies
|
|
155
|
+
* the sentence beside it, which is the one string in the pair that is English by
|
|
156
|
+
* nature: it has a plural, it changes shape past a day, and every language words
|
|
157
|
+
* it differently. A Block that formatted the moment instead would ship one
|
|
158
|
+
* locale's format into every consumer's project, and a Block that wrote the
|
|
159
|
+
* sentence would ship English. The honest cost is a small one and it is named
|
|
160
|
+
* here: `dateLabel` is given the moment and not the role, so it cannot say whether
|
|
161
|
+
* a reading is the start of the span or the end of it, and the order is what
|
|
162
|
+
* carries that. A caller whose product names its two ends differently composes the
|
|
163
|
+
* two readings themselves, which is the same amount of work and one more prop.
|
|
164
|
+
*
|
|
165
|
+
* **It is a server Component.** No hook, no state, no client code of its own and
|
|
166
|
+
* no router. The only client code it can pull in is one `Progress` island on the
|
|
167
|
+
* project that asks for a fill, and the portrait is `Avatar`, whose only client
|
|
168
|
+
* work is measuring whether an image has loaded.
|
|
169
|
+
*/
|
|
170
|
+
export function Project01({ name, summary, state, stateLabel, owner, startsAt, endsAt, dateLabel, figures, stages, actions, progress, progressLabel, layout = 'stacked', headingLevel = 'h2', className, }) {
|
|
171
|
+
/*
|
|
172
|
+
* The announced sentence for the bar, bound once after the guard below.
|
|
173
|
+
*
|
|
174
|
+
* The union above is what makes the pair complete, so by the time anything
|
|
175
|
+
* renders the function is there. The type cannot see that, because the check is
|
|
176
|
+
* on one arm of a union and the use is inside a ternary over `progress`, so a
|
|
177
|
+
* closure is bound here and the render reads one name. `labelProgress` never
|
|
178
|
+
* returns an empty string: the guard has already refused that case, and a second
|
|
179
|
+
* refusal inside the render would be the same diagnostic twice.
|
|
180
|
+
*/
|
|
181
|
+
const labelProgress = (value) => {
|
|
182
|
+
if (progressLabel === undefined) {
|
|
183
|
+
throw new Error('Project01: reached the bar with no progressLabel, which the union above should have made ' +
|
|
184
|
+
'impossible. The two are separate so that the diagnostic names the prop rather than the render.');
|
|
185
|
+
}
|
|
186
|
+
return progressLabel(value, name);
|
|
187
|
+
};
|
|
188
|
+
if (owner !== undefined && owner.href !== undefined && !owner.hrefLabel) {
|
|
189
|
+
throw new Error(`Project01: the owner of "${name}" declares an href with no hrefLabel, so the link would be ` +
|
|
190
|
+
'announced by its destination alone. A person\'s name is a name, and the sentence saying that ' +
|
|
191
|
+
'following the link is a thing you can do belongs to the caller.');
|
|
192
|
+
}
|
|
193
|
+
const currents = stages?.filter((stage) => stage.state === 'current').length ?? 0;
|
|
194
|
+
if (currents > 1) {
|
|
195
|
+
throw new Error(`Project01: the stages of "${name}" declare ${currents} current stages, and a rail has one ` +
|
|
196
|
+
'position. Two current stages is a reader told they are in two places at once. Declare one, or ' +
|
|
197
|
+
'leave the state to the order.');
|
|
198
|
+
}
|
|
199
|
+
for (const stage of stages ?? []) {
|
|
200
|
+
if (!stage.stateLabel) {
|
|
201
|
+
throw new Error(`Project01: the stage "${stage.id}" declares a state and no stateLabel, so the mark beside it ` +
|
|
202
|
+
'would be a shape with no sentence, and a shape a reader can only see is a state nobody can act ' +
|
|
203
|
+
'on. Pass the words your readers use for that position.');
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
const rail = (stages ?? []).map((stage) => ({
|
|
207
|
+
label: stage.name,
|
|
208
|
+
description: stage.stateLabel,
|
|
209
|
+
// The states are the caller's rather than the rail's whenever the caller
|
|
210
|
+
// declared a position, because a project that reached a stage out of band is
|
|
211
|
+
// real and a rail derived from the order would draw a claim the data
|
|
212
|
+
// contradicts. With no declared position the rail derives every mark, which is
|
|
213
|
+
// the arrangement that cannot disagree with itself.
|
|
214
|
+
...(currents === 1 ? { state: RAIL_STATE[stage.state] } : null),
|
|
215
|
+
}));
|
|
216
|
+
const dated = (stages ?? []).filter((stage) => stage.at !== undefined);
|
|
217
|
+
const hasSpan = startsAt !== undefined || endsAt !== undefined;
|
|
218
|
+
const aside = (_jsxs("div", { "data-slot": "project-01-aside", className: "flex min-w-0 flex-col gap-6", children: [_jsxs("div", { "data-slot": "project-01-facts", className: "flex flex-wrap items-center gap-x-6 gap-y-3", children: [_jsx(Status, { tone: STATE_TONE[state], label: stateLabel(state) }), owner === undefined ? null : (_jsxs("span", { "data-slot": "project-01-owner", className: "flex min-w-0 items-center gap-2", children: [owner.avatar === undefined ? null : (_jsxs(Avatar, { className: "size-6", children: [owner.avatar.src === undefined ? null : (_jsx(AvatarImage, { src: owner.avatar.src, alt: "" })), _jsx(AvatarFallback, { className: "text-mono", children: initialsOf(owner.avatar.name) })] })), owner.href === undefined || owner.hrefLabel === undefined ? (_jsx("span", { "data-slot": "project-01-owner-name", className: "text-sm", children: owner.name })) : (_jsx(CtaLink, { href: owner.href, size: "sm", variant: "ghost", children: owner.hrefLabel }))] })), hasSpan ? (
|
|
219
|
+
/*
|
|
220
|
+
The two ends of the span, in the order the span runs, with no separator
|
|
221
|
+
between them. The gap is the separator and it is deliberate: a dash, a
|
|
222
|
+
comma or a "to" would be a word or a piece of punctuation this Block
|
|
223
|
+
chose, and the caller's `dateLabel` is the only thing on this line
|
|
224
|
+
allowed to say anything. `data-slot` names each end so a test and a
|
|
225
|
+
caller can find one of them, which is what a reader cannot do.
|
|
226
|
+
*/
|
|
227
|
+
_jsxs("span", { "data-slot": "project-01-span", className: "text-muted-foreground flex flex-wrap items-baseline gap-x-3 text-sm", children: [startsAt === undefined ? null : (_jsx(RelativeTime, { "data-slot": "project-01-start", date: startsAt, relative: dateLabel?.(startsAt) })), endsAt === undefined ? null : (_jsx(RelativeTime, { "data-slot": "project-01-end", date: endsAt, relative: dateLabel?.(endsAt) }))] })) : null] }), actions === undefined ? null : (_jsx("div", { "data-slot": "project-01-actions", className: "flex flex-wrap items-center gap-2", children: actions }))] }));
|
|
228
|
+
const body = (_jsxs(_Fragment, { children: [progress === undefined ? null : (_jsx("div", { "data-slot": "project-01-progress", className: "flex flex-col gap-2", children: _jsx(Progress, { value: progress, valueText: labelProgress(progress) }) })), figures === undefined || figures.length === 0 ? null : (_jsx("div", { "data-slot": "project-01-figures", className: "grid gap-6 sm:grid-cols-2 lg:grid-cols-4", children: figures.map((figure) => (_jsx(Metric, { "data-slot": "project-01-figure", value: figure.value, label: figure.label, delta: figure.delta }, figure.label))) })), stages === undefined || stages.length === 0 ? null : (_jsxs("div", { "data-slot": "project-01-stages", className: "flex flex-col gap-6", children: [_jsx(Steps, { steps: rail, current: railCurrent(stages) }), dated.length === 0 ? null : (
|
|
229
|
+
/*
|
|
230
|
+
The moments, which the rail has no room for. See the JSDoc above: a
|
|
231
|
+
`Step`'s qualifier is a string, and a date is a node, so the two ends
|
|
232
|
+
of the same fact cannot both go in the rail. A definition list is the
|
|
233
|
+
honest shape for a set of names and their moments, and it is drawn
|
|
234
|
+
only when there is a moment to draw, because a list of nothing is a
|
|
235
|
+
gap the reader looks through.
|
|
236
|
+
*/
|
|
237
|
+
_jsx("dl", { "data-slot": "project-01-dates", className: "grid gap-x-8 gap-y-2 sm:grid-cols-2", children: dated.map((stage) => (_jsxs("div", { "data-slot": "project-01-date", className: "flex items-baseline gap-3", children: [_jsx("dt", { className: "text-sm font-medium", children: stage.name }), _jsx("dd", { className: "text-muted-foreground text-sm", children: _jsx(RelativeTime, { date: stage.at }) })] }, stage.id))) }))] }))] }));
|
|
238
|
+
return (_jsxs(Section, { "data-slot": "project-01", className: cn(className), children: [_jsx(SectionHeading, { as: headingLevel, align: "left", title: name, description: summary, className: "mb-10" }), _jsx("div", { "data-slot": "project-01-body", "data-layout": layout, className: cn(
|
|
239
|
+
// The two layouts get one display each rather than a base and an
|
|
240
|
+
// override, because `flex` and `grid` are the same property and which
|
|
241
|
+
// one wins is a question about the order of the generated stylesheet
|
|
242
|
+
// rather than about the order of the class names here.
|
|
243
|
+
layout === 'split'
|
|
244
|
+
? 'grid gap-10 lg:grid-cols-[minmax(0,3fr)_minmax(0,2fr)] lg:gap-14'
|
|
245
|
+
: 'flex flex-col gap-10'), children: layout === 'split' ? (_jsxs(_Fragment, { children: [_jsx("div", { "data-slot": "project-01-main", className: "flex min-w-0 flex-col gap-10", children: body }), aside] })) : (_jsxs(_Fragment, { children: [aside, body] })) })] }));
|
|
246
|
+
}
|
|
247
|
+
export default Project01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/project-dashboard-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAIjE,YAAY,EACV,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProjectDashboard01, default } from './project-dashboard.js';
|
|
@@ -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';
|