@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Accordion as AccordionPrimitive } from '@base-ui/react/accordion';
|
|
4
4
|
import { ChevronDownIcon } from 'lucide-react';
|
|
5
|
-
import { cn } from '../../lib/utils';
|
|
5
|
+
import { cn } from '../../lib/utils.js';
|
|
6
6
|
/**
|
|
7
7
|
* A stack of headers that each reveal a panel.
|
|
8
8
|
*
|
|
@@ -21,10 +21,17 @@ function AccordionItem({ className, ...props }) {
|
|
|
21
21
|
}
|
|
22
22
|
/** The button that opens and closes its panel. */
|
|
23
23
|
function AccordionTrigger({ className, children, ...props }) {
|
|
24
|
-
return (_jsx(AccordionPrimitive.Header, { className: "flex", children: _jsxs(AccordionPrimitive.Trigger, { "data-slot": "accordion-trigger", className: cn('focus-visible:border-ring focus-visible:ring-ring flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium outline-none', 'transition-[color,box-shadow] duration-fast ease-out hover:underline focus-visible:ring-[3px]', 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), ...props, children: [children, _jsx(ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-
|
|
24
|
+
return (_jsx(AccordionPrimitive.Header, { className: "flex", children: _jsxs(AccordionPrimitive.Trigger, { "data-slot": "accordion-trigger", className: cn('focus-visible:border-ring focus-visible:ring-ring flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium outline-none', 'transition-[color,box-shadow] duration-fast ease-out hover:underline focus-visible:ring-[3px]', 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), ...props, children: [children, _jsx(ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-slow ease-out data-[panel-open]:rotate-180" })] }) }));
|
|
25
25
|
}
|
|
26
26
|
/** The panel an AccordionTrigger reveals. */
|
|
27
27
|
function AccordionContent({ className, ...props }) {
|
|
28
|
-
return (_jsx(AccordionPrimitive.Panel, { "data-slot": "accordion-content", className: cn('h-(--accordion-panel-height) overflow-hidden text-sm',
|
|
28
|
+
return (_jsx(AccordionPrimitive.Panel, { "data-slot": "accordion-content", className: cn('h-(--accordion-panel-height) overflow-hidden text-sm',
|
|
29
|
+
// `duration-slow` and not `duration-base`, because this is the disclosure the
|
|
30
|
+
// motion scale in `DESIGN.md` names as the case `slow` exists for: "transform
|
|
31
|
+
// or layout state such as a disclosure". The chevron above carries the same
|
|
32
|
+
// step rather than `base`, because a 160ms icon against a 280ms panel reads
|
|
33
|
+
// as two events and a reader is looking at both at once. The rest of this
|
|
34
|
+
// Component stays on `fast` and `base` because the rest of it is colour.
|
|
35
|
+
'transition-[height] duration-slow ease-out data-[starting-style]:h-0 data-[ending-style]:h-0', className), ...props, children: _jsx("div", { className: "pt-0 pb-4", children: props.children }) }));
|
|
29
36
|
}
|
|
30
37
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The props the AlertDialog root forwards to Base UI.
|
|
4
|
+
*
|
|
5
|
+
* Declared here rather than re-exported from Base UI so no upstream type
|
|
6
|
+
* crosses the package seam (ticket 07 section 6).
|
|
7
|
+
*
|
|
8
|
+
* `modal` and `disablePointerDismissal` are absent on purpose, and their absence
|
|
9
|
+
* is the Component rather than an oversight. Base UI hard-wires both to true for
|
|
10
|
+
* an alert dialog and omits them from the root's prop type, so there is no value
|
|
11
|
+
* a caller can pass that turns a must-answer decision into something a stray
|
|
12
|
+
* click can wave through. A caller who wants a dismissible surface is asking for
|
|
13
|
+
* a Dialog, and the type is how they are told so.
|
|
14
|
+
*/
|
|
15
|
+
export interface AlertDialogProps {
|
|
16
|
+
/** The controlled open state. */
|
|
17
|
+
open?: boolean;
|
|
18
|
+
/** The initially open state, for an uncontrolled alert dialog. */
|
|
19
|
+
defaultOpen?: boolean;
|
|
20
|
+
/** Called when the open state changes. */
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
/** The trigger and content. */
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
/** The props AlertDialogTrigger forwards to Base UI. */
|
|
26
|
+
export interface AlertDialogTriggerProps extends ComponentProps<'button'> {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The props AlertDialogContent forwards to Base UI.
|
|
30
|
+
*
|
|
31
|
+
* Declared here rather than re-exported from Base UI so no upstream type
|
|
32
|
+
* crosses the package seam (ticket 07 section 6).
|
|
33
|
+
*/
|
|
34
|
+
export interface AlertDialogContentProps extends ComponentProps<'div'> {
|
|
35
|
+
}
|
|
36
|
+
/** The props AlertDialogHeader forwards to a plain container. */
|
|
37
|
+
export interface AlertDialogHeaderProps extends ComponentProps<'div'> {
|
|
38
|
+
}
|
|
39
|
+
/** The props AlertDialogFooter forwards to a plain container. */
|
|
40
|
+
export interface AlertDialogFooterProps extends ComponentProps<'div'> {
|
|
41
|
+
}
|
|
42
|
+
/** The props AlertDialogTitle forwards to Base UI. */
|
|
43
|
+
export interface AlertDialogTitleProps extends ComponentProps<'h2'> {
|
|
44
|
+
}
|
|
45
|
+
/** The props AlertDialogDescription forwards to Base UI. */
|
|
46
|
+
export interface AlertDialogDescriptionProps extends ComponentProps<'p'> {
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The action, which is the one button that must exist.
|
|
50
|
+
*
|
|
51
|
+
* It is styled rather than left bare because a caller who forgets to style it
|
|
52
|
+
* ships the one control a reader is about to press as unlabelled text, and the
|
|
53
|
+
* default is `destructive` because an alert dialog whose action is not
|
|
54
|
+
* destructive had no reason to interrupt in the first place. Pass
|
|
55
|
+
* `variant="default"` and reconsider whether the decision needed to interrupt.
|
|
56
|
+
*/
|
|
57
|
+
export interface AlertDialogActionProps extends ComponentProps<'button'> {
|
|
58
|
+
/** How the action reads against the decision it confirms. @defaultValue destructive */
|
|
59
|
+
variant?: 'default' | 'destructive';
|
|
60
|
+
}
|
|
61
|
+
/** The props AlertDialogCancel forwards to Base UI. */
|
|
62
|
+
export interface AlertDialogCancelProps extends ComponentProps<'button'> {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* A dialog that interrupts, and will not let the reader out of it by accident.
|
|
66
|
+
*
|
|
67
|
+
* **The difference from a Dialog is the whole Component.** A Dialog closes on an
|
|
68
|
+
* outside press, because a reader who clicks away from a task has said "not now"
|
|
69
|
+
* and the task is still there when they come back. An alert dialog exists for a
|
|
70
|
+
* decision that a mis-click would answer: deleting a project, discarding a draft,
|
|
71
|
+
* ending a session. An outside press there is a stray gesture that silently
|
|
72
|
+
* chooses for the reader, so Base UI hard-wires dismissal off and this Component
|
|
73
|
+
* does not expose a prop that could turn it back on. Escape still closes it,
|
|
74
|
+
* because a keyboard reader must always have a way out, and a reader who
|
|
75
|
+
* presses Escape has said the same thing deliberately.
|
|
76
|
+
*
|
|
77
|
+
* **The two buttons are the only other way out, and the action is required.**
|
|
78
|
+
* There is no dismiss control in the corner: an X on a surface whose subject is a
|
|
79
|
+
* decision is a third answer to a question the reader was told has two. Give it
|
|
80
|
+
* an `AlertDialogCancel` and an `AlertDialogAction`, always in that order, with
|
|
81
|
+
* the action last so it is the one a keyboard reader lands on second and the
|
|
82
|
+
* destructive one styled as such.
|
|
83
|
+
*
|
|
84
|
+
* **Always give it an `AlertDialogTitle`.** It names the dialog for every
|
|
85
|
+
* reader, and it is what the surface is announced as. Use a Dialog for a short
|
|
86
|
+
* task; use an AlertDialog only where the answer is not safely deferrable.
|
|
87
|
+
*/
|
|
88
|
+
declare function AlertDialog({ ...props }: AlertDialogProps): import("react").JSX.Element;
|
|
89
|
+
/** The element that opens the alert dialog. */
|
|
90
|
+
declare function AlertDialogTrigger({ className, ...props }: AlertDialogTriggerProps): import("react").JSX.Element;
|
|
91
|
+
/** The alert dialog panel, its backdrop and its portal. */
|
|
92
|
+
declare function AlertDialogContent({ className, ...props }: AlertDialogContentProps): import("react").JSX.Element;
|
|
93
|
+
/** The alert dialog's heading area, above the body. */
|
|
94
|
+
declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): import("react").JSX.Element;
|
|
95
|
+
/** The alert dialog's two buttons, side by side. */
|
|
96
|
+
declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): import("react").JSX.Element;
|
|
97
|
+
/** The alert dialog's heading. It names the dialog for assistive technology. */
|
|
98
|
+
declare function AlertDialogTitle({ className, ...props }: AlertDialogTitleProps): import("react").JSX.Element;
|
|
99
|
+
/**
|
|
100
|
+
* The consequence, in the reader's words, before the buttons.
|
|
101
|
+
*
|
|
102
|
+
* This is where the answerable question goes: what happens, to what, and whether
|
|
103
|
+
* it can be taken back. A description that only restates the title gives the
|
|
104
|
+
* reader a decision with nothing to decide on.
|
|
105
|
+
*/
|
|
106
|
+
declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): import("react").JSX.Element;
|
|
107
|
+
/**
|
|
108
|
+
* The button that carries out the decision, and closes the dialog with it.
|
|
109
|
+
*
|
|
110
|
+
* It is styled rather than left bare because a caller who forgets to style it
|
|
111
|
+
* ships the one control a reader is about to press as unlabelled text, and the
|
|
112
|
+
* default is `destructive` because an alert dialog whose action is not
|
|
113
|
+
* destructive had no reason to interrupt in the first place.
|
|
114
|
+
*/
|
|
115
|
+
declare function AlertDialogAction({ className, variant, ...props }: AlertDialogActionProps): import("react").JSX.Element;
|
|
116
|
+
/** The button that leaves the decision unmade, and closes the dialog. */
|
|
117
|
+
declare function AlertDialogCancel({ className, ...props }: AlertDialogCancelProps): import("react").JSX.Element;
|
|
118
|
+
export { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
119
|
+
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAI3C;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iCAAiC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,kEAAkE;IAClE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,wDAAwD;AACxD,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,QAAQ,CAAC;CAAG;AAE5E;;;;;GAKG;AACH,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,KAAK,CAAC;CAAG;AAEzE,iEAAiE;AACjE,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,KAAK,CAAC;CAAG;AAExE,iEAAiE;AACjE,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,KAAK,CAAC;CAAG;AAExE,sDAAsD;AACtD,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,IAAI,CAAC;CAAG;AAEtE,4DAA4D;AAC5D,MAAM,WAAW,2BAA4B,SAAQ,cAAc,CAAC,GAAG,CAAC;CAAG;AAE3E;;;;;;;;GAQG;AACH,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,QAAQ,CAAC;IACtE,uFAAuF;IACvF,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACpC;AAED,uDAAuD;AACvD,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,QAAQ,CAAC;CAAG;AAQ3E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAElD;AAED,+CAA+C;AAC/C,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,+BAoB3E;AAED,2DAA2D;AAC3D,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,+BAuB3E;AAED,uDAAuD;AACvD,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,+BAQzE;AAED,oDAAoD;AACpD,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,+BAQzE;AAED,gFAAgF;AAChF,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAQvE;AAED;;;;;;GAMG;AACH,iBAAS,sBAAsB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,2BAA2B,+BAQnF;AAED;;;;;;;GAOG;AACH,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,OAAuB,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,+BAsBlG;AAED,yEAAyE;AACzE,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,+BAoBzE;AAED,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
|
|
4
|
+
import { cn } from '../../lib/utils.js';
|
|
5
|
+
/** The action's own button treatment, because the one button that must exist is this one. */
|
|
6
|
+
const ACTION_VARIANTS = {
|
|
7
|
+
default: 'bg-background text-foreground hover:bg-accent hover:text-accent-foreground',
|
|
8
|
+
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A dialog that interrupts, and will not let the reader out of it by accident.
|
|
12
|
+
*
|
|
13
|
+
* **The difference from a Dialog is the whole Component.** A Dialog closes on an
|
|
14
|
+
* outside press, because a reader who clicks away from a task has said "not now"
|
|
15
|
+
* and the task is still there when they come back. An alert dialog exists for a
|
|
16
|
+
* decision that a mis-click would answer: deleting a project, discarding a draft,
|
|
17
|
+
* ending a session. An outside press there is a stray gesture that silently
|
|
18
|
+
* chooses for the reader, so Base UI hard-wires dismissal off and this Component
|
|
19
|
+
* does not expose a prop that could turn it back on. Escape still closes it,
|
|
20
|
+
* because a keyboard reader must always have a way out, and a reader who
|
|
21
|
+
* presses Escape has said the same thing deliberately.
|
|
22
|
+
*
|
|
23
|
+
* **The two buttons are the only other way out, and the action is required.**
|
|
24
|
+
* There is no dismiss control in the corner: an X on a surface whose subject is a
|
|
25
|
+
* decision is a third answer to a question the reader was told has two. Give it
|
|
26
|
+
* an `AlertDialogCancel` and an `AlertDialogAction`, always in that order, with
|
|
27
|
+
* the action last so it is the one a keyboard reader lands on second and the
|
|
28
|
+
* destructive one styled as such.
|
|
29
|
+
*
|
|
30
|
+
* **Always give it an `AlertDialogTitle`.** It names the dialog for every
|
|
31
|
+
* reader, and it is what the surface is announced as. Use a Dialog for a short
|
|
32
|
+
* task; use an AlertDialog only where the answer is not safely deferrable.
|
|
33
|
+
*/
|
|
34
|
+
function AlertDialog({ ...props }) {
|
|
35
|
+
return _jsx(AlertDialogPrimitive.Root, { ...props });
|
|
36
|
+
}
|
|
37
|
+
/** The element that opens the alert dialog. */
|
|
38
|
+
function AlertDialogTrigger({ className, ...props }) {
|
|
39
|
+
return (_jsx(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", className: cn('bg-background shadow-xs inline-flex h-9 items-center justify-center gap-2 rounded-md border px-3 text-sm font-medium outline-none', 'transition-[color,box-shadow,background-color] duration-fast ease-out', 'hover:bg-accent hover:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-[3px]', 'disabled:pointer-events-none disabled:opacity-50', className,
|
|
40
|
+
// The coarse-pointer floor, as a step. The trigger opens a dialog and the pair in the
|
|
41
|
+
// footer confirm and dismiss it, so all three are buttons a finger has to hit, and a
|
|
42
|
+
// band would overhang a footer button the caller placed in its own row. The cost is a
|
|
43
|
+
// 44 tall footer on touch rather than a 36 one, which is what the platform's own
|
|
44
|
+
// dialogs use. See DESIGN.md, The coarse-pointer floor.
|
|
45
|
+
'pointer-coarse:h-11'), ...props }));
|
|
46
|
+
}
|
|
47
|
+
/** The alert dialog panel, its backdrop and its portal. */
|
|
48
|
+
function AlertDialogContent({ className, ...props }) {
|
|
49
|
+
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Backdrop, { "data-slot": "alert-dialog-backdrop", className: "bg-background/80 fixed inset-0 z-50 backdrop-blur-sm transition-opacity duration-base ease-out data-[starting-style]:opacity-0 data-[ending-style]:opacity-0" }), _jsx(AlertDialogPrimitive.Viewport, { className: "fixed inset-0 z-50 flex items-center justify-center p-4", children: _jsx(AlertDialogPrimitive.Popup, { "data-slot": "alert-dialog-content", className: cn('bg-background shadow-md relative grid w-full max-w-overlay-dialog gap-4 rounded-xl border p-6 outline-none', 'transition-[opacity,transform] duration-base ease-out', 'focus-visible:ring-ring focus-visible:ring-[3px]', 'data-[starting-style]:scale-95 data-[starting-style]:opacity-0', 'data-[ending-style]:scale-95 data-[ending-style]:opacity-0', className), ...props }) })] }));
|
|
50
|
+
}
|
|
51
|
+
/** The alert dialog's heading area, above the body. */
|
|
52
|
+
function AlertDialogHeader({ className, ...props }) {
|
|
53
|
+
return (_jsx("div", { "data-slot": "alert-dialog-header", className: cn('flex flex-col gap-2 text-center sm:text-left', className), ...props }));
|
|
54
|
+
}
|
|
55
|
+
/** The alert dialog's two buttons, side by side. */
|
|
56
|
+
function AlertDialogFooter({ className, ...props }) {
|
|
57
|
+
return (_jsx("div", { "data-slot": "alert-dialog-footer", className: cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className), ...props }));
|
|
58
|
+
}
|
|
59
|
+
/** The alert dialog's heading. It names the dialog for assistive technology. */
|
|
60
|
+
function AlertDialogTitle({ className, ...props }) {
|
|
61
|
+
return (_jsx(AlertDialogPrimitive.Title, { "data-slot": "alert-dialog-title", className: cn('text-lg leading-none font-semibold tracking-tight', className), ...props }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The consequence, in the reader's words, before the buttons.
|
|
65
|
+
*
|
|
66
|
+
* This is where the answerable question goes: what happens, to what, and whether
|
|
67
|
+
* it can be taken back. A description that only restates the title gives the
|
|
68
|
+
* reader a decision with nothing to decide on.
|
|
69
|
+
*/
|
|
70
|
+
function AlertDialogDescription({ className, ...props }) {
|
|
71
|
+
return (_jsx(AlertDialogPrimitive.Description, { "data-slot": "alert-dialog-description", className: cn('text-muted-foreground text-sm', className), ...props }));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The button that carries out the decision, and closes the dialog with it.
|
|
75
|
+
*
|
|
76
|
+
* It is styled rather than left bare because a caller who forgets to style it
|
|
77
|
+
* ships the one control a reader is about to press as unlabelled text, and the
|
|
78
|
+
* default is `destructive` because an alert dialog whose action is not
|
|
79
|
+
* destructive had no reason to interrupt in the first place.
|
|
80
|
+
*/
|
|
81
|
+
function AlertDialogAction({ className, variant = 'destructive', ...props }) {
|
|
82
|
+
return (_jsx(AlertDialogPrimitive.Close, { "data-slot": "alert-dialog-action", "data-variant": variant, className: cn('inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium whitespace-nowrap outline-none', 'transition-[color,box-shadow,background-color] duration-fast ease-out', 'focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-[3px]', 'disabled:pointer-events-none disabled:opacity-50', ACTION_VARIANTS[variant], className,
|
|
83
|
+
// The coarse-pointer floor, as a step. The trigger opens a dialog and the pair in the
|
|
84
|
+
// footer confirm and dismiss it, so all three are buttons a finger has to hit, and a
|
|
85
|
+
// band would overhang a footer button the caller placed in its own row. The cost is a
|
|
86
|
+
// 44 tall footer on touch rather than a 36 one, which is what the platform's own
|
|
87
|
+
// dialogs use. See DESIGN.md, The coarse-pointer floor.
|
|
88
|
+
'pointer-coarse:h-11'), ...props }));
|
|
89
|
+
}
|
|
90
|
+
/** The button that leaves the decision unmade, and closes the dialog. */
|
|
91
|
+
function AlertDialogCancel({ className, ...props }) {
|
|
92
|
+
return (_jsx(AlertDialogPrimitive.Close, { "data-slot": "alert-dialog-cancel", className: cn('bg-background inline-flex h-9 items-center justify-center gap-2 rounded-md border px-4 text-sm font-medium whitespace-nowrap outline-none', 'transition-[color,box-shadow,background-color] duration-fast ease-out', 'hover:bg-accent hover:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-[3px]', 'disabled:pointer-events-none disabled:opacity-50', className,
|
|
93
|
+
// The coarse-pointer floor, as a step. The trigger opens a dialog and the pair in the
|
|
94
|
+
// footer confirm and dismiss it, so all three are buttons a finger has to hit, and a
|
|
95
|
+
// band would overhang a footer button the caller placed in its own row. The cost is a
|
|
96
|
+
// 44 tall footer on touch rather than a 36 one, which is what the platform's own
|
|
97
|
+
// dialogs use. See DESIGN.md, The coarse-pointer floor.
|
|
98
|
+
'pointer-coarse:h-11'), ...props }));
|
|
99
|
+
}
|
|
100
|
+
export { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from 'class-variance-authority';
|
|
3
|
-
import { cn } from '../../lib/utils';
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
4
|
const alertVariants = cva('relative grid w-full items-start gap-x-3 gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] [&>svg]:size-4 [&>svg]:translate-y-0.5', {
|
|
5
5
|
variants: {
|
|
6
6
|
variant: {
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* The surface and the five tones, and nothing else.
|
|
5
|
+
*
|
|
6
|
+
* **Every tone states its own fill AND its own ink, which is the Stated Ink Rule
|
|
7
|
+
* and not a style preference.** An announcement is a bar of body text sitting on
|
|
8
|
+
* a coloured surface, and a bar is a surface, so an ink left to be inherited is
|
|
9
|
+
* not the page's foreground by accident: it is whatever happened to be behind the
|
|
10
|
+
* viewport, and the failure `Cta01` measured was 1.01:1 on a filled `bg-primary`
|
|
11
|
+
* band. That number is the whole argument. A tone that set only a fill would be
|
|
12
|
+
* the same bar in a different colour, and no gate in this repository could see
|
|
13
|
+
* it, because the token gate measures token pairs rather than what a Component
|
|
14
|
+
* leaves out.
|
|
15
|
+
*
|
|
16
|
+
* The five are the five the semantic contract publishes, and each is a fill with a
|
|
17
|
+
* matched ink rather than a colour chosen to look right: `neutral` is the muted
|
|
18
|
+
* surface, `info` is the pack's own primary, and `success`, `warning` and
|
|
19
|
+
* `destructive` are the three status roles. `info` using the pack's brand hue is
|
|
20
|
+
* the decision worth naming, because a reader has been trained to read a saturated
|
|
21
|
+
* brand bar as a brand, and an informational notice is the one message in this
|
|
22
|
+
* package that is not about the brand. It is a notification rather than a
|
|
23
|
+
* decoration, the pack hue is the strongest ink the contract offers on a coloured
|
|
24
|
+
* surface, and the alternative, a blue that exists in no token, is a colour this
|
|
25
|
+
* package would have to hold rather than inherit.
|
|
26
|
+
*/
|
|
27
|
+
declare const announcementVariants: (props?: ({
|
|
28
|
+
variant?: "destructive" | "success" | "warning" | "neutral" | "info" | null | undefined;
|
|
29
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
30
|
+
/** The five tones an announcement carries, and the five the contract publishes. */
|
|
31
|
+
export type AnnouncementTone = NonNullable<VariantProps<typeof announcementVariants>['variant']>;
|
|
32
|
+
/** The props an `Announcement` takes. */
|
|
33
|
+
export type AnnouncementProps = Omit<ComponentProps<'div'>, 'children'> & {
|
|
34
|
+
/**
|
|
35
|
+
* The message itself: the one sentence, or the short block, the reader has to
|
|
36
|
+
* act on or know about.
|
|
37
|
+
*
|
|
38
|
+
* Required, because an announcement with no message is a coloured bar, and a
|
|
39
|
+
* coloured bar across the top of a page is a thing a reader stops trusting the
|
|
40
|
+
* moment it appears for no reason. It is a `ReactNode` rather than a `string`
|
|
41
|
+
* so the caller can put an emphasis or a link inside it, and it is the reason
|
|
42
|
+
* the native `title` attribute is removed from the pass-through rather than
|
|
43
|
+
* forwarded: the two names are the same words with opposite consequences, and an
|
|
44
|
+
* announcement forwarding both would say the sentence twice to a mouse reader
|
|
45
|
+
* and once to a keyboard reader, in a surface whose whole job is to say one
|
|
46
|
+
* thing.
|
|
47
|
+
*/
|
|
48
|
+
message: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* The action the reader can take about the message, as a slot.
|
|
51
|
+
*
|
|
52
|
+
* A slot and not a label and a handler, and the reason is the same one
|
|
53
|
+
* `Toast` gives: the action is never the only route to what it does. A bar at
|
|
54
|
+
* the top of a page that a reader can dismiss, scroll past, or never see at all
|
|
55
|
+
* is the wrong place for the only link to the thing it is about. So the caller
|
|
56
|
+
* supplies their own real element, with their own destination, and whatever
|
|
57
|
+
* that action leads to has to be reachable from the page the reader is already
|
|
58
|
+
* on. A slot is also what makes the caller's word the word: this package ships
|
|
59
|
+
* in at least two languages and it will not ship an action's label.
|
|
60
|
+
*/
|
|
61
|
+
action?: ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* The accessible name of the dismiss control.
|
|
64
|
+
*
|
|
65
|
+
* Required whenever the bar is dismissible, and not defaulted, for the reason
|
|
66
|
+
* every accessible name in this package is a prop: an icon-only control a
|
|
67
|
+
* reader reaches towards has to say what it is before they press it, and a
|
|
68
|
+
* default of "Close" is a sentence four consumer products in two languages
|
|
69
|
+
* cannot all be given.
|
|
70
|
+
*/
|
|
71
|
+
dismissLabel?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the bar can be dismissed at all.
|
|
74
|
+
*
|
|
75
|
+
* Off by default. An announcement a reader cannot dismiss is a notice, which is
|
|
76
|
+
* a real thing to want; an announcement a reader can dismiss but whose
|
|
77
|
+
* dismissal goes away on the next page load is a bar that lies about having
|
|
78
|
+
* been read, which is why `onDismiss` exists.
|
|
79
|
+
*
|
|
80
|
+
* @defaultValue false
|
|
81
|
+
*/
|
|
82
|
+
dismissible?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Called when the reader dismisses the bar, so the caller can take it off the
|
|
85
|
+
* page for good: remove it from their state, record it against the message it
|
|
86
|
+
* was about, or stop rendering it.
|
|
87
|
+
*
|
|
88
|
+
* The bar hides itself either way; this is the caller's half of the dismissal
|
|
89
|
+
* and the part that outlives the page. See the JSDoc on the Component for why
|
|
90
|
+
* Prism does not do it.
|
|
91
|
+
*/
|
|
92
|
+
onDismiss?: () => void;
|
|
93
|
+
/**
|
|
94
|
+
* Which of the five tones the bar carries. @defaultValue 'neutral'
|
|
95
|
+
*/
|
|
96
|
+
tone?: AnnouncementTone;
|
|
97
|
+
/** Layout only, exactly as on every Component. */
|
|
98
|
+
className?: string;
|
|
99
|
+
} & ({
|
|
100
|
+
/** A dismissible bar, which therefore owes its dismiss control a name. */
|
|
101
|
+
dismissible: true;
|
|
102
|
+
dismissLabel: string;
|
|
103
|
+
} | {
|
|
104
|
+
/**
|
|
105
|
+
* A bar that cannot be dismissed, and so owes no name to a control it does
|
|
106
|
+
* not render.
|
|
107
|
+
*/
|
|
108
|
+
dismissible?: false;
|
|
109
|
+
dismissLabel?: never;
|
|
110
|
+
});
|
|
111
|
+
/**
|
|
112
|
+
* A page-level message bar, with an optional action and an optional dismiss.
|
|
113
|
+
*
|
|
114
|
+
* **The order is message, then action, then dismiss, and the order is a decision
|
|
115
|
+
* about where the eye goes rather than about the markup.** The message comes
|
|
116
|
+
* first because it is the reason the bar exists: a reader who reads nothing else
|
|
117
|
+
* has still got the thing they needed to know. The action comes second because it
|
|
118
|
+
* is what to do about the message, and a reader who wants to act should not have
|
|
119
|
+
* to find the control. The dismiss comes last because it is the one control in
|
|
120
|
+
* the bar that is about the bar rather than about the message, and a reader who
|
|
121
|
+
* reaches for it has already read the message. Reversing the last two is the
|
|
122
|
+
* mistake a flex row makes by accident, and it costs a reader who wanted to act:
|
|
123
|
+
* they reach for what they read as the close control and dismiss the thing they
|
|
124
|
+
* came to read. The cost of the order is that on a narrow screen the three parts
|
|
125
|
+
* compete for one line, which is why the action is a slot the caller can keep to
|
|
126
|
+
* one word.
|
|
127
|
+
*
|
|
128
|
+
* **Every tone states its own fill and its own ink, and the reason is a measured
|
|
129
|
+
* failure rather than a preference.** This is a coloured surface with body text
|
|
130
|
+
* on it, so an inherited ink is not the page's foreground by accident: it is
|
|
131
|
+
* whatever was behind the viewport, and `Cta01` measured 1.01:1 on exactly that
|
|
132
|
+
* arrangement. The variant table above sets both halves of every tone, and the
|
|
133
|
+
* cost of that is a longer string per tone than a fill alone would need, which is
|
|
134
|
+
* a fair trade for a bar that cannot become unreadable by being moved.
|
|
135
|
+
*
|
|
136
|
+
* **The region is a `status` and not an `alert`, and the difference is whether the
|
|
137
|
+
* reader is interrupted.** An announcement is in the document rather than arriving
|
|
138
|
+
* into it: it is there on first paint, a reader can find it by browsing, and it
|
|
139
|
+
* is not a consequence of the thing they were doing a moment ago. `role="alert"`
|
|
140
|
+
* is an assertive live region, which cuts across whatever the reader was reading
|
|
141
|
+
* and reads it out immediately, and that is right for a failure the reader caused
|
|
142
|
+
* and has to fix, which is an `Alert` beside the control or a `Dialog` when it
|
|
143
|
+
* blocks. An announcement is a notice, and a notice that interrupts is a notice
|
|
144
|
+
* the reader stops reading. The cost is real: a reader who arrives mid-page and
|
|
145
|
+
* never looks up misses the bar entirely, and the fix for that is the caller's
|
|
146
|
+
* placement, not a louder role.
|
|
147
|
+
*
|
|
148
|
+
* **A dismissed bar hides itself, and Prism does not persist that.** The state is
|
|
149
|
+
* local to the mounted bar, so a reload brings the message back, which is the
|
|
150
|
+
* honest behaviour for a notice about something that is still true. A stored
|
|
151
|
+
* dismissal is a different thing and a deliberate act: it is a record in a
|
|
152
|
+
* consumer's storage that says this reader has already been told, and that record
|
|
153
|
+
* outlives the message. When it expires, when it is scoped to a message id rather
|
|
154
|
+
* than a page, whether a notice about an incident is dismissible at all, and
|
|
155
|
+
* whether a reader who changes a setting should be told again, are four decisions
|
|
156
|
+
* about the consumer's product and its data, and Prism will not make any of them
|
|
157
|
+
* from inside a bar. So `onDismiss` is the seam: the bar hides itself so the
|
|
158
|
+
* reader is not looking at a thing they dismissed, and the caller is told so the
|
|
159
|
+
* half that outlives the page is theirs. The cost is that a caller who wants a
|
|
160
|
+
* dismissible-once notice writes the storage themselves, and a caller who writes
|
|
161
|
+
* nothing gets a notice that comes back, which is the safe default.
|
|
162
|
+
*
|
|
163
|
+
* It is a client Component, and the state is the whole reason. Hiding the bar on
|
|
164
|
+
* dismiss is one piece of state; there is no clock, no effect and no timer, so
|
|
165
|
+
* the client cost is the bar and not a running loop.
|
|
166
|
+
*/
|
|
167
|
+
declare function Announcement({ message, action, dismissLabel, dismissible, onDismiss, tone, className, ...props }: AnnouncementProps): import("react").JSX.Element | null;
|
|
168
|
+
export { Announcement };
|
|
169
|
+
//# sourceMappingURL=announcement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement.d.ts","sourceRoot":"","sources":["../../../src/components/ui/announcement.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAY,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,QAAA,MAAM,oBAAoB;;8EAczB,CAAA;AAED,mFAAmF;AACnF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CACxC,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC,SAAS,CAAC,CACrD,CAAA;AAED,yCAAyC;AACzC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACxE;;;;;;;;;;;;;OAaG;IACH,OAAO,EAAE,SAAS,CAAA;IAClB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,CACA;IACE,0EAA0E;IAC1E,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB,GACD;IACE;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB,YAAY,CAAC,EAAE,KAAK,CAAA;CACrB,CACJ,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,iBAAS,YAAY,CAAC,EACpB,OAAO,EACP,MAAM,EACN,YAAY,EACZ,WAAmB,EACnB,SAAS,EACT,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,sCAqDnB;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
import { XIcon } from 'lucide-react';
|
|
5
|
+
import { useState } from 'react';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* The surface and the five tones, and nothing else.
|
|
10
|
+
*
|
|
11
|
+
* **Every tone states its own fill AND its own ink, which is the Stated Ink Rule
|
|
12
|
+
* and not a style preference.** An announcement is a bar of body text sitting on
|
|
13
|
+
* a coloured surface, and a bar is a surface, so an ink left to be inherited is
|
|
14
|
+
* not the page's foreground by accident: it is whatever happened to be behind the
|
|
15
|
+
* viewport, and the failure `Cta01` measured was 1.01:1 on a filled `bg-primary`
|
|
16
|
+
* band. That number is the whole argument. A tone that set only a fill would be
|
|
17
|
+
* the same bar in a different colour, and no gate in this repository could see
|
|
18
|
+
* it, because the token gate measures token pairs rather than what a Component
|
|
19
|
+
* leaves out.
|
|
20
|
+
*
|
|
21
|
+
* The five are the five the semantic contract publishes, and each is a fill with a
|
|
22
|
+
* matched ink rather than a colour chosen to look right: `neutral` is the muted
|
|
23
|
+
* surface, `info` is the pack's own primary, and `success`, `warning` and
|
|
24
|
+
* `destructive` are the three status roles. `info` using the pack's brand hue is
|
|
25
|
+
* the decision worth naming, because a reader has been trained to read a saturated
|
|
26
|
+
* brand bar as a brand, and an informational notice is the one message in this
|
|
27
|
+
* package that is not about the brand. It is a notification rather than a
|
|
28
|
+
* decoration, the pack hue is the strongest ink the contract offers on a coloured
|
|
29
|
+
* surface, and the alternative, a blue that exists in no token, is a colour this
|
|
30
|
+
* package would have to hold rather than inherit.
|
|
31
|
+
*/
|
|
32
|
+
const announcementVariants = cva('relative flex w-full items-center gap-3 rounded-lg border px-4 py-2.5 text-sm', {
|
|
33
|
+
variants: {
|
|
34
|
+
variant: {
|
|
35
|
+
neutral: 'border-border bg-muted text-foreground',
|
|
36
|
+
info: 'border-transparent bg-primary text-primary-foreground',
|
|
37
|
+
success: 'border-transparent bg-success text-success-foreground',
|
|
38
|
+
warning: 'border-transparent bg-warning text-warning-foreground',
|
|
39
|
+
destructive: 'border-transparent bg-destructive text-destructive-foreground',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
defaultVariants: { variant: 'neutral' },
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
* A page-level message bar, with an optional action and an optional dismiss.
|
|
46
|
+
*
|
|
47
|
+
* **The order is message, then action, then dismiss, and the order is a decision
|
|
48
|
+
* about where the eye goes rather than about the markup.** The message comes
|
|
49
|
+
* first because it is the reason the bar exists: a reader who reads nothing else
|
|
50
|
+
* has still got the thing they needed to know. The action comes second because it
|
|
51
|
+
* is what to do about the message, and a reader who wants to act should not have
|
|
52
|
+
* to find the control. The dismiss comes last because it is the one control in
|
|
53
|
+
* the bar that is about the bar rather than about the message, and a reader who
|
|
54
|
+
* reaches for it has already read the message. Reversing the last two is the
|
|
55
|
+
* mistake a flex row makes by accident, and it costs a reader who wanted to act:
|
|
56
|
+
* they reach for what they read as the close control and dismiss the thing they
|
|
57
|
+
* came to read. The cost of the order is that on a narrow screen the three parts
|
|
58
|
+
* compete for one line, which is why the action is a slot the caller can keep to
|
|
59
|
+
* one word.
|
|
60
|
+
*
|
|
61
|
+
* **Every tone states its own fill and its own ink, and the reason is a measured
|
|
62
|
+
* failure rather than a preference.** This is a coloured surface with body text
|
|
63
|
+
* on it, so an inherited ink is not the page's foreground by accident: it is
|
|
64
|
+
* whatever was behind the viewport, and `Cta01` measured 1.01:1 on exactly that
|
|
65
|
+
* arrangement. The variant table above sets both halves of every tone, and the
|
|
66
|
+
* cost of that is a longer string per tone than a fill alone would need, which is
|
|
67
|
+
* a fair trade for a bar that cannot become unreadable by being moved.
|
|
68
|
+
*
|
|
69
|
+
* **The region is a `status` and not an `alert`, and the difference is whether the
|
|
70
|
+
* reader is interrupted.** An announcement is in the document rather than arriving
|
|
71
|
+
* into it: it is there on first paint, a reader can find it by browsing, and it
|
|
72
|
+
* is not a consequence of the thing they were doing a moment ago. `role="alert"`
|
|
73
|
+
* is an assertive live region, which cuts across whatever the reader was reading
|
|
74
|
+
* and reads it out immediately, and that is right for a failure the reader caused
|
|
75
|
+
* and has to fix, which is an `Alert` beside the control or a `Dialog` when it
|
|
76
|
+
* blocks. An announcement is a notice, and a notice that interrupts is a notice
|
|
77
|
+
* the reader stops reading. The cost is real: a reader who arrives mid-page and
|
|
78
|
+
* never looks up misses the bar entirely, and the fix for that is the caller's
|
|
79
|
+
* placement, not a louder role.
|
|
80
|
+
*
|
|
81
|
+
* **A dismissed bar hides itself, and Prism does not persist that.** The state is
|
|
82
|
+
* local to the mounted bar, so a reload brings the message back, which is the
|
|
83
|
+
* honest behaviour for a notice about something that is still true. A stored
|
|
84
|
+
* dismissal is a different thing and a deliberate act: it is a record in a
|
|
85
|
+
* consumer's storage that says this reader has already been told, and that record
|
|
86
|
+
* outlives the message. When it expires, when it is scoped to a message id rather
|
|
87
|
+
* than a page, whether a notice about an incident is dismissible at all, and
|
|
88
|
+
* whether a reader who changes a setting should be told again, are four decisions
|
|
89
|
+
* about the consumer's product and its data, and Prism will not make any of them
|
|
90
|
+
* from inside a bar. So `onDismiss` is the seam: the bar hides itself so the
|
|
91
|
+
* reader is not looking at a thing they dismissed, and the caller is told so the
|
|
92
|
+
* half that outlives the page is theirs. The cost is that a caller who wants a
|
|
93
|
+
* dismissible-once notice writes the storage themselves, and a caller who writes
|
|
94
|
+
* nothing gets a notice that comes back, which is the safe default.
|
|
95
|
+
*
|
|
96
|
+
* It is a client Component, and the state is the whole reason. Hiding the bar on
|
|
97
|
+
* dismiss is one piece of state; there is no clock, no effect and no timer, so
|
|
98
|
+
* the client cost is the bar and not a running loop.
|
|
99
|
+
*/
|
|
100
|
+
function Announcement({ message, action, dismissLabel, dismissible = false, onDismiss, tone, className, ...props }) {
|
|
101
|
+
const [open, setOpen] = useState(true);
|
|
102
|
+
if (!open)
|
|
103
|
+
return null;
|
|
104
|
+
return (_jsxs("div", { "data-slot": "announcement", role: "status", className: cn(announcementVariants({ variant: tone }), className), ...props, children: [_jsx("div", { "data-slot": "announcement-message", className: "min-w-0 flex-1 text-pretty", children: message }), action === undefined ? null : (_jsx("div", { "data-slot": "announcement-action", className: "flex shrink-0 items-center", children: action })), dismissible ? (_jsx(Button, { type: "button", "data-slot": "announcement-dismiss", variant: "ghost", size: "icon", "aria-label": dismissLabel, onClick: () => {
|
|
105
|
+
setOpen(false);
|
|
106
|
+
onDismiss?.();
|
|
107
|
+
},
|
|
108
|
+
/*
|
|
109
|
+
* The ghost variant's two hover declarations are replaced rather than
|
|
110
|
+
* kept, and this is the Stated Ink Rule applied one level in. A ghost
|
|
111
|
+
* button inherits its ink, so on this bar it inherits the tone's ink,
|
|
112
|
+
* and `hover:bg-accent` with `hover:text-accent-foreground` would put
|
|
113
|
+
* that ink on the accent surface instead of the tone's. So the hover
|
|
114
|
+
* changes the opacity and nothing else: the fill and the ink that were
|
|
115
|
+
* measured together stay exactly as they were, and the reader still gets
|
|
116
|
+
* the press feedback. `text-inherit` is how that is spelled, and it
|
|
117
|
+
* resolves to the bar's own tone ink rather than to a second one.
|
|
118
|
+
* `size-7` is below the 9 the icon variant draws, and the coarse-pointer
|
|
119
|
+
* size above it is left alone, so a finger still gets 44px.
|
|
120
|
+
*/
|
|
121
|
+
className: "hover:bg-transparent hover:text-inherit opacity-70 transition-opacity duration-fast ease-out hover:opacity-100 size-7 shrink-0", children: _jsx(XIcon, { "aria-hidden": "true", className: "size-4" }) })) : null] }));
|
|
122
|
+
}
|
|
123
|
+
export { Announcement };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
/** The props the AspectRatio accepts. */
|
|
3
|
+
export interface AspectRatioProps extends ComponentProps<'div'> {
|
|
4
|
+
/**
|
|
5
|
+
* The ratio to hold, as CSS's `aspect-ratio` value: width over height.
|
|
6
|
+
*
|
|
7
|
+
* A number rather than a pair, and not a keyword. `16 / 9` is the shape the
|
|
8
|
+
* CSS property takes and the shape a designer writes, and the keyword set
|
|
9
|
+
* (`square`, `video`) is closed and short of every ratio a caller actually has.
|
|
10
|
+
*/
|
|
11
|
+
ratio?: number;
|
|
12
|
+
/** Layout only. */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A box whose height follows its width at a stated ratio.
|
|
17
|
+
*
|
|
18
|
+
* **Why this is a Component and not a class.** The instinct is `className="aspect-video"`
|
|
19
|
+
* and a caller who has run out of keywords writes `className="aspect-[4/3]"`. Neither
|
|
20
|
+
* reaches a consumer's browser. Prism's stylesheet scans Prism's own source and
|
|
21
|
+
* nothing else, because Tailwind is an internal build dependency of this package
|
|
22
|
+
* and never the consumer's, so a utility that appears in no Prism source file is
|
|
23
|
+
* a utility no consumer's stylesheet contains. An arbitrary value typed by a
|
|
24
|
+
* consumer is therefore not a layout decision, it is a silently missing rule and
|
|
25
|
+
* a box at whatever ratio its content happens to have. `ratio` is a prop so the
|
|
26
|
+
* ratio is a number this package reads and applies, not a name this package
|
|
27
|
+
* cannot see.
|
|
28
|
+
*
|
|
29
|
+
* **It is not the Diagram's canvas, and the two do not overlap.** The Diagram
|
|
30
|
+
* draws nodes and the relations between them into a fixed 640 by 400 coordinate
|
|
31
|
+
* space, fitting whatever coordinates a caller gives it into that space with their
|
|
32
|
+
* aspect ratio kept, and its own ratio is a consequence of the canvas it draws
|
|
33
|
+
* into rather than a thing the caller chooses. It is also `role="img"`: the whole
|
|
34
|
+
* subtree is presentational, and the caller's sentence is what a screen reader
|
|
35
|
+
* gets. This Component holds arbitrary content at a caller's ratio and keeps that
|
|
36
|
+
* content in the accessibility tree, so a video, a screenshot, a map or a
|
|
37
|
+
* placeholder that has not loaded can sit in one without being turned into a
|
|
38
|
+
* picture of itself. A Diagram cannot be used for any of those, and this cannot
|
|
39
|
+
* draw a relation.
|
|
40
|
+
*
|
|
41
|
+
* **The content is clipped.** A ratio that is only a ratio leaves the content free
|
|
42
|
+
* to overflow it, and a box whose height is fixed by its width with content
|
|
43
|
+
* spilling out of the bottom is a box that has failed at the one job it has. A
|
|
44
|
+
* caller whose content should escape passes `overflow-visible` through
|
|
45
|
+
* `className`, which is the only override the Component has and which is a
|
|
46
|
+
* decision a caller makes about their own content rather than about the ratio.
|
|
47
|
+
*
|
|
48
|
+
* **A ratio that cannot be drawn falls back rather than collapsing.** A caller
|
|
49
|
+
* computing a ratio from data that has not arrived passes `NaN` or `0`, and
|
|
50
|
+
* `aspect-ratio: 0` is a box with no height at all, which looks like a failed
|
|
51
|
+
* image rather than a missing number. The default ratio is drawn instead and the
|
|
52
|
+
* value the caller passed is carried on the element as `data-ratio`, so the
|
|
53
|
+
* substitution is visible in the markup rather than only in the screenshot.
|
|
54
|
+
*
|
|
55
|
+
* It is a server Component. It holds no state and reads nothing, so a hundred
|
|
56
|
+
* media placeholders cost no JavaScript.
|
|
57
|
+
*/
|
|
58
|
+
declare function AspectRatio({ ratio, className, style, ...props }: AspectRatioProps): import("react").JSX.Element;
|
|
59
|
+
export { AspectRatio };
|
|
60
|
+
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../../src/components/ui/aspect-ratio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAgB3C,yCAAyC;AACzC,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,iBAAS,WAAW,CAAC,EAAE,KAAsB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAc5F;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|