@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,92 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from '../../lib/utils.js';
|
|
3
|
+
/**
|
|
4
|
+
* The two steps a star readout is drawn at, as frame and figure together.
|
|
5
|
+
*
|
|
6
|
+
* The pair moves as one because a readout is a figure with a unit attached to it
|
|
7
|
+
* and the two are read as one sentence: a count at the `sm` step beside a noun
|
|
8
|
+
* at the `md` step is a count and a caption, and a reader scanning a page of them
|
|
9
|
+
* sees the numbers at one height and the nouns at another. `sm` is for a footer,
|
|
10
|
+
* a table row and a card description, and `md` is for a card header and a page
|
|
11
|
+
* header. There is no third step because a star count is never the headline
|
|
12
|
+
* figure of a page, and a Component that could be drawn at the title step would
|
|
13
|
+
* be a Component asking to be the thing it annotates.
|
|
14
|
+
*/
|
|
15
|
+
const REPO_STARS_SIZE = {
|
|
16
|
+
sm: 'items-center gap-1 text-xs',
|
|
17
|
+
md: 'items-center gap-1.5 text-sm',
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The two halves of a readout, drawn once for the span and once for the anchor.
|
|
21
|
+
*
|
|
22
|
+
* A part rather than an Item, and it stays inside this module: DESIGN.md's
|
|
23
|
+
* authoring contract says compound parts ship from their parent module and do
|
|
24
|
+
* not form a second vocabulary, so this is a module-local function and not a
|
|
25
|
+
* fourth export. It exists because the mark has to sit inside the anchor when
|
|
26
|
+
* there is one, so that the whole readout is the hit area rather than the figure
|
|
27
|
+
* with a dead mark beside it, and writing the two spans twice is two places to
|
|
28
|
+
* change them.
|
|
29
|
+
*/
|
|
30
|
+
function StarBody({ mark, figure, className }) {
|
|
31
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { "data-slot": "repo-stars-mark", className: "flex size-4 shrink-0 items-center justify-center", children: mark }), _jsx("span", { "data-slot": "repo-stars-figure", className: cn('min-w-0 truncate font-medium tabular-nums', className), children: figure })] }));
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* How many people starred a source repository, beside the host's own mark.
|
|
35
|
+
*
|
|
36
|
+
* **The mark is a slot and the reason is a licence, not a preference.** Prism's
|
|
37
|
+
* icon lane is Lucide, and Lucide draws interface glyphs rather than other
|
|
38
|
+
* companies' trademarks, and a repository host's mark is a licensed asset with
|
|
39
|
+
* rules about its clear space, its colour, its minimum size and where it may
|
|
40
|
+
* appear. A package that shipped one would be distributing an asset it does not
|
|
41
|
+
* own, and it would be wrong within a year as hosts redraw. So the consumer passes
|
|
42
|
+
* the mark and this Component draws the frame around it. The cost is stated
|
|
43
|
+
* rather than hidden: a consumer who wants the readout in an afternoon has to
|
|
44
|
+
* source the mark, and a consumer with no host to point at cannot use this
|
|
45
|
+
* Component at all.
|
|
46
|
+
*
|
|
47
|
+
* **The count is printed by a callback and the fallback is the bare number.**
|
|
48
|
+
* There is no `Intl` default and the omission is the decision, for the reason
|
|
49
|
+
* `format` states: a compact count is a locale and a judgement, and a figure
|
|
50
|
+
* formatted in the runtime's locale changes when the deployment region changes.
|
|
51
|
+
* The visible cost is that a consumer with a six figure count and no formatter
|
|
52
|
+
* draws all six digits, which is honest and wider than they wanted.
|
|
53
|
+
*
|
|
54
|
+
* **There is no navigation region and no landmark, and the reason is that a
|
|
55
|
+
* count is not a place.** A `<nav>` is a set of routes and this is one figure
|
|
56
|
+
* beside a mark, so the readout renders a span or an anchor and nothing else. A
|
|
57
|
+
* consumer who puts one inside their own `<nav>` has made a claim about their own
|
|
58
|
+
* page that Prism neither makes nor checks, and the `href` is the consumer's to
|
|
59
|
+
* resolve: this Component validates nothing about it, and the package is router
|
|
60
|
+
* free and transport free by design.
|
|
61
|
+
*
|
|
62
|
+
* **A link here is an anchor, so there is no `target` and no `rel`.** Both belong
|
|
63
|
+
* to the anchor and the anchor is inside the readout, and an anchor-shaped root
|
|
64
|
+
* that changed element with `href` would put `rel` and `target` onto a `span` on
|
|
65
|
+
* every readout that has no link, which is invalid markup for a control Prism
|
|
66
|
+
* did not draw. A consumer who needs a new tab or a referrer policy writes their
|
|
67
|
+
* own anchor around the readout, which is one element and keeps every class here.
|
|
68
|
+
*
|
|
69
|
+
* **The link's ink is `brand-ink` and the readout's is `foreground`, and that
|
|
70
|
+
* split is DESIGN.md's Brand Ink Rule rather than a preference.** A readout that
|
|
71
|
+
* is not a link is a figure and takes the page's ink. A readout that is a link
|
|
72
|
+
* has to read as something a reader may follow, and the token gate measures
|
|
73
|
+
* `brand-ink` at 4.5:1 against the page, a card and the accent surface in both
|
|
74
|
+
* modes of all six sources. The focus ring is drawn at full strength on the
|
|
75
|
+
* anchor rather than left to the browser, so the indicator this Component owns
|
|
76
|
+
* is the indicator the gate can check.
|
|
77
|
+
*
|
|
78
|
+
* **It is a server Component, and the reason is that everything it draws is
|
|
79
|
+
* decided from props.** No hook, no state, no effect, no handler and no directive,
|
|
80
|
+
* so a page with four star readouts ships no JavaScript for them at all. The
|
|
81
|
+
* consequence worth stating is the one a reader would otherwise have to work out:
|
|
82
|
+
* with no `href` there is no interaction, and with one the only behaviour is the
|
|
83
|
+
* browser's own navigation, so there is nothing this Component could need a client
|
|
84
|
+
* runtime to do. The cost is that a consumer who wants the count to refresh
|
|
85
|
+
* itself is reaching for a `live` surface and a subscription Prism does not own.
|
|
86
|
+
*/
|
|
87
|
+
function RepoStars({ count, label, mark, format, href, size = 'md', className, ...props }) {
|
|
88
|
+
const shown = format === undefined ? String(count) : format(count);
|
|
89
|
+
const figure = `${shown} ${label}`;
|
|
90
|
+
return (_jsx("span", { "data-slot": "repo-stars", className: cn('inline-flex max-w-full', className), ...props, children: href === undefined ? (_jsx(StarBody, { mark: mark, figure: figure, className: cn(REPO_STARS_SIZE[size], 'text-foreground') })) : (_jsx("a", { "data-slot": "repo-stars-link", href: href, className: cn(REPO_STARS_SIZE[size], 'hover:underline focus-visible:ring-ring inline-flex min-w-0 rounded-sm underline-offset-2 outline-none focus-visible:ring-[3px]'), children: _jsx(StarBody, { mark: mark, figure: figure, className: "text-brand-ink" }) })) }));
|
|
91
|
+
}
|
|
92
|
+
export { RepoStars };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The divider's position, as a percentage along the group's main axis.
|
|
4
|
+
*
|
|
5
|
+
* A percentage rather than a pixel count because the group is a proportion of
|
|
6
|
+
* whatever the page gives it, and a divider measured in pixels is wrong the
|
|
7
|
+
* moment the window is resized or the group is put in a narrower column. A
|
|
8
|
+
* percentage is wrong for one case and that case is a pane whose content must
|
|
9
|
+
* not reflow, and a caller who needs one is measuring their content rather than
|
|
10
|
+
* asking for a split.
|
|
11
|
+
*/
|
|
12
|
+
type Position = number;
|
|
13
|
+
/** How the panes are laid out, and therefore which pair of arrows moves a divider. */
|
|
14
|
+
type ResizableOrientation = 'horizontal' | 'vertical';
|
|
15
|
+
/** The props the Resizable group accepts. */
|
|
16
|
+
export interface ResizableProps extends Omit<ComponentProps<'div'>, 'onChange'> {
|
|
17
|
+
/**
|
|
18
|
+
* The accessible name of the group.
|
|
19
|
+
*
|
|
20
|
+
* Required rather than defaulted, because a resizable is announced as two
|
|
21
|
+
* panes with a divider between them, and two unnamed panes side by side are a
|
|
22
|
+
* page where a reader is told "region" twice and cannot tell which is which.
|
|
23
|
+
*/
|
|
24
|
+
label: string;
|
|
25
|
+
/** Whether the panes sit side by side or stacked. @defaultValue horizontal */
|
|
26
|
+
orientation?: ResizableOrientation;
|
|
27
|
+
/**
|
|
28
|
+
* The divider's starting position, as a percentage along the main axis.
|
|
29
|
+
* @defaultValue 50
|
|
30
|
+
*/
|
|
31
|
+
defaultPosition?: Position;
|
|
32
|
+
/**
|
|
33
|
+
* The controlled divider position, as a percentage along the main axis.
|
|
34
|
+
*
|
|
35
|
+
* The position is a prop and a callback rather than something the group keeps
|
|
36
|
+
* to itself, and that is the decision this Component makes: **a split is
|
|
37
|
+
* worth remembering, and this Component will not remember it for you.** A
|
|
38
|
+
* reader who drags a sidebar to where their work fits and comes back to a
|
|
39
|
+
* reset split has been told the preference did not count, and the honest fix is
|
|
40
|
+
* the caller reading this and persisting it, because a design system cannot
|
|
41
|
+
* know a reader's storage, cannot know which of a reader's panes this one is,
|
|
42
|
+
* and cannot know whether a second reader of the same account wants the same
|
|
43
|
+
* number. Pass the stored value back as `position` and this is a controlled
|
|
44
|
+
* group with no storage of its own anywhere.
|
|
45
|
+
*/
|
|
46
|
+
position?: Position;
|
|
47
|
+
/** Called when the divider moves, with the new position. */
|
|
48
|
+
onPositionChange?: (position: Position) => void;
|
|
49
|
+
/** Whether the divider ignores user interaction. @defaultValue false */
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
/** The panes and the divider between them. */
|
|
52
|
+
children?: ReactNode;
|
|
53
|
+
}
|
|
54
|
+
/** The props ResizablePanel accepts. */
|
|
55
|
+
export interface ResizablePanelProps extends ComponentProps<'div'> {
|
|
56
|
+
/** The pane's share of the group, as a percentage. @defaultValue 50 */
|
|
57
|
+
size?: Position;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Two panes with a divider between them that both a pointer and a keyboard move.
|
|
61
|
+
*
|
|
62
|
+
* **The divider is the Component, and everything about it is a decision a
|
|
63
|
+
* consumer would otherwise make badly.** It is an ARIA separator that is
|
|
64
|
+
* focusable, so the split is operable without a pointer at all, and it reports
|
|
65
|
+
* `aria-valuenow` as the position along the split, so a reader is told where the
|
|
66
|
+
* divider is rather than only being able to feel it. Arrow keys move it by a
|
|
67
|
+
* small step, Home takes it to one end and End to the other, and both are
|
|
68
|
+
* clamped, so a reader who holds the key stops at the end rather than pushing a
|
|
69
|
+
* pane to nothing and being unable to get it back.
|
|
70
|
+
*
|
|
71
|
+
* **It remembers nothing across a reload, and that is deliberate.** The position
|
|
72
|
+
* is a prop and a callback, so a caller who wants a reader's split to survive a
|
|
73
|
+
* reload persists it and passes it back, and a design system that wrote to a
|
|
74
|
+
* reader's storage unasked would be making a claim about the product it does not
|
|
75
|
+
* know. The failure this prevents is a sidebar that silently resets, which is the
|
|
76
|
+
* same class of defect as a control that forgets a setting the reader chose and
|
|
77
|
+
* nobody can explain.
|
|
78
|
+
*
|
|
79
|
+
* **A drag reads the group's box once, at the press, and is arithmetic after
|
|
80
|
+
* that.** Every frame of a drag needs the group's travel, and reading it on each
|
|
81
|
+
* frame means reading it immediately after the frame before wrote the new position
|
|
82
|
+
* and therefore wrote new styles: one forced synchronous layout per frame, on the
|
|
83
|
+
* main thread, in the middle of the interaction the reader is holding. The box
|
|
84
|
+
* cannot change under a drag this Component started, because the panes are given a
|
|
85
|
+
* percentage of the group rather than the other way round, so the box is read where
|
|
86
|
+
* the press happened and reused. **A group resized by something else part way through
|
|
87
|
+
* a drag finishes that drag against the travel it started with**, which is the answer
|
|
88
|
+
* a reader mid-gesture can use; a caller who needs a drag that follows a changing
|
|
89
|
+
* group ends that drag and starts it again. The keyboard reads no box at all: an
|
|
90
|
+
* arrow key moves the divider by a share of its position, so current layout is never
|
|
91
|
+
* stale for a move that does not consult it.
|
|
92
|
+
*
|
|
93
|
+
* **A divider has a name and it is the caller's word.** There is no default,
|
|
94
|
+
* because a default would be the same word on every divider on every page and
|
|
95
|
+
* would be true of none of them.
|
|
96
|
+
*
|
|
97
|
+
* **The coarse-pointer floor is paid with a band, and the drag does not move.** A
|
|
98
|
+
* one pixel divider cannot be grown: the two panes are given percentages of the
|
|
99
|
+
* group and already fill it, so a 44 pixel divider would push a pane off the screen
|
|
100
|
+
* on a phone. A transparent 44 by 44 band centred on the line gives the target and
|
|
101
|
+
* leaves the drawing, the arithmetic and the layout exactly as they were, because the
|
|
102
|
+
* drag reads the group's box rather than this element's. The cost is that a press
|
|
103
|
+
* within 21 pixels of the line grabs the divider rather than the pane; it is stated
|
|
104
|
+
* at the class, which is where a reader changing that class will look. See
|
|
105
|
+
* `DESIGN.md`, The coarse-pointer floor.
|
|
106
|
+
*
|
|
107
|
+
* This is the one Component here that is not composed on a Base UI primitive,
|
|
108
|
+
* because Base UI 1.8.0 ships none: the package has no `Resizable` in it, so the
|
|
109
|
+
* separator role, the focusable-divider keyboard model and the drag are authored
|
|
110
|
+
* here rather than wrapped. Every other overlay in this batch is composed, and a
|
|
111
|
+
* hand-rolled focus trap or portal would be a second and worse answer; a divider
|
|
112
|
+
* is none of those five things.
|
|
113
|
+
*/
|
|
114
|
+
declare function Resizable({ className, label, orientation, defaultPosition, position: positionProp, onPositionChange, disabled, ...props }: ResizableProps): import("react").JSX.Element;
|
|
115
|
+
/**
|
|
116
|
+
* One pane of the split.
|
|
117
|
+
*
|
|
118
|
+
* `size` is a prop rather than something computed from the content, because a
|
|
119
|
+
* pane whose width depends on what is in it is how a split ends up reporting a
|
|
120
|
+
* different position after a reload than before one, and the divider is measured
|
|
121
|
+
* against a box the reader cannot predict.
|
|
122
|
+
*/
|
|
123
|
+
declare function ResizablePanel({ className, size, style, ...props }: ResizablePanelProps): import("react").JSX.Element;
|
|
124
|
+
/**
|
|
125
|
+
* The divider, and the whole of the Component's behaviour.
|
|
126
|
+
*
|
|
127
|
+
* A focusable ARIA separator with a value, so the split is operable and
|
|
128
|
+
* announced: `role="separator"`, `aria-valuenow` for the position, and
|
|
129
|
+
* `aria-orientation` for the axis, which is what tells a reader whether the left
|
|
130
|
+
* and right arrows or the up and down ones are the ones to press.
|
|
131
|
+
*/
|
|
132
|
+
declare function ResizableHandle({ className, label, onKeyDown, ...props }: ResizableHandleProps): import("react").JSX.Element;
|
|
133
|
+
/**
|
|
134
|
+
* The props ResizableHandle accepts.
|
|
135
|
+
*
|
|
136
|
+
* The `label` is required for the same reason the group's is, and it is a prop
|
|
137
|
+
* rather than a default because there is no honest default: a divider named
|
|
138
|
+
* "Resize" in a page with a file tree, a preview and a comment thread tells a
|
|
139
|
+
* reader nothing about which one they are holding, and the words that would
|
|
140
|
+
* tell them are the words for that product's panes.
|
|
141
|
+
*/
|
|
142
|
+
export interface ResizableHandleProps extends Omit<ComponentProps<'div'>, 'onChange'> {
|
|
143
|
+
/**
|
|
144
|
+
* The accessible name of this divider.
|
|
145
|
+
*
|
|
146
|
+
* Required. A divider with no name is announced as "separator", and a page
|
|
147
|
+
* with three of them is a page where a screen reader user cannot tell which
|
|
148
|
+
* one they are about to move.
|
|
149
|
+
*/
|
|
150
|
+
label: string;
|
|
151
|
+
}
|
|
152
|
+
export { Resizable, ResizablePanel, ResizableHandle };
|
|
153
|
+
//# sourceMappingURL=resizable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,cAAc,EAGnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAA;AAId;;;;;;;;;GASG;AACH,KAAK,QAAQ,GAAG,MAAM,CAAA;AAEtB,sFAAsF;AACtF,KAAK,oBAAoB,GAAG,YAAY,GAAG,UAAU,CAAA;AAgDrD,6CAA6C;AAC7C,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC7E;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,8EAA8E;IAC9E,WAAW,CAAC,EAAE,oBAAoB,CAAA;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,QAAQ,CAAA;IAC1B;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAA;IAC/C,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAChE,uEAAuE;IACvE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,KAAK,EACL,WAA0B,EAC1B,eAAoB,EACpB,QAAQ,EAAE,YAAY,EACtB,gBAAgB,EAChB,QAAgB,EAChB,GAAG,KAAK,EACT,EAAE,cAAc,+BA0FhB;AAED;;;;;;;GAOG;AACH,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAoBrF;AAED;;;;;;;GAOG;AACH,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAiKvF;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnF;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useCallback, useContext, useMemo, useRef, useState, } from 'react';
|
|
4
|
+
import { cn } from '../../lib/utils.js';
|
|
5
|
+
/** The window the divider may travel in, as a percentage of the group. */
|
|
6
|
+
const MIN = 10;
|
|
7
|
+
const MAX = 90;
|
|
8
|
+
/** How far one arrow-key press moves the divider, as a percentage of the group. */
|
|
9
|
+
const STEP = 5;
|
|
10
|
+
const ResizableContext = createContext(null);
|
|
11
|
+
/**
|
|
12
|
+
* The group context, which a pane and a divider are both children of.
|
|
13
|
+
*
|
|
14
|
+
* The part name is a machine value and lowercase on purpose: it reaches a
|
|
15
|
+
* developer in a console and never a reader, and the gate that refuses shipped
|
|
16
|
+
* copy cannot tell a part's own name from a sentence. The diagnostic is the
|
|
17
|
+
* house's own shape, an error thrown when a caller has composed a part outside
|
|
18
|
+
* the group it belongs to, and the useful half of it is what to do about it.
|
|
19
|
+
*/
|
|
20
|
+
function useResizableContext(part) {
|
|
21
|
+
const context = useContext(ResizableContext);
|
|
22
|
+
if (context === null) {
|
|
23
|
+
throw new Error(`Resizable: the ${part} must be rendered inside a Resizable, because the split is owned by the group and neither part can know it on its own.`);
|
|
24
|
+
}
|
|
25
|
+
return context;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Two panes with a divider between them that both a pointer and a keyboard move.
|
|
29
|
+
*
|
|
30
|
+
* **The divider is the Component, and everything about it is a decision a
|
|
31
|
+
* consumer would otherwise make badly.** It is an ARIA separator that is
|
|
32
|
+
* focusable, so the split is operable without a pointer at all, and it reports
|
|
33
|
+
* `aria-valuenow` as the position along the split, so a reader is told where the
|
|
34
|
+
* divider is rather than only being able to feel it. Arrow keys move it by a
|
|
35
|
+
* small step, Home takes it to one end and End to the other, and both are
|
|
36
|
+
* clamped, so a reader who holds the key stops at the end rather than pushing a
|
|
37
|
+
* pane to nothing and being unable to get it back.
|
|
38
|
+
*
|
|
39
|
+
* **It remembers nothing across a reload, and that is deliberate.** The position
|
|
40
|
+
* is a prop and a callback, so a caller who wants a reader's split to survive a
|
|
41
|
+
* reload persists it and passes it back, and a design system that wrote to a
|
|
42
|
+
* reader's storage unasked would be making a claim about the product it does not
|
|
43
|
+
* know. The failure this prevents is a sidebar that silently resets, which is the
|
|
44
|
+
* same class of defect as a control that forgets a setting the reader chose and
|
|
45
|
+
* nobody can explain.
|
|
46
|
+
*
|
|
47
|
+
* **A drag reads the group's box once, at the press, and is arithmetic after
|
|
48
|
+
* that.** Every frame of a drag needs the group's travel, and reading it on each
|
|
49
|
+
* frame means reading it immediately after the frame before wrote the new position
|
|
50
|
+
* and therefore wrote new styles: one forced synchronous layout per frame, on the
|
|
51
|
+
* main thread, in the middle of the interaction the reader is holding. The box
|
|
52
|
+
* cannot change under a drag this Component started, because the panes are given a
|
|
53
|
+
* percentage of the group rather than the other way round, so the box is read where
|
|
54
|
+
* the press happened and reused. **A group resized by something else part way through
|
|
55
|
+
* a drag finishes that drag against the travel it started with**, which is the answer
|
|
56
|
+
* a reader mid-gesture can use; a caller who needs a drag that follows a changing
|
|
57
|
+
* group ends that drag and starts it again. The keyboard reads no box at all: an
|
|
58
|
+
* arrow key moves the divider by a share of its position, so current layout is never
|
|
59
|
+
* stale for a move that does not consult it.
|
|
60
|
+
*
|
|
61
|
+
* **A divider has a name and it is the caller's word.** There is no default,
|
|
62
|
+
* because a default would be the same word on every divider on every page and
|
|
63
|
+
* would be true of none of them.
|
|
64
|
+
*
|
|
65
|
+
* **The coarse-pointer floor is paid with a band, and the drag does not move.** A
|
|
66
|
+
* one pixel divider cannot be grown: the two panes are given percentages of the
|
|
67
|
+
* group and already fill it, so a 44 pixel divider would push a pane off the screen
|
|
68
|
+
* on a phone. A transparent 44 by 44 band centred on the line gives the target and
|
|
69
|
+
* leaves the drawing, the arithmetic and the layout exactly as they were, because the
|
|
70
|
+
* drag reads the group's box rather than this element's. The cost is that a press
|
|
71
|
+
* within 21 pixels of the line grabs the divider rather than the pane; it is stated
|
|
72
|
+
* at the class, which is where a reader changing that class will look. See
|
|
73
|
+
* `DESIGN.md`, The coarse-pointer floor.
|
|
74
|
+
*
|
|
75
|
+
* This is the one Component here that is not composed on a Base UI primitive,
|
|
76
|
+
* because Base UI 1.8.0 ships none: the package has no `Resizable` in it, so the
|
|
77
|
+
* separator role, the focusable-divider keyboard model and the drag are authored
|
|
78
|
+
* here rather than wrapped. Every other overlay in this batch is composed, and a
|
|
79
|
+
* hand-rolled focus trap or portal would be a second and worse answer; a divider
|
|
80
|
+
* is none of those five things.
|
|
81
|
+
*/
|
|
82
|
+
function Resizable({ className, label, orientation = 'horizontal', defaultPosition = 50, position: positionProp, onPositionChange, disabled = false, ...props }) {
|
|
83
|
+
const [internal, setInternal] = useState(defaultPosition);
|
|
84
|
+
const [dragging, setDragging] = useState(false);
|
|
85
|
+
const group = useRef(null);
|
|
86
|
+
const { ref: callerRef, ...rest } = props;
|
|
87
|
+
// Both refs, rather than mine and then the caller's. The drag measures the
|
|
88
|
+
// pointer against this element's box, so a caller who forwarded a ref and
|
|
89
|
+
// silently replaced ours would get a divider the keyboard moves and the pointer
|
|
90
|
+
// does not, which is a split that only half works.
|
|
91
|
+
const setGroup = useCallback((element) => {
|
|
92
|
+
group.current = element;
|
|
93
|
+
if (typeof callerRef === 'function')
|
|
94
|
+
callerRef(element);
|
|
95
|
+
else if (callerRef !== null && callerRef !== undefined)
|
|
96
|
+
callerRef.current = element;
|
|
97
|
+
}, [callerRef]);
|
|
98
|
+
const controlled = positionProp !== undefined;
|
|
99
|
+
const position = controlled ? positionProp : internal;
|
|
100
|
+
/**
|
|
101
|
+
* The position every move is measured from, kept in a ref rather than read
|
|
102
|
+
* from the rendered value.
|
|
103
|
+
*
|
|
104
|
+
* This is the whole of the keyboard model and it is not a style choice. A
|
|
105
|
+
* reader who holds ArrowRight produces four key events before React has
|
|
106
|
+
* re-rendered, and a move that read the rendered position each time would see
|
|
107
|
+
* the same number four times and travel one step instead of four. The divider
|
|
108
|
+
* would then feel broken to exactly the reader using it the way it is meant to
|
|
109
|
+
* be used, and a drag would run behind the pointer.
|
|
110
|
+
*/
|
|
111
|
+
const latest = useRef(position);
|
|
112
|
+
latest.current = position;
|
|
113
|
+
const moveTo = useCallback((next) => {
|
|
114
|
+
if (disabled)
|
|
115
|
+
return;
|
|
116
|
+
const clamped = Math.min(MAX, Math.max(MIN, next));
|
|
117
|
+
latest.current = clamped;
|
|
118
|
+
if (!controlled)
|
|
119
|
+
setInternal(clamped);
|
|
120
|
+
onPositionChange?.(clamped);
|
|
121
|
+
}, [controlled, disabled, onPositionChange]);
|
|
122
|
+
const moveBy = useCallback((delta) => {
|
|
123
|
+
if (disabled)
|
|
124
|
+
return;
|
|
125
|
+
moveTo(latest.current + delta);
|
|
126
|
+
}, [disabled, moveTo]);
|
|
127
|
+
const value = useMemo(() => ({
|
|
128
|
+
orientation,
|
|
129
|
+
position,
|
|
130
|
+
moveTo,
|
|
131
|
+
moveBy,
|
|
132
|
+
min: MIN,
|
|
133
|
+
max: MAX,
|
|
134
|
+
disabled,
|
|
135
|
+
dragging,
|
|
136
|
+
setDragging,
|
|
137
|
+
groupElement: () => group.current,
|
|
138
|
+
}), [orientation, position, moveTo, moveBy, disabled, dragging]);
|
|
139
|
+
return (_jsx(ResizableContext.Provider, { value: value, children: _jsx("div", { "data-slot": "resizable", role: "group", "aria-label": label, "data-orientation": orientation, "data-dragging": dragging ? 'true' : undefined, ref: setGroup, className: cn('flex h-full w-full', orientation === 'vertical' ? 'flex-col' : 'flex-row', 'data-[dragging]:select-none', className), ...rest }) }));
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* One pane of the split.
|
|
143
|
+
*
|
|
144
|
+
* `size` is a prop rather than something computed from the content, because a
|
|
145
|
+
* pane whose width depends on what is in it is how a split ends up reporting a
|
|
146
|
+
* different position after a reload than before one, and the divider is measured
|
|
147
|
+
* against a box the reader cannot predict.
|
|
148
|
+
*/
|
|
149
|
+
function ResizablePanel({ className, size = 50, style, ...props }) {
|
|
150
|
+
const { orientation, disabled } = useResizableContext('panel');
|
|
151
|
+
return (_jsx("div", { "data-slot": "resizable-panel", "data-orientation": orientation, "data-disabled": disabled ? 'true' : undefined, style: {
|
|
152
|
+
flexBasis: `${size}%`,
|
|
153
|
+
flexGrow: 0,
|
|
154
|
+
flexShrink: 0,
|
|
155
|
+
minWidth: 0,
|
|
156
|
+
minHeight: 0,
|
|
157
|
+
...style,
|
|
158
|
+
}, className: cn('overflow-hidden', className), ...props }));
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The divider, and the whole of the Component's behaviour.
|
|
162
|
+
*
|
|
163
|
+
* A focusable ARIA separator with a value, so the split is operable and
|
|
164
|
+
* announced: `role="separator"`, `aria-valuenow` for the position, and
|
|
165
|
+
* `aria-orientation` for the axis, which is what tells a reader whether the left
|
|
166
|
+
* and right arrows or the up and down ones are the ones to press.
|
|
167
|
+
*/
|
|
168
|
+
function ResizableHandle({ className, label, onKeyDown, ...props }) {
|
|
169
|
+
const { orientation, position, moveTo, moveBy, min, max, disabled, dragging, setDragging, groupElement, } = useResizableContext('divider');
|
|
170
|
+
const last = useRef(null);
|
|
171
|
+
// The group's box, read once at the press and held for the drag.
|
|
172
|
+
//
|
|
173
|
+
// A pointer drag moves the divider by a share of the group's travel, so every frame
|
|
174
|
+
// of the drag needs that box, and reading it inside `onPointerMove` means reading
|
|
175
|
+
// it immediately after the frame before wrote the new position and therefore
|
|
176
|
+
// wrote new styles. That is one forced synchronous layout per frame of every drag,
|
|
177
|
+
// on the main thread, in the middle of the interaction a reader is holding, and it
|
|
178
|
+
// is the whole cost of the divider for a number that cannot change while the drag
|
|
179
|
+
// runs: the panes are given a percentage of the group and the group is not given a
|
|
180
|
+
// percentage of the panes, so moving the divider does not move the box it is
|
|
181
|
+
// measured against. So the box is read where the press happened, which is the last
|
|
182
|
+
// moment before the drag with no pending write in front of it, and every frame
|
|
183
|
+
// after that is arithmetic. `ReorderableList` measures its rows the same way, once
|
|
184
|
+
// at `pointerdown`, for the same reason.
|
|
185
|
+
//
|
|
186
|
+
// **The keyboard never reads it.** A key press moves the divider by a fixed share
|
|
187
|
+
// of the position rather than by a distance through the group, so the keyboard
|
|
188
|
+
// model needs no box, and current layout is never stale for a move that does not
|
|
189
|
+
// consult it.
|
|
190
|
+
//
|
|
191
|
+
// What this does not see is a group resized by something else part way through a
|
|
192
|
+
// drag, which a read per frame would have picked up on the next frame. The ordinary
|
|
193
|
+
// case of that is a window resized mid-drag, and there the drag finishes against
|
|
194
|
+
// the travel it started with, which is the answer a reader who is mid-gesture can
|
|
195
|
+
// use; a caller who changes the group's size while a pointer is down on it is a
|
|
196
|
+
// caller whose drag has to end and start again, and nothing here pretends to hold
|
|
197
|
+
// that case rather than holding it badly.
|
|
198
|
+
const box = useRef(null);
|
|
199
|
+
const onPointerDown = (event) => {
|
|
200
|
+
if (disabled || event.button !== 0)
|
|
201
|
+
return;
|
|
202
|
+
const group = groupElement();
|
|
203
|
+
if (group === null)
|
|
204
|
+
return;
|
|
205
|
+
box.current = group.getBoundingClientRect();
|
|
206
|
+
event.currentTarget.setPointerCapture(event.pointerId);
|
|
207
|
+
// The pointer's own coordinate, and not the divider's, because a drag is a
|
|
208
|
+
// distance travelled and the first event is a press rather than a move.
|
|
209
|
+
last.current = orientation === 'horizontal' ? event.clientX : event.clientY;
|
|
210
|
+
setDragging(true);
|
|
211
|
+
};
|
|
212
|
+
const onPointerMove = (event) => {
|
|
213
|
+
if (last.current === null)
|
|
214
|
+
return;
|
|
215
|
+
const measured = box.current;
|
|
216
|
+
if (measured === null)
|
|
217
|
+
return;
|
|
218
|
+
// Measured along the group's own axis, so a horizontal split follows the x
|
|
219
|
+
// and a vertical one follows the y, and a caller that passes the wrong
|
|
220
|
+
// `orientation` cannot get a divider that tracks the wrong coordinate.
|
|
221
|
+
const here = orientation === 'horizontal' ? event.clientX : event.clientY;
|
|
222
|
+
const delta = here - last.current;
|
|
223
|
+
const travel = orientation === 'horizontal' ? measured.width : measured.height;
|
|
224
|
+
if (travel === 0)
|
|
225
|
+
return;
|
|
226
|
+
moveBy((delta / travel) * 100);
|
|
227
|
+
last.current = here;
|
|
228
|
+
};
|
|
229
|
+
const endDrag = (event) => {
|
|
230
|
+
if (last.current === null)
|
|
231
|
+
return;
|
|
232
|
+
event.currentTarget.releasePointerCapture(event.pointerId);
|
|
233
|
+
last.current = null;
|
|
234
|
+
// The box belonged to the press that is ending here. A pointer move that arrives
|
|
235
|
+
// after the release is refused by `last` already, and holding a box a drag has
|
|
236
|
+
// given up is a number nothing could explain.
|
|
237
|
+
box.current = null;
|
|
238
|
+
setDragging(false);
|
|
239
|
+
};
|
|
240
|
+
const onKey = (event) => {
|
|
241
|
+
if (disabled)
|
|
242
|
+
return;
|
|
243
|
+
const decrease = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';
|
|
244
|
+
const increase = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';
|
|
245
|
+
if (event.key === decrease)
|
|
246
|
+
moveBy(-STEP);
|
|
247
|
+
else if (event.key === increase)
|
|
248
|
+
moveBy(STEP);
|
|
249
|
+
else if (event.key === 'Home')
|
|
250
|
+
moveTo(min);
|
|
251
|
+
else if (event.key === 'End')
|
|
252
|
+
moveTo(max);
|
|
253
|
+
else
|
|
254
|
+
return;
|
|
255
|
+
// Only the keys this Component owns are prevented, so a reader who binds
|
|
256
|
+
// something else to the divider still gets it.
|
|
257
|
+
event.preventDefault();
|
|
258
|
+
event.stopPropagation();
|
|
259
|
+
};
|
|
260
|
+
return (_jsx("div", { "data-slot": "resizable-handle", role: "separator", "aria-label": label, "aria-orientation": orientation, "aria-valuenow": Math.round(position), "aria-valuemin": min, "aria-valuemax": max, "aria-disabled": disabled ? 'true' : undefined, tabIndex: disabled ? -1 : 0, "data-orientation": orientation, "data-dragging": dragging ? 'true' : undefined, onPointerDown: onPointerDown, onPointerMove: onPointerMove, onPointerUp: endDrag, onPointerCancel: endDrag, onKeyDown: (event) => {
|
|
261
|
+
onKey(event);
|
|
262
|
+
onKeyDown?.(event);
|
|
263
|
+
}, className: cn('bg-border relative shrink-0 touch-none outline-none', orientation === 'vertical' ? 'h-px w-full cursor-row-resize' : 'h-full w-px cursor-col-resize', 'transition-colors duration-fast ease-out', 'hover:bg-ring focus-visible:bg-ring data-[dragging]:bg-ring', 'focus-visible:ring-ring focus-visible:ring-[3px]', 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
|
|
264
|
+
// The coarse-pointer floor, as a band, and this is the least mechanical control
|
|
265
|
+
// in the package, so the reasoning is the whole of the note.
|
|
266
|
+
//
|
|
267
|
+
// **A step is impossible here, and the reason is arithmetic rather than
|
|
268
|
+
// taste.** The panes are given `flexBasis: <size>%` with `flexShrink: 0`, so the
|
|
269
|
+
// two of them already sum to the group's whole width and the divider is what
|
|
270
|
+
// overflows it, by exactly its own one pixel. A `w-11` divider would overflow the
|
|
271
|
+
// group by 44, which on a phone pushes the right pane's right edge off the screen.
|
|
272
|
+
// Making room would mean changing what `size` means, or giving the panes a
|
|
273
|
+
// coarse-pointer-only basis calculation, and either one re-derives the meaning of
|
|
274
|
+
// the number a caller passed. A one pixel divider cannot take a step.
|
|
275
|
+
//
|
|
276
|
+
// **A band works because three facts hold that the three conditions ask about.**
|
|
277
|
+
// It is a pseudo-element, so the box the drag measures stays the drawn box and the
|
|
278
|
+
// arithmetic above is untouched: `onPointerDown` reads the *group's* rect and
|
|
279
|
+
// `onPointerMove` divides by the group's travel, so nothing reads this element's
|
|
280
|
+
// own size at all. It paints above both panes without a `z-index`, because the
|
|
281
|
+
// handle is `relative` with `z-index: auto` and the panes are static, and a
|
|
282
|
+
// positioned descendant paints after non-positioned siblings. And the band is
|
|
283
|
+
// 44 by 44 rather than 44 by the handle's length, which is what keeps the overlap
|
|
284
|
+
// local: along the split the handle already spans the group, so 44 there is free,
|
|
285
|
+
// and across the split it reaches 21 pixels into each pane over a 44 pixel stretch
|
|
286
|
+
// of the line rather than the whole height of the group.
|
|
287
|
+
//
|
|
288
|
+
// **The cost is stated rather than hidden.** A press within 21 pixels of the line,
|
|
289
|
+
// over a 44 pixel stretch of it, grabs the divider rather than the pane, and
|
|
290
|
+
// `touch-none` travels with the band because the pseudo-element resolves its
|
|
291
|
+
// `touch-action` from this element. So text selection near the divider is
|
|
292
|
+
// unavailable inside that patch. That is the trade a resize gutter makes on every
|
|
293
|
+
// platform, and it is bounded to a patch rather than run the length of the panes.
|
|
294
|
+
// See DESIGN.md, The coarse-pointer floor.
|
|
295
|
+
'pointer-coarse:before:absolute pointer-coarse:before:left-1/2 pointer-coarse:before:top-1/2 pointer-coarse:before:h-11 pointer-coarse:before:w-11 pointer-coarse:before:-translate-x-1/2 pointer-coarse:before:-translate-y-1/2 pointer-coarse:before:content-[""]', className), ...props }));
|
|
296
|
+
}
|
|
297
|
+
export { Resizable, ResizablePanel, ResizableHandle };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
/** Which axis the region is expected to scroll on. */
|
|
3
|
+
export type ScrollAreaOrientation = 'vertical' | 'horizontal' | 'both';
|
|
4
|
+
/** The props the ScrollArea accepts. */
|
|
5
|
+
export interface ScrollAreaProps extends Omit<ComponentProps<'div'>, 'children'> {
|
|
6
|
+
/**
|
|
7
|
+
* The content the region scrolls through.
|
|
8
|
+
*
|
|
9
|
+
* Ordinary children, not a render prop and not a measured height. A consumer
|
|
10
|
+
* sizes the region from the outside with `className` and puts whatever they like
|
|
11
|
+
* inside, which is the arrangement that lets a region hold a table, a list of
|
|
12
|
+
* anything, or a form.
|
|
13
|
+
*/
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Which scrollbars to draw.
|
|
17
|
+
*
|
|
18
|
+
* `both` is the default rather than `vertical` because a region that overflows
|
|
19
|
+
* on an axis nobody asked about is still a region a reader has to be able to
|
|
20
|
+
* scroll on that axis, and a scrollbar that is missing is a scrollbar that has
|
|
21
|
+
* to be found in the browser's own chrome, which is the thing this Component
|
|
22
|
+
* exists to replace. Pass `vertical` when the content is known never to scroll
|
|
23
|
+
* sideways, and the horizontal bar is not drawn at all.
|
|
24
|
+
*/
|
|
25
|
+
orientation?: ScrollAreaOrientation;
|
|
26
|
+
/**
|
|
27
|
+
* Keeps the scrollbar in the DOM when the region has nothing to scroll.
|
|
28
|
+
*
|
|
29
|
+
* Off by default, and that default is the decision: a region with nothing to
|
|
30
|
+
* scroll has no scroll position, so a bar drawn beside it is a claim that there
|
|
31
|
+
* is something past the edge. Turn it on only where a region is expected to
|
|
32
|
+
* grow and the reader should see the affordance before the content arrives.
|
|
33
|
+
*/
|
|
34
|
+
keepMounted?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The accessible name of the region.
|
|
37
|
+
*
|
|
38
|
+
* Required rather than defaulted. A scroll region with no name is announced as
|
|
39
|
+
* a group of focusable nothing, and a page with three of them is a page where a
|
|
40
|
+
* keyboard reader tabs into a region and cannot tell what is in it or what is
|
|
41
|
+
* past the edge. The name is the caller's word.
|
|
42
|
+
*/
|
|
43
|
+
label: string;
|
|
44
|
+
/** Layout only. */
|
|
45
|
+
className?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A scrollable region whose scrollbar belongs to this design system.
|
|
49
|
+
*
|
|
50
|
+
* **The browser's scrollbar is the one piece of a page that belongs to no design
|
|
51
|
+
* system at all.** Every other surface a consumer draws is a token from here, and
|
|
52
|
+
* the scrollbar beside it is a rectangle the operating system drew, in a colour
|
|
53
|
+
* chosen for the OS's own background rather than for the card the content is on.
|
|
54
|
+
* It is also the only control on a page that is resized by dragging, and the only
|
|
55
|
+
* one that appears and disappears on a timer, so the browser's version is the one
|
|
56
|
+
* control a design system cannot restyle at all. This is where the package takes
|
|
57
|
+
* it over, and it is worth saying plainly that the native scrollbar is not
|
|
58
|
+
* available to restyle: `::-webkit-scrollbar` is one engine, `scrollbar-width` is
|
|
59
|
+
* two values, and neither can express a track and a thumb in tokens.
|
|
60
|
+
*
|
|
61
|
+
* **The scrolling is still the browser's.** This is the decision that matters most
|
|
62
|
+
* and the one worth arguing with, so here is the argument. The tempting version of
|
|
63
|
+
* this Component is a `div` with `overflow: hidden` whose content is moved by a
|
|
64
|
+
* transform on a wheel handler, with a `div` above it pretending to be a
|
|
65
|
+
* scrollbar. That version has no scroll position at all, so there is nothing for
|
|
66
|
+
* a keyboard to move, nothing for a screen reader to announce, no momentum, no
|
|
67
|
+
* scroll-into-view, and no way for a reader to know how far through they are. A
|
|
68
|
+
* custom scrollbar that is a `div` is worse than the browser's, because the browser
|
|
69
|
+
* gives a reader all of that for free and the `div` version takes it away.
|
|
70
|
+
*
|
|
71
|
+
* So the region here is a real scrollable element in the document: the browser
|
|
72
|
+
* scrolls it, the browser gives it keyboard focus when it overflows, the arrow
|
|
73
|
+
* keys, Page Up, Page Down, Home and End all work because it is a scroll
|
|
74
|
+
* container and not a picture of one. Only the appearance of the bar is taken
|
|
75
|
+
* over, and the bar is a real control layered over the native one rather than a
|
|
76
|
+
* replacement for the scrolling.
|
|
77
|
+
*
|
|
78
|
+
* **A native scrollbar cannot be styled, so this one is a sibling of the scroll
|
|
79
|
+
* container rather than a part of it.** That is the whole reason a consumer cannot
|
|
80
|
+
* assemble this from `overflow-auto` and a coloured box, and it is why the region
|
|
81
|
+
* is a named landmark: a scrollable region that a keyboard reader can tab into and
|
|
82
|
+
* that has no name is a tab stop that says nothing. The name is a prop.
|
|
83
|
+
*
|
|
84
|
+
* **A region with nothing to scroll draws no scrollbar.** Not a disabled one and
|
|
85
|
+
* not a faint one: a bar beside a region with no overflow is a claim that there is
|
|
86
|
+
* something past the edge, and a reader who is told that twice loses trust in the
|
|
87
|
+
* third bar they meet. The bar is absent, and a caller who wants it present before
|
|
88
|
+
* the content arrives says so with `keepMounted`.
|
|
89
|
+
*
|
|
90
|
+
* It is a client Component, because measuring overflow and positioning a thumb is
|
|
91
|
+
* a measurement and a measurement is not something a server can do. Everything it
|
|
92
|
+
* draws is a semantic utility, so a scoped pack boundary restyles the thumb and the
|
|
93
|
+
* track through the cascade exactly as it restyles the text beside them.
|
|
94
|
+
*/
|
|
95
|
+
declare function ScrollArea({ className, children, orientation, keepMounted, label, ...props }: ScrollAreaProps): import("react").JSX.Element;
|
|
96
|
+
export { ScrollArea };
|
|
97
|
+
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItD,sDAAsD;AACtD,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAA;AAEtE,wCAAwC;AACxC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC9E;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAA;IACnC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,mBAAmB;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,WAAoB,EACpB,WAAmB,EACnB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,+BAiEjB;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|