@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,405 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type HeadingLevel } from '../../components/ui/section.js';
|
|
3
|
+
/**
|
|
4
|
+
* One choice in a `select` field, and nothing else.
|
|
5
|
+
*
|
|
6
|
+
* A native `<option>` holds text and nothing more, which is the whole reason an
|
|
7
|
+
* account form's select is a `NativeSelect` rather than the Base UI one. The two
|
|
8
|
+
* values are a string and its label, so a caller who needs a description beside an
|
|
9
|
+
* option, a count, or anything nested is reaching for a control the platform cannot
|
|
10
|
+
* render, and `Signup01` does not pretend otherwise: it names `NativeSelect`'s own
|
|
11
|
+
* argument in its JSDoc and stops there.
|
|
12
|
+
*/
|
|
13
|
+
export type SignupOption = {
|
|
14
|
+
/** What the form submits for this choice, which is a key and not a sentence. */
|
|
15
|
+
value: string;
|
|
16
|
+
/** The words the reader sees, in the product's own language. */
|
|
17
|
+
label: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* What every account field carries, whichever control it draws.
|
|
21
|
+
*
|
|
22
|
+
* `required` is a boolean rather than an optional prop because there is no third
|
|
23
|
+
* state worth having: a field is one the reader must fill or one they may leave, and
|
|
24
|
+
* a `required?: boolean` leaves a caller who passed nothing unable to say which of
|
|
25
|
+
* the two they meant. A field is a data declaration and nothing else, and the two
|
|
26
|
+
* arms below differ only in which control is drawn and in the one property that
|
|
27
|
+
* control needs and the other has no use for.
|
|
28
|
+
*/
|
|
29
|
+
type SignupFieldBase = {
|
|
30
|
+
/** The caller's key for this field, and the key the value arrives under. */
|
|
31
|
+
id: string;
|
|
32
|
+
/** The field's visible name, and the accessible name its control announces. */
|
|
33
|
+
label: string;
|
|
34
|
+
/** Whether the reader may submit the form without filling it. */
|
|
35
|
+
required: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* A line under the control, announced with it rather than printed under the row.
|
|
38
|
+
*
|
|
39
|
+
* A node, because the honest line in this position is often not one sentence: a
|
|
40
|
+
* caller's hint, a link to the document that says why a field is being asked for,
|
|
41
|
+
* a piece of the page's own copy. It is wired to the control through
|
|
42
|
+
* `aria-describedby`, so a screen reader hears what this field is for as the reader
|
|
43
|
+
* reaches it rather than as a footnote they have to go back for.
|
|
44
|
+
*/
|
|
45
|
+
description?: ReactNode;
|
|
46
|
+
/** What the control shows while it is empty. A hint, not a name. */
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
/** The platform's own autofill hint for this field. */
|
|
49
|
+
autoComplete?: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* One field of the caller's account form, and the control it draws.
|
|
53
|
+
*
|
|
54
|
+
* **A union and not one type with an optional `options`, and that is the shape of
|
|
55
|
+
* the whole argument in this Block.** An account form's fields are the caller's
|
|
56
|
+
* declaration, not this package's opinion about what a person may be asked, and the
|
|
57
|
+
* one place that shows is the select: a select with no options is a control with
|
|
58
|
+
* nothing in it, which is a question no reader can answer, so `options` is required
|
|
59
|
+
* inside the select arm and forbidden beside the other three. A `options?: string[]`
|
|
60
|
+
* on one type would typecheck the defect and only the diagnostic at run time would
|
|
61
|
+
* catch it, which is one gate too late. The union is the same mechanism
|
|
62
|
+
* `ContactField` uses for the same reason: the shape that requires something declares
|
|
63
|
+
* it, and the shape that forbids it says so in the type rather than in prose.
|
|
64
|
+
*
|
|
65
|
+
* The cost of the union is that a caller who wants to build a field list
|
|
66
|
+
* generically, from a schema, has to narrow before it can type the result, and the
|
|
67
|
+
* answer to that is a narrowing function in the caller's own code rather than a
|
|
68
|
+
* looser type here.
|
|
69
|
+
*/
|
|
70
|
+
export type SignupField = (SignupFieldBase & {
|
|
71
|
+
type: 'select';
|
|
72
|
+
/** The choices, in the order the reader should meet them. */
|
|
73
|
+
options: readonly SignupOption[];
|
|
74
|
+
}) | (SignupFieldBase & {
|
|
75
|
+
type: 'text' | 'email' | 'tel';
|
|
76
|
+
/** A select with no options is a question nobody can answer, so it is not one here. */
|
|
77
|
+
options?: never;
|
|
78
|
+
});
|
|
79
|
+
/**
|
|
80
|
+
* One reading of the secret the reader is typing, in the caller's own words and on
|
|
81
|
+
* the caller's own scale.
|
|
82
|
+
*
|
|
83
|
+
* A named type rather than an inline object, for the ordinary reason: a consumer
|
|
84
|
+
* assembling a signup form outside JSX, from a policy module or a store, has to be
|
|
85
|
+
* able to declare the reading once and return it from a function it passes in.
|
|
86
|
+
*
|
|
87
|
+
* Both members are the caller's and the reason is the Block's JSDoc: the label is a
|
|
88
|
+
* vocabulary question and the number is a policy question, and a Block that supplied
|
|
89
|
+
* either would be shipping a security policy into every product that installed it.
|
|
90
|
+
*/
|
|
91
|
+
export type Signup01Reading = {
|
|
92
|
+
/** The reading, in the product's own words. "Weak" and "unusable" are not the same sentence. */
|
|
93
|
+
label: string;
|
|
94
|
+
/**
|
|
95
|
+
* The reading as a number, drawn against 100 because the Block cannot know the
|
|
96
|
+
* caller's scale. Pass a percentage, and pass a label that says what the number
|
|
97
|
+
* means, because the number on its own is a bar and not a reading.
|
|
98
|
+
*/
|
|
99
|
+
value: number;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* The secret, the two sentences its reveal control is named with, and the caller's
|
|
103
|
+
* own reading of it.
|
|
104
|
+
*
|
|
105
|
+
* `revealLabel` and `hideLabel` cannot be defaulted and the reason is the one
|
|
106
|
+
* `PasswordField` argues for at length: a reveal control that says one sentence in
|
|
107
|
+
* a product whose interface is in another language looks localised, because the icon
|
|
108
|
+
* is the same everywhere and the half a screen reader user hears is English. A new
|
|
109
|
+
* password is the field where that matters most of all, because it is the field a
|
|
110
|
+
* reader is looking at while they choose.
|
|
111
|
+
*/
|
|
112
|
+
export type Signup01Password = {
|
|
113
|
+
/** The field's visible name, and the accessible name its control announces. */
|
|
114
|
+
label: string;
|
|
115
|
+
/** The accessible name of a reveal control while the secret is hidden. */
|
|
116
|
+
revealLabel: string;
|
|
117
|
+
/** The accessible name of a reveal control while the secret is showing. */
|
|
118
|
+
hideLabel: string;
|
|
119
|
+
/**
|
|
120
|
+
* Called with the secret as it changes, and returning the caller's own reading of
|
|
121
|
+
* it. Omit it and no reading is drawn at all.
|
|
122
|
+
*
|
|
123
|
+
* **A function and not a string, and that is the whole argument.** A strength
|
|
124
|
+
* reading is a judgement, and a judgement has two parts that both belong to the
|
|
125
|
+
* product: the word for it, which is a vocabulary, and the number behind it, which
|
|
126
|
+
* is a policy. A Block that accepted a label would still have to know the scale to
|
|
127
|
+
* draw a bar, and a Block that drew the bar would be shipping a rule about what
|
|
128
|
+
* makes a secret acceptable into every product that installed it, invisibly, in a
|
|
129
|
+
* component library, where no consumer reads it. Calling the caller's own function
|
|
130
|
+
* is the only arrangement in which the reading is a fact about their product
|
|
131
|
+
* rather than a claim about somebody else's. The cost is stated rather than hidden:
|
|
132
|
+
* a caller with no function gets no reading, and a caller whose function is
|
|
133
|
+
* expensive is called on every keystroke, which is their decision to make and the
|
|
134
|
+
* one place on this screen where a consumer might be surprised by its own cost.
|
|
135
|
+
*/
|
|
136
|
+
strength?: (value: string) => Signup01Reading;
|
|
137
|
+
/**
|
|
138
|
+
* A line under the control.
|
|
139
|
+
*
|
|
140
|
+
* Replaced by nothing rather than stacked under the reading, because the reading
|
|
141
|
+
* and the instruction are two answers to one question and a reader who has both
|
|
142
|
+
* has been given a paragraph about a field.
|
|
143
|
+
*/
|
|
144
|
+
description?: ReactNode;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* What the caller's own account request is doing, in the caller's own words.
|
|
148
|
+
*
|
|
149
|
+
* A prop and never a state this Block writes, for the reason every Block in this
|
|
150
|
+
* family states: an account request has more outcomes than any other form in this
|
|
151
|
+
* package, from a refusal because the address is already registered to a refusal
|
|
152
|
+
* because the address was never deliverable to a breach list that caught the secret
|
|
153
|
+
* to an identity provider that is down, and one sentence cannot be true of them all.
|
|
154
|
+
*/
|
|
155
|
+
export type Signup01Status = {
|
|
156
|
+
/**
|
|
157
|
+
* Which of the four the request is in. Read by the Block for two things only.
|
|
158
|
+
*
|
|
159
|
+
* `working` disables the submit control, and `done` is the one member that makes
|
|
160
|
+
* the Block clear the whole form, because a secret and a half-written address
|
|
161
|
+
* sitting in a form after the account exists is a worse thing than a caller who
|
|
162
|
+
* wanted to keep them. Everything else is the caller's to say.
|
|
163
|
+
*/
|
|
164
|
+
state: 'idle' | 'working' | 'done' | 'error';
|
|
165
|
+
/** The words for that state, in the product's own voice. */
|
|
166
|
+
message: ReactNode;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* The way off this screen for a reader who already has an account, and where it
|
|
170
|
+
* goes.
|
|
171
|
+
*
|
|
172
|
+
* A sentence and not a noun phrase, for the reason `Login01Link` gives: a link whose
|
|
173
|
+
* visible words do not say what activating it does is a link a voice control user
|
|
174
|
+
* cannot say out loud, because the words they can see are the words they can speak.
|
|
175
|
+
*/
|
|
176
|
+
export type Signup01SignIn = {
|
|
177
|
+
/** The words on the link, and its accessible name. */
|
|
178
|
+
label: string;
|
|
179
|
+
/** The destination, in the `href` where a reader can copy it. */
|
|
180
|
+
href: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* What the form hands over: the caller's own field values keyed by the caller's own
|
|
184
|
+
* ids, and the secret.
|
|
185
|
+
*
|
|
186
|
+
* A named type and not an inline signature, for the ordinary reason: a consumer that
|
|
187
|
+
* builds an account request in its own store names it to type the object it passes
|
|
188
|
+
* in, and the alternative is the same anonymous shape written at every call site.
|
|
189
|
+
*/
|
|
190
|
+
export type SignupValue = {
|
|
191
|
+
/** The declared fields' values, keyed by the caller's own `id`s. */
|
|
192
|
+
fields: Record<string, string>;
|
|
193
|
+
/**
|
|
194
|
+
* The secret, exactly as it was typed.
|
|
195
|
+
*
|
|
196
|
+
* Held by this Block for the length of the form and cleared when the caller's own
|
|
197
|
+
* status reads `done`, which is the one piece of state this Block keeps about it.
|
|
198
|
+
*/
|
|
199
|
+
password: string;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* The props a Signup01 takes. Every string in this Block is one of them.
|
|
203
|
+
*
|
|
204
|
+
* There is a field list in this Block and it is the caller's, and the secret beside
|
|
205
|
+
* it is Prism's. That is the whole of what this Block knows about account creation:
|
|
206
|
+
* the two controls that are one arrangement rather than a declaration are the secret
|
|
207
|
+
* with its reveal control and its reading, and everything a reader is asked about
|
|
208
|
+
* their own account is the caller's to declare.
|
|
209
|
+
*/
|
|
210
|
+
export type Signup01Props = {
|
|
211
|
+
/** The short line above the title, usually which product this is. */
|
|
212
|
+
eyebrow?: ReactNode;
|
|
213
|
+
/**
|
|
214
|
+
* The heading.
|
|
215
|
+
*
|
|
216
|
+
* Required, because an account form with no heading is a form in a page, and a
|
|
217
|
+
* reader about to hand a product their name and a secret deserves to be told which
|
|
218
|
+
* product before they do.
|
|
219
|
+
*/
|
|
220
|
+
title: ReactNode;
|
|
221
|
+
/** One supporting line under the heading, for the part the title cannot carry. */
|
|
222
|
+
description?: ReactNode;
|
|
223
|
+
/**
|
|
224
|
+
* Called with what the reader typed, and the only thing this Block does with it.
|
|
225
|
+
*
|
|
226
|
+
* **Required, and the requirement is what makes it installable.** A form that
|
|
227
|
+
* collects a person's name, their address and a secret and then does nothing with
|
|
228
|
+
* them is a form that has handled a credential and discarded it without telling
|
|
229
|
+
* anyone, and the alternative shape, an optional handler with a form that renders
|
|
230
|
+
* and goes nowhere, is a legal TypeScript signature for exactly that. There is no
|
|
231
|
+
* transport here, no route and no account store, because each of those is a
|
|
232
|
+
* decision about the caller's product and its data.
|
|
233
|
+
*
|
|
234
|
+
* The secret arrives here and nowhere else. It is held by this Block for as long as
|
|
235
|
+
* the form is on screen, handed over once, and cleared the moment the caller's own
|
|
236
|
+
* status says the account exists.
|
|
237
|
+
*/
|
|
238
|
+
onSubmit: (value: SignupValue) => void;
|
|
239
|
+
/**
|
|
240
|
+
* The fields, in the order the reader should meet them.
|
|
241
|
+
*
|
|
242
|
+
* **Required, and this list is the whole design rather than a convenience.** An
|
|
243
|
+
* account form with a fixed set of fields is a form that decides what a person may
|
|
244
|
+
* say about themselves, and the decision is invisible in a review because the
|
|
245
|
+
* rendered form looks complete. It is also the decision that loses the signup: a
|
|
246
|
+
* form that cannot ask for a workspace name sends a free agent into a product
|
|
247
|
+
* where every entity is scoped to one, a form that cannot ask for a job title
|
|
248
|
+
* guarantees a sales team three weeks of discovery calls, and a form that cannot
|
|
249
|
+
* ask which estate somebody is observing sends a half a dozen accounts onto a
|
|
250
|
+
* queue that belongs to one. So `fields` is the caller's declaration, Prism names
|
|
251
|
+
* the four controls it can draw and supplies no field at all. The cost is stated
|
|
252
|
+
* rather than hidden: one column in the order the list gives, so a consumer that
|
|
253
|
+
* wants a two-column form for a subset composes two of these or reaches for a
|
|
254
|
+
* `Page`.
|
|
255
|
+
*/
|
|
256
|
+
fields: readonly SignupField[];
|
|
257
|
+
/** The secret, and the caller's own reading of it. See `Signup01Password`. */
|
|
258
|
+
password: Signup01Password;
|
|
259
|
+
/**
|
|
260
|
+
* The terms, and what accepting them means.
|
|
261
|
+
*
|
|
262
|
+
* **Optional in the type, and the cost of that is named here rather than left for
|
|
263
|
+
* a consumer to discover.** A consumer who can ship this Block without stating
|
|
264
|
+
* terms can make a legal claim they did not write, because the form on the page
|
|
265
|
+
* will read as an account creation with nothing said about what the account is
|
|
266
|
+
* for, who can see what is entered, and what happens to it afterwards. So the gate
|
|
267
|
+
* is the consumer's and this Block cannot see it: `terms` is a node the caller
|
|
268
|
+
* composes, and the check that it was accepted belongs beside the caller's own
|
|
269
|
+
* submit control, because only the caller knows whether refusing the terms is a
|
|
270
|
+
* refusal, a disabled control, or a message under the field. What this Block
|
|
271
|
+
* supplies is the one thing that is not theirs to arrange, which is the place: the
|
|
272
|
+
* terms are drawn under the fields and above the control, so a reader meets them
|
|
273
|
+
* at the moment they are about to press it rather than in a page they have already
|
|
274
|
+
* scrolled past.
|
|
275
|
+
*/
|
|
276
|
+
terms?: ReactNode;
|
|
277
|
+
/** The words on the one control that submits. */
|
|
278
|
+
submitLabel: string;
|
|
279
|
+
/**
|
|
280
|
+
* Whether the caller's request is in flight.
|
|
281
|
+
*
|
|
282
|
+
* A prop and not read from `status`, because the two answer different questions:
|
|
283
|
+
* `submitting` is the control and `status.state` is the outcome.
|
|
284
|
+
*/
|
|
285
|
+
submitting?: boolean;
|
|
286
|
+
/**
|
|
287
|
+
* What the caller's own request is doing, drawn in a live region and announced.
|
|
288
|
+
*
|
|
289
|
+
* See the Block's JSDoc for why there is no success sentence anywhere in this file
|
|
290
|
+
* and what the honest failure of an account creation looks like.
|
|
291
|
+
*/
|
|
292
|
+
status?: Signup01Status;
|
|
293
|
+
/** The link that leaves this screen for a reader who already has an account. */
|
|
294
|
+
signIn?: Signup01SignIn;
|
|
295
|
+
/** Heading level for the section heading. @defaultValue 'h2' */
|
|
296
|
+
headingLevel?: HeadingLevel;
|
|
297
|
+
/**
|
|
298
|
+
* Layout only, exactly as on every Block. Changing a Prism-owned visual property
|
|
299
|
+
* from here is prohibited.
|
|
300
|
+
*/
|
|
301
|
+
className?: string;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* An account being created: the fields the caller says to ask, the terms the caller
|
|
305
|
+
* supplies, a secret with a reveal control and the caller's own reading of it, and
|
|
306
|
+
* one control that hands all of it over.
|
|
307
|
+
*
|
|
308
|
+
* **The translation, because the pattern is not ours and the framing is.** A
|
|
309
|
+
* storefront publishes a registration card: a name, an address, a password with an
|
|
310
|
+
* eye and a strength bar, a tick beside the terms, a button and a link back to
|
|
311
|
+
* signing in, and its purpose is to turn a visitor into a shopper with a basket and a
|
|
312
|
+
* saved address. Prism's products observe a pipeline, capture a market, watch an
|
|
313
|
+
* estate and run agents, and a machine acting on behalf of a person is the whole
|
|
314
|
+
* subject, so this is the screen where a person is given the authority to run one.
|
|
315
|
+
* The composition is the storefront's and is unchanged: the declared fields, the
|
|
316
|
+
* terms, the reveal, the reading, the single control, the one link. What it creates
|
|
317
|
+
* is an identity that a machine may act under afterwards, and the difference from the
|
|
318
|
+
* storefront shows up in three places: the reading is the caller's, the terms are the
|
|
319
|
+
* caller's, and the sentence on the failure is the caller's.
|
|
320
|
+
*
|
|
321
|
+
* **What it authorises.** A successful `onSubmit` means the caller has an account and
|
|
322
|
+
* that a session may be opened for it. It does not mean the address can receive
|
|
323
|
+
* mail, that the terms were accepted, that the person is who they say they are, or
|
|
324
|
+
* that anything about them has been verified. The Block has done no more than carry
|
|
325
|
+
* the declared fields' values and one secret across a form boundary, and it holds
|
|
326
|
+
* neither after the caller's own status says the account exists.
|
|
327
|
+
*
|
|
328
|
+
* **What it deliberately does not do.** It will not score the secret. It will not
|
|
329
|
+
* decide whether the address is already in use. And it will not send a verification.
|
|
330
|
+
* Each of those is the consumer's, and each is a security decision rather than a
|
|
331
|
+
* rendering one, so a Block that made any of them would be something other than a
|
|
332
|
+
* composition. A Block that scored a secret would be shipping a security policy into
|
|
333
|
+
* every product that installed it, invisibly, in a component library, and the policy
|
|
334
|
+
* would be Prism's rather than the product's: which is why `strength` is a function
|
|
335
|
+
* returning the caller's own label and the caller's own number rather than a string
|
|
336
|
+
* this Block could have named. A Block that decided whether an address is already
|
|
337
|
+
* registered would be an account directory, which is the same enumeration oracle the
|
|
338
|
+
* sign-in surface refuses to be, and here it is worse because registration is where
|
|
339
|
+
* the directory is usually readable. And a Block that sent a verification would be
|
|
340
|
+
* sending mail, which is a transport, a sender, a reputation and a legal claim, none
|
|
341
|
+
* of which is a rendering decision.
|
|
342
|
+
*
|
|
343
|
+
* **The honest failure state is a single sentence, and the sentence is the caller's,
|
|
344
|
+
* and the reason is that an account creation has more shapes than one sentence can be
|
|
345
|
+
* true of.** It can fail because the address is already registered, because the
|
|
346
|
+
* domain can never receive mail, because a name in the list is not a name, because
|
|
347
|
+
* the caller's own field validation refuses an answer, because the terms were not
|
|
348
|
+
* accepted, because a breach list caught the secret, because a rate limit was
|
|
349
|
+
* reached, because the caller's identity provider is down, or because the caller's
|
|
350
|
+
* own database is unreachable. Those are nine outcomes and each of them is a different
|
|
351
|
+
* sentence, and which of them a reader is told about is a product's disclosure
|
|
352
|
+
* decision with a security consequence. So `status` is a prop, this file holds no
|
|
353
|
+
* `done` flag of its own and no `error` flag, and the words for a field are the
|
|
354
|
+
* caller's. What the Block does about a failure is the two things that are rendering
|
|
355
|
+
* rather than policy: it refuses a second press while the caller's request is in
|
|
356
|
+
* flight, because a second press is a second account creation attempt against a
|
|
357
|
+
* limit the Block cannot see, and it clears the form when the caller's own status
|
|
358
|
+
* reads `done`, because a secret and a half-written address sitting in a form after
|
|
359
|
+
* the account exists is a worse thing than a caller who wanted to keep them.
|
|
360
|
+
*
|
|
361
|
+
* **The reading is drawn as a `Progress` and not as a `Meter`, and the reason is that
|
|
362
|
+
* `Meter` would require this Block to choose a tone.** A `Meter` takes thresholds and
|
|
363
|
+
* a tone for each, which is exactly a policy: a reading of zero would be drawn in the
|
|
364
|
+
* destructive token, which is a claim that the reader's secret is now a hazard, and
|
|
365
|
+
* that claim belongs to the product. A `Progress` bar carries a value, a maximum and
|
|
366
|
+
* a text alternative and no judgement, so the bar is Prism's and the number and the
|
|
367
|
+
* words are the caller's. The cost is stated rather than hidden: the bar is drawn
|
|
368
|
+
* against 100 because the Block cannot know the caller's scale, so a caller whose
|
|
369
|
+
* scale is not a percentage has to pass one, and a bar that never changes colour is a
|
|
370
|
+
* bar that cannot warn anybody. Both are the caller's decisions to make and neither is
|
|
371
|
+
* one this package can make for four products at once.
|
|
372
|
+
*
|
|
373
|
+
* **The terms are optional in the type and the Block cannot see whether they were
|
|
374
|
+
* accepted, and the cost of that is stated here rather than left to be discovered.** A
|
|
375
|
+
* consumer who installs this Block and passes no `terms` has shipped an account
|
|
376
|
+
* creation that says nothing about what the account is for, who can see what is
|
|
377
|
+
* entered, or what happens to it afterwards, and a form that reads as complete is a
|
|
378
|
+
* legal claim nobody chose. The alternative was making `terms` required, and the cost
|
|
379
|
+
* of that is real too: a product whose account creation genuinely states no terms,
|
|
380
|
+
* which is a workspace invited through a link and creates its record on first use,
|
|
381
|
+
* would have had to write a sentence describing the absence, and that sentence would
|
|
382
|
+
* sit in their source describing something they do not render. So the type is
|
|
383
|
+
* optional, the placement is the Block's, and the check that the terms were accepted
|
|
384
|
+
* is the caller's beside their own control, because only they know whether refusing
|
|
385
|
+
* them is a refusal, a disabled button, or a message under the field.
|
|
386
|
+
*
|
|
387
|
+
* **The field values and the secret are held by this Block, and the reason is the one
|
|
388
|
+
* the reveal control forces.** `PasswordField` is a controlled control, so the secret
|
|
389
|
+
* has to exist before the reader types anything, and a Block that read the declared
|
|
390
|
+
* fields out of the form while holding one value in state would have two different
|
|
391
|
+
* ways of learning the same fact. So both are state, the form is submitted from that
|
|
392
|
+
* state rather than from `FormData`, and clearing on `done` is a single set. The cost
|
|
393
|
+
* is that a caller who never passes a `status` cannot clear the form from outside
|
|
394
|
+
* this Block, and the answer is that a caller who never passes a `status` also never
|
|
395
|
+
* said the account exists, so there is nothing to clear for.
|
|
396
|
+
*
|
|
397
|
+
* **It is a client Component, and the directive is unconditional.** `onSubmit` and
|
|
398
|
+
* `strength` are functions, a function is a piece of state, and state is a client
|
|
399
|
+
* module: a server Component cannot hand an event handler to a `<form>`, nor a
|
|
400
|
+
* function to a prop, so a caller rendering this from a server component gets a form
|
|
401
|
+
* that submits and calls nothing and a reading that never appears.
|
|
402
|
+
*/
|
|
403
|
+
export declare function Signup01({ eyebrow, title, description, onSubmit, fields, password, terms, submitLabel, submitting, status, signIn, headingLevel, className, }: Signup01Props): import("react").JSX.Element;
|
|
404
|
+
export default Signup01;
|
|
405
|
+
//# sourceMappingURL=signup-01.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup-01.d.ts","sourceRoot":"","sources":["../../../src/blocks/signup-01/signup-01.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAa,SAAS,EAAE,MAAM,OAAO,CAAA;AAYjD,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAGxF;;;;;;;;;GASG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAA;IACb,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;GASG;AACH,KAAK,eAAe,GAAG;IACrB,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAA;IACV,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;IACb,iEAAiE;IACjE,QAAQ,EAAE,OAAO,CAAA;IACjB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,WAAW,GACnB,CAAC,eAAe,GAAG;IACjB,IAAI,EAAE,QAAQ,CAAA;IACd,6DAA6D;IAC7D,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;CACjC,CAAC,GACF,CAAC,eAAe,GAAG;IACjB,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAA;IAC9B,uFAAuF;IACvF,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB,CAAC,CAAA;AAEN;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,gGAAgG;IAChG,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;IACb,0EAA0E;IAC1E,WAAW,EAAE,MAAM,CAAA;IACnB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,eAAe,CAAA;IAC7C;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC5C,4DAA4D;IAC5D,OAAO,EAAE,SAAS,CAAA;CACnB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAA;IACb,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,oEAAoE;IACpE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,qEAAqE;IACrE,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,kFAAkF;IAClF,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;;;;;;;;;;;;OAcG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,EAAE,SAAS,WAAW,EAAE,CAAA;IAC9B,8EAA8E;IAC9E,QAAQ,EAAE,gBAAgB,CAAA;IAC1B;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,gFAAgF;IAChF,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,gEAAgE;IAChE,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAgFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,KAAK,EACL,WAAW,EACX,UAAkB,EAClB,MAAM,EACN,MAAM,EACN,YAAmB,EACnB,SAAS,GACV,EAAE,aAAa,+BAkPf;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useId, useState } from 'react';
|
|
4
|
+
import { Button } from '../../components/ui/button.js';
|
|
5
|
+
import { Card } from '../../components/ui/card.js';
|
|
6
|
+
import { CtaLink } from '../../components/ui/cta-link.js';
|
|
7
|
+
import { Field, FieldDescription, FieldGroup, FieldLabel } from '../../components/ui/field.js';
|
|
8
|
+
import { Input } from '../../components/ui/input.js';
|
|
9
|
+
import { LiveRegion } from '../../components/ui/live-region.js';
|
|
10
|
+
import { NativeSelect } from '../../components/ui/native-select.js';
|
|
11
|
+
import { PasswordField } from '../../components/ui/password-field.js';
|
|
12
|
+
import { Progress } from '../../components/ui/progress.js';
|
|
13
|
+
import { Section, SectionHeading } from '../../components/ui/section.js';
|
|
14
|
+
import { cn } from '../../lib/utils.js';
|
|
15
|
+
/**
|
|
16
|
+
* The empty form, which is an empty record and an empty secret.
|
|
17
|
+
*
|
|
18
|
+
* A frozen constant rather than a value built on each render, so the state a Block
|
|
19
|
+
* holds has one identity for as long as it is empty and the "has this changed" check
|
|
20
|
+
* below is comparing a value rather than a fresh object.
|
|
21
|
+
*/
|
|
22
|
+
const EMPTY_SIGNUP = { fields: {}, password: '' };
|
|
23
|
+
/**
|
|
24
|
+
* Whether a caller passed a word that is not there.
|
|
25
|
+
*
|
|
26
|
+
* Read as `string | undefined` rather than as the declared type, because the check
|
|
27
|
+
* is about the value that turned up rather than about what the type promised. A
|
|
28
|
+
* JavaScript caller and a value out of a config store both arrive with the type's
|
|
29
|
+
* guarantee already gone, and the diagnostic below is the last place that can still
|
|
30
|
+
* say what was wrong.
|
|
31
|
+
*/
|
|
32
|
+
function blank(value) {
|
|
33
|
+
return value === undefined || value.trim() === '';
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The refusals, checked before anything is drawn so a caller's mistake is one
|
|
37
|
+
* diagnostic in a console rather than a nameless control on the screen where a
|
|
38
|
+
* reader is about to create an account.
|
|
39
|
+
*
|
|
40
|
+
* Four shapes, and each one is a control that cannot be used or a sentence that
|
|
41
|
+
* would be read in the wrong language. A nameless field is announced as a text
|
|
42
|
+
* field, and two nameless fields on one page are announced identically. A select
|
|
43
|
+
* with nothing in it is a question no reader can answer that looks answered only
|
|
44
|
+
* because the control is there and focusable. An English `revealLabel` in a product
|
|
45
|
+
* that does not use the word is the half-localised control the copy gate was written
|
|
46
|
+
* to end, and it is the worst of the three because a new secret is the one field a
|
|
47
|
+
* reader is watching while they choose it.
|
|
48
|
+
*/
|
|
49
|
+
function assertSignup(input) {
|
|
50
|
+
const { fields, password, signIn } = input;
|
|
51
|
+
for (const field of fields) {
|
|
52
|
+
if (blank(field.label)) {
|
|
53
|
+
throw new Error(`Signup01: the field "${field.id}" declares no label, so its control would be announced with no name ` +
|
|
54
|
+
'and two fields on this page would be announced identically. Every control this Block draws is named ' +
|
|
55
|
+
'by its label, so there is no fallback to fall back to.');
|
|
56
|
+
}
|
|
57
|
+
if (field.type === 'select' && (field.options === undefined || field.options.length === 0)) {
|
|
58
|
+
throw new Error(`Signup01: the field "${field.id}" is a select and passes no options, so it would render a control ` +
|
|
59
|
+
'with nothing in it, which is a question no reader can answer and looks answered only because the ' +
|
|
60
|
+
'control is there and focusable. Pass the choices, or declare the field as a text field and check the ' +
|
|
61
|
+
'answer in your own handler.');
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
if (blank(password.label) || blank(password.revealLabel) || blank(password.hideLabel)) {
|
|
65
|
+
throw new Error('Signup01: the secret field is missing one of its three words. A reveal control with no name is ' +
|
|
66
|
+
'announced as a button, and it is the only control on this screen a keyboard reader reaches with Tab. ' +
|
|
67
|
+
'Pass label, revealLabel and hideLabel in your own language.');
|
|
68
|
+
}
|
|
69
|
+
if (signIn !== undefined && blank(signIn.label)) {
|
|
70
|
+
throw new Error(`Signup01: the link to ${JSON.stringify(signIn.href)} declares no label, so the anchor's accessible ` +
|
|
71
|
+
'name would be its destination, which a screen reader reads as a run of characters and a mouse ' +
|
|
72
|
+
'reader cannot copy. Pass the sentence that says what following it does.');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* An account being created: the fields the caller says to ask, the terms the caller
|
|
77
|
+
* supplies, a secret with a reveal control and the caller's own reading of it, and
|
|
78
|
+
* one control that hands all of it over.
|
|
79
|
+
*
|
|
80
|
+
* **The translation, because the pattern is not ours and the framing is.** A
|
|
81
|
+
* storefront publishes a registration card: a name, an address, a password with an
|
|
82
|
+
* eye and a strength bar, a tick beside the terms, a button and a link back to
|
|
83
|
+
* signing in, and its purpose is to turn a visitor into a shopper with a basket and a
|
|
84
|
+
* saved address. Prism's products observe a pipeline, capture a market, watch an
|
|
85
|
+
* estate and run agents, and a machine acting on behalf of a person is the whole
|
|
86
|
+
* subject, so this is the screen where a person is given the authority to run one.
|
|
87
|
+
* The composition is the storefront's and is unchanged: the declared fields, the
|
|
88
|
+
* terms, the reveal, the reading, the single control, the one link. What it creates
|
|
89
|
+
* is an identity that a machine may act under afterwards, and the difference from the
|
|
90
|
+
* storefront shows up in three places: the reading is the caller's, the terms are the
|
|
91
|
+
* caller's, and the sentence on the failure is the caller's.
|
|
92
|
+
*
|
|
93
|
+
* **What it authorises.** A successful `onSubmit` means the caller has an account and
|
|
94
|
+
* that a session may be opened for it. It does not mean the address can receive
|
|
95
|
+
* mail, that the terms were accepted, that the person is who they say they are, or
|
|
96
|
+
* that anything about them has been verified. The Block has done no more than carry
|
|
97
|
+
* the declared fields' values and one secret across a form boundary, and it holds
|
|
98
|
+
* neither after the caller's own status says the account exists.
|
|
99
|
+
*
|
|
100
|
+
* **What it deliberately does not do.** It will not score the secret. It will not
|
|
101
|
+
* decide whether the address is already in use. And it will not send a verification.
|
|
102
|
+
* Each of those is the consumer's, and each is a security decision rather than a
|
|
103
|
+
* rendering one, so a Block that made any of them would be something other than a
|
|
104
|
+
* composition. A Block that scored a secret would be shipping a security policy into
|
|
105
|
+
* every product that installed it, invisibly, in a component library, and the policy
|
|
106
|
+
* would be Prism's rather than the product's: which is why `strength` is a function
|
|
107
|
+
* returning the caller's own label and the caller's own number rather than a string
|
|
108
|
+
* this Block could have named. A Block that decided whether an address is already
|
|
109
|
+
* registered would be an account directory, which is the same enumeration oracle the
|
|
110
|
+
* sign-in surface refuses to be, and here it is worse because registration is where
|
|
111
|
+
* the directory is usually readable. And a Block that sent a verification would be
|
|
112
|
+
* sending mail, which is a transport, a sender, a reputation and a legal claim, none
|
|
113
|
+
* of which is a rendering decision.
|
|
114
|
+
*
|
|
115
|
+
* **The honest failure state is a single sentence, and the sentence is the caller's,
|
|
116
|
+
* and the reason is that an account creation has more shapes than one sentence can be
|
|
117
|
+
* true of.** It can fail because the address is already registered, because the
|
|
118
|
+
* domain can never receive mail, because a name in the list is not a name, because
|
|
119
|
+
* the caller's own field validation refuses an answer, because the terms were not
|
|
120
|
+
* accepted, because a breach list caught the secret, because a rate limit was
|
|
121
|
+
* reached, because the caller's identity provider is down, or because the caller's
|
|
122
|
+
* own database is unreachable. Those are nine outcomes and each of them is a different
|
|
123
|
+
* sentence, and which of them a reader is told about is a product's disclosure
|
|
124
|
+
* decision with a security consequence. So `status` is a prop, this file holds no
|
|
125
|
+
* `done` flag of its own and no `error` flag, and the words for a field are the
|
|
126
|
+
* caller's. What the Block does about a failure is the two things that are rendering
|
|
127
|
+
* rather than policy: it refuses a second press while the caller's request is in
|
|
128
|
+
* flight, because a second press is a second account creation attempt against a
|
|
129
|
+
* limit the Block cannot see, and it clears the form when the caller's own status
|
|
130
|
+
* reads `done`, because a secret and a half-written address sitting in a form after
|
|
131
|
+
* the account exists is a worse thing than a caller who wanted to keep them.
|
|
132
|
+
*
|
|
133
|
+
* **The reading is drawn as a `Progress` and not as a `Meter`, and the reason is that
|
|
134
|
+
* `Meter` would require this Block to choose a tone.** A `Meter` takes thresholds and
|
|
135
|
+
* a tone for each, which is exactly a policy: a reading of zero would be drawn in the
|
|
136
|
+
* destructive token, which is a claim that the reader's secret is now a hazard, and
|
|
137
|
+
* that claim belongs to the product. A `Progress` bar carries a value, a maximum and
|
|
138
|
+
* a text alternative and no judgement, so the bar is Prism's and the number and the
|
|
139
|
+
* words are the caller's. The cost is stated rather than hidden: the bar is drawn
|
|
140
|
+
* against 100 because the Block cannot know the caller's scale, so a caller whose
|
|
141
|
+
* scale is not a percentage has to pass one, and a bar that never changes colour is a
|
|
142
|
+
* bar that cannot warn anybody. Both are the caller's decisions to make and neither is
|
|
143
|
+
* one this package can make for four products at once.
|
|
144
|
+
*
|
|
145
|
+
* **The terms are optional in the type and the Block cannot see whether they were
|
|
146
|
+
* accepted, and the cost of that is stated here rather than left to be discovered.** A
|
|
147
|
+
* consumer who installs this Block and passes no `terms` has shipped an account
|
|
148
|
+
* creation that says nothing about what the account is for, who can see what is
|
|
149
|
+
* entered, or what happens to it afterwards, and a form that reads as complete is a
|
|
150
|
+
* legal claim nobody chose. The alternative was making `terms` required, and the cost
|
|
151
|
+
* of that is real too: a product whose account creation genuinely states no terms,
|
|
152
|
+
* which is a workspace invited through a link and creates its record on first use,
|
|
153
|
+
* would have had to write a sentence describing the absence, and that sentence would
|
|
154
|
+
* sit in their source describing something they do not render. So the type is
|
|
155
|
+
* optional, the placement is the Block's, and the check that the terms were accepted
|
|
156
|
+
* is the caller's beside their own control, because only they know whether refusing
|
|
157
|
+
* them is a refusal, a disabled button, or a message under the field.
|
|
158
|
+
*
|
|
159
|
+
* **The field values and the secret are held by this Block, and the reason is the one
|
|
160
|
+
* the reveal control forces.** `PasswordField` is a controlled control, so the secret
|
|
161
|
+
* has to exist before the reader types anything, and a Block that read the declared
|
|
162
|
+
* fields out of the form while holding one value in state would have two different
|
|
163
|
+
* ways of learning the same fact. So both are state, the form is submitted from that
|
|
164
|
+
* state rather than from `FormData`, and clearing on `done` is a single set. The cost
|
|
165
|
+
* is that a caller who never passes a `status` cannot clear the form from outside
|
|
166
|
+
* this Block, and the answer is that a caller who never passes a `status` also never
|
|
167
|
+
* said the account exists, so there is nothing to clear for.
|
|
168
|
+
*
|
|
169
|
+
* **It is a client Component, and the directive is unconditional.** `onSubmit` and
|
|
170
|
+
* `strength` are functions, a function is a piece of state, and state is a client
|
|
171
|
+
* module: a server Component cannot hand an event handler to a `<form>`, nor a
|
|
172
|
+
* function to a prop, so a caller rendering this from a server component gets a form
|
|
173
|
+
* that submits and calls nothing and a reading that never appears.
|
|
174
|
+
*/
|
|
175
|
+
export function Signup01({ eyebrow, title, description, onSubmit, fields, password, terms, submitLabel, submitting = false, status, signIn, headingLevel = 'h2', className, }) {
|
|
176
|
+
assertSignup({ fields, password, signIn });
|
|
177
|
+
const generated = useId();
|
|
178
|
+
const working = submitting || status?.state === 'working';
|
|
179
|
+
const done = status?.state === 'done';
|
|
180
|
+
/*
|
|
181
|
+
* The declared values and the secret, and the two pieces of render-time state
|
|
182
|
+
* that let the form be cleared when the caller's own status says the account
|
|
183
|
+
* exists. The second is adjusted during render rather than in an effect, because
|
|
184
|
+
* the trigger is a prop changing and this is the arrangement React documents for
|
|
185
|
+
* it: a set during render is applied before the browser paints, so the reader never
|
|
186
|
+
* sees the secret they just chose sitting in the field for a frame after the
|
|
187
|
+
* account has been created.
|
|
188
|
+
*/
|
|
189
|
+
const [typed, setTyped] = useState(EMPTY_SIGNUP);
|
|
190
|
+
const [wasDone, setWasDone] = useState(done);
|
|
191
|
+
if (done !== wasDone) {
|
|
192
|
+
setWasDone(done);
|
|
193
|
+
if (done)
|
|
194
|
+
setTyped(EMPTY_SIGNUP);
|
|
195
|
+
}
|
|
196
|
+
const setField = (id) => (value) => setTyped((was) => ({ ...was, fields: { ...was.fields, [id]: value } }));
|
|
197
|
+
const setSecret = (value) => setTyped((was) => ({ ...was, password: value }));
|
|
198
|
+
const handleSubmit = (event) => {
|
|
199
|
+
event.preventDefault();
|
|
200
|
+
onSubmit(typed);
|
|
201
|
+
};
|
|
202
|
+
const reading = password.strength === undefined ? null : password.strength(typed.password);
|
|
203
|
+
return (_jsx(Section, { "data-slot": "signup-01", className: cn(className), children: _jsxs("div", { "data-slot": "signup-01-body", className: "flex flex-col gap-10", children: [_jsx(SectionHeading, { as: headingLevel, align: "left", eyebrow: eyebrow, title: title, description: description }), _jsx(Card, { "data-slot": "signup-01-card", className: "max-w-measure-narrow gap-0 px-6", children: _jsxs("form", { "data-slot": "signup-01-form", onSubmit: handleSubmit, className: "flex w-full flex-col gap-5", children: [_jsxs(FieldGroup, { "data-slot": "signup-01-fields", children: [fields.map((field) => {
|
|
204
|
+
const controlId = `${generated}-${field.id}`;
|
|
205
|
+
const descriptionId = `${controlId}-description`;
|
|
206
|
+
return (_jsxs(Field, { "data-slot": "signup-01-field", "data-field": field.type, children: [_jsx(FieldLabel, { htmlFor: controlId, children: field.label }), field.type === 'select' ? (_jsx(NativeSelect, { id: controlId, name: field.id, value: typed.fields[field.id] ?? '', onChange: (event) => setField(field.id)(event.target.value), required: field.required, "aria-describedby": field.description === undefined ? undefined : descriptionId, children: field.options.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value))) })) : (_jsx(Input, { id: controlId, name: field.id, type: field.type, placeholder: field.placeholder, autoComplete: field.autoComplete, value: typed.fields[field.id] ?? '', onChange: (event) => setField(field.id)(event.target.value), required: field.required, "aria-describedby": field.description === undefined ? undefined : descriptionId })), field.description === undefined ? null : (_jsx(FieldDescription, { id: descriptionId, children: field.description }))] }, field.id));
|
|
207
|
+
}), _jsx(PasswordField, { value: typed.password, onValueChange: setSecret, label: password.label, description: password.description, revealLabel: password.revealLabel, hideLabel: password.hideLabel, autoComplete: "new-password" })] }), reading === null ? null : (_jsxs("div", { "data-slot": "signup-01-strength", className: "flex flex-col gap-1.5", children: [_jsx(Progress, { value: reading.value, max: 100, valueText: reading.label }), _jsx("span", { "data-slot": "signup-01-strength-label", className: "text-muted-foreground text-sm", children: reading.label })] })), terms === undefined ? null : (_jsx("p", { "data-slot": "signup-01-terms", className: "text-muted-foreground text-sm text-pretty", children: terms })), _jsxs("div", { "data-slot": "signup-01-actions", className: "flex flex-col gap-3", children: [_jsx(Button, { "data-slot": "signup-01-submit", type: "submit", disabled: working, className: "w-full", children: submitLabel }), _jsx(LiveRegion, { "data-slot": "signup-01-status", politeness: status?.state === 'error' ? 'assertive' : 'polite', busy: working, className: cn('text-sm', status?.state === 'error' ? 'text-destructive font-medium' : 'text-muted-foreground'), children: status?.message })] })] }) }), signIn === undefined ? null : (_jsx(CtaLink, { "data-slot": "signup-01-sign-in", href: signIn.href, variant: "ghost", size: "sm", className: "self-start", children: signIn.label }))] }) }));
|
|
208
|
+
}
|
|
209
|
+
export default Signup01;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { SiteFooter, default } from './site-footer';
|
|
2
|
-
export type { SiteFooterProps, SiteFooterColumn, SiteFooterLink, SiteFooterSocial } from './site-footer';
|
|
1
|
+
export { SiteFooter, default } from './site-footer.js';
|
|
2
|
+
export type { SiteFooterProps, SiteFooterColumn, SiteFooterLink, SiteFooterSocial } from './site-footer.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SiteFooter, default } from './site-footer';
|
|
1
|
+
export { SiteFooter, default } from './site-footer.js';
|