@pontive/pontkit-core 1.40.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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/core/format.d.ts +46 -0
- package/dist/{pont2/core → core}/host-element.d.ts +8 -8
- package/dist/{pont2/core → core}/icons.d.ts +5 -0
- package/dist/{pont2/core → core}/ids.d.ts +1 -1
- package/dist/{pont2/core → core}/index.d.ts +1 -0
- package/dist/core/messages.d.ts +197 -0
- 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} +24665 -18922
- package/dist/{pont2/globals.css → globals.css} +14 -14
- package/dist/index.d.ts +51 -12
- package/dist/index.mjs +11138 -40562
- package/dist/index.mjs.map +1 -1
- package/dist/kit/account-menu/account-menu.d.ts +115 -0
- package/dist/kit/account-settings/account-settings.d.ts +157 -0
- package/dist/kit/account-settings/profile.d.ts +74 -0
- 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}/index.d.ts +4 -0
- 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/kit/member-management/errors.d.ts +60 -0
- package/dist/kit/member-management/member-management.d.ts +237 -0
- package/dist/kit/member-management/roles.d.ts +42 -0
- 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/kit/organization-switcher/organization-switcher.d.ts +111 -0
- 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/kit/provider/account-client.d.ts +355 -0
- package/dist/kit/provider/account-controller.d.ts +47 -0
- package/dist/kit/provider/account-user.d.ts +16 -0
- package/dist/{pont2/kit → kit}/provider/contexts.d.ts +7 -7
- package/dist/{pont2/kit → kit}/provider/provider.d.ts +70 -38
- 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 +16 -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 +5167 -30137
- package/dist/{pont2/theme → theme}/fonts.d.ts +3 -3
- package/dist/{pont2/theme → theme}/golden.d.ts +1 -1
- package/dist/{pont2/theme → theme}/index.d.ts +2 -2
- package/dist/{pont2/theme → theme}/scopes.d.ts +2 -2
- package/dist/{pont2/theme → theme}/shadcn.d.ts +1 -1
- package/dist/{pont2/theme → theme}/types.d.ts +6 -6
- package/dist/{pont2/theme → theme}/value.d.ts +1 -1
- package/dist/{pont2/theme → theme}/vocabulary.d.ts +5 -5
- package/dist/{pont2/theme-golden.json → theme-golden.json} +64 -64
- package/dist/theme.mjs +425 -0
- package/dist/theme.mjs.map +1 -0
- package/dist/{pont2/tokens.json → tokens.json} +1060 -1060
- package/package.json +28 -65
- 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 -6417
- package/dist/index.js.map +0 -1
- package/dist/legacy.css +0 -25448
- package/dist/pont2/core/messages.d.ts +0 -92
- package/dist/pont2/index.d.ts +0 -51
- package/dist/pont2/index.mjs +0 -8269
- 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 -7793
- package/dist/pont2/theme/tokens.json.d.ts +0 -8515
- package/dist/pont2/theme.mjs +0 -425
- package/dist/pont2/theme.mjs.map +0 -1
- package/dist/pont2/with-legacy.css +0 -8
- package/dist/primitives/assets/icons/anchor.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/app-window.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/arrow-up-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrows.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/asterisk.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-x.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bell.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bookmark.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/brand-javascript.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/captions.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/carousel-arrow-left.d.ts +0 -1
- package/dist/primitives/assets/icons/carousel-arrow-right.d.ts +0 -1
- package/dist/primitives/assets/icons/chart.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chevron-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chorven-down.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-x.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/close.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/cloud.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/copy.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/corner-down-left.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/credit-card.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/decrease.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/dot.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/down.d.ts +0 -1
- package/dist/primitives/assets/icons/external-link.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-off.d.ts +0 -1
- package/dist/primitives/assets/icons/eye-off.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-on.d.ts +0 -1
- package/dist/primitives/assets/icons/file-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/folder-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-plus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/help-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/house.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/inbox.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/index.d.ts +0 -67
- package/dist/primitives/assets/icons/info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/loader-circle.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail-warning.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/plus.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/rabbit.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/radio-group.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/radio.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/refresh-ccw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/refresh-cw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/search.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/settings.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shield-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shopping-bag.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/star.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/tick.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/up-down.d.ts +0 -1
- package/dist/primitives/assets/icons/up.d.ts +0 -1
- package/dist/primitives/assets/icons/wand.icon.d.ts +0 -2
- package/dist/primitives/components/index.d.ts +0 -1
- package/dist/primitives/components/ui/accordion/accordion-content.d.ts +0 -20
- package/dist/primitives/components/ui/accordion/accordion-item.d.ts +0 -21
- package/dist/primitives/components/ui/accordion/accordion-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/accordion/accordion.d.ts +0 -25
- package/dist/primitives/components/ui/accordion/accordion.defs.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.stories.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.styles.d.ts +0 -4
- package/dist/primitives/components/ui/alert/_alert-action.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-description.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-title.d.ts +0 -20
- package/dist/primitives/components/ui/alert/_alert.d.ts +0 -25
- package/dist/primitives/components/ui/alert/alert.d.ts +0 -16
- package/dist/primitives/components/ui/alert/alert.defs.d.ts +0 -4
- package/dist/primitives/components/ui/alert/alert.stories.d.ts +0 -12
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -16
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -4
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +0 -4
- package/dist/primitives/components/ui/avatar/_avatar-badge.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-fallback.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group-count.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-image.d.ts +0 -28
- package/dist/primitives/components/ui/avatar/_avatar.d.ts +0 -65
- package/dist/primitives/components/ui/avatar/avatar.d.ts +0 -20
- package/dist/primitives/components/ui/avatar/avatar.defs.d.ts +0 -8
- package/dist/primitives/components/ui/avatar/avatar.stories.d.ts +0 -13
- package/dist/primitives/components/ui/badge/_badge.d.ts +0 -43
- package/dist/primitives/components/ui/badge/badge.d.ts +0 -10
- package/dist/primitives/components/ui/badge/badge.defs.d.ts +0 -8
- package/dist/primitives/components/ui/badge/badge.stories.d.ts +0 -10
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -15
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.d.ts +0 -21
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -4
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.styles.d.ts +0 -4
- package/dist/primitives/components/ui/button/_button.d.ts +0 -62
- package/dist/primitives/components/ui/button/button.d.ts +0 -10
- package/dist/primitives/components/ui/button/button.defs.d.ts +0 -14
- package/dist/primitives/components/ui/button/button.stories.d.ts +0 -13
- package/dist/primitives/components/ui/calendar/calendar.d.ts +0 -24
- package/dist/primitives/components/ui/calendar/calendar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/calendar/calendar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/calendar/calendar.style.d.ts +0 -38
- package/dist/primitives/components/ui/card/_card-action.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-content.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card-description.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-footer.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-header.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-title.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card.d.ts +0 -25
- package/dist/primitives/components/ui/card/card.d.ts +0 -22
- package/dist/primitives/components/ui/card/card.defs.d.ts +0 -10
- package/dist/primitives/components/ui/card/card.stories.d.ts +0 -11
- package/dist/primitives/components/ui/carousel/carousel.d.ts +0 -24
- package/dist/primitives/components/ui/carousel/carousel.stories.d.ts +0 -6
- package/dist/primitives/components/ui/carousel/carousel.styles.d.ts +0 -32
- package/dist/primitives/components/ui/checkbox/_checkbox.d.ts +0 -92
- package/dist/primitives/components/ui/checkbox/checkbox.d.ts +0 -10
- package/dist/primitives/components/ui/checkbox/checkbox.defs.d.ts +0 -11
- package/dist/primitives/components/ui/checkbox/checkbox.stories.d.ts +0 -13
- package/dist/primitives/components/ui/collapsible/collapsible-content.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible.d.ts +0 -23
- package/dist/primitives/components/ui/collapsible/collapsible.stories.d.ts +0 -5
- package/dist/primitives/components/ui/combobox/combo-box-empty.d.ts +0 -14
- package/dist/primitives/components/ui/combobox/combo-box-group.d.ts +0 -37
- package/dist/primitives/components/ui/combobox/combo-box-input.d.ts +0 -17
- package/dist/primitives/components/ui/combobox/combo-box-item.d.ts +0 -25
- package/dist/primitives/components/ui/combobox/combo-box-trigger.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box-value.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box.d.ts +0 -35
- package/dist/primitives/components/ui/combobox/combo-box.stories.d.ts +0 -10
- package/dist/primitives/components/ui/combobox/combo-box.styles.d.ts +0 -14
- package/dist/primitives/components/ui/command/command-empty.atom.d.ts +0 -18
- package/dist/primitives/components/ui/command/command-group.atom.d.ts +0 -19
- package/dist/primitives/components/ui/command/command-input.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-item.atom.d.ts +0 -24
- package/dist/primitives/components/ui/command/command-list.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-separator.atom.d.ts +0 -14
- package/dist/primitives/components/ui/command/command.d.ts +0 -22
- package/dist/primitives/components/ui/command/command.helpers.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.stories.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.styles.d.ts +0 -15
- package/dist/primitives/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-content.d.ts +0 -14
- package/dist/primitives/components/ui/context-menu/context-menu-group.d.ts +0 -10
- package/dist/primitives/components/ui/context-menu/context-menu-item.d.ts +0 -13
- package/dist/primitives/components/ui/context-menu/context-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-seperator.d.ts +0 -6
- package/dist/primitives/components/ui/context-menu/context-menu-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/context-menu/context-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/context-menu/context-menu.d.ts +0 -40
- package/dist/primitives/components/ui/context-menu/context-menu.helpers.d.ts +0 -1
- package/dist/primitives/components/ui/context-menu/context-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/context-menu/contextMenu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/data-table/data-table.d.ts +0 -102
- package/dist/primitives/components/ui/data-table/data-table.stories.d.ts +0 -6
- package/dist/primitives/components/ui/data-table/index.d.ts +0 -7
- package/dist/primitives/components/ui/date-picker/date-picker.d.ts +0 -12
- package/dist/primitives/components/ui/date-picker/date-picker.stories.d.ts +0 -4
- package/dist/primitives/components/ui/date-picker/date-picker.styles.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-close.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-content.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-footer.d.ts +0 -9
- package/dist/primitives/components/ui/dialog/dialog-header.d.ts +0 -7
- package/dist/primitives/components/ui/dialog/dialog-overly.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/dialog/dialog.d.ts +0 -30
- package/dist/primitives/components/ui/dialog/dialog.stories.d.ts +0 -6
- package/dist/primitives/components/ui/dialog/dialog.styles.d.ts +0 -17
- package/dist/primitives/components/ui/drawer/drawer-close.d.ts +0 -15
- package/dist/primitives/components/ui/drawer/drawer-content.d.ts +0 -14
- package/dist/primitives/components/ui/drawer/drawer-description.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-footer.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-header.d.ts +0 -8
- package/dist/primitives/components/ui/drawer/drawer-overlay.d.ts +0 -5
- package/dist/primitives/components/ui/drawer/drawer-title.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/drawer/drawer.d.ts +0 -40
- package/dist/primitives/components/ui/drawer/drawer.helpers.d.ts +0 -2
- package/dist/primitives/components/ui/drawer/drawer.stories.d.ts +0 -4
- package/dist/primitives/components/ui/drawer/drawer.styles.d.ts +0 -14
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -18
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -11
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -40
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -8
- package/dist/primitives/components/ui/empty/_empty-content.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-description.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-header.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-media.d.ts +0 -29
- package/dist/primitives/components/ui/empty/_empty-title.d.ts +0 -22
- package/dist/primitives/components/ui/empty/_empty.d.ts +0 -28
- package/dist/primitives/components/ui/empty/empty.d.ts +0 -20
- package/dist/primitives/components/ui/empty/empty.defs.d.ts +0 -7
- package/dist/primitives/components/ui/empty/empty.stories.d.ts +0 -10
- package/dist/primitives/components/ui/field/_field-content.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-description.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-error.d.ts +0 -25
- package/dist/primitives/components/ui/field/_field-group.d.ts +0 -28
- package/dist/primitives/components/ui/field/_field-label.d.ts +0 -27
- package/dist/primitives/components/ui/field/_field-legend.d.ts +0 -30
- package/dist/primitives/components/ui/field/_field-separator.d.ts +0 -42
- package/dist/primitives/components/ui/field/_field-set.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field-title.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field.d.ts +0 -36
- package/dist/primitives/components/ui/field/field.d.ts +0 -29
- package/dist/primitives/components/ui/field/field.defs.d.ts +0 -23
- package/dist/primitives/components/ui/field/field.stories.d.ts +0 -16
- package/dist/primitives/components/ui/form/form-context.d.ts +0 -4
- package/dist/primitives/components/ui/form/form-controller.d.ts +0 -28
- package/dist/primitives/components/ui/form/form-field-context.d.ts +0 -3
- package/dist/primitives/components/ui/form/form-item-context.d.ts +0 -7
- package/dist/primitives/components/ui/form/form.stories.d.ts +0 -5
- package/dist/primitives/components/ui/form/form.styles.d.ts +0 -7
- package/dist/primitives/components/ui/form/pont-form-controller.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-description.d.ts +0 -13
- package/dist/primitives/components/ui/form/pont-form-field.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-item.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-label.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-message.d.ts +0 -17
- package/dist/primitives/components/ui/form/pont-form.d.ts +0 -23
- package/dist/primitives/components/ui/hoverCard/hover-card-content.d.ts +0 -15
- package/dist/primitives/components/ui/hoverCard/hover-card-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/hoverCard/hover-card.d.ts +0 -28
- package/dist/primitives/components/ui/hoverCard/hover-card.stories.d.ts +0 -4
- package/dist/primitives/components/ui/hoverCard/hover-card.styles.d.ts +0 -5
- package/dist/primitives/components/ui/index.d.ts +0 -50
- package/dist/primitives/components/ui/input/_input.d.ts +0 -163
- package/dist/primitives/components/ui/input/input.d.ts +0 -11
- package/dist/primitives/components/ui/input/input.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input/input.stories.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/_input-group-addon.d.ts +0 -32
- package/dist/primitives/components/ui/input-group/_input-group-button.d.ts +0 -59
- package/dist/primitives/components/ui/input-group/_input-group-input.d.ts +0 -140
- package/dist/primitives/components/ui/input-group/_input-group-text.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/_input-group-textarea.d.ts +0 -114
- package/dist/primitives/components/ui/input-group/_input-group.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/input-group.d.ts +0 -20
- package/dist/primitives/components/ui/input-group/input-group.defs.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/input-group.stories.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-group.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-separator.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-slot.d.ts +0 -29
- package/dist/primitives/components/ui/input-otp/_input-otp.d.ts +0 -192
- package/dist/primitives/components/ui/input-otp/input-otp.d.ts +0 -16
- package/dist/primitives/components/ui/input-otp/input-otp.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input-otp/input-otp.stories.d.ts +0 -12
- package/dist/primitives/components/ui/item/_item-actions.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-content.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-description.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-footer.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-group.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-header.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-media.d.ts +0 -28
- package/dist/primitives/components/ui/item/_item-separator.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-title.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item.d.ts +0 -42
- package/dist/primitives/components/ui/item/item.d.ts +0 -29
- package/dist/primitives/components/ui/item/item.defs.d.ts +0 -13
- package/dist/primitives/components/ui/item/item.stories.d.ts +0 -13
- package/dist/primitives/components/ui/kbd/_kbd-group.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/_kbd.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/kbd.d.ts +0 -12
- package/dist/primitives/components/ui/kbd/kbd.stories.d.ts +0 -8
- package/dist/primitives/components/ui/label/_label.d.ts +0 -26
- package/dist/primitives/components/ui/label/label.d.ts +0 -10
- package/dist/primitives/components/ui/label/label.defs.d.ts +0 -3
- package/dist/primitives/components/ui/label/label.stories.d.ts +0 -10
- package/dist/primitives/components/ui/menubar/menubar-checkbox.item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-content.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-group.d.ts +0 -14
- package/dist/primitives/components/ui/menubar/menubar-item.d.ts +0 -17
- package/dist/primitives/components/ui/menubar/menubar-menu.d.ts +0 -30
- package/dist/primitives/components/ui/menubar/menubar-radio-item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-separator.d.ts +0 -13
- package/dist/primitives/components/ui/menubar/menubar-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar.d.ts +0 -33
- package/dist/primitives/components/ui/menubar/menubar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/menubar/menubar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/menubar/menubar.styles.d.ts +0 -21
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -19
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -23
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -8
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.d.ts +0 -24
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.styles.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-content.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-ellipsis.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-item.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-link.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-next.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-previous.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination.d.ts +0 -26
- package/dist/primitives/components/ui/pagination/pagination.stories.d.ts +0 -4
- package/dist/primitives/components/ui/pagination/pagination.styles.d.ts +0 -18
- package/dist/primitives/components/ui/pagination/pagination.type.d.ts +0 -2
- package/dist/primitives/components/ui/password-input/_password-input.d.ts +0 -122
- package/dist/primitives/components/ui/password-input/password-input.d.ts +0 -10
- package/dist/primitives/components/ui/password-input/password-input.defs.d.ts +0 -3
- package/dist/primitives/components/ui/password-input/password-input.stories.d.ts +0 -8
- package/dist/primitives/components/ui/popover/popover-content.d.ts +0 -18
- package/dist/primitives/components/ui/popover/popover-trigger.d.ts +0 -12
- package/dist/primitives/components/ui/popover/popover.d.ts +0 -21
- package/dist/primitives/components/ui/popover/popover.stories.d.ts +0 -4
- package/dist/primitives/components/ui/popover/popover.style.d.ts +0 -5
- package/dist/primitives/components/ui/popover/popover.types.d.ts +0 -2
- package/dist/primitives/components/ui/progress/progress.d.ts +0 -11
- package/dist/primitives/components/ui/progress/progress.stories.d.ts +0 -4
- package/dist/primitives/components/ui/progress/progress.styles.d.ts +0 -4
- package/dist/primitives/components/ui/radio-group/_radio-group-item.d.ts +0 -98
- package/dist/primitives/components/ui/radio-group/_radio-group.d.ts +0 -184
- package/dist/primitives/components/ui/radio-group/radio-group.d.ts +0 -13
- package/dist/primitives/components/ui/radio-group/radio-group.defs.d.ts +0 -18
- package/dist/primitives/components/ui/radio-group/radio-group.stories.d.ts +0 -13
- package/dist/primitives/components/ui/scroll-area/scroll-area.d.ts +0 -12
- package/dist/primitives/components/ui/scroll-area/scroll-area.stories.d.ts +0 -4
- package/dist/primitives/components/ui/scroll-area/scroll-area.style.d.ts +0 -1
- package/dist/primitives/components/ui/select/index.d.ts +0 -25
- package/dist/primitives/components/ui/select/select-controller.d.ts +0 -16
- package/dist/primitives/components/ui/select/select-group.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-item.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-label.d.ts +0 -13
- package/dist/primitives/components/ui/select/select-list.d.ts +0 -10
- package/dist/primitives/components/ui/select/select-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/select/select-trigger.d.ts +0 -35
- package/dist/primitives/components/ui/select/select-value.d.ts +0 -13
- package/dist/primitives/components/ui/select/select.d.ts +0 -18
- package/dist/primitives/components/ui/select/select.stories.d.ts +0 -10
- package/dist/primitives/components/ui/select/select.styles.d.ts +0 -20
- package/dist/primitives/components/ui/separator/_separator.d.ts +0 -21
- package/dist/primitives/components/ui/separator/separator.d.ts +0 -10
- package/dist/primitives/components/ui/separator/separator.defs.d.ts +0 -5
- package/dist/primitives/components/ui/separator/separator.stories.d.ts +0 -9
- package/dist/primitives/components/ui/skeleton/skeleton.d.ts +0 -10
- package/dist/primitives/components/ui/skeleton/skeleton.stories.d.ts +0 -4
- package/dist/primitives/components/ui/skeleton/skeleton.style.d.ts +0 -1
- package/dist/primitives/components/ui/spinner/_spinner.d.ts +0 -18
- package/dist/primitives/components/ui/spinner/spinner.d.ts +0 -10
- package/dist/primitives/components/ui/spinner/spinner.defs.d.ts +0 -15
- package/dist/primitives/components/ui/spinner/spinner.stories.d.ts +0 -11
- package/dist/primitives/components/ui/switch/_switch.d.ts +0 -146
- package/dist/primitives/components/ui/switch/switch.d.ts +0 -10
- package/dist/primitives/components/ui/switch/switch.defs.d.ts +0 -13
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +0 -12
- package/dist/primitives/components/ui/table/table.d.ts +0 -17
- package/dist/primitives/components/ui/table/table.stories.d.ts +0 -4
- package/dist/primitives/components/ui/table/table.styles.d.ts +0 -39
- package/dist/primitives/components/ui/tabs/_tabs-content.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-list.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-trigger.d.ts +0 -46
- package/dist/primitives/components/ui/tabs/_tabs.d.ts +0 -28
- package/dist/primitives/components/ui/tabs/tabs.d.ts +0 -17
- package/dist/primitives/components/ui/tabs/tabs.defs.d.ts +0 -22
- package/dist/primitives/components/ui/tabs/tabs.helpers.d.ts +0 -24
- package/dist/primitives/components/ui/tabs/tabs.stories.d.ts +0 -13
- package/dist/primitives/components/ui/textarea/_textarea.d.ts +0 -131
- package/dist/primitives/components/ui/textarea/textarea.d.ts +0 -10
- package/dist/primitives/components/ui/textarea/textarea.defs.d.ts +0 -23
- package/dist/primitives/components/ui/textarea/textarea.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast-action.d.ts +0 -26
- package/dist/primitives/components/ui/toast/toast-description.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-title.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/toast/toast-view-port.d.ts +0 -23
- package/dist/primitives/components/ui/toast/toast.d.ts +0 -24
- package/dist/primitives/components/ui/toast/toast.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast.style.d.ts +0 -19
- package/dist/primitives/components/ui/toast/toast.type.d.ts +0 -1
- package/dist/primitives/components/ui/toggle/toggle.d.ts +0 -28
- package/dist/primitives/components/ui/toggle/toggle.defs.d.ts +0 -27
- package/dist/primitives/components/ui/toggle/toggle.stories.d.ts +0 -5
- package/dist/primitives/components/ui/toggle/toggle.style.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group-item.d.ts +0 -42
- package/dist/primitives/components/ui/toggle-group/toggle-group.d.ts +0 -24
- package/dist/primitives/components/ui/toggle-group/toggle-group.defs.d.ts +0 -37
- package/dist/primitives/components/ui/toggle-group/toggle-group.stories.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group.style.d.ts +0 -5
- package/dist/primitives/components/ui/typography/_typography-blockquote.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-code.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-h.d.ts +0 -27
- package/dist/primitives/components/ui/typography/_typography-large.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-lead.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-list.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-muted.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-p.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-small.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-table.d.ts +0 -13
- package/dist/primitives/components/ui/typography/typography.d.ts +0 -28
- package/dist/primitives/components/ui/typography/typography.defs.d.ts +0 -4
- package/dist/primitives/components/ui/typography/typography.stories.d.ts +0 -18
- package/dist/primitives/helpers/base-element.d.ts +0 -20
- package/dist/primitives/helpers/country-codes.d.ts +0 -5
- package/dist/primitives/helpers/genrate-uuid.helper.d.ts +0 -1
- package/dist/primitives/helpers/index.d.ts +0 -7
- package/dist/primitives/helpers/mouse-conroller.helper.d.ts +0 -14
- package/dist/primitives/helpers/shadow-wrapper.d.ts +0 -7
- package/dist/primitives/helpers/style.helpers.d.ts +0 -2
- package/dist/primitives/helpers/widget-controller.d.ts +0 -12
- package/dist/primitives/index.d.ts +0 -1
- package/dist/primitives/interfaces/atomic.interface.d.ts +0 -6
- package/dist/primitives/interfaces/child-support-atomic.interface.d.ts +0 -4
- package/dist/primitives/interfaces/index.d.ts +0 -4
- package/dist/primitives/interfaces/intractable.interface.d.ts +0 -6
- package/dist/primitives/interfaces/variant.interface.d.ts +0 -3
- package/dist/service/http/fetch.d.ts +0 -21
- package/dist/service/http/index.d.ts +0 -3
- package/dist/service/http/organization/assignable-roles.d.ts +0 -8
- package/dist/service/http/organization/index.d.ts +0 -4
- package/dist/service/http/organization/invitations.d.ts +0 -5
- package/dist/service/http/organization/management-token.d.ts +0 -13
- package/dist/service/http/organization/members.d.ts +0 -6
- package/dist/service/http/user/index.d.ts +0 -9
- package/dist/service/http/user/organizations.d.ts +0 -16
- package/dist/service/index.d.ts +0 -1
- package/dist/stories/preview.stories.d.ts +0 -5
- package/dist/tokens/tailwind/animation.d.ts +0 -7
- package/dist/tokens/tailwind/border-radius.d.ts +0 -45
- package/dist/tokens/tailwind/border-width.d.ts +0 -22
- package/dist/tokens/tailwind/box-shadow.d.ts +0 -12
- package/dist/tokens/tailwind/color.d.ts +0 -193
- package/dist/tokens/tailwind/font-size.d.ts +0 -89
- package/dist/tokens/tailwind/font-weight.d.ts +0 -26
- package/dist/tokens/tailwind/index.d.ts +0 -760
- package/dist/tokens/tailwind/keyframes.d.ts +0 -41
- package/dist/tokens/tailwind/opacity.d.ts +0 -28
- package/dist/tokens/tailwind/ring-offset-width.d.ts +0 -6
- package/dist/tokens/tailwind/ring-width.d.ts +0 -11
- package/dist/tokens/tailwind/spacing.d.ts +0 -264
- package/dist/tokens/tailwind/transition-duration.d.ts +0 -5
- package/dist/tokens/tailwind/transition-timing-function.d.ts +0 -4
- package/dist/tokens/tailwind/translate.d.ts +0 -5
- package/dist/types/auth.d.ts +0 -2
- package/dist/types/common/index.d.ts +0 -15
- package/dist/types/components/index.d.ts +0 -3
- package/dist/types/components/pont-primitives.d.ts +0 -7
- package/dist/types/components/pont-widgets.d.ts +0 -1
- package/dist/types/components/user-profile.d.ts +0 -33
- package/dist/types/core/index.d.ts +0 -61
- package/dist/types/index.d.ts +0 -7
- package/dist/types/layout/index.d.ts +0 -256
- package/dist/types/service/http/common/index.d.ts +0 -6
- package/dist/types/service/http/index.d.ts +0 -5
- package/dist/types/service/http/invitation/index.d.ts +0 -47
- package/dist/types/service/http/member/index.d.ts +0 -43
- package/dist/types/service/http/roles/index.d.ts +0 -19
- package/dist/types/service/http/user/index.d.ts +0 -40
- package/dist/types/service/index.d.ts +0 -1
- package/dist/types/styles/index.d.ts +0 -72
- package/dist/utils/components.d.ts +0 -24
- package/dist/utils/flow-error.d.ts +0 -25
- package/dist/utils/format.d.ts +0 -52
- package/dist/utils/html-base64.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -8
- package/dist/utils/instance-unavailable.d.ts +0 -19
- package/dist/utils/login-hint.d.ts +0 -12
- package/dist/utils/post-auth-destination.d.ts +0 -26
- package/dist/utils/storybook.d.ts +0 -1
- package/dist/utils/styles.d.ts +0 -21
- package/dist/utils/svg-base64.d.ts +0 -2
- package/dist/utils/tailwind.d.ts +0 -7
- package/dist/utils/tokens.d.ts +0 -1
- /package/dist/{pont2/core → core}/attrs.d.ts +0 -0
- /package/dist/{pont2/core → core}/context-root.d.ts +0 -0
- /package/dist/{pont2/core → core}/controllers/roving-focus.d.ts +0 -0
- /package/dist/{pont2/core → core}/form-control.d.ts +0 -0
- /package/dist/{pont2/core → core}/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}/consent/consent-api.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/data-table/rows.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}/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
|
@@ -19,7 +19,7 @@ export interface FieldIssue {
|
|
|
19
19
|
type: FieldIssueType;
|
|
20
20
|
message: string;
|
|
21
21
|
}
|
|
22
|
-
/** `
|
|
22
|
+
/** `pont-field-validate` detail. The value is deliberately not included (passwords). */
|
|
23
23
|
export interface FieldValidateDetail {
|
|
24
24
|
name: string;
|
|
25
25
|
valid: boolean;
|
|
@@ -39,13 +39,13 @@ export declare function compilePattern(source: string): RegExp | null;
|
|
|
39
39
|
* description and error from properties, as parts:
|
|
40
40
|
*
|
|
41
41
|
* ```html
|
|
42
|
-
* <
|
|
43
|
-
* <label data-
|
|
44
|
-
* <input data-
|
|
42
|
+
* <pont-email-field data-pont-field data-slot="field" data-orientation="vertical" [data-invalid]>
|
|
43
|
+
* <label data-pont-label data-pont-field-label data-slot="field-label" for="…-input">Email</label>
|
|
44
|
+
* <input data-pont-input data-slot="input" id="…-input" name="email" type="email"
|
|
45
45
|
* autocomplete="email" aria-describedby="…-description …-error" [aria-invalid="true"]>
|
|
46
|
-
* <p data-
|
|
47
|
-
* <div data-
|
|
48
|
-
* </
|
|
46
|
+
* <p data-pont-field-description data-slot="field-description" id="…-description">…</p>
|
|
47
|
+
* <div data-pont-field-error data-slot="field-error" role="alert" id="…-error">Please enter a valid email.</div>
|
|
48
|
+
* </pont-email-field>
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
51
|
* **The native `<input name>` is the form control.** There is no hidden
|
|
@@ -68,7 +68,7 @@ export declare function compilePattern(source: string): RegExp | null;
|
|
|
68
68
|
*
|
|
69
69
|
* Subclasses supply defaults and rules through the protected hooks.
|
|
70
70
|
*
|
|
71
|
-
* @fires
|
|
71
|
+
* @fires pont-field-validate - `{ name, valid, issues }` whenever validity is shown (change, submit, reportValidity)
|
|
72
72
|
*/
|
|
73
73
|
export declare abstract class AuthField extends Field {
|
|
74
74
|
static composite: boolean;
|
|
@@ -163,11 +163,11 @@ export declare abstract class AuthField extends Field {
|
|
|
163
163
|
connectedCallback(): void;
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
* `<
|
|
166
|
+
* `<pont-email-field>`: `type="email"`, `autocomplete="email"`, name
|
|
167
167
|
* `email`. Normalised to trimmed lower case. Format rule: the legacy pattern
|
|
168
168
|
* `^[^\s@]+@[^\s@]+\.[^\s@]+$`.
|
|
169
169
|
*
|
|
170
|
-
* @tag
|
|
170
|
+
* @tag pont-email-field
|
|
171
171
|
*/
|
|
172
172
|
export declare class EmailField extends AuthField {
|
|
173
173
|
protected defaultName(): string;
|
|
@@ -178,10 +178,10 @@ export declare class EmailField extends AuthField {
|
|
|
178
178
|
normalizeValue(raw: string): string;
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
* `<
|
|
181
|
+
* `<pont-phone-field>`: `type="tel"`, `autocomplete="tel"`, name `phone`.
|
|
182
182
|
* Normalised by removing whitespace. Format rule: the legacy pattern.
|
|
183
183
|
*
|
|
184
|
-
* @tag
|
|
184
|
+
* @tag pont-phone-field
|
|
185
185
|
*/
|
|
186
186
|
export declare class PhoneField extends AuthField {
|
|
187
187
|
protected defaultName(): string;
|
|
@@ -192,11 +192,11 @@ export declare class PhoneField extends AuthField {
|
|
|
192
192
|
normalizeValue(raw: string): string;
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
|
-
* `<
|
|
195
|
+
* `<pont-username-field>`: `autocomplete="username"`, name `username`,
|
|
196
196
|
* no autocapitalisation or spellcheck. Normalised to trimmed lower case.
|
|
197
197
|
* Rules: `minlength`, `maxlength`, then the pattern `^[a-z0-9_]*$`.
|
|
198
198
|
*
|
|
199
|
-
* @tag
|
|
199
|
+
* @tag pont-username-field
|
|
200
200
|
*/
|
|
201
201
|
export declare class UsernameField extends AuthField {
|
|
202
202
|
protected defaultName(): string;
|
|
@@ -210,11 +210,11 @@ export declare class UsernameField extends AuthField {
|
|
|
210
210
|
normalizeValue(raw: string): string;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
* `<
|
|
213
|
+
* `<pont-name-field>`: `autocomplete="name"`, name `name`. Normalised by
|
|
214
214
|
* trimming and collapsing whitespace. Rules: `minlength`, `maxlength`, then
|
|
215
215
|
* the Unicode pattern `^[\p{L} .'-]*$` (letters in any script).
|
|
216
216
|
*
|
|
217
|
-
* @tag
|
|
217
|
+
* @tag pont-name-field
|
|
218
218
|
*/
|
|
219
219
|
export declare class NameField extends AuthField {
|
|
220
220
|
protected defaultName(): string;
|
|
@@ -228,7 +228,7 @@ export type IdentifierKind = (typeof IDENTIFIER_KINDS)[number];
|
|
|
228
228
|
/** `["email","phone"]` → "Email or phone"; three → "Email, phone, or username" (legacy copy). */
|
|
229
229
|
export declare function identifierLabel(kinds: readonly IdentifierKind[]): string;
|
|
230
230
|
/**
|
|
231
|
-
* `<
|
|
231
|
+
* `<pont-identifier-field>`: the sign-in identifier (email, phone or
|
|
232
232
|
* username), submitted as `login_id` (the platform's contract).
|
|
233
233
|
*
|
|
234
234
|
* `identifiers` (attribute: a JSON array, as the platform writes it, or space- or
|
|
@@ -238,7 +238,7 @@ export declare function identifierLabel(kinds: readonly IdentifierKind[]): strin
|
|
|
238
238
|
* is what password managers look for next to a password. Normalised to
|
|
239
239
|
* trimmed lower case. Rule: `required` only (no format), as in the legacy kit.
|
|
240
240
|
*
|
|
241
|
-
* @tag
|
|
241
|
+
* @tag pont-identifier-field
|
|
242
242
|
* @attr identifiers - e.g. `["email","phone"]` or "email phone username"
|
|
243
243
|
*/
|
|
244
244
|
export declare class IdentifierField extends AuthField {
|
|
@@ -266,13 +266,13 @@ export declare class IdentifierField extends AuthField {
|
|
|
266
266
|
}
|
|
267
267
|
declare global {
|
|
268
268
|
interface HTMLElementTagNameMap {
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
269
|
+
"pont-email-field": EmailField;
|
|
270
|
+
"pont-phone-field": PhoneField;
|
|
271
|
+
"pont-username-field": UsernameField;
|
|
272
|
+
"pont-name-field": NameField;
|
|
273
|
+
"pont-identifier-field": IdentifierField;
|
|
274
274
|
}
|
|
275
275
|
interface HTMLElementEventMap {
|
|
276
|
-
"
|
|
276
|
+
"pont-field-validate": CustomEvent<FieldValidateDetail>;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -23,10 +23,10 @@ export type SecretFieldVariant = (typeof SECRET_FIELD_VARIANTS)[number];
|
|
|
23
23
|
* from InputGroup parts:
|
|
24
24
|
*
|
|
25
25
|
* ```html
|
|
26
|
-
* <div data-
|
|
27
|
-
* <input data-
|
|
28
|
-
* <div data-
|
|
29
|
-
* <button data-
|
|
26
|
+
* <div data-pont-input-group data-slot="input-group" role="group">
|
|
27
|
+
* <input data-pont-input data-pont-input-group-input data-slot="input-group-control" type="password" …>
|
|
28
|
+
* <div data-pont-input-group-addon data-slot="input-group-addon" data-align="inline-end" role="group">
|
|
29
|
+
* <button data-pont-button data-pont-input-group-button data-variant="ghost" data-size="icon-xs"
|
|
30
30
|
* aria-label="Show password" aria-pressed="false" aria-controls="…-input"><svg/></button>
|
|
31
31
|
* </div>
|
|
32
32
|
* </div>
|
|
@@ -57,7 +57,7 @@ export declare abstract class SecretField extends AuthField {
|
|
|
57
57
|
protected renderControl(o: InputOptions): TemplateResult;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* # `<
|
|
60
|
+
* # `<pont-password-field>`
|
|
61
61
|
*
|
|
62
62
|
* `autocomplete="current-password"` by default (set `new-password` on
|
|
63
63
|
* sign-up screens), name `password`. Rules: `minlength`, `maxlength`, then
|
|
@@ -66,15 +66,15 @@ export declare abstract class SecretField extends AuthField {
|
|
|
66
66
|
*
|
|
67
67
|
* `forgot` adds a "Forgot your password?" link-styled button beside the label
|
|
68
68
|
* (shadcn's login block layout). It requests `forgot-event` through the
|
|
69
|
-
* action protocol (`
|
|
69
|
+
* action protocol (`pont-action` with `data: { forgot: true }`), exactly
|
|
70
70
|
* like the auth buttons, and is busy until the response settles.
|
|
71
71
|
*
|
|
72
|
-
* @tag
|
|
72
|
+
* @tag pont-password-field
|
|
73
73
|
* @attr rules - JSON array of `{ name }` / `{ pattern }` rules with optional `error`; `rules="[]"` disables them
|
|
74
74
|
* @attr forgot - show the forgot-password link
|
|
75
75
|
* @attr forgot-label - its text (default "Forgot your password?")
|
|
76
76
|
* @attr forgot-event - the action it requests
|
|
77
|
-
* @fires
|
|
77
|
+
* @fires pont-action, pont-action-success, pont-action-error - from the forgot link
|
|
78
78
|
*/
|
|
79
79
|
export declare class PasswordField extends SecretField {
|
|
80
80
|
static properties: PropertyDeclarations;
|
|
@@ -91,15 +91,15 @@ export declare class PasswordField extends SecretField {
|
|
|
91
91
|
protected renderLabel(): TemplateResult | typeof nothing;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
* # `<
|
|
94
|
+
* # `<pont-confirm-field>`: repeat a password
|
|
95
95
|
*
|
|
96
96
|
* Valid when its value equals the `pair` field's (default: the first
|
|
97
|
-
* `
|
|
97
|
+
* `pont-password-field` in the same form, else in the document). It
|
|
98
98
|
* re-validates as either changes. `autocomplete="new-password"`, name
|
|
99
99
|
* `confirm`. Unlike the legacy kit, the pair's value is never put in an event.
|
|
100
100
|
*
|
|
101
|
-
* @tag
|
|
102
|
-
* @attr pair - CSS selector of the field to match (default "
|
|
101
|
+
* @tag pont-confirm-field
|
|
102
|
+
* @attr pair - CSS selector of the field to match (default "pont-password-field")
|
|
103
103
|
* @attr match-error - default "Passwords do not match."
|
|
104
104
|
*/
|
|
105
105
|
export declare class ConfirmField extends SecretField {
|
|
@@ -111,7 +111,7 @@ export declare class ConfirmField extends SecretField {
|
|
|
111
111
|
protected defaultName(): string;
|
|
112
112
|
protected defaultLabel(): string;
|
|
113
113
|
protected defaultAutocomplete(): string;
|
|
114
|
-
/** The element being matched (a
|
|
114
|
+
/** The element being matched (a pont field or any element with `.value`). */
|
|
115
115
|
get pairElement(): (Element & {
|
|
116
116
|
value?: string;
|
|
117
117
|
}) | null;
|
|
@@ -122,7 +122,7 @@ export declare class ConfirmField extends SecretField {
|
|
|
122
122
|
}
|
|
123
123
|
declare global {
|
|
124
124
|
interface HTMLElementTagNameMap {
|
|
125
|
-
"
|
|
126
|
-
"
|
|
125
|
+
"pont-password-field": PasswordField;
|
|
126
|
+
"pont-confirm-field": ConfirmField;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -3,20 +3,20 @@ import { Avatar } from '../../primitives/avatar/avatar';
|
|
|
3
3
|
/** "Ada Lovelace" → "AL", "ada" → "A". At most two letters, upper-cased. */
|
|
4
4
|
export declare function initials(name: string): string;
|
|
5
5
|
/**
|
|
6
|
-
* # `<
|
|
6
|
+
* # `<pont-avatar>`: kit composite over `<pont-prim-avatar>`
|
|
7
7
|
*
|
|
8
8
|
* ```html
|
|
9
|
-
* <
|
|
9
|
+
* <pont-avatar src="/u/42.png" alt="Ada Lovelace" badge></pont-avatar>
|
|
10
10
|
* ```
|
|
11
11
|
*
|
|
12
12
|
* renders the primitive's DOM:
|
|
13
13
|
*
|
|
14
14
|
* ```html
|
|
15
|
-
* <
|
|
16
|
-
* <img src="/u/42.png" alt="Ada Lovelace" data-
|
|
17
|
-
* <span data-
|
|
18
|
-
* <span data-
|
|
19
|
-
* </
|
|
15
|
+
* <pont-avatar data-pont-avatar data-slot="avatar" data-size="default" data-image-loading-status="loaded">
|
|
16
|
+
* <img src="/u/42.png" alt="Ada Lovelace" data-pont-avatar-image data-slot="avatar-image">
|
|
17
|
+
* <span data-pont-avatar-fallback data-slot="avatar-fallback">AL</span>
|
|
18
|
+
* <span data-pont-avatar-badge data-slot="avatar-badge"></span>
|
|
19
|
+
* </pont-avatar>
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
22
|
* - **It is a primitive Avatar** (`extends Avatar`): the primitive watches the
|
|
@@ -28,7 +28,7 @@ export declare function initials(name: string): string;
|
|
|
28
28
|
* - **Badge:** `badge` shows shadcn's status dot. For an icon inside the
|
|
29
29
|
* badge, use the primitive form.
|
|
30
30
|
*
|
|
31
|
-
* @tag
|
|
31
|
+
* @tag pont-avatar
|
|
32
32
|
* @attr src - image URL (no image is rendered without it)
|
|
33
33
|
* @attr alt - image alternative text; also the source of the default initials
|
|
34
34
|
* @attr fallback - fallback text (defaults to the initials of `alt`)
|
|
@@ -47,6 +47,6 @@ export declare class KitAvatar extends Avatar {
|
|
|
47
47
|
}
|
|
48
48
|
declare global {
|
|
49
49
|
interface HTMLElementTagNameMap {
|
|
50
|
-
"
|
|
50
|
+
"pont-avatar": KitAvatar;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -11,7 +11,7 @@ export interface BadgeOption {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* # `<
|
|
14
|
+
* # `<pont-badge-selector>`: kit composite over a multiple `<pont-prim-combobox>`
|
|
15
15
|
*
|
|
16
16
|
* Pick several options as badges, with type-to-filter: the account widgets'
|
|
17
17
|
* role picker (legacy `pont-badge-selector`). It **is** the Combobox
|
|
@@ -20,7 +20,7 @@ export interface BadgeOption {
|
|
|
20
20
|
* DOM inside it: the chips input, then the popup with the list of options.
|
|
21
21
|
*
|
|
22
22
|
* ```html
|
|
23
|
-
* <
|
|
23
|
+
* <pont-badge-selector name="roles" placeholder="Search roles"></pont-badge-selector>
|
|
24
24
|
* <script>
|
|
25
25
|
* el.options = [{ value: "owner", label: "Owner", disabled: true }, { value: "admin", label: "Admin" }];
|
|
26
26
|
* el.values = ["owner"]; // owner is locked in
|
|
@@ -33,12 +33,12 @@ export interface BadgeOption {
|
|
|
33
33
|
* added.
|
|
34
34
|
* - **`max-selections`:** once reached, the unselected options are disabled.
|
|
35
35
|
* - Events are the Combobox's: `input` and `change` when the selection
|
|
36
|
-
* changes (read `values`), `
|
|
36
|
+
* changes (read `values`), `pont-open-change`.
|
|
37
37
|
*
|
|
38
38
|
* Default words are `msg()` codes: `search_roles` (placeholder), `no_options`
|
|
39
39
|
* (nothing matches).
|
|
40
40
|
*
|
|
41
|
-
* @tag
|
|
41
|
+
* @tag pont-badge-selector
|
|
42
42
|
* @attr name, required, disabled - as the Combobox's
|
|
43
43
|
* @attr placeholder - shown while nothing is selected (default `msg("search_roles")`)
|
|
44
44
|
* @attr empty-label - shown when no option matches (default `msg("no_options")`)
|
|
@@ -60,6 +60,6 @@ export declare class BadgeSelector extends Combobox {
|
|
|
60
60
|
}
|
|
61
61
|
declare global {
|
|
62
62
|
interface HTMLElementTagNameMap {
|
|
63
|
-
"
|
|
63
|
+
"pont-badge-selector": BadgeSelector;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -4,13 +4,13 @@ export { BrandingController, brandingContext, DEFAULT_BRANDING, type BrandingEnt
|
|
|
4
4
|
export type BlockAlign = "stretch" | "start" | "center" | "end";
|
|
5
5
|
export type BlockJustify = "start" | "center" | "end";
|
|
6
6
|
/**
|
|
7
|
-
* # `<
|
|
7
|
+
* # `<pont-block>`: the screen shell
|
|
8
8
|
*
|
|
9
9
|
* ```html
|
|
10
|
-
* <
|
|
11
|
-
* <
|
|
10
|
+
* <pont-block>
|
|
11
|
+
* <pont-header>…</pont-header>
|
|
12
12
|
* <form>…</form>
|
|
13
|
-
* </
|
|
13
|
+
* </pont-block>
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* **Is a Card** (`extends Card`): the host is the card, the screen's content
|
|
@@ -18,18 +18,18 @@ export type BlockJustify = "start" | "center" | "end";
|
|
|
18
18
|
* its own, the watermark footer:
|
|
19
19
|
*
|
|
20
20
|
* ```html
|
|
21
|
-
* <
|
|
21
|
+
* <pont-block data-pont-card data-slot="card" data-align="stretch" data-justify="start">
|
|
22
22
|
* …the screen (author / render-spec content)…
|
|
23
|
-
* <div data-
|
|
24
|
-
* <span data-
|
|
23
|
+
* <div data-pont-card-footer data-slot="card-footer" data-border="top">
|
|
24
|
+
* <span data-pont-watermark data-slot="watermark" data-variant="muted">Powered by <svg/></span>
|
|
25
25
|
* </div>
|
|
26
|
-
* </
|
|
26
|
+
* </pont-block>
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
29
|
* The legacy `pont-block` rendered `pont-card > [card] > pont-card-content >
|
|
30
30
|
* [card-content]` and then **moved** the spec's children into it
|
|
31
31
|
* (`moveLightDomChildrenInto`), the relocation pattern host-as-root exists to
|
|
32
|
-
* remove.
|
|
32
|
+
* remove. pont moves nothing: the card's inline padding (CardContent's
|
|
33
33
|
* `px-(--card-spacing)`) is on the host, and the footer bleeds to the edges.
|
|
34
34
|
*
|
|
35
35
|
* **Watermark entitlement** (docs/branding-entitlements.md): the footer is
|
|
@@ -40,14 +40,14 @@ export type BlockJustify = "start" | "center" | "end";
|
|
|
40
40
|
* Not a props-driven composite (`composite = false`): a block *contains* the
|
|
41
41
|
* screen. Lit renders the footer after the author's children.
|
|
42
42
|
*
|
|
43
|
-
* @tag
|
|
43
|
+
* @tag pont-block
|
|
44
44
|
* @attr align - stretch (default) | start | center | end: the content's cross-axis alignment
|
|
45
45
|
* @attr justify - start (default) | center | end: when the block is taller than its content
|
|
46
46
|
* @attr size - default | sm (the Card primitive's spacing)
|
|
47
|
-
* @cssprop --
|
|
48
|
-
* @cssprop --
|
|
49
|
-
* @cssprop --
|
|
50
|
-
* @cssprop --
|
|
47
|
+
* @cssprop --pont-block-max-width - max width on wider screens (default 24rem)
|
|
48
|
+
* @cssprop --pont-block-gap - gap between children (default 1rem)
|
|
49
|
+
* @cssprop --pont-block-bg, --pont-block-fg, --pont-block-border-color, --pont-block-radius, --pont-block-shadow, --pont-block-spacing - the screen card (fall back to the Card's tokens)
|
|
50
|
+
* @cssprop --pont-block-footer-bg - the watermark band
|
|
51
51
|
*/
|
|
52
52
|
export declare class Block extends Card {
|
|
53
53
|
static composite: boolean;
|
|
@@ -61,6 +61,6 @@ export declare class Block extends Card {
|
|
|
61
61
|
}
|
|
62
62
|
declare global {
|
|
63
63
|
interface HTMLElementTagNameMap {
|
|
64
|
-
"
|
|
64
|
+
"pont-block": Block;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ReactiveElement } from 'lit';
|
|
2
2
|
/**
|
|
3
|
-
* Account-level branding entitlements, the
|
|
3
|
+
* Account-level branding entitlements, the pont side of
|
|
4
4
|
* docs/branding-entitlements.md (same rule, same shape):
|
|
5
5
|
*
|
|
6
6
|
* > A branding entitlement is a fact about the account, resolved by the
|
|
7
7
|
* > backend, delivered as context. An element that renders branding *asks*
|
|
8
8
|
* > for it. It is never *told* by its own markup.
|
|
9
9
|
*
|
|
10
|
-
* So there is no attribute, property or other escape hatch on any
|
|
11
|
-
* element; the flow host (the future
|
|
10
|
+
* So there is no attribute, property or other escape hatch on any pont
|
|
11
|
+
* element; the flow host (the future pont widgets/layout) provides
|
|
12
12
|
* `brandingContext` from the backend response, and Storybook provides it with
|
|
13
13
|
* a `ContextProvider`.
|
|
14
14
|
*
|
|
15
15
|
* The context is the Context Community Protocol (`context-request` events)
|
|
16
|
-
* through `@lit/context`. Its key is `
|
|
17
|
-
* legacy `pont:branding` (docs/08-parallel-constraints.md §4).
|
|
16
|
+
* through `@lit/context`. Its key is `pont:branding`, separate from the
|
|
17
|
+
* legacy `pont:branding` (docs/archive/pont2-migration/08-parallel-constraints.md §4).
|
|
18
18
|
*/
|
|
19
19
|
export interface BrandingEntitlements {
|
|
20
20
|
/** Whether the Pontive watermark must be rendered on the screen shell. */
|
|
@@ -5,10 +5,10 @@ import { BrandingEntitlements } from '../block/branding';
|
|
|
5
5
|
import { FlowClient, Layout } from '../layout/layout';
|
|
6
6
|
export { CONSENT_EXPIRED_EN, ConsentError, consentEndpoint, consentExpired, fetchConsent, isNavigableRedirect, submitConsent, type ConsentOutcome, type ConsentView, } from './consent-api';
|
|
7
7
|
/**
|
|
8
|
-
* # `<
|
|
8
|
+
* # `<pont-consent>`: an app asks for access; the person allows or denies
|
|
9
9
|
*
|
|
10
10
|
* ```html
|
|
11
|
-
* <
|
|
11
|
+
* <pont-consent consent-request="cr_123"></pont-consent>
|
|
12
12
|
* ```
|
|
13
13
|
*
|
|
14
14
|
* The OAuth consent screen (pontive-spec 40 §4.3), ported from the legacy
|
|
@@ -18,7 +18,7 @@ export { CONSENT_EXPIRED_EN, ConsentError, consentEndpoint, consentExpired, fetc
|
|
|
18
18
|
* `authorize_app` widget in the instance's brand and copy) and answers with a
|
|
19
19
|
* redirect.
|
|
20
20
|
*
|
|
21
|
-
* It still renders through `
|
|
21
|
+
* It still renders through `pont-layout`, with a consent-specific **client**,
|
|
22
22
|
* so the markup, the error banner, the busy state and the branding entitlement
|
|
23
23
|
* work as on every other screen:
|
|
24
24
|
*
|
|
@@ -26,7 +26,7 @@ export { CONSENT_EXPIRED_EN, ConsentError, consentEndpoint, consentExpired, fetc
|
|
|
26
26
|
* origin with the session cookie (`fetchConsent`). The view's `locale` and
|
|
27
27
|
* `dir` become the element's `lang` and `dir`.
|
|
28
28
|
* - **Answer:** Allow and Deny are submit buttons naming the `allow` / `deny`
|
|
29
|
-
* event; `
|
|
29
|
+
* event; `pont-scope-list` submits the ticked scopes as `scope`, one
|
|
30
30
|
* space-separated string. The client posts `{ event, data }`
|
|
31
31
|
* (`submitConsent`) and then either sends the browser to `redirect_to` (the
|
|
32
32
|
* app's redirect URI, which may be a custom scheme; only code-running schemes
|
|
@@ -37,11 +37,11 @@ export { CONSENT_EXPIRED_EN, ConsentError, consentEndpoint, consentExpired, fetc
|
|
|
37
37
|
* is worded by `describeFlowError` and offers "Start again", which reloads the
|
|
38
38
|
* request.
|
|
39
39
|
*
|
|
40
|
-
* @tag
|
|
40
|
+
* @tag pont-consent
|
|
41
41
|
* @attr consent-request - the consent request's id (the page's `consent_request` parameter)
|
|
42
42
|
* @attr base-url - where auth-api is; empty (default) means same origin, which the session cookie needs
|
|
43
43
|
* @attr locales - preferred languages, passed to the load (`?locales=`)
|
|
44
|
-
* @prop branding - the account's branding entitlements (this, else a `
|
|
44
|
+
* @prop branding - the account's branding entitlements (this, else a `pont-provider`'s; fail closed: the watermark shows)
|
|
45
45
|
*/
|
|
46
46
|
export declare class Consent extends HostElement {
|
|
47
47
|
static identity: string;
|
|
@@ -79,6 +79,6 @@ export declare class Consent extends HostElement {
|
|
|
79
79
|
}
|
|
80
80
|
declare global {
|
|
81
81
|
interface HTMLElementTagNameMap {
|
|
82
|
-
"
|
|
82
|
+
"pont-consent": Consent;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -7,22 +7,22 @@ export type ContainerType = (typeof CONTAINER_TYPES)[number];
|
|
|
7
7
|
export type ContainerAlign = "stretch" | "start" | "center" | "end";
|
|
8
8
|
export type ContainerJustify = "start" | "center" | "end" | "between";
|
|
9
9
|
/**
|
|
10
|
-
* # `<
|
|
10
|
+
* # `<pont-container>`: a flex group of screen elements
|
|
11
11
|
*
|
|
12
12
|
* ```html
|
|
13
|
-
* <
|
|
14
|
-
* → <
|
|
13
|
+
* <pont-container type="flex_row" justify="between">…</pont-container>
|
|
14
|
+
* → <pont-container data-pont-container data-slot="container" data-type="flex_row" data-justify="between">…</pont-container>
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
17
|
* Tier 1 host-as-root: the host is the flex box and the children stay where
|
|
18
18
|
* they are (the legacy element rendered an inner `div` and moved the children
|
|
19
19
|
* into it). Not a composite: it contains content.
|
|
20
20
|
*
|
|
21
|
-
* @tag
|
|
21
|
+
* @tag pont-container
|
|
22
22
|
* @attr type - flex_column (default) | flex_row
|
|
23
23
|
* @attr align - stretch (default) | start | center | end (cross axis)
|
|
24
24
|
* @attr justify - start (default) | center | end | between (main axis)
|
|
25
|
-
* @cssprop --
|
|
25
|
+
* @cssprop --pont-container-gap - default 1rem
|
|
26
26
|
*/
|
|
27
27
|
export declare class Container extends HostElement {
|
|
28
28
|
static identity: string;
|
|
@@ -39,6 +39,6 @@ export declare class Container extends HostElement {
|
|
|
39
39
|
}
|
|
40
40
|
declare global {
|
|
41
41
|
interface HTMLElementTagNameMap {
|
|
42
|
-
"
|
|
42
|
+
"pont-container": Container;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -4,33 +4,33 @@ export interface CountdownEndDetail {
|
|
|
4
4
|
/** Where the countdown will navigate (already resolved), or null. */
|
|
5
5
|
url: string | null;
|
|
6
6
|
}
|
|
7
|
-
/** Kept as countdown's export; the check itself is `safeUrl` (core/url.ts), shared with `
|
|
7
|
+
/** Kept as countdown's export; the check itself is `safeUrl` (core/url.ts), shared with `pont-link`. */
|
|
8
8
|
export declare const safeRedirect: (raw: string, base?: string) => string | null;
|
|
9
9
|
/**
|
|
10
|
-
* # `<
|
|
10
|
+
* # `<pont-countdown>`: "Redirecting in 5s…"
|
|
11
11
|
*
|
|
12
12
|
* ```html
|
|
13
|
-
* <
|
|
14
|
-
* → <
|
|
13
|
+
* <pont-countdown content="Redirecting you in" duration="5" redirect-url="/dashboard"></pont-countdown>
|
|
14
|
+
* → <pont-countdown data-pont-countdown data-slot="countdown" role="timer">Redirecting you in 5s…</pont-countdown>
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
17
|
* Host-as-root (the legacy element rendered a `div` inside its tag). Counts
|
|
18
|
-
* down once a second; at zero it fires a **cancelable** `
|
|
18
|
+
* down once a second; at zero it fires a **cancelable** `pont-countdown-end`
|
|
19
19
|
* and, unless a listener prevents it, navigates to `redirect-url`.
|
|
20
20
|
*
|
|
21
21
|
* **Only http(s) URLs are followed.** Render specs are author-editable HTML,
|
|
22
22
|
* so a `javascript:` or `data:` redirect would be script injection; those are
|
|
23
23
|
* refused (the event still fires, with `url: null`). The legacy element
|
|
24
|
-
* assigned `location.href` unconditionally and defaulted to `/`;
|
|
24
|
+
* assigned `location.href` unconditionally and defaulted to `/`; pont has no
|
|
25
25
|
* default: without `redirect-url` it only fires the event.
|
|
26
26
|
*
|
|
27
27
|
* `role="timer"`: assistive technology is not interrupted every second.
|
|
28
28
|
*
|
|
29
|
-
* @tag
|
|
29
|
+
* @tag pont-countdown
|
|
30
30
|
* @attr duration - seconds (default 5)
|
|
31
31
|
* @attr content - text before the seconds
|
|
32
32
|
* @attr redirect-url - where to go at zero (http/https, relative URLs resolve against the page)
|
|
33
|
-
* @fires
|
|
33
|
+
* @fires pont-countdown-end - `{ url }`, cancelable: `preventDefault()` stops the redirect
|
|
34
34
|
*/
|
|
35
35
|
export declare class Countdown extends HostElement {
|
|
36
36
|
static identity: string;
|
|
@@ -56,9 +56,9 @@ export declare class Countdown extends HostElement {
|
|
|
56
56
|
}
|
|
57
57
|
declare global {
|
|
58
58
|
interface HTMLElementTagNameMap {
|
|
59
|
-
"
|
|
59
|
+
"pont-countdown": Countdown;
|
|
60
60
|
}
|
|
61
61
|
interface HTMLElementEventMap {
|
|
62
|
-
"
|
|
62
|
+
"pont-countdown-end": CustomEvent<CountdownEndDetail>;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -21,7 +21,7 @@ export interface DataTableColumn<T = DataTableRow> {
|
|
|
21
21
|
}
|
|
22
22
|
/** One entry in each row's actions menu. */
|
|
23
23
|
export interface DataTableAction<T = DataTableRow> {
|
|
24
|
-
/** Sent in `
|
|
24
|
+
/** Sent in `pont-row-action`. */
|
|
25
25
|
action: string;
|
|
26
26
|
label: string;
|
|
27
27
|
variant?: "default" | "destructive";
|
|
@@ -39,7 +39,7 @@ export interface SortChangeDetail {
|
|
|
39
39
|
direction: SortDirection;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* # `<
|
|
42
|
+
* # `<pont-data-table>`: kit composite over `<pont-prim-table>`
|
|
43
43
|
*
|
|
44
44
|
* shadcn's "Data Table" is a recipe (TanStack Table + `<Table>`), not a
|
|
45
45
|
* component. This is that recipe as one element, with what the account
|
|
@@ -58,11 +58,11 @@ export interface SortChangeDetail {
|
|
|
58
58
|
* ```
|
|
59
59
|
*
|
|
60
60
|
* - **Sorting:** pressing a sortable header cycles ascending → descending →
|
|
61
|
-
* unsorted and fires a cancelable `
|
|
61
|
+
* unsorted and fires a cancelable `pont-sort-change` `{ key, direction }`.
|
|
62
62
|
* Rows are sorted here unless `manual-sort` is set (server-side sorting:
|
|
63
63
|
* sort in the handler and set `rows`). The header carries `aria-sort`.
|
|
64
64
|
* - **Actions:** with `actions`, each row ends in a "⋯" menu (a Dropdown Menu
|
|
65
|
-
* primitive) labelled `actions-label`; an item fires `
|
|
65
|
+
* primitive) labelled `actions-label`; an item fires `pont-row-action`
|
|
66
66
|
* `{ action, row, key }`.
|
|
67
67
|
* - **Loading:** `loading` shows `loading-rows` skeleton rows and sets
|
|
68
68
|
* `aria-busy`.
|
|
@@ -70,17 +70,17 @@ export interface SortChangeDetail {
|
|
|
70
70
|
*
|
|
71
71
|
* Default words are `msg()` codes: `no_results`, `actions_menu`.
|
|
72
72
|
*
|
|
73
|
-
* @tag
|
|
73
|
+
* @tag pont-data-table
|
|
74
74
|
* @attr row-key - the row field that identifies a row (default `id`); the `rowKey` property may also be a function
|
|
75
75
|
* @attr sort-key, sort-direction - the current sort (`asc` | `desc`); set them to sort initially or to control it
|
|
76
|
-
* @attr manual-sort - don't sort the rows here, only report `
|
|
76
|
+
* @attr manual-sort - don't sort the rows here, only report `pont-sort-change`
|
|
77
77
|
* @attr loading - show skeleton rows
|
|
78
78
|
* @attr loading-rows - how many (default 5)
|
|
79
79
|
* @attr empty-label - shown when there are no rows (default `msg("no_results")`)
|
|
80
80
|
* @attr actions-label - the accessible name of each row's actions button (default `msg("actions_menu")`)
|
|
81
81
|
* @attr caption - a caption under the table
|
|
82
|
-
* @fires
|
|
83
|
-
* @fires
|
|
82
|
+
* @fires pont-sort-change - cancelable `{ key, direction }`, a sortable header was pressed
|
|
83
|
+
* @fires pont-row-action - `{ action, row, key }`, a row action was chosen
|
|
84
84
|
*/
|
|
85
85
|
export declare class DataTable extends Table {
|
|
86
86
|
static composite: boolean;
|
|
@@ -111,10 +111,10 @@ export declare class DataTable extends Table {
|
|
|
111
111
|
}
|
|
112
112
|
declare global {
|
|
113
113
|
interface HTMLElementTagNameMap {
|
|
114
|
-
"
|
|
114
|
+
"pont-data-table": DataTable;
|
|
115
115
|
}
|
|
116
116
|
interface HTMLElementEventMap {
|
|
117
|
-
"
|
|
118
|
-
"
|
|
117
|
+
"pont-sort-change": CustomEvent<SortChangeDetail>;
|
|
118
|
+
"pont-row-action": CustomEvent<RowActionDetail>;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropertyDeclarations } from 'lit';
|
|
2
2
|
import { FieldSeparator } from '../../primitives/field/field';
|
|
3
3
|
/**
|
|
4
|
-
* # `<
|
|
4
|
+
* # `<pont-divider>`: "Or continue with"
|
|
5
5
|
*
|
|
6
6
|
* ```html
|
|
7
|
-
* <
|
|
7
|
+
* <pont-divider label="Or continue with"></pont-divider>
|
|
8
8
|
* ```
|
|
9
9
|
*
|
|
10
10
|
* **Is a FieldSeparator** (`extends FieldSeparator`), as shadcn's login
|
|
@@ -13,7 +13,7 @@ import { FieldSeparator } from '../../primitives/field/field';
|
|
|
13
13
|
* label a text node. Without a label it is a plain rule
|
|
14
14
|
* (`data-content="false"`).
|
|
15
15
|
*
|
|
16
|
-
* @tag
|
|
16
|
+
* @tag pont-divider
|
|
17
17
|
* @attr label - text in the middle
|
|
18
18
|
*/
|
|
19
19
|
export declare class Divider extends FieldSeparator {
|
|
@@ -25,6 +25,6 @@ export declare class Divider extends FieldSeparator {
|
|
|
25
25
|
}
|
|
26
26
|
declare global {
|
|
27
27
|
interface HTMLElementTagNameMap {
|
|
28
|
-
"
|
|
28
|
+
"pont-divider": Divider;
|
|
29
29
|
}
|
|
30
30
|
}
|