@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,168 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../../node_modules/lit';
|
|
2
|
+
import { ConfirmFieldAutocomplete, ConfirmFieldPart, ConfirmFieldValidation, ConfirmFieldVariant, PontConfirmFieldProps as Props } from './field.types';
|
|
3
|
+
/**
|
|
4
|
+
* Self-validating confirm password input field for use in auth widget forms.
|
|
5
|
+
*
|
|
6
|
+
* @part confirm-field - pont-field: root
|
|
7
|
+
* @part confirm-field-label - pont-field-label
|
|
8
|
+
* @part confirm-field-mark - span: decorative marker text/caret in label
|
|
9
|
+
* @part confirm-field-description - pont-field-description
|
|
10
|
+
* @part confirm-field-input - pont-input/pont-password-input
|
|
11
|
+
* @part confirm-field-error - pont-field-error: inline validation error message
|
|
12
|
+
*
|
|
13
|
+
* @event pont-confirm-field:validate - Fired when validation runs, on form submit or via the public `validate()` method.
|
|
14
|
+
* Detail: `{ id: string; inputId: string; name: string; value: string; valid: boolean; type: ConfirmFieldValidateType; pair: { selector: string; value: string }; message: string }`
|
|
15
|
+
* - type: `"success" | "required" | "match"`
|
|
16
|
+
*/
|
|
17
|
+
export declare class PontConfirmField extends LitElement implements Props {
|
|
18
|
+
static readonly ROOT = "confirm-field";
|
|
19
|
+
static readonly LABEL = "label";
|
|
20
|
+
static readonly MARK = "mark";
|
|
21
|
+
static readonly DESCRIPTION = "description";
|
|
22
|
+
static readonly INPUT = "input";
|
|
23
|
+
static readonly ERROR = "error";
|
|
24
|
+
static readonly TAG: string;
|
|
25
|
+
static readonly VALIDATE_EVENT: string;
|
|
26
|
+
static readonly PARTS: Record<ConfirmFieldPart, string>;
|
|
27
|
+
static readonly INPUT_SELECTORS: string;
|
|
28
|
+
/**
|
|
29
|
+
* Substring used in generated part IDs.
|
|
30
|
+
*/
|
|
31
|
+
seed: string;
|
|
32
|
+
/**
|
|
33
|
+
* Custom ID used as the root part ID and as the base of subpart IDs.
|
|
34
|
+
*/
|
|
35
|
+
customId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* ID given to the input part, forwarded to its inner input element.
|
|
38
|
+
*/
|
|
39
|
+
private _inputId?;
|
|
40
|
+
private get _defaultInputId();
|
|
41
|
+
get inputId(): string;
|
|
42
|
+
set inputId(value: string | null | undefined);
|
|
43
|
+
/**
|
|
44
|
+
* HTML `name` attribute forwarded to the inner input, used as the form data
|
|
45
|
+
* key on submission.
|
|
46
|
+
*/
|
|
47
|
+
private _name;
|
|
48
|
+
get name(): string;
|
|
49
|
+
set name(value: string);
|
|
50
|
+
/**
|
|
51
|
+
* Pre-fills the input until the user types and their input takes over.
|
|
52
|
+
* Resetting the form restores this value.
|
|
53
|
+
*/
|
|
54
|
+
defaultValue?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Text used in the label part of the field.
|
|
57
|
+
*/
|
|
58
|
+
private _label;
|
|
59
|
+
get label(): string;
|
|
60
|
+
set label(value: string);
|
|
61
|
+
/**
|
|
62
|
+
* Placeholder text shown inside the input when empty.
|
|
63
|
+
*/
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Text used in the description part of the field.
|
|
67
|
+
*/
|
|
68
|
+
description?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Controls the variation of input element rendered.
|
|
71
|
+
* When `"toggle"`, a toggleable input with a hide/show button is rendered.
|
|
72
|
+
*/
|
|
73
|
+
variant: ConfirmFieldVariant;
|
|
74
|
+
/**
|
|
75
|
+
* Custom text used in the mark part of the field label.
|
|
76
|
+
*/
|
|
77
|
+
mark?: string;
|
|
78
|
+
/**
|
|
79
|
+
* When provided with `required`, the mark part is rendered with an asterisk.
|
|
80
|
+
* Has no effect if a custom `mark` text is provided.
|
|
81
|
+
*/
|
|
82
|
+
caret?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* HTML `autocomplete` hint forwarded to the inner input element.
|
|
85
|
+
*/
|
|
86
|
+
autocomplete?: ConfirmFieldAutocomplete;
|
|
87
|
+
/**
|
|
88
|
+
* Disables the field and its inner input element, preventing interaction.
|
|
89
|
+
*/
|
|
90
|
+
disabled?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Marks the field as required: validation fails if field is empty.
|
|
93
|
+
*/
|
|
94
|
+
required?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* CSS selector for the paired password field element.
|
|
97
|
+
*/
|
|
98
|
+
pair: string;
|
|
99
|
+
/**
|
|
100
|
+
* Controls validation depth, only enforcing the required check if `"simple"`.
|
|
101
|
+
*/
|
|
102
|
+
validation: ConfirmFieldValidation;
|
|
103
|
+
/**
|
|
104
|
+
* Error message used when the field is required but empty.
|
|
105
|
+
*/
|
|
106
|
+
private _requiredError?;
|
|
107
|
+
private get _defaultRequiredError();
|
|
108
|
+
get requiredError(): string;
|
|
109
|
+
set requiredError(value: string | null | undefined);
|
|
110
|
+
/**
|
|
111
|
+
* Error message used when the field and pair field values do not match.
|
|
112
|
+
*/
|
|
113
|
+
private _matchError;
|
|
114
|
+
get matchError(): string;
|
|
115
|
+
set matchError(value: string);
|
|
116
|
+
/**
|
|
117
|
+
* Tracks whether the field is currently in an invalid state.
|
|
118
|
+
*/
|
|
119
|
+
private _invalid;
|
|
120
|
+
/**
|
|
121
|
+
* Error message displayed in the error part when the field is invalid.
|
|
122
|
+
*/
|
|
123
|
+
private _error;
|
|
124
|
+
/**
|
|
125
|
+
* Raw value of the confirm field input, synced on each input event.
|
|
126
|
+
*/
|
|
127
|
+
private _value;
|
|
128
|
+
/**
|
|
129
|
+
* Gates whether `defaultValue` or `_value` is authoritative for `this.value`.
|
|
130
|
+
* True once the user has typed into the input.
|
|
131
|
+
*/
|
|
132
|
+
private _dirty;
|
|
133
|
+
/**
|
|
134
|
+
* Reference to the nearest `<form>` ancestor.
|
|
135
|
+
*/
|
|
136
|
+
private _form;
|
|
137
|
+
protected createRenderRoot(): this;
|
|
138
|
+
get rootId(): string;
|
|
139
|
+
get labelId(): string;
|
|
140
|
+
get markId(): string;
|
|
141
|
+
get descriptionId(): string;
|
|
142
|
+
get errorId(): string;
|
|
143
|
+
/**
|
|
144
|
+
* Normalized value of the password field input.
|
|
145
|
+
*/
|
|
146
|
+
get value(): string;
|
|
147
|
+
/**
|
|
148
|
+
* Value of paired password field, returning an empty string if not found.
|
|
149
|
+
*/
|
|
150
|
+
get pairValue(): string;
|
|
151
|
+
updated(changed: PropertyValues): void;
|
|
152
|
+
connectedCallback(): void;
|
|
153
|
+
disconnectedCallback(): void;
|
|
154
|
+
/**
|
|
155
|
+
* Triggers validation and returns `true` if the current value is valid,
|
|
156
|
+
* `false` otherwise.
|
|
157
|
+
*/
|
|
158
|
+
validate(): boolean;
|
|
159
|
+
private _dispatchValidate;
|
|
160
|
+
private _onValidateSuccess;
|
|
161
|
+
private _onValidateError;
|
|
162
|
+
private _validate;
|
|
163
|
+
private _handleInput;
|
|
164
|
+
private _handleFormSubmit;
|
|
165
|
+
private _handleFormReset;
|
|
166
|
+
private _renderMark;
|
|
167
|
+
render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
|
|
168
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../../node_modules/lit';
|
|
2
|
+
import { EmailFieldAutocomplete, EmailFieldPart, EmailFieldValidation, PontEmailFieldProps as Props } from './field.types';
|
|
3
|
+
/**
|
|
4
|
+
* Self-validating email input field for use in auth widget forms.
|
|
5
|
+
*
|
|
6
|
+
* @part email-field - pont-field: root
|
|
7
|
+
* @part email-field-label - pont-field-label
|
|
8
|
+
* @part email-field-mark - span: decorative marker text/caret in label
|
|
9
|
+
* @part email-field-description - pont-field-description
|
|
10
|
+
* @part email-field-input - pont-input
|
|
11
|
+
* @part email-field-error - pont-field-error: inline validation error message
|
|
12
|
+
*
|
|
13
|
+
* @event pont-email-field:validate - Fired when validation runs, on form submit or via the public `validate()` method.
|
|
14
|
+
* Detail: `{ id: string; inputId: string; name: string; value: string; valid: boolean; type: EmailFieldValidateType; message: string }`
|
|
15
|
+
* - type: `"success" | "required" | "format"`
|
|
16
|
+
*/
|
|
17
|
+
export declare class PontEmailField extends LitElement implements Props {
|
|
18
|
+
static readonly ROOT = "email-field";
|
|
19
|
+
static readonly LABEL = "label";
|
|
20
|
+
static readonly MARK = "mark";
|
|
21
|
+
static readonly DESCRIPTION = "description";
|
|
22
|
+
static readonly INPUT = "input";
|
|
23
|
+
static readonly ERROR = "error";
|
|
24
|
+
static readonly TAG: string;
|
|
25
|
+
static readonly VALIDATE_EVENT: string;
|
|
26
|
+
static readonly PARTS: Record<EmailFieldPart, string>;
|
|
27
|
+
static readonly INPUT_SELECTORS: string;
|
|
28
|
+
/**
|
|
29
|
+
* Substring used in generated part IDs.
|
|
30
|
+
*/
|
|
31
|
+
seed: string;
|
|
32
|
+
/**
|
|
33
|
+
* Custom ID used as the root part ID and as the base of subpart IDs.
|
|
34
|
+
*/
|
|
35
|
+
customId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* ID given to the input part, forwarded to its inner input element.
|
|
38
|
+
*/
|
|
39
|
+
private _inputId?;
|
|
40
|
+
private get _defaultInputId();
|
|
41
|
+
get inputId(): string;
|
|
42
|
+
set inputId(value: string | null | undefined);
|
|
43
|
+
/**
|
|
44
|
+
* HTML `name` attribute forwarded to the inner input, used as the form data
|
|
45
|
+
* key on submission.
|
|
46
|
+
*/
|
|
47
|
+
private _name;
|
|
48
|
+
get name(): string;
|
|
49
|
+
set name(value: string);
|
|
50
|
+
/**
|
|
51
|
+
* Pre-fills the input until the user types and their input takes over.
|
|
52
|
+
* Resetting the form restores this value.
|
|
53
|
+
*/
|
|
54
|
+
defaultValue?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Text used in the label part of the field.
|
|
57
|
+
*/
|
|
58
|
+
private _label;
|
|
59
|
+
get label(): string;
|
|
60
|
+
set label(value: string);
|
|
61
|
+
/**
|
|
62
|
+
* Placeholder text shown inside the input when empty.
|
|
63
|
+
*/
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Text used in the description part of the field.
|
|
67
|
+
*/
|
|
68
|
+
description?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Custom text used in the mark part of the field label.
|
|
71
|
+
*/
|
|
72
|
+
mark?: string;
|
|
73
|
+
/**
|
|
74
|
+
* When provided with `required`, the mark part is rendered with an asterisk.
|
|
75
|
+
* Has no effect if a custom `mark` text is provided.
|
|
76
|
+
*/
|
|
77
|
+
caret?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* HTML `autocomplete` hint forwarded to the inner input element.
|
|
80
|
+
*/
|
|
81
|
+
autocomplete?: EmailFieldAutocomplete;
|
|
82
|
+
/**
|
|
83
|
+
* Disables the field and its inner input element, preventing interaction.
|
|
84
|
+
*/
|
|
85
|
+
disabled?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Marks the field as required: validation fails if field is empty.
|
|
88
|
+
*/
|
|
89
|
+
required?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Regex pattern used to validate the email format.
|
|
92
|
+
*/
|
|
93
|
+
pattern: string;
|
|
94
|
+
/**
|
|
95
|
+
* Controls validation depth, only enforcing the required check if `"simple"`.
|
|
96
|
+
*/
|
|
97
|
+
validation: EmailFieldValidation;
|
|
98
|
+
/**
|
|
99
|
+
* Error message used when the field is required but empty.
|
|
100
|
+
*/
|
|
101
|
+
private _requiredError?;
|
|
102
|
+
private get _defaultRequiredError();
|
|
103
|
+
get requiredError(): string;
|
|
104
|
+
set requiredError(value: string | null | undefined);
|
|
105
|
+
/**
|
|
106
|
+
* Error message used when the field does not satisfy email format rules.
|
|
107
|
+
*/
|
|
108
|
+
private _formatError?;
|
|
109
|
+
private get _defaultFormatError();
|
|
110
|
+
get formatError(): string;
|
|
111
|
+
set formatError(value: string | null | undefined);
|
|
112
|
+
/**
|
|
113
|
+
* Tracks whether the field is currently in an invalid state.
|
|
114
|
+
*/
|
|
115
|
+
private _invalid;
|
|
116
|
+
/**
|
|
117
|
+
* Error message displayed in the error part when the field is invalid.
|
|
118
|
+
*/
|
|
119
|
+
private _error;
|
|
120
|
+
/**
|
|
121
|
+
* Raw value of the email field input, synced on each input event.
|
|
122
|
+
*/
|
|
123
|
+
private _value;
|
|
124
|
+
/**
|
|
125
|
+
* Gates whether `defaultValue` or `_value` is authoritative for `this.value`.
|
|
126
|
+
* True once the user has typed into the input.
|
|
127
|
+
*/
|
|
128
|
+
private _dirty;
|
|
129
|
+
/**
|
|
130
|
+
* Reference to the nearest `<form>` ancestor.
|
|
131
|
+
*/
|
|
132
|
+
private _form;
|
|
133
|
+
protected createRenderRoot(): this;
|
|
134
|
+
get rootId(): string;
|
|
135
|
+
get labelId(): string;
|
|
136
|
+
get markId(): string;
|
|
137
|
+
get descriptionId(): string;
|
|
138
|
+
get errorId(): string;
|
|
139
|
+
/**
|
|
140
|
+
* Normalized value of the email field input.
|
|
141
|
+
*/
|
|
142
|
+
get value(): string;
|
|
143
|
+
updated(changed: PropertyValues): void;
|
|
144
|
+
connectedCallback(): void;
|
|
145
|
+
disconnectedCallback(): void;
|
|
146
|
+
/**
|
|
147
|
+
* Triggers validation and returns `true` if the current value is valid,
|
|
148
|
+
* `false` otherwise.
|
|
149
|
+
*/
|
|
150
|
+
validate(): boolean;
|
|
151
|
+
private _dispatchValidate;
|
|
152
|
+
private _onValidateSuccess;
|
|
153
|
+
private _onValidateError;
|
|
154
|
+
private _validate;
|
|
155
|
+
private _handleInput;
|
|
156
|
+
private _handleFormSubmit;
|
|
157
|
+
private _handleFormReset;
|
|
158
|
+
private _renderMark;
|
|
159
|
+
render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
|
|
160
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../../node_modules/lit';
|
|
2
|
+
import { PontAuthIdentifier } from '../../../../types';
|
|
3
|
+
import { IdentifierFieldAutocomplete, IdentifierFieldPart, IdentifierFieldValidation, PontIdentifierFieldProps as Props } from './field.types';
|
|
4
|
+
/**
|
|
5
|
+
* Self-validating identifier input field for use in auth widget forms.
|
|
6
|
+
*
|
|
7
|
+
* @part identifier-field - pont-field: root
|
|
8
|
+
* @part identifier-field-label - pont-field-label
|
|
9
|
+
* @part identifier-field-mark - span: decorative marker text/caret in label
|
|
10
|
+
* @part identifier-field-description - pont-field-description
|
|
11
|
+
* @part identifier-field-input - pont-input
|
|
12
|
+
* @part identifier-field-error - pont-field-error: inline validation error message
|
|
13
|
+
*
|
|
14
|
+
* @event pont-identifier-field:validate - Fired when validation runs, on form submit or via the public `validate()` method.
|
|
15
|
+
* Detail: `{ id: string; inputId: string; name: string; identifiers: PontIdentifier[]; value: string; valid: boolean; type: IdentifierFieldValidateType; message: string }`
|
|
16
|
+
* - type: `"success" | "required"`
|
|
17
|
+
*/
|
|
18
|
+
export declare class PontIdentifierField extends LitElement implements Props {
|
|
19
|
+
static readonly ROOT = "identifier-field";
|
|
20
|
+
static readonly LABEL = "label";
|
|
21
|
+
static readonly MARK = "mark";
|
|
22
|
+
static readonly DESCRIPTION = "description";
|
|
23
|
+
static readonly INPUT = "input";
|
|
24
|
+
static readonly ERROR = "error";
|
|
25
|
+
static readonly TAG: string;
|
|
26
|
+
static readonly VALIDATE_EVENT: string;
|
|
27
|
+
static readonly PARTS: Record<IdentifierFieldPart, string>;
|
|
28
|
+
static readonly INPUT_SELECTORS: string;
|
|
29
|
+
/**
|
|
30
|
+
* Substring used in generated part IDs.
|
|
31
|
+
*/
|
|
32
|
+
seed: string;
|
|
33
|
+
/**
|
|
34
|
+
* Custom ID used as the root part ID and as the base of subpart IDs.
|
|
35
|
+
*/
|
|
36
|
+
customId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* ID given to the input part, forwarded to its inner input element.
|
|
39
|
+
*/
|
|
40
|
+
private _inputId?;
|
|
41
|
+
private get _defaultInputId();
|
|
42
|
+
get inputId(): string;
|
|
43
|
+
set inputId(value: string | null | undefined);
|
|
44
|
+
/**
|
|
45
|
+
* HTML `name` attribute forwarded to the inner input, used as the form data
|
|
46
|
+
* key on submission.
|
|
47
|
+
*/
|
|
48
|
+
private _name;
|
|
49
|
+
get name(): string;
|
|
50
|
+
set name(value: string);
|
|
51
|
+
/**
|
|
52
|
+
* Pre-fills the input until the user types and their input takes over.
|
|
53
|
+
* Resetting the form restores this value.
|
|
54
|
+
*/
|
|
55
|
+
defaultValue?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Accepted authentication identifier types.
|
|
58
|
+
*/
|
|
59
|
+
identifiers: PontAuthIdentifier[];
|
|
60
|
+
private design;
|
|
61
|
+
/**
|
|
62
|
+
* The identifiers actually rendered.
|
|
63
|
+
*
|
|
64
|
+
* At runtime the resolve pass narrows the authored list to the app's enabled
|
|
65
|
+
* login methods, and prunes the field when none survive — so this is never
|
|
66
|
+
* empty by the time a user sees it. The designer narrows nothing, and an
|
|
67
|
+
* unconfigured field would render the generic "Identifier" label, which
|
|
68
|
+
* tells the author nothing about what the element does. Design mode shows
|
|
69
|
+
* the multi-identifier form most screens end up with.
|
|
70
|
+
*/
|
|
71
|
+
private get _identifiers();
|
|
72
|
+
/**
|
|
73
|
+
* Text used in the label part of the field.
|
|
74
|
+
*/
|
|
75
|
+
private _label?;
|
|
76
|
+
private get _defaultLabel();
|
|
77
|
+
get label(): string;
|
|
78
|
+
set label(value: string | null | undefined);
|
|
79
|
+
/**
|
|
80
|
+
* Placeholder text shown inside the input when empty.
|
|
81
|
+
*/
|
|
82
|
+
placeholder?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Text used in the description part of the field.
|
|
85
|
+
*/
|
|
86
|
+
description?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Custom text used in the mark part of the field label.
|
|
89
|
+
*/
|
|
90
|
+
mark?: string;
|
|
91
|
+
/**
|
|
92
|
+
* When provided with `required`, the mark part is rendered with an asterisk.
|
|
93
|
+
* Has no effect if a custom `mark` text is provided.
|
|
94
|
+
*/
|
|
95
|
+
caret?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* HTML `autocomplete` hint forwarded to the inner input element.
|
|
98
|
+
*/
|
|
99
|
+
autocomplete?: IdentifierFieldAutocomplete;
|
|
100
|
+
/**
|
|
101
|
+
* Disables the field and its inner input element, preventing interaction.
|
|
102
|
+
*/
|
|
103
|
+
disabled?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Marks the field as required: validation fails if field is empty.
|
|
106
|
+
*/
|
|
107
|
+
required?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Controls validation depth, only enforcing the required check if `"simple"`.
|
|
110
|
+
*/
|
|
111
|
+
validation: IdentifierFieldValidation;
|
|
112
|
+
/**
|
|
113
|
+
* Error message used when the field is required but empty.
|
|
114
|
+
*/
|
|
115
|
+
private _requiredError?;
|
|
116
|
+
private get _defaultRequiredError();
|
|
117
|
+
get requiredError(): string;
|
|
118
|
+
set requiredError(value: string | null | undefined);
|
|
119
|
+
/**
|
|
120
|
+
* Tracks whether the field is currently in an invalid state.
|
|
121
|
+
*/
|
|
122
|
+
private _invalid;
|
|
123
|
+
/**
|
|
124
|
+
* Error message displayed in the error part when the field is invalid.
|
|
125
|
+
*/
|
|
126
|
+
private _error;
|
|
127
|
+
/**
|
|
128
|
+
* Raw value of the identifier field input, synced on each input event.
|
|
129
|
+
*/
|
|
130
|
+
private _value;
|
|
131
|
+
/**
|
|
132
|
+
* Gates whether `defaultValue` or `_value` is authoritative for `this.value`.
|
|
133
|
+
* True once the user has typed into the input.
|
|
134
|
+
*/
|
|
135
|
+
private _dirty;
|
|
136
|
+
/**
|
|
137
|
+
* Reference to the nearest `<form>` ancestor.
|
|
138
|
+
*/
|
|
139
|
+
private _form;
|
|
140
|
+
protected createRenderRoot(): this;
|
|
141
|
+
get rootId(): string;
|
|
142
|
+
get labelId(): string;
|
|
143
|
+
get markId(): string;
|
|
144
|
+
get descriptionId(): string;
|
|
145
|
+
get errorId(): string;
|
|
146
|
+
/**
|
|
147
|
+
* Normalized value of the identifier field input.
|
|
148
|
+
*/
|
|
149
|
+
get value(): string;
|
|
150
|
+
/**
|
|
151
|
+
* Input element `type`, using identifier-specific types if possible.
|
|
152
|
+
*/
|
|
153
|
+
private get _type();
|
|
154
|
+
updated(changed: PropertyValues): void;
|
|
155
|
+
connectedCallback(): void;
|
|
156
|
+
disconnectedCallback(): void;
|
|
157
|
+
/**
|
|
158
|
+
* Triggers validation and returns `true` if the current value is valid,
|
|
159
|
+
* `false` otherwise.
|
|
160
|
+
*/
|
|
161
|
+
validate(): boolean;
|
|
162
|
+
private _dispatchValidate;
|
|
163
|
+
private _onValidateSuccess;
|
|
164
|
+
private _onValidateError;
|
|
165
|
+
private _validate;
|
|
166
|
+
private _handleInput;
|
|
167
|
+
private _handleFormSubmit;
|
|
168
|
+
private _handleFormReset;
|
|
169
|
+
private _renderMark;
|
|
170
|
+
render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
|
|
171
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from '../../../../../node_modules/lit';
|
|
2
|
+
import { NameFieldAutocomplete, NameFieldPart, NameFieldValidation, PontNameFieldProps as Props } from './field.types';
|
|
3
|
+
/**
|
|
4
|
+
* Self-validating name input field for use in auth widget forms.
|
|
5
|
+
*
|
|
6
|
+
* @part name-field - pont-field: root
|
|
7
|
+
* @part name-field-label - pont-field-label
|
|
8
|
+
* @part name-field-mark - span: decorative marker text/caret in label
|
|
9
|
+
* @part name-field-description - pont-field-description
|
|
10
|
+
* @part name-field-input - pont-input
|
|
11
|
+
* @part name-field-error - pont-field-error: inline validation error message
|
|
12
|
+
*
|
|
13
|
+
* @event pont-name-field:validate - Fired when validation runs, on form submit or via the public `validate()` method.
|
|
14
|
+
* Detail: `{ id: string; inputId: string; name: string; value: string; valid: boolean; type: NameFieldValidateType; message: string }`
|
|
15
|
+
* - type: `"success" | "required" | "minlength" | "maxlength" | "format"`
|
|
16
|
+
*/
|
|
17
|
+
export declare class PontNameField extends LitElement implements Props {
|
|
18
|
+
static readonly ROOT = "name-field";
|
|
19
|
+
static readonly LABEL = "label";
|
|
20
|
+
static readonly MARK = "mark";
|
|
21
|
+
static readonly DESCRIPTION = "description";
|
|
22
|
+
static readonly INPUT = "input";
|
|
23
|
+
static readonly ERROR = "error";
|
|
24
|
+
static readonly TAG: string;
|
|
25
|
+
static readonly VALIDATE_EVENT: string;
|
|
26
|
+
static readonly PARTS: Record<NameFieldPart, string>;
|
|
27
|
+
static readonly INPUT_SELECTORS: string;
|
|
28
|
+
/**
|
|
29
|
+
* Substring used in generated part IDs.
|
|
30
|
+
*/
|
|
31
|
+
seed: string;
|
|
32
|
+
/**
|
|
33
|
+
* Custom ID used as the root part ID and as the base of subpart IDs.
|
|
34
|
+
*/
|
|
35
|
+
customId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* ID given to the input part, forwarded to its inner input element.
|
|
38
|
+
*/
|
|
39
|
+
private _inputId?;
|
|
40
|
+
private get _defaultInputId();
|
|
41
|
+
get inputId(): string;
|
|
42
|
+
set inputId(value: string | null | undefined);
|
|
43
|
+
/**
|
|
44
|
+
* HTML `name` attribute forwarded to the inner input, used as the form data
|
|
45
|
+
* key on submission.
|
|
46
|
+
*/
|
|
47
|
+
private _name;
|
|
48
|
+
get name(): string;
|
|
49
|
+
set name(value: string);
|
|
50
|
+
/**
|
|
51
|
+
* Pre-fills the input until the user types and their input takes over.
|
|
52
|
+
* Resetting the form restores this value.
|
|
53
|
+
*/
|
|
54
|
+
defaultValue?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Text used in the label part of the field.
|
|
57
|
+
*/
|
|
58
|
+
private _label;
|
|
59
|
+
get label(): string;
|
|
60
|
+
set label(value: string);
|
|
61
|
+
/**
|
|
62
|
+
* Placeholder text shown inside the input when empty.
|
|
63
|
+
*/
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Text used in the description part of the field.
|
|
67
|
+
*/
|
|
68
|
+
description?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Custom text used in the mark part of the field label.
|
|
71
|
+
*/
|
|
72
|
+
mark?: string;
|
|
73
|
+
/**
|
|
74
|
+
* When provided with `required`, the mark part is rendered with an asterisk.
|
|
75
|
+
* Has no effect if a custom `mark` text is provided.
|
|
76
|
+
*/
|
|
77
|
+
caret?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* HTML `autocomplete` hint forwarded to the inner input element.
|
|
80
|
+
*/
|
|
81
|
+
autocomplete?: NameFieldAutocomplete;
|
|
82
|
+
/**
|
|
83
|
+
* Disables the field and its inner input element, preventing interaction.
|
|
84
|
+
*/
|
|
85
|
+
disabled?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Marks the field as required: validation fails if field is empty.
|
|
88
|
+
*/
|
|
89
|
+
required?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Minimum number of characters required for a valid name.
|
|
92
|
+
*/
|
|
93
|
+
private _minlength?;
|
|
94
|
+
get minlength(): number | undefined;
|
|
95
|
+
set minlength(value: number | undefined);
|
|
96
|
+
/**
|
|
97
|
+
* Maximum number of characters accepted for a valid name.
|
|
98
|
+
*/
|
|
99
|
+
private _maxlength?;
|
|
100
|
+
get maxlength(): number | undefined;
|
|
101
|
+
set maxlength(value: number | undefined);
|
|
102
|
+
/**
|
|
103
|
+
* Regex pattern used to validate the name format.
|
|
104
|
+
*/
|
|
105
|
+
pattern: string;
|
|
106
|
+
/**
|
|
107
|
+
* Controls validation depth, only enforcing the required check if `"simple"`.
|
|
108
|
+
*/
|
|
109
|
+
validation: NameFieldValidation;
|
|
110
|
+
/**
|
|
111
|
+
* Error message used when the field is required but empty.
|
|
112
|
+
*/
|
|
113
|
+
private _requiredError?;
|
|
114
|
+
private get _defaultRequiredError();
|
|
115
|
+
get requiredError(): string;
|
|
116
|
+
set requiredError(value: string | null | undefined);
|
|
117
|
+
/**
|
|
118
|
+
* Error message used when the field is shorter than `minlength`.
|
|
119
|
+
*/
|
|
120
|
+
private _minlengthError?;
|
|
121
|
+
private get _defaultMinlengthError();
|
|
122
|
+
get minlengthError(): string;
|
|
123
|
+
set minlengthError(value: string | null | undefined);
|
|
124
|
+
/**
|
|
125
|
+
* Error message used when the field is longer than `maxlength`.
|
|
126
|
+
*/
|
|
127
|
+
private _maxlengthError?;
|
|
128
|
+
private get _defaultMaxlengthError();
|
|
129
|
+
get maxlengthError(): string;
|
|
130
|
+
set maxlengthError(value: string | null | undefined);
|
|
131
|
+
/**
|
|
132
|
+
* Error message used when the field does not satisfy name format rules.
|
|
133
|
+
*/
|
|
134
|
+
private _formatError?;
|
|
135
|
+
private get _defaultFormatError();
|
|
136
|
+
get formatError(): string;
|
|
137
|
+
set formatError(value: string | null | undefined);
|
|
138
|
+
/**
|
|
139
|
+
* Tracks whether the field is currently in an invalid state.
|
|
140
|
+
*/
|
|
141
|
+
private _invalid;
|
|
142
|
+
/**
|
|
143
|
+
* Error message displayed in the error part when the field is invalid.
|
|
144
|
+
*/
|
|
145
|
+
private _error;
|
|
146
|
+
/**
|
|
147
|
+
* Raw value of the name field input, synced on each input event.
|
|
148
|
+
*/
|
|
149
|
+
private _value;
|
|
150
|
+
/**
|
|
151
|
+
* Gates whether `defaultValue` or `_value` is authoritative for `this.value`.
|
|
152
|
+
* True once the user has typed into the input.
|
|
153
|
+
*/
|
|
154
|
+
private _dirty;
|
|
155
|
+
/**
|
|
156
|
+
* Reference to the nearest `<form>` ancestor.
|
|
157
|
+
*/
|
|
158
|
+
private _form;
|
|
159
|
+
protected createRenderRoot(): this;
|
|
160
|
+
get rootId(): string;
|
|
161
|
+
get labelId(): string;
|
|
162
|
+
get markId(): string;
|
|
163
|
+
get descriptionId(): string;
|
|
164
|
+
get errorId(): string;
|
|
165
|
+
/**
|
|
166
|
+
* Normalized value of the name field input.
|
|
167
|
+
*/
|
|
168
|
+
get value(): string;
|
|
169
|
+
updated(changed: PropertyValues): void;
|
|
170
|
+
connectedCallback(): void;
|
|
171
|
+
disconnectedCallback(): void;
|
|
172
|
+
/**
|
|
173
|
+
* Triggers validation and returns `true` if the current value is valid,
|
|
174
|
+
* `false` otherwise.
|
|
175
|
+
*/
|
|
176
|
+
validate(): boolean;
|
|
177
|
+
private _dispatchValidate;
|
|
178
|
+
private _onValidateSuccess;
|
|
179
|
+
private _onValidateError;
|
|
180
|
+
private _validate;
|
|
181
|
+
private _handleInput;
|
|
182
|
+
private _handleFormSubmit;
|
|
183
|
+
private _handleFormReset;
|
|
184
|
+
private _renderMark;
|
|
185
|
+
render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
|
|
186
|
+
}
|