@pontive/pontkit-core 1.0.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/README.md +142 -0
- package/catalog.json +2246 -0
- package/dist/assets/icons/account.icon.d.ts +1 -0
- package/dist/assets/icons/badge-check-icon.d.ts +1 -0
- package/dist/assets/icons/burger-menu.icon.d.ts +1 -0
- package/dist/assets/icons/check.d.ts +1 -0
- package/dist/assets/icons/clock-icon.d.ts +1 -0
- package/dist/assets/icons/close.icon.d.ts +1 -0
- package/dist/assets/icons/copy.icon.d.ts +1 -0
- package/dist/assets/icons/edit.icon.d.ts +1 -0
- package/dist/assets/icons/email.d.ts +1 -0
- package/dist/assets/icons/image-icon.d.ts +1 -0
- package/dist/assets/icons/index.d.ts +20 -0
- package/dist/assets/icons/link-icon.d.ts +1 -0
- package/dist/assets/icons/location.icon.d.ts +1 -0
- package/dist/assets/icons/members-icon.d.ts +1 -0
- package/dist/assets/icons/personal-info.icon.d.ts +1 -0
- package/dist/assets/icons/plusIcon.d.ts +1 -0
- package/dist/assets/icons/refresh-cw-icon.d.ts +1 -0
- package/dist/assets/icons/search-icon.d.ts +1 -0
- package/dist/assets/icons/triangle-alert.d.ts +1 -0
- package/dist/assets/icons/url.icon.d.ts +1 -0
- package/dist/assets/icons/user-round-check-icon.d.ts +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/renderers/auth/button/_passkey-button.d.ts +81 -0
- package/dist/components/renderers/auth/button/_provider-button.d.ts +103 -0
- package/dist/components/renderers/auth/button/_submit-button.d.ts +71 -0
- package/dist/components/renderers/auth/button/button.defs.d.ts +21 -0
- package/dist/components/renderers/auth/button/button.stories/passkey-button.stories.d.ts +12 -0
- package/dist/components/renderers/auth/button/button.stories/provider-button.stories.d.ts +24 -0
- package/dist/components/renderers/auth/button/button.stories/submit-button.stories.d.ts +12 -0
- package/dist/components/renderers/auth/button/button.types.d.ts +54 -0
- package/dist/components/renderers/auth/button/index.d.ts +11 -0
- package/dist/components/renderers/auth/edit-identifier/_edit-identifier.d.ts +33 -0
- package/dist/components/renderers/auth/edit-identifier/edit-identifier.defs.d.ts +2 -0
- package/dist/components/renderers/auth/edit-identifier/edit-identifier.types.d.ts +7 -0
- package/dist/components/renderers/auth/edit-identifier/index.d.ts +7 -0
- package/dist/components/renderers/auth/field/_confirm-field.d.ts +168 -0
- package/dist/components/renderers/auth/field/_email-field.d.ts +160 -0
- package/dist/components/renderers/auth/field/_identifier-field.d.ts +171 -0
- package/dist/components/renderers/auth/field/_name-field.d.ts +186 -0
- package/dist/components/renderers/auth/field/_password-field.d.ts +230 -0
- package/dist/components/renderers/auth/field/_phone-field.d.ts +160 -0
- package/dist/components/renderers/auth/field/_username-field.d.ts +186 -0
- package/dist/components/renderers/auth/field/field.defs.d.ts +24 -0
- package/dist/components/renderers/auth/field/field.stories/confirm-field.stories.d.ts +14 -0
- package/dist/components/renderers/auth/field/field.stories/email-field.stories.d.ts +13 -0
- package/dist/components/renderers/auth/field/field.stories/helpers.d.ts +2 -0
- package/dist/components/renderers/auth/field/field.stories/identifier-field.stories.d.ts +25 -0
- package/dist/components/renderers/auth/field/field.stories/name-field.stories.d.ts +14 -0
- package/dist/components/renderers/auth/field/field.stories/password-field.stories.d.ts +15 -0
- package/dist/components/renderers/auth/field/field.stories/phone-field.stories.d.ts +13 -0
- package/dist/components/renderers/auth/field/field.stories/username-field.stories.d.ts +13 -0
- package/dist/components/renderers/auth/field/field.types.d.ts +120 -0
- package/dist/components/renderers/auth/field/index.d.ts +19 -0
- package/dist/components/renderers/auth/form/_form.d.ts +68 -0
- package/dist/components/renderers/auth/form/form.defs.d.ts +6 -0
- package/dist/components/renderers/auth/form/form.stories.d.ts +7 -0
- package/dist/components/renderers/auth/form/form.types.d.ts +14 -0
- package/dist/components/renderers/auth/form/index.d.ts +7 -0
- package/dist/components/renderers/auth/index.d.ts +9 -0
- package/dist/components/renderers/auth/otp/_otp-resend.d.ts +46 -0
- package/dist/components/renderers/auth/otp/_otp.d.ts +58 -0
- package/dist/components/renderers/auth/otp/index.d.ts +9 -0
- package/dist/components/renderers/auth/otp/otp.defs.d.ts +2 -0
- package/dist/components/renderers/auth/otp/otp.stories.d.ts +5 -0
- package/dist/components/renderers/auth/otp/otp.types.d.ts +25 -0
- package/dist/components/renderers/auth/provider-field/_provider-field.d.ts +124 -0
- package/dist/components/renderers/auth/provider-field/index.d.ts +7 -0
- package/dist/components/renderers/auth/provider-field/provider-field.stories.d.ts +25 -0
- package/dist/components/renderers/auth/provider-field/provider-field.types.d.ts +17 -0
- package/dist/components/renderers/auth/qr-code/_qr-code.d.ts +36 -0
- package/dist/components/renderers/auth/qr-code/index.d.ts +7 -0
- package/dist/components/renderers/auth/qr-code/qr-code.defs.d.ts +2 -0
- package/dist/components/renderers/auth/qr-code/qr-code.stories.d.ts +5 -0
- package/dist/components/renderers/auth/qr-code/qr-code.types.d.ts +11 -0
- package/dist/components/renderers/auth/recovery-codes/_recovery-codes.d.ts +27 -0
- package/dist/components/renderers/auth/recovery-codes/index.d.ts +7 -0
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.defs.d.ts +2 -0
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.stories.d.ts +5 -0
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.types.d.ts +7 -0
- package/dist/components/renderers/auth/secret/_secret.d.ts +27 -0
- package/dist/components/renderers/auth/secret/index.d.ts +7 -0
- package/dist/components/renderers/auth/secret/secret.defs.d.ts +2 -0
- package/dist/components/renderers/auth/secret/secret.stories.d.ts +5 -0
- package/dist/components/renderers/auth/secret/secret.types.d.ts +9 -0
- package/dist/components/renderers/feedback/alert/_alert.d.ts +61 -0
- package/dist/components/renderers/feedback/alert/alert.defs.d.ts +7 -0
- package/dist/components/renderers/feedback/alert/alert.stories.d.ts +11 -0
- package/dist/components/renderers/feedback/alert/alert.types.d.ts +14 -0
- package/dist/components/renderers/feedback/alert/index.d.ts +7 -0
- package/dist/components/renderers/feedback/countdown/_countdown.d.ts +20 -0
- package/dist/components/renderers/feedback/countdown/countdown.stories.d.ts +7 -0
- package/dist/components/renderers/feedback/countdown/countdown.types.d.ts +6 -0
- package/dist/components/renderers/feedback/countdown/index.d.ts +7 -0
- package/dist/components/renderers/feedback/index.d.ts +2 -0
- package/dist/components/renderers/index.d.ts +6 -0
- package/dist/components/renderers/layout/block/_block.d.ts +41 -0
- package/dist/components/renderers/layout/block/block.stories.d.ts +8 -0
- package/dist/components/renderers/layout/block/block.types.d.ts +10 -0
- package/dist/components/renderers/layout/block/index.d.ts +7 -0
- package/dist/components/renderers/layout/container/_container.d.ts +24 -0
- package/dist/components/renderers/layout/container/container.stories.d.ts +19 -0
- package/dist/components/renderers/layout/container/container.types.d.ts +7 -0
- package/dist/components/renderers/layout/container/index.d.ts +7 -0
- package/dist/components/renderers/layout/divider/_divider.d.ts +27 -0
- package/dist/components/renderers/layout/divider/divider.stories.d.ts +6 -0
- package/dist/components/renderers/layout/divider/divider.types.d.ts +6 -0
- package/dist/components/renderers/layout/divider/index.d.ts +7 -0
- package/dist/components/renderers/layout/gap/_gap.d.ts +9 -0
- package/dist/components/renderers/layout/gap/gap.stories.d.ts +7 -0
- package/dist/components/renderers/layout/gap/gap.types.d.ts +6 -0
- package/dist/components/renderers/layout/gap/index.d.ts +7 -0
- package/dist/components/renderers/layout/header/_header.d.ts +28 -0
- package/dist/components/renderers/layout/header/header.stories.d.ts +7 -0
- package/dist/components/renderers/layout/header/header.types.d.ts +9 -0
- package/dist/components/renderers/layout/header/index.d.ts +7 -0
- package/dist/components/renderers/layout/index.d.ts +5 -0
- package/dist/components/renderers/navigation/index.d.ts +1 -0
- package/dist/components/renderers/navigation/link/_link.d.ts +76 -0
- package/dist/components/renderers/navigation/link/index.d.ts +7 -0
- package/dist/components/renderers/navigation/link/link.defs.d.ts +3 -0
- package/dist/components/renderers/navigation/link/link.stories.d.ts +9 -0
- package/dist/components/renderers/navigation/link/link.types.d.ts +12 -0
- package/dist/components/renderers/typography/index.d.ts +2 -0
- package/dist/components/renderers/typography/subtitle/_subtitle.d.ts +8 -0
- package/dist/components/renderers/typography/subtitle/index.d.ts +7 -0
- package/dist/components/renderers/typography/subtitle/subtitle.stories.d.ts +6 -0
- package/dist/components/renderers/typography/subtitle/subtitle.types.d.ts +4 -0
- package/dist/components/renderers/typography/title/_title.d.ts +13 -0
- package/dist/components/renderers/typography/title/index.d.ts +7 -0
- package/dist/components/renderers/typography/title/title.stories.d.ts +6 -0
- package/dist/components/renderers/typography/title/title.types.d.ts +4 -0
- package/dist/components/renderers/visuals/index.d.ts +2 -0
- package/dist/components/renderers/visuals/logo/_logo.d.ts +21 -0
- package/dist/components/renderers/visuals/logo/index.d.ts +7 -0
- package/dist/components/renderers/visuals/logo/logo.stories.d.ts +17 -0
- package/dist/components/renderers/visuals/logo/logo.types.d.ts +5 -0
- package/dist/components/renderers/visuals/watermark/_watermark.d.ts +47 -0
- package/dist/components/renderers/visuals/watermark/index.d.ts +7 -0
- package/dist/components/renderers/visuals/watermark/watermark.defs.d.ts +4 -0
- package/dist/components/renderers/visuals/watermark/watermark.stories.d.ts +8 -0
- package/dist/components/renderers/visuals/watermark/watermark.types.d.ts +11 -0
- package/dist/components/ui/badge-selector/badge-selector.d.ts +44 -0
- package/dist/components/ui/hint/index.d.ts +6 -0
- package/dist/components/ui/index.d.ts +7 -0
- package/dist/components/ui/modal/index.d.ts +12 -0
- package/dist/components/ui/multi-email-input/multi-email-input.d.ts +32 -0
- package/dist/components/ui/multi-select-filter/pont-multi-select-filter.d.ts +18 -0
- package/dist/components/ui/paginator/paginator.d.ts +16 -0
- package/dist/components/ui/pont-sidedrawer/pont-sidedrawer.d.ts +23 -0
- package/dist/components/widgets/index.d.ts +6 -0
- package/dist/components/widgets/pont-account-settings/index.d.ts +3 -0
- package/dist/components/widgets/pont-account-settings/pont-account-settings.d.ts +63 -0
- package/dist/components/widgets/pont-account-settings/profile/classes.d.ts +9 -0
- package/dist/components/widgets/pont-account-settings/profile/components/account-info.d.ts +68 -0
- package/dist/components/widgets/pont-account-settings/profile/components/index.d.ts +4 -0
- package/dist/components/widgets/pont-account-settings/profile/components/location-info.d.ts +31 -0
- package/dist/components/widgets/pont-account-settings/profile/components/personal-info.d.ts +37 -0
- package/dist/components/widgets/pont-account-settings/profile/components/urls-info.d.ts +31 -0
- package/dist/components/widgets/pont-account-settings/profile/index.d.ts +2 -0
- package/dist/components/widgets/pont-account-settings/profile/pont-profile.d.ts +24 -0
- package/dist/components/widgets/pont-account-settings/security-settings/index.d.ts +1 -0
- package/dist/components/widgets/pont-account-settings/security-settings/security-settings.d.ts +11 -0
- package/dist/components/widgets/pont-account-settings/sidebar/classes.d.ts +9 -0
- package/dist/components/widgets/pont-account-settings/sidebar/sidebar.d.ts +26 -0
- package/dist/components/widgets/pont-member-management/components/action-modal.d.ts +33 -0
- package/dist/components/widgets/pont-member-management/components/index.d.ts +6 -0
- package/dist/components/widgets/pont-member-management/components/invitations-panel.d.ts +48 -0
- package/dist/components/widgets/pont-member-management/components/invite-members-form.d.ts +33 -0
- package/dist/components/widgets/pont-member-management/components/manage-roles-form.d.ts +30 -0
- package/dist/components/widgets/pont-member-management/components/members-panel.d.ts +42 -0
- package/dist/components/widgets/pont-member-management/components/monitoring-cards.d.ts +20 -0
- package/dist/components/widgets/pont-member-management/index.d.ts +1 -0
- package/dist/components/widgets/pont-member-management/mock-data.d.ts +4 -0
- package/dist/components/widgets/pont-member-management/pont-member-management.d.ts +74 -0
- package/dist/components/widgets/pont-member-management/types.d.ts +4 -0
- package/dist/components/widgets/pont-nav-user/index.d.ts +1 -0
- package/dist/components/widgets/pont-nav-user/pont-nav-user.d.ts +55 -0
- package/dist/components/widgets/pont-preview/pont-preview.d.ts +19 -0
- package/dist/components/widgets/pont-signin/pont-signin.d.ts +16 -0
- package/dist/components/widgets/pont-signup/pont-signup.d.ts +16 -0
- package/dist/components/wrappers/base-element/base-element.d.ts +19 -0
- package/dist/components/wrappers/index.d.ts +7 -0
- package/dist/components/wrappers/layout/layout.d.ts +57 -0
- package/dist/components/wrappers/pont-auth-state/pont-auth-state.d.ts +12 -0
- package/dist/components/wrappers/pont-authenticated/pont-authenticated.d.ts +27 -0
- package/dist/components/wrappers/pont-provider/pont-provider.d.ts +107 -0
- package/dist/components/wrappers/pont-signed-in/pont-signed-in.d.ts +11 -0
- package/dist/components/wrappers/pont-signed-out/pont-signed-out.d.ts +11 -0
- package/dist/constants/classes.d.ts +9 -0
- package/dist/constants/components.d.ts +6 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/regex.d.ts +4 -0
- package/dist/constants/styles.d.ts +1 -0
- package/dist/context/auth-context.d.ts +17 -0
- package/dist/context/branding-context.d.ts +52 -0
- package/dist/context/customization-context.d.ts +4 -0
- package/dist/context/design-context.d.ts +47 -0
- package/dist/context/env-context.d.ts +4 -0
- package/dist/context/index.d.ts +8 -0
- package/dist/context/locale-context.d.ts +3 -0
- package/dist/context/render-spec.d.ts +3 -0
- package/dist/context/user-context.d.ts +8 -0
- package/dist/events/account-settings.d.ts +10 -0
- package/dist/events/index.d.ts +15 -0
- package/dist/events/locales.d.ts +6 -0
- package/dist/events/member-management.d.ts +10 -0
- package/dist/funcs/env.d.ts +3 -0
- package/dist/funcs/index.d.ts +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5830 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +32461 -0
- package/dist/index.mjs.map +1 -0
- package/dist/primitives/assets/icons/anchor.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/app-window.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/arrow-right.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/arrow-up-circle.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/arrow-up-right.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/arrow-up.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/arrows.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/asterisk.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/badge-alert.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/badge-check.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/badge-info.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/badge-x.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/bell.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/bookmark.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/brand-javascript.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/captions.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/carousel-arrow-left.d.ts +1 -0
- package/dist/primitives/assets/icons/carousel-arrow-right.d.ts +1 -0
- package/dist/primitives/assets/icons/chart.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/check.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/chevron-right.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/chorven-down.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/circle-alert.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/circle-check.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/circle-fading-arrow-up.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/circle-x.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/circle.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/close.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/cloud.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/code.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/copy.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/corner-down-left.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/credit-card.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/decrease.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/dot.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/down.d.ts +1 -0
- package/dist/primitives/assets/icons/external-link.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/eye-off.d.ts +1 -0
- package/dist/primitives/assets/icons/eye-off.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/eye-on.d.ts +1 -0
- package/dist/primitives/assets/icons/file-code.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/folder-code.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/git-branch-minus.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/git-branch-plus.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/help-circle.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/house.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/inbox.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/index.d.ts +67 -0
- package/dist/primitives/assets/icons/info.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/loader-circle.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/mail-warning.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/mail.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/minus.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/plus.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/rabbit.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/radio-group.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/radio.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/refresh-ccw.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/refresh-cw.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/search.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/settings.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/shield-alert.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/shopping-bag.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/star.icon.d.ts +2 -0
- package/dist/primitives/assets/icons/tick.icon.d.ts +1 -0
- package/dist/primitives/assets/icons/up-down.d.ts +1 -0
- package/dist/primitives/assets/icons/up.d.ts +1 -0
- package/dist/primitives/assets/icons/wand.icon.d.ts +2 -0
- package/dist/primitives/components/index.d.ts +1 -0
- package/dist/primitives/components/ui/accordion/accordion-content.d.ts +20 -0
- package/dist/primitives/components/ui/accordion/accordion-item.d.ts +21 -0
- package/dist/primitives/components/ui/accordion/accordion-trigger.d.ts +17 -0
- package/dist/primitives/components/ui/accordion/accordion.d.ts +25 -0
- package/dist/primitives/components/ui/accordion/accordion.defs.d.ts +10 -0
- package/dist/primitives/components/ui/accordion/accordion.stories.d.ts +10 -0
- package/dist/primitives/components/ui/accordion/accordion.styles.d.ts +4 -0
- package/dist/primitives/components/ui/alert/_alert-action.d.ts +21 -0
- package/dist/primitives/components/ui/alert/_alert-description.d.ts +21 -0
- package/dist/primitives/components/ui/alert/_alert-title.d.ts +20 -0
- package/dist/primitives/components/ui/alert/_alert.d.ts +25 -0
- package/dist/primitives/components/ui/alert/alert.d.ts +16 -0
- package/dist/primitives/components/ui/alert/alert.defs.d.ts +4 -0
- package/dist/primitives/components/ui/alert/alert.stories.d.ts +12 -0
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.d.ts +16 -0
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +4 -0
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +4 -0
- package/dist/primitives/components/ui/avatar/_avatar-badge.d.ts +21 -0
- package/dist/primitives/components/ui/avatar/_avatar-fallback.d.ts +21 -0
- package/dist/primitives/components/ui/avatar/_avatar-group-count.d.ts +21 -0
- package/dist/primitives/components/ui/avatar/_avatar-group.d.ts +21 -0
- package/dist/primitives/components/ui/avatar/_avatar-image.d.ts +28 -0
- package/dist/primitives/components/ui/avatar/_avatar.d.ts +65 -0
- package/dist/primitives/components/ui/avatar/avatar.d.ts +20 -0
- package/dist/primitives/components/ui/avatar/avatar.defs.d.ts +8 -0
- package/dist/primitives/components/ui/avatar/avatar.stories.d.ts +13 -0
- package/dist/primitives/components/ui/badge/_badge.d.ts +43 -0
- package/dist/primitives/components/ui/badge/badge.d.ts +10 -0
- package/dist/primitives/components/ui/badge/badge.defs.d.ts +8 -0
- package/dist/primitives/components/ui/badge/badge.stories.d.ts +10 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +11 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-item.d.ts +14 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-link.d.ts +15 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-list.d.ts +14 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-separator.d.ts +11 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-text.d.ts +14 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.d.ts +21 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.stories.d.ts +4 -0
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.styles.d.ts +4 -0
- package/dist/primitives/components/ui/button/_button.d.ts +62 -0
- package/dist/primitives/components/ui/button/button.d.ts +10 -0
- package/dist/primitives/components/ui/button/button.defs.d.ts +14 -0
- package/dist/primitives/components/ui/button/button.stories.d.ts +13 -0
- package/dist/primitives/components/ui/button/button.style.d.ts +4 -0
- package/dist/primitives/components/ui/calendar/calendar.d.ts +24 -0
- package/dist/primitives/components/ui/calendar/calendar.helpers.d.ts +3 -0
- package/dist/primitives/components/ui/calendar/calendar.stories.d.ts +4 -0
- package/dist/primitives/components/ui/calendar/calendar.style.d.ts +40 -0
- package/dist/primitives/components/ui/card/_card-action.d.ts +21 -0
- package/dist/primitives/components/ui/card/_card-content.d.ts +20 -0
- package/dist/primitives/components/ui/card/_card-description.d.ts +21 -0
- package/dist/primitives/components/ui/card/_card-footer.d.ts +26 -0
- package/dist/primitives/components/ui/card/_card-header.d.ts +26 -0
- package/dist/primitives/components/ui/card/_card-title.d.ts +20 -0
- package/dist/primitives/components/ui/card/_card.d.ts +25 -0
- package/dist/primitives/components/ui/card/card.d.ts +22 -0
- package/dist/primitives/components/ui/card/card.defs.d.ts +10 -0
- package/dist/primitives/components/ui/card/card.stories.d.ts +11 -0
- package/dist/primitives/components/ui/carousel/carousel.d.ts +24 -0
- package/dist/primitives/components/ui/carousel/carousel.stories.d.ts +6 -0
- package/dist/primitives/components/ui/carousel/carousel.styles.d.ts +32 -0
- package/dist/primitives/components/ui/checkbox/_checkbox.d.ts +92 -0
- package/dist/primitives/components/ui/checkbox/checkbox.d.ts +10 -0
- package/dist/primitives/components/ui/checkbox/checkbox.defs.d.ts +11 -0
- package/dist/primitives/components/ui/checkbox/checkbox.stories.d.ts +13 -0
- package/dist/primitives/components/ui/collapsible/collapsible-content.d.ts +17 -0
- package/dist/primitives/components/ui/collapsible/collapsible-trigger.d.ts +17 -0
- package/dist/primitives/components/ui/collapsible/collapsible.d.ts +23 -0
- package/dist/primitives/components/ui/collapsible/collapsible.stories.d.ts +5 -0
- package/dist/primitives/components/ui/combobox/combo-box-empty.d.ts +14 -0
- package/dist/primitives/components/ui/combobox/combo-box-group.d.ts +37 -0
- package/dist/primitives/components/ui/combobox/combo-box-input.d.ts +17 -0
- package/dist/primitives/components/ui/combobox/combo-box-item.d.ts +25 -0
- package/dist/primitives/components/ui/combobox/combo-box-trigger.d.ts +18 -0
- package/dist/primitives/components/ui/combobox/combo-box-value.d.ts +18 -0
- package/dist/primitives/components/ui/combobox/combo-box.d.ts +35 -0
- package/dist/primitives/components/ui/combobox/combo-box.stories.d.ts +10 -0
- package/dist/primitives/components/ui/combobox/combo-box.styles.d.ts +14 -0
- package/dist/primitives/components/ui/command/command-empty.atom.d.ts +18 -0
- package/dist/primitives/components/ui/command/command-group.atom.d.ts +19 -0
- package/dist/primitives/components/ui/command/command-input.atom.d.ts +15 -0
- package/dist/primitives/components/ui/command/command-item.atom.d.ts +24 -0
- package/dist/primitives/components/ui/command/command-list.atom.d.ts +15 -0
- package/dist/primitives/components/ui/command/command-separator.atom.d.ts +14 -0
- package/dist/primitives/components/ui/command/command.d.ts +22 -0
- package/dist/primitives/components/ui/command/command.helpers.d.ts +6 -0
- package/dist/primitives/components/ui/command/command.stories.d.ts +6 -0
- package/dist/primitives/components/ui/command/command.styles.d.ts +15 -0
- package/dist/primitives/components/ui/context-menu/context-menu-checkbox-Item.d.ts +16 -0
- package/dist/primitives/components/ui/context-menu/context-menu-content.d.ts +14 -0
- package/dist/primitives/components/ui/context-menu/context-menu-group.d.ts +10 -0
- package/dist/primitives/components/ui/context-menu/context-menu-item.d.ts +13 -0
- package/dist/primitives/components/ui/context-menu/context-menu-radio-item.d.ts +16 -0
- package/dist/primitives/components/ui/context-menu/context-menu-seperator.d.ts +6 -0
- package/dist/primitives/components/ui/context-menu/context-menu-shortcut.d.ts +9 -0
- package/dist/primitives/components/ui/context-menu/context-menu-trigger.d.ts +5 -0
- package/dist/primitives/components/ui/context-menu/context-menu.d.ts +40 -0
- package/dist/primitives/components/ui/context-menu/context-menu.helpers.d.ts +1 -0
- package/dist/primitives/components/ui/context-menu/context-menu.styles.d.ts +20 -0
- package/dist/primitives/components/ui/context-menu/contextMenu.stories.d.ts +4 -0
- package/dist/primitives/components/ui/data-table/data-table.d.ts +98 -0
- package/dist/primitives/components/ui/data-table/data-table.stories.d.ts +6 -0
- package/dist/primitives/components/ui/data-table/index.d.ts +7 -0
- package/dist/primitives/components/ui/date-picker/date-picker.d.ts +12 -0
- package/dist/primitives/components/ui/date-picker/date-picker.stories.d.ts +4 -0
- package/dist/primitives/components/ui/date-picker/date-picker.styles.d.ts +6 -0
- package/dist/primitives/components/ui/dialog/dialog-close.d.ts +15 -0
- package/dist/primitives/components/ui/dialog/dialog-content.d.ts +15 -0
- package/dist/primitives/components/ui/dialog/dialog-footer.d.ts +9 -0
- package/dist/primitives/components/ui/dialog/dialog-header.d.ts +7 -0
- package/dist/primitives/components/ui/dialog/dialog-overly.d.ts +5 -0
- package/dist/primitives/components/ui/dialog/dialog-trigger.d.ts +11 -0
- package/dist/primitives/components/ui/dialog/dialog.d.ts +30 -0
- package/dist/primitives/components/ui/dialog/dialog.stories.d.ts +6 -0
- package/dist/primitives/components/ui/dialog/dialog.styles.d.ts +17 -0
- package/dist/primitives/components/ui/drawer/drawer-close.d.ts +15 -0
- package/dist/primitives/components/ui/drawer/drawer-content.d.ts +14 -0
- package/dist/primitives/components/ui/drawer/drawer-description.d.ts +9 -0
- package/dist/primitives/components/ui/drawer/drawer-footer.d.ts +9 -0
- package/dist/primitives/components/ui/drawer/drawer-header.d.ts +8 -0
- package/dist/primitives/components/ui/drawer/drawer-overlay.d.ts +5 -0
- package/dist/primitives/components/ui/drawer/drawer-title.d.ts +9 -0
- package/dist/primitives/components/ui/drawer/drawer-trigger.d.ts +11 -0
- package/dist/primitives/components/ui/drawer/drawer.d.ts +40 -0
- package/dist/primitives/components/ui/drawer/drawer.helpers.d.ts +2 -0
- package/dist/primitives/components/ui/drawer/drawer.stories.d.ts +4 -0
- package/dist/primitives/components/ui/drawer/drawer.styles.d.ts +14 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +17 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-content.d.ts +18 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-group.d.ts +11 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-item.d.ts +17 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +16 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +8 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +8 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +5 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.d.ts +40 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +3 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +20 -0
- package/dist/primitives/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +8 -0
- package/dist/primitives/components/ui/empty/_empty-content.d.ts +23 -0
- package/dist/primitives/components/ui/empty/_empty-description.d.ts +23 -0
- package/dist/primitives/components/ui/empty/_empty-header.d.ts +23 -0
- package/dist/primitives/components/ui/empty/_empty-media.d.ts +29 -0
- package/dist/primitives/components/ui/empty/_empty-title.d.ts +22 -0
- package/dist/primitives/components/ui/empty/_empty.d.ts +28 -0
- package/dist/primitives/components/ui/empty/empty.d.ts +20 -0
- package/dist/primitives/components/ui/empty/empty.defs.d.ts +7 -0
- package/dist/primitives/components/ui/empty/empty.stories.d.ts +10 -0
- package/dist/primitives/components/ui/field/_field-content.d.ts +23 -0
- package/dist/primitives/components/ui/field/_field-description.d.ts +23 -0
- package/dist/primitives/components/ui/field/_field-error.d.ts +25 -0
- package/dist/primitives/components/ui/field/_field-group.d.ts +28 -0
- package/dist/primitives/components/ui/field/_field-label.d.ts +27 -0
- package/dist/primitives/components/ui/field/_field-legend.d.ts +30 -0
- package/dist/primitives/components/ui/field/_field-separator.d.ts +42 -0
- package/dist/primitives/components/ui/field/_field-set.d.ts +22 -0
- package/dist/primitives/components/ui/field/_field-title.d.ts +22 -0
- package/dist/primitives/components/ui/field/_field.d.ts +36 -0
- package/dist/primitives/components/ui/field/field.d.ts +29 -0
- package/dist/primitives/components/ui/field/field.defs.d.ts +23 -0
- package/dist/primitives/components/ui/field/field.stories.d.ts +16 -0
- package/dist/primitives/components/ui/form/form-context.d.ts +4 -0
- package/dist/primitives/components/ui/form/form-controller.d.ts +28 -0
- package/dist/primitives/components/ui/form/form-field-context.d.ts +3 -0
- package/dist/primitives/components/ui/form/form-item-context.d.ts +7 -0
- package/dist/primitives/components/ui/form/form.stories.d.ts +5 -0
- package/dist/primitives/components/ui/form/form.styles.d.ts +7 -0
- package/dist/primitives/components/ui/form/pont-form-controller.d.ts +16 -0
- package/dist/primitives/components/ui/form/pont-form-description.d.ts +13 -0
- package/dist/primitives/components/ui/form/pont-form-field.d.ts +19 -0
- package/dist/primitives/components/ui/form/pont-form-item.d.ts +16 -0
- package/dist/primitives/components/ui/form/pont-form-label.d.ts +19 -0
- package/dist/primitives/components/ui/form/pont-form-message.d.ts +17 -0
- package/dist/primitives/components/ui/form/pont-form.d.ts +23 -0
- package/dist/primitives/components/ui/hoverCard/hover-card-content.d.ts +15 -0
- package/dist/primitives/components/ui/hoverCard/hover-card-trigger.d.ts +9 -0
- package/dist/primitives/components/ui/hoverCard/hover-card.d.ts +28 -0
- package/dist/primitives/components/ui/hoverCard/hover-card.stories.d.ts +4 -0
- package/dist/primitives/components/ui/hoverCard/hover-card.styles.d.ts +5 -0
- package/dist/primitives/components/ui/index.d.ts +50 -0
- package/dist/primitives/components/ui/input/_input.d.ts +163 -0
- package/dist/primitives/components/ui/input/input.d.ts +11 -0
- package/dist/primitives/components/ui/input/input.defs.d.ts +28 -0
- package/dist/primitives/components/ui/input/input.stories.d.ts +16 -0
- package/dist/primitives/components/ui/input-group/_input-group-addon.d.ts +32 -0
- package/dist/primitives/components/ui/input-group/_input-group-button.d.ts +59 -0
- package/dist/primitives/components/ui/input-group/_input-group-input.d.ts +140 -0
- package/dist/primitives/components/ui/input-group/_input-group-text.d.ts +22 -0
- package/dist/primitives/components/ui/input-group/_input-group-textarea.d.ts +114 -0
- package/dist/primitives/components/ui/input-group/_input-group.d.ts +22 -0
- package/dist/primitives/components/ui/input-group/input-group.d.ts +20 -0
- package/dist/primitives/components/ui/input-group/input-group.defs.d.ts +16 -0
- package/dist/primitives/components/ui/input-group/input-group.stories.d.ts +15 -0
- package/dist/primitives/components/ui/input-otp/_input-otp-group.d.ts +25 -0
- package/dist/primitives/components/ui/input-otp/_input-otp-separator.d.ts +15 -0
- package/dist/primitives/components/ui/input-otp/_input-otp-slot.d.ts +34 -0
- package/dist/primitives/components/ui/input-otp/_input-otp.d.ts +220 -0
- package/dist/primitives/components/ui/input-otp/input-otp.d.ts +16 -0
- package/dist/primitives/components/ui/input-otp/input-otp.defs.d.ts +28 -0
- package/dist/primitives/components/ui/input-otp/input-otp.stories.d.ts +12 -0
- package/dist/primitives/components/ui/item/_item-actions.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-content.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-description.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-footer.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-group.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-header.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-media.d.ts +28 -0
- package/dist/primitives/components/ui/item/_item-separator.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item-title.d.ts +22 -0
- package/dist/primitives/components/ui/item/_item.d.ts +42 -0
- package/dist/primitives/components/ui/item/item.d.ts +29 -0
- package/dist/primitives/components/ui/item/item.defs.d.ts +13 -0
- package/dist/primitives/components/ui/item/item.stories.d.ts +13 -0
- package/dist/primitives/components/ui/kbd/_kbd-group.d.ts +22 -0
- package/dist/primitives/components/ui/kbd/_kbd.d.ts +22 -0
- package/dist/primitives/components/ui/kbd/kbd.d.ts +12 -0
- package/dist/primitives/components/ui/kbd/kbd.stories.d.ts +8 -0
- package/dist/primitives/components/ui/label/_label.d.ts +26 -0
- package/dist/primitives/components/ui/label/label.d.ts +10 -0
- package/dist/primitives/components/ui/label/label.defs.d.ts +3 -0
- package/dist/primitives/components/ui/label/label.stories.d.ts +10 -0
- package/dist/primitives/components/ui/menubar/menubar-checkbox.item.d.ts +19 -0
- package/dist/primitives/components/ui/menubar/menubar-content.d.ts +19 -0
- package/dist/primitives/components/ui/menubar/menubar-group.d.ts +14 -0
- package/dist/primitives/components/ui/menubar/menubar-item.d.ts +17 -0
- package/dist/primitives/components/ui/menubar/menubar-menu.d.ts +30 -0
- package/dist/primitives/components/ui/menubar/menubar-radio-item.d.ts +19 -0
- package/dist/primitives/components/ui/menubar/menubar-separator.d.ts +13 -0
- package/dist/primitives/components/ui/menubar/menubar-shortcut.d.ts +9 -0
- package/dist/primitives/components/ui/menubar/menubar-trigger.d.ts +9 -0
- package/dist/primitives/components/ui/menubar/menubar.d.ts +33 -0
- package/dist/primitives/components/ui/menubar/menubar.helpers.d.ts +3 -0
- package/dist/primitives/components/ui/menubar/menubar.stories.d.ts +4 -0
- package/dist/primitives/components/ui/menubar/menubar.styles.d.ts +21 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-content.d.ts +19 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-item.d.ts +23 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-link.d.ts +9 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-list.d.ts +8 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-trigger.d.ts +9 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.d.ts +24 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.stories.d.ts +4 -0
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.styles.d.ts +9 -0
- package/dist/primitives/components/ui/pagination/pagination-content.d.ts +8 -0
- package/dist/primitives/components/ui/pagination/pagination-ellipsis.d.ts +8 -0
- package/dist/primitives/components/ui/pagination/pagination-item.d.ts +14 -0
- package/dist/primitives/components/ui/pagination/pagination-link.d.ts +14 -0
- package/dist/primitives/components/ui/pagination/pagination-next.d.ts +9 -0
- package/dist/primitives/components/ui/pagination/pagination-previous.d.ts +9 -0
- package/dist/primitives/components/ui/pagination/pagination.d.ts +26 -0
- package/dist/primitives/components/ui/pagination/pagination.stories.d.ts +4 -0
- package/dist/primitives/components/ui/pagination/pagination.styles.d.ts +22 -0
- package/dist/primitives/components/ui/pagination/pagination.type.d.ts +2 -0
- package/dist/primitives/components/ui/password-input/_password-input.d.ts +122 -0
- package/dist/primitives/components/ui/password-input/password-input.d.ts +10 -0
- package/dist/primitives/components/ui/password-input/password-input.defs.d.ts +3 -0
- package/dist/primitives/components/ui/password-input/password-input.stories.d.ts +8 -0
- package/dist/primitives/components/ui/popover/popover-content.d.ts +18 -0
- package/dist/primitives/components/ui/popover/popover-trigger.d.ts +12 -0
- package/dist/primitives/components/ui/popover/popover.d.ts +21 -0
- package/dist/primitives/components/ui/popover/popover.stories.d.ts +4 -0
- package/dist/primitives/components/ui/popover/popover.style.d.ts +5 -0
- package/dist/primitives/components/ui/popover/popover.types.d.ts +2 -0
- package/dist/primitives/components/ui/progress/progress.d.ts +11 -0
- package/dist/primitives/components/ui/progress/progress.stories.d.ts +4 -0
- package/dist/primitives/components/ui/progress/progress.styles.d.ts +4 -0
- package/dist/primitives/components/ui/radio-group/radio-group-item.d.ts +21 -0
- package/dist/primitives/components/ui/radio-group/radio-group.d.ts +19 -0
- package/dist/primitives/components/ui/radio-group/radio-group.stories.d.ts +4 -0
- package/dist/primitives/components/ui/radio-group/radio-group.styles.d.ts +9 -0
- package/dist/primitives/components/ui/radio-group/radio-group.types.d.ts +2 -0
- package/dist/primitives/components/ui/scroll-area/scroll-area.d.ts +12 -0
- package/dist/primitives/components/ui/scroll-area/scroll-area.stories.d.ts +4 -0
- package/dist/primitives/components/ui/scroll-area/scroll-area.style.d.ts +1 -0
- package/dist/primitives/components/ui/select/index.d.ts +25 -0
- package/dist/primitives/components/ui/select/select-controller.d.ts +16 -0
- package/dist/primitives/components/ui/select/select-group.d.ts +26 -0
- package/dist/primitives/components/ui/select/select-item.d.ts +26 -0
- package/dist/primitives/components/ui/select/select-label.d.ts +13 -0
- package/dist/primitives/components/ui/select/select-list.d.ts +10 -0
- package/dist/primitives/components/ui/select/select-seperator.d.ts +8 -0
- package/dist/primitives/components/ui/select/select-trigger.d.ts +20 -0
- package/dist/primitives/components/ui/select/select-value.d.ts +13 -0
- package/dist/primitives/components/ui/select/select.d.ts +18 -0
- package/dist/primitives/components/ui/select/select.stories.d.ts +10 -0
- package/dist/primitives/components/ui/select/select.styles.d.ts +20 -0
- package/dist/primitives/components/ui/separator/_separator.d.ts +21 -0
- package/dist/primitives/components/ui/separator/separator.d.ts +10 -0
- package/dist/primitives/components/ui/separator/separator.defs.d.ts +5 -0
- package/dist/primitives/components/ui/separator/separator.stories.d.ts +9 -0
- package/dist/primitives/components/ui/skeleton/skeleton.d.ts +10 -0
- package/dist/primitives/components/ui/skeleton/skeleton.stories.d.ts +4 -0
- package/dist/primitives/components/ui/skeleton/skeleton.style.d.ts +1 -0
- package/dist/primitives/components/ui/spinner/_spinner.d.ts +19 -0
- package/dist/primitives/components/ui/spinner/spinner.d.ts +10 -0
- package/dist/primitives/components/ui/spinner/spinner.defs.d.ts +4 -0
- package/dist/primitives/components/ui/spinner/spinner.stories.d.ts +11 -0
- package/dist/primitives/components/ui/switch/switch.d.ts +13 -0
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +4 -0
- package/dist/primitives/components/ui/switch/switch.style.d.ts +4 -0
- package/dist/primitives/components/ui/switch/switch.type.d.ts +4 -0
- package/dist/primitives/components/ui/table/table.d.ts +17 -0
- package/dist/primitives/components/ui/table/table.stories.d.ts +4 -0
- package/dist/primitives/components/ui/table/table.styles.d.ts +39 -0
- package/dist/primitives/components/ui/tabs/_tabs-content.d.ts +29 -0
- package/dist/primitives/components/ui/tabs/_tabs-list.d.ts +29 -0
- package/dist/primitives/components/ui/tabs/_tabs-trigger.d.ts +46 -0
- package/dist/primitives/components/ui/tabs/_tabs.d.ts +28 -0
- package/dist/primitives/components/ui/tabs/tabs.d.ts +17 -0
- package/dist/primitives/components/ui/tabs/tabs.defs.d.ts +22 -0
- package/dist/primitives/components/ui/tabs/tabs.helpers.d.ts +24 -0
- package/dist/primitives/components/ui/tabs/tabs.stories.d.ts +13 -0
- package/dist/primitives/components/ui/textarea/_textarea.d.ts +131 -0
- package/dist/primitives/components/ui/textarea/textarea.d.ts +10 -0
- package/dist/primitives/components/ui/textarea/textarea.defs.d.ts +23 -0
- package/dist/primitives/components/ui/textarea/textarea.stories.d.ts +9 -0
- package/dist/primitives/components/ui/toast/toast-action.d.ts +26 -0
- package/dist/primitives/components/ui/toast/toast-description.d.ts +13 -0
- package/dist/primitives/components/ui/toast/toast-title.d.ts +13 -0
- package/dist/primitives/components/ui/toast/toast-trigger.d.ts +17 -0
- package/dist/primitives/components/ui/toast/toast-view-port.d.ts +23 -0
- package/dist/primitives/components/ui/toast/toast.d.ts +24 -0
- package/dist/primitives/components/ui/toast/toast.stories.d.ts +9 -0
- package/dist/primitives/components/ui/toast/toast.style.d.ts +19 -0
- package/dist/primitives/components/ui/toast/toast.type.d.ts +1 -0
- package/dist/primitives/components/ui/toggle/toggle.d.ts +28 -0
- package/dist/primitives/components/ui/toggle/toggle.defs.d.ts +27 -0
- package/dist/primitives/components/ui/toggle/toggle.stories.d.ts +5 -0
- package/dist/primitives/components/ui/toggle/toggle.style.d.ts +4 -0
- package/dist/primitives/components/ui/toggle-group/toggle-group-item.d.ts +42 -0
- package/dist/primitives/components/ui/toggle-group/toggle-group.d.ts +24 -0
- package/dist/primitives/components/ui/toggle-group/toggle-group.defs.d.ts +37 -0
- package/dist/primitives/components/ui/toggle-group/toggle-group.stories.d.ts +4 -0
- package/dist/primitives/components/ui/toggle-group/toggle-group.style.d.ts +5 -0
- package/dist/primitives/components/ui/typography/_typography-blockquote.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-code.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-h.d.ts +27 -0
- package/dist/primitives/components/ui/typography/_typography-large.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-lead.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-list.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-muted.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-p.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-small.d.ts +22 -0
- package/dist/primitives/components/ui/typography/_typography-table.d.ts +13 -0
- package/dist/primitives/components/ui/typography/typography.d.ts +28 -0
- package/dist/primitives/components/ui/typography/typography.defs.d.ts +4 -0
- package/dist/primitives/components/ui/typography/typography.stories.d.ts +18 -0
- package/dist/primitives/helpers/base-element.d.ts +20 -0
- package/dist/primitives/helpers/country-codes.d.ts +5 -0
- package/dist/primitives/helpers/genrate-uuid.helper.d.ts +1 -0
- package/dist/primitives/helpers/index.d.ts +7 -0
- package/dist/primitives/helpers/mouse-conroller.helper.d.ts +14 -0
- package/dist/primitives/helpers/shadow-wrapper.d.ts +7 -0
- package/dist/primitives/helpers/style.helpers.d.ts +2 -0
- package/dist/primitives/helpers/widget-controller.d.ts +12 -0
- package/dist/primitives/index.d.ts +1 -0
- package/dist/primitives/interfaces/atomic.interface.d.ts +6 -0
- package/dist/primitives/interfaces/child-support-atomic.interface.d.ts +4 -0
- package/dist/primitives/interfaces/index.d.ts +4 -0
- package/dist/primitives/interfaces/intractable.interface.d.ts +6 -0
- package/dist/primitives/interfaces/variant.interface.d.ts +3 -0
- package/dist/service/http/fetch.d.ts +9 -0
- package/dist/service/http/index.d.ts +3 -0
- package/dist/service/http/organization/index.d.ts +3 -0
- package/dist/service/http/organization/invitations.d.ts +5 -0
- package/dist/service/http/organization/members.d.ts +7 -0
- package/dist/service/http/organization/roles.d.ts +2 -0
- package/dist/service/http/user/index.d.ts +3 -0
- package/dist/service/index.d.ts +1 -0
- package/dist/stories/preview.stories.d.ts +5 -0
- package/dist/styles.css +18065 -0
- package/dist/tokens/tailwind/animation.d.ts +7 -0
- package/dist/tokens/tailwind/border-radius.d.ts +49 -0
- package/dist/tokens/tailwind/border-width.d.ts +27 -0
- package/dist/tokens/tailwind/box-shadow.d.ts +12 -0
- package/dist/tokens/tailwind/color.d.ts +232 -0
- package/dist/tokens/tailwind/font-size.d.ts +90 -0
- package/dist/tokens/tailwind/font-weight.d.ts +27 -0
- package/dist/tokens/tailwind/index.d.ts +841 -0
- package/dist/tokens/tailwind/keyframes.d.ts +41 -0
- package/dist/tokens/tailwind/opacity.d.ts +31 -0
- package/dist/tokens/tailwind/ring-offset-width.d.ts +6 -0
- package/dist/tokens/tailwind/ring-width.d.ts +16 -0
- package/dist/tokens/tailwind/spacing.d.ts +287 -0
- package/dist/tokens/tailwind/transition-duration.d.ts +5 -0
- package/dist/tokens/tailwind/transition-timing-function.d.ts +4 -0
- package/dist/tokens/tailwind/translate.d.ts +5 -0
- package/dist/types/auth.d.ts +2 -0
- package/dist/types/common/index.d.ts +15 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/pont-primitives.d.ts +7 -0
- package/dist/types/components/pont-widgets.d.ts +1 -0
- package/dist/types/components/user-profile.d.ts +33 -0
- package/dist/types/core/index.d.ts +30 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/layout/index.d.ts +256 -0
- package/dist/types/service/http/common/index.d.ts +6 -0
- package/dist/types/service/http/index.d.ts +5 -0
- package/dist/types/service/http/invitation/index.d.ts +47 -0
- package/dist/types/service/http/member/index.d.ts +43 -0
- package/dist/types/service/http/roles/index.d.ts +38 -0
- package/dist/types/service/http/user/index.d.ts +40 -0
- package/dist/types/service/index.d.ts +1 -0
- package/dist/types/styles/index.d.ts +72 -0
- package/dist/utils/components.d.ts +24 -0
- package/dist/utils/format.d.ts +40 -0
- package/dist/utils/html-base64.d.ts +1 -0
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/storybook.d.ts +1 -0
- package/dist/utils/styles.d.ts +21 -0
- package/dist/utils/svg-base64.d.ts +2 -0
- package/dist/utils/tailwind.d.ts +7 -0
- package/dist/utils/tokens.d.ts +1 -0
- package/package.json +91 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from '../../../../node_modules/lit';
|
|
2
|
+
import { BrandingEntitlements } from '../../../context';
|
|
3
|
+
export declare class PontSignUp extends LitElement {
|
|
4
|
+
renderSpec: string | null;
|
|
5
|
+
branding: BrandingEntitlements;
|
|
6
|
+
locales: string;
|
|
7
|
+
createRenderRoot(): this;
|
|
8
|
+
private __flowStarted;
|
|
9
|
+
private __initialized;
|
|
10
|
+
private __previousLocale;
|
|
11
|
+
protected firstUpdated(): void;
|
|
12
|
+
protected updated(changedProperties: Map<string, unknown>): void;
|
|
13
|
+
private startAuthFlow;
|
|
14
|
+
private tryRemoveFallback;
|
|
15
|
+
render(): import('../../../../node_modules/lit-html').TemplateResult<1>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Style } from '../../../types/styles';
|
|
2
|
+
import { LitElement } from '../../../../node_modules/lit';
|
|
3
|
+
export declare abstract class BaseElement extends LitElement {
|
|
4
|
+
shadow: boolean;
|
|
5
|
+
constructor();
|
|
6
|
+
protected parseJsonAttribute<T = unknown>(attrName: string): T;
|
|
7
|
+
protected get sbStyle(): Style;
|
|
8
|
+
protected getAttributesToExclude(): string[];
|
|
9
|
+
protected getFilteredAttributes(): Record<string, string>;
|
|
10
|
+
protected isCustomPropertySet(property: string): boolean;
|
|
11
|
+
protected applyCustomClass(variables: string[], selector: string, className?: string): void;
|
|
12
|
+
protected moveAttributesToElement(target: HTMLElement, attributesToMove?: string[]): void;
|
|
13
|
+
protected removeAttributesFromHost(attributes?: string[]): void;
|
|
14
|
+
private __initialAttributesCache;
|
|
15
|
+
protected captureHostAttributes(): Record<string, string>;
|
|
16
|
+
protected getHostClass(): string;
|
|
17
|
+
protected removeDuplicateContent(): void;
|
|
18
|
+
protected moveLightDomChildrenInto(target: HTMLElement, specificNodes?: Node[]): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './base-element/base-element';
|
|
2
|
+
export * from './layout/layout';
|
|
3
|
+
export * from './pont-provider/pont-provider';
|
|
4
|
+
export * from './pont-signed-out/pont-signed-out';
|
|
5
|
+
export * from './pont-signed-in/pont-signed-in';
|
|
6
|
+
export * from './pont-authenticated/pont-authenticated';
|
|
7
|
+
export * from './pont-auth-state/pont-auth-state';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { LitElement } from '../../../../node_modules/lit';
|
|
2
|
+
import { BrandingEntitlements } from '../../../context';
|
|
3
|
+
export declare class PontKitLayout extends LitElement {
|
|
4
|
+
private spec;
|
|
5
|
+
set renderSpec(v: string);
|
|
6
|
+
/**
|
|
7
|
+
* Render every descendant as a representative example of itself rather than
|
|
8
|
+
* resolving it against runtime context (see context/design-context.ts).
|
|
9
|
+
*
|
|
10
|
+
* Provided here rather than on `pont-provider` because the screen designer's
|
|
11
|
+
* preview instantiates `pont-layout` directly — it has no provider ancestor —
|
|
12
|
+
* and `pont-layout` is also what the hosted page renders, so one declaration
|
|
13
|
+
* covers both. Elements injected into `#dynamic-content` via innerHTML are
|
|
14
|
+
* descendants of this host, so their context requests reach it normally.
|
|
15
|
+
*/
|
|
16
|
+
designMode: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Account-level branding entitlements for this screen (see
|
|
19
|
+
* context/branding-context.ts).
|
|
20
|
+
*
|
|
21
|
+
* Provided here for the same reason as `designMode`: `pont-layout` is the one
|
|
22
|
+
* element every spec-rendered screen goes through, including the designer's
|
|
23
|
+
* preview, which has no `pont-provider` ancestor.
|
|
24
|
+
*
|
|
25
|
+
* `attribute: false` is deliberate. This is an object set imperatively from
|
|
26
|
+
* the backend response, on the same channel and with the same trust level as
|
|
27
|
+
* `renderSpec` — never authored in markup.
|
|
28
|
+
*
|
|
29
|
+
* NOTE: because this always provides a value, it SHADOWS any `pont-provider`
|
|
30
|
+
* above it. Widgets that render an `pont-layout` inside a provider must forward
|
|
31
|
+
* the entitlement explicitly, exactly as they forward `renderSpec`. Failing
|
|
32
|
+
* to forward it falls back to `DEFAULT_BRANDING`, i.e. the watermark shows.
|
|
33
|
+
*/
|
|
34
|
+
branding: BrandingEntitlements;
|
|
35
|
+
createRenderRoot(): this;
|
|
36
|
+
updated(): void;
|
|
37
|
+
private renderDynamicContent;
|
|
38
|
+
/** Tags already reported on this page, so a re-render does not repeat them. */
|
|
39
|
+
private static reportedUnregistered;
|
|
40
|
+
/**
|
|
41
|
+
* The spec names an element this bundle does not define.
|
|
42
|
+
*
|
|
43
|
+
* This is the one signal in the system that the markup a server composed and
|
|
44
|
+
* the bundle a page loaded have drifted apart — a screen published against a
|
|
45
|
+
* newer vocabulary than the release serving it, or a bundle rolled back past
|
|
46
|
+
* a tag a screen already uses (pontive-spec/21-element-versioning-and-
|
|
47
|
+
* compatibility.md §6.3, §9.2). A console warning is invisible to anyone who
|
|
48
|
+
* could act on it, so it is also dispatched as `pont:unregistered-element` on
|
|
49
|
+
* `document` for the host page to forward to its telemetry. Once per tag per
|
|
50
|
+
* page: `updated()` runs on every Lit update and the same missing tag would
|
|
51
|
+
* otherwise report on each.
|
|
52
|
+
*/
|
|
53
|
+
static readonly UNREGISTERED_ELEMENT_EVENT = "pont:unregistered-element";
|
|
54
|
+
private static reportUnregistered;
|
|
55
|
+
render(): import('../../../../node_modules/lit-html').TemplateResult<1>;
|
|
56
|
+
private handleError;
|
|
57
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../node_modules/lit';
|
|
2
|
+
import { AuthState } from '../../../context';
|
|
3
|
+
export declare class AuthStateElement extends LitElement {
|
|
4
|
+
createRenderRoot(): this;
|
|
5
|
+
private _cachedChildren;
|
|
6
|
+
auth?: AuthState;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
private tryRemoveFallback;
|
|
9
|
+
private syncAuthChildren;
|
|
10
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
11
|
+
render(): import('../../../../node_modules/lit-html').TemplateResult<1>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement, nothing } from '../../../../node_modules/lit';
|
|
2
|
+
import { AuthState } from '../../../context';
|
|
3
|
+
import { EnvConfig } from '../../../types';
|
|
4
|
+
export declare class PontAuthenticated extends LitElement {
|
|
5
|
+
private _cachedChildren;
|
|
6
|
+
/**
|
|
7
|
+
* Children marked `slot="loading"`, shown while the provider is still asking
|
|
8
|
+
* whether this browser is signed in.
|
|
9
|
+
*
|
|
10
|
+
* A real <slot> is not available here — this element stays in the light DOM so
|
|
11
|
+
* host CSS reaches its children — so the children are partitioned on capture
|
|
12
|
+
* instead. The attribute is spelled `slot` anyway, because that is what an
|
|
13
|
+
* author expects to write and it means the same thing.
|
|
14
|
+
*/
|
|
15
|
+
private _loadingChildren;
|
|
16
|
+
private _captured;
|
|
17
|
+
createRenderRoot(): this;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
/**
|
|
20
|
+
* The URL to redirect to if the user is not authenticated.
|
|
21
|
+
* Defaults to environment variable, can be overridden via property.
|
|
22
|
+
*/
|
|
23
|
+
redirectUrl: string;
|
|
24
|
+
env: EnvConfig | null;
|
|
25
|
+
auth?: AuthState;
|
|
26
|
+
render(): import('../../../../node_modules/lit-html').TemplateResult<1> | typeof nothing;
|
|
27
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { AuthState, BrandingEntitlements } from '../../../context';
|
|
2
|
+
import { EnvConfig } from '../../../types';
|
|
3
|
+
import { LitElement, PropertyValues } from '../../../../node_modules/lit';
|
|
4
|
+
export declare class PontProvider extends LitElement {
|
|
5
|
+
createRenderRoot(): this;
|
|
6
|
+
env: EnvConfig | null;
|
|
7
|
+
locales?: string;
|
|
8
|
+
effectiveLocales: string;
|
|
9
|
+
auth: AuthState;
|
|
10
|
+
renderSpec: string | null;
|
|
11
|
+
branding: BrandingEntitlements;
|
|
12
|
+
autoRedirect: boolean;
|
|
13
|
+
setLocale(locales: string): void;
|
|
14
|
+
private _handleLocaleEvent;
|
|
15
|
+
private dispatchLocaleChangedEvent;
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
disconnectedCallback(): void;
|
|
18
|
+
private readonly BRANDING_LINK_ID;
|
|
19
|
+
private getBrandingCssUrl;
|
|
20
|
+
private loadBrandingCss;
|
|
21
|
+
private configureAuth;
|
|
22
|
+
private updateLocaleAndAuth;
|
|
23
|
+
updated(changedProperties: PropertyValues): void;
|
|
24
|
+
private handleAuthStateChange;
|
|
25
|
+
/**
|
|
26
|
+
* sessionStorage, not localStorage: this is about one navigation in one tab.
|
|
27
|
+
* It must not outlive the tab, and it must not be visible to a second tab
|
|
28
|
+
* doing its own sign-in.
|
|
29
|
+
*/
|
|
30
|
+
private readonly REDIRECT_ATTEMPT_KEY;
|
|
31
|
+
/**
|
|
32
|
+
* How recently a redirect must have been attempted for a return to this page
|
|
33
|
+
* to count as a bounce.
|
|
34
|
+
*
|
|
35
|
+
* A bounce is two server round trips, so it is fast — seconds at most. The
|
|
36
|
+
* window only needs to be wide enough to cover a slow one, and narrow enough
|
|
37
|
+
* that a user who legitimately navigates back here minutes later is not
|
|
38
|
+
* mistaken for one.
|
|
39
|
+
*/
|
|
40
|
+
private readonly REDIRECT_BOUNCE_WINDOW_MS;
|
|
41
|
+
private recordRedirectAttempt;
|
|
42
|
+
private clearRedirectAttempt;
|
|
43
|
+
/**
|
|
44
|
+
* Reports whether we are here because `target` sent us back.
|
|
45
|
+
*
|
|
46
|
+
* Three things have to hold, and each rules out a way of arriving here that
|
|
47
|
+
* looks like a bounce but is not:
|
|
48
|
+
*
|
|
49
|
+
* - a redirect to THIS target was recorded. A marker from some other
|
|
50
|
+
* redirect is not evidence about this one.
|
|
51
|
+
* - it was recent. Minutes later is a new visit, not a bounce.
|
|
52
|
+
* - the browser navigated here. This is the one that matters: pressing Back
|
|
53
|
+
* onto the sign-in page moments after a successful login, or reloading
|
|
54
|
+
* it, produces a marker and a timestamp that are indistinguishable from a
|
|
55
|
+
* bounce — and signing that user out would be a worse bug than the loop.
|
|
56
|
+
* A server redirect chain is always `navigate`; Back is `back_forward`
|
|
57
|
+
* and a reload is `reload`.
|
|
58
|
+
*
|
|
59
|
+
* The marker is consumed either way, so a stale one cannot go on being
|
|
60
|
+
* mistaken for evidence.
|
|
61
|
+
*/
|
|
62
|
+
private wasBouncedBackFrom;
|
|
63
|
+
/**
|
|
64
|
+
* How the browser got to this page, per the Navigation Timing API. Anything
|
|
65
|
+
* unreadable reports "navigate", the conservative answer: it keeps the loop
|
|
66
|
+
* protection working on a browser that will not tell us, at the cost of the
|
|
67
|
+
* Back-button case we cannot detect there anyway.
|
|
68
|
+
*/
|
|
69
|
+
private getNavigationType;
|
|
70
|
+
private refreshAuthState;
|
|
71
|
+
/**
|
|
72
|
+
* Publishes the auth state to anything that is not a Lit context consumer.
|
|
73
|
+
*
|
|
74
|
+
* The elements read `auth` through `@consume({ context: authContext })`, which
|
|
75
|
+
* is invisible from outside the custom element tree — a React host has no way
|
|
76
|
+
* in. It cannot ask `Auth` for this either: `resolved` means "restoreSession()
|
|
77
|
+
* has come back", which is this provider's knowledge and not the SDK's. Auth
|
|
78
|
+
* has no idea whether anyone has called it, and a second caller racing this
|
|
79
|
+
* one to find out would be a bug rather than an answer.
|
|
80
|
+
*
|
|
81
|
+
* So the state goes out as a DOM event as well, from the one method that
|
|
82
|
+
* writes it. The React wrapper in @pontive/pontkit-react listens for this and
|
|
83
|
+
* republishes it as React context, which is what lets `<SignedIn>` be an
|
|
84
|
+
* ordinary conditional instead of an element that takes its children into
|
|
85
|
+
* custody.
|
|
86
|
+
*
|
|
87
|
+
* `detail` is a copy. Handing out the live object would let a listener mutate
|
|
88
|
+
* the state every element on the page is reading.
|
|
89
|
+
*/
|
|
90
|
+
private dispatchAuthChangedEvent;
|
|
91
|
+
/**
|
|
92
|
+
* Asks the authorization server whether this browser is already signed in,
|
|
93
|
+
* before settling on an answer.
|
|
94
|
+
*
|
|
95
|
+
* Auth.isAuthenticated() only reads what the SDK holds in memory or in
|
|
96
|
+
* localStorage. An app whose refresh token is delivered as an HttpOnly cookie
|
|
97
|
+
* has neither on a fresh page — the token is in the cookie, where no script
|
|
98
|
+
* can see it — so answering from local state alone reports every reload and
|
|
99
|
+
* every post-sign-in redirect as a sign-out. restoreSession() is what turns
|
|
100
|
+
* that cookie back into a session.
|
|
101
|
+
*
|
|
102
|
+
* Deliberately awaited before the state is published: a provider that said
|
|
103
|
+
* "signed out" first and corrected itself a moment later would send
|
|
104
|
+
* <pont-authenticated> redirecting to the sign-in page in between.
|
|
105
|
+
*/
|
|
106
|
+
private restoreThenRefreshAuthState;
|
|
107
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../node_modules/lit';
|
|
2
|
+
import { AuthState } from '../../../context';
|
|
3
|
+
export declare class SignedIn extends LitElement {
|
|
4
|
+
private _cachedChildren;
|
|
5
|
+
createRenderRoot(): this;
|
|
6
|
+
connectedCallback(): void;
|
|
7
|
+
auth?: AuthState;
|
|
8
|
+
private tryRemoveFallback;
|
|
9
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
10
|
+
render(): import('../../../../node_modules/lit-html').TemplateResult<1>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../node_modules/lit';
|
|
2
|
+
import { AuthState } from '../../../context';
|
|
3
|
+
export declare class SignedOut extends LitElement {
|
|
4
|
+
private _cachedChildren;
|
|
5
|
+
createRenderRoot(): this;
|
|
6
|
+
auth?: AuthState;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
private tryRemoveFallback;
|
|
9
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
10
|
+
render(): import('../../../../node_modules/lit-html').TemplateResult<1>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const dashboardWidthClass = "pont-account-settings-dashboard-width";
|
|
2
|
+
export declare const modalWidthClass = "pont-account-settings-modal-width";
|
|
3
|
+
export declare const modalContainerClass = "pont-account-settings-modal-container";
|
|
4
|
+
export declare const dashboardClass = "pont-account-settings-dashboard";
|
|
5
|
+
export declare const pageClasses = "pont-account-settings-page-reset-margin";
|
|
6
|
+
export declare const modalClasses = "pont-account-settings-modal-root";
|
|
7
|
+
export declare const tabTriggerClass = "pont-account-settings-tab-trigger";
|
|
8
|
+
export declare const horizontalTabClass = "pont-account-settings-horizontal-tab-list";
|
|
9
|
+
export declare const verticalTabClass = "pont-account-settings-vertical-tab-list";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface AuthState {
|
|
2
|
+
isAuthenticated: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Whether isAuthenticated is an answer yet.
|
|
5
|
+
*
|
|
6
|
+
* On a fresh page the provider has to ask the authorization server before it
|
|
7
|
+
* knows: an app using HttpOnly cookie refresh-token delivery holds nothing
|
|
8
|
+
* locally, so local state says "signed out" for every user until the cookie
|
|
9
|
+
* has been tried. Anything that navigates on isAuthenticated — pont-authenticated
|
|
10
|
+
* in particular — must wait for this rather than acting on the interim answer,
|
|
11
|
+
* or every reload bounces a signed-in user to the sign-in page.
|
|
12
|
+
*/
|
|
13
|
+
resolved: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const authContext: {
|
|
16
|
+
__context__: AuthState;
|
|
17
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ReactiveControllerHost, ReactiveElement } from '../../node_modules/lit';
|
|
2
|
+
/**
|
|
3
|
+
* Account-level branding entitlements: what a project's plan permits it to
|
|
4
|
+
* change about Pontive's own branding on a rendered screen.
|
|
5
|
+
*
|
|
6
|
+
* These are NOT authoring input. A screen author cannot grant themselves
|
|
7
|
+
* white-labelling by editing a screen in the designer, and no element exposes
|
|
8
|
+
* an attribute or public property for them — the value is resolved by the
|
|
9
|
+
* backend per request and flows down as context. An element that renders
|
|
10
|
+
* branding ASKS for the entitlement; it is never TOLD by its own markup.
|
|
11
|
+
*
|
|
12
|
+
* This is an API-integrity guarantee, not a security boundary: everything here
|
|
13
|
+
* renders in light DOM, so any watermark can be deleted from devtools. The
|
|
14
|
+
* point is that there is no supported, discoverable, semver-stable way for a
|
|
15
|
+
* consumer to switch it off. Commercial enforcement lives on the server (which
|
|
16
|
+
* simply does not emit the entitlement) and in the licence terms.
|
|
17
|
+
*
|
|
18
|
+
* See docs/branding-entitlements.md.
|
|
19
|
+
*/
|
|
20
|
+
export interface BrandingEntitlements {
|
|
21
|
+
/** Whether the Pontive watermark must be rendered on the screen shell. */
|
|
22
|
+
showWatermark: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Fail closed. A missing provider, a dropped wire, or a backend that has not
|
|
26
|
+
* been taught about entitlements yet must all land on "watermark shows" — the
|
|
27
|
+
* default must never silently unlock a paid feature.
|
|
28
|
+
*/
|
|
29
|
+
export declare const DEFAULT_BRANDING: BrandingEntitlements;
|
|
30
|
+
export declare const brandingContext: {
|
|
31
|
+
__context__: BrandingEntitlements;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Reads branding entitlements for one element.
|
|
35
|
+
*
|
|
36
|
+
* A controller rather than a base class or mixin for the same reason as
|
|
37
|
+
* `DesignModeController`: the elements that render branding do not share an
|
|
38
|
+
* ancestor.
|
|
39
|
+
*
|
|
40
|
+
* Deliberately unlike `DesignModeController`, there is NO attribute escape
|
|
41
|
+
* hatch. Design mode is an authoring signal, so letting a `design-mode`
|
|
42
|
+
* attribute win is legitimate. An entitlement is a commercial fact, and an
|
|
43
|
+
* override attribute would reintroduce exactly the hole this design closes.
|
|
44
|
+
* Storybook and standalone demos get the value by providing the context (see
|
|
45
|
+
* block.stories.ts), not by setting an attribute.
|
|
46
|
+
*/
|
|
47
|
+
export declare class BrandingController {
|
|
48
|
+
private consumer;
|
|
49
|
+
constructor(host: ReactiveElement & ReactiveControllerHost);
|
|
50
|
+
/** Whether this element must render the Pontive watermark. */
|
|
51
|
+
get showWatermark(): boolean;
|
|
52
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ReactiveControllerHost, ReactiveElement } from '../../node_modules/lit';
|
|
2
|
+
/**
|
|
3
|
+
* Design mode: the element is being placed in the screen designer's canvas,
|
|
4
|
+
* not served to an end user.
|
|
5
|
+
*
|
|
6
|
+
* Resolution — turning configured providers into buttons, narrowing identifier
|
|
7
|
+
* lists, injecting a brand logo, pruning what an app cannot use — is a RUNTIME
|
|
8
|
+
* concern. It has two consumers: the hosted sign-in page and the designer's
|
|
9
|
+
* Test mode. Design mode is neither. An author dragging an element onto the
|
|
10
|
+
* canvas wants to see what that element IS, and no context exists to resolve
|
|
11
|
+
* against anyway.
|
|
12
|
+
*
|
|
13
|
+
* Without this flag, context-dependent elements render their empty state,
|
|
14
|
+
* which is not neutral — it is wrong. A bare `pont-provider-field` renders an
|
|
15
|
+
* empty container and a bare `pont-logo` renders a broken image, so the author's
|
|
16
|
+
* first impression of the element they just placed is that it is broken.
|
|
17
|
+
*
|
|
18
|
+
* In design mode an element MUST render a representative example of itself.
|
|
19
|
+
* It must NOT prune itself, inject real project configuration, or substitute
|
|
20
|
+
* placeholders — `{{email}}` stays visible as a token so the author can see it
|
|
21
|
+
* is one.
|
|
22
|
+
*
|
|
23
|
+
* See pontive-spec/17-authflow-screen-resolution.md §1.
|
|
24
|
+
*/
|
|
25
|
+
export declare const designModeContext: {
|
|
26
|
+
__context__: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Reads design mode for one element.
|
|
30
|
+
*
|
|
31
|
+
* A controller rather than a base class or mixin because the elements that
|
|
32
|
+
* need it do not share an ancestor: `pont-logo` extends BaseElement while
|
|
33
|
+
* `pont-provider-field`, `pont-provider-button` and the field elements extend
|
|
34
|
+
* LitElement directly.
|
|
35
|
+
*
|
|
36
|
+
* Precedence: an explicit `design-mode` attribute on the element wins, so a
|
|
37
|
+
* Storybook story or a standalone demo can show the design rendering without
|
|
38
|
+
* standing up a provider. Otherwise the value comes from the nearest provider
|
|
39
|
+
* (`pont-layout`), which is how the designer canvas drives it.
|
|
40
|
+
*/
|
|
41
|
+
export declare class DesignModeController {
|
|
42
|
+
private host;
|
|
43
|
+
private consumer;
|
|
44
|
+
constructor(host: ReactiveElement & ReactiveControllerHost);
|
|
45
|
+
/** Whether this element should render its design-mode example. */
|
|
46
|
+
get active(): boolean;
|
|
47
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './auth-context';
|
|
2
|
+
export * from './branding-context';
|
|
3
|
+
export * from './customization-context';
|
|
4
|
+
export * from './design-context';
|
|
5
|
+
export * from './env-context';
|
|
6
|
+
export * from './render-spec';
|
|
7
|
+
export * from './user-context';
|
|
8
|
+
export * from './locale-context';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opens the account settings modal if the component is in modal mode.
|
|
3
|
+
* Dispatches a global event that the component listens to.
|
|
4
|
+
*/
|
|
5
|
+
export declare function openAccountSettingsModal(): void;
|
|
6
|
+
/**
|
|
7
|
+
* Closes the account settings modal if the component is in modal mode.
|
|
8
|
+
* Dispatches a global event that the component listens to.
|
|
9
|
+
*/
|
|
10
|
+
export declare function closeAccountSettingsModal(): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { closeAccountSettingsModal, openAccountSettingsModal } from './account-settings';
|
|
2
|
+
import { closeMemberManagementModal, openMemberManagementModal } from './member-management';
|
|
3
|
+
import { setLocales } from './locales';
|
|
4
|
+
export { closeAccountSettingsModal, closeMemberManagementModal, openAccountSettingsModal, openMemberManagementModal, setLocales, };
|
|
5
|
+
declare global {
|
|
6
|
+
interface Window {
|
|
7
|
+
__pontCoreSdk: {
|
|
8
|
+
setLocales?: (locales: string) => void;
|
|
9
|
+
openMemberManagementModal?: () => void;
|
|
10
|
+
closeMemberManagementModal?: () => void;
|
|
11
|
+
openAccountSettingsModal?: () => void;
|
|
12
|
+
closeAccountSettingsModal?: () => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opens the account settings modal if the component is in modal mode.
|
|
3
|
+
* Dispatches a global event that the component listens to.
|
|
4
|
+
*/
|
|
5
|
+
export declare function openMemberManagementModal(): void;
|
|
6
|
+
/**
|
|
7
|
+
* Closes the account settings modal if the component is in modal mode.
|
|
8
|
+
* Dispatches a global event that the component listens to.
|
|
9
|
+
*/
|
|
10
|
+
export declare function closeMemberManagementModal(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './env';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './components/wrappers';
|
|
2
|
+
export * from './components/widgets';
|
|
3
|
+
export * from './components/ui';
|
|
4
|
+
export * from './components/renderers';
|
|
5
|
+
export * from './events';
|
|
6
|
+
export declare function useAuthProvider(): import('@pontive/oidc-client').AuthService;
|