@pontive/pontkit-core 1.41.0 → 3.1.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 +129 -195
- package/catalog.json +31 -2378
- package/dist/{pont2/core → core}/controllers/action.d.ts +10 -10
- package/dist/{pont2/core → core}/controllers/copy.d.ts +3 -3
- package/dist/{pont2/core → core}/design-mode.d.ts +3 -3
- package/dist/{pont2/core → core}/events.d.ts +4 -4
- package/dist/{pont2/core → core}/host-element.d.ts +8 -8
- package/dist/{pont2/core → core}/ids.d.ts +1 -1
- package/dist/{pont2/core → core}/names.d.ts +23 -23
- package/dist/{pont2/core → core}/popup/anchored.d.ts +6 -6
- package/dist/{pont2/core → core}/popup/popup-content.d.ts +2 -2
- package/dist/{pont2/core → core}/popup/popup-root.d.ts +5 -5
- package/dist/{pont2/core → core}/url.d.ts +2 -2
- package/dist/{pont2/custom-elements.json → custom-elements.json} +7899 -7977
- package/dist/{pont2/globals.css → globals.css} +14 -14
- package/dist/index.d.ts +51 -12
- package/dist/index.mjs +7323 -39034
- package/dist/index.mjs.map +1 -1
- package/dist/{pont2/kit → kit}/account-menu/account-menu.d.ts +21 -21
- package/dist/{pont2/kit → kit}/account-settings/account-settings.d.ts +16 -16
- package/dist/{pont2/kit → kit}/alert/alert.d.ts +12 -12
- package/dist/kit/aliases.d.ts +33 -0
- package/dist/{pont2/kit → kit}/auth-button/auth-button.d.ts +23 -23
- package/dist/{pont2/kit → kit}/auth-button/providers.d.ts +2 -2
- package/dist/{pont2/kit → kit}/auth-field/auth-field.d.ts +24 -24
- package/dist/{pont2/kit → kit}/auth-field/password-field.d.ts +15 -15
- package/dist/{pont2/kit → kit}/avatar/avatar.d.ts +9 -9
- package/dist/{pont2/kit → kit}/badge-selector/badge-selector.d.ts +5 -5
- package/dist/{pont2/kit → kit}/block/block.d.ts +15 -15
- package/dist/{pont2/kit → kit}/block/branding.d.ts +5 -5
- package/dist/{pont2/kit → kit}/consent/consent.d.ts +7 -7
- package/dist/{pont2/kit → kit}/container/container.d.ts +6 -6
- package/dist/{pont2/kit → kit}/countdown/countdown.d.ts +10 -10
- package/dist/{pont2/kit → kit}/data-table/data-table.d.ts +11 -11
- package/dist/{pont2/kit → kit}/divider/divider.d.ts +4 -4
- package/dist/{pont2/kit → kit}/edit-identifier/edit-identifier.d.ts +8 -8
- package/dist/{pont2/kit → kit}/flow-widget/flow-widget.d.ts +27 -27
- package/dist/kit/flow-widget/preview.d.ts +46 -0
- package/dist/{pont2/kit → kit}/flow-widget/specimens.d.ts +2 -2
- package/dist/{pont2/kit → kit}/gap/gap.d.ts +6 -6
- package/dist/{pont2/kit → kit}/header/header.d.ts +9 -9
- package/dist/{pont2/kit → kit}/input-otp/input-otp.d.ts +14 -14
- package/dist/{pont2/kit → kit}/layout/flow-error.d.ts +1 -1
- package/dist/{pont2/kit → kit}/layout/layout.d.ts +24 -24
- package/dist/{pont2/kit → kit}/link/link.d.ts +15 -15
- package/dist/{pont2/kit → kit}/logo/logo.d.ts +7 -7
- package/dist/{pont2/kit → kit}/member-management/member-management.d.ts +24 -24
- package/dist/{pont2/kit → kit}/multi-email-input/multi-email-input.d.ts +6 -6
- package/dist/{pont2/kit → kit}/multi-select-filter/multi-select-filter.d.ts +5 -5
- package/dist/{pont2/kit → kit}/organization-switcher/organization-switcher.d.ts +16 -16
- package/dist/{pont2/kit → kit}/otp-field/otp-field.d.ts +17 -17
- package/dist/{pont2/kit → kit}/otp-field/otp-resend.d.ts +10 -10
- package/dist/{pont2/kit → kit}/pagination/pagination.d.ts +7 -7
- package/dist/{pont2/kit → kit}/provider/account-client.d.ts +3 -3
- package/dist/{pont2/kit → kit}/provider/account-controller.d.ts +2 -2
- package/dist/{pont2/kit → kit}/provider/contexts.d.ts +7 -7
- package/dist/{pont2/kit → kit}/provider/provider.d.ts +30 -32
- package/dist/{pont2/kit → kit}/provider/redirect.d.ts +3 -3
- package/dist/{pont2/kit → kit}/provider/runtime-config.d.ts +1 -1
- package/dist/{pont2/kit → kit}/provider/sdk.d.ts +2 -2
- package/dist/{pont2/kit → kit}/provider/signed-in.d.ts +15 -15
- package/dist/{pont2/kit → kit}/provider/widget-messages.d.ts +1 -1
- package/dist/{pont2/kit → kit}/provider-field/provider-field.d.ts +13 -13
- package/dist/{pont2/kit → kit}/qr-code/qr-code.d.ts +13 -13
- package/dist/{pont2/kit → kit}/recovery-codes/recovery-codes.d.ts +13 -13
- package/dist/{pont2/kit → kit}/scope-list/scope-list.d.ts +8 -8
- package/dist/{pont2/kit → kit}/secret/secret.d.ts +11 -11
- package/dist/{pont2/kit → kit}/typography/typography.d.ts +15 -15
- package/dist/{pont2/kit → kit}/watermark/watermark.d.ts +8 -8
- package/dist/{pont2/primitives → primitives}/alert/alert.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/alert-dialog/alert-dialog.d.ts +40 -40
- package/dist/{pont2/primitives → primitives}/avatar/avatar.d.ts +16 -16
- package/dist/{pont2/primitives → primitives}/badge/badge.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/button/button.d.ts +10 -10
- package/dist/{pont2/primitives → primitives}/button-group/button-group.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/card/card.d.ts +17 -17
- package/dist/{pont2/primitives → primitives}/checkbox/checkbox.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/combobox/combobox.d.ts +35 -35
- package/dist/{pont2/primitives → primitives}/dialog/dialog.d.ts +37 -37
- package/dist/{pont2/primitives → primitives}/drawer/drawer.d.ts +31 -31
- package/dist/{pont2/primitives → primitives}/dropdown-menu/dropdown-menu.d.ts +47 -47
- package/dist/{pont2/primitives → primitives}/empty/empty.d.ts +12 -12
- package/dist/{pont2/primitives → primitives}/field/field.d.ts +31 -31
- package/dist/{pont2/primitives → primitives}/hover-card/hover-card.d.ts +13 -13
- package/dist/{pont2/primitives → primitives}/input/input.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/input-group/input-group.d.ts +20 -20
- package/dist/{pont2/primitives → primitives}/input-otp/input-otp.d.ts +11 -11
- package/dist/{pont2/primitives → primitives}/item/item.d.ts +22 -22
- package/dist/{pont2/primitives → primitives}/kbd/kbd.d.ts +6 -6
- package/dist/{pont2/primitives → primitives}/label/label.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/native-select/native-select.d.ts +7 -7
- package/dist/{pont2/primitives → primitives}/pagination/pagination.d.ts +25 -25
- package/dist/{pont2/primitives → primitives}/popover/popover.d.ts +25 -25
- package/dist/{pont2/primitives → primitives}/progress/progress.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/radio-group/radio-group.d.ts +7 -7
- package/dist/{pont2/primitives → primitives}/select/select.d.ts +26 -26
- package/dist/{pont2/primitives → primitives}/separator/separator.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/sheet/sheet.d.ts +31 -31
- package/dist/{pont2/primitives → primitives}/skeleton/skeleton.d.ts +2 -2
- package/dist/{pont2/primitives → primitives}/slider/slider-math.d.ts +1 -1
- package/dist/{pont2/primitives → primitives}/slider/slider.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/sonner/sonner.d.ts +7 -7
- package/dist/{pont2/primitives → primitives}/sonner/toast-store.d.ts +1 -1
- package/dist/{pont2/primitives → primitives}/spinner/spinner.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/switch/switch.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/table/table.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/tabs/tabs.d.ts +13 -13
- package/dist/{pont2/primitives → primitives}/textarea/textarea.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/tooltip/tooltip.d.ts +13 -13
- package/dist/styles.css +3162 -28581
- package/dist/{pont2/theme → theme}/fonts.d.ts +3 -3
- package/dist/{pont2/theme → theme}/golden.d.ts +1 -1
- package/dist/{pont2/theme → theme}/index.d.ts +2 -2
- package/dist/{pont2/theme → theme}/scopes.d.ts +2 -2
- package/dist/{pont2/theme → theme}/shadcn.d.ts +1 -1
- package/dist/{pont2/theme → theme}/types.d.ts +7 -7
- package/dist/{pont2/theme → theme}/value.d.ts +1 -1
- package/dist/{pont2/theme → theme}/vocabulary.d.ts +5 -5
- package/dist/{pont2/theme-golden.json → theme-golden.json} +65 -65
- package/dist/theme.mjs +429 -0
- package/dist/theme.mjs.map +1 -0
- package/dist/{pont2/tokens.json → tokens.json} +1217 -1186
- package/package.json +27 -64
- package/custom-elements.json +0 -1
- package/dist/assets/icons/account.icon.d.ts +0 -1
- package/dist/assets/icons/badge-check-icon.d.ts +0 -1
- package/dist/assets/icons/burger-menu.icon.d.ts +0 -1
- package/dist/assets/icons/check.d.ts +0 -1
- package/dist/assets/icons/clock-icon.d.ts +0 -1
- package/dist/assets/icons/close.icon.d.ts +0 -1
- package/dist/assets/icons/copy.icon.d.ts +0 -1
- package/dist/assets/icons/edit.icon.d.ts +0 -1
- package/dist/assets/icons/email.d.ts +0 -1
- package/dist/assets/icons/image-icon.d.ts +0 -1
- package/dist/assets/icons/index.d.ts +0 -20
- package/dist/assets/icons/link-icon.d.ts +0 -1
- package/dist/assets/icons/location.icon.d.ts +0 -1
- package/dist/assets/icons/members-icon.d.ts +0 -1
- package/dist/assets/icons/personal-info.icon.d.ts +0 -1
- package/dist/assets/icons/plusIcon.d.ts +0 -1
- package/dist/assets/icons/refresh-cw-icon.d.ts +0 -1
- package/dist/assets/icons/search-icon.d.ts +0 -1
- package/dist/assets/icons/triangle-alert.d.ts +0 -1
- package/dist/assets/icons/url.icon.d.ts +0 -1
- package/dist/assets/icons/user-round-check-icon.d.ts +0 -1
- package/dist/components/index.d.ts +0 -4
- package/dist/components/renderers/auth/button/_passkey-button.d.ts +0 -81
- package/dist/components/renderers/auth/button/_provider-button.d.ts +0 -103
- package/dist/components/renderers/auth/button/_submit-button.d.ts +0 -71
- package/dist/components/renderers/auth/button/button.defs.d.ts +0 -21
- package/dist/components/renderers/auth/button/button.stories/passkey-button.stories.d.ts +0 -12
- package/dist/components/renderers/auth/button/button.stories/provider-button.stories.d.ts +0 -24
- package/dist/components/renderers/auth/button/button.stories/submit-button.stories.d.ts +0 -12
- package/dist/components/renderers/auth/button/button.types.d.ts +0 -54
- package/dist/components/renderers/auth/button/index.d.ts +0 -11
- package/dist/components/renderers/auth/edit-identifier/_edit-identifier.d.ts +0 -33
- package/dist/components/renderers/auth/edit-identifier/edit-identifier.defs.d.ts +0 -2
- package/dist/components/renderers/auth/edit-identifier/edit-identifier.types.d.ts +0 -7
- package/dist/components/renderers/auth/edit-identifier/index.d.ts +0 -7
- package/dist/components/renderers/auth/field/_confirm-field.d.ts +0 -168
- package/dist/components/renderers/auth/field/_email-field.d.ts +0 -160
- package/dist/components/renderers/auth/field/_identifier-field.d.ts +0 -171
- package/dist/components/renderers/auth/field/_name-field.d.ts +0 -186
- package/dist/components/renderers/auth/field/_password-field.d.ts +0 -230
- package/dist/components/renderers/auth/field/_phone-field.d.ts +0 -160
- package/dist/components/renderers/auth/field/_username-field.d.ts +0 -186
- package/dist/components/renderers/auth/field/field.defs.d.ts +0 -24
- package/dist/components/renderers/auth/field/field.stories/confirm-field.stories.d.ts +0 -14
- package/dist/components/renderers/auth/field/field.stories/email-field.stories.d.ts +0 -13
- package/dist/components/renderers/auth/field/field.stories/helpers.d.ts +0 -2
- package/dist/components/renderers/auth/field/field.stories/identifier-field.stories.d.ts +0 -25
- package/dist/components/renderers/auth/field/field.stories/name-field.stories.d.ts +0 -14
- package/dist/components/renderers/auth/field/field.stories/password-field.stories.d.ts +0 -15
- package/dist/components/renderers/auth/field/field.stories/phone-field.stories.d.ts +0 -13
- package/dist/components/renderers/auth/field/field.stories/username-field.stories.d.ts +0 -13
- package/dist/components/renderers/auth/field/field.types.d.ts +0 -120
- package/dist/components/renderers/auth/field/index.d.ts +0 -19
- package/dist/components/renderers/auth/form/_form.d.ts +0 -76
- package/dist/components/renderers/auth/form/form.defs.d.ts +0 -7
- package/dist/components/renderers/auth/form/form.stories.d.ts +0 -7
- package/dist/components/renderers/auth/form/form.types.d.ts +0 -19
- package/dist/components/renderers/auth/form/index.d.ts +0 -7
- package/dist/components/renderers/auth/index.d.ts +0 -10
- package/dist/components/renderers/auth/otp/_otp-resend.d.ts +0 -46
- package/dist/components/renderers/auth/otp/_otp.d.ts +0 -58
- package/dist/components/renderers/auth/otp/index.d.ts +0 -9
- package/dist/components/renderers/auth/otp/otp.defs.d.ts +0 -2
- package/dist/components/renderers/auth/otp/otp.stories.d.ts +0 -5
- package/dist/components/renderers/auth/otp/otp.types.d.ts +0 -25
- package/dist/components/renderers/auth/provider-field/_provider-field.d.ts +0 -124
- package/dist/components/renderers/auth/provider-field/index.d.ts +0 -7
- package/dist/components/renderers/auth/provider-field/provider-field.stories.d.ts +0 -25
- package/dist/components/renderers/auth/provider-field/provider-field.types.d.ts +0 -17
- package/dist/components/renderers/auth/qr-code/_qr-code.d.ts +0 -36
- package/dist/components/renderers/auth/qr-code/index.d.ts +0 -7
- package/dist/components/renderers/auth/qr-code/qr-code.defs.d.ts +0 -2
- package/dist/components/renderers/auth/qr-code/qr-code.stories.d.ts +0 -5
- package/dist/components/renderers/auth/qr-code/qr-code.types.d.ts +0 -11
- package/dist/components/renderers/auth/recovery-codes/_recovery-codes.d.ts +0 -31
- package/dist/components/renderers/auth/recovery-codes/index.d.ts +0 -1
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.defs.d.ts +0 -2
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.stories.d.ts +0 -5
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.types.d.ts +0 -11
- package/dist/components/renderers/auth/scope-list/_scope-list.d.ts +0 -44
- package/dist/components/renderers/auth/scope-list/index.d.ts +0 -7
- package/dist/components/renderers/auth/scope-list/scope-list.defs.d.ts +0 -2
- package/dist/components/renderers/auth/scope-list/scope-list.stories.d.ts +0 -8
- package/dist/components/renderers/auth/scope-list/scope-list.types.d.ts +0 -20
- package/dist/components/renderers/auth/scope-list/scope-list.value.d.ts +0 -14
- package/dist/components/renderers/auth/secret/_secret.d.ts +0 -30
- package/dist/components/renderers/auth/secret/index.d.ts +0 -7
- package/dist/components/renderers/auth/secret/secret.defs.d.ts +0 -2
- package/dist/components/renderers/auth/secret/secret.stories.d.ts +0 -5
- package/dist/components/renderers/auth/secret/secret.types.d.ts +0 -12
- package/dist/components/renderers/feedback/alert/_alert.d.ts +0 -61
- package/dist/components/renderers/feedback/alert/alert.defs.d.ts +0 -7
- package/dist/components/renderers/feedback/alert/alert.stories.d.ts +0 -11
- package/dist/components/renderers/feedback/alert/alert.types.d.ts +0 -14
- package/dist/components/renderers/feedback/alert/index.d.ts +0 -7
- package/dist/components/renderers/feedback/countdown/_countdown.d.ts +0 -45
- package/dist/components/renderers/feedback/countdown/countdown.defs.d.ts +0 -9
- package/dist/components/renderers/feedback/countdown/countdown.stories.d.ts +0 -7
- package/dist/components/renderers/feedback/countdown/index.d.ts +0 -1
- package/dist/components/renderers/feedback/index.d.ts +0 -2
- package/dist/components/renderers/index.d.ts +0 -6
- package/dist/components/renderers/layout/block/_block.d.ts +0 -41
- package/dist/components/renderers/layout/block/block.stories.d.ts +0 -8
- package/dist/components/renderers/layout/block/block.types.d.ts +0 -10
- package/dist/components/renderers/layout/block/index.d.ts +0 -7
- package/dist/components/renderers/layout/container/_container.d.ts +0 -24
- package/dist/components/renderers/layout/container/container.stories.d.ts +0 -19
- package/dist/components/renderers/layout/container/container.types.d.ts +0 -7
- package/dist/components/renderers/layout/container/index.d.ts +0 -7
- package/dist/components/renderers/layout/divider/_divider.d.ts +0 -27
- package/dist/components/renderers/layout/divider/divider.stories.d.ts +0 -6
- package/dist/components/renderers/layout/divider/divider.types.d.ts +0 -6
- package/dist/components/renderers/layout/divider/index.d.ts +0 -7
- package/dist/components/renderers/layout/gap/_gap.d.ts +0 -9
- package/dist/components/renderers/layout/gap/gap.stories.d.ts +0 -7
- package/dist/components/renderers/layout/gap/gap.types.d.ts +0 -6
- package/dist/components/renderers/layout/gap/index.d.ts +0 -7
- package/dist/components/renderers/layout/header/_header.d.ts +0 -28
- package/dist/components/renderers/layout/header/header.stories.d.ts +0 -7
- package/dist/components/renderers/layout/header/header.types.d.ts +0 -9
- package/dist/components/renderers/layout/header/index.d.ts +0 -7
- package/dist/components/renderers/layout/index.d.ts +0 -5
- package/dist/components/renderers/navigation/external-link/_external-link.d.ts +0 -26
- package/dist/components/renderers/navigation/external-link/external-link.defs.d.ts +0 -2
- package/dist/components/renderers/navigation/external-link/external-link.href.d.ts +0 -9
- package/dist/components/renderers/navigation/external-link/external-link.stories.d.ts +0 -7
- package/dist/components/renderers/navigation/external-link/external-link.types.d.ts +0 -5
- package/dist/components/renderers/navigation/external-link/index.d.ts +0 -7
- package/dist/components/renderers/navigation/index.d.ts +0 -2
- package/dist/components/renderers/navigation/link/_link.d.ts +0 -76
- package/dist/components/renderers/navigation/link/index.d.ts +0 -7
- package/dist/components/renderers/navigation/link/link.defs.d.ts +0 -3
- package/dist/components/renderers/navigation/link/link.stories.d.ts +0 -9
- package/dist/components/renderers/navigation/link/link.types.d.ts +0 -12
- package/dist/components/renderers/typography/index.d.ts +0 -2
- package/dist/components/renderers/typography/subtitle/_subtitle.d.ts +0 -23
- package/dist/components/renderers/typography/subtitle/index.d.ts +0 -1
- package/dist/components/renderers/typography/subtitle/subtitle.defs.d.ts +0 -7
- package/dist/components/renderers/typography/subtitle/subtitle.stories.d.ts +0 -9
- package/dist/components/renderers/typography/title/_title.d.ts +0 -28
- package/dist/components/renderers/typography/title/index.d.ts +0 -1
- package/dist/components/renderers/typography/title/title.defs.d.ts +0 -10
- package/dist/components/renderers/typography/title/title.stories.d.ts +0 -10
- package/dist/components/renderers/visuals/index.d.ts +0 -2
- package/dist/components/renderers/visuals/logo/_logo.d.ts +0 -27
- package/dist/components/renderers/visuals/logo/index.d.ts +0 -7
- package/dist/components/renderers/visuals/logo/logo.stories.d.ts +0 -17
- package/dist/components/renderers/visuals/logo/logo.types.d.ts +0 -6
- package/dist/components/renderers/visuals/watermark/_watermark.d.ts +0 -68
- package/dist/components/renderers/visuals/watermark/index.d.ts +0 -7
- package/dist/components/renderers/visuals/watermark/watermark.defs.d.ts +0 -4
- package/dist/components/renderers/visuals/watermark/watermark.stories.d.ts +0 -8
- package/dist/components/renderers/visuals/watermark/watermark.types.d.ts +0 -11
- package/dist/components/ui/badge-selector/badge-selector.d.ts +0 -49
- package/dist/components/ui/hint/index.d.ts +0 -6
- package/dist/components/ui/index.d.ts +0 -7
- package/dist/components/ui/modal/index.d.ts +0 -12
- package/dist/components/ui/multi-email-input/multi-email-input.d.ts +0 -32
- package/dist/components/ui/multi-select-filter/pont-multi-select-filter.d.ts +0 -18
- package/dist/components/ui/paginator/paginator.d.ts +0 -16
- package/dist/components/ui/pont-sidedrawer/pont-sidedrawer.d.ts +0 -23
- package/dist/components/widgets/flow-widget.d.ts +0 -32
- package/dist/components/widgets/index.d.ts +0 -9
- package/dist/components/widgets/pont-account-menu/index.d.ts +0 -1
- package/dist/components/widgets/pont-account-menu/pont-account-menu.d.ts +0 -95
- package/dist/components/widgets/pont-account-settings/index.d.ts +0 -3
- package/dist/components/widgets/pont-account-settings/pont-account-settings.d.ts +0 -76
- package/dist/components/widgets/pont-account-settings/profile/classes.d.ts +0 -18
- package/dist/components/widgets/pont-account-settings/profile/components/account-info.d.ts +0 -116
- package/dist/components/widgets/pont-account-settings/profile/components/index.d.ts +0 -4
- package/dist/components/widgets/pont-account-settings/profile/components/location-info.d.ts +0 -45
- package/dist/components/widgets/pont-account-settings/profile/components/personal-info.d.ts +0 -57
- package/dist/components/widgets/pont-account-settings/profile/components/urls-info.d.ts +0 -38
- package/dist/components/widgets/pont-account-settings/profile/index.d.ts +0 -2
- package/dist/components/widgets/pont-account-settings/profile/pont-profile.d.ts +0 -24
- package/dist/components/widgets/pont-account-settings/security-settings/index.d.ts +0 -1
- package/dist/components/widgets/pont-account-settings/security-settings/security-settings.d.ts +0 -12
- package/dist/components/widgets/pont-account-settings/sidebar/classes.d.ts +0 -8
- package/dist/components/widgets/pont-account-settings/sidebar/sidebar.d.ts +0 -27
- package/dist/components/widgets/pont-consent/consent-api.d.ts +0 -56
- package/dist/components/widgets/pont-consent/pont-consent.d.ts +0 -50
- package/dist/components/widgets/pont-invitation/pont-invitation.d.ts +0 -23
- package/dist/components/widgets/pont-member-management/components/action-modal.d.ts +0 -35
- package/dist/components/widgets/pont-member-management/components/index.d.ts +0 -5
- package/dist/components/widgets/pont-member-management/components/invitations-panel.d.ts +0 -44
- package/dist/components/widgets/pont-member-management/components/invite-members-form.d.ts +0 -32
- package/dist/components/widgets/pont-member-management/components/manage-roles-form.d.ts +0 -36
- package/dist/components/widgets/pont-member-management/components/members-panel.d.ts +0 -51
- package/dist/components/widgets/pont-member-management/components/page-range.d.ts +0 -5
- package/dist/components/widgets/pont-member-management/components/role-badges.d.ts +0 -5
- package/dist/components/widgets/pont-member-management/components/role-options.d.ts +0 -20
- package/dist/components/widgets/pont-member-management/errors.d.ts +0 -32
- package/dist/components/widgets/pont-member-management/index.d.ts +0 -1
- package/dist/components/widgets/pont-member-management/pont-member-management.d.ts +0 -125
- package/dist/components/widgets/pont-member-management/types.d.ts +0 -5
- package/dist/components/widgets/pont-organization-switcher/index.d.ts +0 -1
- package/dist/components/widgets/pont-organization-switcher/pont-organization-switcher.d.ts +0 -64
- package/dist/components/widgets/pont-preview/pont-preview.d.ts +0 -19
- package/dist/components/widgets/pont-signin/pont-signin.d.ts +0 -4
- package/dist/components/widgets/pont-signup/pont-signup.d.ts +0 -4
- package/dist/components/wrappers/base-element/base-element.d.ts +0 -19
- package/dist/components/wrappers/index.d.ts +0 -7
- package/dist/components/wrappers/layout/layout.d.ts +0 -93
- package/dist/components/wrappers/pont-auth-state/pont-auth-state.d.ts +0 -12
- package/dist/components/wrappers/pont-authenticated/pont-authenticated.d.ts +0 -27
- package/dist/components/wrappers/pont-provider/pont-provider.d.ts +0 -113
- package/dist/components/wrappers/pont-signed-in/pont-signed-in.d.ts +0 -11
- package/dist/components/wrappers/pont-signed-out/pont-signed-out.d.ts +0 -11
- package/dist/constants/classes.d.ts +0 -9
- package/dist/constants/components.d.ts +0 -6
- package/dist/constants/index.d.ts +0 -4
- package/dist/constants/regex.d.ts +0 -4
- package/dist/constants/styles.d.ts +0 -1
- package/dist/context/auth-context.d.ts +0 -17
- package/dist/context/branding-context.d.ts +0 -52
- package/dist/context/customization-context.d.ts +0 -4
- package/dist/context/design-context.d.ts +0 -47
- package/dist/context/env-context.d.ts +0 -4
- package/dist/context/index.d.ts +0 -8
- package/dist/context/locale-context.d.ts +0 -3
- package/dist/context/render-spec.d.ts +0 -3
- package/dist/context/user-context.d.ts +0 -8
- package/dist/context-root.d.ts +0 -1
- package/dist/element-tag-map.d.ts +0 -106
- package/dist/events/account-settings.d.ts +0 -10
- package/dist/events/index.d.ts +0 -15
- package/dist/events/locales.d.ts +0 -6
- package/dist/events/member-management.d.ts +0 -10
- package/dist/funcs/env.d.ts +0 -3
- package/dist/funcs/index.d.ts +0 -1
- package/dist/i18n/messages.d.ts +0 -60
- package/dist/index.js +0 -6827
- package/dist/index.js.map +0 -1
- package/dist/legacy.css +0 -25448
- package/dist/pont2/index.d.ts +0 -51
- package/dist/pont2/index.mjs +0 -10418
- package/dist/pont2/index.mjs.map +0 -1
- package/dist/pont2/kit/aliases.d.ts +0 -33
- package/dist/pont2/kit/flow-widget/preview.d.ts +0 -46
- package/dist/pont2/kit/provider/coexistence.d.ts +0 -19
- package/dist/pont2/migration/catalog.d.ts +0 -29
- package/dist/pont2/migration/legacy-markup.d.ts +0 -36
- package/dist/pont2/styles.css +0 -8275
- package/dist/pont2/theme/tokens.json.d.ts +0 -8515
- package/dist/pont2/theme.mjs +0 -425
- package/dist/pont2/theme.mjs.map +0 -1
- package/dist/pont2/with-legacy.css +0 -8
- package/dist/primitives/assets/icons/anchor.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/app-window.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/arrow-up-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrows.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/asterisk.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-x.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bell.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bookmark.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/brand-javascript.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/captions.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/carousel-arrow-left.d.ts +0 -1
- package/dist/primitives/assets/icons/carousel-arrow-right.d.ts +0 -1
- package/dist/primitives/assets/icons/chart.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chevron-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chorven-down.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-x.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/close.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/cloud.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/copy.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/corner-down-left.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/credit-card.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/decrease.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/dot.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/down.d.ts +0 -1
- package/dist/primitives/assets/icons/external-link.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-off.d.ts +0 -1
- package/dist/primitives/assets/icons/eye-off.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-on.d.ts +0 -1
- package/dist/primitives/assets/icons/file-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/folder-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-plus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/help-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/house.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/inbox.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/index.d.ts +0 -67
- package/dist/primitives/assets/icons/info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/loader-circle.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail-warning.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/plus.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/rabbit.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/radio-group.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/radio.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/refresh-ccw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/refresh-cw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/search.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/settings.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shield-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shopping-bag.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/star.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/tick.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/up-down.d.ts +0 -1
- package/dist/primitives/assets/icons/up.d.ts +0 -1
- package/dist/primitives/assets/icons/wand.icon.d.ts +0 -2
- package/dist/primitives/components/index.d.ts +0 -1
- package/dist/primitives/components/ui/accordion/accordion-content.d.ts +0 -20
- package/dist/primitives/components/ui/accordion/accordion-item.d.ts +0 -21
- package/dist/primitives/components/ui/accordion/accordion-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/accordion/accordion.d.ts +0 -25
- package/dist/primitives/components/ui/accordion/accordion.defs.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.stories.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.styles.d.ts +0 -4
- package/dist/primitives/components/ui/alert/_alert-action.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-description.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-title.d.ts +0 -20
- package/dist/primitives/components/ui/alert/_alert.d.ts +0 -25
- package/dist/primitives/components/ui/alert/alert.d.ts +0 -16
- package/dist/primitives/components/ui/alert/alert.defs.d.ts +0 -4
- package/dist/primitives/components/ui/alert/alert.stories.d.ts +0 -12
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -16
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -4
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +0 -4
- package/dist/primitives/components/ui/avatar/_avatar-badge.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-fallback.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group-count.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-image.d.ts +0 -28
- package/dist/primitives/components/ui/avatar/_avatar.d.ts +0 -65
- package/dist/primitives/components/ui/avatar/avatar.d.ts +0 -20
- package/dist/primitives/components/ui/avatar/avatar.defs.d.ts +0 -8
- package/dist/primitives/components/ui/avatar/avatar.stories.d.ts +0 -13
- package/dist/primitives/components/ui/badge/_badge.d.ts +0 -43
- package/dist/primitives/components/ui/badge/badge.d.ts +0 -10
- package/dist/primitives/components/ui/badge/badge.defs.d.ts +0 -8
- package/dist/primitives/components/ui/badge/badge.stories.d.ts +0 -10
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -15
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.d.ts +0 -21
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -4
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.styles.d.ts +0 -4
- package/dist/primitives/components/ui/button/_button.d.ts +0 -62
- package/dist/primitives/components/ui/button/button.d.ts +0 -10
- package/dist/primitives/components/ui/button/button.defs.d.ts +0 -14
- package/dist/primitives/components/ui/button/button.stories.d.ts +0 -13
- package/dist/primitives/components/ui/calendar/calendar.d.ts +0 -24
- package/dist/primitives/components/ui/calendar/calendar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/calendar/calendar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/calendar/calendar.style.d.ts +0 -38
- package/dist/primitives/components/ui/card/_card-action.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-content.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card-description.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-footer.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-header.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-title.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card.d.ts +0 -25
- package/dist/primitives/components/ui/card/card.d.ts +0 -22
- package/dist/primitives/components/ui/card/card.defs.d.ts +0 -10
- package/dist/primitives/components/ui/card/card.stories.d.ts +0 -11
- package/dist/primitives/components/ui/carousel/carousel.d.ts +0 -24
- package/dist/primitives/components/ui/carousel/carousel.stories.d.ts +0 -6
- package/dist/primitives/components/ui/carousel/carousel.styles.d.ts +0 -32
- package/dist/primitives/components/ui/checkbox/_checkbox.d.ts +0 -92
- package/dist/primitives/components/ui/checkbox/checkbox.d.ts +0 -10
- package/dist/primitives/components/ui/checkbox/checkbox.defs.d.ts +0 -11
- package/dist/primitives/components/ui/checkbox/checkbox.stories.d.ts +0 -13
- package/dist/primitives/components/ui/collapsible/collapsible-content.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible.d.ts +0 -23
- package/dist/primitives/components/ui/collapsible/collapsible.stories.d.ts +0 -5
- package/dist/primitives/components/ui/combobox/combo-box-empty.d.ts +0 -14
- package/dist/primitives/components/ui/combobox/combo-box-group.d.ts +0 -37
- package/dist/primitives/components/ui/combobox/combo-box-input.d.ts +0 -17
- package/dist/primitives/components/ui/combobox/combo-box-item.d.ts +0 -25
- package/dist/primitives/components/ui/combobox/combo-box-trigger.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box-value.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box.d.ts +0 -35
- package/dist/primitives/components/ui/combobox/combo-box.stories.d.ts +0 -10
- package/dist/primitives/components/ui/combobox/combo-box.styles.d.ts +0 -14
- package/dist/primitives/components/ui/command/command-empty.atom.d.ts +0 -18
- package/dist/primitives/components/ui/command/command-group.atom.d.ts +0 -19
- package/dist/primitives/components/ui/command/command-input.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-item.atom.d.ts +0 -24
- package/dist/primitives/components/ui/command/command-list.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-separator.atom.d.ts +0 -14
- package/dist/primitives/components/ui/command/command.d.ts +0 -22
- package/dist/primitives/components/ui/command/command.helpers.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.stories.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.styles.d.ts +0 -15
- package/dist/primitives/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-content.d.ts +0 -14
- package/dist/primitives/components/ui/context-menu/context-menu-group.d.ts +0 -10
- package/dist/primitives/components/ui/context-menu/context-menu-item.d.ts +0 -13
- package/dist/primitives/components/ui/context-menu/context-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-seperator.d.ts +0 -6
- package/dist/primitives/components/ui/context-menu/context-menu-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/context-menu/context-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/context-menu/context-menu.d.ts +0 -40
- package/dist/primitives/components/ui/context-menu/context-menu.helpers.d.ts +0 -1
- package/dist/primitives/components/ui/context-menu/context-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/context-menu/contextMenu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/data-table/data-table.d.ts +0 -102
- package/dist/primitives/components/ui/data-table/data-table.stories.d.ts +0 -6
- package/dist/primitives/components/ui/data-table/index.d.ts +0 -7
- package/dist/primitives/components/ui/date-picker/date-picker.d.ts +0 -12
- package/dist/primitives/components/ui/date-picker/date-picker.stories.d.ts +0 -4
- package/dist/primitives/components/ui/date-picker/date-picker.styles.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-close.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-content.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-footer.d.ts +0 -9
- package/dist/primitives/components/ui/dialog/dialog-header.d.ts +0 -7
- package/dist/primitives/components/ui/dialog/dialog-overly.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/dialog/dialog.d.ts +0 -30
- package/dist/primitives/components/ui/dialog/dialog.stories.d.ts +0 -6
- package/dist/primitives/components/ui/dialog/dialog.styles.d.ts +0 -17
- package/dist/primitives/components/ui/drawer/drawer-close.d.ts +0 -15
- package/dist/primitives/components/ui/drawer/drawer-content.d.ts +0 -14
- package/dist/primitives/components/ui/drawer/drawer-description.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-footer.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-header.d.ts +0 -8
- package/dist/primitives/components/ui/drawer/drawer-overlay.d.ts +0 -5
- package/dist/primitives/components/ui/drawer/drawer-title.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/drawer/drawer.d.ts +0 -40
- package/dist/primitives/components/ui/drawer/drawer.helpers.d.ts +0 -2
- package/dist/primitives/components/ui/drawer/drawer.stories.d.ts +0 -4
- package/dist/primitives/components/ui/drawer/drawer.styles.d.ts +0 -14
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -18
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -11
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -40
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -8
- package/dist/primitives/components/ui/empty/_empty-content.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-description.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-header.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-media.d.ts +0 -29
- package/dist/primitives/components/ui/empty/_empty-title.d.ts +0 -22
- package/dist/primitives/components/ui/empty/_empty.d.ts +0 -28
- package/dist/primitives/components/ui/empty/empty.d.ts +0 -20
- package/dist/primitives/components/ui/empty/empty.defs.d.ts +0 -7
- package/dist/primitives/components/ui/empty/empty.stories.d.ts +0 -10
- package/dist/primitives/components/ui/field/_field-content.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-description.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-error.d.ts +0 -25
- package/dist/primitives/components/ui/field/_field-group.d.ts +0 -28
- package/dist/primitives/components/ui/field/_field-label.d.ts +0 -27
- package/dist/primitives/components/ui/field/_field-legend.d.ts +0 -30
- package/dist/primitives/components/ui/field/_field-separator.d.ts +0 -42
- package/dist/primitives/components/ui/field/_field-set.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field-title.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field.d.ts +0 -36
- package/dist/primitives/components/ui/field/field.d.ts +0 -29
- package/dist/primitives/components/ui/field/field.defs.d.ts +0 -23
- package/dist/primitives/components/ui/field/field.stories.d.ts +0 -16
- package/dist/primitives/components/ui/form/form-context.d.ts +0 -4
- package/dist/primitives/components/ui/form/form-controller.d.ts +0 -28
- package/dist/primitives/components/ui/form/form-field-context.d.ts +0 -3
- package/dist/primitives/components/ui/form/form-item-context.d.ts +0 -7
- package/dist/primitives/components/ui/form/form.stories.d.ts +0 -5
- package/dist/primitives/components/ui/form/form.styles.d.ts +0 -7
- package/dist/primitives/components/ui/form/pont-form-controller.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-description.d.ts +0 -13
- package/dist/primitives/components/ui/form/pont-form-field.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-item.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-label.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-message.d.ts +0 -17
- package/dist/primitives/components/ui/form/pont-form.d.ts +0 -23
- package/dist/primitives/components/ui/hoverCard/hover-card-content.d.ts +0 -15
- package/dist/primitives/components/ui/hoverCard/hover-card-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/hoverCard/hover-card.d.ts +0 -28
- package/dist/primitives/components/ui/hoverCard/hover-card.stories.d.ts +0 -4
- package/dist/primitives/components/ui/hoverCard/hover-card.styles.d.ts +0 -5
- package/dist/primitives/components/ui/index.d.ts +0 -50
- package/dist/primitives/components/ui/input/_input.d.ts +0 -163
- package/dist/primitives/components/ui/input/input.d.ts +0 -11
- package/dist/primitives/components/ui/input/input.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input/input.stories.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/_input-group-addon.d.ts +0 -32
- package/dist/primitives/components/ui/input-group/_input-group-button.d.ts +0 -59
- package/dist/primitives/components/ui/input-group/_input-group-input.d.ts +0 -140
- package/dist/primitives/components/ui/input-group/_input-group-text.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/_input-group-textarea.d.ts +0 -114
- package/dist/primitives/components/ui/input-group/_input-group.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/input-group.d.ts +0 -20
- package/dist/primitives/components/ui/input-group/input-group.defs.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/input-group.stories.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-group.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-separator.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-slot.d.ts +0 -29
- package/dist/primitives/components/ui/input-otp/_input-otp.d.ts +0 -192
- package/dist/primitives/components/ui/input-otp/input-otp.d.ts +0 -16
- package/dist/primitives/components/ui/input-otp/input-otp.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input-otp/input-otp.stories.d.ts +0 -12
- package/dist/primitives/components/ui/item/_item-actions.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-content.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-description.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-footer.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-group.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-header.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-media.d.ts +0 -28
- package/dist/primitives/components/ui/item/_item-separator.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-title.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item.d.ts +0 -42
- package/dist/primitives/components/ui/item/item.d.ts +0 -29
- package/dist/primitives/components/ui/item/item.defs.d.ts +0 -13
- package/dist/primitives/components/ui/item/item.stories.d.ts +0 -13
- package/dist/primitives/components/ui/kbd/_kbd-group.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/_kbd.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/kbd.d.ts +0 -12
- package/dist/primitives/components/ui/kbd/kbd.stories.d.ts +0 -8
- package/dist/primitives/components/ui/label/_label.d.ts +0 -26
- package/dist/primitives/components/ui/label/label.d.ts +0 -10
- package/dist/primitives/components/ui/label/label.defs.d.ts +0 -3
- package/dist/primitives/components/ui/label/label.stories.d.ts +0 -10
- package/dist/primitives/components/ui/menubar/menubar-checkbox.item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-content.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-group.d.ts +0 -14
- package/dist/primitives/components/ui/menubar/menubar-item.d.ts +0 -17
- package/dist/primitives/components/ui/menubar/menubar-menu.d.ts +0 -30
- package/dist/primitives/components/ui/menubar/menubar-radio-item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-separator.d.ts +0 -13
- package/dist/primitives/components/ui/menubar/menubar-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar.d.ts +0 -33
- package/dist/primitives/components/ui/menubar/menubar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/menubar/menubar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/menubar/menubar.styles.d.ts +0 -21
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -19
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -23
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -8
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.d.ts +0 -24
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.styles.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-content.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-ellipsis.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-item.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-link.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-next.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-previous.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination.d.ts +0 -26
- package/dist/primitives/components/ui/pagination/pagination.stories.d.ts +0 -4
- package/dist/primitives/components/ui/pagination/pagination.styles.d.ts +0 -18
- package/dist/primitives/components/ui/pagination/pagination.type.d.ts +0 -2
- package/dist/primitives/components/ui/password-input/_password-input.d.ts +0 -122
- package/dist/primitives/components/ui/password-input/password-input.d.ts +0 -10
- package/dist/primitives/components/ui/password-input/password-input.defs.d.ts +0 -3
- package/dist/primitives/components/ui/password-input/password-input.stories.d.ts +0 -8
- package/dist/primitives/components/ui/popover/popover-content.d.ts +0 -18
- package/dist/primitives/components/ui/popover/popover-trigger.d.ts +0 -12
- package/dist/primitives/components/ui/popover/popover.d.ts +0 -21
- package/dist/primitives/components/ui/popover/popover.stories.d.ts +0 -4
- package/dist/primitives/components/ui/popover/popover.style.d.ts +0 -5
- package/dist/primitives/components/ui/popover/popover.types.d.ts +0 -2
- package/dist/primitives/components/ui/progress/progress.d.ts +0 -11
- package/dist/primitives/components/ui/progress/progress.stories.d.ts +0 -4
- package/dist/primitives/components/ui/progress/progress.styles.d.ts +0 -4
- package/dist/primitives/components/ui/radio-group/_radio-group-item.d.ts +0 -98
- package/dist/primitives/components/ui/radio-group/_radio-group.d.ts +0 -184
- package/dist/primitives/components/ui/radio-group/radio-group.d.ts +0 -13
- package/dist/primitives/components/ui/radio-group/radio-group.defs.d.ts +0 -18
- package/dist/primitives/components/ui/radio-group/radio-group.stories.d.ts +0 -13
- package/dist/primitives/components/ui/scroll-area/scroll-area.d.ts +0 -12
- package/dist/primitives/components/ui/scroll-area/scroll-area.stories.d.ts +0 -4
- package/dist/primitives/components/ui/scroll-area/scroll-area.style.d.ts +0 -1
- package/dist/primitives/components/ui/select/index.d.ts +0 -25
- package/dist/primitives/components/ui/select/select-controller.d.ts +0 -16
- package/dist/primitives/components/ui/select/select-group.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-item.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-label.d.ts +0 -13
- package/dist/primitives/components/ui/select/select-list.d.ts +0 -10
- package/dist/primitives/components/ui/select/select-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/select/select-trigger.d.ts +0 -35
- package/dist/primitives/components/ui/select/select-value.d.ts +0 -13
- package/dist/primitives/components/ui/select/select.d.ts +0 -18
- package/dist/primitives/components/ui/select/select.stories.d.ts +0 -10
- package/dist/primitives/components/ui/select/select.styles.d.ts +0 -20
- package/dist/primitives/components/ui/separator/_separator.d.ts +0 -21
- package/dist/primitives/components/ui/separator/separator.d.ts +0 -10
- package/dist/primitives/components/ui/separator/separator.defs.d.ts +0 -5
- package/dist/primitives/components/ui/separator/separator.stories.d.ts +0 -9
- package/dist/primitives/components/ui/skeleton/skeleton.d.ts +0 -10
- package/dist/primitives/components/ui/skeleton/skeleton.stories.d.ts +0 -4
- package/dist/primitives/components/ui/skeleton/skeleton.style.d.ts +0 -1
- package/dist/primitives/components/ui/spinner/_spinner.d.ts +0 -18
- package/dist/primitives/components/ui/spinner/spinner.d.ts +0 -10
- package/dist/primitives/components/ui/spinner/spinner.defs.d.ts +0 -15
- package/dist/primitives/components/ui/spinner/spinner.stories.d.ts +0 -11
- package/dist/primitives/components/ui/switch/_switch.d.ts +0 -146
- package/dist/primitives/components/ui/switch/switch.d.ts +0 -10
- package/dist/primitives/components/ui/switch/switch.defs.d.ts +0 -13
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +0 -12
- package/dist/primitives/components/ui/table/table.d.ts +0 -17
- package/dist/primitives/components/ui/table/table.stories.d.ts +0 -4
- package/dist/primitives/components/ui/table/table.styles.d.ts +0 -39
- package/dist/primitives/components/ui/tabs/_tabs-content.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-list.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-trigger.d.ts +0 -46
- package/dist/primitives/components/ui/tabs/_tabs.d.ts +0 -28
- package/dist/primitives/components/ui/tabs/tabs.d.ts +0 -17
- package/dist/primitives/components/ui/tabs/tabs.defs.d.ts +0 -22
- package/dist/primitives/components/ui/tabs/tabs.helpers.d.ts +0 -24
- package/dist/primitives/components/ui/tabs/tabs.stories.d.ts +0 -13
- package/dist/primitives/components/ui/textarea/_textarea.d.ts +0 -131
- package/dist/primitives/components/ui/textarea/textarea.d.ts +0 -10
- package/dist/primitives/components/ui/textarea/textarea.defs.d.ts +0 -23
- package/dist/primitives/components/ui/textarea/textarea.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast-action.d.ts +0 -26
- package/dist/primitives/components/ui/toast/toast-description.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-title.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/toast/toast-view-port.d.ts +0 -23
- package/dist/primitives/components/ui/toast/toast.d.ts +0 -24
- package/dist/primitives/components/ui/toast/toast.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast.style.d.ts +0 -19
- package/dist/primitives/components/ui/toast/toast.type.d.ts +0 -1
- package/dist/primitives/components/ui/toggle/toggle.d.ts +0 -28
- package/dist/primitives/components/ui/toggle/toggle.defs.d.ts +0 -27
- package/dist/primitives/components/ui/toggle/toggle.stories.d.ts +0 -5
- package/dist/primitives/components/ui/toggle/toggle.style.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group-item.d.ts +0 -42
- package/dist/primitives/components/ui/toggle-group/toggle-group.d.ts +0 -24
- package/dist/primitives/components/ui/toggle-group/toggle-group.defs.d.ts +0 -37
- package/dist/primitives/components/ui/toggle-group/toggle-group.stories.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group.style.d.ts +0 -5
- package/dist/primitives/components/ui/typography/_typography-blockquote.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-code.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-h.d.ts +0 -27
- package/dist/primitives/components/ui/typography/_typography-large.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-lead.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-list.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-muted.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-p.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-small.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-table.d.ts +0 -13
- package/dist/primitives/components/ui/typography/typography.d.ts +0 -28
- package/dist/primitives/components/ui/typography/typography.defs.d.ts +0 -4
- package/dist/primitives/components/ui/typography/typography.stories.d.ts +0 -18
- package/dist/primitives/helpers/base-element.d.ts +0 -20
- package/dist/primitives/helpers/country-codes.d.ts +0 -5
- package/dist/primitives/helpers/genrate-uuid.helper.d.ts +0 -1
- package/dist/primitives/helpers/index.d.ts +0 -7
- package/dist/primitives/helpers/mouse-conroller.helper.d.ts +0 -14
- package/dist/primitives/helpers/shadow-wrapper.d.ts +0 -7
- package/dist/primitives/helpers/style.helpers.d.ts +0 -2
- package/dist/primitives/helpers/widget-controller.d.ts +0 -12
- package/dist/primitives/index.d.ts +0 -1
- package/dist/primitives/interfaces/atomic.interface.d.ts +0 -6
- package/dist/primitives/interfaces/child-support-atomic.interface.d.ts +0 -4
- package/dist/primitives/interfaces/index.d.ts +0 -4
- package/dist/primitives/interfaces/intractable.interface.d.ts +0 -6
- package/dist/primitives/interfaces/variant.interface.d.ts +0 -3
- package/dist/service/http/fetch.d.ts +0 -21
- package/dist/service/http/index.d.ts +0 -3
- package/dist/service/http/organization/assignable-roles.d.ts +0 -8
- package/dist/service/http/organization/index.d.ts +0 -4
- package/dist/service/http/organization/invitations.d.ts +0 -5
- package/dist/service/http/organization/management-token.d.ts +0 -13
- package/dist/service/http/organization/members.d.ts +0 -6
- package/dist/service/http/user/index.d.ts +0 -9
- package/dist/service/http/user/organizations.d.ts +0 -16
- package/dist/service/index.d.ts +0 -1
- package/dist/stories/preview.stories.d.ts +0 -5
- package/dist/tokens/tailwind/animation.d.ts +0 -7
- package/dist/tokens/tailwind/border-radius.d.ts +0 -45
- package/dist/tokens/tailwind/border-width.d.ts +0 -22
- package/dist/tokens/tailwind/box-shadow.d.ts +0 -12
- package/dist/tokens/tailwind/color.d.ts +0 -193
- package/dist/tokens/tailwind/font-size.d.ts +0 -89
- package/dist/tokens/tailwind/font-weight.d.ts +0 -26
- package/dist/tokens/tailwind/index.d.ts +0 -760
- package/dist/tokens/tailwind/keyframes.d.ts +0 -41
- package/dist/tokens/tailwind/opacity.d.ts +0 -28
- package/dist/tokens/tailwind/ring-offset-width.d.ts +0 -6
- package/dist/tokens/tailwind/ring-width.d.ts +0 -11
- package/dist/tokens/tailwind/spacing.d.ts +0 -264
- package/dist/tokens/tailwind/transition-duration.d.ts +0 -5
- package/dist/tokens/tailwind/transition-timing-function.d.ts +0 -4
- package/dist/tokens/tailwind/translate.d.ts +0 -5
- package/dist/types/auth.d.ts +0 -2
- package/dist/types/common/index.d.ts +0 -15
- package/dist/types/components/index.d.ts +0 -3
- package/dist/types/components/pont-primitives.d.ts +0 -7
- package/dist/types/components/pont-widgets.d.ts +0 -1
- package/dist/types/components/user-profile.d.ts +0 -33
- package/dist/types/core/index.d.ts +0 -61
- package/dist/types/index.d.ts +0 -7
- package/dist/types/layout/index.d.ts +0 -256
- package/dist/types/service/http/common/index.d.ts +0 -6
- package/dist/types/service/http/index.d.ts +0 -5
- package/dist/types/service/http/invitation/index.d.ts +0 -47
- package/dist/types/service/http/member/index.d.ts +0 -43
- package/dist/types/service/http/roles/index.d.ts +0 -19
- package/dist/types/service/http/user/index.d.ts +0 -40
- package/dist/types/service/index.d.ts +0 -1
- package/dist/types/styles/index.d.ts +0 -72
- package/dist/utils/components.d.ts +0 -24
- package/dist/utils/flow-error.d.ts +0 -25
- package/dist/utils/format.d.ts +0 -52
- package/dist/utils/html-base64.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -8
- package/dist/utils/instance-unavailable.d.ts +0 -19
- package/dist/utils/login-hint.d.ts +0 -12
- package/dist/utils/post-auth-destination.d.ts +0 -26
- package/dist/utils/storybook.d.ts +0 -1
- package/dist/utils/styles.d.ts +0 -21
- package/dist/utils/svg-base64.d.ts +0 -2
- package/dist/utils/tailwind.d.ts +0 -7
- package/dist/utils/tokens.d.ts +0 -1
- /package/dist/{pont2/core → core}/attrs.d.ts +0 -0
- /package/dist/{pont2/core → core}/context-root.d.ts +0 -0
- /package/dist/{pont2/core → core}/controllers/roving-focus.d.ts +0 -0
- /package/dist/{pont2/core → core}/form-control.d.ts +0 -0
- /package/dist/{pont2/core → core}/format.d.ts +0 -0
- /package/dist/{pont2/core → core}/icons.d.ts +0 -0
- /package/dist/{pont2/core → core}/index.d.ts +0 -0
- /package/dist/{pont2/core → core}/messages.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/index.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/list.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/modal.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/position.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/story-helpers.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/account-settings/profile.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/consent/consent-api.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/data-table/rows.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/index.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/member-management/errors.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/member-management/roles.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/multi-email-input/emails.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/pagination/range.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/provider/account-user.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/scope-list/scope-value.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/story-helpers.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/watermark/pontive-logo.d.ts +0 -0
- /package/dist/{pont2/primitives → primitives}/input-otp/otp.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/apply.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/compile.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/manifest.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/validate.d.ts +0 -0
|
@@ -26,7 +26,7 @@ export interface AccountMenuItem {
|
|
|
26
26
|
value?: string;
|
|
27
27
|
onSelect?: (value: string) => void;
|
|
28
28
|
}
|
|
29
|
-
/** Detail of `
|
|
29
|
+
/** Detail of `pont-menu-item-click`. */
|
|
30
30
|
export interface MenuItemClickDetail {
|
|
31
31
|
item: AccountMenuItem;
|
|
32
32
|
/** A toggle's new state. */
|
|
@@ -35,12 +35,12 @@ export interface MenuItemClickDetail {
|
|
|
35
35
|
value?: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* # `<
|
|
38
|
+
* # `<pont-account-menu>`: who is signed in, account settings, log out
|
|
39
39
|
*
|
|
40
40
|
* ```html
|
|
41
|
-
* <
|
|
42
|
-
* <
|
|
43
|
-
* </
|
|
41
|
+
* <pont-provider app-id="app_123" domain="auth.acme.com" api-base-url="https://api.us.pontive.com">
|
|
42
|
+
* <pont-account-menu account-settings-url="/account"></pont-account-menu>
|
|
43
|
+
* </pont-provider>
|
|
44
44
|
* ```
|
|
45
45
|
*
|
|
46
46
|
* The legacy `pont-account-menu` (with its `pont-user-snippet`), as shadcn's
|
|
@@ -49,32 +49,32 @@ export interface MenuItemClickDetail {
|
|
|
49
49
|
* `items`, and **Log out**. It **is** the Dropdown Menu primitive's root
|
|
50
50
|
* (`extends DropdownMenu`), so keyboard, focus and dismissal are the menu's.
|
|
51
51
|
*
|
|
52
|
-
* - **Data** comes from the account client (`
|
|
52
|
+
* - **Data** comes from the account client (`pont:account-client`, or its own
|
|
53
53
|
* `client`): the user is `client.getUser()`, read again on every session
|
|
54
54
|
* change. It never calls the SDK itself.
|
|
55
55
|
* - **Nothing renders** until the provider has resolved the auth state, nor
|
|
56
56
|
* for a signed-out visitor.
|
|
57
|
-
* - **Account settings** fires `
|
|
57
|
+
* - **Account settings** fires `pont-account-settings` (cancelable: cancel it
|
|
58
58
|
* to navigate with a client-side router). Otherwise it goes to
|
|
59
59
|
* `account-settings-url` (not when that is the page already open), else it
|
|
60
|
-
* asks an account-settings dialog to open (`
|
|
60
|
+
* asks an account-settings dialog to open (`pont-open-account-settings` on
|
|
61
61
|
* `document`).
|
|
62
|
-
* - **Log out** fires `
|
|
62
|
+
* - **Log out** fires `pont-logout` (cancelable: cancel it to sign out
|
|
63
63
|
* yourself), then `client.signOut()`.
|
|
64
|
-
* - **Items** fire `
|
|
64
|
+
* - **Items** fire `pont-menu-item-click` (`{ item, checked?, value? }`); an
|
|
65
65
|
* action item then runs `onClick`, else follows `href` unless the event was
|
|
66
66
|
* cancelled.
|
|
67
67
|
*
|
|
68
68
|
* Words: `account_settings`, `log_out` (branding-svc Account messages).
|
|
69
69
|
*
|
|
70
|
-
* @tag
|
|
71
|
-
* @attr account-settings-url - where "Account settings" goes when nothing cancels `
|
|
70
|
+
* @tag pont-account-menu
|
|
71
|
+
* @attr account-settings-url - where "Account settings" goes when nothing cancels `pont-account-settings`
|
|
72
72
|
* @prop client - its own `AccountClient` (default: the provider's)
|
|
73
73
|
* @prop items - `AccountMenuItem[]`: entries between "Account settings" and "Log out"
|
|
74
|
-
* @fires
|
|
75
|
-
* @fires
|
|
76
|
-
* @fires
|
|
77
|
-
* @fires
|
|
74
|
+
* @fires pont-account-settings - cancelable, `{}`: "Account settings" was chosen
|
|
75
|
+
* @fires pont-logout - cancelable, `{}`: "Log out" was chosen
|
|
76
|
+
* @fires pont-menu-item-click - cancelable `{ item, checked?, value? }`: one of `items` was chosen
|
|
77
|
+
* @fires pont-open-change - cancelable `{ open, reason }` (the menu's)
|
|
78
78
|
*/
|
|
79
79
|
export declare class AccountMenu extends DropdownMenu {
|
|
80
80
|
static composite: boolean;
|
|
@@ -102,14 +102,14 @@ export declare class AccountMenu extends DropdownMenu {
|
|
|
102
102
|
}
|
|
103
103
|
declare global {
|
|
104
104
|
interface HTMLElementTagNameMap {
|
|
105
|
-
"
|
|
105
|
+
"pont-account-menu": AccountMenu;
|
|
106
106
|
}
|
|
107
107
|
interface HTMLElementEventMap {
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
108
|
+
"pont-account-settings": CustomEvent<Record<string, never>>;
|
|
109
|
+
"pont-logout": CustomEvent<Record<string, never>>;
|
|
110
|
+
"pont-menu-item-click": CustomEvent<MenuItemClickDetail>;
|
|
111
111
|
}
|
|
112
112
|
interface DocumentEventMap {
|
|
113
|
-
"
|
|
113
|
+
"pont-open-account-settings": CustomEvent<void>;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -21,27 +21,27 @@ export interface AccountSettingsContent {
|
|
|
21
21
|
locations?: AccountSettingsCardContent;
|
|
22
22
|
urls?: AccountSettingsCardContent;
|
|
23
23
|
}
|
|
24
|
-
/** Detail of `
|
|
24
|
+
/** Detail of `pont-profile-updated`. */
|
|
25
25
|
export interface ProfileUpdatedDetail {
|
|
26
26
|
section: ProfileSection;
|
|
27
27
|
profile: AccountProfile;
|
|
28
28
|
}
|
|
29
29
|
type LoadState = "idle" | "loading" | "ready" | "error";
|
|
30
30
|
/**
|
|
31
|
-
* # `<
|
|
31
|
+
* # `<pont-account-settings>`: the signed-in user's own profile
|
|
32
32
|
*
|
|
33
33
|
* ```html
|
|
34
|
-
* <
|
|
35
|
-
* <
|
|
36
|
-
* <
|
|
37
|
-
* </
|
|
34
|
+
* <pont-provider app-id="app_123" domain="auth.acme.com" api-base-url="https://api.us.pontive.com">
|
|
35
|
+
* <pont-account-menu></pont-account-menu>
|
|
36
|
+
* <pont-account-settings mode="modal"></pont-account-settings>
|
|
37
|
+
* </pont-provider>
|
|
38
38
|
* ```
|
|
39
39
|
*
|
|
40
40
|
* The legacy `pont-account-settings`: a Profile tab (Login info with the
|
|
41
41
|
* photo, email and phone; Personal info; Location; Links) and a Security tab
|
|
42
42
|
* (coming soon), each profile card edited and saved on its own.
|
|
43
43
|
*
|
|
44
|
-
* - **Data** comes from the account client (`
|
|
44
|
+
* - **Data** comes from the account client (`pont:account-client`, or its own
|
|
45
45
|
* `client`): `getProfile()` (`GET /mgmt/v1/me`) and `updateProfile()`
|
|
46
46
|
* (`PATCH /mgmt/v1/me`). A client without `getProfile` gets a "not available"
|
|
47
47
|
* state; one without `updateProfile` shows the profile read-only.
|
|
@@ -50,8 +50,8 @@ type LoadState = "idle" | "loading" | "ready" | "error";
|
|
|
50
50
|
* - **`mode="page"`** (default) shows it in place (a skeleton while the
|
|
51
51
|
* profile loads). **`mode="modal"`** shows it in a Dialog, opened by `open`,
|
|
52
52
|
* `show()`, or the account menu's "Account settings": this element answers
|
|
53
|
-
* the menu's `
|
|
54
|
-
* `preventDefault()` and opens. `
|
|
53
|
+
* the menu's `pont-open-account-settings` (on `document`) with
|
|
54
|
+
* `preventDefault()` and opens. `pont-close-account-settings` on `document`
|
|
55
55
|
* closes it.
|
|
56
56
|
* - **Labels wrap** (carry-over §4): a long translated label keeps a gap from
|
|
57
57
|
* its value and wraps instead of running into it; below 30rem the label
|
|
@@ -61,7 +61,7 @@ type LoadState = "idle" | "loading" | "ready" | "error";
|
|
|
61
61
|
* for a stopped instance, `connection_failed` with no answer), never the
|
|
62
62
|
* server's English.
|
|
63
63
|
*
|
|
64
|
-
* @tag
|
|
64
|
+
* @tag pont-account-settings
|
|
65
65
|
* @attr mode - `page` (default) | `modal` (legacy `PAGE` / `MODAL`)
|
|
66
66
|
* @attr orientation - `horizontal` (default: the tabs beside the content) | `vertical` (the tabs above it)
|
|
67
67
|
* @attr widgets-layout - `row` (default: label beside value) | `column` (label above value)
|
|
@@ -69,8 +69,8 @@ type LoadState = "idle" | "loading" | "ready" | "error";
|
|
|
69
69
|
* @prop client - its own `AccountClient` (default: the provider's)
|
|
70
70
|
* @prop content - `AccountSettingsContent`: the cards' own titles and icons
|
|
71
71
|
* @prop profile - `AccountProfile | null` (read-only): the profile shown
|
|
72
|
-
* @fires
|
|
73
|
-
* @fires
|
|
72
|
+
* @fires pont-profile-updated - `{ section, profile }`, after a section was saved
|
|
73
|
+
* @fires pont-open-change - modal mode: cancelable `{ open, reason }` (the dialog's)
|
|
74
74
|
*/
|
|
75
75
|
export declare class AccountSettings extends HostElement {
|
|
76
76
|
static composite: boolean;
|
|
@@ -110,7 +110,7 @@ export declare class AccountSettings extends HostElement {
|
|
|
110
110
|
close(): void;
|
|
111
111
|
/** Reads the profile again. */
|
|
112
112
|
reload(): Promise<void>;
|
|
113
|
-
/** `
|
|
113
|
+
/** `pont-open-account-settings`: the menu's "Account settings" had no URL and nothing cancelled it. */
|
|
114
114
|
private onOpenRequest;
|
|
115
115
|
private onCloseRequest;
|
|
116
116
|
private refresh;
|
|
@@ -145,13 +145,13 @@ export declare class AccountSettings extends HostElement {
|
|
|
145
145
|
}
|
|
146
146
|
declare global {
|
|
147
147
|
interface HTMLElementTagNameMap {
|
|
148
|
-
"
|
|
148
|
+
"pont-account-settings": AccountSettings;
|
|
149
149
|
}
|
|
150
150
|
interface HTMLElementEventMap {
|
|
151
|
-
"
|
|
151
|
+
"pont-profile-updated": CustomEvent<ProfileUpdatedDetail>;
|
|
152
152
|
}
|
|
153
153
|
interface DocumentEventMap {
|
|
154
|
-
"
|
|
154
|
+
"pont-close-account-settings": CustomEvent<void>;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
export {};
|
|
@@ -3,24 +3,24 @@ import { Alert } from '../../primitives/alert/alert';
|
|
|
3
3
|
export declare const ALERT_STATUSES: readonly ["default", "error", "warning", "success", "info"];
|
|
4
4
|
export type AlertStatus = (typeof ALERT_STATUSES)[number];
|
|
5
5
|
/**
|
|
6
|
-
* # `<
|
|
6
|
+
* # `<pont-alert>`: kit composite over `<pont-prim-alert>`
|
|
7
7
|
*
|
|
8
|
-
* The props-driven form of shadcn's Alert, and
|
|
8
|
+
* The props-driven form of shadcn's Alert, and pont's version of the legacy
|
|
9
9
|
* `pont-alert` (which composed `pont-callout`, the legacy shadcn alert).
|
|
10
10
|
*
|
|
11
11
|
* ```html
|
|
12
|
-
* <
|
|
13
|
-
* description="Check your card details and try again."></
|
|
12
|
+
* <pont-alert status="error" icon heading="Payment failed"
|
|
13
|
+
* description="Check your card details and try again."></pont-alert>
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* renders exactly the DOM the primitive form produces:
|
|
17
17
|
*
|
|
18
18
|
* ```html
|
|
19
|
-
* <
|
|
19
|
+
* <pont-alert data-pont-alert data-slot="alert" data-variant="destructive" data-status="error">
|
|
20
20
|
* <svg …/>
|
|
21
|
-
* <div data-
|
|
22
|
-
* <div data-
|
|
23
|
-
* </
|
|
21
|
+
* <div data-pont-alert-title data-slot="alert-title">Payment failed</div>
|
|
22
|
+
* <div data-pont-alert-description data-slot="alert-description">Check your…</div>
|
|
23
|
+
* </pont-alert>
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
26
|
* - **It is a primitive Alert** (`extends Alert`): same identity, slot, recipe
|
|
@@ -28,7 +28,7 @@ export type AlertStatus = (typeof ALERT_STATUSES)[number];
|
|
|
28
28
|
* with the primitive's attributes), not nested elements.
|
|
29
29
|
* - **What it adds** over shadcn: `status` (`error` maps to shadcn's
|
|
30
30
|
* `destructive` variant; `warning`/`success`/`info` are coloured in
|
|
31
|
-
* `@layer
|
|
31
|
+
* `@layer pont.kit` with the `--pont-sem-color-success|warning|info` tokens), a
|
|
32
32
|
* status icon, and a status-appropriate role (`alert` for error/warning,
|
|
33
33
|
* `status` otherwise, as the legacy `pont-alert` did). An author `role`
|
|
34
34
|
* attribute still wins.
|
|
@@ -38,12 +38,12 @@ export type AlertStatus = (typeof ALERT_STATUSES)[number];
|
|
|
38
38
|
* `heading` instead of `title`: `title` is a global HTML attribute that shows
|
|
39
39
|
* a native tooltip, so the attribute would leak onto the whole alert.
|
|
40
40
|
*
|
|
41
|
-
* @tag
|
|
41
|
+
* @tag pont-alert
|
|
42
42
|
* @attr status - default | error | warning | success | info
|
|
43
43
|
* @attr heading - the alert title text
|
|
44
44
|
* @attr description - the description text
|
|
45
45
|
* @attr icon - show the status icon
|
|
46
|
-
* @cssprop --
|
|
46
|
+
* @cssprop --pont-alert-warning-fg, --pont-alert-success-fg, --pont-alert-info-fg - status colours (default the sem status colours)
|
|
47
47
|
*/
|
|
48
48
|
export declare class KitAlert extends Alert {
|
|
49
49
|
static composite: boolean;
|
|
@@ -58,6 +58,6 @@ export declare class KitAlert extends Alert {
|
|
|
58
58
|
}
|
|
59
59
|
declare global {
|
|
60
60
|
interface HTMLElementTagNameMap {
|
|
61
|
-
"
|
|
61
|
+
"pont-alert": KitAlert;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Badge } from '../primitives/badge/badge';
|
|
2
|
+
import { PontButton } from '../primitives/button/button';
|
|
3
|
+
import { Checkbox } from '../primitives/checkbox/checkbox';
|
|
4
|
+
import { PontInput } from '../primitives/input/input';
|
|
5
|
+
import { Kbd, KbdGroup } from '../primitives/kbd/kbd';
|
|
6
|
+
import { PontLabel } from '../primitives/label/label';
|
|
7
|
+
import { NativeSelect } from '../primitives/native-select/native-select';
|
|
8
|
+
import { Separator } from '../primitives/separator/separator';
|
|
9
|
+
import { Skeleton } from '../primitives/skeleton/skeleton';
|
|
10
|
+
import { Slider } from '../primitives/slider/slider';
|
|
11
|
+
import { Spinner } from '../primitives/spinner/spinner';
|
|
12
|
+
import { Switch } from '../primitives/switch/switch';
|
|
13
|
+
import { Table } from '../primitives/table/table';
|
|
14
|
+
import { PontTextarea } from '../primitives/textarea/textarea';
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
"pont-badge": Badge;
|
|
18
|
+
"pont-button": PontButton;
|
|
19
|
+
"pont-checkbox": Checkbox;
|
|
20
|
+
"pont-input": PontInput;
|
|
21
|
+
"pont-kbd": Kbd;
|
|
22
|
+
"pont-kbd-group": KbdGroup;
|
|
23
|
+
"pont-label": PontLabel;
|
|
24
|
+
"pont-native-select": NativeSelect;
|
|
25
|
+
"pont-separator": Separator;
|
|
26
|
+
"pont-skeleton": Skeleton;
|
|
27
|
+
"pont-slider": Slider;
|
|
28
|
+
"pont-spinner": Spinner;
|
|
29
|
+
"pont-switch": Switch;
|
|
30
|
+
"pont-table": Table;
|
|
31
|
+
"pont-textarea": PontTextarea;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -14,15 +14,15 @@ export type AuthButtonIconAlign = (typeof AUTH_BUTTON_ICON_ALIGNS)[number];
|
|
|
14
14
|
*
|
|
15
15
|
* An auth button **is a Button** (`extends ButtonBase`: variant, size,
|
|
16
16
|
* disabled, type… inherited, nothing forwarded) and **has action behaviour**
|
|
17
|
-
* (`ActionController`: the `
|
|
17
|
+
* (`ActionController`: the `pont-action` request/response protocol, see
|
|
18
18
|
* core/controllers/action.ts). Its DOM is the button primitive's:
|
|
19
19
|
*
|
|
20
20
|
* ```html
|
|
21
|
-
* <
|
|
22
|
-
* <button data-
|
|
21
|
+
* <pont-provider-button provider="google" data-pont-shell> ← display: contents
|
|
22
|
+
* <button data-pont-button data-slot="button" data-variant="outline" data-provider="google" type="button">
|
|
23
23
|
* <svg data-icon="inline-start" …/>Continue with Google
|
|
24
24
|
* </button>
|
|
25
|
-
* </
|
|
25
|
+
* </pont-provider-button>
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
28
|
* Two nodes; the legacy `pont-provider-button > pont-button > button` has three.
|
|
@@ -60,7 +60,7 @@ export declare abstract class AuthButton extends ButtonBase {
|
|
|
60
60
|
protected abstract defaultLabel(): string;
|
|
61
61
|
/** The button's icon, with the attributes shadcn's button CSS keys on. */
|
|
62
62
|
protected abstract renderIcon(attrs: Record<string, string>): TemplateResult | typeof nothing;
|
|
63
|
-
/** Data sent with the `
|
|
63
|
+
/** Data sent with the `pont-action` request. */
|
|
64
64
|
protected actionData(): Record<string, unknown>;
|
|
65
65
|
/** What a press does. The default requests the action. */
|
|
66
66
|
protected onPress(_e: MouseEvent): void;
|
|
@@ -71,17 +71,17 @@ export declare abstract class AuthButton extends ButtonBase {
|
|
|
71
71
|
protected renderContent(): TemplateResult<1>;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* # `<
|
|
74
|
+
* # `<pont-provider-button>`: sign in with an identity provider
|
|
75
75
|
*
|
|
76
76
|
* ```html
|
|
77
|
-
* <
|
|
77
|
+
* <pont-provider-button provider="google" event="oauth_google"></pont-provider-button>
|
|
78
78
|
* ```
|
|
79
79
|
*
|
|
80
80
|
* Defaults: `variant="outline"`, `content="icon-label"`, label
|
|
81
81
|
* "`prompt` + provider name" ("Continue with Google"). Pressing requests
|
|
82
82
|
* `event` with `{ provider }` (see AuthButton).
|
|
83
83
|
*
|
|
84
|
-
* @tag
|
|
84
|
+
* @tag pont-provider-button
|
|
85
85
|
* @attr provider - apple | discord | facebook | github | google | linkedin | meta | microsoft | x
|
|
86
86
|
* @attr prompt - text before the provider name in the default label (default "Continue with")
|
|
87
87
|
* @attr label - replaces the whole default label
|
|
@@ -89,9 +89,9 @@ export declare abstract class AuthButton extends ButtonBase {
|
|
|
89
89
|
* @attr content - label | icon-label (default) | icon
|
|
90
90
|
* @attr icon-align - start (default) | end
|
|
91
91
|
* @attr loading - busy state set by the owner
|
|
92
|
-
* @fires
|
|
93
|
-
* @fires
|
|
94
|
-
* @fires
|
|
92
|
+
* @fires pont-action - `{ action, data: { provider }, respondWith }` on press
|
|
93
|
+
* @fires pont-action-success - `{ action, data, result }`
|
|
94
|
+
* @fires pont-action-error - `{ action, data, error, message }`
|
|
95
95
|
*/
|
|
96
96
|
export declare class ProviderButton extends AuthButton {
|
|
97
97
|
static properties: PropertyDeclarations;
|
|
@@ -112,10 +112,10 @@ export declare class ProviderButton extends AuthButton {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
* # `<
|
|
115
|
+
* # `<pont-passkey-button>`: sign in with a passkey
|
|
116
116
|
*
|
|
117
117
|
* ```html
|
|
118
|
-
* <
|
|
118
|
+
* <pont-passkey-button event="passkey_login"></pont-passkey-button>
|
|
119
119
|
* ```
|
|
120
120
|
*
|
|
121
121
|
* Defaults: `variant="secondary"`, `content="label"`, label "Continue with
|
|
@@ -126,9 +126,9 @@ export declare class ProviderButton extends AuthButton {
|
|
|
126
126
|
* inside the click, so the call keeps the user activation that
|
|
127
127
|
* `navigator.credentials.get()` needs in Safari.
|
|
128
128
|
*
|
|
129
|
-
* @tag
|
|
129
|
+
* @tag pont-passkey-button
|
|
130
130
|
* @attr label, event, content, icon-align, loading - see ProviderButton
|
|
131
|
-
* @fires
|
|
131
|
+
* @fires pont-action, pont-action-success, pont-action-error
|
|
132
132
|
*/
|
|
133
133
|
export declare class PasskeyButton extends AuthButton {
|
|
134
134
|
constructor();
|
|
@@ -136,12 +136,12 @@ export declare class PasskeyButton extends AuthButton {
|
|
|
136
136
|
protected renderIcon(a: Record<string, string>): TemplateResult<1>;
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
* # `<
|
|
139
|
+
* # `<pont-submit-button>`: submit an auth form
|
|
140
140
|
*
|
|
141
141
|
* ```html
|
|
142
142
|
* <form>
|
|
143
143
|
* …fields…
|
|
144
|
-
* <
|
|
144
|
+
* <pont-submit-button event="submit_password"></pont-submit-button>
|
|
145
145
|
* </form>
|
|
146
146
|
* ```
|
|
147
147
|
*
|
|
@@ -168,10 +168,10 @@ export declare class PasskeyButton extends AuthButton {
|
|
|
168
168
|
* Defaults: `variant="default"`, `content="label"`, `icon-align="end"`,
|
|
169
169
|
* label "Submit", icon lucide `arrow-right`.
|
|
170
170
|
*
|
|
171
|
-
* @tag
|
|
171
|
+
* @tag pont-submit-button
|
|
172
172
|
* @attr label, event, content, icon-align, loading - see ProviderButton
|
|
173
|
-
* @fires
|
|
174
|
-
* @fires
|
|
173
|
+
* @fires pont-action - `{ action, data: { form, formData }, respondWith }` on submit
|
|
174
|
+
* @fires pont-action-success, pont-action-error
|
|
175
175
|
*/
|
|
176
176
|
export declare class SubmitButton extends AuthButton {
|
|
177
177
|
constructor();
|
|
@@ -184,8 +184,8 @@ export declare class SubmitButton extends AuthButton {
|
|
|
184
184
|
}
|
|
185
185
|
declare global {
|
|
186
186
|
interface HTMLElementTagNameMap {
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
187
|
+
"pont-provider-button": ProviderButton;
|
|
188
|
+
"pont-passkey-button": PasskeyButton;
|
|
189
|
+
"pont-submit-button": SubmitButton;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -4,8 +4,8 @@ import { AttrMap } from '../../core/attrs';
|
|
|
4
4
|
*
|
|
5
5
|
* The marks are Simple Icons (https://simpleicons.org, CC0-1.0), the same
|
|
6
6
|
* geometry the legacy kit ships (src/components/renderers/auth/button/
|
|
7
|
-
* button.defs.ts).
|
|
8
|
-
* the legacy kit (docs/08-parallel-constraints.md).
|
|
7
|
+
* button.defs.ts). pont keeps its own copy because it imports nothing from
|
|
8
|
+
* the legacy kit (docs/archive/pont2-migration/08-parallel-constraints.md).
|
|
9
9
|
*/
|
|
10
10
|
export declare const AUTH_PROVIDERS: readonly ["apple", "discord", "facebook", "github", "google", "linkedin", "meta", "microsoft", "x"];
|
|
11
11
|
export type AuthProvider = (typeof AUTH_PROVIDERS)[number];
|
|
@@ -19,7 +19,7 @@ export interface FieldIssue {
|
|
|
19
19
|
type: FieldIssueType;
|
|
20
20
|
message: string;
|
|
21
21
|
}
|
|
22
|
-
/** `
|
|
22
|
+
/** `pont-field-validate` detail. The value is deliberately not included (passwords). */
|
|
23
23
|
export interface FieldValidateDetail {
|
|
24
24
|
name: string;
|
|
25
25
|
valid: boolean;
|
|
@@ -39,13 +39,13 @@ export declare function compilePattern(source: string): RegExp | null;
|
|
|
39
39
|
* description and error from properties, as parts:
|
|
40
40
|
*
|
|
41
41
|
* ```html
|
|
42
|
-
* <
|
|
43
|
-
* <label data-
|
|
44
|
-
* <input data-
|
|
42
|
+
* <pont-email-field data-pont-field data-slot="field" data-orientation="vertical" [data-invalid]>
|
|
43
|
+
* <label data-pont-label data-pont-field-label data-slot="field-label" for="…-input">Email</label>
|
|
44
|
+
* <input data-pont-input data-slot="input" id="…-input" name="email" type="email"
|
|
45
45
|
* autocomplete="email" aria-describedby="…-description …-error" [aria-invalid="true"]>
|
|
46
|
-
* <p data-
|
|
47
|
-
* <div data-
|
|
48
|
-
* </
|
|
46
|
+
* <p data-pont-field-description data-slot="field-description" id="…-description">…</p>
|
|
47
|
+
* <div data-pont-field-error data-slot="field-error" role="alert" id="…-error">Please enter a valid email.</div>
|
|
48
|
+
* </pont-email-field>
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
51
|
* **The native `<input name>` is the form control.** There is no hidden
|
|
@@ -68,7 +68,7 @@ export declare function compilePattern(source: string): RegExp | null;
|
|
|
68
68
|
*
|
|
69
69
|
* Subclasses supply defaults and rules through the protected hooks.
|
|
70
70
|
*
|
|
71
|
-
* @fires
|
|
71
|
+
* @fires pont-field-validate - `{ name, valid, issues }` whenever validity is shown (change, submit, reportValidity)
|
|
72
72
|
*/
|
|
73
73
|
export declare abstract class AuthField extends Field {
|
|
74
74
|
static composite: boolean;
|
|
@@ -163,11 +163,11 @@ export declare abstract class AuthField extends Field {
|
|
|
163
163
|
connectedCallback(): void;
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
* `<
|
|
166
|
+
* `<pont-email-field>`: `type="email"`, `autocomplete="email"`, name
|
|
167
167
|
* `email`. Normalised to trimmed lower case. Format rule: the legacy pattern
|
|
168
168
|
* `^[^\s@]+@[^\s@]+\.[^\s@]+$`.
|
|
169
169
|
*
|
|
170
|
-
* @tag
|
|
170
|
+
* @tag pont-email-field
|
|
171
171
|
*/
|
|
172
172
|
export declare class EmailField extends AuthField {
|
|
173
173
|
protected defaultName(): string;
|
|
@@ -178,10 +178,10 @@ export declare class EmailField extends AuthField {
|
|
|
178
178
|
normalizeValue(raw: string): string;
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
* `<
|
|
181
|
+
* `<pont-phone-field>`: `type="tel"`, `autocomplete="tel"`, name `phone`.
|
|
182
182
|
* Normalised by removing whitespace. Format rule: the legacy pattern.
|
|
183
183
|
*
|
|
184
|
-
* @tag
|
|
184
|
+
* @tag pont-phone-field
|
|
185
185
|
*/
|
|
186
186
|
export declare class PhoneField extends AuthField {
|
|
187
187
|
protected defaultName(): string;
|
|
@@ -192,11 +192,11 @@ export declare class PhoneField extends AuthField {
|
|
|
192
192
|
normalizeValue(raw: string): string;
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
|
-
* `<
|
|
195
|
+
* `<pont-username-field>`: `autocomplete="username"`, name `username`,
|
|
196
196
|
* no autocapitalisation or spellcheck. Normalised to trimmed lower case.
|
|
197
197
|
* Rules: `minlength`, `maxlength`, then the pattern `^[a-z0-9_]*$`.
|
|
198
198
|
*
|
|
199
|
-
* @tag
|
|
199
|
+
* @tag pont-username-field
|
|
200
200
|
*/
|
|
201
201
|
export declare class UsernameField extends AuthField {
|
|
202
202
|
protected defaultName(): string;
|
|
@@ -210,11 +210,11 @@ export declare class UsernameField extends AuthField {
|
|
|
210
210
|
normalizeValue(raw: string): string;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
* `<
|
|
213
|
+
* `<pont-name-field>`: `autocomplete="name"`, name `name`. Normalised by
|
|
214
214
|
* trimming and collapsing whitespace. Rules: `minlength`, `maxlength`, then
|
|
215
215
|
* the Unicode pattern `^[\p{L} .'-]*$` (letters in any script).
|
|
216
216
|
*
|
|
217
|
-
* @tag
|
|
217
|
+
* @tag pont-name-field
|
|
218
218
|
*/
|
|
219
219
|
export declare class NameField extends AuthField {
|
|
220
220
|
protected defaultName(): string;
|
|
@@ -228,7 +228,7 @@ export type IdentifierKind = (typeof IDENTIFIER_KINDS)[number];
|
|
|
228
228
|
/** `["email","phone"]` → "Email or phone"; three → "Email, phone, or username" (legacy copy). */
|
|
229
229
|
export declare function identifierLabel(kinds: readonly IdentifierKind[]): string;
|
|
230
230
|
/**
|
|
231
|
-
* `<
|
|
231
|
+
* `<pont-identifier-field>`: the sign-in identifier (email, phone or
|
|
232
232
|
* username), submitted as `login_id` (the platform's contract).
|
|
233
233
|
*
|
|
234
234
|
* `identifiers` (attribute: a JSON array, as the platform writes it, or space- or
|
|
@@ -238,7 +238,7 @@ export declare function identifierLabel(kinds: readonly IdentifierKind[]): strin
|
|
|
238
238
|
* is what password managers look for next to a password. Normalised to
|
|
239
239
|
* trimmed lower case. Rule: `required` only (no format), as in the legacy kit.
|
|
240
240
|
*
|
|
241
|
-
* @tag
|
|
241
|
+
* @tag pont-identifier-field
|
|
242
242
|
* @attr identifiers - e.g. `["email","phone"]` or "email phone username"
|
|
243
243
|
*/
|
|
244
244
|
export declare class IdentifierField extends AuthField {
|
|
@@ -266,13 +266,13 @@ export declare class IdentifierField extends AuthField {
|
|
|
266
266
|
}
|
|
267
267
|
declare global {
|
|
268
268
|
interface HTMLElementTagNameMap {
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
269
|
+
"pont-email-field": EmailField;
|
|
270
|
+
"pont-phone-field": PhoneField;
|
|
271
|
+
"pont-username-field": UsernameField;
|
|
272
|
+
"pont-name-field": NameField;
|
|
273
|
+
"pont-identifier-field": IdentifierField;
|
|
274
274
|
}
|
|
275
275
|
interface HTMLElementEventMap {
|
|
276
|
-
"
|
|
276
|
+
"pont-field-validate": CustomEvent<FieldValidateDetail>;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -23,10 +23,10 @@ export type SecretFieldVariant = (typeof SECRET_FIELD_VARIANTS)[number];
|
|
|
23
23
|
* from InputGroup parts:
|
|
24
24
|
*
|
|
25
25
|
* ```html
|
|
26
|
-
* <div data-
|
|
27
|
-
* <input data-
|
|
28
|
-
* <div data-
|
|
29
|
-
* <button data-
|
|
26
|
+
* <div data-pont-input-group data-slot="input-group" role="group">
|
|
27
|
+
* <input data-pont-input data-pont-input-group-input data-slot="input-group-control" type="password" …>
|
|
28
|
+
* <div data-pont-input-group-addon data-slot="input-group-addon" data-align="inline-end" role="group">
|
|
29
|
+
* <button data-pont-button data-pont-input-group-button data-variant="ghost" data-size="icon-xs"
|
|
30
30
|
* aria-label="Show password" aria-pressed="false" aria-controls="…-input"><svg/></button>
|
|
31
31
|
* </div>
|
|
32
32
|
* </div>
|
|
@@ -57,7 +57,7 @@ export declare abstract class SecretField extends AuthField {
|
|
|
57
57
|
protected renderControl(o: InputOptions): TemplateResult;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* # `<
|
|
60
|
+
* # `<pont-password-field>`
|
|
61
61
|
*
|
|
62
62
|
* `autocomplete="current-password"` by default (set `new-password` on
|
|
63
63
|
* sign-up screens), name `password`. Rules: `minlength`, `maxlength`, then
|
|
@@ -66,15 +66,15 @@ export declare abstract class SecretField extends AuthField {
|
|
|
66
66
|
*
|
|
67
67
|
* `forgot` adds a "Forgot your password?" link-styled button beside the label
|
|
68
68
|
* (shadcn's login block layout). It requests `forgot-event` through the
|
|
69
|
-
* action protocol (`
|
|
69
|
+
* action protocol (`pont-action` with `data: { forgot: true }`), exactly
|
|
70
70
|
* like the auth buttons, and is busy until the response settles.
|
|
71
71
|
*
|
|
72
|
-
* @tag
|
|
72
|
+
* @tag pont-password-field
|
|
73
73
|
* @attr rules - JSON array of `{ name }` / `{ pattern }` rules with optional `error`; `rules="[]"` disables them
|
|
74
74
|
* @attr forgot - show the forgot-password link
|
|
75
75
|
* @attr forgot-label - its text (default "Forgot your password?")
|
|
76
76
|
* @attr forgot-event - the action it requests
|
|
77
|
-
* @fires
|
|
77
|
+
* @fires pont-action, pont-action-success, pont-action-error - from the forgot link
|
|
78
78
|
*/
|
|
79
79
|
export declare class PasswordField extends SecretField {
|
|
80
80
|
static properties: PropertyDeclarations;
|
|
@@ -91,15 +91,15 @@ export declare class PasswordField extends SecretField {
|
|
|
91
91
|
protected renderLabel(): TemplateResult | typeof nothing;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
* # `<
|
|
94
|
+
* # `<pont-confirm-field>`: repeat a password
|
|
95
95
|
*
|
|
96
96
|
* Valid when its value equals the `pair` field's (default: the first
|
|
97
|
-
* `
|
|
97
|
+
* `pont-password-field` in the same form, else in the document). It
|
|
98
98
|
* re-validates as either changes. `autocomplete="new-password"`, name
|
|
99
99
|
* `confirm`. Unlike the legacy kit, the pair's value is never put in an event.
|
|
100
100
|
*
|
|
101
|
-
* @tag
|
|
102
|
-
* @attr pair - CSS selector of the field to match (default "
|
|
101
|
+
* @tag pont-confirm-field
|
|
102
|
+
* @attr pair - CSS selector of the field to match (default "pont-password-field")
|
|
103
103
|
* @attr match-error - default "Passwords do not match."
|
|
104
104
|
*/
|
|
105
105
|
export declare class ConfirmField extends SecretField {
|
|
@@ -111,7 +111,7 @@ export declare class ConfirmField extends SecretField {
|
|
|
111
111
|
protected defaultName(): string;
|
|
112
112
|
protected defaultLabel(): string;
|
|
113
113
|
protected defaultAutocomplete(): string;
|
|
114
|
-
/** The element being matched (a
|
|
114
|
+
/** The element being matched (a pont field or any element with `.value`). */
|
|
115
115
|
get pairElement(): (Element & {
|
|
116
116
|
value?: string;
|
|
117
117
|
}) | null;
|
|
@@ -122,7 +122,7 @@ export declare class ConfirmField extends SecretField {
|
|
|
122
122
|
}
|
|
123
123
|
declare global {
|
|
124
124
|
interface HTMLElementTagNameMap {
|
|
125
|
-
"
|
|
126
|
-
"
|
|
125
|
+
"pont-password-field": PasswordField;
|
|
126
|
+
"pont-confirm-field": ConfirmField;
|
|
127
127
|
}
|
|
128
128
|
}
|