@pontive/pontkit-core 1.40.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +129 -195
- package/catalog.json +31 -2378
- package/dist/{pont2/core → core}/controllers/action.d.ts +10 -10
- package/dist/{pont2/core → core}/controllers/copy.d.ts +3 -3
- package/dist/{pont2/core → core}/design-mode.d.ts +3 -3
- package/dist/{pont2/core → core}/events.d.ts +4 -4
- package/dist/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 +5928 -29700
- package/dist/{pont2/theme → theme}/fonts.d.ts +6 -4
- package/dist/{pont2/theme → theme}/golden.d.ts +1 -1
- package/dist/{pont2/theme → theme}/index.d.ts +3 -3
- package/dist/theme/scopes.d.ts +21 -0
- package/dist/{pont2/theme → theme}/shadcn.d.ts +1 -1
- package/dist/{pont2/theme → theme}/types.d.ts +21 -10
- package/dist/{pont2/theme → theme}/value.d.ts +1 -1
- package/dist/{pont2/theme → theme}/vocabulary.d.ts +5 -5
- package/dist/theme-golden.json +1493 -0
- package/dist/theme.mjs +552 -0
- package/dist/theme.mjs.map +1 -0
- package/dist/{pont2/tokens.json → tokens.json} +3633 -2311
- package/package.json +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/scopes.d.ts +0 -13
- package/dist/pont2/theme/tokens.json.d.ts +0 -8515
- package/dist/pont2/theme-golden.json +0 -1240
- package/dist/pont2/theme.mjs +0 -425
- package/dist/pont2/theme.mjs.map +0 -1
- package/dist/pont2/with-legacy.css +0 -8
- package/dist/primitives/assets/icons/anchor.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/app-window.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/arrow-up-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrows.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/asterisk.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-x.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bell.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bookmark.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/brand-javascript.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/captions.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/carousel-arrow-left.d.ts +0 -1
- package/dist/primitives/assets/icons/carousel-arrow-right.d.ts +0 -1
- package/dist/primitives/assets/icons/chart.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chevron-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chorven-down.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-x.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/close.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/cloud.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/copy.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/corner-down-left.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/credit-card.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/decrease.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/dot.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/down.d.ts +0 -1
- package/dist/primitives/assets/icons/external-link.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-off.d.ts +0 -1
- package/dist/primitives/assets/icons/eye-off.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-on.d.ts +0 -1
- package/dist/primitives/assets/icons/file-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/folder-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-plus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/help-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/house.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/inbox.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/index.d.ts +0 -67
- package/dist/primitives/assets/icons/info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/loader-circle.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail-warning.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/plus.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/rabbit.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/radio-group.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/radio.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/refresh-ccw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/refresh-cw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/search.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/settings.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shield-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shopping-bag.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/star.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/tick.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/up-down.d.ts +0 -1
- package/dist/primitives/assets/icons/up.d.ts +0 -1
- package/dist/primitives/assets/icons/wand.icon.d.ts +0 -2
- package/dist/primitives/components/index.d.ts +0 -1
- package/dist/primitives/components/ui/accordion/accordion-content.d.ts +0 -20
- package/dist/primitives/components/ui/accordion/accordion-item.d.ts +0 -21
- package/dist/primitives/components/ui/accordion/accordion-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/accordion/accordion.d.ts +0 -25
- package/dist/primitives/components/ui/accordion/accordion.defs.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.stories.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.styles.d.ts +0 -4
- package/dist/primitives/components/ui/alert/_alert-action.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-description.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-title.d.ts +0 -20
- package/dist/primitives/components/ui/alert/_alert.d.ts +0 -25
- package/dist/primitives/components/ui/alert/alert.d.ts +0 -16
- package/dist/primitives/components/ui/alert/alert.defs.d.ts +0 -4
- package/dist/primitives/components/ui/alert/alert.stories.d.ts +0 -12
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -16
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -4
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +0 -4
- package/dist/primitives/components/ui/avatar/_avatar-badge.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-fallback.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group-count.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-image.d.ts +0 -28
- package/dist/primitives/components/ui/avatar/_avatar.d.ts +0 -65
- package/dist/primitives/components/ui/avatar/avatar.d.ts +0 -20
- package/dist/primitives/components/ui/avatar/avatar.defs.d.ts +0 -8
- package/dist/primitives/components/ui/avatar/avatar.stories.d.ts +0 -13
- package/dist/primitives/components/ui/badge/_badge.d.ts +0 -43
- package/dist/primitives/components/ui/badge/badge.d.ts +0 -10
- package/dist/primitives/components/ui/badge/badge.defs.d.ts +0 -8
- package/dist/primitives/components/ui/badge/badge.stories.d.ts +0 -10
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -15
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.d.ts +0 -21
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -4
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.styles.d.ts +0 -4
- package/dist/primitives/components/ui/button/_button.d.ts +0 -62
- package/dist/primitives/components/ui/button/button.d.ts +0 -10
- package/dist/primitives/components/ui/button/button.defs.d.ts +0 -14
- package/dist/primitives/components/ui/button/button.stories.d.ts +0 -13
- package/dist/primitives/components/ui/calendar/calendar.d.ts +0 -24
- package/dist/primitives/components/ui/calendar/calendar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/calendar/calendar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/calendar/calendar.style.d.ts +0 -38
- package/dist/primitives/components/ui/card/_card-action.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-content.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card-description.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-footer.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-header.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-title.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card.d.ts +0 -25
- package/dist/primitives/components/ui/card/card.d.ts +0 -22
- package/dist/primitives/components/ui/card/card.defs.d.ts +0 -10
- package/dist/primitives/components/ui/card/card.stories.d.ts +0 -11
- package/dist/primitives/components/ui/carousel/carousel.d.ts +0 -24
- package/dist/primitives/components/ui/carousel/carousel.stories.d.ts +0 -6
- package/dist/primitives/components/ui/carousel/carousel.styles.d.ts +0 -32
- package/dist/primitives/components/ui/checkbox/_checkbox.d.ts +0 -92
- package/dist/primitives/components/ui/checkbox/checkbox.d.ts +0 -10
- package/dist/primitives/components/ui/checkbox/checkbox.defs.d.ts +0 -11
- package/dist/primitives/components/ui/checkbox/checkbox.stories.d.ts +0 -13
- package/dist/primitives/components/ui/collapsible/collapsible-content.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible.d.ts +0 -23
- package/dist/primitives/components/ui/collapsible/collapsible.stories.d.ts +0 -5
- package/dist/primitives/components/ui/combobox/combo-box-empty.d.ts +0 -14
- package/dist/primitives/components/ui/combobox/combo-box-group.d.ts +0 -37
- package/dist/primitives/components/ui/combobox/combo-box-input.d.ts +0 -17
- package/dist/primitives/components/ui/combobox/combo-box-item.d.ts +0 -25
- package/dist/primitives/components/ui/combobox/combo-box-trigger.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box-value.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box.d.ts +0 -35
- package/dist/primitives/components/ui/combobox/combo-box.stories.d.ts +0 -10
- package/dist/primitives/components/ui/combobox/combo-box.styles.d.ts +0 -14
- package/dist/primitives/components/ui/command/command-empty.atom.d.ts +0 -18
- package/dist/primitives/components/ui/command/command-group.atom.d.ts +0 -19
- package/dist/primitives/components/ui/command/command-input.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-item.atom.d.ts +0 -24
- package/dist/primitives/components/ui/command/command-list.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-separator.atom.d.ts +0 -14
- package/dist/primitives/components/ui/command/command.d.ts +0 -22
- package/dist/primitives/components/ui/command/command.helpers.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.stories.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.styles.d.ts +0 -15
- package/dist/primitives/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-content.d.ts +0 -14
- package/dist/primitives/components/ui/context-menu/context-menu-group.d.ts +0 -10
- package/dist/primitives/components/ui/context-menu/context-menu-item.d.ts +0 -13
- package/dist/primitives/components/ui/context-menu/context-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-seperator.d.ts +0 -6
- package/dist/primitives/components/ui/context-menu/context-menu-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/context-menu/context-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/context-menu/context-menu.d.ts +0 -40
- package/dist/primitives/components/ui/context-menu/context-menu.helpers.d.ts +0 -1
- package/dist/primitives/components/ui/context-menu/context-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/context-menu/contextMenu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/data-table/data-table.d.ts +0 -102
- package/dist/primitives/components/ui/data-table/data-table.stories.d.ts +0 -6
- package/dist/primitives/components/ui/data-table/index.d.ts +0 -7
- package/dist/primitives/components/ui/date-picker/date-picker.d.ts +0 -12
- package/dist/primitives/components/ui/date-picker/date-picker.stories.d.ts +0 -4
- package/dist/primitives/components/ui/date-picker/date-picker.styles.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-close.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-content.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-footer.d.ts +0 -9
- package/dist/primitives/components/ui/dialog/dialog-header.d.ts +0 -7
- package/dist/primitives/components/ui/dialog/dialog-overly.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/dialog/dialog.d.ts +0 -30
- package/dist/primitives/components/ui/dialog/dialog.stories.d.ts +0 -6
- package/dist/primitives/components/ui/dialog/dialog.styles.d.ts +0 -17
- package/dist/primitives/components/ui/drawer/drawer-close.d.ts +0 -15
- package/dist/primitives/components/ui/drawer/drawer-content.d.ts +0 -14
- package/dist/primitives/components/ui/drawer/drawer-description.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-footer.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-header.d.ts +0 -8
- package/dist/primitives/components/ui/drawer/drawer-overlay.d.ts +0 -5
- package/dist/primitives/components/ui/drawer/drawer-title.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/drawer/drawer.d.ts +0 -40
- package/dist/primitives/components/ui/drawer/drawer.helpers.d.ts +0 -2
- package/dist/primitives/components/ui/drawer/drawer.stories.d.ts +0 -4
- package/dist/primitives/components/ui/drawer/drawer.styles.d.ts +0 -14
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -18
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -11
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -40
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -8
- package/dist/primitives/components/ui/empty/_empty-content.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-description.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-header.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-media.d.ts +0 -29
- package/dist/primitives/components/ui/empty/_empty-title.d.ts +0 -22
- package/dist/primitives/components/ui/empty/_empty.d.ts +0 -28
- package/dist/primitives/components/ui/empty/empty.d.ts +0 -20
- package/dist/primitives/components/ui/empty/empty.defs.d.ts +0 -7
- package/dist/primitives/components/ui/empty/empty.stories.d.ts +0 -10
- package/dist/primitives/components/ui/field/_field-content.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-description.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-error.d.ts +0 -25
- package/dist/primitives/components/ui/field/_field-group.d.ts +0 -28
- package/dist/primitives/components/ui/field/_field-label.d.ts +0 -27
- package/dist/primitives/components/ui/field/_field-legend.d.ts +0 -30
- package/dist/primitives/components/ui/field/_field-separator.d.ts +0 -42
- package/dist/primitives/components/ui/field/_field-set.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field-title.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field.d.ts +0 -36
- package/dist/primitives/components/ui/field/field.d.ts +0 -29
- package/dist/primitives/components/ui/field/field.defs.d.ts +0 -23
- package/dist/primitives/components/ui/field/field.stories.d.ts +0 -16
- package/dist/primitives/components/ui/form/form-context.d.ts +0 -4
- package/dist/primitives/components/ui/form/form-controller.d.ts +0 -28
- package/dist/primitives/components/ui/form/form-field-context.d.ts +0 -3
- package/dist/primitives/components/ui/form/form-item-context.d.ts +0 -7
- package/dist/primitives/components/ui/form/form.stories.d.ts +0 -5
- package/dist/primitives/components/ui/form/form.styles.d.ts +0 -7
- package/dist/primitives/components/ui/form/pont-form-controller.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-description.d.ts +0 -13
- package/dist/primitives/components/ui/form/pont-form-field.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-item.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-label.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-message.d.ts +0 -17
- package/dist/primitives/components/ui/form/pont-form.d.ts +0 -23
- package/dist/primitives/components/ui/hoverCard/hover-card-content.d.ts +0 -15
- package/dist/primitives/components/ui/hoverCard/hover-card-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/hoverCard/hover-card.d.ts +0 -28
- package/dist/primitives/components/ui/hoverCard/hover-card.stories.d.ts +0 -4
- package/dist/primitives/components/ui/hoverCard/hover-card.styles.d.ts +0 -5
- package/dist/primitives/components/ui/index.d.ts +0 -50
- package/dist/primitives/components/ui/input/_input.d.ts +0 -163
- package/dist/primitives/components/ui/input/input.d.ts +0 -11
- package/dist/primitives/components/ui/input/input.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input/input.stories.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/_input-group-addon.d.ts +0 -32
- package/dist/primitives/components/ui/input-group/_input-group-button.d.ts +0 -59
- package/dist/primitives/components/ui/input-group/_input-group-input.d.ts +0 -140
- package/dist/primitives/components/ui/input-group/_input-group-text.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/_input-group-textarea.d.ts +0 -114
- package/dist/primitives/components/ui/input-group/_input-group.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/input-group.d.ts +0 -20
- package/dist/primitives/components/ui/input-group/input-group.defs.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/input-group.stories.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-group.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-separator.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-slot.d.ts +0 -29
- package/dist/primitives/components/ui/input-otp/_input-otp.d.ts +0 -192
- package/dist/primitives/components/ui/input-otp/input-otp.d.ts +0 -16
- package/dist/primitives/components/ui/input-otp/input-otp.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input-otp/input-otp.stories.d.ts +0 -12
- package/dist/primitives/components/ui/item/_item-actions.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-content.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-description.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-footer.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-group.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-header.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-media.d.ts +0 -28
- package/dist/primitives/components/ui/item/_item-separator.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-title.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item.d.ts +0 -42
- package/dist/primitives/components/ui/item/item.d.ts +0 -29
- package/dist/primitives/components/ui/item/item.defs.d.ts +0 -13
- package/dist/primitives/components/ui/item/item.stories.d.ts +0 -13
- package/dist/primitives/components/ui/kbd/_kbd-group.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/_kbd.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/kbd.d.ts +0 -12
- package/dist/primitives/components/ui/kbd/kbd.stories.d.ts +0 -8
- package/dist/primitives/components/ui/label/_label.d.ts +0 -26
- package/dist/primitives/components/ui/label/label.d.ts +0 -10
- package/dist/primitives/components/ui/label/label.defs.d.ts +0 -3
- package/dist/primitives/components/ui/label/label.stories.d.ts +0 -10
- package/dist/primitives/components/ui/menubar/menubar-checkbox.item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-content.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-group.d.ts +0 -14
- package/dist/primitives/components/ui/menubar/menubar-item.d.ts +0 -17
- package/dist/primitives/components/ui/menubar/menubar-menu.d.ts +0 -30
- package/dist/primitives/components/ui/menubar/menubar-radio-item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-separator.d.ts +0 -13
- package/dist/primitives/components/ui/menubar/menubar-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar.d.ts +0 -33
- package/dist/primitives/components/ui/menubar/menubar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/menubar/menubar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/menubar/menubar.styles.d.ts +0 -21
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -19
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -23
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -8
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.d.ts +0 -24
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.styles.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-content.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-ellipsis.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-item.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-link.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-next.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-previous.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination.d.ts +0 -26
- package/dist/primitives/components/ui/pagination/pagination.stories.d.ts +0 -4
- package/dist/primitives/components/ui/pagination/pagination.styles.d.ts +0 -18
- package/dist/primitives/components/ui/pagination/pagination.type.d.ts +0 -2
- package/dist/primitives/components/ui/password-input/_password-input.d.ts +0 -122
- package/dist/primitives/components/ui/password-input/password-input.d.ts +0 -10
- package/dist/primitives/components/ui/password-input/password-input.defs.d.ts +0 -3
- package/dist/primitives/components/ui/password-input/password-input.stories.d.ts +0 -8
- package/dist/primitives/components/ui/popover/popover-content.d.ts +0 -18
- package/dist/primitives/components/ui/popover/popover-trigger.d.ts +0 -12
- package/dist/primitives/components/ui/popover/popover.d.ts +0 -21
- package/dist/primitives/components/ui/popover/popover.stories.d.ts +0 -4
- package/dist/primitives/components/ui/popover/popover.style.d.ts +0 -5
- package/dist/primitives/components/ui/popover/popover.types.d.ts +0 -2
- package/dist/primitives/components/ui/progress/progress.d.ts +0 -11
- package/dist/primitives/components/ui/progress/progress.stories.d.ts +0 -4
- package/dist/primitives/components/ui/progress/progress.styles.d.ts +0 -4
- package/dist/primitives/components/ui/radio-group/_radio-group-item.d.ts +0 -98
- package/dist/primitives/components/ui/radio-group/_radio-group.d.ts +0 -184
- package/dist/primitives/components/ui/radio-group/radio-group.d.ts +0 -13
- package/dist/primitives/components/ui/radio-group/radio-group.defs.d.ts +0 -18
- package/dist/primitives/components/ui/radio-group/radio-group.stories.d.ts +0 -13
- package/dist/primitives/components/ui/scroll-area/scroll-area.d.ts +0 -12
- package/dist/primitives/components/ui/scroll-area/scroll-area.stories.d.ts +0 -4
- package/dist/primitives/components/ui/scroll-area/scroll-area.style.d.ts +0 -1
- package/dist/primitives/components/ui/select/index.d.ts +0 -25
- package/dist/primitives/components/ui/select/select-controller.d.ts +0 -16
- package/dist/primitives/components/ui/select/select-group.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-item.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-label.d.ts +0 -13
- package/dist/primitives/components/ui/select/select-list.d.ts +0 -10
- package/dist/primitives/components/ui/select/select-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/select/select-trigger.d.ts +0 -35
- package/dist/primitives/components/ui/select/select-value.d.ts +0 -13
- package/dist/primitives/components/ui/select/select.d.ts +0 -18
- package/dist/primitives/components/ui/select/select.stories.d.ts +0 -10
- package/dist/primitives/components/ui/select/select.styles.d.ts +0 -20
- package/dist/primitives/components/ui/separator/_separator.d.ts +0 -21
- package/dist/primitives/components/ui/separator/separator.d.ts +0 -10
- package/dist/primitives/components/ui/separator/separator.defs.d.ts +0 -5
- package/dist/primitives/components/ui/separator/separator.stories.d.ts +0 -9
- package/dist/primitives/components/ui/skeleton/skeleton.d.ts +0 -10
- package/dist/primitives/components/ui/skeleton/skeleton.stories.d.ts +0 -4
- package/dist/primitives/components/ui/skeleton/skeleton.style.d.ts +0 -1
- package/dist/primitives/components/ui/spinner/_spinner.d.ts +0 -18
- package/dist/primitives/components/ui/spinner/spinner.d.ts +0 -10
- package/dist/primitives/components/ui/spinner/spinner.defs.d.ts +0 -15
- package/dist/primitives/components/ui/spinner/spinner.stories.d.ts +0 -11
- package/dist/primitives/components/ui/switch/_switch.d.ts +0 -146
- package/dist/primitives/components/ui/switch/switch.d.ts +0 -10
- package/dist/primitives/components/ui/switch/switch.defs.d.ts +0 -13
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +0 -12
- package/dist/primitives/components/ui/table/table.d.ts +0 -17
- package/dist/primitives/components/ui/table/table.stories.d.ts +0 -4
- package/dist/primitives/components/ui/table/table.styles.d.ts +0 -39
- package/dist/primitives/components/ui/tabs/_tabs-content.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-list.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-trigger.d.ts +0 -46
- package/dist/primitives/components/ui/tabs/_tabs.d.ts +0 -28
- package/dist/primitives/components/ui/tabs/tabs.d.ts +0 -17
- package/dist/primitives/components/ui/tabs/tabs.defs.d.ts +0 -22
- package/dist/primitives/components/ui/tabs/tabs.helpers.d.ts +0 -24
- package/dist/primitives/components/ui/tabs/tabs.stories.d.ts +0 -13
- package/dist/primitives/components/ui/textarea/_textarea.d.ts +0 -131
- package/dist/primitives/components/ui/textarea/textarea.d.ts +0 -10
- package/dist/primitives/components/ui/textarea/textarea.defs.d.ts +0 -23
- package/dist/primitives/components/ui/textarea/textarea.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast-action.d.ts +0 -26
- package/dist/primitives/components/ui/toast/toast-description.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-title.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/toast/toast-view-port.d.ts +0 -23
- package/dist/primitives/components/ui/toast/toast.d.ts +0 -24
- package/dist/primitives/components/ui/toast/toast.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast.style.d.ts +0 -19
- package/dist/primitives/components/ui/toast/toast.type.d.ts +0 -1
- package/dist/primitives/components/ui/toggle/toggle.d.ts +0 -28
- package/dist/primitives/components/ui/toggle/toggle.defs.d.ts +0 -27
- package/dist/primitives/components/ui/toggle/toggle.stories.d.ts +0 -5
- package/dist/primitives/components/ui/toggle/toggle.style.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group-item.d.ts +0 -42
- package/dist/primitives/components/ui/toggle-group/toggle-group.d.ts +0 -24
- package/dist/primitives/components/ui/toggle-group/toggle-group.defs.d.ts +0 -37
- package/dist/primitives/components/ui/toggle-group/toggle-group.stories.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group.style.d.ts +0 -5
- package/dist/primitives/components/ui/typography/_typography-blockquote.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-code.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-h.d.ts +0 -27
- package/dist/primitives/components/ui/typography/_typography-large.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-lead.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-list.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-muted.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-p.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-small.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-table.d.ts +0 -13
- package/dist/primitives/components/ui/typography/typography.d.ts +0 -28
- package/dist/primitives/components/ui/typography/typography.defs.d.ts +0 -4
- package/dist/primitives/components/ui/typography/typography.stories.d.ts +0 -18
- package/dist/primitives/helpers/base-element.d.ts +0 -20
- package/dist/primitives/helpers/country-codes.d.ts +0 -5
- package/dist/primitives/helpers/genrate-uuid.helper.d.ts +0 -1
- package/dist/primitives/helpers/index.d.ts +0 -7
- package/dist/primitives/helpers/mouse-conroller.helper.d.ts +0 -14
- package/dist/primitives/helpers/shadow-wrapper.d.ts +0 -7
- package/dist/primitives/helpers/style.helpers.d.ts +0 -2
- package/dist/primitives/helpers/widget-controller.d.ts +0 -12
- package/dist/primitives/index.d.ts +0 -1
- package/dist/primitives/interfaces/atomic.interface.d.ts +0 -6
- package/dist/primitives/interfaces/child-support-atomic.interface.d.ts +0 -4
- package/dist/primitives/interfaces/index.d.ts +0 -4
- package/dist/primitives/interfaces/intractable.interface.d.ts +0 -6
- package/dist/primitives/interfaces/variant.interface.d.ts +0 -3
- package/dist/service/http/fetch.d.ts +0 -21
- package/dist/service/http/index.d.ts +0 -3
- package/dist/service/http/organization/assignable-roles.d.ts +0 -8
- package/dist/service/http/organization/index.d.ts +0 -4
- package/dist/service/http/organization/invitations.d.ts +0 -5
- package/dist/service/http/organization/management-token.d.ts +0 -13
- package/dist/service/http/organization/members.d.ts +0 -6
- package/dist/service/http/user/index.d.ts +0 -9
- package/dist/service/http/user/organizations.d.ts +0 -16
- package/dist/service/index.d.ts +0 -1
- package/dist/stories/preview.stories.d.ts +0 -5
- package/dist/tokens/tailwind/animation.d.ts +0 -7
- package/dist/tokens/tailwind/border-radius.d.ts +0 -45
- package/dist/tokens/tailwind/border-width.d.ts +0 -22
- package/dist/tokens/tailwind/box-shadow.d.ts +0 -12
- package/dist/tokens/tailwind/color.d.ts +0 -193
- package/dist/tokens/tailwind/font-size.d.ts +0 -89
- package/dist/tokens/tailwind/font-weight.d.ts +0 -26
- package/dist/tokens/tailwind/index.d.ts +0 -760
- package/dist/tokens/tailwind/keyframes.d.ts +0 -41
- package/dist/tokens/tailwind/opacity.d.ts +0 -28
- package/dist/tokens/tailwind/ring-offset-width.d.ts +0 -6
- package/dist/tokens/tailwind/ring-width.d.ts +0 -11
- package/dist/tokens/tailwind/spacing.d.ts +0 -264
- package/dist/tokens/tailwind/transition-duration.d.ts +0 -5
- package/dist/tokens/tailwind/transition-timing-function.d.ts +0 -4
- package/dist/tokens/tailwind/translate.d.ts +0 -5
- package/dist/types/auth.d.ts +0 -2
- package/dist/types/common/index.d.ts +0 -15
- package/dist/types/components/index.d.ts +0 -3
- package/dist/types/components/pont-primitives.d.ts +0 -7
- package/dist/types/components/pont-widgets.d.ts +0 -1
- package/dist/types/components/user-profile.d.ts +0 -33
- package/dist/types/core/index.d.ts +0 -61
- package/dist/types/index.d.ts +0 -7
- package/dist/types/layout/index.d.ts +0 -256
- package/dist/types/service/http/common/index.d.ts +0 -6
- package/dist/types/service/http/index.d.ts +0 -5
- package/dist/types/service/http/invitation/index.d.ts +0 -47
- package/dist/types/service/http/member/index.d.ts +0 -43
- package/dist/types/service/http/roles/index.d.ts +0 -19
- package/dist/types/service/http/user/index.d.ts +0 -40
- package/dist/types/service/index.d.ts +0 -1
- package/dist/types/styles/index.d.ts +0 -72
- package/dist/utils/components.d.ts +0 -24
- package/dist/utils/flow-error.d.ts +0 -25
- package/dist/utils/format.d.ts +0 -52
- package/dist/utils/html-base64.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -8
- package/dist/utils/instance-unavailable.d.ts +0 -19
- package/dist/utils/login-hint.d.ts +0 -12
- package/dist/utils/post-auth-destination.d.ts +0 -26
- package/dist/utils/storybook.d.ts +0 -1
- package/dist/utils/styles.d.ts +0 -21
- package/dist/utils/svg-base64.d.ts +0 -2
- package/dist/utils/tailwind.d.ts +0 -7
- package/dist/utils/tokens.d.ts +0 -1
- /package/dist/{pont2/core → core}/attrs.d.ts +0 -0
- /package/dist/{pont2/core → core}/context-root.d.ts +0 -0
- /package/dist/{pont2/core → core}/controllers/roving-focus.d.ts +0 -0
- /package/dist/{pont2/core → core}/form-control.d.ts +0 -0
- /package/dist/{pont2/core → core}/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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
2
|
/**
|
|
3
|
-
* # The action protocol: `
|
|
3
|
+
* # The action protocol: `pont-action` + `respondWith()`
|
|
4
4
|
*
|
|
5
5
|
* Some elements start asynchronous work they must not own: a sign-in button
|
|
6
6
|
* starts a login-flow step, but the network call, the session and the next
|
|
@@ -8,11 +8,11 @@ import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
|
8
8
|
* The element asks; an ancestor answers.
|
|
9
9
|
*
|
|
10
10
|
* ```
|
|
11
|
-
* element ──
|
|
11
|
+
* element ── pont-action { action, data, respondWith } ──▶ ancestor (bubbles, composed)
|
|
12
12
|
* ancestor calls detail.respondWith(promise)
|
|
13
13
|
* element: busy until the promise settles
|
|
14
|
-
* element ──
|
|
15
|
-
* or
|
|
14
|
+
* element ── pont-action-success { action, data, result } ──▶
|
|
15
|
+
* or pont-action-error { action, data, error, message } ──▶
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
18
|
* `respondWith()` must be called **synchronously, inside the listener** (as in
|
|
@@ -23,7 +23,7 @@ import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
|
23
23
|
* would lose it.
|
|
24
24
|
*
|
|
25
25
|
* ```ts
|
|
26
|
-
* widget.addEventListener("
|
|
26
|
+
* widget.addEventListener("pont-action", e => {
|
|
27
27
|
* if (e.detail.action) e.detail.respondWith(Auth.processLoginflowEvent({ event: e.detail.action }));
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
@@ -32,7 +32,7 @@ import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
|
32
32
|
* notification (the legacy kit's `<tag>:click`), and an element may then fall
|
|
33
33
|
* back to native behaviour (a submit button lets its form submit).
|
|
34
34
|
*
|
|
35
|
-
* Why an event and not an import:
|
|
35
|
+
* Why an event and not an import: pont depends on no auth client, any
|
|
36
36
|
* framework can answer a DOM event, Storybook and tests answer with a fake,
|
|
37
37
|
* and the element never needs to know who is listening (docs/kit/auth-button.md).
|
|
38
38
|
*/
|
|
@@ -62,7 +62,7 @@ export declare class ActionController implements ReactiveController {
|
|
|
62
62
|
constructor(host: ReactiveControllerHost & HTMLElement);
|
|
63
63
|
hostConnected(): void;
|
|
64
64
|
/**
|
|
65
|
-
* Fires `
|
|
65
|
+
* Fires `pont-action` from the host. Returns `true` if a listener called
|
|
66
66
|
* `respondWith()` (the element is now busy), `false` otherwise or when
|
|
67
67
|
* already busy (one request at a time).
|
|
68
68
|
*/
|
|
@@ -72,8 +72,8 @@ export declare class ActionController implements ReactiveController {
|
|
|
72
72
|
}
|
|
73
73
|
declare global {
|
|
74
74
|
interface HTMLElementEventMap {
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
75
|
+
"pont-action": CustomEvent<ActionRequestDetail>;
|
|
76
|
+
"pont-action-success": CustomEvent<ActionSuccessDetail>;
|
|
77
|
+
"pont-action-error": CustomEvent<ActionErrorDetail>;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -11,7 +11,7 @@ export interface CopyErrorDetail {
|
|
|
11
11
|
* Copy-to-clipboard with transient "copied" feedback.
|
|
12
12
|
*
|
|
13
13
|
* `copy(text)` writes to the clipboard, sets `copied` for `duration` ms (the
|
|
14
|
-
* host re-renders), and fires `
|
|
14
|
+
* host re-renders), and fires `pont-copied` / `pont-copy-error`. The events
|
|
15
15
|
* deliberately carry no text: what gets copied here is secret (TOTP secrets,
|
|
16
16
|
* recovery codes), and events are observable by any script on the page.
|
|
17
17
|
*/
|
|
@@ -28,7 +28,7 @@ export declare class CopyController implements ReactiveController {
|
|
|
28
28
|
}
|
|
29
29
|
declare global {
|
|
30
30
|
interface HTMLElementEventMap {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
31
|
+
"pont-copied": CustomEvent<CopiedDetail>;
|
|
32
|
+
"pont-copy-error": CustomEvent<CopyErrorDetail>;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -10,11 +10,11 @@ import { ReactiveElement } from 'lit';
|
|
|
10
10
|
*
|
|
11
11
|
* In design mode an element renders a **representative example** of itself
|
|
12
12
|
* instead (pontive-spec 17 §1). It must not prune itself, inject real
|
|
13
|
-
* configuration, or substitute `{{placeholders}}` (
|
|
13
|
+
* configuration, or substitute `{{placeholders}}` (pont never does). Ported
|
|
14
14
|
* from the legacy `designModeContext` (migration tracker F-32).
|
|
15
15
|
*
|
|
16
|
-
* `
|
|
17
|
-
* widget builder drives it. Its key is `
|
|
16
|
+
* `pont-layout` provides it (`design-mode`), which is how the dashboard's
|
|
17
|
+
* widget builder drives it. Its key is `pont:design-mode`.
|
|
18
18
|
*
|
|
19
19
|
* Design mode is an authoring signal only: it never touches the branding
|
|
20
20
|
* entitlement (the watermark), which has no override at all.
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
* bubbling, exactly like native controls. The new value is read from the
|
|
7
7
|
* target (`e.target.checked`, `e.target.value`), so `@change=${…}` in Lit,
|
|
8
8
|
* `onChange` via @lit/react and `addEventListener("change")` all work.
|
|
9
|
-
* - Anything without a native equivalent is a `
|
|
9
|
+
* - Anything without a native equivalent is a `pont-<name>` CustomEvent with
|
|
10
10
|
* a typed `detail`, bubbling and composed. Base UI's `onOpenChange(open,
|
|
11
|
-
* details)` becomes `
|
|
11
|
+
* details)` becomes `pont-open-change` with `{ open, reason }`; it is
|
|
12
12
|
* cancelable, and `preventDefault()` keeps the current state (Base UI's
|
|
13
13
|
* `eventDetails.cancel()`).
|
|
14
14
|
* - Events fire only for user-initiated changes, never for property writes,
|
|
15
15
|
* matching native controls (and Base UI's controlled props).
|
|
16
16
|
*/
|
|
17
17
|
export declare function fireNative(target: EventTarget, type: "input" | "change"): void;
|
|
18
|
-
export declare function fire<T>(target: EventTarget, type: `
|
|
18
|
+
export declare function fire<T>(target: EventTarget, type: `pont-${string}`, detail: T, cancelable?: boolean): boolean;
|
|
19
19
|
export type OpenChangeReason = "trigger-press" | "trigger-hover" | "trigger-focus" | "outside-press" | "escape-key" | "item-press" | "list-navigation" | "input-change" | "focus-out" | "close-press" | "imperative";
|
|
20
20
|
export interface OpenChangeDetail {
|
|
21
21
|
open: boolean;
|
|
@@ -23,6 +23,6 @@ export interface OpenChangeDetail {
|
|
|
23
23
|
}
|
|
24
24
|
declare global {
|
|
25
25
|
interface HTMLElementEventMap {
|
|
26
|
-
"
|
|
26
|
+
"pont-open-change": CustomEvent<OpenChangeDetail>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* # Dates and numbers in the page's language (tracker I-3, I-4; carry-over §3)
|
|
3
|
+
*
|
|
4
|
+
* The legacy `src/utils/format.ts`, done properly: every function formats with
|
|
5
|
+
* the language the page was last served in (`currentLocale()`, from the
|
|
6
|
+
* server's message set; the browser's own until then), and the relative day
|
|
7
|
+
* ("Today", "Yesterday") comes from `Intl.RelativeTimeFormat`, so it is in
|
|
8
|
+
* that language too instead of English. No message codes are needed.
|
|
9
|
+
*
|
|
10
|
+
* Every function takes the locale and "now" as options so it can be tested.
|
|
11
|
+
*/
|
|
12
|
+
/** What the management API sends for a moment: Unix seconds, Unix milliseconds, an ISO string, or a Date. */
|
|
13
|
+
export type DateInput = number | string | Date | null | undefined;
|
|
14
|
+
export interface FormatOptions {
|
|
15
|
+
/** BCP-47 tag (default `currentLocale()`, then the browser's). */
|
|
16
|
+
locale?: string;
|
|
17
|
+
/** For relative labels: the moment to compare with (default now). */
|
|
18
|
+
now?: Date;
|
|
19
|
+
/** Format in this time zone (default the browser's). For tests. */
|
|
20
|
+
timeZone?: string;
|
|
21
|
+
}
|
|
22
|
+
/** `value` as a valid Date, or `null` (missing, unparsable). */
|
|
23
|
+
export declare function toDate(value: DateInput): Date | null;
|
|
24
|
+
/** "Jan 15, 2024" (en), "15 janv. 2024" (fr): the medium date. Empty for no date. */
|
|
25
|
+
export declare function formatDate(value: DateInput, options?: FormatOptions): string;
|
|
26
|
+
/** "2:30 PM" (en-US), "14:30" (de): hours and minutes in the language's own clock. Empty for no date. */
|
|
27
|
+
export declare function formatTime(value: DateInput, options?: FormatOptions): string;
|
|
28
|
+
/** Date and time together ("Jan 15, 2024, 2:30 PM"), e.g. for a `title` tooltip. Empty for no date. */
|
|
29
|
+
export declare function formatDateTime(value: DateInput, options?: FormatOptions): string;
|
|
30
|
+
/** Whole calendar days from `now` to `date` (negative: in the past), in the browser's (or `timeZone`'s) days. */
|
|
31
|
+
export declare function calendarDaysBetween(date: Date, now: Date, timeZone?: string): number;
|
|
32
|
+
/**
|
|
33
|
+
* A day as people say it, relative to today, in the page's language:
|
|
34
|
+
*
|
|
35
|
+
* - the same day, the day before or after: `Intl.RelativeTimeFormat` with `numeric: "auto"`
|
|
36
|
+
* ("Today", "Yesterday", "Tomorrow"; "Aujourd’hui", "Hier", "Demain"), first letter capitalised;
|
|
37
|
+
* - two to six days either side: the weekday ("Monday", "lundi");
|
|
38
|
+
* - anything further: the medium date (`formatDate`).
|
|
39
|
+
*
|
|
40
|
+
* The legacy `formatRelativeDateLabel` returned English "Today" / "Yesterday" in every language,
|
|
41
|
+
* and treated a future day (an invitation's expiry) like a past one; both are fixed here (I-4).
|
|
42
|
+
* Empty for no date.
|
|
43
|
+
*/
|
|
44
|
+
export declare function formatRelativeDay(value: DateInput, options?: FormatOptions): string;
|
|
45
|
+
/** A number in the page's language ("1,234" / "1.234"). */
|
|
46
|
+
export declare function formatNumber(value: number, options?: Pick<FormatOptions, "locale">): string;
|
|
@@ -4,16 +4,16 @@ import { AttrMap } from './attrs';
|
|
|
4
4
|
/**
|
|
5
5
|
* # HostElement: the host is the component's root element
|
|
6
6
|
*
|
|
7
|
-
* The base class of every
|
|
7
|
+
* The base class of every pont element. A shadcn component is a function
|
|
8
8
|
* that returns its root element and then disappears. A custom element cannot
|
|
9
|
-
* disappear, so in
|
|
9
|
+
* disappear, so in pont **the host *is* the root**: `<pont-prim-separator>` is the
|
|
10
10
|
* separator, it does not render one.
|
|
11
11
|
*
|
|
12
12
|
* What a subclass gets:
|
|
13
13
|
*
|
|
14
14
|
* | Static / member | Does |
|
|
15
15
|
* |---------------------|----------------------------------------------------------------------|
|
|
16
|
-
* | `static identity` | Stamps `data-
|
|
16
|
+
* | `static identity` | Stamps `data-pont-<identity>`. Every class in the chain adds its own, so a subclass keeps its base's styles (`pont-prim-item-separator` carries `data-pont-separator` *and* `data-pont-item-separator`). |
|
|
17
17
|
* | `static slotName` | Stamps `data-slot` (shadcn's convention). Most-derived class wins. An author-written `data-slot` is never overwritten. |
|
|
18
18
|
* | `static role` | Default ARIA role through `ElementInternals`. An author's `role=""` attribute still wins. |
|
|
19
19
|
* | `internals` | `ElementInternals`: default ARIA, custom states, forms (see FormControlElement). |
|
|
@@ -27,7 +27,7 @@ import { AttrMap } from './attrs';
|
|
|
27
27
|
* wrote, left exactly where the author wrote them.
|
|
28
28
|
*/
|
|
29
29
|
export declare abstract class HostElement extends LitElement {
|
|
30
|
-
/** Style identity → `data-
|
|
30
|
+
/** Style identity → `data-pont-<identity>`. Inherited along the class chain. */
|
|
31
31
|
static identity?: string;
|
|
32
32
|
/** shadcn `data-slot` value. Most-derived wins; never overrides the author. */
|
|
33
33
|
static slotName?: string;
|
|
@@ -36,7 +36,7 @@ export declare abstract class HostElement extends LitElement {
|
|
|
36
36
|
/**
|
|
37
37
|
* `true` on kit composites (`src/kit/`): the element renders its entire
|
|
38
38
|
* subtree from properties, so author-written children are a mistake (use the
|
|
39
|
-
* `
|
|
39
|
+
* `pont-prim-*` form for custom content). Reported once in development.
|
|
40
40
|
*/
|
|
41
41
|
static composite: boolean;
|
|
42
42
|
/**
|
|
@@ -45,7 +45,7 @@ export declare abstract class HostElement extends LitElement {
|
|
|
45
45
|
*
|
|
46
46
|
* ```ts
|
|
47
47
|
* html`<div ${AlertTitle.part()}>${this.heading}</div>`
|
|
48
|
-
* // → <div data-
|
|
48
|
+
* // → <div data-pont-alert-title data-slot="alert-title">…</div>
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
51
|
* The result is styled by the element's recipe and found by `sel()` lookups,
|
|
@@ -88,7 +88,7 @@ export declare function identitiesOf(ctor: typeof HostElement): string[];
|
|
|
88
88
|
* faithfully by a custom element.
|
|
89
89
|
*
|
|
90
90
|
* For those, the host is a **transparent shell**: `display: contents`
|
|
91
|
-
* (`[data-
|
|
91
|
+
* (`[data-pont-shell]` in styles/base.css), no role, no styles, no box. It
|
|
92
92
|
* exists only so HTML authors have a tag. Everything styled or announced lives
|
|
93
93
|
* on the one native element inside it. Two nodes is the platform floor for
|
|
94
94
|
* native semantics, and composition never adds a third.
|
|
@@ -106,7 +106,7 @@ export declare abstract class ShellElement extends HostElement {
|
|
|
106
106
|
/**
|
|
107
107
|
* # NativeEnhancer: Tier 3 element form ("asChild")
|
|
108
108
|
*
|
|
109
|
-
* `<
|
|
109
|
+
* `<pont-prim-button variant="outline"><button>Save</button></pont-prim-button>`
|
|
110
110
|
*
|
|
111
111
|
* The author writes the native element; the shell applies the recipe to it
|
|
112
112
|
* (attributes only). The native node is never moved, wrapped or re-created,
|
|
@@ -30,5 +30,10 @@ export declare const icons: {
|
|
|
30
30
|
download: (a?: AttrMap) => TemplateResult<1>;
|
|
31
31
|
arrowRight: (a?: AttrMap) => TemplateResult<1>;
|
|
32
32
|
userRoundKey: (a?: AttrMap) => TemplateResult<1>;
|
|
33
|
+
plus: (a?: AttrMap) => TemplateResult<1>;
|
|
34
|
+
refreshCw: (a?: AttrMap) => TemplateResult<1>;
|
|
35
|
+
mail: (a?: AttrMap) => TemplateResult<1>;
|
|
36
|
+
shieldAlert: (a?: AttrMap) => TemplateResult<1>;
|
|
37
|
+
externalLink: (a?: AttrMap) => TemplateResult<1>;
|
|
33
38
|
};
|
|
34
39
|
export type IconName = keyof typeof icons;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** A document-unique id, e.g. `
|
|
1
|
+
/** A document-unique id, e.g. `pont-field-3`. Like React's `useId()`. */
|
|
2
2
|
export declare function uid(scope?: string): string;
|
|
3
3
|
/** Returns `el.id`, assigning a fresh `uid(scope)` first if it has none. */
|
|
4
4
|
export declare function ensureId(el: Element, scope?: string): string;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* # The kit's own words: a message table (decision D8 of the migration plan)
|
|
4
|
+
*
|
|
5
|
+
* Text no render spec carries, which a kit element writes itself: a connection
|
|
6
|
+
* error, "Start again", the password toggle's and the spinner's labels. The
|
|
7
|
+
* sign-in runtime sends it with every flow response, already in the flow's
|
|
8
|
+
* language and the instance's wording (branding-svc `pkg/message`, the codes
|
|
9
|
+
* marked Client; the SDK exposes them as `messages` on start results and flow
|
|
10
|
+
* events). Whatever receives a set calls `setMessages`, and every place that
|
|
11
|
+
* would write English reads `msg(code)` instead.
|
|
12
|
+
*
|
|
13
|
+
* English is the fallback. It is only needed before the page has heard from the
|
|
14
|
+
* server, for example when a flow fails to start because the network is down.
|
|
15
|
+
* Once a set has arrived it is kept, so a later failure that never reaches the
|
|
16
|
+
* server is still worded in the page's language.
|
|
17
|
+
*
|
|
18
|
+
* The table is **page-wide**, as in the legacy kit (`src/i18n/messages.ts`,
|
|
19
|
+
* ported, carry-over §2): every widget on a page speaks the same language, and
|
|
20
|
+
* a set one widget receives (or a stopped instance's refusal, §6) applies to all.
|
|
21
|
+
* Elements that render `msg()` add a `MessagesController`, so text that arrives
|
|
22
|
+
* after they first rendered reaches them.
|
|
23
|
+
*
|
|
24
|
+
* The account widgets' codes (carry-over §3) join this table as they are
|
|
25
|
+
* built (migration tracker I-2, W-7…W-10): the menu's and the switcher's are in.
|
|
26
|
+
*/
|
|
27
|
+
export declare const KIT_MESSAGES_EN: {
|
|
28
|
+
readonly connection_failed: "We couldn't reach the server. Check your connection and try again.";
|
|
29
|
+
readonly too_many_attempts: "Too many attempts. Try again later.";
|
|
30
|
+
readonly server_error: "Something went wrong on our side. Please try again.";
|
|
31
|
+
readonly instance_unavailable: "This app isn't available right now.";
|
|
32
|
+
readonly generic_error: "Something went wrong. Please try again.";
|
|
33
|
+
readonly flow_ended: "This sign-in could not be completed.";
|
|
34
|
+
readonly passkey_cancelled: "The passkey request was cancelled or timed out. Please try again.";
|
|
35
|
+
readonly start_again: "Start again";
|
|
36
|
+
readonly continued_elsewhere_title: "You continued in another tab";
|
|
37
|
+
readonly continued_elsewhere_subtitle: "You can close this one.";
|
|
38
|
+
readonly continue_here: "Continue here instead";
|
|
39
|
+
readonly show_password: "Show password";
|
|
40
|
+
readonly hide_password: "Hide password";
|
|
41
|
+
readonly loading: "Loading";
|
|
42
|
+
readonly action_close: "Close";
|
|
43
|
+
readonly action_remove: "Remove";
|
|
44
|
+
readonly notifications: "Notifications";
|
|
45
|
+
readonly pagination: "Pagination";
|
|
46
|
+
readonly pagination_previous: "Previous";
|
|
47
|
+
readonly pagination_next: "Next";
|
|
48
|
+
readonly pagination_previous_page: "Go to previous page";
|
|
49
|
+
readonly pagination_next_page: "Go to next page";
|
|
50
|
+
readonly pagination_more: "More pages";
|
|
51
|
+
readonly no_results: "No results.";
|
|
52
|
+
readonly actions_menu: "Actions";
|
|
53
|
+
readonly sort_ascending: "Sort ascending";
|
|
54
|
+
readonly sort_descending: "Sort descending";
|
|
55
|
+
readonly filter: "Filter";
|
|
56
|
+
readonly clear_filters: "Clear filters";
|
|
57
|
+
readonly invalid_emails: "Not valid email addresses:";
|
|
58
|
+
readonly email_limit_reached: "No more addresses can be added.";
|
|
59
|
+
readonly invite_emails_placeholder: "Type or paste email addresses";
|
|
60
|
+
readonly invite_emails_required: "Enter at least one email address.";
|
|
61
|
+
readonly search_roles: "Search roles";
|
|
62
|
+
readonly no_options: "Nothing found.";
|
|
63
|
+
readonly account_settings: "Account settings";
|
|
64
|
+
readonly log_out: "Log out";
|
|
65
|
+
readonly select_organization: "Select organization";
|
|
66
|
+
readonly organization_switch_failed: "You can't switch to that organization.";
|
|
67
|
+
readonly organization_switching: "Switching…";
|
|
68
|
+
readonly action_save: "Save";
|
|
69
|
+
readonly action_saving: "Saving";
|
|
70
|
+
readonly action_cancel: "Cancel";
|
|
71
|
+
readonly action_edit: "Edit";
|
|
72
|
+
readonly action_submit: "Submit";
|
|
73
|
+
readonly action_submitting: "Submitting";
|
|
74
|
+
readonly action_retry: "Try again";
|
|
75
|
+
readonly action_refresh: "Refresh";
|
|
76
|
+
readonly field_email: "Email";
|
|
77
|
+
readonly tab_profile: "Profile";
|
|
78
|
+
readonly tab_security: "Security";
|
|
79
|
+
readonly not_added: "Not added";
|
|
80
|
+
readonly field_phone: "Phone number";
|
|
81
|
+
readonly field_photo: "Photo";
|
|
82
|
+
readonly field_photo_url: "Photo URL";
|
|
83
|
+
readonly avatar_alt: "Avatar";
|
|
84
|
+
readonly change_photo: "Change photo";
|
|
85
|
+
readonly login_info: "Login info";
|
|
86
|
+
readonly personal_info: "Personal info";
|
|
87
|
+
readonly location_section: "Location";
|
|
88
|
+
readonly links_section: "Links";
|
|
89
|
+
readonly field_username: "Username";
|
|
90
|
+
readonly field_first_name: "First name";
|
|
91
|
+
readonly field_middle_name: "Middle name";
|
|
92
|
+
readonly field_last_name: "Last name";
|
|
93
|
+
readonly field_nickname: "Nickname";
|
|
94
|
+
readonly field_gender: "Gender";
|
|
95
|
+
readonly field_bio: "Bio";
|
|
96
|
+
readonly field_location: "Location";
|
|
97
|
+
readonly field_timezone: "Time zone";
|
|
98
|
+
readonly field_website: "Website";
|
|
99
|
+
readonly select_gender: "Select gender";
|
|
100
|
+
readonly gender_male: "Male";
|
|
101
|
+
readonly gender_female: "Female";
|
|
102
|
+
readonly gender_other: "Other";
|
|
103
|
+
readonly select_timezone: "Select a time zone";
|
|
104
|
+
readonly timezone_hint: "Choose a time zone from the list.";
|
|
105
|
+
readonly username_hint: "Use 3 to 30 characters: letters, numbers, dots, underscores or hyphens.";
|
|
106
|
+
readonly url_hint: "Enter a full URL, including https://";
|
|
107
|
+
readonly url_scheme_invalid: "Only http:// and https:// addresses are allowed.";
|
|
108
|
+
readonly photo_update_failed: "We couldn't update your photo. Please try again.";
|
|
109
|
+
readonly personal_update_failed: "We couldn't update your personal information. Please try again.";
|
|
110
|
+
readonly location_update_failed: "We couldn't update your location. Please try again.";
|
|
111
|
+
readonly website_update_failed: "We couldn't update your website. Please try again.";
|
|
112
|
+
readonly security_title: "Security settings";
|
|
113
|
+
readonly security_coming_soon: "Advanced security features are coming soon. Manage your passwords, two-factor authentication, active sessions and more in future updates.";
|
|
114
|
+
readonly profile_load_failed: "We couldn't load your profile. Please try again.";
|
|
115
|
+
readonly account_settings_unavailable: "Account settings aren't available in this app.";
|
|
116
|
+
readonly member_management_title: "Member management";
|
|
117
|
+
readonly member_management_subtitle: "Manage who belongs to this organization, their roles and invitations.";
|
|
118
|
+
readonly tab_members: "Members";
|
|
119
|
+
readonly tab_invitations: "Invitations";
|
|
120
|
+
readonly members_unavailable: "This app can't manage organization members.";
|
|
121
|
+
readonly members_forbidden: "You don't have permission to manage this organization's members.";
|
|
122
|
+
readonly members_load_failed: "We couldn't load this organization's members. Please try again.";
|
|
123
|
+
readonly members_no_organization: "Choose an organization to manage its members.";
|
|
124
|
+
readonly search_members: "Search members";
|
|
125
|
+
readonly search_invitations: "Search invitations";
|
|
126
|
+
readonly field_roles: "Roles";
|
|
127
|
+
readonly column_name: "Name";
|
|
128
|
+
readonly column_joined: "Joined";
|
|
129
|
+
readonly column_invited_by: "Invited by";
|
|
130
|
+
readonly column_sent: "Sent";
|
|
131
|
+
readonly column_expires: "Expires";
|
|
132
|
+
readonly members_empty: "No members found.";
|
|
133
|
+
readonly invitations_empty: "No pending invitations.";
|
|
134
|
+
readonly rows_per_page: "Rows per page";
|
|
135
|
+
readonly unknown_user: "Unknown user";
|
|
136
|
+
readonly manage_roles: "Manage roles";
|
|
137
|
+
readonly manage_roles_subtitle: "Choose the roles this member has in the organization.";
|
|
138
|
+
readonly roles_locked_hint: "Roles you can't assign or remove are locked.";
|
|
139
|
+
readonly roles_required: "Choose at least one role.";
|
|
140
|
+
readonly update_roles_failed: "We couldn't update this member's roles. Please try again.";
|
|
141
|
+
readonly self_role_change: "You can't change your own roles.";
|
|
142
|
+
readonly role_ceiling: "You can only assign or remove roles whose permissions you have yourself.";
|
|
143
|
+
readonly member_roles_changed: "This member's roles changed while you were editing. Review them and try again.";
|
|
144
|
+
readonly owner_transfer_required: "Only someone who can transfer ownership can give, change or remove the owner role.";
|
|
145
|
+
readonly leave_disabled: "This organization doesn't let members leave. Ask an administrator to remove you.";
|
|
146
|
+
readonly member_change_refused: "You can't make this change.";
|
|
147
|
+
readonly remove_member: "Remove member";
|
|
148
|
+
readonly remove_member_confirm: "Remove this member from the organization?";
|
|
149
|
+
readonly remove_member_warning: "They lose access to the organization immediately and need a new invitation to rejoin.";
|
|
150
|
+
readonly remove_member_failed: "We couldn't remove this member. Please try again.";
|
|
151
|
+
readonly resend_invitation: "Resend invitation";
|
|
152
|
+
readonly resend_invitation_confirm: "Send this invitation again?";
|
|
153
|
+
readonly resend_invitation_failed: "We couldn't resend this invitation. Please try again.";
|
|
154
|
+
readonly revoke_invitation: "Revoke invitation";
|
|
155
|
+
readonly revoke_invitation_confirm: "Revoke this invitation?";
|
|
156
|
+
readonly revoke_invitation_warning: "The invitation link stops working and can no longer be used to join.";
|
|
157
|
+
readonly revoke_invitation_failed: "We couldn't revoke this invitation. Please try again.";
|
|
158
|
+
readonly invite_members: "Invite members";
|
|
159
|
+
readonly invite_members_subtitle: "Invite people to this organization by email.";
|
|
160
|
+
readonly invite_emails_label: "Email addresses";
|
|
161
|
+
readonly invite_roles_hint: "The roles people will have when they join.";
|
|
162
|
+
readonly invite_message_label: "Personal message (optional)";
|
|
163
|
+
readonly invite_message_placeholder: "Add a note to the invitation email";
|
|
164
|
+
readonly send_invitations: "Send invitations";
|
|
165
|
+
readonly sending_invitations: "Sending";
|
|
166
|
+
readonly invite_failed: "We couldn't send the invitations. Please try again.";
|
|
167
|
+
readonly revoke_invitation_notify: "Email the invitee that the invitation was revoked";
|
|
168
|
+
};
|
|
169
|
+
export type KitMessageCode = keyof typeof KIT_MESSAGES_EN;
|
|
170
|
+
/**
|
|
171
|
+
* Records a set the server sent. Sets merge (a flow response and, later, the
|
|
172
|
+
* widget-messages read carry different codes for the same language). An empty or
|
|
173
|
+
* missing set changes nothing: a response without one says nothing about the
|
|
174
|
+
* language having changed.
|
|
175
|
+
*/
|
|
176
|
+
export declare function setMessages(messages?: Record<string, string> | null, locale?: string): void;
|
|
177
|
+
/**
|
|
178
|
+
* The text for a code in the language the page was last served in. A code
|
|
179
|
+
* outside the kit's table needs a `fallback`; without one, the code itself is
|
|
180
|
+
* returned (visible, rather than an empty string).
|
|
181
|
+
*/
|
|
182
|
+
export declare function msg(code: KitMessageCode): string;
|
|
183
|
+
export declare function msg(code: string, fallback: string): string;
|
|
184
|
+
/** The language the page was last served in, for formatting; undefined until the server has said. */
|
|
185
|
+
export declare function currentLocale(): string | undefined;
|
|
186
|
+
/** Calls `listener` whenever a set arrives. Returns the unsubscribe. */
|
|
187
|
+
export declare function onMessagesChanged(listener: () => void): () => void;
|
|
188
|
+
/** Forgets every set. For tests and stories. */
|
|
189
|
+
export declare function resetMessages(): void;
|
|
190
|
+
/** Re-renders its host whenever a set arrives. Add it to every element that renders `msg()`. */
|
|
191
|
+
export declare class MessagesController implements ReactiveController {
|
|
192
|
+
private readonly host;
|
|
193
|
+
private unsubscribe?;
|
|
194
|
+
constructor(host: ReactiveControllerHost);
|
|
195
|
+
hostConnected(): void;
|
|
196
|
+
hostDisconnected(): void;
|
|
197
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
2
|
+
* The pont namespace, in one place.
|
|
3
3
|
*
|
|
4
4
|
* | Thing | Form | Example |
|
|
5
5
|
* |------------------|-------------------------------|--------------------------------------|
|
|
6
|
-
* | primitive tag | `
|
|
7
|
-
* | kit tag | `
|
|
8
|
-
* | identity attr | `data-
|
|
6
|
+
* | primitive tag | `pont-prim-<name>` | `pont-prim-alert`, `pont-prim-alert-title` |
|
|
7
|
+
* | kit tag | `pont-<name>` | `pont-alert` (composite), `pont-button` (alias) |
|
|
8
|
+
* | identity attr | `data-pont-<identity>` | `data-pont-alert` (tier-neutral: "this is an alert") |
|
|
9
9
|
* | slot attr | `data-slot="<name>"` | `data-slot="item-separator"` (shadcn's own, unprefixed) |
|
|
10
10
|
* | state attrs | `data-<state>` | `data-checked`, `data-open` (Base UI's own, unprefixed) |
|
|
11
|
-
* | CSS custom prop | `--
|
|
12
|
-
* | cascade layer | `
|
|
13
|
-
* | custom event | `
|
|
11
|
+
* | CSS custom prop | `--pont-sem-<role>` … | `--pont-sem-color-primary` (docs/11-tokens.md) |
|
|
12
|
+
* | cascade layer | `pont.<layer>` | `pont.primitives`, `pont.kit` |
|
|
13
|
+
* | custom event | `pont-<name>` | `pont-open-change` |
|
|
14
14
|
*
|
|
15
15
|
* Two element surfaces share one namespace (docs/10-primitives-and-kit.md):
|
|
16
16
|
*
|
|
17
|
-
* - **primitives** `
|
|
18
|
-
* - **kit** `
|
|
17
|
+
* - **primitives** `pont-prim-*`: shadcn's components, one for one.
|
|
18
|
+
* - **kit** `pont-*`: what applications use. A kit element is either an
|
|
19
19
|
* *alias* of a primitive (same behaviour, second tag) or a *composite* (a
|
|
20
20
|
* subclass of a primitive that renders the primitive's children from
|
|
21
|
-
* properties). Invariant: **`
|
|
21
|
+
* properties). Invariant: **`pont-<name>` is always a `<name>` at its
|
|
22
22
|
* root**, which is what lets `sel()` / `tags()` match both surfaces at once.
|
|
23
23
|
*
|
|
24
24
|
* The identity attribute is tier-neutral on purpose: it says *what* an element
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
* shadcn's and Base UI's public styling contract, and keeping them verbatim
|
|
31
31
|
* is what lets shadcn styles port across mechanically.
|
|
32
32
|
*/
|
|
33
|
-
export declare const PREFIX = "
|
|
33
|
+
export declare const PREFIX = "pont";
|
|
34
34
|
/** Tag segment that marks the primitive surface. */
|
|
35
35
|
export declare const PRIM = "prim";
|
|
36
|
-
/** Kit tag: `tag("alert")` → `
|
|
37
|
-
export declare const tag: (name: string) => `
|
|
38
|
-
/** Primitive tag: `primTag("alert")` → `
|
|
39
|
-
export declare const primTag: (name: string) => `
|
|
40
|
-
export declare const identityAttr: (identity: string) => `data-
|
|
36
|
+
/** Kit tag: `tag("alert")` → `pont-alert`. */
|
|
37
|
+
export declare const tag: (name: string) => `pont-${string}`;
|
|
38
|
+
/** Primitive tag: `primTag("alert")` → `pont-prim-alert`. */
|
|
39
|
+
export declare const primTag: (name: string) => `pont-prim-${string}`;
|
|
40
|
+
export declare const identityAttr: (identity: string) => `data-pont-${string}`;
|
|
41
41
|
/**
|
|
42
42
|
* Selector for every element that *is* a `<name>`: its primitive tag, its kit
|
|
43
43
|
* tag (an alias or a composite, which by the kit invariant has that root) and
|
|
44
44
|
* its identity attribute (upgraded elements, parts rendered by composites,
|
|
45
45
|
* hand-written recipe markup).
|
|
46
46
|
*
|
|
47
|
-
* `sel("alert")` → `:is(
|
|
47
|
+
* `sel("alert")` → `:is(pont-prim-alert, pont-alert, [data-pont-alert])`
|
|
48
48
|
*
|
|
49
49
|
* Use it for every structural lookup (`closest`, `querySelector`), so a
|
|
50
50
|
* component works whichever surface its parts were written with.
|
|
@@ -52,17 +52,17 @@ export declare const identityAttr: (identity: string) => `data-pont2-${string}`;
|
|
|
52
52
|
* native child, so look shells up with `tags()`.
|
|
53
53
|
*/
|
|
54
54
|
export declare const sel: (name: string) => string;
|
|
55
|
-
/** The element tags only, on both surfaces: `:is(
|
|
55
|
+
/** The element tags only, on both surfaces: `:is(pont-prim-x, pont-x)`. Use for shells. */
|
|
56
56
|
export declare const tags: (name: string) => string;
|
|
57
57
|
/**
|
|
58
58
|
* Registers an element once. Re-registration (HMR, a second bundle copy) is a
|
|
59
59
|
* no-op rather than a thrown DOMException, but a *different* class under the
|
|
60
|
-
* same tag is reported, because that means two copies of
|
|
60
|
+
* same tag is reported, because that means two copies of pont are loaded.
|
|
61
61
|
*/
|
|
62
62
|
export declare function define(name: string, ctor: CustomElementConstructor): void;
|
|
63
63
|
/**
|
|
64
|
-
* Promotes a primitive to the kit surface unchanged: `
|
|
65
|
-
* second tag for `
|
|
64
|
+
* Promotes a primitive to the kit surface unchanged: `pont-<name>` becomes a
|
|
65
|
+
* second tag for `pont-prim-<name>`.
|
|
66
66
|
*
|
|
67
67
|
* The platform forbids registering one constructor under two names, so the
|
|
68
68
|
* alias is an empty subclass. It inherits everything (identity, slot, role,
|
|
@@ -70,9 +70,9 @@ export declare function define(name: string, ctor: CustomElementConstructor): vo
|
|
|
70
70
|
* exactly like the primitive, and `instanceof` the primitive class holds.
|
|
71
71
|
*
|
|
72
72
|
* ```ts
|
|
73
|
-
* defineAlias("
|
|
73
|
+
* defineAlias("pont-button", PontButton); // <pont-prim-button> → also <pont-button>
|
|
74
74
|
* ```
|
|
75
75
|
*
|
|
76
76
|
* Returns the alias constructor.
|
|
77
77
|
*/
|
|
78
|
-
export declare function defineAlias<T extends CustomElementConstructor>(kitTag: `
|
|
78
|
+
export declare function defineAlias<T extends CustomElementConstructor>(kitTag: `pont-${string}`, base: T): T;
|
|
@@ -14,17 +14,17 @@ export interface AnchoredOptions {
|
|
|
14
14
|
*
|
|
15
15
|
* It only *writes CSS custom properties and data attributes* on the floating
|
|
16
16
|
* element; the stylesheet turns them into `left`/`top`. Base UI's variables
|
|
17
|
-
* are written under
|
|
17
|
+
* are written under pont's namespace (read by pont CSS) and also verbatim,
|
|
18
18
|
* so shadcn classes (`max-h-(--available-height)`, `w-(--anchor-width)`,
|
|
19
19
|
* `origin-(--transform-origin)`) port unchanged into app CSS:
|
|
20
20
|
*
|
|
21
21
|
* | Written | Meaning |
|
|
22
22
|
* |-------------------------|--------------------------------------------|
|
|
23
|
-
* | `--
|
|
24
|
-
* | `--
|
|
25
|
-
* | `--
|
|
26
|
-
* | `--
|
|
27
|
-
* | `--
|
|
23
|
+
* | `--pont-popup-x/y` | viewport position of the box (px) |
|
|
24
|
+
* | `--pont-anchor-width/height` (+ `--anchor-*`) | size of the anchor |
|
|
25
|
+
* | `--pont-available-width/height` (+ `--available-*`) | room left before the collision padding |
|
|
26
|
+
* | `--pont-transform-origin` (+ `--transform-origin`) | the anchor point the box grows from |
|
|
27
|
+
* | `--pont-arrow-x/y` | anchor centre relative to the box (for arrows) |
|
|
28
28
|
* | `data-side`, `data-align` | the side/alignment actually used (after flip) |
|
|
29
29
|
*
|
|
30
30
|
* Updates are batched to one per animation frame and re-run on scroll (any
|
|
@@ -20,7 +20,7 @@ import { Align, Side } from './position';
|
|
|
20
20
|
* this same element (see anchored.ts).
|
|
21
21
|
*
|
|
22
22
|
* Base UI DOM: Portal > Positioner div > Popup div[data-slot=…-content] > children
|
|
23
|
-
*
|
|
23
|
+
* pont DOM: pont-…-content[popover][data-slot=…-content] > children
|
|
24
24
|
*
|
|
25
25
|
* Open/close states are Base UI's: `data-open` / `data-closed`, plus
|
|
26
26
|
* `data-starting-style` (first frame after opening) and `data-ending-style`
|
|
@@ -30,7 +30,7 @@ import { Align, Side } from './position';
|
|
|
30
30
|
*
|
|
31
31
|
* The content never decides it is open; its root does. It *requests*
|
|
32
32
|
* closing (Escape, outside press, Tab) through `onRequestClose`, which the
|
|
33
|
-
* root turns into a cancelable `
|
|
33
|
+
* root turns into a cancelable `pont-open-change` event.
|
|
34
34
|
*/
|
|
35
35
|
export declare abstract class PopupContent extends HostElement {
|
|
36
36
|
static identity: string;
|