@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,241 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* The surface and the four tones, and nothing else.
|
|
5
|
+
*
|
|
6
|
+
* Every tone states its own fill AND its own ink, and that is the
|
|
7
|
+
* `check-variant-ink` rule rather than a style preference. A toast is the one
|
|
8
|
+
* surface in this package that is a *coloured* surface with body text sitting
|
|
9
|
+
* on it, so an inherited ink is not the page's foreground by accident: it is
|
|
10
|
+
* whatever happened to be behind the viewport, and the failure `Cta01`
|
|
11
|
+
* measured was 1.01:1 on a filled `bg-primary` band. A tone that set only a
|
|
12
|
+
* fill would be the same button in a different colour.
|
|
13
|
+
*/
|
|
14
|
+
declare const toastVariants: (props?: ({
|
|
15
|
+
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
16
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
+
/**
|
|
18
|
+
* The props the Toast root accepts.
|
|
19
|
+
*
|
|
20
|
+
* Every reader-facing string on this surface is a prop, and the reason is the
|
|
21
|
+
* library's reason: this package is installed into four products in at least
|
|
22
|
+
* two languages, and a toast that shipped a close button named in English
|
|
23
|
+
* would be a control those products cannot localise.
|
|
24
|
+
*/
|
|
25
|
+
export interface ToastProps extends Omit<ComponentProps<'div'>, 'children' | 'title'>, VariantProps<typeof toastVariants> {
|
|
26
|
+
/**
|
|
27
|
+
* The short line: what happened, in the fewest words that are still true.
|
|
28
|
+
*
|
|
29
|
+
* A `<p>` and not a heading, deliberately. A notification that appears and
|
|
30
|
+
* then disappears must not put an entry in the page outline, because a reader
|
|
31
|
+
* who navigates by heading lands on the document, selects "Saved", and finds
|
|
32
|
+
* nothing there any more. `Alert` is a heading for the same words because an
|
|
33
|
+
* Alert is on the page for as long as the condition is.
|
|
34
|
+
*
|
|
35
|
+
* A `ReactNode`, so a caller can put an emphasis or an icon inside it, and it
|
|
36
|
+
* is also why the native `title` attribute is removed from the pass-through
|
|
37
|
+
* rather than forwarded. The two names are the same words with opposite
|
|
38
|
+
* consequences: a toast's title is the notification itself, read by everyone
|
|
39
|
+
* at once, while `title` is a tooltip that appears under the pointer to
|
|
40
|
+
* whoever happens to hover, and nothing else. A toast that forwarded both
|
|
41
|
+
* would say the same sentence twice to a mouse reader and once to a keyboard
|
|
42
|
+
* reader, in a surface whose whole purpose is to say a thing once.
|
|
43
|
+
*/
|
|
44
|
+
title?: ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* The sentence under the title, when there is one.
|
|
47
|
+
*
|
|
48
|
+
* Separate from the title for the same reason `Alert` separates them: a
|
|
49
|
+
* title is scanned and a sentence is read, and a toast that merged them
|
|
50
|
+
* forces a reader to read a heading.
|
|
51
|
+
*/
|
|
52
|
+
description?: ReactNode;
|
|
53
|
+
/**
|
|
54
|
+
* The one control the toast offers, as a slot.
|
|
55
|
+
*
|
|
56
|
+
* A `ReactNode` rather than a label and a handler, and that is the design
|
|
57
|
+
* decision rather than a convenience: **a toast's action is never the only
|
|
58
|
+
* route to what it does.** A toast is transient by definition, and a reader
|
|
59
|
+
* who missed it, or whose screen reader had not finished announcing it when
|
|
60
|
+
* it went, cannot take an action that exists only inside it. So whatever the
|
|
61
|
+
* action does has to be reachable in the surface the reader is already
|
|
62
|
+
* looking at, and the toast is the shortcut rather than the gate.
|
|
63
|
+
*/
|
|
64
|
+
action?: ReactNode;
|
|
65
|
+
/**
|
|
66
|
+
* Called when the toast wants to be taken off the page: the clock ran out, the
|
|
67
|
+
* reader pressed the dismiss control, or the reader pressed Escape while the
|
|
68
|
+
* toast held focus.
|
|
69
|
+
*
|
|
70
|
+
* **The caller unmounts; this Component never hides itself.** That is what
|
|
71
|
+
* makes the leave transition possible at all, and it is stated here because a
|
|
72
|
+
* caller who expects the toast to remove itself will write a no-op and leave
|
|
73
|
+
* a toast parked on the page forever.
|
|
74
|
+
*
|
|
75
|
+
* **Called exactly once, and called whether or not the fade ran.** It fires at
|
|
76
|
+
* the end of the leave when there is a leave to watch, and on the same commit
|
|
77
|
+
* when there is not, so a consumer whose own stylesheet kills transitions with
|
|
78
|
+
* `transition: none` gets a toast that goes rather than a toast stuck in
|
|
79
|
+
* `data-phase="leaving"`.
|
|
80
|
+
*
|
|
81
|
+
* **Omitting it makes the toast permanent, and that is deliberate.** Without a
|
|
82
|
+
* handoff there is nobody to take the toast off the page, so a clock with
|
|
83
|
+
* nothing to fire and a dismiss control with nothing to do would both be
|
|
84
|
+
* controls that lie. A toast with no `onDismiss` therefore does not run its
|
|
85
|
+
* clock, renders no dismiss control and ignores Escape: it stays until the
|
|
86
|
+
* caller unmounts it. The alternative is worse, because a toast that faded out
|
|
87
|
+
* and was never removed is an invisible element still in the document, still
|
|
88
|
+
* in the live region and still taking the pointer.
|
|
89
|
+
*/
|
|
90
|
+
onDismiss?: () => void;
|
|
91
|
+
/**
|
|
92
|
+
* How long the toast stays up before it asks to be dismissed, in milliseconds.
|
|
93
|
+
*
|
|
94
|
+
* **The default is a judgement about a reader, and it is deliberately longer
|
|
95
|
+
* than a toast usually wants to be.** The failure this number exists to avoid
|
|
96
|
+
* is a toast vanishing before a screen reader has finished announcing it,
|
|
97
|
+
* which is worse than no toast at all: the reader is told something happened
|
|
98
|
+
* and then told, by its absence, that they missed it. Four seconds clears a
|
|
99
|
+
* title and a sentence at a conservative assistive-technology speaking rate.
|
|
100
|
+
* The pause on hover and on focus covers the reader who is looking at the
|
|
101
|
+
* toast rather than hearing it.
|
|
102
|
+
*
|
|
103
|
+
* `0` turns the clock off, for the toast the reader must act on. That is a
|
|
104
|
+
* real case and it is the one case where a toast earns the name, because the
|
|
105
|
+
* reader's next step is the toast's entire purpose.
|
|
106
|
+
*
|
|
107
|
+
* @defaultValue 4000
|
|
108
|
+
*/
|
|
109
|
+
duration?: number;
|
|
110
|
+
/**
|
|
111
|
+
* The accessible name of the dismiss control.
|
|
112
|
+
*
|
|
113
|
+
* **Required, with no default, and this is the one surface in the package
|
|
114
|
+
* where a default would be wrong rather than merely unhelpful.** Every other
|
|
115
|
+
* close button here sits inside a dialog the reader opened, so its name is
|
|
116
|
+
* already implied by the thing it is closing. A toast arrived on its own: an
|
|
117
|
+
* icon-only control the reader reaches towards has to say what it is before
|
|
118
|
+
* they press it, and four products in two languages cannot all be told the
|
|
119
|
+
* control says "Close".
|
|
120
|
+
*/
|
|
121
|
+
closeLabel: string;
|
|
122
|
+
/**
|
|
123
|
+
* Whether the dismiss control is rendered.
|
|
124
|
+
*
|
|
125
|
+
* A prop and not a decision made here, because a toast the reader cannot
|
|
126
|
+
* dismiss is a toast that can only be waited out, and a toast the reader must
|
|
127
|
+
* not dismiss is a dialog. Neither is this Component's call.
|
|
128
|
+
*
|
|
129
|
+
* Set to `false` for a toast the reader must not dismiss, and note that it
|
|
130
|
+
* costs the toast its only keyboard route out: with no control and no Escape,
|
|
131
|
+
* the caller has to offer the way to leave somewhere else, or the toast is a
|
|
132
|
+
* dialog with the focus trap left out. The control is also not rendered when
|
|
133
|
+
* there is no `onDismiss` to call, because a control that cannot do anything
|
|
134
|
+
* is worse than no control.
|
|
135
|
+
*
|
|
136
|
+
* @defaultValue true
|
|
137
|
+
*/
|
|
138
|
+
showCloseButton?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Whether the clock is paused regardless of the pointer or focus.
|
|
141
|
+
*
|
|
142
|
+
* The escape hatch for a caller holding a toast open while something else is
|
|
143
|
+
* still in flight, which is the ordinary case for a batch of operations
|
|
144
|
+
* reporting one at a time.
|
|
145
|
+
*
|
|
146
|
+
* @defaultValue false
|
|
147
|
+
*/
|
|
148
|
+
paused?: boolean;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* A transient notification for something the reader did not have to be told.
|
|
152
|
+
*
|
|
153
|
+
* **What a toast is FOR, stated narrowly, because the broad reading is why
|
|
154
|
+
* toasts get used for the wrong things.** A toast reports a fact the reader
|
|
155
|
+
* would otherwise miss: work finished in the background, a document was shared
|
|
156
|
+
* with them, a setting took effect. It is deliberately NOT the place for an
|
|
157
|
+
* error the reader caused and must act on, because a message that requires an
|
|
158
|
+
* action cannot be allowed to expire before the action is taken. That is an
|
|
159
|
+
* `Alert` beside the control, or a `Dialog` when it blocks. A toast carrying a
|
|
160
|
+
* blocking message is a modal in a costume.
|
|
161
|
+
*
|
|
162
|
+
* **It never takes focus, and that is the load-bearing accessibility claim.** A
|
|
163
|
+
* surface that moves focus to itself has interrupted the reader, and being
|
|
164
|
+
* interrupted is the whole thing a toast exists to avoid: the reader is typing,
|
|
165
|
+
* or reading, or doing something else entirely. So the root is a
|
|
166
|
+
* `role="status"` region that is announced without being entered, the dismiss
|
|
167
|
+
* control is reachable by Tab from wherever the reader already was, and nothing
|
|
168
|
+
* in this Component calls `focus()`. A consumer who needs attention right now
|
|
169
|
+
* wants a `Dialog`; one who needs the reader to act before the message goes
|
|
170
|
+
* away wants `duration={0}`.
|
|
171
|
+
*
|
|
172
|
+
* **It is announced once, and that is why there is no countdown on screen.** A
|
|
173
|
+
* visible timer would have to be a text or an attribute that changes, and
|
|
174
|
+
* anything that changes inside a live region is something a screen reader may
|
|
175
|
+
* announce again. A toast that read out its remaining time every second would
|
|
176
|
+
* be read thirty times. So the clock lives in a ref, it changes no text, and
|
|
177
|
+
* the region speaks once on arrival and again only if the caller changes the
|
|
178
|
+
* words.
|
|
179
|
+
*
|
|
180
|
+
* **It pauses on hover and on focus, for the same reason the default is long.**
|
|
181
|
+
* A reader who has moved the pointer onto a toast is reading it, and one who
|
|
182
|
+
* has tabbed into it is about to press something; in both cases the clock is
|
|
183
|
+
* the enemy of what the reader is doing. The pause *holds* the remaining time
|
|
184
|
+
* rather than restarting it, so a reader who hovers for ten seconds and then
|
|
185
|
+
* leaves gets the four seconds they had left, not four more.
|
|
186
|
+
*
|
|
187
|
+
* **The enter and the leave are the one motion in this package that is
|
|
188
|
+
* legitimate, because they are a state change and not decoration.** A toast is
|
|
189
|
+
* arriving and a toast is leaving, the reader can watch both happen, and that
|
|
190
|
+
* is what state feedback is. It is a fade and a short rise on `duration-slow`
|
|
191
|
+
* with `ease-out`, expressed with utilities this package already uses and with
|
|
192
|
+
* no keyframe: a transition plus a `data-phase` attribute carries both
|
|
193
|
+
* directions. There is no slide, because a travelling toast is a transition
|
|
194
|
+
* between two positions rather than a transition of one element, and expressing
|
|
195
|
+
* that without a keyframe would mean a transform the element does not otherwise
|
|
196
|
+
* have.
|
|
197
|
+
*
|
|
198
|
+
* **It never removes its own transition, and the reason is the caller's
|
|
199
|
+
* unmount.** The enter and the leave are shortened rather than removed under
|
|
200
|
+
* reduced motion, and shortening them there would have needed this Component to
|
|
201
|
+
* read the media query and hand over at once instead, which would be the same
|
|
202
|
+
* rule written twice: once in the stylesheet and once in TypeScript, free to
|
|
203
|
+
* disagree the day the motion policy is retuned. It does not read it. It also
|
|
204
|
+
* does not guard the travel at the call site any more, because
|
|
205
|
+
* `packages/ui/src/styles.css` stops every transition and every animation under
|
|
206
|
+
* `prefers-reduced-motion` in one unlayered rule, and a `motion-safe:` beside an
|
|
207
|
+
* unguarded `transition-[opacity,transform]` was the shape `RangeField` shipped:
|
|
208
|
+
* a guard that adds a rule and therefore cannot remove one. The rise is movement
|
|
209
|
+
* and it is stopped, the fade is stopped with everything else, and the exit is
|
|
210
|
+
* asked about rather than assumed, which is what the paragraph below is for.
|
|
211
|
+
*
|
|
212
|
+
* **The leave is handed over whether or not the fade runs, and that is the
|
|
213
|
+
* contract `styles.css` states for the whole package.** `packages/ui/src/styles.css`
|
|
214
|
+
* says there is no state anywhere in this system whose exit depends on an animation
|
|
215
|
+
* running to completion, and this Component is where that was not true: the exit
|
|
216
|
+
* waited on `transitionend` and nothing else. A consumer's global
|
|
217
|
+
* `transition: none` broke it first, and the reduced-motion block at the foot of
|
|
218
|
+
* that stylesheet breaks it now that it names transitions as well as animations, so
|
|
219
|
+
* a toast stranded in `leaving` was and would be visible, undismissable and still
|
|
220
|
+
* inside a live region. So the exit asks the browser what is actually running on
|
|
221
|
+
* the root rather than waiting for an event that a killed transition never sends:
|
|
222
|
+
* it waits for the fade when there is a fade, it hands over on the same commit when
|
|
223
|
+
* there is not, and `onDismiss` is called exactly once either way. This Component is
|
|
224
|
+
* the reason the one unlayered rule above it is safe to ship.
|
|
225
|
+
*
|
|
226
|
+
* **It is a client Component** because it holds a clock, runs effects, and
|
|
227
|
+
* attaches three handlers. The clock is a single `setTimeout` whose
|
|
228
|
+
* `clearTimeout` is the effect's own return, so nothing outlives the Component:
|
|
229
|
+
* unmounting a toast takes its timer with it rather than leaving one to fire
|
|
230
|
+
* against a component that is no longer on the page.
|
|
231
|
+
*
|
|
232
|
+
* **A toast with no `onDismiss` never leaves, and that is the safe answer.**
|
|
233
|
+
* Every way out of this Component hands over to the caller, so with nobody to
|
|
234
|
+
* hand to there is no clock to run, no dismiss control to render and no Escape
|
|
235
|
+
* to answer. The alternative would be a toast that faded to `opacity-0` and was
|
|
236
|
+
* never removed from the document: invisible, still in the live region, still
|
|
237
|
+
* taking the pointer, and gone in every way except the ones that matter.
|
|
238
|
+
*/
|
|
239
|
+
declare function Toast({ className, variant, title, description, action, onDismiss, duration, closeLabel, showCloseButton, paused, ...props }: ToastProps): import("react").JSX.Element;
|
|
240
|
+
export { Toast };
|
|
241
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toast.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAA4C,KAAK,cAAc,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAIzH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,aAAa;;8EAsBlB,CAAA;AAmCD;;;;;;;GAOG;AACH,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EACvD,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;;;;;OAUG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;;;;;;;;;;;;OAeG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,EACT,QAAe,EACf,UAAU,EACV,eAAsB,EACtB,MAAc,EACd,GAAG,KAAK,EACT,EAAE,UAAU,+BA8RZ;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -0,0 +1,373 @@
|
|
|
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 { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
|
+
import { cn } from '../../lib/utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* The surface and the four tones, and nothing else.
|
|
9
|
+
*
|
|
10
|
+
* Every tone states its own fill AND its own ink, and that is the
|
|
11
|
+
* `check-variant-ink` rule rather than a style preference. A toast is the one
|
|
12
|
+
* surface in this package that is a *coloured* surface with body text sitting
|
|
13
|
+
* on it, so an inherited ink is not the page's foreground by accident: it is
|
|
14
|
+
* whatever happened to be behind the viewport, and the failure `Cta01`
|
|
15
|
+
* measured was 1.01:1 on a filled `bg-primary` band. A tone that set only a
|
|
16
|
+
* fill would be the same button in a different colour.
|
|
17
|
+
*/
|
|
18
|
+
const toastVariants = cva(
|
|
19
|
+
// `pointer-events-auto` because the viewport that hosts a toast is a fixed
|
|
20
|
+
// layer over one corner of the page, and a toast that inherited
|
|
21
|
+
// `pointer-events-none` from that layer would be a toast nobody can click.
|
|
22
|
+
'bg-popover text-popover-foreground pointer-events-auto relative flex w-full items-start gap-3 rounded-lg border p-4 pr-10 shadow-md', {
|
|
23
|
+
variants: {
|
|
24
|
+
variant: {
|
|
25
|
+
default: 'border-border',
|
|
26
|
+
success: 'border-transparent bg-success text-success-foreground',
|
|
27
|
+
warning: 'border-transparent bg-warning text-warning-foreground',
|
|
28
|
+
// A destructive toast is for a failure the reader did not cause and
|
|
29
|
+
// would not otherwise learn: a payment declined on the server, a session
|
|
30
|
+
// that expired, a deploy that failed. It is NOT for a mistake the reader
|
|
31
|
+
// made, which belongs in an `Alert` beside the control where they can
|
|
32
|
+
// see what to change. That distinction is the reason a destructive tone
|
|
33
|
+
// exists here at all.
|
|
34
|
+
destructive: 'border-transparent bg-destructive text-destructive-foreground',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
defaultVariants: { variant: 'default' },
|
|
38
|
+
});
|
|
39
|
+
/**
|
|
40
|
+
* The opacity transitions currently running on one element, or `null` when the
|
|
41
|
+
* browser cannot be asked.
|
|
42
|
+
*
|
|
43
|
+
* `null` and an empty array are different answers and the difference is the whole
|
|
44
|
+
* point of the function. An empty array says the browser has nothing running,
|
|
45
|
+
* which is what `transition: none` looks like from inside; `null` says the
|
|
46
|
+
* browser cannot report, and a caller that treated that as "nothing is running"
|
|
47
|
+
* would hand over on every leave in a browser without the Web Animations API and
|
|
48
|
+
* take the fade with it.
|
|
49
|
+
*
|
|
50
|
+
* Read on the element and never on its subtree, because the dismiss control runs
|
|
51
|
+
* an opacity transition of its own and a subtree read would report the button's
|
|
52
|
+
* fade as the toast's.
|
|
53
|
+
*/
|
|
54
|
+
function opacityTransitions(element) {
|
|
55
|
+
if (typeof element.getAnimations !== 'function')
|
|
56
|
+
return null;
|
|
57
|
+
const isOpacity = (animation) => animation.transitionProperty === 'opacity';
|
|
58
|
+
return element.getAnimations().filter(isOpacity);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A transient notification for something the reader did not have to be told.
|
|
62
|
+
*
|
|
63
|
+
* **What a toast is FOR, stated narrowly, because the broad reading is why
|
|
64
|
+
* toasts get used for the wrong things.** A toast reports a fact the reader
|
|
65
|
+
* would otherwise miss: work finished in the background, a document was shared
|
|
66
|
+
* with them, a setting took effect. It is deliberately NOT the place for an
|
|
67
|
+
* error the reader caused and must act on, because a message that requires an
|
|
68
|
+
* action cannot be allowed to expire before the action is taken. That is an
|
|
69
|
+
* `Alert` beside the control, or a `Dialog` when it blocks. A toast carrying a
|
|
70
|
+
* blocking message is a modal in a costume.
|
|
71
|
+
*
|
|
72
|
+
* **It never takes focus, and that is the load-bearing accessibility claim.** A
|
|
73
|
+
* surface that moves focus to itself has interrupted the reader, and being
|
|
74
|
+
* interrupted is the whole thing a toast exists to avoid: the reader is typing,
|
|
75
|
+
* or reading, or doing something else entirely. So the root is a
|
|
76
|
+
* `role="status"` region that is announced without being entered, the dismiss
|
|
77
|
+
* control is reachable by Tab from wherever the reader already was, and nothing
|
|
78
|
+
* in this Component calls `focus()`. A consumer who needs attention right now
|
|
79
|
+
* wants a `Dialog`; one who needs the reader to act before the message goes
|
|
80
|
+
* away wants `duration={0}`.
|
|
81
|
+
*
|
|
82
|
+
* **It is announced once, and that is why there is no countdown on screen.** A
|
|
83
|
+
* visible timer would have to be a text or an attribute that changes, and
|
|
84
|
+
* anything that changes inside a live region is something a screen reader may
|
|
85
|
+
* announce again. A toast that read out its remaining time every second would
|
|
86
|
+
* be read thirty times. So the clock lives in a ref, it changes no text, and
|
|
87
|
+
* the region speaks once on arrival and again only if the caller changes the
|
|
88
|
+
* words.
|
|
89
|
+
*
|
|
90
|
+
* **It pauses on hover and on focus, for the same reason the default is long.**
|
|
91
|
+
* A reader who has moved the pointer onto a toast is reading it, and one who
|
|
92
|
+
* has tabbed into it is about to press something; in both cases the clock is
|
|
93
|
+
* the enemy of what the reader is doing. The pause *holds* the remaining time
|
|
94
|
+
* rather than restarting it, so a reader who hovers for ten seconds and then
|
|
95
|
+
* leaves gets the four seconds they had left, not four more.
|
|
96
|
+
*
|
|
97
|
+
* **The enter and the leave are the one motion in this package that is
|
|
98
|
+
* legitimate, because they are a state change and not decoration.** A toast is
|
|
99
|
+
* arriving and a toast is leaving, the reader can watch both happen, and that
|
|
100
|
+
* is what state feedback is. It is a fade and a short rise on `duration-slow`
|
|
101
|
+
* with `ease-out`, expressed with utilities this package already uses and with
|
|
102
|
+
* no keyframe: a transition plus a `data-phase` attribute carries both
|
|
103
|
+
* directions. There is no slide, because a travelling toast is a transition
|
|
104
|
+
* between two positions rather than a transition of one element, and expressing
|
|
105
|
+
* that without a keyframe would mean a transform the element does not otherwise
|
|
106
|
+
* have.
|
|
107
|
+
*
|
|
108
|
+
* **It never removes its own transition, and the reason is the caller's
|
|
109
|
+
* unmount.** The enter and the leave are shortened rather than removed under
|
|
110
|
+
* reduced motion, and shortening them there would have needed this Component to
|
|
111
|
+
* read the media query and hand over at once instead, which would be the same
|
|
112
|
+
* rule written twice: once in the stylesheet and once in TypeScript, free to
|
|
113
|
+
* disagree the day the motion policy is retuned. It does not read it. It also
|
|
114
|
+
* does not guard the travel at the call site any more, because
|
|
115
|
+
* `packages/ui/src/styles.css` stops every transition and every animation under
|
|
116
|
+
* `prefers-reduced-motion` in one unlayered rule, and a `motion-safe:` beside an
|
|
117
|
+
* unguarded `transition-[opacity,transform]` was the shape `RangeField` shipped:
|
|
118
|
+
* a guard that adds a rule and therefore cannot remove one. The rise is movement
|
|
119
|
+
* and it is stopped, the fade is stopped with everything else, and the exit is
|
|
120
|
+
* asked about rather than assumed, which is what the paragraph below is for.
|
|
121
|
+
*
|
|
122
|
+
* **The leave is handed over whether or not the fade runs, and that is the
|
|
123
|
+
* contract `styles.css` states for the whole package.** `packages/ui/src/styles.css`
|
|
124
|
+
* says there is no state anywhere in this system whose exit depends on an animation
|
|
125
|
+
* running to completion, and this Component is where that was not true: the exit
|
|
126
|
+
* waited on `transitionend` and nothing else. A consumer's global
|
|
127
|
+
* `transition: none` broke it first, and the reduced-motion block at the foot of
|
|
128
|
+
* that stylesheet breaks it now that it names transitions as well as animations, so
|
|
129
|
+
* a toast stranded in `leaving` was and would be visible, undismissable and still
|
|
130
|
+
* inside a live region. So the exit asks the browser what is actually running on
|
|
131
|
+
* the root rather than waiting for an event that a killed transition never sends:
|
|
132
|
+
* it waits for the fade when there is a fade, it hands over on the same commit when
|
|
133
|
+
* there is not, and `onDismiss` is called exactly once either way. This Component is
|
|
134
|
+
* the reason the one unlayered rule above it is safe to ship.
|
|
135
|
+
*
|
|
136
|
+
* **It is a client Component** because it holds a clock, runs effects, and
|
|
137
|
+
* attaches three handlers. The clock is a single `setTimeout` whose
|
|
138
|
+
* `clearTimeout` is the effect's own return, so nothing outlives the Component:
|
|
139
|
+
* unmounting a toast takes its timer with it rather than leaving one to fire
|
|
140
|
+
* against a component that is no longer on the page.
|
|
141
|
+
*
|
|
142
|
+
* **A toast with no `onDismiss` never leaves, and that is the safe answer.**
|
|
143
|
+
* Every way out of this Component hands over to the caller, so with nobody to
|
|
144
|
+
* hand to there is no clock to run, no dismiss control to render and no Escape
|
|
145
|
+
* to answer. The alternative would be a toast that faded to `opacity-0` and was
|
|
146
|
+
* never removed from the document: invisible, still in the live region, still
|
|
147
|
+
* taking the pointer, and gone in every way except the ones that matter.
|
|
148
|
+
*/
|
|
149
|
+
function Toast({ className, variant, title, description, action, onDismiss, duration = 4000, closeLabel, showCloseButton = true, paused = false, ...props }) {
|
|
150
|
+
const [phase, setPhase] = useState('entering');
|
|
151
|
+
const [hovered, setHovered] = useState(false);
|
|
152
|
+
const [focused, setFocused] = useState(false);
|
|
153
|
+
const rootRef = useRef(null);
|
|
154
|
+
// The remaining time, in a ref rather than in state, because it is written by
|
|
155
|
+
// this Component's own clock and read by nothing the reader can see. State
|
|
156
|
+
// would re-render the whole toast four times a second to update a number no
|
|
157
|
+
// reader is shown, and every re-render of a live region is a chance to be
|
|
158
|
+
// announced again.
|
|
159
|
+
const remaining = useRef(duration);
|
|
160
|
+
const startedAt = useRef(0);
|
|
161
|
+
// The three reasons the clock stops, and the reason the pointer and the
|
|
162
|
+
// keyboard are two of them rather than one: a reader who has tabbed into the
|
|
163
|
+
// dismiss control has not finished with the toast, and neither has a reader
|
|
164
|
+
// who is reading it.
|
|
165
|
+
const held = paused || hovered || focused;
|
|
166
|
+
// The one thing without which nothing can leave: without a handoff there is
|
|
167
|
+
// nobody to take the toast off the page, so the clock has nothing to fire and
|
|
168
|
+
// the dismiss control has nothing to do. Every way out is gated on it, so a
|
|
169
|
+
// toast rendered without an `onDismiss` is a toast that stays rather than one
|
|
170
|
+
// that fades to invisible and is never removed.
|
|
171
|
+
const canLeave = onDismiss !== undefined;
|
|
172
|
+
useEffect(() => {
|
|
173
|
+
// Entering is one frame and not a duration. A transition needs a rendered
|
|
174
|
+
// state to transition *from*, and the first frame is the one that has it.
|
|
175
|
+
// The frame is cancelled on unmount, so a toast removed before its first
|
|
176
|
+
// paint does not leave a request behind.
|
|
177
|
+
//
|
|
178
|
+
// Deliberately not awaited by anything. A frame is a frame: if the browser
|
|
179
|
+
// never delivers one, because the tab is in the background, the toast is
|
|
180
|
+
// still on the page, still dismissible and still on its clock. The enter is
|
|
181
|
+
// the only part of this Component that is allowed to be skipped, and it is
|
|
182
|
+
// skipped on its own.
|
|
183
|
+
if (phase !== 'entering')
|
|
184
|
+
return;
|
|
185
|
+
const frame = requestAnimationFrame(() => setPhase('open'));
|
|
186
|
+
return () => cancelAnimationFrame(frame);
|
|
187
|
+
}, [phase]);
|
|
188
|
+
useEffect(() => {
|
|
189
|
+
// A new duration is a new clock. Written before the clock effect below
|
|
190
|
+
// re-runs, because that effect reads this one on its first line.
|
|
191
|
+
remaining.current = duration;
|
|
192
|
+
startedAt.current = 0;
|
|
193
|
+
}, [duration]);
|
|
194
|
+
useEffect(() => {
|
|
195
|
+
// `duration === 0` is the "the reader must act on this" case, and a toast
|
|
196
|
+
// with the clock off is the one toast entitled to stay.
|
|
197
|
+
//
|
|
198
|
+
// The guard is `leaving` and not `open`, because the clock is about the
|
|
199
|
+
// reader's patience rather than about the animation: tying the clock to the
|
|
200
|
+
// visual phase would mean a backgrounded tab, which never gets a frame, kept
|
|
201
|
+
// a toast up forever for a reason the reader never saw.
|
|
202
|
+
if (phase === 'leaving' || held || duration === 0 || !canLeave)
|
|
203
|
+
return;
|
|
204
|
+
startedAt.current = Date.now();
|
|
205
|
+
const timer = setTimeout(() => setPhase('leaving'), remaining.current);
|
|
206
|
+
// The single place the clock is stopped. It runs on unmount as well as on
|
|
207
|
+
// every pause, which is what keeps a toast's timer from outliving it, and
|
|
208
|
+
// the subtraction is what makes a resume a *continuation* rather than a
|
|
209
|
+
// restart.
|
|
210
|
+
return () => {
|
|
211
|
+
clearTimeout(timer);
|
|
212
|
+
remaining.current = Math.max(0, remaining.current - (Date.now() - startedAt.current));
|
|
213
|
+
};
|
|
214
|
+
}, [phase, held, duration, canLeave]);
|
|
215
|
+
const dismiss = useCallback(() => {
|
|
216
|
+
// Already leaving does not restart the exit, so the handoff to the caller
|
|
217
|
+
// is one call rather than one per reason the toast was dismissed.
|
|
218
|
+
setPhase((current) => (current === 'leaving' ? current : 'leaving'));
|
|
219
|
+
}, []);
|
|
220
|
+
/**
|
|
221
|
+
* Whether the caller has already been told, and a guard on the Component
|
|
222
|
+
* rather than on the effect below.
|
|
223
|
+
*
|
|
224
|
+
* A local flag in that effect would be a fresh `false` every time the effect
|
|
225
|
+
* re-runs, and it re-runs whenever `onDismiss` changes identity, which a caller
|
|
226
|
+
* writing an inline arrow does on every render. The thing this protects is the
|
|
227
|
+
* caller's unmount, and an unmount that runs twice is a state update against a
|
|
228
|
+
* Component that is already gone.
|
|
229
|
+
*/
|
|
230
|
+
const handedOver = useRef(false);
|
|
231
|
+
useEffect(() => {
|
|
232
|
+
if (phase !== 'leaving')
|
|
233
|
+
return;
|
|
234
|
+
const root = rootRef.current;
|
|
235
|
+
if (root === null)
|
|
236
|
+
return;
|
|
237
|
+
/**
|
|
238
|
+
* The one call, whichever of the two signals asked for it.
|
|
239
|
+
*/
|
|
240
|
+
const settle = () => {
|
|
241
|
+
if (handedOver.current)
|
|
242
|
+
return;
|
|
243
|
+
handedOver.current = true;
|
|
244
|
+
onDismiss?.();
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* The event, for a browser that runs the fade.
|
|
248
|
+
*
|
|
249
|
+
* Filtered to this element's own opacity, because a child control's colour
|
|
250
|
+
* transition would otherwise end the toast's exit early and the caller would
|
|
251
|
+
* unmount it half way through the fade. Removed on the way through, because
|
|
252
|
+
* the phase does not change on the way out and so this effect is not re-run
|
|
253
|
+
* to clean up; a listener left attached would call the caller's unmount again
|
|
254
|
+
* on the next opacity transition on this element.
|
|
255
|
+
*
|
|
256
|
+
* A `const` arrow and not a hoisted declaration, for one reason that is not
|
|
257
|
+
* taste: a function declaration could be called before the null check above
|
|
258
|
+
* ran, so TypeScript drops the narrowing on `root` inside it, while an arrow
|
|
259
|
+
* assigned to a `const` cannot exist until the check has passed.
|
|
260
|
+
*/
|
|
261
|
+
const finish = (event) => {
|
|
262
|
+
if (event.target !== root)
|
|
263
|
+
return;
|
|
264
|
+
if (event.propertyName !== 'opacity')
|
|
265
|
+
return;
|
|
266
|
+
root.removeEventListener('transitionend', finish);
|
|
267
|
+
settle();
|
|
268
|
+
};
|
|
269
|
+
root.addEventListener('transitionend', finish);
|
|
270
|
+
/**
|
|
271
|
+
* The animation, for the case where the event never arrives.
|
|
272
|
+
*
|
|
273
|
+
* **This is the one that makes the handoff independent of the fade rather than
|
|
274
|
+
* merely early, and the reason it exists is a transition that is stopped rather
|
|
275
|
+
* than shortened.** A reduced-motion kill is written two ways: as a duration of
|
|
276
|
+
* `0.01ms`, which still starts a transition and still ends it, or as
|
|
277
|
+
* `transition: none`, which starts nothing at all. Under the second form
|
|
278
|
+
* `transitionend` never fires, and an exit that waits only for that event
|
|
279
|
+
* leaves the toast in `data-phase="leaving"` for good: still on the page,
|
|
280
|
+
* still taking the pointer, and still inside a live region that has not
|
|
281
|
+
* stopped announcing. `styles.css` states the invariant this broke, that no
|
|
282
|
+
* state in this system has an exit that depends on an animation running to
|
|
283
|
+
* completion, and this Component was the one place it was not true. That block
|
|
284
|
+
* now writes `transition: none` itself, under `prefers-reduced-motion`, which
|
|
285
|
+
* is why this was repaired before it was needed rather than after.
|
|
286
|
+
*
|
|
287
|
+
* **The browser is asked, not guessed at.** `getAnimations()` returns what is
|
|
288
|
+
* actually running on this element, so it answers the question the stylesheet
|
|
289
|
+
* already answered: with the transition stopped there is nothing in it and the
|
|
290
|
+
* handoff happens at once, and with the fade running there is one transition
|
|
291
|
+
* and the handoff waits for it. Reading the media query in JavaScript instead
|
|
292
|
+
* would put one decision in two places, free to disagree the day the motion
|
|
293
|
+
* policy is retuned, and a reader who asked for less motion is not a reader
|
|
294
|
+
* whose toast should hang.
|
|
295
|
+
*
|
|
296
|
+
* **It settles on the animation and not on a clock, for the reason the exit
|
|
297
|
+
* has no number in it.** The length of the leave is a CSS decision taken by
|
|
298
|
+
* `duration-slow` above, and a timer here would be a second source of truth
|
|
299
|
+
* for it that would stop agreeing with the stylesheet the day the token moved.
|
|
300
|
+
* The animation carries the same length the CSS declared, so waiting on it
|
|
301
|
+
* keeps one answer to "how long does this leave run for".
|
|
302
|
+
*
|
|
303
|
+
* A rejected `finished` is a settled leave rather than an error: a cancelled
|
|
304
|
+
* or replaced animation is one that will not finish, and waiting on it is the
|
|
305
|
+
* way a toast gets stranded.
|
|
306
|
+
*
|
|
307
|
+
* Only this element's own animations are read, because `getAnimations()` is
|
|
308
|
+
* not asked for the subtree. The dismiss control runs its own opacity
|
|
309
|
+
* transition, and a subtree read would hand the toast's exit to a button.
|
|
310
|
+
*
|
|
311
|
+
* A `null` answer is left to do nothing: a browser that cannot be asked keeps
|
|
312
|
+
* the event as the only signal there is, which is the behaviour this Component
|
|
313
|
+
* had before and the only one it can have there.
|
|
314
|
+
*/
|
|
315
|
+
const fade = opacityTransitions(root);
|
|
316
|
+
if (fade !== null && fade.length === 0) {
|
|
317
|
+
// Nothing is running, so nothing will end: no transition was ever created.
|
|
318
|
+
// This is the strand the whole block exists to prevent, and it settles on
|
|
319
|
+
// the same commit rather than waiting for an event that is not coming.
|
|
320
|
+
settle();
|
|
321
|
+
}
|
|
322
|
+
else if (fade !== null) {
|
|
323
|
+
Promise.all(fade.map((animation) => animation.finished)).then(settle, settle);
|
|
324
|
+
}
|
|
325
|
+
return () => root.removeEventListener('transitionend', finish);
|
|
326
|
+
}, [phase, onDismiss]);
|
|
327
|
+
const onKeyDown = (event) => {
|
|
328
|
+
// Escape dismisses, and only when the toast itself holds focus. A toast
|
|
329
|
+
// that answered a document-level Escape would swallow the key from whatever
|
|
330
|
+
// the reader is actually typing in, which is the failure every floating
|
|
331
|
+
// surface causes when it listens globally.
|
|
332
|
+
if (event.key !== 'Escape')
|
|
333
|
+
return;
|
|
334
|
+
if (!canLeave)
|
|
335
|
+
return;
|
|
336
|
+
if (!rootRef.current?.contains(event.target))
|
|
337
|
+
return;
|
|
338
|
+
event.stopPropagation();
|
|
339
|
+
dismiss();
|
|
340
|
+
};
|
|
341
|
+
return (_jsxs("div", { ref: rootRef, "data-slot": "toast", "data-phase": phase,
|
|
342
|
+
// The role is what makes the announcement happen at all, and it is the one
|
|
343
|
+
// `LiveRegion` uses and for the same reason: a toast is content that
|
|
344
|
+
// changed and is not waiting for the reader. `aria-live` is written
|
|
345
|
+
// explicitly so the politeness is a stated fact rather than an implication
|
|
346
|
+
// of the role, and `aria-atomic` is on because a title and a sentence
|
|
347
|
+
// arrive together and a reader should hear one notification rather than
|
|
348
|
+
// two.
|
|
349
|
+
role: "status", "aria-live": "polite", "aria-atomic": "true", onKeyDown: onKeyDown, onPointerEnter: () => setHovered(true), onPointerLeave: () => setHovered(false), onFocus: () => setFocused(true), onBlur: () => setFocused(false), className: cn(toastVariants({ variant }),
|
|
350
|
+
// The enter and the leave as one transition on two properties.
|
|
351
|
+
// `duration-slow` rather than `duration-base` because a toast crosses
|
|
352
|
+
// the page and a fast one is over before a reader has registered that
|
|
353
|
+
// anything arrived; `ease-out` because both directions are decelerating
|
|
354
|
+
// into a resting state rather than accelerating out of one.
|
|
355
|
+
'transition-[opacity,transform] duration-slow ease-out', 'data-[phase=entering]:opacity-0 data-[phase=leaving]:opacity-0',
|
|
356
|
+
/*
|
|
357
|
+
* No `motion-safe:` here and no `motion-reduce:`. `styles.css` ends with one
|
|
358
|
+
* unlayered `prefers-reduced-motion` rule that stops every transition in the
|
|
359
|
+
* package, so a guard here would either be inert (beside an unguarded
|
|
360
|
+
* `transition-*`, which is what this Component used to carry) or a second
|
|
361
|
+
* place to retune the policy. A toast under reduced motion appears at its
|
|
362
|
+
* final opacity with no rise and leaves with no fade, and the arrival is
|
|
363
|
+
* still announced by the live region, which is the part the reader cannot
|
|
364
|
+
* do without and the part no transition was carrying.
|
|
365
|
+
*/
|
|
366
|
+
className), ...props, children: [_jsxs("div", { "data-slot": "toast-body", className: "flex min-w-0 flex-1 flex-col gap-1", children: [title === undefined ? null : (_jsx("p", { "data-slot": "toast-title", className: "text-sm font-medium", children: title })), description === undefined ? null : (_jsx("p", { "data-slot": "toast-description", className: "text-pretty text-sm opacity-90", children: description })), action === undefined ? null : (_jsx("div", { "data-slot": "toast-action", className: "mt-1.5 flex items-center", children: action }))] }), showCloseButton && canLeave ? (_jsx("button", { type: "button", "data-slot": "toast-close", "aria-label": closeLabel, onClick: dismiss,
|
|
367
|
+
// The ring is at full strength for the reason `Button`'s is: half alpha
|
|
368
|
+
// composites to under 3:1 against every surface in every pack, and this
|
|
369
|
+
// is the one indicator on a control a reader reaches for without
|
|
370
|
+
// having opened anything.
|
|
371
|
+
className: cn('ring-offset-background focus-visible:ring-ring absolute top-2 right-2 rounded-sm opacity-70 outline-none', 'transition-opacity duration-fast ease-out', 'hover:opacity-100 focus-visible:ring-[3px]'), children: _jsx(XIcon, { className: "size-4", "aria-hidden": "true" }) })) : null] }));
|
|
372
|
+
}
|
|
373
|
+
export { Toast };
|