@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,302 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The five points a request can be at.
|
|
4
|
+
*
|
|
5
|
+
* A closed set of five, and the fifth is the one that makes it a lifecycle rather
|
|
6
|
+
* than a flag. A request that is being sent, a request whose answer is arriving
|
|
7
|
+
* one piece at a time, and a request that has ended are three different situations
|
|
8
|
+
* with three different affordances, and the difference between them is not a
|
|
9
|
+
* matter of degree: there is nothing to stop in the first and everything to stop in
|
|
10
|
+
* the second, and a surface that has only a busy flag has to pretend otherwise.
|
|
11
|
+
* `failed` and `done` are the two ends of the answer, and they are separate
|
|
12
|
+
* members rather than one `finished` flag because a request that ended and a
|
|
13
|
+
* request that ended badly call for different words and different next actions.
|
|
14
|
+
*/
|
|
15
|
+
export type PromptComposerPhase = 'idle' | 'sending' | 'streaming' | 'done' | 'failed';
|
|
16
|
+
/**
|
|
17
|
+
* Where the request is, as a value the caller holds.
|
|
18
|
+
*
|
|
19
|
+
* A union rather than a `phase` prop beside four booleans, and the reason is that
|
|
20
|
+
* four booleans can say things this type cannot. `sending` and `streaming` are
|
|
21
|
+
* mutually exclusive, `failed` and `done` are mutually exclusive, and an optional
|
|
22
|
+
* prop set cannot say either. A boolean is a fact about one axis, and a lifecycle
|
|
23
|
+
* is a position on one line, so the line is what the value is. A caller that
|
|
24
|
+
* switched exhaustively over it is broken by a sixth state later rather than
|
|
25
|
+
* rendering a control that is two things at once.
|
|
26
|
+
*/
|
|
27
|
+
export type PromptComposerState =
|
|
28
|
+
/** Nothing has been asked, and the request field is the reader's to write in. */
|
|
29
|
+
{
|
|
30
|
+
phase: 'idle';
|
|
31
|
+
}
|
|
32
|
+
/** The request is on its way and no part of the answer has arrived. */
|
|
33
|
+
| {
|
|
34
|
+
phase: 'sending';
|
|
35
|
+
}
|
|
36
|
+
/** Part of the answer has arrived and more is coming. */
|
|
37
|
+
| {
|
|
38
|
+
phase: 'streaming';
|
|
39
|
+
}
|
|
40
|
+
/** The answer is complete. */
|
|
41
|
+
| {
|
|
42
|
+
phase: 'done';
|
|
43
|
+
}
|
|
44
|
+
/** The request ended badly, with the caller's own sentence about why. */
|
|
45
|
+
| {
|
|
46
|
+
phase: 'failed';
|
|
47
|
+
reason?: ReactNode;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* One thing attached to the request, and the two things the tray knows about it.
|
|
51
|
+
*
|
|
52
|
+
* A reference and not a file, for the reason `ImageListField` states at length:
|
|
53
|
+
* what a composer holds is whatever the caller's own store calls this thing, and a
|
|
54
|
+
* `File` object would make the tray meaningful only on the machine that produced
|
|
55
|
+
* it. There is no size and no transfer state, because an attachment in a prompt is
|
|
56
|
+
* usually already in the caller's storage and a byte count for it is a measurement
|
|
57
|
+
* of something the reader did not choose to see.
|
|
58
|
+
*/
|
|
59
|
+
export type PromptComposerAttachment = {
|
|
60
|
+
/**
|
|
61
|
+
* The caller's own identity for the attachment, and what the remove control
|
|
62
|
+
* reports.
|
|
63
|
+
*
|
|
64
|
+
* Required, and a string rather than the name: a reader can attach the same
|
|
65
|
+
* document twice, and two remove controls announcing the same name are two
|
|
66
|
+
* controls nobody can tell apart.
|
|
67
|
+
*/
|
|
68
|
+
id: string;
|
|
69
|
+
/** The name a reader recognises the attachment by. */
|
|
70
|
+
name: string;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* The props the Prompt composer accepts.
|
|
74
|
+
*
|
|
75
|
+
* A declared interface rather than a forwarded native one, and the reason is
|
|
76
|
+
* visible in the list: every one of these is either a state the caller holds or a
|
|
77
|
+
* sentence the caller owns, and there is no native attribute left over once the
|
|
78
|
+
* fourteen are spent.
|
|
79
|
+
*/
|
|
80
|
+
export interface PromptComposerProps {
|
|
81
|
+
/**
|
|
82
|
+
* The request field's name, drawn above it and used as the name of the whole
|
|
83
|
+
* region.
|
|
84
|
+
*
|
|
85
|
+
* A `ReactNode` and not a string, because the element a sighted reader reads is
|
|
86
|
+
* the element a screen reader names the region by, and the two cannot drift
|
|
87
|
+
* when they are one node. Write it as the question the reader is about to ask:
|
|
88
|
+
* "What should the agent do?", or "Message the pipeline".
|
|
89
|
+
*/
|
|
90
|
+
label: ReactNode;
|
|
91
|
+
/**
|
|
92
|
+
* Where the request is.
|
|
93
|
+
*
|
|
94
|
+
* Required and controlled, and the whole of the Component's reason to be
|
|
95
|
+
* separate from a form field: the lifecycle is the caller's, because the request
|
|
96
|
+
* is the caller's, and a Component that held the state would hold the transport
|
|
97
|
+
* with it. Prism draws the affordances a position implies and calls the four
|
|
98
|
+
* callbacks; it never moves the position itself.
|
|
99
|
+
*/
|
|
100
|
+
state: PromptComposerState;
|
|
101
|
+
/**
|
|
102
|
+
* The request text.
|
|
103
|
+
*
|
|
104
|
+
* Controlled, and not held here, for the same reason the position is not. A
|
|
105
|
+
* composer whose draft lives inside a design system is a draft a caller cannot
|
|
106
|
+
* seed from a conversation, cannot restore from a store, cannot count tokens
|
|
107
|
+
* against, and cannot clear when a send succeeds without the Component offering
|
|
108
|
+
* a prop for it. Every one of those is a decision about the caller's product.
|
|
109
|
+
*/
|
|
110
|
+
text: string;
|
|
111
|
+
/**
|
|
112
|
+
* Called with the whole request text on every keystroke.
|
|
113
|
+
*
|
|
114
|
+
* The value rather than the change, because a controlled field whose callback
|
|
115
|
+
* reports a delta is a field whose caller has to reconstruct the value to know
|
|
116
|
+
* what it is now, and every one of them does.
|
|
117
|
+
*/
|
|
118
|
+
onTextChange: (text: string) => void;
|
|
119
|
+
/**
|
|
120
|
+
* Called with the request text when the reader asks for the request to be made.
|
|
121
|
+
*
|
|
122
|
+
* Takes the text rather than reading it from a field, so the callback is the
|
|
123
|
+
* caller's whole input and the Component holds nothing. The caller decides what
|
|
124
|
+
* happens next, which in practice means moving the position to `sending`.
|
|
125
|
+
*/
|
|
126
|
+
onSubmit: (text: string) => void;
|
|
127
|
+
/**
|
|
128
|
+
* Called when the reader stops a request that is still arriving.
|
|
129
|
+
*
|
|
130
|
+
* Required rather than optional, and the reason is the lifecycle. The union names
|
|
131
|
+
* `streaming`, so a caller who reaches that position owes a way out of it, and a
|
|
132
|
+
* Component that rendered a state it had no exit for would be a surface where a
|
|
133
|
+
* reader's request runs on with no way to end it. Prism has no opinion about
|
|
134
|
+
* what stopping means: an abort on the caller's transport, a socket closed, a
|
|
135
|
+
* value discarded. It draws the control and calls this.
|
|
136
|
+
*/
|
|
137
|
+
onStop: () => void;
|
|
138
|
+
/**
|
|
139
|
+
* Called when the reader asks for the failed request to be made again.
|
|
140
|
+
*
|
|
141
|
+
* Required for the same argument as `onStop`, over `failed`. A failure with no
|
|
142
|
+
* way to try again is a dead end, and the affordance belongs here rather than
|
|
143
|
+
* beside the send control because the two actions are not the same: retrying is
|
|
144
|
+
* a claim that the same request is worth making again, and sending is a claim
|
|
145
|
+
* that a different one is.
|
|
146
|
+
*/
|
|
147
|
+
onRetry: () => void;
|
|
148
|
+
/**
|
|
149
|
+
* The visible label of the send control, in the product's own words.
|
|
150
|
+
*
|
|
151
|
+
* Required and never defaulted: "Send", "Run the agent" and "Enviar" are three
|
|
152
|
+
* products' answers, and a reader who cannot tell what a control will do before
|
|
153
|
+
* pressing it will press it to find out.
|
|
154
|
+
*/
|
|
155
|
+
sendLabel: ReactNode;
|
|
156
|
+
/**
|
|
157
|
+
* The visible label of the stop control, shown only while a request is streaming.
|
|
158
|
+
*
|
|
159
|
+
* Required even though the control exists in one position out of five, for the
|
|
160
|
+
* same reason `Spinner`'s label is: a shared library cannot know whether the
|
|
161
|
+
* reader is stopping a request, a job or a transfer, and "Stop" alone is a
|
|
162
|
+
* weaker name than "Stop generating".
|
|
163
|
+
*/
|
|
164
|
+
stopLabel: ReactNode;
|
|
165
|
+
/**
|
|
166
|
+
* The visible label of the retry control, shown only after a failure.
|
|
167
|
+
*
|
|
168
|
+
* Required, and worth writing with the cost in it where there is one: "Try
|
|
169
|
+
* again" for a request that may succeed unchanged, and "Try again, shorter" when
|
|
170
|
+
* a length limit is the likely cause.
|
|
171
|
+
*/
|
|
172
|
+
retryLabel: ReactNode;
|
|
173
|
+
/**
|
|
174
|
+
* The visible label of the attach control, in the product's own words.
|
|
175
|
+
*
|
|
176
|
+
* Required, and the same argument as `sendLabel`. It names what is being
|
|
177
|
+
* attached: "Attach", "Attach a file", "Add a document".
|
|
178
|
+
*/
|
|
179
|
+
attachLabel: ReactNode;
|
|
180
|
+
/**
|
|
181
|
+
* Called when the reader asks to attach something.
|
|
182
|
+
*
|
|
183
|
+
* A callback, and the same seam `ImageListField` opens. A composer cannot know
|
|
184
|
+
* what an attachment is on the caller's side: a browser `File` on its way to an
|
|
185
|
+
* upload, a reference to a document already in the caller's store, a frame from
|
|
186
|
+
* a camera the browser has no input for. Prism draws the control that asks, and
|
|
187
|
+
* the caller opens whatever picker it owns. The alternative, Prism rendering a
|
|
188
|
+
* `Dropzone` and taking `File` objects, would make a composer for model requests
|
|
189
|
+
* into a file upload with a text box on it.
|
|
190
|
+
*/
|
|
191
|
+
onAttach: () => void;
|
|
192
|
+
/**
|
|
193
|
+
* What is attached, in the order the reader attached it.
|
|
194
|
+
*
|
|
195
|
+
* Required, and an array that is usually empty. A composer is not a receipt: the
|
|
196
|
+
* things on it are still part of a request the reader is composing, so they are
|
|
197
|
+
* always removable and there is no read-only arrangement to express.
|
|
198
|
+
*/
|
|
199
|
+
attachments: readonly PromptComposerAttachment[];
|
|
200
|
+
/**
|
|
201
|
+
* Called with an attachment's `id` when the reader takes it off the request.
|
|
202
|
+
*
|
|
203
|
+
* Required, and for the same reason `onRemove` is required on `ImageListField`:
|
|
204
|
+
* an attachment a reader cannot detach before sending is a mistake they have to
|
|
205
|
+
* live with.
|
|
206
|
+
*/
|
|
207
|
+
onRemoveAttachment: (id: string) => void;
|
|
208
|
+
/**
|
|
209
|
+
* The accessible name of one tray row's remove control, given that row's
|
|
210
|
+
* attachment name.
|
|
211
|
+
*
|
|
212
|
+
* Required, and a function because the name has to name the attachment and the
|
|
213
|
+
* name is the caller's string. A nameless control in a tray of six is announced
|
|
214
|
+
* as "button" six times.
|
|
215
|
+
*/
|
|
216
|
+
removeAttachmentLabel: (name: string) => string;
|
|
217
|
+
/** Layout only. Changing a Prism-owned visual property from here is prohibited. */
|
|
218
|
+
className?: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* A field for writing a request, what is attached to it, and the controls that
|
|
222
|
+
* make it, stop it and try it again.
|
|
223
|
+
*
|
|
224
|
+
* **It owns a request lifecycle, and that is the reason it is not a form field
|
|
225
|
+
* with a button beside it.** A request that is being sent, one whose answer is
|
|
226
|
+
* arriving in pieces, and one that has ended are three situations with three
|
|
227
|
+
* different affordances, and the difference between the first two is not degree:
|
|
228
|
+
* there is nothing to stop in the first and everything to stop in the second. A
|
|
229
|
+
* field with a `busy` flag has to render one control for both, and every product
|
|
230
|
+
* that has tried ends up either offering a stop that stops nothing or hiding the
|
|
231
|
+
* stop for the whole of a transfer it was most needed during. The state here is
|
|
232
|
+
* five positions on a line, the union says so, and the affordances are a table
|
|
233
|
+
* rather than a judgement.
|
|
234
|
+
*
|
|
235
|
+
* **The stop control exists in exactly one position, and that is what makes it
|
|
236
|
+
* trustworthy.** A stop control that is present and disabled is a promise the
|
|
237
|
+
* reader will test; a stop control that is absent during the sending position is
|
|
238
|
+
* honest, because there is genuinely nothing to stop yet. So the row is: nothing
|
|
239
|
+
* to stop while `sending`, a stop while `streaming`, and nothing but a retry after
|
|
240
|
+
* a failure. The absence is drawn as absence, not as a greyed control, which is
|
|
241
|
+
* the one place this Component breaks from the unavailable-is-drawn rule the rest
|
|
242
|
+
* of the package follows, and the reason is that the rule protects a reader from
|
|
243
|
+
* a mystery, and there is no mystery here: a control that is not there is a
|
|
244
|
+
* control that is not needed.
|
|
245
|
+
*
|
|
246
|
+
* **Prism owns no model and no transport, and the position is the caller's for
|
|
247
|
+
* that reason.** The socket, the request, the persistence, the order the pieces
|
|
248
|
+
* arrive in and what happens when one arrives out of order are all the caller's,
|
|
249
|
+
* and the state prop is the whole of the contract between them. That is the same
|
|
250
|
+
* division `LiveRegion` makes with the events it announces, and it is why this is
|
|
251
|
+
* a control surface over a state machine rather than a client: a Component that
|
|
252
|
+
* opened a connection would be a Component every consumer inherits a connection
|
|
253
|
+
* from, and the no-override-path law decides that. Nothing here fetches, and
|
|
254
|
+
* nothing here knows what a model is.
|
|
255
|
+
*
|
|
256
|
+
* **The request field goes read-only while the answer is coming, rather than
|
|
257
|
+
* disappearing or going disabled.** A reader mid-stream usually wants to read what
|
|
258
|
+
* they sent, and often wants to select part of it to quote in the next turn.
|
|
259
|
+
* `readOnly` keeps the field focusable, selectable and in the tab order while
|
|
260
|
+
* making the edit impossible, and `disabled` would take all three away over a
|
|
261
|
+
* field the reader may still want to look at.
|
|
262
|
+
*
|
|
263
|
+
* **The tray is a nested list with its own remove behaviour, and the focus moves
|
|
264
|
+
* there too.** An attachment is not a chip: a chip is a selected value in a set
|
|
265
|
+
* the reader chose between, and an attachment is one item in a list the reader is
|
|
266
|
+
* still building, so it is drawn as a row with a name and a control, inside a list
|
|
267
|
+
* the whole region is named by. Removing one of six has the same focus problem as
|
|
268
|
+
* removing a row from any other list here, and it gets the same answer: the row
|
|
269
|
+
* that moved up, or the one above it, or the attach control when the last one goes,
|
|
270
|
+
* because that is the only operable thing left. A reader who detaches a document
|
|
271
|
+
* and is then returned to the top of the page has been dropped on a detached node
|
|
272
|
+
* and cannot tell it from a page that reloaded.
|
|
273
|
+
*
|
|
274
|
+
* **The one line of failure is `FieldError`, and the reuse is deliberate.** It is
|
|
275
|
+
* exactly one line of destructive text carrying `role="alert"`, which is what a
|
|
276
|
+
* one-line failure is, and an alert with its own border and padding inside a
|
|
277
|
+
* composer would be a card inside a card that changes the height of the box the
|
|
278
|
+
* reader is about to type into. The cost is named rather than hidden: the
|
|
279
|
+
* Component is called a field error and this is a request outcome, so the two are
|
|
280
|
+
* indistinguishable to a screen reader, and a composer that also holds a control
|
|
281
|
+
* with its own validation error will announce both as alerts. A caller who needs
|
|
282
|
+
* them told apart composes their own region beside the field.
|
|
283
|
+
*
|
|
284
|
+
* **There is no spinner while a request streams, and the omission is a decision.**
|
|
285
|
+
* The one thing this Component could honestly report is that pieces of the answer
|
|
286
|
+
* are arriving, and that is visible in the caller's own editor, where they land. A
|
|
287
|
+
* ring beside a stop control is a second animation saying what the arriving text
|
|
288
|
+
* already says, and DESIGN.md's first motion law is that feedback is a response
|
|
289
|
+
* to something the reader did. The reader pressed send; the text appearing is the
|
|
290
|
+
* answer.
|
|
291
|
+
*
|
|
292
|
+
* **It is a client Component**, because the request field is controlled, because
|
|
293
|
+
* five callbacks cross into it and because the tray moves focus after a change.
|
|
294
|
+
* What that costs is the ordinary one, and worth stating because the surface
|
|
295
|
+
* invites a server render: a server Component may render a composer with its
|
|
296
|
+
* state and text already in place and it will look right, and what it may not do
|
|
297
|
+
* is offer the stop control, the retry, or focus that behaves, because those are
|
|
298
|
+
* facts about what happens after the reader acts.
|
|
299
|
+
*/
|
|
300
|
+
declare function PromptComposer({ label, state, text, onTextChange, onSubmit, onStop, onRetry, sendLabel, stopLabel, retryLabel, attachLabel, onAttach, attachments, onRemoveAttachment, removeAttachmentLabel, className, }: PromptComposerProps): import("react").JSX.Element;
|
|
301
|
+
export { PromptComposer };
|
|
302
|
+
//# sourceMappingURL=prompt-composer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-composer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/prompt-composer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAOlF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEtF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,mBAAmB;AAC7B,iFAAiF;AAC/E;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE;AACnB,uEAAuE;GACrE;IAAE,KAAK,EAAE,SAAS,CAAA;CAAE;AACtB,yDAAyD;GACvD;IAAE,KAAK,EAAE,WAAW,CAAA;CAAE;AACxB,8BAA8B;GAC5B;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE;AACnB,yEAAyE;GACvE;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,MAAM,CAAC,EAAE,SAAS,CAAA;CAAE,CAAA;AAE3C;;;;;;;;;GASG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;;;;OAOG;IACH,EAAE,EAAE,MAAM,CAAA;IACV,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;OAQG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;;;;;;;OAQG;IACH,KAAK,EAAE,mBAAmB,CAAA;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;OAMG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB;;;;;;;;OAQG;IACH,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;;;;OAMG;IACH,SAAS,EAAE,SAAS,CAAA;IACpB;;;;;;;OAOG;IACH,SAAS,EAAE,SAAS,CAAA;IACpB;;;;;;OAMG;IACH,UAAU,EAAE,SAAS,CAAA;IACrB;;;;;OAKG;IACH,WAAW,EAAE,SAAS,CAAA;IACtB;;;;;;;;;;OAUG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB;;;;;;OAMG;IACH,WAAW,EAAE,SAAS,wBAAwB,EAAE,CAAA;IAChD;;;;;;OAMG;IACH,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC;;;;;;;OAOG;IACH,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA;IAC/C,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAkBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,iBAAS,cAAc,CAAC,EACtB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACrB,SAAS,GACV,EAAE,mBAAmB,+BA0KrB;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { PaperclipIcon, RefreshCwIcon, SendIcon, XIcon } from 'lucide-react';
|
|
4
|
+
import { useEffect, useId, useRef } from 'react';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { FieldError } from './field.js';
|
|
7
|
+
import { Textarea } from './textarea.js';
|
|
8
|
+
import { cn } from '../../lib/utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The tray's remove control, drawn once and used by every row.
|
|
11
|
+
*
|
|
12
|
+
* The muted ink because every row is the same surface, and the 44px coarse-pointer
|
|
13
|
+
* floor because a tray on a phone is reached with a thumb. Duplicated as a
|
|
14
|
+
* constant for the reason `ImageListField` gives: there is no shared recipe on this
|
|
15
|
+
* package's surface, and exporting one class string would be publishing a styling
|
|
16
|
+
* hook.
|
|
17
|
+
*/
|
|
18
|
+
const REMOVE_CONTROL = 'text-muted-foreground hover:text-foreground inline-flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-sm outline-none transition-colors duration-fast ease-out pointer-coarse:size-11 focus-visible:ring-ring focus-visible:ring-[3px]';
|
|
19
|
+
/** The Component's own slots, read back through one root ref after a change. */
|
|
20
|
+
const TRAY_REMOVE_SLOT = '[data-slot="prompt-composer-attachment-remove"]';
|
|
21
|
+
const ATTACH_SLOT = '[data-slot="prompt-composer-attach"]';
|
|
22
|
+
/**
|
|
23
|
+
* A field for writing a request, what is attached to it, and the controls that
|
|
24
|
+
* make it, stop it and try it again.
|
|
25
|
+
*
|
|
26
|
+
* **It owns a request lifecycle, and that is the reason it is not a form field
|
|
27
|
+
* with a button beside it.** A request that is being sent, one whose answer is
|
|
28
|
+
* arriving in pieces, and one that has ended are three situations with three
|
|
29
|
+
* different affordances, and the difference between the first two is not degree:
|
|
30
|
+
* there is nothing to stop in the first and everything to stop in the second. A
|
|
31
|
+
* field with a `busy` flag has to render one control for both, and every product
|
|
32
|
+
* that has tried ends up either offering a stop that stops nothing or hiding the
|
|
33
|
+
* stop for the whole of a transfer it was most needed during. The state here is
|
|
34
|
+
* five positions on a line, the union says so, and the affordances are a table
|
|
35
|
+
* rather than a judgement.
|
|
36
|
+
*
|
|
37
|
+
* **The stop control exists in exactly one position, and that is what makes it
|
|
38
|
+
* trustworthy.** A stop control that is present and disabled is a promise the
|
|
39
|
+
* reader will test; a stop control that is absent during the sending position is
|
|
40
|
+
* honest, because there is genuinely nothing to stop yet. So the row is: nothing
|
|
41
|
+
* to stop while `sending`, a stop while `streaming`, and nothing but a retry after
|
|
42
|
+
* a failure. The absence is drawn as absence, not as a greyed control, which is
|
|
43
|
+
* the one place this Component breaks from the unavailable-is-drawn rule the rest
|
|
44
|
+
* of the package follows, and the reason is that the rule protects a reader from
|
|
45
|
+
* a mystery, and there is no mystery here: a control that is not there is a
|
|
46
|
+
* control that is not needed.
|
|
47
|
+
*
|
|
48
|
+
* **Prism owns no model and no transport, and the position is the caller's for
|
|
49
|
+
* that reason.** The socket, the request, the persistence, the order the pieces
|
|
50
|
+
* arrive in and what happens when one arrives out of order are all the caller's,
|
|
51
|
+
* and the state prop is the whole of the contract between them. That is the same
|
|
52
|
+
* division `LiveRegion` makes with the events it announces, and it is why this is
|
|
53
|
+
* a control surface over a state machine rather than a client: a Component that
|
|
54
|
+
* opened a connection would be a Component every consumer inherits a connection
|
|
55
|
+
* from, and the no-override-path law decides that. Nothing here fetches, and
|
|
56
|
+
* nothing here knows what a model is.
|
|
57
|
+
*
|
|
58
|
+
* **The request field goes read-only while the answer is coming, rather than
|
|
59
|
+
* disappearing or going disabled.** A reader mid-stream usually wants to read what
|
|
60
|
+
* they sent, and often wants to select part of it to quote in the next turn.
|
|
61
|
+
* `readOnly` keeps the field focusable, selectable and in the tab order while
|
|
62
|
+
* making the edit impossible, and `disabled` would take all three away over a
|
|
63
|
+
* field the reader may still want to look at.
|
|
64
|
+
*
|
|
65
|
+
* **The tray is a nested list with its own remove behaviour, and the focus moves
|
|
66
|
+
* there too.** An attachment is not a chip: a chip is a selected value in a set
|
|
67
|
+
* the reader chose between, and an attachment is one item in a list the reader is
|
|
68
|
+
* still building, so it is drawn as a row with a name and a control, inside a list
|
|
69
|
+
* the whole region is named by. Removing one of six has the same focus problem as
|
|
70
|
+
* removing a row from any other list here, and it gets the same answer: the row
|
|
71
|
+
* that moved up, or the one above it, or the attach control when the last one goes,
|
|
72
|
+
* because that is the only operable thing left. A reader who detaches a document
|
|
73
|
+
* and is then returned to the top of the page has been dropped on a detached node
|
|
74
|
+
* and cannot tell it from a page that reloaded.
|
|
75
|
+
*
|
|
76
|
+
* **The one line of failure is `FieldError`, and the reuse is deliberate.** It is
|
|
77
|
+
* exactly one line of destructive text carrying `role="alert"`, which is what a
|
|
78
|
+
* one-line failure is, and an alert with its own border and padding inside a
|
|
79
|
+
* composer would be a card inside a card that changes the height of the box the
|
|
80
|
+
* reader is about to type into. The cost is named rather than hidden: the
|
|
81
|
+
* Component is called a field error and this is a request outcome, so the two are
|
|
82
|
+
* indistinguishable to a screen reader, and a composer that also holds a control
|
|
83
|
+
* with its own validation error will announce both as alerts. A caller who needs
|
|
84
|
+
* them told apart composes their own region beside the field.
|
|
85
|
+
*
|
|
86
|
+
* **There is no spinner while a request streams, and the omission is a decision.**
|
|
87
|
+
* The one thing this Component could honestly report is that pieces of the answer
|
|
88
|
+
* are arriving, and that is visible in the caller's own editor, where they land. A
|
|
89
|
+
* ring beside a stop control is a second animation saying what the arriving text
|
|
90
|
+
* already says, and DESIGN.md's first motion law is that feedback is a response
|
|
91
|
+
* to something the reader did. The reader pressed send; the text appearing is the
|
|
92
|
+
* answer.
|
|
93
|
+
*
|
|
94
|
+
* **It is a client Component**, because the request field is controlled, because
|
|
95
|
+
* five callbacks cross into it and because the tray moves focus after a change.
|
|
96
|
+
* What that costs is the ordinary one, and worth stating because the surface
|
|
97
|
+
* invites a server render: a server Component may render a composer with its
|
|
98
|
+
* state and text already in place and it will look right, and what it may not do
|
|
99
|
+
* is offer the stop control, the retry, or focus that behaves, because those are
|
|
100
|
+
* facts about what happens after the reader acts.
|
|
101
|
+
*/
|
|
102
|
+
function PromptComposer({ label, state, text, onTextChange, onSubmit, onStop, onRetry, sendLabel, stopLabel, retryLabel, attachLabel, onAttach, attachments, onRemoveAttachment, removeAttachmentLabel, className, }) {
|
|
103
|
+
const generated = useId();
|
|
104
|
+
const labelId = `${generated}-label`;
|
|
105
|
+
const fieldId = `${generated}-field`;
|
|
106
|
+
const rootRef = useRef(null);
|
|
107
|
+
// The tray row whose remove control should take focus after the caller's value
|
|
108
|
+
// settles. Armed before the callback runs, because the row that is going away
|
|
109
|
+
// cannot be focused and the row that replaces it does not exist yet.
|
|
110
|
+
const pending = useRef(null);
|
|
111
|
+
const streaming = state.phase === 'streaming';
|
|
112
|
+
const inFlight = state.phase === 'sending' || streaming;
|
|
113
|
+
const failed = state.phase === 'failed';
|
|
114
|
+
// A send control in two of the five positions, and its absence in the other three
|
|
115
|
+
// is the point: while a request is in the air there is nothing to send, and after
|
|
116
|
+
// a failure the action is to try that one again rather than to send a second one.
|
|
117
|
+
const showSend = state.phase === 'idle' || state.phase === 'done';
|
|
118
|
+
useEffect(() => {
|
|
119
|
+
const index = pending.current;
|
|
120
|
+
if (index === null)
|
|
121
|
+
return;
|
|
122
|
+
pending.current = null;
|
|
123
|
+
const root = rootRef.current;
|
|
124
|
+
if (root === null)
|
|
125
|
+
return;
|
|
126
|
+
const buttons = root.querySelectorAll(TRAY_REMOVE_SLOT);
|
|
127
|
+
const button = buttons.item(Math.min(index, buttons.length - 1));
|
|
128
|
+
if (button === null)
|
|
129
|
+
root.querySelector(ATTACH_SLOT)?.focus();
|
|
130
|
+
else
|
|
131
|
+
button.focus();
|
|
132
|
+
});
|
|
133
|
+
const removeAt = (index) => {
|
|
134
|
+
const attachment = attachments[index];
|
|
135
|
+
if (attachment === undefined)
|
|
136
|
+
return;
|
|
137
|
+
pending.current = index;
|
|
138
|
+
onRemoveAttachment(attachment.id);
|
|
139
|
+
};
|
|
140
|
+
const onFieldChange = (event) => {
|
|
141
|
+
onTextChange(event.target.value);
|
|
142
|
+
};
|
|
143
|
+
return (_jsxs("div", { ref: rootRef, "data-slot": "prompt-composer", "data-phase": state.phase, role: "group", "aria-labelledby": labelId, "aria-busy": inFlight || undefined, className: cn('flex w-full flex-col gap-2', className), children: [_jsx("span", { id: labelId, "data-slot": "prompt-composer-label", className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: label }), attachments.length === 0 ? null : (_jsx("ul", { "data-slot": "prompt-composer-attachments", "aria-labelledby": labelId, className: "flex w-full flex-col gap-1", children: attachments.map((attachment, index) => (_jsxs("li", { "data-slot": "prompt-composer-attachment", className: "border-border flex items-center gap-2 rounded-md border px-2 py-1.5", children: [_jsx("span", { "data-slot": "prompt-composer-attachment-name", className: "min-w-0 flex-1 truncate text-sm", children: attachment.name }), _jsx("button", { type: "button", "data-slot": "prompt-composer-attachment-remove", "aria-label": removeAttachmentLabel(attachment.name), onClick: () => removeAt(index), className: REMOVE_CONTROL, children: _jsx(XIcon, { className: "size-4", "aria-hidden": "true" }) })] }, attachment.id))) })), _jsx(Textarea, { id: fieldId, "data-slot": "prompt-composer-field", value: text, onChange: onFieldChange, readOnly: inFlight, className: "min-h-24" }), failed && state.reason !== undefined && state.reason !== null && state.reason !== false ? (_jsx(FieldError, { "data-slot": "prompt-composer-reason", children: state.reason })) : null, _jsxs("div", { "data-slot": "prompt-composer-actions", className: "flex flex-wrap items-center gap-2", children: [_jsx("span", { "data-slot": "prompt-composer-attach-control", className: cn('inline-flex', inFlight && 'opacity-50'), children: _jsxs(Button, { "data-slot": "prompt-composer-attach", type: "button", variant: "ghost", size: "sm", "aria-disabled": inFlight || undefined, onClick: inFlight ? () => undefined : onAttach, children: [_jsx(PaperclipIcon, { "aria-hidden": "true" }), attachLabel] }) }), _jsxs("div", { className: "ms-auto flex items-center gap-2", children: [failed ? (_jsxs(Button, { "data-slot": "prompt-composer-retry", type: "button", variant: "outline", size: "sm", onClick: onRetry, children: [_jsx(RefreshCwIcon, { "aria-hidden": "true" }), retryLabel] })) : null, streaming ? (_jsxs(Button, { "data-slot": "prompt-composer-stop", type: "button", variant: "destructive", size: "sm", onClick: onStop, children: [_jsx(XIcon, { "aria-hidden": "true" }), stopLabel] })) : null, showSend ? (_jsxs(Button, { "data-slot": "prompt-composer-send", type: "button", size: "sm", onClick: () => onSubmit(text), children: [_jsx(SendIcon, { "aria-hidden": "true" }), sendLabel] })) : null] })] })] }));
|
|
144
|
+
}
|
|
145
|
+
export { PromptComposer };
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { type StatusTone } from './status.js';
|
|
3
|
+
/**
|
|
4
|
+
* One category in a list of shares of one whole.
|
|
5
|
+
*
|
|
6
|
+
* The shape is closed and short because the unit is a share: a category has a name,
|
|
7
|
+
* a measured quantity, an optional state, and an optional printed form. Nothing
|
|
8
|
+
* else a caller might reach for here is in the type, and the reason each absent
|
|
9
|
+
* member is absent is on the member.
|
|
10
|
+
*/
|
|
11
|
+
export type ProportionListItem = {
|
|
12
|
+
/**
|
|
13
|
+
* The category's own name.
|
|
14
|
+
*
|
|
15
|
+
* A string rather than a node, and that is the one narrowing in this file with a
|
|
16
|
+
* reason behind it: the name is also the accessible name `Meter` requires for
|
|
17
|
+
* its track, so a node here would force this Component to invent a word for the
|
|
18
|
+
* bar or to give it the label of the figure. A category's name is a name, and it
|
|
19
|
+
* is the one thing on the row that is never a composed figure.
|
|
20
|
+
*/
|
|
21
|
+
label: string;
|
|
22
|
+
/**
|
|
23
|
+
* The measured quantity, in the caller's own units.
|
|
24
|
+
*
|
|
25
|
+
* A magnitude and not a percentage, because a caller holding counts of two
|
|
26
|
+
* hundred and forty has counts and not a share, and computing the share is one
|
|
27
|
+
* division this Component can do without claiming anything about the data.
|
|
28
|
+
*/
|
|
29
|
+
value: number;
|
|
30
|
+
/**
|
|
31
|
+
* The words for the value, printed in place of the computed share.
|
|
32
|
+
*
|
|
33
|
+
* A node, because the printed form is often more than a percentage: "1,204
|
|
34
|
+
* captures", "42% of £2.9M", "4 of 9 sites". Omitted, the share is printed as a
|
|
35
|
+
* percentage to `precision` places, which is honest when the whole is the
|
|
36
|
+
* denominator and is a claim about the caller's domain when it is not, which is
|
|
37
|
+
* why the prop exists.
|
|
38
|
+
*/
|
|
39
|
+
text?: ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* The state of this category, in the contract's tones and with the caller's words.
|
|
42
|
+
*
|
|
43
|
+
* Required as a pair rather than two members because `Status` refuses to render
|
|
44
|
+
* a tone without words: a dot with no label is a colour a screen reader cannot
|
|
45
|
+
* read and a sighted reader who cannot separate the tones cannot either. Passing
|
|
46
|
+
* `tone` alone would be a state with no name, so the pair is the whole of it.
|
|
47
|
+
*
|
|
48
|
+
* The tone also fills the bar, through the map below. See that map for what a
|
|
49
|
+
* tone means to a bar and what it does not.
|
|
50
|
+
*/
|
|
51
|
+
status?: {
|
|
52
|
+
/** Which of the five tones the dot takes. */
|
|
53
|
+
tone: StatusTone;
|
|
54
|
+
/** The words naming the state, in the product's own vocabulary. */
|
|
55
|
+
label: ReactNode;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
/** The props the ProportionList accepts. */
|
|
59
|
+
export interface ProportionListProps extends Omit<ComponentProps<'figure'>, 'children'> {
|
|
60
|
+
/**
|
|
61
|
+
* The categories, in the order they are drawn and read.
|
|
62
|
+
*
|
|
63
|
+
* The order is the ranking, and nothing here sorts: a share list is nearly always
|
|
64
|
+
* a caller's own ordering, and a Component that sorted by value would put a list
|
|
65
|
+
* of three deliberately ordered categories into a different order with nothing
|
|
66
|
+
* said.
|
|
67
|
+
*/
|
|
68
|
+
items: readonly ProportionListItem[];
|
|
69
|
+
/**
|
|
70
|
+
* What the shares are a share of, in the caller's own units.
|
|
71
|
+
*
|
|
72
|
+
* Omitted, the whole is the sum of the items, which is the ordinary case: a list
|
|
73
|
+
* of every category of one thing adds up to the thing. Pass it when the list does
|
|
74
|
+
* not exhaust the whole, a list of the top six of eleven categories, or one that
|
|
75
|
+
* deliberately leaves out a remainder, because a bar measured against a sum that
|
|
76
|
+
* is not the whole is a bar that overstates every category on the page.
|
|
77
|
+
*
|
|
78
|
+
* The cost of omitting it is a silent wrong denominator, and the only defence
|
|
79
|
+
* would be a prop Prism has no way to fill: a Component cannot tell an exhaustive
|
|
80
|
+
* list from a truncated one.
|
|
81
|
+
*/
|
|
82
|
+
total?: number;
|
|
83
|
+
/**
|
|
84
|
+
* How many decimal places the computed share is printed to. @defaultValue 1
|
|
85
|
+
*
|
|
86
|
+
* One place because a share is a rounded quantity and a reader comparing two
|
|
87
|
+
* categories is comparing tenths of a percent. Pass `0` for a whole-number share,
|
|
88
|
+
* which is the right answer whenever the underlying counts are small enough that
|
|
89
|
+
* a tenth of a percent is noise.
|
|
90
|
+
*/
|
|
91
|
+
precision?: number;
|
|
92
|
+
/**
|
|
93
|
+
* The name of the figure, read before the categories.
|
|
94
|
+
*
|
|
95
|
+
* Required rather than defaulted, for the two reasons `ChartFrame` states and the
|
|
96
|
+
* rest of the package repeats: two lists on a dashboard are two lists a reader
|
|
97
|
+
* cannot tell apart, and a list with no name is neither announced nor linkable. A
|
|
98
|
+
* figure named "Breakdown" is a Component shipping a sentence about a product it
|
|
99
|
+
* knows nothing about.
|
|
100
|
+
*/
|
|
101
|
+
label: string;
|
|
102
|
+
/**
|
|
103
|
+
* The sentence under the list, which is where the whole belongs.
|
|
104
|
+
*
|
|
105
|
+
* The caller's words, because naming the whole is a claim about the data: "of
|
|
106
|
+
* £2.9M committed", "of 9 sites", "of readings this week". This Component knows
|
|
107
|
+
* the sum and not the thing summed, so it prints no total and puts no unit beside
|
|
108
|
+
* the shares. That is also the cost of the arrangement, and it is a real one: a
|
|
109
|
+
* reader who wants the whole has to be given the sentence, and a list with no
|
|
110
|
+
* `caption` says only what the shares say.
|
|
111
|
+
*/
|
|
112
|
+
caption?: ReactNode;
|
|
113
|
+
/** What a reader is told when there is nothing to show. */
|
|
114
|
+
empty?: ReactNode;
|
|
115
|
+
/** Layout only, exactly as on every Component. */
|
|
116
|
+
className?: string;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Each labelled category's share of one whole, as a proportional bar and a number.
|
|
120
|
+
*
|
|
121
|
+
* **The unit is a share, and that is what the whole Component is built around.** A
|
|
122
|
+
* part-to-whole with two or three parts is a `Chart` `donut`, and a series of
|
|
123
|
+
* unrelated values against a shared baseline is a `Chart` `bar`; neither is this,
|
|
124
|
+
* because a list of shares is neither of those things. Its bars cannot be modelled
|
|
125
|
+
* as independent series, since they are constrained to sum to the whole and a
|
|
126
|
+
* reader comparing two of them is comparing two slices of one pie rather than two
|
|
127
|
+
* measurements against a scale. So there is no `series` prop, no `mark`, and no
|
|
128
|
+
* axis: the bar is drawn from `value` against `total`, and the number printed
|
|
129
|
+
* beside it is that same division, so the two cannot disagree with each other or
|
|
130
|
+
* with the data.
|
|
131
|
+
*
|
|
132
|
+
* **The bar is decorative and the number is the reading, said plainly.** `Meter`
|
|
133
|
+
* draws the track and the fill, and the row wraps it in an `aria-hidden` box on
|
|
134
|
+
* purpose: a meter announces its name and its value, and the row already prints
|
|
135
|
+
* both, so an announced bar beside a printed one is the same sentence twice for
|
|
136
|
+
* every row on the page. `Meter` requires a name and the only name in the row is
|
|
137
|
+
* the category's own, so `label` is forwarded to it rather than invented, and the
|
|
138
|
+
* forwarding is invisible because the wrapper is hidden. A reader who cannot rank
|
|
139
|
+
* the fills still has every number, which is the whole reason the number is printed
|
|
140
|
+
* rather than left to the bar.
|
|
141
|
+
*
|
|
142
|
+
* **A share is drawn on one scale, so the bars are comparable down the page.** Every
|
|
143
|
+
* row's fill is `value / total` of the same track, and the tracks are the same
|
|
144
|
+
* width, which is what makes two categories comparable at a glance. That is the
|
|
145
|
+
* reason this is a list of bars rather than a stacked bar: a stack puts the shares
|
|
146
|
+
* in one figure, where the reader has to find the boundary between two categories
|
|
147
|
+
* to compare them, and a list puts each one on its own common baseline.
|
|
148
|
+
*
|
|
149
|
+
* **`Meter` is used rather than a second bar drawn here, and the honest cost is a
|
|
150
|
+
* palette of three state tones against five.** Composing it means the bar, its
|
|
151
|
+
* tone vocabulary and its accessibility are one Component's rather than two, and it
|
|
152
|
+
* means a share list looks like every other measurement in the product, which is
|
|
153
|
+
* what a reader wants from a bar. The cost is that `StatusTone` and `MeterTone` are
|
|
154
|
+
* different widths: there is no informational fill, so a category whose state is
|
|
155
|
+
* `info` draws a neutral bar and its colour meaning is carried by the dot beside the
|
|
156
|
+
* label. The alternative was a second set of fills authored here, and that is a
|
|
157
|
+
* second source of truth for a scale the tokens already own.
|
|
158
|
+
*
|
|
159
|
+
* **Two inputs throw, because a share that cannot be drawn is not a quiet share.**
|
|
160
|
+
* A negative quantity and a whole that is zero or less are both impossible rather
|
|
161
|
+
* than unusual, and both have exactly one honest rendering, which is to stop: a
|
|
162
|
+
* negative share drawn as an empty bar claims the category is zero when it is
|
|
163
|
+
* below zero, and a list drawn against a total of zero divides by nothing. The
|
|
164
|
+
* alternative was to clamp, which is what `Chart` does for a value past the end of
|
|
165
|
+
* its axis, and the reason it does not apply here is that there is no axis to be
|
|
166
|
+
* past: the whole is the denominator and it is either there or it is not.
|
|
167
|
+
*
|
|
168
|
+
* **The rows are a list, so a reader is told how many categories there are.**
|
|
169
|
+
* `<ul>` and `<li>` rather than a table of divs, because a reader moving by list
|
|
170
|
+
* item is told the count and each row is one stop, and because nothing in a
|
|
171
|
+
* category list is tabular data: there is one measure and it is beside its name.
|
|
172
|
+
* The rows are also not interactive, and no motion is attached to them for the same
|
|
173
|
+
* reason: a hover state on a row that cannot be pressed is an affordance for
|
|
174
|
+
* something the page does not do.
|
|
175
|
+
*
|
|
176
|
+
* **An empty list renders the caller's sentence rather than nothing.** A heading
|
|
177
|
+
* with no rows says the whole is nothing, and hiding the figure leaves a reader
|
|
178
|
+
* wondering whether it had been missed, which is the argument `Retention01` makes
|
|
179
|
+
* for leaving a withdrawn schedule on the page.
|
|
180
|
+
*
|
|
181
|
+
* **It is a server Component.** There is no state, no effect and no handler, the
|
|
182
|
+
* whole figure is arithmetic over props, and a dashboard of proportions costs no
|
|
183
|
+
* client code at all. `Status` and `Meter` are server Components too, so composing
|
|
184
|
+
* them costs nothing at this boundary either.
|
|
185
|
+
*/
|
|
186
|
+
declare function ProportionList({ className, items, total, precision, label, caption, empty, ...props }: ProportionListProps): import("react").JSX.Element;
|
|
187
|
+
export { ProportionList };
|
|
188
|
+
//# sourceMappingURL=proportion-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proportion-list.d.ts","sourceRoot":"","sources":["../../../src/components/ui/proportion-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtD,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,UAAU,CAAA;AAGlD;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;;;;OAQG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE;QACP,6CAA6C;QAC7C,IAAI,EAAE,UAAU,CAAA;QAChB,mEAAmE;QACnE,KAAK,EAAE,SAAS,CAAA;KACjB,CAAA;CACF,CAAA;AAyBD,4CAA4C;AAC5C,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC;IACrF;;;;;;;OAOG;IACH,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACpC;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;OAQG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAK,EACL,KAAK,EACL,SAAa,EACb,KAAK,EACL,OAAO,EACP,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAgHrB;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
|