@nanisoft/prism-ui 0.10.2 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/THIRD-PARTY-NOTICES.md +22 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/about-01/about.d.ts +296 -0
- package/dist/blocks/about-01/about.d.ts.map +1 -0
- package/dist/blocks/about-01/about.js +103 -0
- package/dist/blocks/about-01/index.d.ts +3 -0
- package/dist/blocks/about-01/index.d.ts.map +1 -0
- package/dist/blocks/about-01/index.js +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts +324 -0
- package/dist/blocks/accept-invite-01/accept-invite.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/accept-invite.js +230 -0
- package/dist/blocks/accept-invite-01/index.d.ts +3 -0
- package/dist/blocks/accept-invite-01/index.d.ts.map +1 -0
- package/dist/blocks/accept-invite-01/index.js +1 -0
- package/dist/blocks/account-01/account-01.d.ts +393 -0
- package/dist/blocks/account-01/account-01.d.ts.map +1 -0
- package/dist/blocks/account-01/account-01.js +215 -0
- package/dist/blocks/account-01/index.d.ts +3 -0
- package/dist/blocks/account-01/index.d.ts.map +1 -0
- package/dist/blocks/account-01/index.js +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts +271 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/activity-feed-01.js +185 -0
- package/dist/blocks/activity-feed-01/index.d.ts +3 -0
- package/dist/blocks/activity-feed-01/index.d.ts.map +1 -0
- package/dist/blocks/activity-feed-01/index.js +1 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts +312 -0
- package/dist/blocks/address-book-01/address-book-01.d.ts.map +1 -0
- package/dist/blocks/address-book-01/address-book-01.js +233 -0
- package/dist/blocks/address-book-01/index.d.ts +3 -0
- package/dist/blocks/address-book-01/index.d.ts.map +1 -0
- package/dist/blocks/address-book-01/index.js +1 -0
- package/dist/blocks/app-shell-01/app-shell.js +4 -4
- package/dist/blocks/app-shell-01/index.d.ts +2 -2
- package/dist/blocks/app-shell-01/index.js +1 -1
- package/dist/blocks/audit-log-01/audit-log-01.d.ts +333 -0
- package/dist/blocks/audit-log-01/audit-log-01.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/audit-log-01.js +211 -0
- package/dist/blocks/audit-log-01/index.d.ts +3 -0
- package/dist/blocks/audit-log-01/index.d.ts.map +1 -0
- package/dist/blocks/audit-log-01/index.js +1 -0
- package/dist/blocks/auth-form-01/auth-form.d.ts +51 -2
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +36 -10
- package/dist/blocks/auth-form-01/index.d.ts +2 -2
- package/dist/blocks/auth-form-01/index.js +1 -1
- package/dist/blocks/awards-01/awards.d.ts +156 -0
- package/dist/blocks/awards-01/awards.d.ts.map +1 -0
- package/dist/blocks/awards-01/awards.js +102 -0
- package/dist/blocks/awards-01/index.d.ts +3 -0
- package/dist/blocks/awards-01/index.d.ts.map +1 -0
- package/dist/blocks/awards-01/index.js +1 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts +268 -0
- package/dist/blocks/backdrop-01/backdrop.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/backdrop.js +170 -0
- package/dist/blocks/backdrop-01/index.d.ts +3 -0
- package/dist/blocks/backdrop-01/index.d.ts.map +1 -0
- package/dist/blocks/backdrop-01/index.js +1 -0
- package/dist/blocks/bento-01/bento-01.d.ts +136 -0
- package/dist/blocks/bento-01/bento-01.d.ts.map +1 -0
- package/dist/blocks/bento-01/bento-01.js +97 -0
- package/dist/blocks/bento-01/index.d.ts +3 -0
- package/dist/blocks/bento-01/index.d.ts.map +1 -0
- package/dist/blocks/bento-01/index.js +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts +379 -0
- package/dist/blocks/billing-source-01/billing-source-01.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/billing-source-01.js +222 -0
- package/dist/blocks/billing-source-01/index.d.ts +3 -0
- package/dist/blocks/billing-source-01/index.d.ts.map +1 -0
- package/dist/blocks/billing-source-01/index.js +1 -0
- package/dist/blocks/bundle-01/bundle.d.ts +387 -0
- package/dist/blocks/bundle-01/bundle.d.ts.map +1 -0
- package/dist/blocks/bundle-01/bundle.js +153 -0
- package/dist/blocks/bundle-01/index.d.ts +3 -0
- package/dist/blocks/bundle-01/index.d.ts.map +1 -0
- package/dist/blocks/bundle-01/index.js +1 -0
- package/dist/blocks/calendar-01/calendar.d.ts +251 -0
- package/dist/blocks/calendar-01/calendar.d.ts.map +1 -0
- package/dist/blocks/calendar-01/calendar.js +191 -0
- package/dist/blocks/calendar-01/index.d.ts +3 -0
- package/dist/blocks/calendar-01/index.d.ts.map +1 -0
- package/dist/blocks/calendar-01/index.js +1 -0
- package/dist/blocks/capacity-01/capacity.d.ts +363 -0
- package/dist/blocks/capacity-01/capacity.d.ts.map +1 -0
- package/dist/blocks/capacity-01/capacity.js +208 -0
- package/dist/blocks/capacity-01/index.d.ts +3 -0
- package/dist/blocks/capacity-01/index.d.ts.map +1 -0
- package/dist/blocks/capacity-01/index.js +1 -0
- package/dist/blocks/careers-01/careers.d.ts +186 -0
- package/dist/blocks/careers-01/careers.d.ts.map +1 -0
- package/dist/blocks/careers-01/careers.js +83 -0
- package/dist/blocks/careers-01/index.d.ts +3 -0
- package/dist/blocks/careers-01/index.d.ts.map +1 -0
- package/dist/blocks/careers-01/index.js +1 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts +192 -0
- package/dist/blocks/case-studies-01/case-studies.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/case-studies.js +97 -0
- package/dist/blocks/case-studies-01/index.d.ts +3 -0
- package/dist/blocks/case-studies-01/index.d.ts.map +1 -0
- package/dist/blocks/case-studies-01/index.js +1 -0
- package/dist/blocks/case-study-01/case-study.d.ts +214 -0
- package/dist/blocks/case-study-01/case-study.d.ts.map +1 -0
- package/dist/blocks/case-study-01/case-study.js +79 -0
- package/dist/blocks/case-study-01/index.d.ts +3 -0
- package/dist/blocks/case-study-01/index.d.ts.map +1 -0
- package/dist/blocks/case-study-01/index.js +1 -0
- package/dist/blocks/changelog-01/changelog.d.ts +200 -0
- package/dist/blocks/changelog-01/changelog.d.ts.map +1 -0
- package/dist/blocks/changelog-01/changelog.js +155 -0
- package/dist/blocks/changelog-01/index.d.ts +3 -0
- package/dist/blocks/changelog-01/index.d.ts.map +1 -0
- package/dist/blocks/changelog-01/index.js +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts +149 -0
- package/dist/blocks/chart-card-01/chart-card-01.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/chart-card-01.js +81 -0
- package/dist/blocks/chart-card-01/index.d.ts +3 -0
- package/dist/blocks/chart-card-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-card-01/index.js +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts +138 -0
- package/dist/blocks/chart-group-01/chart-group-01.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/chart-group-01.js +74 -0
- package/dist/blocks/chart-group-01/index.d.ts +3 -0
- package/dist/blocks/chart-group-01/index.d.ts.map +1 -0
- package/dist/blocks/chart-group-01/index.js +1 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts +193 -0
- package/dist/blocks/code-sample-01/code-sample.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/code-sample.js +104 -0
- package/dist/blocks/code-sample-01/index.d.ts +3 -0
- package/dist/blocks/code-sample-01/index.d.ts.map +1 -0
- package/dist/blocks/code-sample-01/index.js +1 -0
- package/dist/blocks/community-01/community.d.ts +183 -0
- package/dist/blocks/community-01/community.d.ts.map +1 -0
- package/dist/blocks/community-01/community.js +102 -0
- package/dist/blocks/community-01/index.d.ts +3 -0
- package/dist/blocks/community-01/index.d.ts.map +1 -0
- package/dist/blocks/community-01/index.js +1 -0
- package/dist/blocks/compare-01/compare.d.ts +184 -0
- package/dist/blocks/compare-01/compare.d.ts.map +1 -0
- package/dist/blocks/compare-01/compare.js +106 -0
- package/dist/blocks/compare-01/index.d.ts +3 -0
- package/dist/blocks/compare-01/index.d.ts.map +1 -0
- package/dist/blocks/compare-01/index.js +1 -0
- package/dist/blocks/compliance-01/compliance.d.ts +249 -0
- package/dist/blocks/compliance-01/compliance.d.ts.map +1 -0
- package/dist/blocks/compliance-01/compliance.js +130 -0
- package/dist/blocks/compliance-01/index.d.ts +3 -0
- package/dist/blocks/compliance-01/index.d.ts.map +1 -0
- package/dist/blocks/compliance-01/index.js +1 -0
- package/dist/blocks/consent-01/consent.d.ts +211 -0
- package/dist/blocks/consent-01/consent.d.ts.map +1 -0
- package/dist/blocks/consent-01/consent.js +101 -0
- package/dist/blocks/consent-01/index.d.ts +3 -0
- package/dist/blocks/consent-01/index.d.ts.map +1 -0
- package/dist/blocks/consent-01/index.js +1 -0
- package/dist/blocks/contact-01/contact.d.ts +319 -0
- package/dist/blocks/contact-01/contact.d.ts.map +1 -0
- package/dist/blocks/contact-01/contact.js +211 -0
- package/dist/blocks/contact-01/index.d.ts +3 -0
- package/dist/blocks/contact-01/index.d.ts.map +1 -0
- package/dist/blocks/contact-01/index.js +1 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts +262 -0
- package/dist/blocks/content-grid-01/content-grid.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/content-grid.js +155 -0
- package/dist/blocks/content-grid-01/index.d.ts +3 -0
- package/dist/blocks/content-grid-01/index.d.ts.map +1 -0
- package/dist/blocks/content-grid-01/index.js +1 -0
- package/dist/blocks/cta-01/cta.d.ts +33 -22
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +12 -3
- package/dist/blocks/cta-01/index.d.ts +2 -2
- package/dist/blocks/cta-01/index.js +1 -1
- package/dist/blocks/dashboard-01/dashboard-01.d.ts +247 -0
- package/dist/blocks/dashboard-01/dashboard-01.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/dashboard-01.js +141 -0
- package/dist/blocks/dashboard-01/index.d.ts +3 -0
- package/dist/blocks/dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/dashboard-01/index.js +1 -0
- package/dist/blocks/data-table-01/data-table.d.ts +12 -1
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +15 -12
- package/dist/blocks/data-table-01/index.d.ts +2 -2
- package/dist/blocks/data-table-01/index.js +1 -1
- package/dist/blocks/delivery-01/delivery.d.ts +343 -0
- package/dist/blocks/delivery-01/delivery.d.ts.map +1 -0
- package/dist/blocks/delivery-01/delivery.js +212 -0
- package/dist/blocks/delivery-01/index.d.ts +3 -0
- package/dist/blocks/delivery-01/index.d.ts.map +1 -0
- package/dist/blocks/delivery-01/index.js +1 -0
- package/dist/blocks/directory-01/directory-01.d.ts +316 -0
- package/dist/blocks/directory-01/directory-01.d.ts.map +1 -0
- package/dist/blocks/directory-01/directory-01.js +252 -0
- package/dist/blocks/directory-01/index.d.ts +3 -0
- package/dist/blocks/directory-01/index.d.ts.map +1 -0
- package/dist/blocks/directory-01/index.js +1 -0
- package/dist/blocks/download-01/download.d.ts +261 -0
- package/dist/blocks/download-01/download.d.ts.map +1 -0
- package/dist/blocks/download-01/download.js +115 -0
- package/dist/blocks/download-01/index.d.ts +3 -0
- package/dist/blocks/download-01/index.d.ts.map +1 -0
- package/dist/blocks/download-01/index.js +1 -0
- package/dist/blocks/empty-state-01/empty-state.d.ts +143 -0
- package/dist/blocks/empty-state-01/empty-state.d.ts.map +1 -0
- package/dist/blocks/empty-state-01/empty-state.js +104 -0
- package/dist/blocks/empty-state-01/index.d.ts +3 -0
- package/dist/blocks/empty-state-01/index.d.ts.map +1 -0
- package/dist/blocks/empty-state-01/index.js +1 -0
- package/dist/blocks/faq-01/faq.d.ts +128 -0
- package/dist/blocks/faq-01/faq.d.ts.map +1 -0
- package/dist/blocks/faq-01/faq.js +53 -0
- package/dist/blocks/faq-01/index.d.ts +3 -0
- package/dist/blocks/faq-01/index.d.ts.map +1 -0
- package/dist/blocks/faq-01/index.js +1 -0
- package/dist/blocks/feature-grid-01/feature-grid.d.ts +28 -1
- package/dist/blocks/feature-grid-01/feature-grid.d.ts.map +1 -1
- package/dist/blocks/feature-grid-01/feature-grid.js +34 -3
- package/dist/blocks/feature-grid-01/index.d.ts +2 -2
- package/dist/blocks/feature-grid-01/index.js +1 -1
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts +158 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/feature-rows-01.js +81 -0
- package/dist/blocks/feature-rows-01/index.d.ts +3 -0
- package/dist/blocks/feature-rows-01/index.d.ts.map +1 -0
- package/dist/blocks/feature-rows-01/index.js +1 -0
- package/dist/blocks/feedback-01/feedback.d.ts +235 -0
- package/dist/blocks/feedback-01/feedback.d.ts.map +1 -0
- package/dist/blocks/feedback-01/feedback.js +113 -0
- package/dist/blocks/feedback-01/index.d.ts +3 -0
- package/dist/blocks/feedback-01/index.d.ts.map +1 -0
- package/dist/blocks/feedback-01/index.js +1 -0
- package/dist/blocks/field-map-01/field-map.d.ts +247 -0
- package/dist/blocks/field-map-01/field-map.d.ts.map +1 -0
- package/dist/blocks/field-map-01/field-map.js +183 -0
- package/dist/blocks/field-map-01/index.d.ts +3 -0
- package/dist/blocks/field-map-01/index.d.ts.map +1 -0
- package/dist/blocks/field-map-01/index.js +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts +288 -0
- package/dist/blocks/forgot-password-01/forgot-password.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/forgot-password.js +190 -0
- package/dist/blocks/forgot-password-01/index.d.ts +3 -0
- package/dist/blocks/forgot-password-01/index.d.ts.map +1 -0
- package/dist/blocks/forgot-password-01/index.js +1 -0
- package/dist/blocks/gallery-01/gallery.d.ts +208 -0
- package/dist/blocks/gallery-01/gallery.d.ts.map +1 -0
- package/dist/blocks/gallery-01/gallery.js +174 -0
- package/dist/blocks/gallery-01/index.d.ts +3 -0
- package/dist/blocks/gallery-01/index.d.ts.map +1 -0
- package/dist/blocks/gallery-01/index.js +1 -0
- package/dist/blocks/gantt-01/gantt.d.ts +290 -0
- package/dist/blocks/gantt-01/gantt.d.ts.map +1 -0
- package/dist/blocks/gantt-01/gantt.js +224 -0
- package/dist/blocks/gantt-01/index.d.ts +3 -0
- package/dist/blocks/gantt-01/index.d.ts.map +1 -0
- package/dist/blocks/gantt-01/index.js +1 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts +326 -0
- package/dist/blocks/handoff-01/handoff-01.d.ts.map +1 -0
- package/dist/blocks/handoff-01/handoff-01.js +180 -0
- package/dist/blocks/handoff-01/index.d.ts +3 -0
- package/dist/blocks/handoff-01/index.d.ts.map +1 -0
- package/dist/blocks/handoff-01/index.js +1 -0
- package/dist/blocks/help-01/help.d.ts +254 -0
- package/dist/blocks/help-01/help.d.ts.map +1 -0
- package/dist/blocks/help-01/help.js +188 -0
- package/dist/blocks/help-01/index.d.ts +3 -0
- package/dist/blocks/help-01/index.d.ts.map +1 -0
- package/dist/blocks/help-01/index.js +1 -0
- package/dist/blocks/hero-01/hero.d.ts +112 -21
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +29 -16
- package/dist/blocks/hero-01/index.d.ts +2 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-01/index.js +1 -1
- package/dist/blocks/hero-02/hero-02.d.ts +244 -0
- package/dist/blocks/hero-02/hero-02.d.ts.map +1 -0
- package/dist/blocks/hero-02/hero-02.js +87 -0
- package/dist/blocks/hero-02/index.d.ts +3 -0
- package/dist/blocks/hero-02/index.d.ts.map +1 -0
- package/dist/blocks/hero-02/index.js +1 -0
- package/dist/blocks/hero-03/hero-03.d.ts +247 -0
- package/dist/blocks/hero-03/hero-03.d.ts.map +1 -0
- package/dist/blocks/hero-03/hero-03.js +93 -0
- package/dist/blocks/hero-03/index.d.ts +3 -0
- package/dist/blocks/hero-03/index.d.ts.map +1 -0
- package/dist/blocks/hero-03/index.js +1 -0
- package/dist/blocks/history-01/history-01.d.ts +414 -0
- package/dist/blocks/history-01/history-01.d.ts.map +1 -0
- package/dist/blocks/history-01/history-01.js +285 -0
- package/dist/blocks/history-01/index.d.ts +3 -0
- package/dist/blocks/history-01/index.d.ts.map +1 -0
- package/dist/blocks/history-01/index.js +1 -0
- package/dist/blocks/inbox-01/inbox.d.ts +349 -0
- package/dist/blocks/inbox-01/inbox.d.ts.map +1 -0
- package/dist/blocks/inbox-01/inbox.js +244 -0
- package/dist/blocks/inbox-01/index.d.ts +3 -0
- package/dist/blocks/inbox-01/index.d.ts.map +1 -0
- package/dist/blocks/inbox-01/index.js +1 -0
- package/dist/blocks/index.d.ts +223 -20
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +137 -19
- package/dist/blocks/industries-01/index.d.ts +3 -0
- package/dist/blocks/industries-01/index.d.ts.map +1 -0
- package/dist/blocks/industries-01/index.js +1 -0
- package/dist/blocks/industries-01/industries.d.ts +164 -0
- package/dist/blocks/industries-01/industries.d.ts.map +1 -0
- package/dist/blocks/industries-01/industries.js +96 -0
- package/dist/blocks/instrument-panel-01/index.d.ts +2 -2
- package/dist/blocks/instrument-panel-01/index.js +1 -1
- package/dist/blocks/instrument-panel-01/instrument-panel.js +1 -1
- package/dist/blocks/intake-01/index.d.ts +3 -0
- package/dist/blocks/intake-01/index.d.ts.map +1 -0
- package/dist/blocks/intake-01/index.js +1 -0
- package/dist/blocks/intake-01/intake-01.d.ts +305 -0
- package/dist/blocks/intake-01/intake-01.d.ts.map +1 -0
- package/dist/blocks/intake-01/intake-01.js +178 -0
- package/dist/blocks/integration-01/index.d.ts +3 -0
- package/dist/blocks/integration-01/index.d.ts.map +1 -0
- package/dist/blocks/integration-01/index.js +1 -0
- package/dist/blocks/integration-01/integration.d.ts +226 -0
- package/dist/blocks/integration-01/integration.d.ts.map +1 -0
- package/dist/blocks/integration-01/integration.js +170 -0
- package/dist/blocks/invite-user-01/index.d.ts +3 -0
- package/dist/blocks/invite-user-01/index.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/index.js +1 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts +317 -0
- package/dist/blocks/invite-user-01/invite-user.d.ts.map +1 -0
- package/dist/blocks/invite-user-01/invite-user.js +228 -0
- package/dist/blocks/issue-detail-01/index.d.ts +3 -0
- package/dist/blocks/issue-detail-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/index.js +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts +355 -0
- package/dist/blocks/issue-detail-01/issue-detail.d.ts.map +1 -0
- package/dist/blocks/issue-detail-01/issue-detail.js +187 -0
- package/dist/blocks/issue-list-01/index.d.ts +3 -0
- package/dist/blocks/issue-list-01/index.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/index.js +1 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts +298 -0
- package/dist/blocks/issue-list-01/issue-list.d.ts.map +1 -0
- package/dist/blocks/issue-list-01/issue-list.js +284 -0
- package/dist/blocks/kanban-01/index.d.ts +3 -0
- package/dist/blocks/kanban-01/index.d.ts.map +1 -0
- package/dist/blocks/kanban-01/index.js +1 -0
- package/dist/blocks/kanban-01/kanban.d.ts +278 -0
- package/dist/blocks/kanban-01/kanban.d.ts.map +1 -0
- package/dist/blocks/kanban-01/kanban.js +144 -0
- package/dist/blocks/leaderboard-01/index.d.ts +3 -0
- package/dist/blocks/leaderboard-01/index.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/index.js +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts +250 -0
- package/dist/blocks/leaderboard-01/leaderboard.d.ts.map +1 -0
- package/dist/blocks/leaderboard-01/leaderboard.js +121 -0
- package/dist/blocks/login-01/index.d.ts +3 -0
- package/dist/blocks/login-01/index.d.ts.map +1 -0
- package/dist/blocks/login-01/index.js +1 -0
- package/dist/blocks/login-01/login-01.d.ts +356 -0
- package/dist/blocks/login-01/login-01.d.ts.map +1 -0
- package/dist/blocks/login-01/login-01.js +249 -0
- package/dist/blocks/logo-cloud-01/index.d.ts +3 -0
- package/dist/blocks/logo-cloud-01/index.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/index.js +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts +181 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.d.ts.map +1 -0
- package/dist/blocks/logo-cloud-01/logo-cloud.js +118 -0
- package/dist/blocks/logo-strip-01/index.d.ts +2 -2
- package/dist/blocks/logo-strip-01/index.js +1 -1
- package/dist/blocks/logo-strip-01/logo-strip.d.ts +1 -1
- package/dist/blocks/logo-strip-01/logo-strip.js +2 -2
- package/dist/blocks/magic-link-01/index.d.ts +3 -0
- package/dist/blocks/magic-link-01/index.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/index.js +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts +367 -0
- package/dist/blocks/magic-link-01/magic-link-01.d.ts.map +1 -0
- package/dist/blocks/magic-link-01/magic-link-01.js +233 -0
- package/dist/blocks/member-list-01/index.d.ts +3 -0
- package/dist/blocks/member-list-01/index.d.ts.map +1 -0
- package/dist/blocks/member-list-01/index.js +1 -0
- package/dist/blocks/member-list-01/member-list.d.ts +192 -0
- package/dist/blocks/member-list-01/member-list.d.ts.map +1 -0
- package/dist/blocks/member-list-01/member-list.js +142 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts +3 -0
- package/dist/blocks/milestone-timeline-01/index.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/index.js +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts +217 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.d.ts.map +1 -0
- package/dist/blocks/milestone-timeline-01/milestone-timeline.js +173 -0
- package/dist/blocks/newsletter-01/index.d.ts +3 -0
- package/dist/blocks/newsletter-01/index.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/index.js +1 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts +216 -0
- package/dist/blocks/newsletter-01/newsletter.d.ts.map +1 -0
- package/dist/blocks/newsletter-01/newsletter.js +102 -0
- package/dist/blocks/note-grid-01/index.d.ts +2 -2
- package/dist/blocks/note-grid-01/index.js +1 -1
- package/dist/blocks/note-grid-01/note-grid.d.ts +1 -1
- package/dist/blocks/note-grid-01/note-grid.js +1 -1
- package/dist/blocks/notification-center-01/index.d.ts +3 -0
- package/dist/blocks/notification-center-01/index.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/index.js +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts +341 -0
- package/dist/blocks/notification-center-01/notification-center-01.d.ts.map +1 -0
- package/dist/blocks/notification-center-01/notification-center-01.js +203 -0
- package/dist/blocks/offer-01/index.d.ts +3 -0
- package/dist/blocks/offer-01/index.d.ts.map +1 -0
- package/dist/blocks/offer-01/index.js +1 -0
- package/dist/blocks/offer-01/offer.d.ts +139 -0
- package/dist/blocks/offer-01/offer.d.ts.map +1 -0
- package/dist/blocks/offer-01/offer.js +81 -0
- package/dist/blocks/offering-01/index.d.ts +3 -0
- package/dist/blocks/offering-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-01/index.js +1 -0
- package/dist/blocks/offering-01/offering.d.ts +245 -0
- package/dist/blocks/offering-01/offering.d.ts.map +1 -0
- package/dist/blocks/offering-01/offering.js +144 -0
- package/dist/blocks/offering-categories-01/index.d.ts +3 -0
- package/dist/blocks/offering-categories-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/index.js +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts +248 -0
- package/dist/blocks/offering-categories-01/offering-categories.d.ts.map +1 -0
- package/dist/blocks/offering-categories-01/offering-categories.js +153 -0
- package/dist/blocks/offering-list-01/index.d.ts +3 -0
- package/dist/blocks/offering-list-01/index.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/index.js +1 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts +362 -0
- package/dist/blocks/offering-list-01/offering-list.d.ts.map +1 -0
- package/dist/blocks/offering-list-01/offering-list.js +366 -0
- package/dist/blocks/onboarding-01/index.d.ts +3 -0
- package/dist/blocks/onboarding-01/index.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/index.js +1 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts +199 -0
- package/dist/blocks/onboarding-01/onboarding.d.ts.map +1 -0
- package/dist/blocks/onboarding-01/onboarding.js +182 -0
- package/dist/blocks/ops-checklist-01/index.d.ts +3 -0
- package/dist/blocks/ops-checklist-01/index.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/index.js +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts +308 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.d.ts.map +1 -0
- package/dist/blocks/ops-checklist-01/ops-checklist-01.js +165 -0
- package/dist/blocks/page-header-01/index.d.ts +2 -2
- package/dist/blocks/page-header-01/index.d.ts.map +1 -1
- package/dist/blocks/page-header-01/index.js +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +125 -12
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +28 -12
- package/dist/blocks/passkey-01/index.d.ts +3 -0
- package/dist/blocks/passkey-01/index.d.ts.map +1 -0
- package/dist/blocks/passkey-01/index.js +1 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts +334 -0
- package/dist/blocks/passkey-01/passkey-01.d.ts.map +1 -0
- package/dist/blocks/passkey-01/passkey-01.js +192 -0
- package/dist/blocks/permission-matrix-01/index.d.ts +3 -0
- package/dist/blocks/permission-matrix-01/index.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/index.js +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts +282 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.d.ts.map +1 -0
- package/dist/blocks/permission-matrix-01/permission-matrix.js +173 -0
- package/dist/blocks/pricing-01/index.d.ts +2 -1
- package/dist/blocks/pricing-01/index.d.ts.map +1 -1
- package/dist/blocks/pricing-01/index.js +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +126 -2
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +22 -5
- package/dist/blocks/pricing-compare-01/index.d.ts +3 -0
- package/dist/blocks/pricing-compare-01/index.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/index.js +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts +277 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.d.ts.map +1 -0
- package/dist/blocks/pricing-compare-01/pricing-compare.js +126 -0
- package/dist/blocks/process-flow-01/index.d.ts +3 -0
- package/dist/blocks/process-flow-01/index.d.ts.map +1 -0
- package/dist/blocks/process-flow-01/index.js +1 -0
- package/dist/blocks/process-flow-01/process-flow.d.ts +118 -0
- package/dist/blocks/process-flow-01/process-flow.d.ts.map +1 -0
- package/dist/blocks/process-flow-01/process-flow.js +71 -0
- package/dist/blocks/process-rail-01/index.d.ts +2 -2
- package/dist/blocks/process-rail-01/index.js +1 -1
- package/dist/blocks/process-rail-01/process-rail.d.ts +1 -1
- package/dist/blocks/process-rail-01/process-rail.js +2 -2
- package/dist/blocks/product-grid-01/index.d.ts +2 -2
- package/dist/blocks/product-grid-01/index.js +1 -1
- package/dist/blocks/product-grid-01/product-grid.d.ts +37 -5
- package/dist/blocks/product-grid-01/product-grid.d.ts.map +1 -1
- package/dist/blocks/product-grid-01/product-grid.js +20 -6
- package/dist/blocks/project-01/index.d.ts +3 -0
- package/dist/blocks/project-01/index.d.ts.map +1 -0
- package/dist/blocks/project-01/index.js +1 -0
- package/dist/blocks/project-01/project.d.ts +323 -0
- package/dist/blocks/project-01/project.d.ts.map +1 -0
- package/dist/blocks/project-01/project.js +247 -0
- package/dist/blocks/project-dashboard-01/index.d.ts +3 -0
- package/dist/blocks/project-dashboard-01/index.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/index.js +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts +200 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.d.ts.map +1 -0
- package/dist/blocks/project-dashboard-01/project-dashboard.js +124 -0
- package/dist/blocks/project-list-01/index.d.ts +3 -0
- package/dist/blocks/project-list-01/index.d.ts.map +1 -0
- package/dist/blocks/project-list-01/index.js +1 -0
- package/dist/blocks/project-list-01/project-list.d.ts +301 -0
- package/dist/blocks/project-list-01/project-list.d.ts.map +1 -0
- package/dist/blocks/project-list-01/project-list.js +305 -0
- package/dist/blocks/provisioning-01/index.d.ts +3 -0
- package/dist/blocks/provisioning-01/index.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/index.js +1 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts +357 -0
- package/dist/blocks/provisioning-01/provisioning.d.ts.map +1 -0
- package/dist/blocks/provisioning-01/provisioning.js +230 -0
- package/dist/blocks/quick-view-01/index.d.ts +3 -0
- package/dist/blocks/quick-view-01/index.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/index.js +1 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts +215 -0
- package/dist/blocks/quick-view-01/quick-view.d.ts.map +1 -0
- package/dist/blocks/quick-view-01/quick-view.js +136 -0
- package/dist/blocks/rate-card-01/index.d.ts +3 -0
- package/dist/blocks/rate-card-01/index.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/index.js +1 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts +184 -0
- package/dist/blocks/rate-card-01/rate-card.d.ts.map +1 -0
- package/dist/blocks/rate-card-01/rate-card.js +79 -0
- package/dist/blocks/reset-password-01/index.d.ts +3 -0
- package/dist/blocks/reset-password-01/index.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/index.js +1 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts +276 -0
- package/dist/blocks/reset-password-01/reset-password.d.ts.map +1 -0
- package/dist/blocks/reset-password-01/reset-password.js +175 -0
- package/dist/blocks/resource-list-01/index.d.ts +3 -0
- package/dist/blocks/resource-list-01/index.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/index.js +1 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts +237 -0
- package/dist/blocks/resource-list-01/resource-list.d.ts.map +1 -0
- package/dist/blocks/resource-list-01/resource-list.js +154 -0
- package/dist/blocks/retention-01/index.d.ts +3 -0
- package/dist/blocks/retention-01/index.d.ts.map +1 -0
- package/dist/blocks/retention-01/index.js +1 -0
- package/dist/blocks/retention-01/retention.d.ts +255 -0
- package/dist/blocks/retention-01/retention.d.ts.map +1 -0
- package/dist/blocks/retention-01/retention.js +145 -0
- package/dist/blocks/run-console-01/index.d.ts +3 -0
- package/dist/blocks/run-console-01/index.d.ts.map +1 -0
- package/dist/blocks/run-console-01/index.js +1 -0
- package/dist/blocks/run-console-01/run-console.d.ts +124 -0
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -0
- package/dist/blocks/run-console-01/run-console.js +49 -0
- package/dist/blocks/services-01/index.d.ts +3 -0
- package/dist/blocks/services-01/index.d.ts.map +1 -0
- package/dist/blocks/services-01/index.js +1 -0
- package/dist/blocks/services-01/services.d.ts +159 -0
- package/dist/blocks/services-01/services.d.ts.map +1 -0
- package/dist/blocks/services-01/services.js +81 -0
- package/dist/blocks/settings-integrations-01/index.d.ts +3 -0
- package/dist/blocks/settings-integrations-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/index.js +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts +246 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.d.ts.map +1 -0
- package/dist/blocks/settings-integrations-01/settings-integrations.js +213 -0
- package/dist/blocks/settings-members-01/index.d.ts +3 -0
- package/dist/blocks/settings-members-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/index.js +1 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts +396 -0
- package/dist/blocks/settings-members-01/settings-members.d.ts.map +1 -0
- package/dist/blocks/settings-members-01/settings-members.js +255 -0
- package/dist/blocks/settings-notifications-01/index.d.ts +3 -0
- package/dist/blocks/settings-notifications-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/index.js +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts +270 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.d.ts.map +1 -0
- package/dist/blocks/settings-notifications-01/settings-notifications.js +202 -0
- package/dist/blocks/settings-panel-01/index.d.ts +2 -2
- package/dist/blocks/settings-panel-01/index.js +1 -1
- package/dist/blocks/settings-panel-01/settings-panel.d.ts +11 -1
- package/dist/blocks/settings-panel-01/settings-panel.d.ts.map +1 -1
- package/dist/blocks/settings-panel-01/settings-panel.js +15 -10
- package/dist/blocks/settings-security-01/index.d.ts +3 -0
- package/dist/blocks/settings-security-01/index.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/index.js +1 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts +439 -0
- package/dist/blocks/settings-security-01/settings-security.d.ts.map +1 -0
- package/dist/blocks/settings-security-01/settings-security.js +244 -0
- package/dist/blocks/shortlist-01/index.d.ts +3 -0
- package/dist/blocks/shortlist-01/index.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/index.js +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts +337 -0
- package/dist/blocks/shortlist-01/shortlist-01.d.ts.map +1 -0
- package/dist/blocks/shortlist-01/shortlist-01.js +191 -0
- package/dist/blocks/showcase-01/index.d.ts +3 -0
- package/dist/blocks/showcase-01/index.d.ts.map +1 -0
- package/dist/blocks/showcase-01/index.js +1 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts +238 -0
- package/dist/blocks/showcase-01/showcase-01.d.ts.map +1 -0
- package/dist/blocks/showcase-01/showcase-01.js +84 -0
- package/dist/blocks/signup-01/index.d.ts +3 -0
- package/dist/blocks/signup-01/index.d.ts.map +1 -0
- package/dist/blocks/signup-01/index.js +1 -0
- package/dist/blocks/signup-01/signup-01.d.ts +405 -0
- package/dist/blocks/signup-01/signup-01.d.ts.map +1 -0
- package/dist/blocks/signup-01/signup-01.js +209 -0
- package/dist/blocks/site-footer/index.d.ts +2 -2
- package/dist/blocks/site-footer/index.js +1 -1
- package/dist/blocks/site-footer/site-footer.d.ts +19 -2
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +10 -4
- package/dist/blocks/site-header/index.d.ts +2 -2
- package/dist/blocks/site-header/index.js +1 -1
- package/dist/blocks/site-header/site-header.d.ts +2 -2
- package/dist/blocks/site-header/site-header.js +4 -4
- package/dist/blocks/site-navbar/index.d.ts +3 -0
- package/dist/blocks/site-navbar/index.d.ts.map +1 -0
- package/dist/blocks/site-navbar/index.js +1 -0
- package/dist/blocks/site-navbar/mobile-nav.d.ts +48 -0
- package/dist/blocks/site-navbar/mobile-nav.d.ts.map +1 -0
- package/dist/blocks/site-navbar/mobile-nav.js +35 -0
- package/dist/blocks/site-navbar/mode-toggle.d.ts +39 -0
- package/dist/blocks/site-navbar/mode-toggle.d.ts.map +1 -0
- package/dist/blocks/site-navbar/mode-toggle.js +39 -0
- package/dist/blocks/site-navbar/navbar-controls.d.ts +79 -0
- package/dist/blocks/site-navbar/navbar-controls.d.ts.map +1 -0
- package/dist/blocks/site-navbar/navbar-controls.js +40 -0
- package/dist/blocks/site-navbar/search-entry.d.ts +29 -0
- package/dist/blocks/site-navbar/search-entry.d.ts.map +1 -0
- package/dist/blocks/site-navbar/search-entry.js +52 -0
- package/dist/blocks/site-navbar/site-navbar.d.ts +246 -0
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -0
- package/dist/blocks/site-navbar/site-navbar.js +90 -0
- package/dist/blocks/site-navbar/sites-menu.d.ts +40 -0
- package/dist/blocks/site-navbar/sites-menu.d.ts.map +1 -0
- package/dist/blocks/site-navbar/sites-menu.js +48 -0
- package/dist/blocks/site-navbar/theme-menu.d.ts +47 -0
- package/dist/blocks/site-navbar/theme-menu.d.ts.map +1 -0
- package/dist/blocks/site-navbar/theme-menu.js +55 -0
- package/dist/blocks/spec-table-01/index.d.ts +3 -0
- package/dist/blocks/spec-table-01/index.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/index.js +1 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts +293 -0
- package/dist/blocks/spec-table-01/spec-table.d.ts.map +1 -0
- package/dist/blocks/spec-table-01/spec-table.js +217 -0
- package/dist/blocks/stack-grid-01/index.d.ts +2 -2
- package/dist/blocks/stack-grid-01/index.js +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +42 -11
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +15 -7
- package/dist/blocks/stats-01/index.d.ts +9 -1
- package/dist/blocks/stats-01/index.d.ts.map +1 -1
- package/dist/blocks/stats-01/index.js +8 -1
- package/dist/blocks/stats-01/stats.d.ts +1 -1
- package/dist/blocks/stats-01/stats.js +2 -2
- package/dist/blocks/status-ledger-01/index.d.ts +2 -2
- package/dist/blocks/status-ledger-01/index.js +1 -1
- package/dist/blocks/status-ledger-01/status-ledger.d.ts +1 -1
- package/dist/blocks/status-ledger-01/status-ledger.js +2 -2
- package/dist/blocks/story-01/index.d.ts +3 -0
- package/dist/blocks/story-01/index.d.ts.map +1 -0
- package/dist/blocks/story-01/index.js +1 -0
- package/dist/blocks/story-01/story.d.ts +153 -0
- package/dist/blocks/story-01/story.d.ts.map +1 -0
- package/dist/blocks/story-01/story.js +103 -0
- package/dist/blocks/summary-01/index.d.ts +3 -0
- package/dist/blocks/summary-01/index.d.ts.map +1 -0
- package/dist/blocks/summary-01/index.js +1 -0
- package/dist/blocks/summary-01/summary.d.ts +300 -0
- package/dist/blocks/summary-01/summary.d.ts.map +1 -0
- package/dist/blocks/summary-01/summary.js +174 -0
- package/dist/blocks/team-01/index.d.ts +3 -0
- package/dist/blocks/team-01/index.d.ts.map +1 -0
- package/dist/blocks/team-01/index.js +1 -0
- package/dist/blocks/team-01/team.d.ts +176 -0
- package/dist/blocks/team-01/team.d.ts.map +1 -0
- package/dist/blocks/team-01/team.js +117 -0
- package/dist/blocks/testimonial-01/index.d.ts +3 -0
- package/dist/blocks/testimonial-01/index.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/index.js +1 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts +173 -0
- package/dist/blocks/testimonial-01/testimonial.d.ts.map +1 -0
- package/dist/blocks/testimonial-01/testimonial.js +87 -0
- package/dist/blocks/todo-01/index.d.ts +3 -0
- package/dist/blocks/todo-01/index.d.ts.map +1 -0
- package/dist/blocks/todo-01/index.js +1 -0
- package/dist/blocks/todo-01/todo.d.ts +286 -0
- package/dist/blocks/todo-01/todo.d.ts.map +1 -0
- package/dist/blocks/todo-01/todo.js +149 -0
- package/dist/blocks/trend-01/index.d.ts +3 -0
- package/dist/blocks/trend-01/index.d.ts.map +1 -0
- package/dist/blocks/trend-01/index.js +1 -0
- package/dist/blocks/trend-01/trend.d.ts +184 -0
- package/dist/blocks/trend-01/trend.d.ts.map +1 -0
- package/dist/blocks/trend-01/trend.js +99 -0
- package/dist/blocks/trust-strip-01/index.d.ts +3 -0
- package/dist/blocks/trust-strip-01/index.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/index.js +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts +139 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.d.ts.map +1 -0
- package/dist/blocks/trust-strip-01/trust-strip-01.js +58 -0
- package/dist/blocks/two-factor-01/index.d.ts +3 -0
- package/dist/blocks/two-factor-01/index.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/index.js +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts +440 -0
- package/dist/blocks/two-factor-01/two-factor-01.d.ts.map +1 -0
- package/dist/blocks/two-factor-01/two-factor-01.js +273 -0
- package/dist/blocks/user-profile-01/index.d.ts +3 -0
- package/dist/blocks/user-profile-01/index.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/index.js +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts +258 -0
- package/dist/blocks/user-profile-01/user-profile-01.d.ts.map +1 -0
- package/dist/blocks/user-profile-01/user-profile-01.js +158 -0
- package/dist/blocks/verify-email-01/index.d.ts +3 -0
- package/dist/blocks/verify-email-01/index.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/index.js +1 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts +262 -0
- package/dist/blocks/verify-email-01/verify-email.d.ts.map +1 -0
- package/dist/blocks/verify-email-01/verify-email.js +190 -0
- package/dist/blocks/waitlist-01/index.d.ts +3 -0
- package/dist/blocks/waitlist-01/index.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/index.js +1 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts +254 -0
- package/dist/blocks/waitlist-01/waitlist.d.ts.map +1 -0
- package/dist/blocks/waitlist-01/waitlist.js +75 -0
- package/dist/catalog.d.ts +1 -1
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +2114 -2
- package/dist/components/index.d.ts +218 -66
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +208 -40
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +10 -3
- package/dist/components/ui/alert-dialog.d.ts +119 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +100 -0
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/announcement.d.ts +169 -0
- package/dist/components/ui/announcement.d.ts.map +1 -0
- package/dist/components/ui/announcement.js +123 -0
- package/dist/components/ui/aspect-ratio.d.ts +60 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +61 -0
- package/dist/components/ui/avatar-group.d.ts +176 -0
- package/dist/components/ui/avatar-group.d.ts.map +1 -0
- package/dist/components/ui/avatar-group.js +135 -0
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/billing-source.d.ts +293 -0
- package/dist/components/ui/billing-source.d.ts.map +1 -0
- package/dist/components/ui/billing-source.js +136 -0
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button-group.d.ts +68 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button-group.js +54 -0
- package/dist/components/ui/button.d.ts +16 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +18 -3
- package/dist/components/ui/calendar.d.ts +167 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +244 -0
- package/dist/components/ui/card.d.ts +18 -6
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +23 -8
- package/dist/components/ui/carousel.d.ts +125 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +209 -0
- package/dist/components/ui/chart-frame.d.ts +216 -0
- package/dist/components/ui/chart-frame.d.ts.map +1 -0
- package/dist/components/ui/chart-frame.js +286 -0
- package/dist/components/ui/chart.d.ts +334 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +369 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +20 -2
- package/dist/components/ui/checklist.d.ts +262 -0
- package/dist/components/ui/checklist.d.ts.map +1 -0
- package/dist/components/ui/checklist.js +135 -0
- package/dist/components/ui/choice-card.d.ts +273 -0
- package/dist/components/ui/choice-card.d.ts.map +1 -0
- package/dist/components/ui/choice-card.js +138 -0
- package/dist/components/ui/code-block.d.ts +182 -0
- package/dist/components/ui/code-block.d.ts.map +1 -0
- package/dist/components/ui/code-block.js +108 -0
- package/dist/components/ui/cohort-grid.d.ts +210 -0
- package/dist/components/ui/cohort-grid.d.ts.map +1 -0
- package/dist/components/ui/cohort-grid.js +202 -0
- package/dist/components/ui/collapsible.d.ts +108 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +65 -0
- package/dist/components/ui/combobox.d.ts +144 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +259 -0
- package/dist/components/ui/command-palette.d.ts +117 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -0
- package/dist/components/ui/command-palette.js +222 -0
- package/dist/components/ui/command.d.ts +82 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +37 -0
- package/dist/components/ui/context-menu.d.ts +151 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +97 -0
- package/dist/components/ui/contribution-graph.d.ts +156 -0
- package/dist/components/ui/contribution-graph.d.ts.map +1 -0
- package/dist/components/ui/contribution-graph.js +170 -0
- package/dist/components/ui/creatable-combobox.d.ts +153 -0
- package/dist/components/ui/creatable-combobox.d.ts.map +1 -0
- package/dist/components/ui/creatable-combobox.js +285 -0
- package/dist/components/ui/cta-link.js +1 -1
- package/dist/components/ui/data-toolbar.d.ts +133 -0
- package/dist/components/ui/data-toolbar.d.ts.map +1 -0
- package/dist/components/ui/data-toolbar.js +67 -0
- package/dist/components/ui/date-picker.d.ts +111 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -0
- package/dist/components/ui/date-picker.js +82 -0
- package/dist/components/ui/diagram.d.ts +84 -15
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +77 -7
- package/dist/components/ui/dialog.d.ts +31 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +41 -7
- package/dist/components/ui/diff.d.ts +105 -0
- package/dist/components/ui/diff.d.ts.map +1 -0
- package/dist/components/ui/diff.js +113 -0
- package/dist/components/ui/drawer.d.ts +270 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +241 -0
- package/dist/components/ui/dropdown-menu.d.ts +18 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +7 -2
- package/dist/components/ui/dropzone.d.ts +147 -0
- package/dist/components/ui/dropzone.d.ts.map +1 -0
- package/dist/components/ui/dropzone.js +141 -0
- package/dist/components/ui/emoji-picker.d.ts +328 -0
- package/dist/components/ui/emoji-picker.d.ts.map +1 -0
- package/dist/components/ui/emoji-picker.js +278 -0
- package/dist/components/ui/fact-list.js +1 -1
- package/dist/components/ui/field.js +1 -1
- package/dist/components/ui/file-upload.d.ts +152 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +101 -0
- package/dist/components/ui/filter-panel.d.ts +164 -0
- package/dist/components/ui/filter-panel.d.ts.map +1 -0
- package/dist/components/ui/filter-panel.js +91 -0
- package/dist/components/ui/form-dialog.d.ts +257 -0
- package/dist/components/ui/form-dialog.d.ts.map +1 -0
- package/dist/components/ui/form-dialog.js +176 -0
- package/dist/components/ui/form-wizard.d.ts +251 -0
- package/dist/components/ui/form-wizard.d.ts.map +1 -0
- package/dist/components/ui/form-wizard.js +151 -0
- package/dist/components/ui/form.d.ts +151 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +73 -0
- package/dist/components/ui/hover-card.d.ts +105 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +49 -0
- package/dist/components/ui/image-list-field.d.ts +232 -0
- package/dist/components/ui/image-list-field.d.ts.map +1 -0
- package/dist/components/ui/image-list-field.js +168 -0
- package/dist/components/ui/image-zoom.d.ts +164 -0
- package/dist/components/ui/image-zoom.d.ts.map +1 -0
- package/dist/components/ui/image-zoom.js +169 -0
- package/dist/components/ui/input-group.d.ts +99 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +83 -0
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/intensity-grid.d.ts +270 -0
- package/dist/components/ui/intensity-grid.d.ts.map +1 -0
- package/dist/components/ui/intensity-grid.js +211 -0
- package/dist/components/ui/item.d.ts +113 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +61 -0
- package/dist/components/ui/kbd.js +1 -1
- package/dist/components/ui/label.d.ts +58 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +29 -0
- package/dist/components/ui/lifecycle-button.d.ts +276 -0
- package/dist/components/ui/lifecycle-button.d.ts.map +1 -0
- package/dist/components/ui/lifecycle-button.js +144 -0
- package/dist/components/ui/lightbox.d.ts +165 -0
- package/dist/components/ui/lightbox.d.ts.map +1 -0
- package/dist/components/ui/lightbox.js +130 -0
- package/dist/components/ui/list-panel.d.ts +288 -0
- package/dist/components/ui/list-panel.d.ts.map +1 -0
- package/dist/components/ui/list-panel.js +139 -0
- package/dist/components/ui/live-region.d.ts +9 -0
- package/dist/components/ui/live-region.d.ts.map +1 -1
- package/dist/components/ui/live-region.js +10 -2
- package/dist/components/ui/mark.js +1 -1
- package/dist/components/ui/mega-menu.d.ts +244 -0
- package/dist/components/ui/mega-menu.d.ts.map +1 -0
- package/dist/components/ui/mega-menu.js +97 -0
- package/dist/components/ui/menubar.d.ts +206 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +118 -0
- package/dist/components/ui/meter.d.ts +121 -0
- package/dist/components/ui/meter.d.ts.map +1 -0
- package/dist/components/ui/meter.js +82 -0
- package/dist/components/ui/metric.d.ts +123 -0
- package/dist/components/ui/metric.d.ts.map +1 -0
- package/dist/components/ui/metric.js +68 -0
- package/dist/components/ui/mini-calendar.d.ts +143 -0
- package/dist/components/ui/mini-calendar.d.ts.map +1 -0
- package/dist/components/ui/mini-calendar.js +261 -0
- package/dist/components/ui/mode-toggle.d.ts +102 -0
- package/dist/components/ui/mode-toggle.d.ts.map +1 -0
- package/dist/components/ui/mode-toggle.js +83 -0
- package/dist/components/ui/money-field.d.ts +200 -0
- package/dist/components/ui/money-field.d.ts.map +1 -0
- package/dist/components/ui/money-field.js +215 -0
- package/dist/components/ui/multi-combobox.d.ts +181 -0
- package/dist/components/ui/multi-combobox.d.ts.map +1 -0
- package/dist/components/ui/multi-combobox.js +297 -0
- package/dist/components/ui/native-select.d.ts +72 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/native-select.js +62 -0
- package/dist/components/ui/navigation-menu.d.ts +193 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +101 -0
- package/dist/components/ui/nested-tabs.d.ts +188 -0
- package/dist/components/ui/nested-tabs.d.ts.map +1 -0
- package/dist/components/ui/nested-tabs.js +75 -0
- package/dist/components/ui/number-field.d.ts +144 -0
- package/dist/components/ui/number-field.d.ts.map +1 -0
- package/dist/components/ui/number-field.js +114 -0
- package/dist/components/ui/one-time-code.d.ts +127 -0
- package/dist/components/ui/one-time-code.d.ts.map +1 -0
- package/dist/components/ui/one-time-code.js +57 -0
- package/dist/components/ui/overflow-actions.d.ts +169 -0
- package/dist/components/ui/overflow-actions.d.ts.map +1 -0
- package/dist/components/ui/overflow-actions.js +266 -0
- package/dist/components/ui/pack-swatch.d.ts +177 -0
- package/dist/components/ui/pack-swatch.d.ts.map +1 -0
- package/dist/components/ui/pack-swatch.js +117 -0
- package/dist/components/ui/pack-switcher.d.ts +221 -0
- package/dist/components/ui/pack-switcher.d.ts.map +1 -0
- package/dist/components/ui/pack-switcher.js +94 -0
- package/dist/components/ui/pagination.d.ts +22 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +24 -2
- package/dist/components/ui/password-field.d.ts +122 -0
- package/dist/components/ui/password-field.d.ts.map +1 -0
- package/dist/components/ui/password-field.js +69 -0
- package/dist/components/ui/pill.d.ts +172 -0
- package/dist/components/ui/pill.d.ts.map +1 -0
- package/dist/components/ui/pill.js +102 -0
- package/dist/components/ui/platform-modifier-key.d.ts +129 -0
- package/dist/components/ui/platform-modifier-key.d.ts.map +1 -0
- package/dist/components/ui/platform-modifier-key.js +125 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +9 -2
- package/dist/components/ui/price.d.ts +144 -0
- package/dist/components/ui/price.d.ts.map +1 -0
- package/dist/components/ui/price.js +107 -0
- package/dist/components/ui/product-mark.d.ts +1 -1
- package/dist/components/ui/product-mark.js +1 -1
- package/dist/components/ui/product-switcher.d.ts +1 -1
- package/dist/components/ui/product-switcher.js +2 -2
- package/dist/components/ui/progress.d.ts +55 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +111 -3
- package/dist/components/ui/prompt-composer.d.ts +302 -0
- package/dist/components/ui/prompt-composer.d.ts.map +1 -0
- package/dist/components/ui/prompt-composer.js +145 -0
- package/dist/components/ui/proportion-list.d.ts +188 -0
- package/dist/components/ui/proportion-list.d.ts.map +1 -0
- package/dist/components/ui/proportion-list.js +134 -0
- package/dist/components/ui/prose.d.ts +23 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +31 -2
- package/dist/components/ui/pulse-graph.js +1 -1
- package/dist/components/ui/pulse-series.js +1 -1
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +9 -2
- package/dist/components/ui/range-field.d.ts +158 -0
- package/dist/components/ui/range-field.d.ts.map +1 -0
- package/dist/components/ui/range-field.js +208 -0
- package/dist/components/ui/relative-time.d.ts +116 -0
- package/dist/components/ui/relative-time.d.ts.map +1 -0
- package/dist/components/ui/relative-time.js +67 -0
- package/dist/components/ui/reorderable-list.d.ts +262 -0
- package/dist/components/ui/reorderable-list.d.ts.map +1 -0
- package/dist/components/ui/reorderable-list.js +325 -0
- package/dist/components/ui/repeatable-rows.d.ts +241 -0
- package/dist/components/ui/repeatable-rows.d.ts.map +1 -0
- package/dist/components/ui/repeatable-rows.js +221 -0
- package/dist/components/ui/repo-stars.d.ts +165 -0
- package/dist/components/ui/repo-stars.d.ts.map +1 -0
- package/dist/components/ui/repo-stars.js +92 -0
- package/dist/components/ui/resizable.d.ts +153 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +297 -0
- package/dist/components/ui/scroll-area.d.ts +97 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +68 -0
- package/dist/components/ui/search-dialog.d.ts +174 -0
- package/dist/components/ui/search-dialog.d.ts.map +1 -0
- package/dist/components/ui/search-dialog.js +256 -0
- package/dist/components/ui/search-field.d.ts +159 -0
- package/dist/components/ui/search-field.d.ts.map +1 -0
- package/dist/components/ui/search-field.js +98 -0
- package/dist/components/ui/section.d.ts +134 -1
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +141 -4
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +10 -2
- package/dist/components/ui/selection-toolbar.d.ts +166 -0
- package/dist/components/ui/selection-toolbar.d.ts.map +1 -0
- package/dist/components/ui/selection-toolbar.js +139 -0
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/sheet.d.ts +103 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +58 -0
- package/dist/components/ui/sidebar.d.ts +257 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +205 -0
- package/dist/components/ui/signal-field.d.ts.map +1 -1
- package/dist/components/ui/signal-field.js +2 -2
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +33 -2
- package/dist/components/ui/sparkline.d.ts +117 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/sparkline.js +113 -0
- package/dist/components/ui/spinner.d.ts +79 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +92 -0
- package/dist/components/ui/split-button.d.ts +207 -0
- package/dist/components/ui/split-button.d.ts.map +1 -0
- package/dist/components/ui/split-button.js +75 -0
- package/dist/components/ui/stateful-table.d.ts +345 -0
- package/dist/components/ui/stateful-table.d.ts.map +1 -0
- package/dist/components/ui/stateful-table.js +169 -0
- package/dist/components/ui/status.d.ts +99 -0
- package/dist/components/ui/status.d.ts.map +1 -0
- package/dist/components/ui/status.js +63 -0
- package/dist/components/ui/stepper.d.ts +155 -0
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.js +83 -0
- package/dist/components/ui/steps.d.ts +141 -0
- package/dist/components/ui/steps.d.ts.map +1 -0
- package/dist/components/ui/steps.js +128 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +13 -2
- package/dist/components/ui/table-sort.d.ts +97 -0
- package/dist/components/ui/table-sort.d.ts.map +1 -0
- package/dist/components/ui/table-sort.js +102 -0
- package/dist/components/ui/table.js +1 -1
- package/dist/components/ui/tabs.d.ts +21 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +24 -5
- package/dist/components/ui/tag-group.d.ts +154 -0
- package/dist/components/ui/tag-group.d.ts.map +1 -0
- package/dist/components/ui/tag-group.js +111 -0
- package/dist/components/ui/task-progress.d.ts +149 -0
- package/dist/components/ui/task-progress.d.ts.map +1 -0
- package/dist/components/ui/task-progress.js +110 -0
- package/dist/components/ui/text-format-toolbar.d.ts +211 -0
- package/dist/components/ui/text-format-toolbar.d.ts.map +1 -0
- package/dist/components/ui/text-format-toolbar.js +186 -0
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/timeline.d.ts +106 -0
- package/dist/components/ui/timeline.d.ts.map +1 -0
- package/dist/components/ui/timeline.js +120 -0
- package/dist/components/ui/toast.d.ts +241 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +373 -0
- package/dist/components/ui/toggle-group.d.ts +127 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +208 -0
- package/dist/components/ui/toggle.d.ts +73 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +52 -0
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tree.d.ts +8 -0
- package/dist/components/ui/tree.d.ts.map +1 -1
- package/dist/components/ui/tree.js +93 -14
- package/dist/components/ui/typography.js +1 -1
- package/dist/components/ui/video-player.d.ts +236 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +72 -0
- package/dist/fonts/Inter-OFL.txt +93 -93
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/index.d.ts +184 -70
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +133 -60
- package/dist/lib/rank.d.ts +69 -0
- package/dist/lib/rank.d.ts.map +1 -0
- package/dist/lib/rank.js +77 -0
- package/dist/lib/utils.d.ts +29 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +35 -0
- package/dist/live/index.d.ts +29 -0
- package/dist/live/index.d.ts.map +1 -0
- package/dist/live/index.js +29 -0
- package/dist/live/run-stream-01/index.d.ts +3 -0
- package/dist/live/run-stream-01/index.d.ts.map +1 -0
- package/dist/live/run-stream-01/index.js +1 -0
- package/dist/live/run-stream-01/run-stream.d.ts +125 -0
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -0
- package/dist/live/run-stream-01/run-stream.js +111 -0
- package/dist/live/tool-ledger-01/index.d.ts +3 -0
- package/dist/live/tool-ledger-01/index.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/index.js +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts +348 -0
- package/dist/live/tool-ledger-01/tool-ledger.d.ts.map +1 -0
- package/dist/live/tool-ledger-01/tool-ledger.js +245 -0
- package/dist/pages/about-page/index.d.ts +306 -0
- package/dist/pages/about-page/index.d.ts.map +1 -0
- package/dist/pages/about-page/index.js +161 -0
- package/dist/pages/auth-page/index.d.ts +15 -2
- package/dist/pages/auth-page/index.d.ts.map +1 -1
- package/dist/pages/auth-page/index.js +8 -4
- package/dist/pages/blog-post-page/index.js +5 -5
- package/dist/pages/careers-page/index.d.ts +288 -0
- package/dist/pages/careers-page/index.d.ts.map +1 -0
- package/dist/pages/careers-page/index.js +182 -0
- package/dist/pages/changelog-page/index.d.ts +255 -0
- package/dist/pages/changelog-page/index.d.ts.map +1 -0
- package/dist/pages/changelog-page/index.js +86 -0
- package/dist/pages/contact-page/index.d.ts +261 -0
- package/dist/pages/contact-page/index.d.ts.map +1 -0
- package/dist/pages/contact-page/index.js +136 -0
- package/dist/pages/dashboard-page/index.d.ts +4 -4
- package/dist/pages/dashboard-page/index.js +4 -4
- package/dist/pages/docs-shell/docs-shell.d.ts +45 -4
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +131 -23
- package/dist/pages/docs-shell/index.d.ts +2 -2
- package/dist/pages/docs-shell/index.js +1 -1
- package/dist/pages/error-page/index.d.ts +188 -0
- package/dist/pages/error-page/index.d.ts.map +1 -0
- package/dist/pages/error-page/index.js +98 -0
- package/dist/pages/index.d.ts +24 -14
- package/dist/pages/index.d.ts.map +1 -1
- package/dist/pages/index.js +21 -7
- package/dist/pages/legal-page/index.d.ts +194 -0
- package/dist/pages/legal-page/index.d.ts.map +1 -0
- package/dist/pages/legal-page/index.js +99 -0
- package/dist/pages/marketing-page/index.d.ts +6 -6
- package/dist/pages/marketing-page/index.js +5 -5
- package/dist/pages/not-found-page/index.js +4 -4
- package/dist/pages/onboarding-page/index.d.ts +199 -0
- package/dist/pages/onboarding-page/index.d.ts.map +1 -0
- package/dist/pages/onboarding-page/index.js +71 -0
- package/dist/pages/pricing-page/index.d.ts +286 -0
- package/dist/pages/pricing-page/index.d.ts.map +1 -0
- package/dist/pages/pricing-page/index.js +139 -0
- package/dist/pages/search-page/index.d.ts +305 -0
- package/dist/pages/search-page/index.d.ts.map +1 -0
- package/dist/pages/search-page/index.js +142 -0
- package/dist/pages/settings-page/index.d.ts +3 -3
- package/dist/pages/settings-page/index.js +4 -4
- package/dist/pages/status-page/index.d.ts +366 -0
- package/dist/pages/status-page/index.d.ts.map +1 -0
- package/dist/pages/status-page/index.js +136 -0
- package/dist/provider/index.d.ts +4 -4
- package/dist/provider/index.js +2 -2
- package/dist/provider/provider.d.ts +1 -1
- package/dist/provider/provider.js +1 -1
- package/dist/provider/theme-script.d.ts +1 -1
- package/dist/provider/theme-script.js +1 -1
- package/dist/styles.css +1669 -32
- package/package.json +17 -3
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useId, useState } from 'react';
|
|
4
|
+
import { Button } from '../../components/ui/button.js';
|
|
5
|
+
import { Card } from '../../components/ui/card.js';
|
|
6
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
7
|
+
import { Field, FieldDescription, FieldLabel } from '../../components/ui/field.js';
|
|
8
|
+
import { Input } from '../../components/ui/input.js';
|
|
9
|
+
import { LiveRegion } from '../../components/ui/live-region.js';
|
|
10
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
11
|
+
import { cn } from '../../lib/utils.js';
|
|
12
|
+
/**
|
|
13
|
+
* Whether a caller passed a word that is not there.
|
|
14
|
+
*
|
|
15
|
+
* Read as `string | undefined` rather than as the declared type, because the check
|
|
16
|
+
* is about the value that turned up rather than about what the type promised. A
|
|
17
|
+
* JavaScript caller and a value out of a session store both arrive with the type's
|
|
18
|
+
* guarantee already gone, and the diagnostic below is the last place that can still
|
|
19
|
+
* say what was wrong.
|
|
20
|
+
*/
|
|
21
|
+
function blank(value) {
|
|
22
|
+
return value === undefined || value.trim() === '';
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The three refusals, checked before anything is drawn so a caller's mistake is one
|
|
26
|
+
* diagnostic in a console rather than a nameless control on the screen where a
|
|
27
|
+
* reader is about to type the one datum that ties them to an account.
|
|
28
|
+
*/
|
|
29
|
+
function assertForgot(input) {
|
|
30
|
+
const { identifier, sent, back } = input;
|
|
31
|
+
if (blank(identifier.label)) {
|
|
32
|
+
throw new Error('ForgotPassword01: the identifier field declares no label, so its control would be announced as a text ' +
|
|
33
|
+
'field, which is the same name every other field in the reader recovery flow is announced by. Pass the ' +
|
|
34
|
+
'words your product uses for a person or an operator.');
|
|
35
|
+
}
|
|
36
|
+
if (identifier.value !== undefined && identifier.onValueChange === undefined) {
|
|
37
|
+
throw new Error('ForgotPassword01: identifier.value was passed with no onValueChange, so the field would show the value ' +
|
|
38
|
+
'once and then stop telling the caller what is in it, which is a value the caller cannot clear when a ' +
|
|
39
|
+
'reader mistypes it. Pass the pair, or neither.');
|
|
40
|
+
}
|
|
41
|
+
if (back !== undefined && blank(back.label)) {
|
|
42
|
+
throw new Error(`ForgotPassword01: the link to ${JSON.stringify(back.href)} declares no label, so the anchor accessible ` +
|
|
43
|
+
'name would be its destination, which a screen reader reads as a run of characters and a mouse reader ' +
|
|
44
|
+
'cannot copy. Pass the sentence that says what following it does.');
|
|
45
|
+
}
|
|
46
|
+
if (sent !== undefined && (sent.resendLabel === undefined) !== (sent.onResend === undefined)) {
|
|
47
|
+
throw new Error('ForgotPassword01: the confirmation arm was passed one half of its resend control, so the screen would ' +
|
|
48
|
+
'either offer a button that does nothing or call a handler no control can reach. Pass resendLabel and ' +
|
|
49
|
+
'onResend together, or neither.');
|
|
50
|
+
}
|
|
51
|
+
if (sent !== undefined && blank(sent.resendLabel)) {
|
|
52
|
+
throw new Error('ForgotPassword01: the confirmation arm was passed a resend control with no words, so the one control on ' +
|
|
53
|
+
'the screen after a reader presses the button would be a button a screen reader announces as "button" ' +
|
|
54
|
+
'and a voice control user cannot say out loud.');
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* One identifier, one control, and a confirmation that says the same thing whether or
|
|
59
|
+
* not the account exists.
|
|
60
|
+
*
|
|
61
|
+
* **The translation, because the pattern is not ours and the framing is.** A
|
|
62
|
+
* storefront publishes a forgot-password card: an address field, one button, and a
|
|
63
|
+
* line that says to check your inbox, and its purpose is to get a shopper past a
|
|
64
|
+
* locked door so their order history is waiting on the other side. Prism's products
|
|
65
|
+
* observe a pipeline, capture a market, watch an estate and run agents, and a machine
|
|
66
|
+
* acting on behalf of a person is the whole subject, so this is the screen where
|
|
67
|
+
* somebody who is responsible for an instrument asks for a way back in to it. The
|
|
68
|
+
* composition is the storefront's and is deliberately unchanged: one labelled field,
|
|
69
|
+
* one control, one outcome line, one way off the screen. What is different is the
|
|
70
|
+
* sentence after the press, and the rest of this note is about that sentence.
|
|
71
|
+
*
|
|
72
|
+
* **What it assumes about the reader in front of it, because a recovery flow that
|
|
73
|
+
* assumes a careful reader is a flow that fails the one time it is needed.** It
|
|
74
|
+
* assumes the reader cannot get in, that they are often in a hurry, and that they
|
|
75
|
+
* may be on a machine they do not fully control. It assumes nothing about the state
|
|
76
|
+
* of their account, nothing about whether they know their own address by heart, and
|
|
77
|
+
* nothing about whether they will read the frame. It refuses to assume they typed
|
|
78
|
+
* correctly, because the whole design exists to make that assumption unnecessary.
|
|
79
|
+
*
|
|
80
|
+
* **The decision that makes this a separate Item from `contact-01` is that the
|
|
81
|
+
* confirmation is the same whether or not the account exists, and it is expressed in
|
|
82
|
+
* the shape rather than in the prose.** There is no `found` flag, no `unknown`, no
|
|
83
|
+
* `registered` and no second message. `sent.message` is one sentence, and the type
|
|
84
|
+
* has nowhere to put a second one. The alternative was a `status` that grew an arm
|
|
85
|
+
* for the negative case, which is a two-line change to the props and a permanent
|
|
86
|
+
* capability to leak in every product that installs this Block, and a leak that is
|
|
87
|
+
* cheap to add and expensive to remove once a product's support process depends on
|
|
88
|
+
* it.
|
|
89
|
+
*
|
|
90
|
+
* **The trade is real and it is argued in both directions, because it is not a
|
|
91
|
+
* clean win.** A message that differs leaks which addresses are registered, and that
|
|
92
|
+
* is an enumeration oracle: an attacker with any address list learns which of them
|
|
93
|
+
* hold an account here, and a reader with a mistyped address learns the same thing
|
|
94
|
+
* about themselves. A message that is identical teaches the reader that a mistyped
|
|
95
|
+
* address succeeded, and it is the version that is more often wrong in practice,
|
|
96
|
+
* because a recovery form is the one form a reader is most likely to fill from memory
|
|
97
|
+
* and most likely to get wrong. Both sentences are true. The resolution that does
|
|
98
|
+
* not pick a side is a confirmation that names the next step without confirming the
|
|
99
|
+
* account: it says what has been sent and where to look, and it does not say what was
|
|
100
|
+
* found. That is a sentence the caller's product can write in a way that is true of
|
|
101
|
+
* both cases, and it is the reason `sent.message` is a node and the whole of what the
|
|
102
|
+
* arm carries. **The words are the caller's.** A consumer that wants the other trade
|
|
103
|
+
* can write it in `sent.message` and the Block will not stop them, because the Block
|
|
104
|
+
* has no opinion about a disclosure decision; what it does is refuse to make the
|
|
105
|
+
* choice on their behalf by refusing to have a place to put it.
|
|
106
|
+
*
|
|
107
|
+
* **`status` and `sent` are two props because they answer two questions.** `status`
|
|
108
|
+
* is the announcement, and it is needed while the form is up and after it is
|
|
109
|
+
* replaced: a caller whose transport failed on the first press and then succeeded on
|
|
110
|
+
* the second needs a region in both arms. `sent` is the arm, and passing it is what
|
|
111
|
+
* takes the field and the control away. Merging them would force a caller to invent a
|
|
112
|
+
* confirmation sentence for a form that is still on the screen, which is the shape
|
|
113
|
+
* that makes designers add a placeholder they then ship. The corollary is the rule
|
|
114
|
+
* above: the arm reports the first press, and `status` reports everything after it,
|
|
115
|
+
* so the two never carry the same sentence and the reader never reads it twice.
|
|
116
|
+
*
|
|
117
|
+
* **The card stays and the form inside it is replaced, so the reader's page does not
|
|
118
|
+
* change size under them at the moment they are reading the one line that matters.**
|
|
119
|
+
* A recovery screen that reflows on success looks like a fault, and the reader who
|
|
120
|
+
* has just mistyped their address is the reader least able to tell a reflow from a
|
|
121
|
+
* failure.
|
|
122
|
+
*
|
|
123
|
+
* **The Block owns one string and hands it over, and it validates nothing.** There
|
|
124
|
+
* is no address format check, no rate limit, no redirect to a "did you mean" page and
|
|
125
|
+
* no enumeration defence beyond the shape of the confirmation, because each of those
|
|
126
|
+
* is a decision about the caller's product and its data. What the Block does about
|
|
127
|
+
* the request is the one thing that is rendering rather than policy: it refuses a
|
|
128
|
+
* second press while `submitting` is true, because a second press is a second message
|
|
129
|
+
* queued into somebody's inbox that nobody asked for.
|
|
130
|
+
*
|
|
131
|
+
* **There is no `Alert` in this file, and the alternative was a callout with
|
|
132
|
+
* `role="alert"` beside the live region.** That announces the same sentence twice, and
|
|
133
|
+
* on a screen where a reader is waiting for an answer about whether they can get in,
|
|
134
|
+
* a doubled announcement is the one place it is least forgivable. So the outcome is
|
|
135
|
+
* a `LiveRegion` whose politeness follows the caller's own state, and `assertive`
|
|
136
|
+
* only for the refusal.
|
|
137
|
+
*
|
|
138
|
+
* It is a client Component, and the directive is unconditional. `onSubmit` is a
|
|
139
|
+
* function, a function is a piece of state, and state is a client module: a server
|
|
140
|
+
* Component cannot hand an event handler to a `<form>`, so a caller rendering this
|
|
141
|
+
* from a server Component gets a form that submits and calls nothing. The cost is
|
|
142
|
+
* that the whole module is in the client graph even where a consumer never presses
|
|
143
|
+
* the button, and the price was judged worth paying for one boundary rather than
|
|
144
|
+
* two arrangements of the same screen.
|
|
145
|
+
*/
|
|
146
|
+
export function ForgotPassword01({ eyebrow, title, description, onSubmit, identifier, submitLabel, submitting = false, status, sent, back, headingLevel = 'h2', className, }) {
|
|
147
|
+
assertForgot({ identifier, sent, back });
|
|
148
|
+
const generated = useId();
|
|
149
|
+
const inputId = `${generated}-identifier`;
|
|
150
|
+
const descriptionId = `${generated}-identifier-description`;
|
|
151
|
+
/*
|
|
152
|
+
* The value lives here rather than only in the caller, for one reason: a field a
|
|
153
|
+
* caller cannot clear is a field a reader who mistyped their address has to reload
|
|
154
|
+
* the page to escape from, and the reader most likely to mistype it is the one who
|
|
155
|
+
* can least afford to lose the screen. The Block therefore holds the identifier
|
|
156
|
+
* itself, reports every change to the caller when one was asked for, and adopts a
|
|
157
|
+
* `value` prop the moment it changes, which is the arrangement React documents for
|
|
158
|
+
* a prop that can change under a stateful child. Both halves are adjusted during
|
|
159
|
+
* render rather than in an effect, because the trigger is a prop changing and a set
|
|
160
|
+
* during render is applied before the browser paints.
|
|
161
|
+
*/
|
|
162
|
+
const [typed, setTyped] = useState(identifier.value ?? '');
|
|
163
|
+
const [seen, setSeen] = useState(identifier.value);
|
|
164
|
+
if (seen !== identifier.value) {
|
|
165
|
+
setSeen(identifier.value);
|
|
166
|
+
setTyped(identifier.value ?? '');
|
|
167
|
+
}
|
|
168
|
+
const setIdentifier = (value) => {
|
|
169
|
+
setTyped(value);
|
|
170
|
+
identifier.onValueChange?.(value);
|
|
171
|
+
};
|
|
172
|
+
const handleSubmit = (event) => {
|
|
173
|
+
event.preventDefault();
|
|
174
|
+
onSubmit({ identifier: typed });
|
|
175
|
+
};
|
|
176
|
+
return (_jsx(Section, { "data-slot": "forgot-password-01", className: cn(className), children: _jsxs("div", { "data-slot": "forgot-password-01-body", className: "flex flex-col gap-10", children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description }), _jsx(Card, { "data-slot": "forgot-password-01-card", className: "max-w-measure-narrow gap-0 px-6", children: sent === undefined ? (_jsxs("form", { "data-slot": "forgot-password-01-form", onSubmit: handleSubmit, className: "flex w-full flex-col gap-5", children: [_jsxs(Field, { "data-slot": "forgot-password-01-identifier", "data-field": "identifier", children: [_jsx(FieldLabel, { htmlFor: inputId, children: identifier.label }), _jsx(Input, { id: inputId, type: identifier.type ?? 'email', autoComplete: identifier.autoComplete, value: typed, onChange: (event) => setIdentifier(event.target.value), required: true, "aria-describedby": identifier.description === undefined ? undefined : descriptionId }), identifier.description === undefined ? null : (_jsx(FieldDescription, { id: descriptionId, children: identifier.description }))] }), _jsxs("div", { "data-slot": "forgot-password-01-actions", className: "flex flex-col gap-3", children: [_jsx(Button, { "data-slot": "forgot-password-01-submit", type: "submit", disabled: submitting, className: "w-full", children: submitLabel }), _jsx(LiveRegion, { "data-slot": "forgot-password-01-status", politeness: status?.state === 'error' ? 'assertive' : 'polite', busy: submitting, className: cn('text-sm', status?.state === 'error'
|
|
177
|
+
? 'text-destructive font-medium'
|
|
178
|
+
: 'text-muted-foreground'), children: status?.message })] })] })) : (
|
|
179
|
+
/*
|
|
180
|
+
* The confirmation arm. The field and the control are gone and the card is
|
|
181
|
+
* still there, and the region survives below it so a resend that fails has
|
|
182
|
+
* somewhere to be announced. `sent.message` is the caller's sentence and
|
|
183
|
+
* there is nowhere in this file to put a second one; that absence is the
|
|
184
|
+
* Block's whole contribution to the decision the caller is making.
|
|
185
|
+
*/
|
|
186
|
+
_jsxs("div", { "data-slot": "forgot-password-01-sent", className: "flex w-full flex-col gap-4", children: [_jsx("p", { "data-slot": "forgot-password-01-sent-message", className: "text-sm text-pretty", children: sent.message }), sent.resendLabel === undefined ? null : (_jsx(Button, { "data-slot": "forgot-password-01-resend", type: "button", variant: "outline", onClick: () => sent.onResend?.(), disabled: submitting, className: "self-start", children: sent.resendLabel })), _jsx(LiveRegion, { "data-slot": "forgot-password-01-status", politeness: status?.state === 'error' ? 'assertive' : 'polite', busy: submitting, className: cn('text-sm', status?.state === 'error'
|
|
187
|
+
? 'text-destructive font-medium'
|
|
188
|
+
: 'text-muted-foreground'), children: status?.message })] })) }), back === undefined ? null : (_jsx(CtaLink, { "data-slot": "forgot-password-01-back", href: back.href, variant: "ghost", size: "sm", className: "self-start", children: back.label }))] }) }));
|
|
189
|
+
}
|
|
190
|
+
export default ForgotPassword01;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ForgotPassword01, default } from './forgot-password.js';
|
|
2
|
+
export type { ForgotPassword01Identifier, ForgotPassword01Link, ForgotPassword01Outcome, ForgotPassword01Props, ForgotPassword01Sent, ForgotPassword01Status, } from './forgot-password.js';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/forgot-password-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAQ7D,YAAY,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ForgotPassword01, default } from './forgot-password.js';
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* Every string the gallery and the lightbox it opens announce.
|
|
5
|
+
*
|
|
6
|
+
* Required, all four, for the reason `Lightbox` states and this Block inherits
|
|
7
|
+
* without softening: a hardcoded control label is a word a consumer cannot
|
|
8
|
+
* localise, so a product in any language but English inherits an English control
|
|
9
|
+
* in the middle of its own interface and the only fix is a fork. A required prop
|
|
10
|
+
* is a question asked at build time and an optional one is a question nobody
|
|
11
|
+
* asks, and this is the release where the four missing labels would otherwise have
|
|
12
|
+
* been discovered. Three of them are the lightbox's own controls and the fourth is
|
|
13
|
+
* the rail, and a gallery with one image still draws the zoom and the close, so
|
|
14
|
+
* there is no shape in which a label is genuinely absent.
|
|
15
|
+
*/
|
|
16
|
+
export type Gallery01Labels = {
|
|
17
|
+
/** The accessible name of the control that toggles fitted and actual size. */
|
|
18
|
+
zoom: string;
|
|
19
|
+
/** The accessible name of the control that shows the previous image. */
|
|
20
|
+
previous: string;
|
|
21
|
+
/** The accessible name of the control that shows the next image. */
|
|
22
|
+
next: string;
|
|
23
|
+
/** The accessible name of the control that closes the enlarged image. */
|
|
24
|
+
close: string;
|
|
25
|
+
};
|
|
26
|
+
/** How each shape is drawn, as the ratio the surface holds it at. */
|
|
27
|
+
export type Gallery01Ratio = 'square' | 'landscape' | 'portrait';
|
|
28
|
+
/** How many images a grid puts on one line. The tracks, not the image count. */
|
|
29
|
+
export type Gallery01Columns = 2 | 3 | 4;
|
|
30
|
+
/**
|
|
31
|
+
* One image in the grid: where it is, what it is, and the words that go under it.
|
|
32
|
+
*
|
|
33
|
+
* `src` and `alt` are required and `alt` is load bearing three times: it is the
|
|
34
|
+
* image's description on the enlarged surface, the name of the button that opens
|
|
35
|
+
* it, and the name of the button in the rail that moves between them. A gallery
|
|
36
|
+
* that shipped an unnamed image has a dialog with no title, a rail of identical
|
|
37
|
+
* buttons, and a reader who has paid a modal, a focus trap and an Escape key to
|
|
38
|
+
* look at something nobody described.
|
|
39
|
+
*/
|
|
40
|
+
export type Gallery01Item = {
|
|
41
|
+
/** The image's stable key within the set. */
|
|
42
|
+
id: string;
|
|
43
|
+
/** Where the image is. A path or a URL, the caller's own either way. */
|
|
44
|
+
src: string;
|
|
45
|
+
/**
|
|
46
|
+
* The image's description, in the caller's words.
|
|
47
|
+
*
|
|
48
|
+
* Required, and it is the button's accessible name as well as the image's. A
|
|
49
|
+
* reader who cannot see the picture reaches the enlarged one and is told what it
|
|
50
|
+
* is by this string, so it is a sentence about the content rather than a
|
|
51
|
+
* filename.
|
|
52
|
+
*/
|
|
53
|
+
alt: string;
|
|
54
|
+
/**
|
|
55
|
+
* The words under the tile, drawn outside the button.
|
|
56
|
+
*
|
|
57
|
+
* A node, and the slot is where the caller's own link goes, for the reason the
|
|
58
|
+
* Item's JSDoc states at length: a tile cannot be both a trigger and a link. A
|
|
59
|
+
* caption is also the one place a reader gets a sentence about the set rather
|
|
60
|
+
* than a description of one picture, which is why it sits below the tile and
|
|
61
|
+
* not inside it.
|
|
62
|
+
*/
|
|
63
|
+
caption?: ReactNode;
|
|
64
|
+
/**
|
|
65
|
+
* Refused.
|
|
66
|
+
*
|
|
67
|
+
* A tile is a button that opens the lightbox, and a link on the same tile is two
|
|
68
|
+
* controls inside one hit area, so the type says the field is never rather than
|
|
69
|
+
* the render dropping it quietly. Put the link in `caption`, where it is a
|
|
70
|
+
* control of its own with words on it that the caller chose.
|
|
71
|
+
*/
|
|
72
|
+
href?: never;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* The props a Gallery01 takes.
|
|
76
|
+
*
|
|
77
|
+
* Every string is a prop and the Block ships none: no image, no description, no
|
|
78
|
+
* caption and not one label for the four controls the enlarged image draws. A
|
|
79
|
+
* gallery that hardcoded its images would install a photograph nobody licensed
|
|
80
|
+
* into every consumer's page.
|
|
81
|
+
*/
|
|
82
|
+
export type Gallery01Props = {
|
|
83
|
+
/** Optional label above the section title. See the No-Default-Eyebrow Rule. */
|
|
84
|
+
eyebrow?: string;
|
|
85
|
+
/** The section title. Omit it for a gallery composed under its own heading. */
|
|
86
|
+
title?: string;
|
|
87
|
+
/** One or two sentences under the title. */
|
|
88
|
+
description?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The images, in the order a reader should meet them.
|
|
91
|
+
*
|
|
92
|
+
* Order is the caller's, and it is also the order the lightbox's rail moves in,
|
|
93
|
+
* because the rail is this set: the Item hands the whole list over and the
|
|
94
|
+
* lightbox asks for an index rather than holding the images. A consumer whose
|
|
95
|
+
* set has a different order at full size than on the page owns `index` itself and
|
|
96
|
+
* this Block is the wrong Item.
|
|
97
|
+
*/
|
|
98
|
+
items: Gallery01Item[];
|
|
99
|
+
/**
|
|
100
|
+
* How many images sit on one line.
|
|
101
|
+
*
|
|
102
|
+
* @defaultValue 3
|
|
103
|
+
*/
|
|
104
|
+
columns?: Gallery01Columns;
|
|
105
|
+
/**
|
|
106
|
+
* The shape every tile is held at.
|
|
107
|
+
*
|
|
108
|
+
* @defaultValue 'landscape'
|
|
109
|
+
*
|
|
110
|
+
* Landscape is the default because the commonest thing a gallery holds is a
|
|
111
|
+
* screenshot or a photograph, and both have a shape wider than they are tall.
|
|
112
|
+
* `portrait` is for a set of pages or of people, and `square` is for a set of
|
|
113
|
+
* marks. A mixed set is a set whose images crop, because the surface is one
|
|
114
|
+
* ratio for every tile and `object-cover` fills it.
|
|
115
|
+
*/
|
|
116
|
+
ratio?: Gallery01Ratio;
|
|
117
|
+
/**
|
|
118
|
+
* The accessible names of the four controls the enlarged image draws.
|
|
119
|
+
*
|
|
120
|
+
* Required, and it is the one departure from the shape the other Blocks in this
|
|
121
|
+
* wave use. The alternative was to draw the enlarged image without the
|
|
122
|
+
* lightbox, and that would have cost the focus trap, the restore of focus, the
|
|
123
|
+
* Escape key, the outside press, the scroll lock and the portal, every one of
|
|
124
|
+
* which is solved badly twice as often as it is solved well. So the surface is
|
|
125
|
+
* composed and the four words are asked for, the same way `DataTable01` asks for
|
|
126
|
+
* every string it renders rather than shipping twenty of them.
|
|
127
|
+
*/
|
|
128
|
+
labels: Gallery01Labels;
|
|
129
|
+
/** Heading level for the section title. See `HeadingLevel`. */
|
|
130
|
+
headingLevel?: HeadingLevel;
|
|
131
|
+
/**
|
|
132
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual
|
|
133
|
+
* property from here is prohibited.
|
|
134
|
+
*/
|
|
135
|
+
className?: string;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* A grid of images that opens one at full size, with a caption per tile and a
|
|
139
|
+
* count on the set.
|
|
140
|
+
*
|
|
141
|
+
* **The enlarged surface is `Lightbox`, and the argument for composing it rather
|
|
142
|
+
* than drawing a dialog is the same argument `Lightbox` makes about `Dialog`.**
|
|
143
|
+
* An image overlay built on a `div` and a `keydown` listener gets the Escape key
|
|
144
|
+
* and no focus trap, so a keyboard reader tabs behind the image into a page they
|
|
145
|
+
* cannot see, and the defect is invisible in review because the overlay works for
|
|
146
|
+
* the person writing it. The focus trap, the restore of focus to whatever opened
|
|
147
|
+
* it, the Escape key, the outside press, the scroll lock and the portal all come
|
|
148
|
+
* from `Dialog` and are all solved once. So this Block composes `Lightbox` and
|
|
149
|
+
* spends its own surface on the three things `Lightbox` does not know about: the
|
|
150
|
+
* set, the tile and the count. The cost is the four required labels, which is a
|
|
151
|
+
* real departure from the shape the rest of this wave uses and is stated in the
|
|
152
|
+
* props.
|
|
153
|
+
*
|
|
154
|
+
* **The tile is a real `<button>`, and a tile is not a link.** Each tile is one
|
|
155
|
+
* focusable control that opens the enlarged image, and the whole set is reachable
|
|
156
|
+
* by Tab in the order the caller passed it. The alternative, a tile that is an
|
|
157
|
+
* anchor to a full-size file, loses the zoom, the focus trap, the Escape key and
|
|
158
|
+
* the rail, and it makes the destination a thing the browser can navigate away
|
|
159
|
+
* from, which is a worse outcome for a reader who came to look rather than to
|
|
160
|
+
* leave. The count on the tile says how many there are rather than inviting a
|
|
161
|
+
* gesture, which is the arrangement that needs no discovery.
|
|
162
|
+
*
|
|
163
|
+
* **`href` on a tile is refused, and the type says `never`.** A tile that is both
|
|
164
|
+
* a lightbox trigger and a link is two controls in one hit area: a reader
|
|
165
|
+
* navigating by Tab meets one thing, activates it, and cannot tell whether they
|
|
166
|
+
* enlarged the picture or followed a link out of the page, and a reader using a
|
|
167
|
+
* switch control or a voice command has one target with two behaviours. The
|
|
168
|
+
* refusal is in the type rather than only in a diagnostic, so a caller finds out
|
|
169
|
+
* where they are looking rather than in a console. **The alternative is named and
|
|
170
|
+
* it is the one to use: the caller's own link in the caption under the tile.** The
|
|
171
|
+
* caption is drawn outside the button, so a link in it is a control of its own with
|
|
172
|
+
* its own accessible name, its own focus position after the tile rather than
|
|
173
|
+
* inside it, and the words the caller chose on it. A gallery of case studies is
|
|
174
|
+
* nine tiles with nine captions and nine links, and it is better for it than nine
|
|
175
|
+
* tiles that were also nine links.
|
|
176
|
+
*
|
|
177
|
+
* **The tile's accessible name is composed from the two values the caller passed
|
|
178
|
+
* and never from a word Prism chose.** With no caption it is the `alt`. With a
|
|
179
|
+
* string caption it is the caption and then the `alt`, because the caption is what
|
|
180
|
+
* the reader can already see and the description is what they cannot get from a
|
|
181
|
+
* thumbnail. Prism adds a separator and nothing else. See `nameOf` for why, and
|
|
182
|
+
* for what happens when the caption is a node rather than a string.
|
|
183
|
+
*
|
|
184
|
+
* **The count is drawn whenever there is more than one image, and there is no prop
|
|
185
|
+
* for it.** A count of one names nothing and a count of zero is not on the page,
|
|
186
|
+
* so the only state in which a count says anything is the state in which it is
|
|
187
|
+
* drawn. It is a number, so it is in the mono face and it is `aria-hidden`: it is
|
|
188
|
+
* machine notation about the set rather than part of any tile's name, and a reader
|
|
189
|
+
* who needs the position of the image they are looking at gets it from the rail,
|
|
190
|
+
* which names every image by its own description. If a consumer needs a count they
|
|
191
|
+
* can hide, the honest answer is that the number is not information and the set's
|
|
192
|
+
* own title is where its size belongs.
|
|
193
|
+
*
|
|
194
|
+
* **`ratio` is a number handed to `AspectRatio`, not a Tailwind keyword.** Prism's
|
|
195
|
+
* stylesheet is built by scanning this package's own source, so `aspect-square`
|
|
196
|
+
* written here would be a utility that appears in no Prism file and is therefore a
|
|
197
|
+
* utility no consumer's stylesheet contains, and a portrait ratio is not a keyword
|
|
198
|
+
* at all. So the three shapes are numbers this Block holds and passes.
|
|
199
|
+
*
|
|
200
|
+
* **The images belong to the caller, so this is the one Block in this wave that
|
|
201
|
+
* needs `'use client'`.** It owns the open index and nothing else, which is the
|
|
202
|
+
* smallest possible reason: the state is one number, and the data is not fetched
|
|
203
|
+
* or held, so the client JavaScript a consumer pays for here is the dialog stack
|
|
204
|
+
* `Lightbox` already brings and no more.
|
|
205
|
+
*/
|
|
206
|
+
export declare function Gallery01({ eyebrow, title, description, items, columns, ratio, labels, headingLevel, className, }: Gallery01Props): import("react").JSX.Element | null;
|
|
207
|
+
export default Gallery01;
|
|
208
|
+
//# sourceMappingURL=gallery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery.d.ts","sourceRoot":"","sources":["../../../src/blocks/gallery-01/gallery.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAIhD,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGxF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,QAAQ,EAAE,MAAM,CAAA;IAChB,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAA;IACZ,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,qEAAqE;AACrE,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAA;AAkBhE,gFAAgF;AAChF,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAiBxC;;;;;;;;;GASG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,wEAAwE;IACxE,GAAG,EAAE,MAAM,CAAA;IACX;;;;;;;OAOG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,KAAK,CAAA;CACb,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;;;OAQG;IACH,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB;;;;;;;;;;OAUG;IACH,MAAM,EAAE,eAAe,CAAA;IACvB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAW,EACX,KAAmB,EACnB,MAAM,EACN,YAAmB,EACnB,SAAS,GACV,EAAE,cAAc,sCA4HhB;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { AspectRatio } from '../../components/ui/aspect-ratio.js';
|
|
5
|
+
import { Lightbox } from '../../components/ui/lightbox.js';
|
|
6
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
7
|
+
import { cn } from '../../lib/utils.js';
|
|
8
|
+
/**
|
|
9
|
+
* The three shapes, as numbers, because that is what `AspectRatio` takes.
|
|
10
|
+
*
|
|
11
|
+
* Numbers and not Tailwind's `aspect-square`, `aspect-video` keywords, for
|
|
12
|
+
* `AspectRatio`'s reason and it is the important one: this package's stylesheet is
|
|
13
|
+
* built by scanning this package's own source, so a utility that appears in no
|
|
14
|
+
* Prism file is a utility no consumer's stylesheet contains. `aspect-square`
|
|
15
|
+
* written here would be a silently missing rule, and a `3 / 4` portrait is not a
|
|
16
|
+
* keyword at all. So the ratio is a number this Block reads and hands over.
|
|
17
|
+
*/
|
|
18
|
+
const RATIOS = {
|
|
19
|
+
square: 1,
|
|
20
|
+
landscape: 16 / 9,
|
|
21
|
+
portrait: 3 / 4,
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* The tracks a grid of images gets, from the caller's own column count.
|
|
25
|
+
*
|
|
26
|
+
* Spelled out per count so a grid has exactly as many tracks as it declared and
|
|
27
|
+
* not one empty at the end of a row. The `sm:` step is a narrowing rather than a
|
|
28
|
+
* widening, because a three-up row of images at phone width is three thumbnails a
|
|
29
|
+
* reader cannot tell apart, and a gallery is a set of things they are choosing
|
|
30
|
+
* between.
|
|
31
|
+
*/
|
|
32
|
+
const TRACKS = {
|
|
33
|
+
2: 'sm:grid-cols-2',
|
|
34
|
+
3: 'sm:grid-cols-2 lg:grid-cols-3',
|
|
35
|
+
4: 'sm:grid-cols-2 lg:grid-cols-4',
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A tile's accessible name, composed from the two values the caller passed.
|
|
39
|
+
*
|
|
40
|
+
* **The composition is the caller's two props and never a word Prism invented,
|
|
41
|
+
* and that is the whole rule on this line.** When there is no caption the name is
|
|
42
|
+
* the `alt` and there is nothing to compose. When there is a string caption the
|
|
43
|
+
* name is the caption followed by the `alt`, because the caption is the words the
|
|
44
|
+
* reader can already see and the description is the words they cannot get from the
|
|
45
|
+
* thumbnail. Prism adds a separator and nothing else: no "Open", no "View", no
|
|
46
|
+
* "image of". A name Prism invented is a word in this package that a consumer
|
|
47
|
+
* cannot translate, and a tile named "Open image" in a product whose interface
|
|
48
|
+
* says something else is a control the consumer has to patch the library to fix.
|
|
49
|
+
*
|
|
50
|
+
* A caption that is a node rather than a string contributes nothing to the name,
|
|
51
|
+
* and the tile's name is then the `alt` alone. That is a cost and it is the right
|
|
52
|
+
* one: a node may be a list, a button or a picture, and an accessible name is a
|
|
53
|
+
* string, so a name assembled from a node's text is a name this Block would have
|
|
54
|
+
* to compute by rendering the node somewhere it does not belong. A caller who
|
|
55
|
+
* wants their own words in the name passes the caption as a string.
|
|
56
|
+
*
|
|
57
|
+
* The inner image is marked decorative, so the button's name is the description
|
|
58
|
+
* and not a doubled reading of the same pixels. That is `Lightbox`'s own treatment
|
|
59
|
+
* of its thumbnails, and the reason is the same: a reader who has navigated to a
|
|
60
|
+
* tile is about to be told what the picture is, and hearing the alt twice is two
|
|
61
|
+
* sentences for one image.
|
|
62
|
+
*/
|
|
63
|
+
function nameOf(item) {
|
|
64
|
+
return typeof item.caption === 'string' && item.caption.trim() !== ''
|
|
65
|
+
? `${item.caption}, ${item.alt}`
|
|
66
|
+
: item.alt;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A grid of images that opens one at full size, with a caption per tile and a
|
|
70
|
+
* count on the set.
|
|
71
|
+
*
|
|
72
|
+
* **The enlarged surface is `Lightbox`, and the argument for composing it rather
|
|
73
|
+
* than drawing a dialog is the same argument `Lightbox` makes about `Dialog`.**
|
|
74
|
+
* An image overlay built on a `div` and a `keydown` listener gets the Escape key
|
|
75
|
+
* and no focus trap, so a keyboard reader tabs behind the image into a page they
|
|
76
|
+
* cannot see, and the defect is invisible in review because the overlay works for
|
|
77
|
+
* the person writing it. The focus trap, the restore of focus to whatever opened
|
|
78
|
+
* it, the Escape key, the outside press, the scroll lock and the portal all come
|
|
79
|
+
* from `Dialog` and are all solved once. So this Block composes `Lightbox` and
|
|
80
|
+
* spends its own surface on the three things `Lightbox` does not know about: the
|
|
81
|
+
* set, the tile and the count. The cost is the four required labels, which is a
|
|
82
|
+
* real departure from the shape the rest of this wave uses and is stated in the
|
|
83
|
+
* props.
|
|
84
|
+
*
|
|
85
|
+
* **The tile is a real `<button>`, and a tile is not a link.** Each tile is one
|
|
86
|
+
* focusable control that opens the enlarged image, and the whole set is reachable
|
|
87
|
+
* by Tab in the order the caller passed it. The alternative, a tile that is an
|
|
88
|
+
* anchor to a full-size file, loses the zoom, the focus trap, the Escape key and
|
|
89
|
+
* the rail, and it makes the destination a thing the browser can navigate away
|
|
90
|
+
* from, which is a worse outcome for a reader who came to look rather than to
|
|
91
|
+
* leave. The count on the tile says how many there are rather than inviting a
|
|
92
|
+
* gesture, which is the arrangement that needs no discovery.
|
|
93
|
+
*
|
|
94
|
+
* **`href` on a tile is refused, and the type says `never`.** A tile that is both
|
|
95
|
+
* a lightbox trigger and a link is two controls in one hit area: a reader
|
|
96
|
+
* navigating by Tab meets one thing, activates it, and cannot tell whether they
|
|
97
|
+
* enlarged the picture or followed a link out of the page, and a reader using a
|
|
98
|
+
* switch control or a voice command has one target with two behaviours. The
|
|
99
|
+
* refusal is in the type rather than only in a diagnostic, so a caller finds out
|
|
100
|
+
* where they are looking rather than in a console. **The alternative is named and
|
|
101
|
+
* it is the one to use: the caller's own link in the caption under the tile.** The
|
|
102
|
+
* caption is drawn outside the button, so a link in it is a control of its own with
|
|
103
|
+
* its own accessible name, its own focus position after the tile rather than
|
|
104
|
+
* inside it, and the words the caller chose on it. A gallery of case studies is
|
|
105
|
+
* nine tiles with nine captions and nine links, and it is better for it than nine
|
|
106
|
+
* tiles that were also nine links.
|
|
107
|
+
*
|
|
108
|
+
* **The tile's accessible name is composed from the two values the caller passed
|
|
109
|
+
* and never from a word Prism chose.** With no caption it is the `alt`. With a
|
|
110
|
+
* string caption it is the caption and then the `alt`, because the caption is what
|
|
111
|
+
* the reader can already see and the description is what they cannot get from a
|
|
112
|
+
* thumbnail. Prism adds a separator and nothing else. See `nameOf` for why, and
|
|
113
|
+
* for what happens when the caption is a node rather than a string.
|
|
114
|
+
*
|
|
115
|
+
* **The count is drawn whenever there is more than one image, and there is no prop
|
|
116
|
+
* for it.** A count of one names nothing and a count of zero is not on the page,
|
|
117
|
+
* so the only state in which a count says anything is the state in which it is
|
|
118
|
+
* drawn. It is a number, so it is in the mono face and it is `aria-hidden`: it is
|
|
119
|
+
* machine notation about the set rather than part of any tile's name, and a reader
|
|
120
|
+
* who needs the position of the image they are looking at gets it from the rail,
|
|
121
|
+
* which names every image by its own description. If a consumer needs a count they
|
|
122
|
+
* can hide, the honest answer is that the number is not information and the set's
|
|
123
|
+
* own title is where its size belongs.
|
|
124
|
+
*
|
|
125
|
+
* **`ratio` is a number handed to `AspectRatio`, not a Tailwind keyword.** Prism's
|
|
126
|
+
* stylesheet is built by scanning this package's own source, so `aspect-square`
|
|
127
|
+
* written here would be a utility that appears in no Prism file and is therefore a
|
|
128
|
+
* utility no consumer's stylesheet contains, and a portrait ratio is not a keyword
|
|
129
|
+
* at all. So the three shapes are numbers this Block holds and passes.
|
|
130
|
+
*
|
|
131
|
+
* **The images belong to the caller, so this is the one Block in this wave that
|
|
132
|
+
* needs `'use client'`.** It owns the open index and nothing else, which is the
|
|
133
|
+
* smallest possible reason: the state is one number, and the data is not fetched
|
|
134
|
+
* or held, so the client JavaScript a consumer pays for here is the dialog stack
|
|
135
|
+
* `Lightbox` already brings and no more.
|
|
136
|
+
*/
|
|
137
|
+
export function Gallery01({ eyebrow, title, description, items, columns = 3, ratio = 'landscape', labels, headingLevel = 'h2', className, }) {
|
|
138
|
+
// One number, and it is the only state this Block owns: which image is open, or
|
|
139
|
+
// `null` for the state in which none is. The images themselves are props, so a
|
|
140
|
+
// consumer that closes the dialog and re-renders with a different set has not
|
|
141
|
+
// lost anything this Block was holding.
|
|
142
|
+
const [openAt, setOpenAt] = useState(null);
|
|
143
|
+
for (const item of items) {
|
|
144
|
+
if (item.href !== undefined) {
|
|
145
|
+
throw new Error(`Gallery01: the item "${item.id}" passed an href, so its tile would be a lightbox trigger and a link in ` +
|
|
146
|
+
'one hit area, which is two controls where a reader expects one and a Tab stop whose behaviour they ' +
|
|
147
|
+
'cannot predict. Put the link in the caption under the tile instead, where the words on it are yours.');
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
if (items.length === 0)
|
|
151
|
+
return null;
|
|
152
|
+
const at = openAt ?? 0;
|
|
153
|
+
const current = items[at] ?? items[0];
|
|
154
|
+
// A count of one names nothing, so the only state in which the count says
|
|
155
|
+
// anything is the state in which it is drawn.
|
|
156
|
+
const counted = items.length > 1;
|
|
157
|
+
return (_jsxs(Section, { children: [title ? (_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description, className: "mb-12" })) : null, _jsx("ul", { "data-slot": "gallery", "data-ratio": ratio, className: cn('grid gap-4', TRACKS[columns], className), children: items.map((item, index) => (_jsxs("li", { "data-slot": "gallery-tile", className: "flex flex-col gap-2", children: [_jsxs("button", { type: "button", "data-slot": "gallery-trigger", "data-index": index, "aria-label": nameOf(item), onClick: () => setOpenAt(index),
|
|
158
|
+
// The ring is `ring-ring` at full strength and 3px, for the reason
|
|
159
|
+
// `button.tsx` states: half alpha composites to between 1.14:1 and
|
|
160
|
+
// 2.74:1 against every surface in all six themes and clears 3:1 in
|
|
161
|
+
// none of them, which fails WCAG 1.4.11 on the one indicator a
|
|
162
|
+
// keyboard user has. A tile is the item most likely to be reached by
|
|
163
|
+
// keyboard, because it is one of many and they are all the same.
|
|
164
|
+
className: "ring-ring focus-visible:ring-[3px] hover:border-primary relative block w-full overflow-hidden rounded-lg border outline-none transition-colors duration-fast ease-out", children: [_jsx(AspectRatio, { ratio: RATIOS[ratio], children: _jsx("img", { "data-slot": "gallery-image", src: item.src, alt: "", className: "absolute inset-0 size-full object-cover" }) }), counted ? (_jsx("span", { "data-slot": "gallery-count", "aria-hidden": "true", className: "bg-background/90 text-foreground absolute right-2 bottom-2 rounded-md px-1.5 py-0.5 font-mono text-xs", children: items.length })) : null] }), item.caption ? (_jsx("div", { "data-slot": "gallery-caption", className: "text-muted-foreground text-pretty text-sm", children: item.caption })) : null] }, item.id))) }), _jsx(Lightbox, { open: openAt !== null, onOpenChange: (open) => {
|
|
165
|
+
if (!open)
|
|
166
|
+
setOpenAt(null);
|
|
167
|
+
}, src: current.src, alt: current.alt, caption: current.caption,
|
|
168
|
+
// The rail is this set, in this order, named by each image's own
|
|
169
|
+
// description. The lightbox asks for an index rather than holding the
|
|
170
|
+
// images, so a consumer whose set is ordered differently at full size owns
|
|
171
|
+
// the index itself and this is the wrong Item for them.
|
|
172
|
+
thumbnails: items.map((item) => ({ src: item.src, alt: item.alt })), index: at, onIndexChange: setOpenAt, zoomLabel: labels.zoom, previousLabel: labels.previous, nextLabel: labels.next, closeLabel: labels.close })] }));
|
|
173
|
+
}
|
|
174
|
+
export default Gallery01;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/gallery-01/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAK9C,YAAY,EACV,cAAc,EACd,aAAa,EACb,eAAe,EACf,cAAc,EACd,gBAAgB,GACjB,MAAM,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Gallery01, default } from './gallery.js';
|