@pontive/pontkit-core 1.41.0 → 1.42.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} +7490 -7568
- 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 +4303 -28557
- package/dist/{pont2/theme → theme}/fonts.d.ts +6 -4
- package/dist/{pont2/theme → theme}/golden.d.ts +1 -1
- package/dist/{pont2/theme → theme}/index.d.ts +3 -3
- package/dist/theme/scopes.d.ts +21 -0
- package/dist/{pont2/theme → theme}/shadcn.d.ts +1 -1
- package/dist/{pont2/theme → theme}/types.d.ts +21 -10
- package/dist/{pont2/theme → theme}/value.d.ts +1 -1
- package/dist/{pont2/theme → theme}/vocabulary.d.ts +5 -5
- package/dist/theme-golden.json +1493 -0
- package/dist/theme.mjs +552 -0
- package/dist/theme.mjs.map +1 -0
- package/dist/{pont2/tokens.json → tokens.json} +3633 -2311
- 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/scopes.d.ts +0 -13
- package/dist/pont2/theme/tokens.json.d.ts +0 -8515
- package/dist/pont2/theme-golden.json +0 -1240
- 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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { WidgetClient } from './flow-widget';
|
|
2
|
+
export interface PreviewScreen {
|
|
3
|
+
/** A name for a screen picker. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** The widget to preview it in (its tag is `pont-<flow>`). */
|
|
6
|
+
flow: "signin" | "signup";
|
|
7
|
+
/** The screen, as a render spec would write it. */
|
|
8
|
+
spec: string;
|
|
9
|
+
}
|
|
10
|
+
/** Sample screens for a branding preview, keyed by id. */
|
|
11
|
+
export declare const PREVIEW_SCREENS: {
|
|
12
|
+
readonly signin: {
|
|
13
|
+
readonly label: "Sign in";
|
|
14
|
+
readonly flow: "signin";
|
|
15
|
+
readonly spec: "<pont-block>\n <pont-header>\n <pont-title content=\"Welcome back\"></pont-title>\n <pont-subtitle content=\"Sign in to your account\"></pont-subtitle>\n </pont-header>\n <pont-provider-field providers=\"google apple github\"></pont-provider-field>\n <pont-divider label=\"Or continue with\"></pont-divider>\n <pont-identifier-field identifiers=\"email username\" required></pont-identifier-field>\n <pont-submit-button event=\"submit_identifier\" label=\"Continue\"></pont-submit-button>\n <pont-passkey-button content=\"icon-label\" event=\"passkey\"></pont-passkey-button>\n <pont-link prompt=\"Don't have an account?\" label=\"Sign up\" event=\"goto_signup\"></pont-link>\n</pont-block>";
|
|
16
|
+
};
|
|
17
|
+
readonly password: {
|
|
18
|
+
readonly label: "Password";
|
|
19
|
+
readonly flow: "signin";
|
|
20
|
+
readonly spec: "<pont-block>\n <pont-header>\n <pont-title content=\"Enter your password\"></pont-title>\n </pont-header>\n <pont-edit-identifier identifier=\"ada@example.com\" event=\"change_identifier\"></pont-edit-identifier>\n <pont-password-field required rules=\"[]\" forgot forgot-event=\"forgot_password\"></pont-password-field>\n <pont-submit-button event=\"submit_password\" label=\"Sign in\"></pont-submit-button>\n</pont-block>";
|
|
21
|
+
};
|
|
22
|
+
readonly verify: {
|
|
23
|
+
readonly label: "Verification code";
|
|
24
|
+
readonly flow: "signin";
|
|
25
|
+
readonly spec: "<pont-block>\n <pont-header>\n <pont-title content=\"Check your email\"></pont-title>\n <pont-subtitle content=\"We sent a 6-digit code to ada@example.com\"></pont-subtitle>\n </pont-header>\n <pont-alert status=\"info\" icon description=\"The code expires in 10 minutes.\"></pont-alert>\n <pont-container align=\"center\">\n <pont-otp-field layout=\"simple\" required></pont-otp-field>\n </pont-container>\n <pont-submit-button event=\"verify_code\" label=\"Verify\"></pont-submit-button>\n <pont-otp-resend duration=\"30\" event=\"resend_code\"></pont-otp-resend>\n</pont-block>";
|
|
26
|
+
};
|
|
27
|
+
readonly signup: {
|
|
28
|
+
readonly label: "Sign up";
|
|
29
|
+
readonly flow: "signup";
|
|
30
|
+
readonly spec: "<pont-block>\n <pont-header>\n <pont-title content=\"Create an account\"></pont-title>\n <pont-subtitle content=\"It only takes a minute\"></pont-subtitle>\n </pont-header>\n <pont-name-field required></pont-name-field>\n <pont-email-field required></pont-email-field>\n <pont-password-field required></pont-password-field>\n <pont-confirm-field required></pont-confirm-field>\n <pont-submit-button event=\"submit_signup\" label=\"Create account\"></pont-submit-button>\n <pont-link prompt=\"Already have an account?\" label=\"Sign in\" event=\"goto_signin\"></pont-link>\n</pont-block>";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type PreviewScreenId = keyof typeof PREVIEW_SCREENS;
|
|
34
|
+
export interface PreviewClientOptions {
|
|
35
|
+
/** How long each request stays busy, in ms, so busy states can be seen (default 600). */
|
|
36
|
+
delay?: number;
|
|
37
|
+
/** The flow's localised messages (flow errors, "Start again" …). */
|
|
38
|
+
messages?: Record<string, string>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A `WidgetClient` that shows one screen and never leaves it. Every request
|
|
42
|
+
* (a submit, a provider button, a link) is busy for `delay` ms and then
|
|
43
|
+
* resolves without a new screen, so the screen and what was typed stay put.
|
|
44
|
+
* Nothing is sent anywhere.
|
|
45
|
+
*/
|
|
46
|
+
export declare function previewClient(spec: string, options?: PreviewClientOptions): WidgetClient;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* - **Keyed by token component** (a manifest `component`, `tokens.json`), not
|
|
12
12
|
* by tag: that is what the editor's items are. A guardrail checks every key
|
|
13
13
|
* is one.
|
|
14
|
-
* - **
|
|
15
|
-
* writes
|
|
14
|
+
* - **pont owns the markup.** The dashboard renders `html` as given and never
|
|
15
|
+
* writes pont markup itself, so a markup change here never needs a
|
|
16
16
|
* dashboard change.
|
|
17
17
|
* - Specimens sit at the global scope (no widget around them): the editor's
|
|
18
18
|
* Component scope edits `:root` tokens.
|
|
@@ -3,19 +3,19 @@ import { HostElement } from '../../core/host-element';
|
|
|
3
3
|
export declare const GAP_TYPES: readonly ["vertical", "horizontal"];
|
|
4
4
|
export type GapType = (typeof GAP_TYPES)[number];
|
|
5
5
|
/**
|
|
6
|
-
* # `<
|
|
6
|
+
* # `<pont-gap>`: a fixed spacer
|
|
7
7
|
*
|
|
8
8
|
* ```html
|
|
9
|
-
* <
|
|
10
|
-
* → <
|
|
9
|
+
* <pont-gap size="24px"></pont-gap>
|
|
10
|
+
* → <pont-gap data-pont-gap data-type="vertical" style="--pont-gap-size: 24px"></pont-gap>
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
13
|
* The host *is* the spacer (the legacy element rendered a sized `div` inside
|
|
14
|
-
* itself). The size is any CSS length, passed through the `--
|
|
14
|
+
* itself). The size is any CSS length, passed through the `--pont-gap-size`
|
|
15
15
|
* custom property on the host, so no inline width/height overrides author CSS.
|
|
16
16
|
* Decorative: `aria-hidden`.
|
|
17
17
|
*
|
|
18
|
-
* @tag
|
|
18
|
+
* @tag pont-gap
|
|
19
19
|
* @attr size - CSS length (default 8px)
|
|
20
20
|
* @attr type - vertical (default: takes height) | horizontal (takes width)
|
|
21
21
|
*/
|
|
@@ -32,6 +32,6 @@ export declare class Gap extends HostElement {
|
|
|
32
32
|
}
|
|
33
33
|
declare global {
|
|
34
34
|
interface HTMLElementTagNameMap {
|
|
35
|
-
"
|
|
35
|
+
"pont-gap": Gap;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -3,14 +3,14 @@ import { HostElement } from '../../core/host-element';
|
|
|
3
3
|
export declare const HEADER_ALIGNS: readonly ["start", "center", "end"];
|
|
4
4
|
export type HeaderAlign = (typeof HEADER_ALIGNS)[number];
|
|
5
5
|
/**
|
|
6
|
-
* # `<
|
|
6
|
+
* # `<pont-header>`: the screen's heading group (logo, title, subtitle)
|
|
7
7
|
*
|
|
8
8
|
* ```html
|
|
9
|
-
* <
|
|
10
|
-
* <
|
|
11
|
-
* <
|
|
12
|
-
* <
|
|
13
|
-
* </
|
|
9
|
+
* <pont-header>
|
|
10
|
+
* <pont-logo image-url="/logo.svg"></pont-logo>
|
|
11
|
+
* <pont-title content="Welcome back"></pont-title>
|
|
12
|
+
* <pont-subtitle content="Login to your Acme Inc account"></pont-subtitle>
|
|
13
|
+
* </pont-header>
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* shadcn's login blocks: `<div class="flex flex-col items-center gap-2
|
|
@@ -18,9 +18,9 @@ export type HeaderAlign = (typeof HEADER_ALIGNS)[number];
|
|
|
18
18
|
* into an inner `div`); `align` sets both the boxes' and the text's alignment,
|
|
19
19
|
* as the legacy header does. Not a composite: it contains content.
|
|
20
20
|
*
|
|
21
|
-
* @tag
|
|
21
|
+
* @tag pont-header
|
|
22
22
|
* @attr align - start | center (default) | end
|
|
23
|
-
* @cssprop --
|
|
23
|
+
* @cssprop --pont-header-gap - default 0.5rem
|
|
24
24
|
*/
|
|
25
25
|
export declare class Header extends HostElement {
|
|
26
26
|
static identity: string;
|
|
@@ -33,6 +33,6 @@ export declare class Header extends HostElement {
|
|
|
33
33
|
}
|
|
34
34
|
declare global {
|
|
35
35
|
interface HTMLElementTagNameMap {
|
|
36
|
-
"
|
|
36
|
+
"pont-header": Header;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -5,42 +5,42 @@ export declare function groupSizes(length: number, size: number): number[];
|
|
|
5
5
|
/**
|
|
6
6
|
* The slot structure for `length` characters: groups of `groupSize` (one group
|
|
7
7
|
* when 0), separators between groups when `separator`. Groups and separators
|
|
8
|
-
* are parts; slots are `
|
|
8
|
+
* are parts; slots are `pont-prim-input-otp-slot` elements (they have
|
|
9
9
|
* behaviour). Shared with the OTP field (kit/otp-field).
|
|
10
10
|
*/
|
|
11
11
|
export declare function otpGroups(length: number, groupSize: number, separator: boolean): import('lit-html').TemplateResult<1>[];
|
|
12
12
|
/**
|
|
13
|
-
* # `<
|
|
13
|
+
* # `<pont-input-otp>`: kit composite over `<pont-prim-input-otp>`
|
|
14
14
|
*
|
|
15
15
|
* ```html
|
|
16
|
-
* <
|
|
16
|
+
* <pont-input-otp name="code" maxlength="6" group-size="3" separator aria-label="Verification code"></pont-input-otp>
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
19
|
* renders the primitive's DOM, which is shadcn's:
|
|
20
20
|
*
|
|
21
21
|
* ```html
|
|
22
|
-
* <
|
|
23
|
-
* <div data-
|
|
24
|
-
* <
|
|
22
|
+
* <pont-input-otp data-pont-input-otp …>
|
|
23
|
+
* <div data-pont-input-otp-group data-slot="input-otp-group">
|
|
24
|
+
* <pont-prim-input-otp-slot index="0"></pont-prim-input-otp-slot> ×3
|
|
25
25
|
* </div>
|
|
26
|
-
* <div data-
|
|
27
|
-
* <div data-
|
|
28
|
-
* <div data-
|
|
29
|
-
* </
|
|
26
|
+
* <div data-pont-input-otp-separator data-slot="input-otp-separator" role="separator"><svg/></div>
|
|
27
|
+
* <div data-pont-input-otp-group …> …×3 </div>
|
|
28
|
+
* <div data-pont-input-otp-input-wrapper><input data-slot="input-otp" autocomplete="one-time-code" …></div>
|
|
29
|
+
* </pont-input-otp>
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
32
|
* - **It is a primitive InputOTP** (`extends InputOTP`): the one native input,
|
|
33
|
-
* form participation, paste cleaning, `
|
|
33
|
+
* form participation, paste cleaning, `pont-complete` and every primitive
|
|
34
34
|
* attribute (`maxlength`, `pattern`, `value`, `name`, `required`,
|
|
35
35
|
* `disabled`, `aria-*`) work unchanged.
|
|
36
36
|
* - **What it adds:** the slots are generated from `maxlength`, split into
|
|
37
37
|
* groups of `group-size` (one group when absent), with a separator between
|
|
38
38
|
* groups when `separator` is set.
|
|
39
39
|
* - Groups and separators are **parts** (plain divs). Slots are rendered as
|
|
40
|
-
* `
|
|
40
|
+
* `pont-prim-input-otp-slot` **elements**, because each slot has behaviour
|
|
41
41
|
* (it draws its character and the fake caret from state the root pushes in).
|
|
42
42
|
*
|
|
43
|
-
* @tag
|
|
43
|
+
* @tag pont-input-otp
|
|
44
44
|
* @attr group-size - characters per group (default: all in one group)
|
|
45
45
|
* @attr separator - draw a separator between groups
|
|
46
46
|
*/
|
|
@@ -54,6 +54,6 @@ export declare class KitInputOTP extends InputOTP {
|
|
|
54
54
|
}
|
|
55
55
|
declare global {
|
|
56
56
|
interface HTMLElementTagNameMap {
|
|
57
|
-
"
|
|
57
|
+
"pont-input-otp": KitInputOTP;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Turning a failed flow request into words for the user: the legacy
|
|
3
|
-
* `describeFlowError` (src/utils/flow-error.ts), ported (
|
|
3
|
+
* `describeFlowError` (src/utils/flow-error.ts), ported (pont imports nothing
|
|
4
4
|
* from the legacy kit), with the same English and the same message codes, so
|
|
5
5
|
* a flow's localised `messages` (keyed by code) apply unchanged.
|
|
6
6
|
*/
|
|
@@ -4,7 +4,7 @@ import { BrandingEntitlements } from '../block/branding';
|
|
|
4
4
|
export { describeFlowError, FLOW_MESSAGES_EN, INSTANCE_UNAVAILABLE, isInstanceUnavailable, rememberUnavailable, type FlowErrorDescription, type FlowMessageCode, } from './flow-error';
|
|
5
5
|
/**
|
|
6
6
|
* What the layout needs from an auth client: one method. `Auth` from
|
|
7
|
-
* `@pontive/oidc-client` satisfies it structurally, so
|
|
7
|
+
* `@pontive/oidc-client` satisfies it structurally, so pont never imports an
|
|
8
8
|
* auth client (option (b), docs/kit/layout.md).
|
|
9
9
|
*/
|
|
10
10
|
export interface FlowClient {
|
|
@@ -25,40 +25,40 @@ export interface UnregisteredElementDetail {
|
|
|
25
25
|
/** FormData → the plain object the flow API takes (last value wins, files dropped). */
|
|
26
26
|
export declare function formDataToObject(fd: FormData | undefined | null): Record<string, unknown> | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* # `<
|
|
28
|
+
* # `<pont-layout>`: renders a flow screen and runs its requests
|
|
29
29
|
*
|
|
30
30
|
* ```ts
|
|
31
31
|
* import { Auth } from "@pontive/oidc-client";
|
|
32
|
-
* const layout = document.createElement("
|
|
32
|
+
* const layout = document.createElement("pont-layout");
|
|
33
33
|
* layout.client = Auth; // anything with processLoginflowEvent()
|
|
34
34
|
* layout.branding = response.branding; // the account's entitlements (fail closed)
|
|
35
35
|
* layout.renderSpec = response.render_spec; // the server's HTML for the screen
|
|
36
36
|
* ```
|
|
37
37
|
*
|
|
38
38
|
* ```html
|
|
39
|
-
* <
|
|
39
|
+
* <pont-layout data-pont-layout data-slot="layout">
|
|
40
40
|
* <form data-slot="layout-form" aria-busy="false">
|
|
41
|
-
* …the render spec (e.g. <
|
|
41
|
+
* …the render spec (e.g. <pont-block>…</pont-block>)…
|
|
42
42
|
* </form>
|
|
43
|
-
* </
|
|
43
|
+
* </pont-layout>
|
|
44
44
|
* ```
|
|
45
45
|
*
|
|
46
46
|
* The **flow host** for one screen. It:
|
|
47
47
|
*
|
|
48
48
|
* 1. **renders the spec** (server HTML) inside one native `<form>`, upgrading
|
|
49
|
-
*
|
|
50
|
-
* (`
|
|
51
|
-
* 2. **answers every `
|
|
49
|
+
* pont elements and reporting tags this bundle does not define
|
|
50
|
+
* (`pont-unregistered-element` on `document`, once per tag);
|
|
51
|
+
* 2. **answers every `pont-action`** from inside the screen (submit, provider,
|
|
52
52
|
* passkey, link, OTP, resend, forgot, edit-identifier) with
|
|
53
53
|
* `client.processLoginflowEvent({ event, data })`, where `data` is the
|
|
54
54
|
* form's normalised FormData when the request carries one (submit, OTP
|
|
55
55
|
* auto-submit); while a request is pending, another one joins it (no double
|
|
56
56
|
* submit) and the form is `aria-busy`;
|
|
57
57
|
* 3. **renders the next screen** when a response carries `render_spec`;
|
|
58
|
-
* 4. **shows flow errors** (every `
|
|
59
|
-
* error `
|
|
60
|
-
* (`
|
|
61
|
-
* 5. **provides the branding entitlements** (`
|
|
58
|
+
* 4. **shows flow errors** (every `pont-action-error` from inside) as an
|
|
59
|
+
* error `pont-alert` banner at the top of the screen, with "Start again"
|
|
60
|
+
* (`pont-layout-restart`) when the flow is over (409);
|
|
61
|
+
* 5. **provides the branding entitlements** (`pont:branding` context) to the
|
|
62
62
|
* screen's block. Fails closed: without `branding`, the watermark shows.
|
|
63
63
|
*
|
|
64
64
|
* Trust boundary: the render spec is **server HTML** and is inserted as such
|
|
@@ -66,15 +66,15 @@ export declare function formDataToObject(fd: FormData | undefined | null): Recor
|
|
|
66
66
|
* native inputs, never into markup. The spec must not contain its own
|
|
67
67
|
* `<form>` (the layout's form is the one form).
|
|
68
68
|
*
|
|
69
|
-
* @tag
|
|
69
|
+
* @tag pont-layout
|
|
70
70
|
* @prop client - `FlowClient` (e.g. the SDK's `Auth`). Without one, actions are not answered.
|
|
71
71
|
* @prop renderSpec - the screen's HTML
|
|
72
72
|
* @prop branding - `BrandingEntitlements` (attribute-less on purpose)
|
|
73
73
|
* @prop messages - localised flow messages by code (the flow's `messages`)
|
|
74
74
|
* @prop loginHint - the identifier to pre-fill email and identifier fields with (the URL's `login_hint`, from the provider)
|
|
75
|
-
* @fires
|
|
76
|
-
* @fires
|
|
77
|
-
* @fires
|
|
75
|
+
* @fires pont-flow-response - `{ action, result }` after every successful request
|
|
76
|
+
* @fires pont-layout-restart - "Start again" pressed (the widget restarts the flow)
|
|
77
|
+
* @fires pont-unregistered-element - on `document`, `{ tag }`
|
|
78
78
|
*/
|
|
79
79
|
export declare class Layout extends HostElement {
|
|
80
80
|
static identity: string;
|
|
@@ -103,7 +103,7 @@ export declare class Layout extends HostElement {
|
|
|
103
103
|
constructor();
|
|
104
104
|
/** The layout's form (holds the screen). */
|
|
105
105
|
get form(): HTMLFormElement | null;
|
|
106
|
-
/** Runs one flow request (what a `
|
|
106
|
+
/** Runs one flow request (what a `pont-action` from inside triggers). */
|
|
107
107
|
run(event: string, data?: Record<string, unknown>): Promise<FlowEventResponse>;
|
|
108
108
|
/** The elements `lockScreen` disabled, to give back exactly those. */
|
|
109
109
|
private locked;
|
|
@@ -120,7 +120,7 @@ export declare class Layout extends HostElement {
|
|
|
120
120
|
private onError;
|
|
121
121
|
/**
|
|
122
122
|
* Shows a flow error at the top of the screen (after its logo/header). It replaces any error
|
|
123
|
-
* already there, the server's injected banner included (`
|
|
123
|
+
* already there, the server's injected banner included (`pont-alert[status="error"]`), so the
|
|
124
124
|
* screen holds one error at a time, as in the legacy kit (migration tracker F-21).
|
|
125
125
|
*/
|
|
126
126
|
showError(message: string, restartable?: boolean): void;
|
|
@@ -130,7 +130,7 @@ export declare class Layout extends HostElement {
|
|
|
130
130
|
private renderScreen;
|
|
131
131
|
/**
|
|
132
132
|
* The layout's form never submits natively. Every submission is either answered here (a
|
|
133
|
-
* `
|
|
133
|
+
* `pont-action` the layout responds to, which prevents it) or it is a mistake: no `client`
|
|
134
134
|
* yet, or a submit button without `event`. A native submission would then be a GET to the
|
|
135
135
|
* current URL with every field, password included, in the query string. So whatever is left
|
|
136
136
|
* unhandled is stopped here, at the form, after the submit buttons' own listeners have run.
|
|
@@ -140,16 +140,16 @@ export declare class Layout extends HostElement {
|
|
|
140
140
|
}
|
|
141
141
|
declare global {
|
|
142
142
|
interface HTMLElementTagNameMap {
|
|
143
|
-
"
|
|
143
|
+
"pont-layout": Layout;
|
|
144
144
|
}
|
|
145
145
|
interface HTMLElementEventMap {
|
|
146
|
-
"
|
|
146
|
+
"pont-flow-response": CustomEvent<{
|
|
147
147
|
action: string;
|
|
148
148
|
result: FlowEventResponse;
|
|
149
149
|
}>;
|
|
150
|
-
"
|
|
150
|
+
"pont-layout-restart": CustomEvent<Record<string, never>>;
|
|
151
151
|
}
|
|
152
152
|
interface DocumentEventMap {
|
|
153
|
-
"
|
|
153
|
+
"pont-unregistered-element": CustomEvent<UnregisteredElementDetail>;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -6,16 +6,16 @@ export type LinkAlign = (typeof LINK_ALIGNS)[number];
|
|
|
6
6
|
export declare const LINK_SERVICES: readonly ["auth", "other"];
|
|
7
7
|
export type LinkService = (typeof LINK_SERVICES)[number];
|
|
8
8
|
/**
|
|
9
|
-
* # `<
|
|
9
|
+
* # `<pont-link>`: "Don't have an account? Sign up"
|
|
10
10
|
*
|
|
11
11
|
* ```html
|
|
12
|
-
* <
|
|
13
|
-
* <
|
|
12
|
+
* <pont-link prompt="Don't have an account?" label="Sign up" event="goto_signup"></pont-link>
|
|
13
|
+
* <pont-link label="Privacy policy" href="/privacy" target="_blank"></pont-link>
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* shadcn's login blocks write this as `<div class="text-center text-sm">
|
|
17
17
|
* Don't have an account? <a class="underline underline-offset-4">Sign
|
|
18
|
-
* up</a></div>`.
|
|
18
|
+
* up</a></div>`. pont's host is that row; the link is the button
|
|
19
19
|
* primitive's part:
|
|
20
20
|
*
|
|
21
21
|
* - **with `href`**: a real `<a href>` (navigation, middle-click, "open in
|
|
@@ -28,7 +28,7 @@ export type LinkService = (typeof LINK_SERVICES)[number];
|
|
|
28
28
|
* the auth buttons. The legacy `service="other"` (no auth call) maps to:
|
|
29
29
|
* don't set `event`, or don't respond.
|
|
30
30
|
*
|
|
31
|
-
* @tag
|
|
31
|
+
* @tag pont-link
|
|
32
32
|
* @attr label - link text (default "Link")
|
|
33
33
|
* @attr prompt - text before the link
|
|
34
34
|
* @attr event - the action requested on press (button form)
|
|
@@ -36,9 +36,9 @@ export type LinkService = (typeof LINK_SERVICES)[number];
|
|
|
36
36
|
* @attr href, target, rel - render a real link instead (http(s) only; anything else renders nothing)
|
|
37
37
|
* @attr align - start | center (default) | end
|
|
38
38
|
* @attr disabled, loading
|
|
39
|
-
* @cssprop --
|
|
40
|
-
* @cssprop --
|
|
41
|
-
* @fires
|
|
39
|
+
* @cssprop --pont-link-fg - the row's text (default muted-foreground)
|
|
40
|
+
* @cssprop --pont-link-button-fg, --pont-link-button-fg-hover - the link (default the row's colour; primary on hover)
|
|
41
|
+
* @fires pont-action, pont-action-success, pont-action-error
|
|
42
42
|
*/
|
|
43
43
|
export declare class Link extends HostElement {
|
|
44
44
|
static identity: string;
|
|
@@ -66,14 +66,14 @@ export declare class Link extends HostElement {
|
|
|
66
66
|
render(): import('lit-html').TemplateResult<1> | typeof nothing;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* # `<
|
|
69
|
+
* # `<pont-external-link>`: a page outside the flow, in a new tab
|
|
70
70
|
*
|
|
71
71
|
* ```html
|
|
72
|
-
* <
|
|
72
|
+
* <pont-external-link label="Privacy policy" href="{{consent_privacy_policy_url}}"></pont-external-link>
|
|
73
73
|
* ```
|
|
74
74
|
*
|
|
75
75
|
* The consent screen's links to an app's privacy policy, terms or homepage. It
|
|
76
|
-
* is `
|
|
76
|
+
* is `pont-link`'s `href` form with the rules of the legacy
|
|
77
77
|
* `pont-external-link` (carry-over §7):
|
|
78
78
|
*
|
|
79
79
|
* - only an **absolute** http(s) URL with a host renders (`safeExternalUrl`).
|
|
@@ -85,10 +85,10 @@ export declare class Link extends HostElement {
|
|
|
85
85
|
* - it never requests an action and fires no event, so it is safe on screens
|
|
86
86
|
* that are not an auth flow.
|
|
87
87
|
*
|
|
88
|
-
* Styled by `
|
|
88
|
+
* Styled by `pont-link`'s recipe and tokens, so the two read as one kind of
|
|
89
89
|
* thing on a screen.
|
|
90
90
|
*
|
|
91
|
-
* @tag
|
|
91
|
+
* @tag pont-external-link
|
|
92
92
|
* @attr href - absolute http(s) URL; anything else renders nothing
|
|
93
93
|
* @attr label - link text (default: the URL)
|
|
94
94
|
* @attr prompt - text before the link
|
|
@@ -100,7 +100,7 @@ export declare class ExternalLink extends Link {
|
|
|
100
100
|
}
|
|
101
101
|
declare global {
|
|
102
102
|
interface HTMLElementTagNameMap {
|
|
103
|
-
"
|
|
104
|
-
"
|
|
103
|
+
"pont-link": Link;
|
|
104
|
+
"pont-external-link": ExternalLink;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -10,14 +10,14 @@ export type LogoAlign = (typeof LOGO_ALIGNS)[number];
|
|
|
10
10
|
*/
|
|
11
11
|
export declare function logoSource(raw: string | undefined, theme: "light" | "dark"): string;
|
|
12
12
|
/**
|
|
13
|
-
* # `<
|
|
13
|
+
* # `<pont-logo>`: the application's logo
|
|
14
14
|
*
|
|
15
15
|
* ```html
|
|
16
|
-
* <
|
|
17
|
-
* → <
|
|
16
|
+
* <pont-logo image-url="https://cdn.example.com/logo-{{theme}}.svg" alt="Acme"></pont-logo>
|
|
17
|
+
* → <pont-logo data-pont-logo data-slot="logo" data-align="center">
|
|
18
18
|
* <img data-logo-theme="light" src="…logo-light.svg" alt="Acme">
|
|
19
19
|
* <img data-logo-theme="dark" src="…logo-dark.svg" alt="Acme"> (only when it differs)
|
|
20
|
-
* </
|
|
20
|
+
* </pont-logo>
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
23
|
* **Always an `<img>`.** The legacy element decoded base64 SVG and injected
|
|
@@ -28,9 +28,9 @@ export declare function logoSource(raw: string | undefined, theme: "light" | "da
|
|
|
28
28
|
* **Dark mode by CSS**, not by watching `<html data-theme>`: when the dark
|
|
29
29
|
* source differs (`image-url-dark`, or `{{theme}}` in the URL), both images
|
|
30
30
|
* are rendered and the stylesheet shows the right one under `.dark` /
|
|
31
|
-
* `[data-theme="dark"]` (the
|
|
31
|
+
* `[data-theme="dark"]` (the pont dark-mode switches).
|
|
32
32
|
*
|
|
33
|
-
* @tag
|
|
33
|
+
* @tag pont-logo
|
|
34
34
|
* @attr image-url - URL, `data:` URI or bare base64 SVG; `{{theme}}` is replaced
|
|
35
35
|
* @attr image-url-dark - dark-mode source (default: `image-url` with `{{theme}}` = dark)
|
|
36
36
|
* @attr alt - default "Logo" (legacy); set the brand name
|
|
@@ -56,6 +56,6 @@ export declare class Logo extends HostElement {
|
|
|
56
56
|
}
|
|
57
57
|
declare global {
|
|
58
58
|
interface HTMLElementTagNameMap {
|
|
59
|
-
"
|
|
59
|
+
"pont-logo": Logo;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -6,25 +6,25 @@ import { AccountClient, AccountMembersApi, AssignableRole, OrganizationInvitatio
|
|
|
6
6
|
import { AccountController } from '../provider/account-controller';
|
|
7
7
|
import { LoadProblem } from './errors';
|
|
8
8
|
export type MemberManagementMode = "page" | "modal";
|
|
9
|
-
/** Detail of `
|
|
9
|
+
/** Detail of `pont-members-invited`. */
|
|
10
10
|
export interface MembersInvitedDetail {
|
|
11
11
|
organizationId: string;
|
|
12
12
|
emails: string[];
|
|
13
13
|
roles: string[];
|
|
14
14
|
invitations: OrganizationInvitation[];
|
|
15
15
|
}
|
|
16
|
-
/** Detail of `
|
|
16
|
+
/** Detail of `pont-member-roles-updated`. */
|
|
17
17
|
export interface MemberRolesUpdatedDetail {
|
|
18
18
|
organizationId: string;
|
|
19
19
|
userId: string;
|
|
20
20
|
roles: string[];
|
|
21
21
|
}
|
|
22
|
-
/** Detail of `
|
|
22
|
+
/** Detail of `pont-member-removed`. */
|
|
23
23
|
export interface MemberRemovedDetail {
|
|
24
24
|
organizationId: string;
|
|
25
25
|
userId: string;
|
|
26
26
|
}
|
|
27
|
-
/** Detail of `
|
|
27
|
+
/** Detail of `pont-invitation-resent` and `pont-invitation-revoked`. */
|
|
28
28
|
export interface InvitationChangedDetail {
|
|
29
29
|
organizationId: string;
|
|
30
30
|
invitationId: string;
|
|
@@ -66,14 +66,14 @@ export declare function hasMembersApi(client: AccountClient | undefined): client
|
|
|
66
66
|
/** "6–10 / 23": which rows of how many, numbers and punctuation only (account text takes no placeholders). */
|
|
67
67
|
export declare function pageRange(page: number, pageSize: number, total: number, locale?: string): string;
|
|
68
68
|
/**
|
|
69
|
-
* # `<
|
|
69
|
+
* # `<pont-member-management>`: an organization's members and invitations
|
|
70
70
|
*
|
|
71
71
|
* ```html
|
|
72
|
-
* <
|
|
72
|
+
* <pont-provider app-id="app_123" domain="auth.acme.com" api-base-url="https://api.us.pontive.com"
|
|
73
73
|
* scope="openid email profile offline_access pontive:org:member:read pontive:org:member:manage pontive:org:member:invite">
|
|
74
|
-
* <
|
|
75
|
-
* <
|
|
76
|
-
* </
|
|
74
|
+
* <pont-organization-switcher></pont-organization-switcher>
|
|
75
|
+
* <pont-member-management></pont-member-management>
|
|
76
|
+
* </pont-provider>
|
|
77
77
|
* ```
|
|
78
78
|
*
|
|
79
79
|
* The legacy `pont-member-management` (pontive-spec 41 §5.4–§5.6), with every
|
|
@@ -97,9 +97,9 @@ export declare function pageRange(page: number, pageSize: number, total: number,
|
|
|
97
97
|
* said inside the dialog.
|
|
98
98
|
* - **The organization:** `organization-id`, else the session's, read again
|
|
99
99
|
* when the session moves to another organization (the switcher's
|
|
100
|
-
* `
|
|
100
|
+
* `pont-organization-changed`, or a session change from another tab).
|
|
101
101
|
*
|
|
102
|
-
* @tag
|
|
102
|
+
* @tag pont-member-management
|
|
103
103
|
* @attr organization-id - the organization to manage (default: the session's)
|
|
104
104
|
* @attr mode - `page` (default) | `modal` (legacy `PAGE` / `MODAL`)
|
|
105
105
|
* @attr open - modal mode: whether the dialog is open
|
|
@@ -107,11 +107,11 @@ export declare function pageRange(page: number, pageSize: number, total: number,
|
|
|
107
107
|
* @attr description - overrides the subtitle (`msg("member_management_subtitle")`)
|
|
108
108
|
* @attr page-size - rows per page: 5 (default), 10 or 25
|
|
109
109
|
* @prop client - its own `AccountClient` (default: the provider's)
|
|
110
|
-
* @fires
|
|
111
|
-
* @fires
|
|
112
|
-
* @fires
|
|
113
|
-
* @fires
|
|
114
|
-
* @fires
|
|
110
|
+
* @fires pont-members-invited - `{ organizationId, emails, roles, invitations }`
|
|
111
|
+
* @fires pont-member-roles-updated - `{ organizationId, userId, roles }`
|
|
112
|
+
* @fires pont-member-removed - `{ organizationId, userId }`
|
|
113
|
+
* @fires pont-invitation-resent - `{ organizationId, invitationId, email }`
|
|
114
|
+
* @fires pont-invitation-revoked - `{ organizationId, invitationId, email, notifyInvitee }`
|
|
115
115
|
*/
|
|
116
116
|
export declare class MemberManagement extends HostElement {
|
|
117
117
|
static composite: boolean;
|
|
@@ -220,18 +220,18 @@ export declare class MemberManagement extends HostElement {
|
|
|
220
220
|
}
|
|
221
221
|
declare global {
|
|
222
222
|
interface HTMLElementTagNameMap {
|
|
223
|
-
"
|
|
223
|
+
"pont-member-management": MemberManagement;
|
|
224
224
|
}
|
|
225
225
|
interface HTMLElementEventMap {
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
226
|
+
"pont-members-invited": CustomEvent<MembersInvitedDetail>;
|
|
227
|
+
"pont-member-roles-updated": CustomEvent<MemberRolesUpdatedDetail>;
|
|
228
|
+
"pont-member-removed": CustomEvent<MemberRemovedDetail>;
|
|
229
|
+
"pont-invitation-resent": CustomEvent<InvitationChangedDetail>;
|
|
230
|
+
"pont-invitation-revoked": CustomEvent<InvitationChangedDetail>;
|
|
231
231
|
}
|
|
232
232
|
interface DocumentEventMap {
|
|
233
|
-
"
|
|
234
|
-
"
|
|
233
|
+
"pont-open-member-management": CustomEvent<void>;
|
|
234
|
+
"pont-close-member-management": CustomEvent<void>;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
export {};
|
|
@@ -3,7 +3,7 @@ import { FormControlElement, ValidityResult } from '../../core/form-control';
|
|
|
3
3
|
import { MessagesController } from '../../core/messages';
|
|
4
4
|
export { addEmails, isEmail, splitEmails, type AddResult } from './emails';
|
|
5
5
|
/**
|
|
6
|
-
* # `<
|
|
6
|
+
* # `<pont-multi-email-input>`: several email addresses as removable chips
|
|
7
7
|
*
|
|
8
8
|
* The account widgets' "invite members" field (legacy `pont-multi-email-input`).
|
|
9
9
|
* Type or paste addresses: Enter, a comma, a semicolon, a space, a paste or
|
|
@@ -14,19 +14,19 @@ export { addEmails, isEmail, splitEmails, type AddResult } from './emails';
|
|
|
14
14
|
* It is a form control (form-associated: one `name=address` entry per
|
|
15
15
|
* address, `required`, `disabled`, reset), labelled by its `<label for>`. It
|
|
16
16
|
* reuses the multiple Combobox's chips recipe (`ComboboxChips.part()`: the
|
|
17
|
-
* same box, chips and input as `<
|
|
17
|
+
* same box, chips and input as `<pont-badge-selector>`), with a Field
|
|
18
18
|
* description (a count, `3 / 50`) or error under it.
|
|
19
19
|
*
|
|
20
20
|
* ```html
|
|
21
|
-
* <label data-
|
|
22
|
-
* <
|
|
21
|
+
* <label data-pont-label for="invite">Email addresses</label>
|
|
22
|
+
* <pont-multi-email-input id="invite" name="emails" max="50" required></pont-multi-email-input>
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
25
25
|
* Words are `msg()` codes: `invite_emails_placeholder`, `invalid_emails`,
|
|
26
26
|
* `email_limit_reached`, `action_remove`. The counter is formatted for the
|
|
27
27
|
* page's language.
|
|
28
28
|
*
|
|
29
|
-
* @tag
|
|
29
|
+
* @tag pont-multi-email-input
|
|
30
30
|
* @attr name, required, disabled - as a native control's
|
|
31
31
|
* @attr placeholder - shown while empty (default `msg("invite_emails_placeholder")`)
|
|
32
32
|
* @attr max - the most addresses (default 50)
|
|
@@ -73,6 +73,6 @@ export declare class MultiEmailInput extends FormControlElement {
|
|
|
73
73
|
}
|
|
74
74
|
declare global {
|
|
75
75
|
interface HTMLElementTagNameMap {
|
|
76
|
-
"
|
|
76
|
+
"pont-multi-email-input": MultiEmailInput;
|
|
77
77
|
}
|
|
78
78
|
}
|