@nanisoft/prism-ui 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +40 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +26 -3
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +7 -1
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +11 -2
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +8 -5
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +105 -34
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +23 -15
- package/dist/blocks/hero-01/index.d.ts +1 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +203 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +118 -0
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +1 -1
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +124 -11
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +25 -9
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +1 -0
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +118 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +9 -2
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/run-console.d.ts +14 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +3 -2
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/site-footer.d.ts +18 -1
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +8 -2
- package/dist/blocks/site-header/site-header.js +1 -1
- package/dist/blocks/site-navbar/site-navbar.d.ts +37 -3
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -1
- package/dist/blocks/site-navbar/site-navbar.js +33 -4
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +1641 -1
- package/dist/components/index.d.ts +114 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +134 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +9 -2
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +22 -4
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +17 -2
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +30 -2
- package/dist/components/ui/carousel.d.ts +7 -0
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +58 -1
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +19 -1
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +13 -2
- package/dist/components/ui/combobox.d.ts +4 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +20 -4
- package/dist/components/ui/command-palette.d.ts +11 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -1
- package/dist/components/ui/command-palette.js +49 -3
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -1
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +40 -6
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +6 -1
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +9 -0
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +10 -1
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +8 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +8 -1
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +40 -7
- package/dist/components/ui/number-field.d.ts.map +1 -1
- package/dist/components/ui/number-field.js +37 -7
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +23 -1
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +8 -1
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +110 -2
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +30 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -1
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +24 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +96 -4
- package/dist/components/ui/search-dialog.d.ts +40 -5
- package/dist/components/ui/search-dialog.d.ts.map +1 -1
- package/dist/components/ui/search-dialog.js +94 -16
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +108 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +109 -3
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +9 -1
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/sidebar.d.ts +29 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +35 -2
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +32 -1
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +13 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +12 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/timeline.js +10 -1
- package/dist/components/ui/toast.d.ts +32 -10
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +150 -47
- package/dist/components/ui/toggle-group.d.ts +14 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +15 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +9 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +92 -13
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +10 -3
- package/dist/live/index.d.ts.map +1 -1
- package/dist/live/index.js +12 -3
- package/dist/live/run-stream-01/run-stream.js +4 -4
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/docs-shell/docs-shell.d.ts +8 -0
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +24 -7
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +10 -0
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +14 -0
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/styles.css +1003 -55
- package/package.json +9 -3
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
import { XIcon } from 'lucide-react';
|
|
5
|
+
import { useState } from 'react';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* The surface and the five tones, and nothing else.
|
|
10
|
+
*
|
|
11
|
+
* **Every tone states its own fill AND its own ink, which is the Stated Ink Rule
|
|
12
|
+
* and not a style preference.** An announcement is a bar of body text sitting on
|
|
13
|
+
* a coloured surface, and a bar is a surface, so an ink left to be inherited is
|
|
14
|
+
* not the page's foreground by accident: it is whatever happened to be behind the
|
|
15
|
+
* viewport, and the failure `Cta01` measured was 1.01:1 on a filled `bg-primary`
|
|
16
|
+
* band. That number is the whole argument. A tone that set only a fill would be
|
|
17
|
+
* the same bar in a different colour, and no gate in this repository could see
|
|
18
|
+
* it, because the token gate measures token pairs rather than what a Component
|
|
19
|
+
* leaves out.
|
|
20
|
+
*
|
|
21
|
+
* The five are the five the semantic contract publishes, and each is a fill with a
|
|
22
|
+
* matched ink rather than a colour chosen to look right: `neutral` is the muted
|
|
23
|
+
* surface, `info` is the pack's own primary, and `success`, `warning` and
|
|
24
|
+
* `destructive` are the three status roles. `info` using the pack's brand hue is
|
|
25
|
+
* the decision worth naming, because a reader has been trained to read a saturated
|
|
26
|
+
* brand bar as a brand, and an informational notice is the one message in this
|
|
27
|
+
* package that is not about the brand. It is a notification rather than a
|
|
28
|
+
* decoration, the pack hue is the strongest ink the contract offers on a coloured
|
|
29
|
+
* surface, and the alternative, a blue that exists in no token, is a colour this
|
|
30
|
+
* package would have to hold rather than inherit.
|
|
31
|
+
*/
|
|
32
|
+
const announcementVariants = cva('relative flex w-full items-center gap-3 rounded-lg border px-4 py-2.5 text-sm', {
|
|
33
|
+
variants: {
|
|
34
|
+
variant: {
|
|
35
|
+
neutral: 'border-border bg-muted text-foreground',
|
|
36
|
+
info: 'border-transparent bg-primary text-primary-foreground',
|
|
37
|
+
success: 'border-transparent bg-success text-success-foreground',
|
|
38
|
+
warning: 'border-transparent bg-warning text-warning-foreground',
|
|
39
|
+
destructive: 'border-transparent bg-destructive text-destructive-foreground',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
defaultVariants: { variant: 'neutral' },
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
* A page-level message bar, with an optional action and an optional dismiss.
|
|
46
|
+
*
|
|
47
|
+
* **The order is message, then action, then dismiss, and the order is a decision
|
|
48
|
+
* about where the eye goes rather than about the markup.** The message comes
|
|
49
|
+
* first because it is the reason the bar exists: a reader who reads nothing else
|
|
50
|
+
* has still got the thing they needed to know. The action comes second because it
|
|
51
|
+
* is what to do about the message, and a reader who wants to act should not have
|
|
52
|
+
* to find the control. The dismiss comes last because it is the one control in
|
|
53
|
+
* the bar that is about the bar rather than about the message, and a reader who
|
|
54
|
+
* reaches for it has already read the message. Reversing the last two is the
|
|
55
|
+
* mistake a flex row makes by accident, and it costs a reader who wanted to act:
|
|
56
|
+
* they reach for what they read as the close control and dismiss the thing they
|
|
57
|
+
* came to read. The cost of the order is that on a narrow screen the three parts
|
|
58
|
+
* compete for one line, which is why the action is a slot the caller can keep to
|
|
59
|
+
* one word.
|
|
60
|
+
*
|
|
61
|
+
* **Every tone states its own fill and its own ink, and the reason is a measured
|
|
62
|
+
* failure rather than a preference.** This is a coloured surface with body text
|
|
63
|
+
* on it, so an inherited ink is not the page's foreground by accident: it is
|
|
64
|
+
* whatever was behind the viewport, and `Cta01` measured 1.01:1 on exactly that
|
|
65
|
+
* arrangement. The variant table above sets both halves of every tone, and the
|
|
66
|
+
* cost of that is a longer string per tone than a fill alone would need, which is
|
|
67
|
+
* a fair trade for a bar that cannot become unreadable by being moved.
|
|
68
|
+
*
|
|
69
|
+
* **The region is a `status` and not an `alert`, and the difference is whether the
|
|
70
|
+
* reader is interrupted.** An announcement is in the document rather than arriving
|
|
71
|
+
* into it: it is there on first paint, a reader can find it by browsing, and it
|
|
72
|
+
* is not a consequence of the thing they were doing a moment ago. `role="alert"`
|
|
73
|
+
* is an assertive live region, which cuts across whatever the reader was reading
|
|
74
|
+
* and reads it out immediately, and that is right for a failure the reader caused
|
|
75
|
+
* and has to fix, which is an `Alert` beside the control or a `Dialog` when it
|
|
76
|
+
* blocks. An announcement is a notice, and a notice that interrupts is a notice
|
|
77
|
+
* the reader stops reading. The cost is real: a reader who arrives mid-page and
|
|
78
|
+
* never looks up misses the bar entirely, and the fix for that is the caller's
|
|
79
|
+
* placement, not a louder role.
|
|
80
|
+
*
|
|
81
|
+
* **A dismissed bar hides itself, and Prism does not persist that.** The state is
|
|
82
|
+
* local to the mounted bar, so a reload brings the message back, which is the
|
|
83
|
+
* honest behaviour for a notice about something that is still true. A stored
|
|
84
|
+
* dismissal is a different thing and a deliberate act: it is a record in a
|
|
85
|
+
* consumer's storage that says this reader has already been told, and that record
|
|
86
|
+
* outlives the message. When it expires, when it is scoped to a message id rather
|
|
87
|
+
* than a page, whether a notice about an incident is dismissible at all, and
|
|
88
|
+
* whether a reader who changes a setting should be told again, are four decisions
|
|
89
|
+
* about the consumer's product and its data, and Prism will not make any of them
|
|
90
|
+
* from inside a bar. So `onDismiss` is the seam: the bar hides itself so the
|
|
91
|
+
* reader is not looking at a thing they dismissed, and the caller is told so the
|
|
92
|
+
* half that outlives the page is theirs. The cost is that a caller who wants a
|
|
93
|
+
* dismissible-once notice writes the storage themselves, and a caller who writes
|
|
94
|
+
* nothing gets a notice that comes back, which is the safe default.
|
|
95
|
+
*
|
|
96
|
+
* It is a client Component, and the state is the whole reason. Hiding the bar on
|
|
97
|
+
* dismiss is one piece of state; there is no clock, no effect and no timer, so
|
|
98
|
+
* the client cost is the bar and not a running loop.
|
|
99
|
+
*/
|
|
100
|
+
function Announcement({ message, action, dismissLabel, dismissible = false, onDismiss, tone, className, ...props }) {
|
|
101
|
+
const [open, setOpen] = useState(true);
|
|
102
|
+
if (!open)
|
|
103
|
+
return null;
|
|
104
|
+
return (_jsxs("div", { "data-slot": "announcement", role: "status", className: cn(announcementVariants({ variant: tone }), className), ...props, children: [_jsx("div", { "data-slot": "announcement-message", className: "min-w-0 flex-1 text-pretty", children: message }), action === undefined ? null : (_jsx("div", { "data-slot": "announcement-action", className: "flex shrink-0 items-center", children: action })), dismissible ? (_jsx(Button, { type: "button", "data-slot": "announcement-dismiss", variant: "ghost", size: "icon", "aria-label": dismissLabel, onClick: () => {
|
|
105
|
+
setOpen(false);
|
|
106
|
+
onDismiss?.();
|
|
107
|
+
},
|
|
108
|
+
/*
|
|
109
|
+
* The ghost variant's two hover declarations are replaced rather than
|
|
110
|
+
* kept, and this is the Stated Ink Rule applied one level in. A ghost
|
|
111
|
+
* button inherits its ink, so on this bar it inherits the tone's ink,
|
|
112
|
+
* and `hover:bg-accent` with `hover:text-accent-foreground` would put
|
|
113
|
+
* that ink on the accent surface instead of the tone's. So the hover
|
|
114
|
+
* changes the opacity and nothing else: the fill and the ink that were
|
|
115
|
+
* measured together stay exactly as they were, and the reader still gets
|
|
116
|
+
* the press feedback. `text-inherit` is how that is spelled, and it
|
|
117
|
+
* resolves to the bar's own tone ink rather than to a second one.
|
|
118
|
+
* `size-7` is below the 9 the icon variant draws, and the coarse-pointer
|
|
119
|
+
* size above it is left alone, so a finger still gets 44px.
|
|
120
|
+
*/
|
|
121
|
+
className: "hover:bg-transparent hover:text-inherit opacity-70 transition-opacity duration-fast ease-out hover:opacity-100 size-7 shrink-0", children: _jsx(XIcon, { "aria-hidden": "true", className: "size-4" }) })) : null] }));
|
|
122
|
+
}
|
|
123
|
+
export { Announcement };
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The three sizes a group is drawn at, as the authored `size-*` and `text-*`
|
|
4
|
+
* values rather than as one number.
|
|
5
|
+
*
|
|
6
|
+
* A group is read as one thing, so the whole group takes one size, and a caller
|
|
7
|
+
* who sized each disc through `className` would be able to draw a group of five
|
|
8
|
+
* different heights, which is not a group. The pair is authored together for the
|
|
9
|
+
* same reason `ProductMark` keeps its mark and its name in one table: the
|
|
10
|
+
* initials have to stay legible inside the disc, and a size that is right for the
|
|
11
|
+
* disc is wrong for the letters.
|
|
12
|
+
*/
|
|
13
|
+
declare const SIZES: {
|
|
14
|
+
readonly sm: {
|
|
15
|
+
readonly root: "size-6";
|
|
16
|
+
readonly ink: "text-mono";
|
|
17
|
+
};
|
|
18
|
+
readonly md: {
|
|
19
|
+
readonly root: "size-8";
|
|
20
|
+
readonly ink: "text-xs";
|
|
21
|
+
};
|
|
22
|
+
readonly lg: {
|
|
23
|
+
readonly root: "size-10";
|
|
24
|
+
readonly ink: "text-sm";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/** The props an `AvatarGroup` takes. */
|
|
28
|
+
export type AvatarGroupProps = Omit<ComponentProps<'div'>, 'children'> & {
|
|
29
|
+
/**
|
|
30
|
+
* The people, in the order the caller wants them shown.
|
|
31
|
+
*
|
|
32
|
+
* A name per person and an optional image. The name is required because it is
|
|
33
|
+
* what the initials are derived from, what the image's alternative text says,
|
|
34
|
+
* and what a caller who has no photograph still has: a disc with no name behind
|
|
35
|
+
* it is a shape, and a shape is not a person.
|
|
36
|
+
*/
|
|
37
|
+
avatars: readonly {
|
|
38
|
+
/** The person's image. Omit it, or pass a URL that fails, for the initials. */
|
|
39
|
+
src?: string;
|
|
40
|
+
/** The person's name, which is also the initials' source. */
|
|
41
|
+
name: string;
|
|
42
|
+
}[];
|
|
43
|
+
/**
|
|
44
|
+
* The trailing slot, for a control that belongs to the whole group rather than
|
|
45
|
+
* to one person: an invite, a count of the rest, a manage link.
|
|
46
|
+
*
|
|
47
|
+
* After the count rather than inside it, because a control inside the count is
|
|
48
|
+
* a control whose size is the count's size, and a group whose count is the
|
|
49
|
+
* thing a reader presses is a control pretending to be a summary.
|
|
50
|
+
*/
|
|
51
|
+
children?: ReactNode;
|
|
52
|
+
/**
|
|
53
|
+
* The drawn size of every disc in the group, so a set shows one size rather
|
|
54
|
+
* than a mix.
|
|
55
|
+
*
|
|
56
|
+
* @defaultValue 'md'
|
|
57
|
+
*/
|
|
58
|
+
size?: keyof typeof SIZES;
|
|
59
|
+
/**
|
|
60
|
+
* The number of discs shown before the rest become a count.
|
|
61
|
+
*
|
|
62
|
+
* @defaultValue 4
|
|
63
|
+
*/
|
|
64
|
+
max?: number;
|
|
65
|
+
/**
|
|
66
|
+
* The sentence the count is read as, given the number of people it stands for.
|
|
67
|
+
*
|
|
68
|
+
* Required whenever `max` is set, and not defaulted, for a reason that is about
|
|
69
|
+
* the number and not about the language: a count is a numeral, and a screen
|
|
70
|
+
* reader reading a bare "3" out of a row of faces has been told a quantity and
|
|
71
|
+
* nothing about what it is a quantity of. "3 more" is a different piece of
|
|
72
|
+
* information, and it is also a sentence whose wording is the consumer's, in the
|
|
73
|
+
* consumer's language, with the consumer's plural rules. Prism will not ship
|
|
74
|
+
* that sentence, so the prop is a function of the count and there is no default
|
|
75
|
+
* to fall back on. When truncation happens with no `overflowLabel`, the badge is
|
|
76
|
+
* the bare number, which is a state the caller chose by not passing one.
|
|
77
|
+
*/
|
|
78
|
+
overflowLabel?: (count: number) => string;
|
|
79
|
+
/**
|
|
80
|
+
* Which end of the row the topmost disc sits at.
|
|
81
|
+
*
|
|
82
|
+
* Off by default, so the first person in `avatars` is the one whose whole disc
|
|
83
|
+
* is visible and whose face is not cut in half by its neighbour. Turn it on when
|
|
84
|
+
* the array is sorted so that the most recent or the most senior is last, which
|
|
85
|
+
* is the common shape of a members list, and the reader expects to be able to
|
|
86
|
+
* see the person who matters most rather than the one who happens to be first.
|
|
87
|
+
*/
|
|
88
|
+
reverse?: boolean;
|
|
89
|
+
/** Layout only, exactly as on every Component. */
|
|
90
|
+
className?: string;
|
|
91
|
+
} & ({
|
|
92
|
+
/**
|
|
93
|
+
* How many discs to show, with the sentence the count is read as.
|
|
94
|
+
*
|
|
95
|
+
* A union rather than two independent optionals, because the sentence is
|
|
96
|
+
* required in exactly the shape where truncation is possible and meaningless
|
|
97
|
+
* in the shape where it is not, and one optional prop set cannot say that.
|
|
98
|
+
*/
|
|
99
|
+
max: number;
|
|
100
|
+
overflowLabel: (count: number) => string;
|
|
101
|
+
} | {
|
|
102
|
+
/**
|
|
103
|
+
* No explicit cap, so no count can appear and no sentence is owed.
|
|
104
|
+
*
|
|
105
|
+
* Every disc is drawn, which is right for a short set and wrong for a long
|
|
106
|
+
* one. A caller who knows the set is long passes `max` and pays for the
|
|
107
|
+
* sentence.
|
|
108
|
+
*/
|
|
109
|
+
max?: never;
|
|
110
|
+
overflowLabel?: (count: number) => string;
|
|
111
|
+
});
|
|
112
|
+
/**
|
|
113
|
+
* A row of overlapping discs with a count for the rest, built on `Avatar`.
|
|
114
|
+
*
|
|
115
|
+
* **The discs are `Avatar`, `AvatarImage` and `AvatarFallback`, and the fallback
|
|
116
|
+
* is the caller's initials rather than a silhouette.** That is the whole reason
|
|
117
|
+
* this is a Component rather than a row of `div`s: the loading state, the missing
|
|
118
|
+
* image, the failed image and the ring that separates two overlapping discs are
|
|
119
|
+
* four things `Avatar` already holds to one standard, and a hand-written stack
|
|
120
|
+
* gets one of them wrong in a way no test on the stack would notice. A group's
|
|
121
|
+
* fallback is the one place a silhouette is tempting, because most of the group
|
|
122
|
+
* may have no photograph, and it is refused here for the reason it is refused on a
|
|
123
|
+
* single avatar: a picture of nobody is not a person, and a reader who has been
|
|
124
|
+
* shown a row of identical silhouettes has learned nothing about anybody in it.
|
|
125
|
+
*
|
|
126
|
+
* **The order is the caller's, because a group of five people has no natural
|
|
127
|
+
* order and which of them is visible is a decision rather than a fact.** A set of
|
|
128
|
+
* members has no first member; it has an owner, or a most recent signer, or the
|
|
129
|
+
* alphabetical result of a directory query, and each of those is a claim about
|
|
130
|
+
* importance that only the consumer can make. So `avatars` is rendered in the
|
|
131
|
+
* order it arrives and the first `max` are the ones shown, and Prism does not
|
|
132
|
+
* sort, does not rotate, and does not pick a "representative" to lead. The cost
|
|
133
|
+
* is stated rather than hidden: a caller who passes an unordered array gets an
|
|
134
|
+
* arbitrary subset, and a caller who wants the most important person shown has to
|
|
135
|
+
* put them first, which is one line of `sort` in their own code and a decision
|
|
136
|
+
* they are better placed to make than this Component is.
|
|
137
|
+
*
|
|
138
|
+
* **The separator between two discs is a ring in the page ground, and that is a
|
|
139
|
+
* decision with a cost.** Overlapping discs need something between them, and the
|
|
140
|
+
* two candidates are a gap and a ring. A gap cannot work here, because the whole
|
|
141
|
+
* point of a group is that the discs touch, so the separator is drawn: a ring in
|
|
142
|
+
* `background`, which is the surface a group is nearly always on. The cost is
|
|
143
|
+
* that a group placed on a card or on the muted surface reads its separators
|
|
144
|
+
* against the page ground rather than against the surface it is sitting on, and
|
|
145
|
+
* the separator is then very slightly the wrong colour. The alternative, taking
|
|
146
|
+
* the surface as a prop, would put a theming axis on a Component that currently
|
|
147
|
+
* has none and would be a second thing for a consumer to keep in step with the
|
|
148
|
+
* pack; a group whose separators matter more than its width should not be
|
|
149
|
+
* overlapping.
|
|
150
|
+
*
|
|
151
|
+
* **The count is a badge, not a truncation of the array.** The people past `max`
|
|
152
|
+
* are not drawn at all, and the badge says how many. A group that faded its last
|
|
153
|
+
* discs out would show a reader a row that looks complete and is not, and a
|
|
154
|
+
* reader who counted the faces would be wrong. The badge is a `div` with no role
|
|
155
|
+
* and no name of its own: the number is spoken by the sentence the caller passed
|
|
156
|
+
* to `overflowLabel`, and the badge is the place that sentence appears. When no
|
|
157
|
+
* `overflowLabel` is given, the badge holds the bare number, and the JSDoc on the
|
|
158
|
+
* prop says what that costs.
|
|
159
|
+
*
|
|
160
|
+
* **An empty set renders nothing, and the trailing slot goes with it.** The same
|
|
161
|
+
* reason `ProductSwitcher` and `FactList` render nothing rather than an empty
|
|
162
|
+
* frame: a row of zero discs is an outline around a gap. The cost is that a
|
|
163
|
+
* caller whose "Manage" control should survive an empty set has to render it
|
|
164
|
+
* outside the group rather than in its slot, and that is a real case in a members
|
|
165
|
+
* panel where the last person left yesterday.
|
|
166
|
+
*
|
|
167
|
+
* It is a server Component. It holds no state, reads no context and attaches no
|
|
168
|
+
* handler, and `Avatar` is a client Component whose only client work is measuring
|
|
169
|
+
* whether an image has loaded, so a group of forty costs no JavaScript from this
|
|
170
|
+
* module. A group the reader can act on belongs in the caller's own row: the
|
|
171
|
+
* trailing slot is where a link or a button goes, and the discs themselves are not
|
|
172
|
+
* controls.
|
|
173
|
+
*/
|
|
174
|
+
declare function AvatarGroup({ avatars, children, size, max, overflowLabel, reverse, className, ...props }: AvatarGroupProps): import("react").JSX.Element | null;
|
|
175
|
+
export { AvatarGroup };
|
|
176
|
+
//# sourceMappingURL=avatar-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;CAID,CAAA;AAmCV,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACvE;;;;;;;OAOG;IACH,OAAO,EAAE,SAAS;QAChB,+EAA+E;QAC/E,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,6DAA6D;QAC7D,IAAI,EAAE,MAAM,CAAA;KACb,EAAE,CAAA;IACH;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,OAAO,KAAK,CAAA;IACzB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;;;;;;;;;;;OAYG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACzC;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,CACA;IACE;;;;;;OAMG;IACH,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CACzC,GACD;IACE;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,KAAK,CAAA;IACX,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CAC1C,CACJ,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,iBAAS,WAAW,CAAC,EACnB,OAAO,EACP,QAAQ,EACR,IAAW,EACX,GAAiB,EACjB,aAAa,EACb,OAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,sCA+DlB;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from './avatar.js';
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
|
+
/**
|
|
5
|
+
* The three sizes a group is drawn at, as the authored `size-*` and `text-*`
|
|
6
|
+
* values rather than as one number.
|
|
7
|
+
*
|
|
8
|
+
* A group is read as one thing, so the whole group takes one size, and a caller
|
|
9
|
+
* who sized each disc through `className` would be able to draw a group of five
|
|
10
|
+
* different heights, which is not a group. The pair is authored together for the
|
|
11
|
+
* same reason `ProductMark` keeps its mark and its name in one table: the
|
|
12
|
+
* initials have to stay legible inside the disc, and a size that is right for the
|
|
13
|
+
* disc is wrong for the letters.
|
|
14
|
+
*/
|
|
15
|
+
const SIZES = {
|
|
16
|
+
sm: { root: 'size-6', ink: 'text-mono' },
|
|
17
|
+
md: { root: 'size-8', ink: 'text-xs' },
|
|
18
|
+
lg: { root: 'size-10', ink: 'text-sm' },
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* How many discs a group shows before the rest become a count.
|
|
22
|
+
*
|
|
23
|
+
* Four, and the number is a reading decision rather than a fitting one. A group
|
|
24
|
+
* of four discs is narrow enough to sit beside a name, a column, or a button
|
|
25
|
+
* without pushing it, and a fifth disc is where a row of faces stops being a
|
|
26
|
+
* summary and starts being a list the reader has to look at. A caller who wants
|
|
27
|
+
* a different number passes `max`, and pays for it in width.
|
|
28
|
+
*/
|
|
29
|
+
const DEFAULT_MAX = 4;
|
|
30
|
+
/**
|
|
31
|
+
* The initials a name produces, and the rule that produces them.
|
|
32
|
+
*
|
|
33
|
+
* Two letters from the first and last words, and the first two characters of a
|
|
34
|
+
* single word. This is Prism deriving a value from the caller's data, not Prism
|
|
35
|
+
* choosing a face: the fallback is the person's own initials, so a reader who
|
|
36
|
+
* cannot see the photograph still recognises the name beside it. The alternative,
|
|
37
|
+
* a silhouette, is a picture of nobody and tells a reader nothing about who they
|
|
38
|
+
* are looking at, and the cost of the derivation is stated rather than hidden: a
|
|
39
|
+
* name of one letter, a name in a script with no case and no word boundaries, and
|
|
40
|
+
* a name whose initials collide with another person's are all cases the rule does
|
|
41
|
+
* not cover, and a caller who cares about any of them passes their own node
|
|
42
|
+
* through the `avatars` slot instead.
|
|
43
|
+
*/
|
|
44
|
+
function initialsOf(name) {
|
|
45
|
+
const words = name.trim().split(/\s+/).filter(Boolean);
|
|
46
|
+
const first = words[0];
|
|
47
|
+
if (first === undefined)
|
|
48
|
+
return '';
|
|
49
|
+
if (words.length === 1)
|
|
50
|
+
return first.slice(0, 2).toUpperCase();
|
|
51
|
+
return `${first.charAt(0)}${words[words.length - 1].charAt(0)}`.toUpperCase();
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A row of overlapping discs with a count for the rest, built on `Avatar`.
|
|
55
|
+
*
|
|
56
|
+
* **The discs are `Avatar`, `AvatarImage` and `AvatarFallback`, and the fallback
|
|
57
|
+
* is the caller's initials rather than a silhouette.** That is the whole reason
|
|
58
|
+
* this is a Component rather than a row of `div`s: the loading state, the missing
|
|
59
|
+
* image, the failed image and the ring that separates two overlapping discs are
|
|
60
|
+
* four things `Avatar` already holds to one standard, and a hand-written stack
|
|
61
|
+
* gets one of them wrong in a way no test on the stack would notice. A group's
|
|
62
|
+
* fallback is the one place a silhouette is tempting, because most of the group
|
|
63
|
+
* may have no photograph, and it is refused here for the reason it is refused on a
|
|
64
|
+
* single avatar: a picture of nobody is not a person, and a reader who has been
|
|
65
|
+
* shown a row of identical silhouettes has learned nothing about anybody in it.
|
|
66
|
+
*
|
|
67
|
+
* **The order is the caller's, because a group of five people has no natural
|
|
68
|
+
* order and which of them is visible is a decision rather than a fact.** A set of
|
|
69
|
+
* members has no first member; it has an owner, or a most recent signer, or the
|
|
70
|
+
* alphabetical result of a directory query, and each of those is a claim about
|
|
71
|
+
* importance that only the consumer can make. So `avatars` is rendered in the
|
|
72
|
+
* order it arrives and the first `max` are the ones shown, and Prism does not
|
|
73
|
+
* sort, does not rotate, and does not pick a "representative" to lead. The cost
|
|
74
|
+
* is stated rather than hidden: a caller who passes an unordered array gets an
|
|
75
|
+
* arbitrary subset, and a caller who wants the most important person shown has to
|
|
76
|
+
* put them first, which is one line of `sort` in their own code and a decision
|
|
77
|
+
* they are better placed to make than this Component is.
|
|
78
|
+
*
|
|
79
|
+
* **The separator between two discs is a ring in the page ground, and that is a
|
|
80
|
+
* decision with a cost.** Overlapping discs need something between them, and the
|
|
81
|
+
* two candidates are a gap and a ring. A gap cannot work here, because the whole
|
|
82
|
+
* point of a group is that the discs touch, so the separator is drawn: a ring in
|
|
83
|
+
* `background`, which is the surface a group is nearly always on. The cost is
|
|
84
|
+
* that a group placed on a card or on the muted surface reads its separators
|
|
85
|
+
* against the page ground rather than against the surface it is sitting on, and
|
|
86
|
+
* the separator is then very slightly the wrong colour. The alternative, taking
|
|
87
|
+
* the surface as a prop, would put a theming axis on a Component that currently
|
|
88
|
+
* has none and would be a second thing for a consumer to keep in step with the
|
|
89
|
+
* pack; a group whose separators matter more than its width should not be
|
|
90
|
+
* overlapping.
|
|
91
|
+
*
|
|
92
|
+
* **The count is a badge, not a truncation of the array.** The people past `max`
|
|
93
|
+
* are not drawn at all, and the badge says how many. A group that faded its last
|
|
94
|
+
* discs out would show a reader a row that looks complete and is not, and a
|
|
95
|
+
* reader who counted the faces would be wrong. The badge is a `div` with no role
|
|
96
|
+
* and no name of its own: the number is spoken by the sentence the caller passed
|
|
97
|
+
* to `overflowLabel`, and the badge is the place that sentence appears. When no
|
|
98
|
+
* `overflowLabel` is given, the badge holds the bare number, and the JSDoc on the
|
|
99
|
+
* prop says what that costs.
|
|
100
|
+
*
|
|
101
|
+
* **An empty set renders nothing, and the trailing slot goes with it.** The same
|
|
102
|
+
* reason `ProductSwitcher` and `FactList` render nothing rather than an empty
|
|
103
|
+
* frame: a row of zero discs is an outline around a gap. The cost is that a
|
|
104
|
+
* caller whose "Manage" control should survive an empty set has to render it
|
|
105
|
+
* outside the group rather than in its slot, and that is a real case in a members
|
|
106
|
+
* panel where the last person left yesterday.
|
|
107
|
+
*
|
|
108
|
+
* It is a server Component. It holds no state, reads no context and attaches no
|
|
109
|
+
* handler, and `Avatar` is a client Component whose only client work is measuring
|
|
110
|
+
* whether an image has loaded, so a group of forty costs no JavaScript from this
|
|
111
|
+
* module. A group the reader can act on belongs in the caller's own row: the
|
|
112
|
+
* trailing slot is where a link or a button goes, and the discs themselves are not
|
|
113
|
+
* controls.
|
|
114
|
+
*/
|
|
115
|
+
function AvatarGroup({ avatars, children, size = 'md', max = DEFAULT_MAX, overflowLabel, reverse = false, className, ...props }) {
|
|
116
|
+
const drawn = SIZES[size];
|
|
117
|
+
const shown = avatars.slice(0, max);
|
|
118
|
+
const overflow = avatars.length - shown.length;
|
|
119
|
+
// Which disc sits on top of its neighbour. The stacking is the z-order, not the
|
|
120
|
+
// order on screen, so the row still reads left to right in the array's order
|
|
121
|
+
// while one end of it is the disc nothing overlaps.
|
|
122
|
+
const raised = reverse ? shown.length - 1 : 0;
|
|
123
|
+
/*
|
|
124
|
+
* An empty set renders nothing, for the reason `ProductSwitcher` and `FactList`
|
|
125
|
+
* both render nothing: an empty row of zero-width discs is a frame with a gap
|
|
126
|
+
* in it, and a caller with nothing to show is better served by the absence of
|
|
127
|
+
* the group than by its outline. The trailing slot goes with it, and that is
|
|
128
|
+
* stated rather than assumed: a caller whose "Manage" control should survive an
|
|
129
|
+
* empty set renders it outside the group rather than in its slot.
|
|
130
|
+
*/
|
|
131
|
+
if (avatars.length === 0)
|
|
132
|
+
return null;
|
|
133
|
+
return (_jsxs("div", { "data-slot": "avatar-group", className: cn('flex items-center [&>*+*]:-ms-2', className), ...props, children: [shown.map((person, index) => (_jsx("span", { "data-slot": "avatar-group-item", "data-raised": index === raised ? 'true' : undefined, className: cn('relative', index === raised ? 'z-10' : ''), children: _jsxs(Avatar, { className: cn('ring-background ring-2', drawn.root), children: [person.src === undefined ? null : (_jsx(AvatarImage, { src: person.src, alt: person.name })), _jsx(AvatarFallback, { className: drawn.ink, children: initialsOf(person.name) })] }) }, `${person.name}-${index}`))), overflow > 0 ? (_jsx("span", { "data-slot": "avatar-group-overflow", className: cn('bg-muted text-muted-foreground ring-background relative flex shrink-0 items-center justify-center rounded-full font-medium ring-2', drawn.root, drawn.ink), children: overflowLabel === undefined ? overflow : overflowLabel(overflow) })) : null, children] }));
|
|
134
|
+
}
|
|
135
|
+
export { AvatarGroup };
|