@pontive/pontkit-core 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +129 -195
- package/catalog.json +31 -2378
- package/dist/{pont2/core → core}/controllers/action.d.ts +10 -10
- package/dist/{pont2/core → core}/controllers/copy.d.ts +3 -3
- package/dist/{pont2/core → core}/design-mode.d.ts +3 -3
- package/dist/{pont2/core → core}/events.d.ts +4 -4
- package/dist/{pont2/core → core}/host-element.d.ts +8 -8
- package/dist/{pont2/core → core}/ids.d.ts +1 -1
- package/dist/{pont2/core → core}/names.d.ts +23 -23
- package/dist/{pont2/core → core}/popup/anchored.d.ts +6 -6
- package/dist/{pont2/core → core}/popup/popup-content.d.ts +2 -2
- package/dist/{pont2/core → core}/popup/popup-root.d.ts +5 -5
- package/dist/{pont2/core → core}/url.d.ts +2 -2
- package/dist/{pont2/custom-elements.json → custom-elements.json} +7490 -7568
- package/dist/{pont2/globals.css → globals.css} +14 -14
- package/dist/index.d.ts +51 -12
- package/dist/index.mjs +7323 -39034
- package/dist/index.mjs.map +1 -1
- package/dist/{pont2/kit → kit}/account-menu/account-menu.d.ts +21 -21
- package/dist/{pont2/kit → kit}/account-settings/account-settings.d.ts +16 -16
- package/dist/{pont2/kit → kit}/alert/alert.d.ts +12 -12
- package/dist/kit/aliases.d.ts +33 -0
- package/dist/{pont2/kit → kit}/auth-button/auth-button.d.ts +23 -23
- package/dist/{pont2/kit → kit}/auth-button/providers.d.ts +2 -2
- package/dist/{pont2/kit → kit}/auth-field/auth-field.d.ts +24 -24
- package/dist/{pont2/kit → kit}/auth-field/password-field.d.ts +15 -15
- package/dist/{pont2/kit → kit}/avatar/avatar.d.ts +9 -9
- package/dist/{pont2/kit → kit}/badge-selector/badge-selector.d.ts +5 -5
- package/dist/{pont2/kit → kit}/block/block.d.ts +15 -15
- package/dist/{pont2/kit → kit}/block/branding.d.ts +5 -5
- package/dist/{pont2/kit → kit}/consent/consent.d.ts +7 -7
- package/dist/{pont2/kit → kit}/container/container.d.ts +6 -6
- package/dist/{pont2/kit → kit}/countdown/countdown.d.ts +10 -10
- package/dist/{pont2/kit → kit}/data-table/data-table.d.ts +11 -11
- package/dist/{pont2/kit → kit}/divider/divider.d.ts +4 -4
- package/dist/{pont2/kit → kit}/edit-identifier/edit-identifier.d.ts +8 -8
- package/dist/{pont2/kit → kit}/flow-widget/flow-widget.d.ts +27 -27
- package/dist/kit/flow-widget/preview.d.ts +46 -0
- package/dist/{pont2/kit → kit}/flow-widget/specimens.d.ts +2 -2
- package/dist/{pont2/kit → kit}/gap/gap.d.ts +6 -6
- package/dist/{pont2/kit → kit}/header/header.d.ts +9 -9
- package/dist/{pont2/kit → kit}/input-otp/input-otp.d.ts +14 -14
- package/dist/{pont2/kit → kit}/layout/flow-error.d.ts +1 -1
- package/dist/{pont2/kit → kit}/layout/layout.d.ts +24 -24
- package/dist/{pont2/kit → kit}/link/link.d.ts +15 -15
- package/dist/{pont2/kit → kit}/logo/logo.d.ts +7 -7
- package/dist/{pont2/kit → kit}/member-management/member-management.d.ts +24 -24
- package/dist/{pont2/kit → kit}/multi-email-input/multi-email-input.d.ts +6 -6
- package/dist/{pont2/kit → kit}/multi-select-filter/multi-select-filter.d.ts +5 -5
- package/dist/{pont2/kit → kit}/organization-switcher/organization-switcher.d.ts +16 -16
- package/dist/{pont2/kit → kit}/otp-field/otp-field.d.ts +17 -17
- package/dist/{pont2/kit → kit}/otp-field/otp-resend.d.ts +10 -10
- package/dist/{pont2/kit → kit}/pagination/pagination.d.ts +7 -7
- package/dist/{pont2/kit → kit}/provider/account-client.d.ts +3 -3
- package/dist/{pont2/kit → kit}/provider/account-controller.d.ts +2 -2
- package/dist/{pont2/kit → kit}/provider/contexts.d.ts +7 -7
- package/dist/{pont2/kit → kit}/provider/provider.d.ts +30 -32
- package/dist/{pont2/kit → kit}/provider/redirect.d.ts +3 -3
- package/dist/{pont2/kit → kit}/provider/runtime-config.d.ts +1 -1
- package/dist/{pont2/kit → kit}/provider/sdk.d.ts +2 -2
- package/dist/{pont2/kit → kit}/provider/signed-in.d.ts +15 -15
- package/dist/{pont2/kit → kit}/provider/widget-messages.d.ts +1 -1
- package/dist/{pont2/kit → kit}/provider-field/provider-field.d.ts +13 -13
- package/dist/{pont2/kit → kit}/qr-code/qr-code.d.ts +13 -13
- package/dist/{pont2/kit → kit}/recovery-codes/recovery-codes.d.ts +13 -13
- package/dist/{pont2/kit → kit}/scope-list/scope-list.d.ts +8 -8
- package/dist/{pont2/kit → kit}/secret/secret.d.ts +11 -11
- package/dist/{pont2/kit → kit}/typography/typography.d.ts +15 -15
- package/dist/{pont2/kit → kit}/watermark/watermark.d.ts +8 -8
- package/dist/{pont2/primitives → primitives}/alert/alert.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/alert-dialog/alert-dialog.d.ts +40 -40
- package/dist/{pont2/primitives → primitives}/avatar/avatar.d.ts +16 -16
- package/dist/{pont2/primitives → primitives}/badge/badge.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/button/button.d.ts +10 -10
- package/dist/{pont2/primitives → primitives}/button-group/button-group.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/card/card.d.ts +17 -17
- package/dist/{pont2/primitives → primitives}/checkbox/checkbox.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/combobox/combobox.d.ts +35 -35
- package/dist/{pont2/primitives → primitives}/dialog/dialog.d.ts +37 -37
- package/dist/{pont2/primitives → primitives}/drawer/drawer.d.ts +31 -31
- package/dist/{pont2/primitives → primitives}/dropdown-menu/dropdown-menu.d.ts +47 -47
- package/dist/{pont2/primitives → primitives}/empty/empty.d.ts +12 -12
- package/dist/{pont2/primitives → primitives}/field/field.d.ts +31 -31
- package/dist/{pont2/primitives → primitives}/hover-card/hover-card.d.ts +13 -13
- package/dist/{pont2/primitives → primitives}/input/input.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/input-group/input-group.d.ts +20 -20
- package/dist/{pont2/primitives → primitives}/input-otp/input-otp.d.ts +11 -11
- package/dist/{pont2/primitives → primitives}/item/item.d.ts +22 -22
- package/dist/{pont2/primitives → primitives}/kbd/kbd.d.ts +6 -6
- package/dist/{pont2/primitives → primitives}/label/label.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/native-select/native-select.d.ts +7 -7
- package/dist/{pont2/primitives → primitives}/pagination/pagination.d.ts +25 -25
- package/dist/{pont2/primitives → primitives}/popover/popover.d.ts +25 -25
- package/dist/{pont2/primitives → primitives}/progress/progress.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/radio-group/radio-group.d.ts +7 -7
- package/dist/{pont2/primitives → primitives}/select/select.d.ts +26 -26
- package/dist/{pont2/primitives → primitives}/separator/separator.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/sheet/sheet.d.ts +31 -31
- package/dist/{pont2/primitives → primitives}/skeleton/skeleton.d.ts +2 -2
- package/dist/{pont2/primitives → primitives}/slider/slider-math.d.ts +1 -1
- package/dist/{pont2/primitives → primitives}/slider/slider.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/sonner/sonner.d.ts +7 -7
- package/dist/{pont2/primitives → primitives}/sonner/toast-store.d.ts +1 -1
- package/dist/{pont2/primitives → primitives}/spinner/spinner.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/switch/switch.d.ts +4 -4
- package/dist/{pont2/primitives → primitives}/table/table.d.ts +9 -9
- package/dist/{pont2/primitives → primitives}/tabs/tabs.d.ts +13 -13
- package/dist/{pont2/primitives → primitives}/textarea/textarea.d.ts +5 -5
- package/dist/{pont2/primitives → primitives}/tooltip/tooltip.d.ts +13 -13
- package/dist/styles.css +4476 -28466
- 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 +25 -10
- package/dist/{pont2/theme → theme}/value.d.ts +1 -1
- package/dist/{pont2/theme → theme}/vocabulary.d.ts +11 -6
- package/dist/theme-golden.json +1685 -0
- package/dist/theme.mjs +569 -0
- package/dist/theme.mjs.map +1 -0
- package/dist/tokens.json +10128 -0
- package/package.json +27 -64
- package/custom-elements.json +0 -1
- package/dist/assets/icons/account.icon.d.ts +0 -1
- package/dist/assets/icons/badge-check-icon.d.ts +0 -1
- package/dist/assets/icons/burger-menu.icon.d.ts +0 -1
- package/dist/assets/icons/check.d.ts +0 -1
- package/dist/assets/icons/clock-icon.d.ts +0 -1
- package/dist/assets/icons/close.icon.d.ts +0 -1
- package/dist/assets/icons/copy.icon.d.ts +0 -1
- package/dist/assets/icons/edit.icon.d.ts +0 -1
- package/dist/assets/icons/email.d.ts +0 -1
- package/dist/assets/icons/image-icon.d.ts +0 -1
- package/dist/assets/icons/index.d.ts +0 -20
- package/dist/assets/icons/link-icon.d.ts +0 -1
- package/dist/assets/icons/location.icon.d.ts +0 -1
- package/dist/assets/icons/members-icon.d.ts +0 -1
- package/dist/assets/icons/personal-info.icon.d.ts +0 -1
- package/dist/assets/icons/plusIcon.d.ts +0 -1
- package/dist/assets/icons/refresh-cw-icon.d.ts +0 -1
- package/dist/assets/icons/search-icon.d.ts +0 -1
- package/dist/assets/icons/triangle-alert.d.ts +0 -1
- package/dist/assets/icons/url.icon.d.ts +0 -1
- package/dist/assets/icons/user-round-check-icon.d.ts +0 -1
- package/dist/components/index.d.ts +0 -4
- package/dist/components/renderers/auth/button/_passkey-button.d.ts +0 -81
- package/dist/components/renderers/auth/button/_provider-button.d.ts +0 -103
- package/dist/components/renderers/auth/button/_submit-button.d.ts +0 -71
- package/dist/components/renderers/auth/button/button.defs.d.ts +0 -21
- package/dist/components/renderers/auth/button/button.stories/passkey-button.stories.d.ts +0 -12
- package/dist/components/renderers/auth/button/button.stories/provider-button.stories.d.ts +0 -24
- package/dist/components/renderers/auth/button/button.stories/submit-button.stories.d.ts +0 -12
- package/dist/components/renderers/auth/button/button.types.d.ts +0 -54
- package/dist/components/renderers/auth/button/index.d.ts +0 -11
- package/dist/components/renderers/auth/edit-identifier/_edit-identifier.d.ts +0 -33
- package/dist/components/renderers/auth/edit-identifier/edit-identifier.defs.d.ts +0 -2
- package/dist/components/renderers/auth/edit-identifier/edit-identifier.types.d.ts +0 -7
- package/dist/components/renderers/auth/edit-identifier/index.d.ts +0 -7
- package/dist/components/renderers/auth/field/_confirm-field.d.ts +0 -168
- package/dist/components/renderers/auth/field/_email-field.d.ts +0 -160
- package/dist/components/renderers/auth/field/_identifier-field.d.ts +0 -171
- package/dist/components/renderers/auth/field/_name-field.d.ts +0 -186
- package/dist/components/renderers/auth/field/_password-field.d.ts +0 -230
- package/dist/components/renderers/auth/field/_phone-field.d.ts +0 -160
- package/dist/components/renderers/auth/field/_username-field.d.ts +0 -186
- package/dist/components/renderers/auth/field/field.defs.d.ts +0 -24
- package/dist/components/renderers/auth/field/field.stories/confirm-field.stories.d.ts +0 -14
- package/dist/components/renderers/auth/field/field.stories/email-field.stories.d.ts +0 -13
- package/dist/components/renderers/auth/field/field.stories/helpers.d.ts +0 -2
- package/dist/components/renderers/auth/field/field.stories/identifier-field.stories.d.ts +0 -25
- package/dist/components/renderers/auth/field/field.stories/name-field.stories.d.ts +0 -14
- package/dist/components/renderers/auth/field/field.stories/password-field.stories.d.ts +0 -15
- package/dist/components/renderers/auth/field/field.stories/phone-field.stories.d.ts +0 -13
- package/dist/components/renderers/auth/field/field.stories/username-field.stories.d.ts +0 -13
- package/dist/components/renderers/auth/field/field.types.d.ts +0 -120
- package/dist/components/renderers/auth/field/index.d.ts +0 -19
- package/dist/components/renderers/auth/form/_form.d.ts +0 -76
- package/dist/components/renderers/auth/form/form.defs.d.ts +0 -7
- package/dist/components/renderers/auth/form/form.stories.d.ts +0 -7
- package/dist/components/renderers/auth/form/form.types.d.ts +0 -19
- package/dist/components/renderers/auth/form/index.d.ts +0 -7
- package/dist/components/renderers/auth/index.d.ts +0 -10
- package/dist/components/renderers/auth/otp/_otp-resend.d.ts +0 -46
- package/dist/components/renderers/auth/otp/_otp.d.ts +0 -58
- package/dist/components/renderers/auth/otp/index.d.ts +0 -9
- package/dist/components/renderers/auth/otp/otp.defs.d.ts +0 -2
- package/dist/components/renderers/auth/otp/otp.stories.d.ts +0 -5
- package/dist/components/renderers/auth/otp/otp.types.d.ts +0 -25
- package/dist/components/renderers/auth/provider-field/_provider-field.d.ts +0 -124
- package/dist/components/renderers/auth/provider-field/index.d.ts +0 -7
- package/dist/components/renderers/auth/provider-field/provider-field.stories.d.ts +0 -25
- package/dist/components/renderers/auth/provider-field/provider-field.types.d.ts +0 -17
- package/dist/components/renderers/auth/qr-code/_qr-code.d.ts +0 -36
- package/dist/components/renderers/auth/qr-code/index.d.ts +0 -7
- package/dist/components/renderers/auth/qr-code/qr-code.defs.d.ts +0 -2
- package/dist/components/renderers/auth/qr-code/qr-code.stories.d.ts +0 -5
- package/dist/components/renderers/auth/qr-code/qr-code.types.d.ts +0 -11
- package/dist/components/renderers/auth/recovery-codes/_recovery-codes.d.ts +0 -31
- package/dist/components/renderers/auth/recovery-codes/index.d.ts +0 -1
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.defs.d.ts +0 -2
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.stories.d.ts +0 -5
- package/dist/components/renderers/auth/recovery-codes/recovery-codes.types.d.ts +0 -11
- package/dist/components/renderers/auth/scope-list/_scope-list.d.ts +0 -44
- package/dist/components/renderers/auth/scope-list/index.d.ts +0 -7
- package/dist/components/renderers/auth/scope-list/scope-list.defs.d.ts +0 -2
- package/dist/components/renderers/auth/scope-list/scope-list.stories.d.ts +0 -8
- package/dist/components/renderers/auth/scope-list/scope-list.types.d.ts +0 -20
- package/dist/components/renderers/auth/scope-list/scope-list.value.d.ts +0 -14
- package/dist/components/renderers/auth/secret/_secret.d.ts +0 -30
- package/dist/components/renderers/auth/secret/index.d.ts +0 -7
- package/dist/components/renderers/auth/secret/secret.defs.d.ts +0 -2
- package/dist/components/renderers/auth/secret/secret.stories.d.ts +0 -5
- package/dist/components/renderers/auth/secret/secret.types.d.ts +0 -12
- package/dist/components/renderers/feedback/alert/_alert.d.ts +0 -61
- package/dist/components/renderers/feedback/alert/alert.defs.d.ts +0 -7
- package/dist/components/renderers/feedback/alert/alert.stories.d.ts +0 -11
- package/dist/components/renderers/feedback/alert/alert.types.d.ts +0 -14
- package/dist/components/renderers/feedback/alert/index.d.ts +0 -7
- package/dist/components/renderers/feedback/countdown/_countdown.d.ts +0 -45
- package/dist/components/renderers/feedback/countdown/countdown.defs.d.ts +0 -9
- package/dist/components/renderers/feedback/countdown/countdown.stories.d.ts +0 -7
- package/dist/components/renderers/feedback/countdown/index.d.ts +0 -1
- package/dist/components/renderers/feedback/index.d.ts +0 -2
- package/dist/components/renderers/index.d.ts +0 -6
- package/dist/components/renderers/layout/block/_block.d.ts +0 -41
- package/dist/components/renderers/layout/block/block.stories.d.ts +0 -8
- package/dist/components/renderers/layout/block/block.types.d.ts +0 -10
- package/dist/components/renderers/layout/block/index.d.ts +0 -7
- package/dist/components/renderers/layout/container/_container.d.ts +0 -24
- package/dist/components/renderers/layout/container/container.stories.d.ts +0 -19
- package/dist/components/renderers/layout/container/container.types.d.ts +0 -7
- package/dist/components/renderers/layout/container/index.d.ts +0 -7
- package/dist/components/renderers/layout/divider/_divider.d.ts +0 -27
- package/dist/components/renderers/layout/divider/divider.stories.d.ts +0 -6
- package/dist/components/renderers/layout/divider/divider.types.d.ts +0 -6
- package/dist/components/renderers/layout/divider/index.d.ts +0 -7
- package/dist/components/renderers/layout/gap/_gap.d.ts +0 -9
- package/dist/components/renderers/layout/gap/gap.stories.d.ts +0 -7
- package/dist/components/renderers/layout/gap/gap.types.d.ts +0 -6
- package/dist/components/renderers/layout/gap/index.d.ts +0 -7
- package/dist/components/renderers/layout/header/_header.d.ts +0 -28
- package/dist/components/renderers/layout/header/header.stories.d.ts +0 -7
- package/dist/components/renderers/layout/header/header.types.d.ts +0 -9
- package/dist/components/renderers/layout/header/index.d.ts +0 -7
- package/dist/components/renderers/layout/index.d.ts +0 -5
- package/dist/components/renderers/navigation/external-link/_external-link.d.ts +0 -26
- package/dist/components/renderers/navigation/external-link/external-link.defs.d.ts +0 -2
- package/dist/components/renderers/navigation/external-link/external-link.href.d.ts +0 -9
- package/dist/components/renderers/navigation/external-link/external-link.stories.d.ts +0 -7
- package/dist/components/renderers/navigation/external-link/external-link.types.d.ts +0 -5
- package/dist/components/renderers/navigation/external-link/index.d.ts +0 -7
- package/dist/components/renderers/navigation/index.d.ts +0 -2
- package/dist/components/renderers/navigation/link/_link.d.ts +0 -76
- package/dist/components/renderers/navigation/link/index.d.ts +0 -7
- package/dist/components/renderers/navigation/link/link.defs.d.ts +0 -3
- package/dist/components/renderers/navigation/link/link.stories.d.ts +0 -9
- package/dist/components/renderers/navigation/link/link.types.d.ts +0 -12
- package/dist/components/renderers/typography/index.d.ts +0 -2
- package/dist/components/renderers/typography/subtitle/_subtitle.d.ts +0 -23
- package/dist/components/renderers/typography/subtitle/index.d.ts +0 -1
- package/dist/components/renderers/typography/subtitle/subtitle.defs.d.ts +0 -7
- package/dist/components/renderers/typography/subtitle/subtitle.stories.d.ts +0 -9
- package/dist/components/renderers/typography/title/_title.d.ts +0 -28
- package/dist/components/renderers/typography/title/index.d.ts +0 -1
- package/dist/components/renderers/typography/title/title.defs.d.ts +0 -10
- package/dist/components/renderers/typography/title/title.stories.d.ts +0 -10
- package/dist/components/renderers/visuals/index.d.ts +0 -2
- package/dist/components/renderers/visuals/logo/_logo.d.ts +0 -27
- package/dist/components/renderers/visuals/logo/index.d.ts +0 -7
- package/dist/components/renderers/visuals/logo/logo.stories.d.ts +0 -17
- package/dist/components/renderers/visuals/logo/logo.types.d.ts +0 -6
- package/dist/components/renderers/visuals/watermark/_watermark.d.ts +0 -68
- package/dist/components/renderers/visuals/watermark/index.d.ts +0 -7
- package/dist/components/renderers/visuals/watermark/watermark.defs.d.ts +0 -4
- package/dist/components/renderers/visuals/watermark/watermark.stories.d.ts +0 -8
- package/dist/components/renderers/visuals/watermark/watermark.types.d.ts +0 -11
- package/dist/components/ui/badge-selector/badge-selector.d.ts +0 -49
- package/dist/components/ui/hint/index.d.ts +0 -6
- package/dist/components/ui/index.d.ts +0 -7
- package/dist/components/ui/modal/index.d.ts +0 -12
- package/dist/components/ui/multi-email-input/multi-email-input.d.ts +0 -32
- package/dist/components/ui/multi-select-filter/pont-multi-select-filter.d.ts +0 -18
- package/dist/components/ui/paginator/paginator.d.ts +0 -16
- package/dist/components/ui/pont-sidedrawer/pont-sidedrawer.d.ts +0 -23
- package/dist/components/widgets/flow-widget.d.ts +0 -32
- package/dist/components/widgets/index.d.ts +0 -9
- package/dist/components/widgets/pont-account-menu/index.d.ts +0 -1
- package/dist/components/widgets/pont-account-menu/pont-account-menu.d.ts +0 -95
- package/dist/components/widgets/pont-account-settings/index.d.ts +0 -3
- package/dist/components/widgets/pont-account-settings/pont-account-settings.d.ts +0 -76
- package/dist/components/widgets/pont-account-settings/profile/classes.d.ts +0 -18
- package/dist/components/widgets/pont-account-settings/profile/components/account-info.d.ts +0 -116
- package/dist/components/widgets/pont-account-settings/profile/components/index.d.ts +0 -4
- package/dist/components/widgets/pont-account-settings/profile/components/location-info.d.ts +0 -45
- package/dist/components/widgets/pont-account-settings/profile/components/personal-info.d.ts +0 -57
- package/dist/components/widgets/pont-account-settings/profile/components/urls-info.d.ts +0 -38
- package/dist/components/widgets/pont-account-settings/profile/index.d.ts +0 -2
- package/dist/components/widgets/pont-account-settings/profile/pont-profile.d.ts +0 -24
- package/dist/components/widgets/pont-account-settings/security-settings/index.d.ts +0 -1
- package/dist/components/widgets/pont-account-settings/security-settings/security-settings.d.ts +0 -12
- package/dist/components/widgets/pont-account-settings/sidebar/classes.d.ts +0 -8
- package/dist/components/widgets/pont-account-settings/sidebar/sidebar.d.ts +0 -27
- package/dist/components/widgets/pont-consent/consent-api.d.ts +0 -56
- package/dist/components/widgets/pont-consent/pont-consent.d.ts +0 -50
- package/dist/components/widgets/pont-invitation/pont-invitation.d.ts +0 -23
- package/dist/components/widgets/pont-member-management/components/action-modal.d.ts +0 -35
- package/dist/components/widgets/pont-member-management/components/index.d.ts +0 -5
- package/dist/components/widgets/pont-member-management/components/invitations-panel.d.ts +0 -44
- package/dist/components/widgets/pont-member-management/components/invite-members-form.d.ts +0 -32
- package/dist/components/widgets/pont-member-management/components/manage-roles-form.d.ts +0 -36
- package/dist/components/widgets/pont-member-management/components/members-panel.d.ts +0 -51
- package/dist/components/widgets/pont-member-management/components/page-range.d.ts +0 -5
- package/dist/components/widgets/pont-member-management/components/role-badges.d.ts +0 -5
- package/dist/components/widgets/pont-member-management/components/role-options.d.ts +0 -20
- package/dist/components/widgets/pont-member-management/errors.d.ts +0 -32
- package/dist/components/widgets/pont-member-management/index.d.ts +0 -1
- package/dist/components/widgets/pont-member-management/pont-member-management.d.ts +0 -125
- package/dist/components/widgets/pont-member-management/types.d.ts +0 -5
- package/dist/components/widgets/pont-organization-switcher/index.d.ts +0 -1
- package/dist/components/widgets/pont-organization-switcher/pont-organization-switcher.d.ts +0 -64
- package/dist/components/widgets/pont-preview/pont-preview.d.ts +0 -19
- package/dist/components/widgets/pont-signin/pont-signin.d.ts +0 -4
- package/dist/components/widgets/pont-signup/pont-signup.d.ts +0 -4
- package/dist/components/wrappers/base-element/base-element.d.ts +0 -19
- package/dist/components/wrappers/index.d.ts +0 -7
- package/dist/components/wrappers/layout/layout.d.ts +0 -93
- package/dist/components/wrappers/pont-auth-state/pont-auth-state.d.ts +0 -12
- package/dist/components/wrappers/pont-authenticated/pont-authenticated.d.ts +0 -27
- package/dist/components/wrappers/pont-provider/pont-provider.d.ts +0 -113
- package/dist/components/wrappers/pont-signed-in/pont-signed-in.d.ts +0 -11
- package/dist/components/wrappers/pont-signed-out/pont-signed-out.d.ts +0 -11
- package/dist/constants/classes.d.ts +0 -9
- package/dist/constants/components.d.ts +0 -6
- package/dist/constants/index.d.ts +0 -4
- package/dist/constants/regex.d.ts +0 -4
- package/dist/constants/styles.d.ts +0 -1
- package/dist/context/auth-context.d.ts +0 -17
- package/dist/context/branding-context.d.ts +0 -52
- package/dist/context/customization-context.d.ts +0 -4
- package/dist/context/design-context.d.ts +0 -47
- package/dist/context/env-context.d.ts +0 -4
- package/dist/context/index.d.ts +0 -8
- package/dist/context/locale-context.d.ts +0 -3
- package/dist/context/render-spec.d.ts +0 -3
- package/dist/context/user-context.d.ts +0 -8
- package/dist/context-root.d.ts +0 -1
- package/dist/element-tag-map.d.ts +0 -106
- package/dist/events/account-settings.d.ts +0 -10
- package/dist/events/index.d.ts +0 -15
- package/dist/events/locales.d.ts +0 -6
- package/dist/events/member-management.d.ts +0 -10
- package/dist/funcs/env.d.ts +0 -3
- package/dist/funcs/index.d.ts +0 -1
- package/dist/i18n/messages.d.ts +0 -60
- package/dist/index.js +0 -6827
- package/dist/index.js.map +0 -1
- package/dist/legacy.css +0 -25448
- package/dist/pont2/index.d.ts +0 -51
- package/dist/pont2/index.mjs +0 -10418
- package/dist/pont2/index.mjs.map +0 -1
- package/dist/pont2/kit/aliases.d.ts +0 -33
- package/dist/pont2/kit/flow-widget/preview.d.ts +0 -46
- package/dist/pont2/kit/provider/coexistence.d.ts +0 -19
- package/dist/pont2/migration/catalog.d.ts +0 -29
- package/dist/pont2/migration/legacy-markup.d.ts +0 -36
- package/dist/pont2/styles.css +0 -8275
- package/dist/pont2/theme/scopes.d.ts +0 -13
- package/dist/pont2/theme/tokens.json.d.ts +0 -8515
- package/dist/pont2/theme-golden.json +0 -1240
- package/dist/pont2/theme.mjs +0 -425
- package/dist/pont2/theme.mjs.map +0 -1
- package/dist/pont2/tokens.json +0 -8512
- package/dist/pont2/with-legacy.css +0 -8
- package/dist/primitives/assets/icons/anchor.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/app-window.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/arrow-up-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/arrows.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/asterisk.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/badge-x.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bell.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/bookmark.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/brand-javascript.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/captions.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/carousel-arrow-left.d.ts +0 -1
- package/dist/primitives/assets/icons/carousel-arrow-right.d.ts +0 -1
- package/dist/primitives/assets/icons/chart.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chevron-right.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/chorven-down.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-check.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/circle-x.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/close.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/cloud.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/copy.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/corner-down-left.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/credit-card.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/decrease.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/dot.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/down.d.ts +0 -1
- package/dist/primitives/assets/icons/external-link.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-off.d.ts +0 -1
- package/dist/primitives/assets/icons/eye-off.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/eye-on.d.ts +0 -1
- package/dist/primitives/assets/icons/file-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/folder-code.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/git-branch-plus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/help-circle.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/house.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/inbox.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/index.d.ts +0 -67
- package/dist/primitives/assets/icons/info.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/loader-circle.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail-warning.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/mail.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/minus.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/plus.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/rabbit.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/radio-group.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/radio.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/refresh-ccw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/refresh-cw.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/search.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/settings.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shield-alert.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/shopping-bag.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/star.icon.d.ts +0 -2
- package/dist/primitives/assets/icons/tick.icon.d.ts +0 -1
- package/dist/primitives/assets/icons/up-down.d.ts +0 -1
- package/dist/primitives/assets/icons/up.d.ts +0 -1
- package/dist/primitives/assets/icons/wand.icon.d.ts +0 -2
- package/dist/primitives/components/index.d.ts +0 -1
- package/dist/primitives/components/ui/accordion/accordion-content.d.ts +0 -20
- package/dist/primitives/components/ui/accordion/accordion-item.d.ts +0 -21
- package/dist/primitives/components/ui/accordion/accordion-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/accordion/accordion.d.ts +0 -25
- package/dist/primitives/components/ui/accordion/accordion.defs.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.stories.d.ts +0 -10
- package/dist/primitives/components/ui/accordion/accordion.styles.d.ts +0 -4
- package/dist/primitives/components/ui/alert/_alert-action.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-description.d.ts +0 -21
- package/dist/primitives/components/ui/alert/_alert-title.d.ts +0 -20
- package/dist/primitives/components/ui/alert/_alert.d.ts +0 -25
- package/dist/primitives/components/ui/alert/alert.d.ts +0 -16
- package/dist/primitives/components/ui/alert/alert.defs.d.ts +0 -4
- package/dist/primitives/components/ui/alert/alert.stories.d.ts +0 -12
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -16
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -4
- package/dist/primitives/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +0 -4
- package/dist/primitives/components/ui/avatar/_avatar-badge.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-fallback.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group-count.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-group.d.ts +0 -21
- package/dist/primitives/components/ui/avatar/_avatar-image.d.ts +0 -28
- package/dist/primitives/components/ui/avatar/_avatar.d.ts +0 -65
- package/dist/primitives/components/ui/avatar/avatar.d.ts +0 -20
- package/dist/primitives/components/ui/avatar/avatar.defs.d.ts +0 -8
- package/dist/primitives/components/ui/avatar/avatar.stories.d.ts +0 -13
- package/dist/primitives/components/ui/badge/_badge.d.ts +0 -43
- package/dist/primitives/components/ui/badge/badge.d.ts +0 -10
- package/dist/primitives/components/ui/badge/badge.defs.d.ts +0 -8
- package/dist/primitives/components/ui/badge/badge.stories.d.ts +0 -10
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -15
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -11
- package/dist/primitives/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -14
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.d.ts +0 -21
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -4
- package/dist/primitives/components/ui/breadcrumb/breadcrumb.styles.d.ts +0 -4
- package/dist/primitives/components/ui/button/_button.d.ts +0 -62
- package/dist/primitives/components/ui/button/button.d.ts +0 -10
- package/dist/primitives/components/ui/button/button.defs.d.ts +0 -14
- package/dist/primitives/components/ui/button/button.stories.d.ts +0 -13
- package/dist/primitives/components/ui/calendar/calendar.d.ts +0 -24
- package/dist/primitives/components/ui/calendar/calendar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/calendar/calendar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/calendar/calendar.style.d.ts +0 -38
- package/dist/primitives/components/ui/card/_card-action.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-content.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card-description.d.ts +0 -21
- package/dist/primitives/components/ui/card/_card-footer.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-header.d.ts +0 -26
- package/dist/primitives/components/ui/card/_card-title.d.ts +0 -20
- package/dist/primitives/components/ui/card/_card.d.ts +0 -25
- package/dist/primitives/components/ui/card/card.d.ts +0 -22
- package/dist/primitives/components/ui/card/card.defs.d.ts +0 -10
- package/dist/primitives/components/ui/card/card.stories.d.ts +0 -11
- package/dist/primitives/components/ui/carousel/carousel.d.ts +0 -24
- package/dist/primitives/components/ui/carousel/carousel.stories.d.ts +0 -6
- package/dist/primitives/components/ui/carousel/carousel.styles.d.ts +0 -32
- package/dist/primitives/components/ui/checkbox/_checkbox.d.ts +0 -92
- package/dist/primitives/components/ui/checkbox/checkbox.d.ts +0 -10
- package/dist/primitives/components/ui/checkbox/checkbox.defs.d.ts +0 -11
- package/dist/primitives/components/ui/checkbox/checkbox.stories.d.ts +0 -13
- package/dist/primitives/components/ui/collapsible/collapsible-content.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/collapsible/collapsible.d.ts +0 -23
- package/dist/primitives/components/ui/collapsible/collapsible.stories.d.ts +0 -5
- package/dist/primitives/components/ui/combobox/combo-box-empty.d.ts +0 -14
- package/dist/primitives/components/ui/combobox/combo-box-group.d.ts +0 -37
- package/dist/primitives/components/ui/combobox/combo-box-input.d.ts +0 -17
- package/dist/primitives/components/ui/combobox/combo-box-item.d.ts +0 -25
- package/dist/primitives/components/ui/combobox/combo-box-trigger.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box-value.d.ts +0 -18
- package/dist/primitives/components/ui/combobox/combo-box.d.ts +0 -35
- package/dist/primitives/components/ui/combobox/combo-box.stories.d.ts +0 -10
- package/dist/primitives/components/ui/combobox/combo-box.styles.d.ts +0 -14
- package/dist/primitives/components/ui/command/command-empty.atom.d.ts +0 -18
- package/dist/primitives/components/ui/command/command-group.atom.d.ts +0 -19
- package/dist/primitives/components/ui/command/command-input.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-item.atom.d.ts +0 -24
- package/dist/primitives/components/ui/command/command-list.atom.d.ts +0 -15
- package/dist/primitives/components/ui/command/command-separator.atom.d.ts +0 -14
- package/dist/primitives/components/ui/command/command.d.ts +0 -22
- package/dist/primitives/components/ui/command/command.helpers.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.stories.d.ts +0 -6
- package/dist/primitives/components/ui/command/command.styles.d.ts +0 -15
- package/dist/primitives/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-content.d.ts +0 -14
- package/dist/primitives/components/ui/context-menu/context-menu-group.d.ts +0 -10
- package/dist/primitives/components/ui/context-menu/context-menu-item.d.ts +0 -13
- package/dist/primitives/components/ui/context-menu/context-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/context-menu/context-menu-seperator.d.ts +0 -6
- package/dist/primitives/components/ui/context-menu/context-menu-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/context-menu/context-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/context-menu/context-menu.d.ts +0 -40
- package/dist/primitives/components/ui/context-menu/context-menu.helpers.d.ts +0 -1
- package/dist/primitives/components/ui/context-menu/context-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/context-menu/contextMenu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/data-table/data-table.d.ts +0 -102
- package/dist/primitives/components/ui/data-table/data-table.stories.d.ts +0 -6
- package/dist/primitives/components/ui/data-table/index.d.ts +0 -7
- package/dist/primitives/components/ui/date-picker/date-picker.d.ts +0 -12
- package/dist/primitives/components/ui/date-picker/date-picker.stories.d.ts +0 -4
- package/dist/primitives/components/ui/date-picker/date-picker.styles.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-close.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-content.d.ts +0 -15
- package/dist/primitives/components/ui/dialog/dialog-footer.d.ts +0 -9
- package/dist/primitives/components/ui/dialog/dialog-header.d.ts +0 -7
- package/dist/primitives/components/ui/dialog/dialog-overly.d.ts +0 -5
- package/dist/primitives/components/ui/dialog/dialog-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/dialog/dialog.d.ts +0 -30
- package/dist/primitives/components/ui/dialog/dialog.stories.d.ts +0 -6
- package/dist/primitives/components/ui/dialog/dialog.styles.d.ts +0 -17
- package/dist/primitives/components/ui/drawer/drawer-close.d.ts +0 -15
- package/dist/primitives/components/ui/drawer/drawer-content.d.ts +0 -14
- package/dist/primitives/components/ui/drawer/drawer-description.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-footer.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-header.d.ts +0 -8
- package/dist/primitives/components/ui/drawer/drawer-overlay.d.ts +0 -5
- package/dist/primitives/components/ui/drawer/drawer-title.d.ts +0 -9
- package/dist/primitives/components/ui/drawer/drawer-trigger.d.ts +0 -11
- package/dist/primitives/components/ui/drawer/drawer.d.ts +0 -40
- package/dist/primitives/components/ui/drawer/drawer.helpers.d.ts +0 -2
- package/dist/primitives/components/ui/drawer/drawer.stories.d.ts +0 -4
- package/dist/primitives/components/ui/drawer/drawer.styles.d.ts +0 -14
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -18
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -11
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -17
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -16
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -8
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -40
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +0 -20
- package/dist/primitives/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -8
- package/dist/primitives/components/ui/empty/_empty-content.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-description.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-header.d.ts +0 -23
- package/dist/primitives/components/ui/empty/_empty-media.d.ts +0 -29
- package/dist/primitives/components/ui/empty/_empty-title.d.ts +0 -22
- package/dist/primitives/components/ui/empty/_empty.d.ts +0 -28
- package/dist/primitives/components/ui/empty/empty.d.ts +0 -20
- package/dist/primitives/components/ui/empty/empty.defs.d.ts +0 -7
- package/dist/primitives/components/ui/empty/empty.stories.d.ts +0 -10
- package/dist/primitives/components/ui/field/_field-content.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-description.d.ts +0 -23
- package/dist/primitives/components/ui/field/_field-error.d.ts +0 -25
- package/dist/primitives/components/ui/field/_field-group.d.ts +0 -28
- package/dist/primitives/components/ui/field/_field-label.d.ts +0 -27
- package/dist/primitives/components/ui/field/_field-legend.d.ts +0 -30
- package/dist/primitives/components/ui/field/_field-separator.d.ts +0 -42
- package/dist/primitives/components/ui/field/_field-set.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field-title.d.ts +0 -22
- package/dist/primitives/components/ui/field/_field.d.ts +0 -36
- package/dist/primitives/components/ui/field/field.d.ts +0 -29
- package/dist/primitives/components/ui/field/field.defs.d.ts +0 -23
- package/dist/primitives/components/ui/field/field.stories.d.ts +0 -16
- package/dist/primitives/components/ui/form/form-context.d.ts +0 -4
- package/dist/primitives/components/ui/form/form-controller.d.ts +0 -28
- package/dist/primitives/components/ui/form/form-field-context.d.ts +0 -3
- package/dist/primitives/components/ui/form/form-item-context.d.ts +0 -7
- package/dist/primitives/components/ui/form/form.stories.d.ts +0 -5
- package/dist/primitives/components/ui/form/form.styles.d.ts +0 -7
- package/dist/primitives/components/ui/form/pont-form-controller.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-description.d.ts +0 -13
- package/dist/primitives/components/ui/form/pont-form-field.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-item.d.ts +0 -16
- package/dist/primitives/components/ui/form/pont-form-label.d.ts +0 -19
- package/dist/primitives/components/ui/form/pont-form-message.d.ts +0 -17
- package/dist/primitives/components/ui/form/pont-form.d.ts +0 -23
- package/dist/primitives/components/ui/hoverCard/hover-card-content.d.ts +0 -15
- package/dist/primitives/components/ui/hoverCard/hover-card-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/hoverCard/hover-card.d.ts +0 -28
- package/dist/primitives/components/ui/hoverCard/hover-card.stories.d.ts +0 -4
- package/dist/primitives/components/ui/hoverCard/hover-card.styles.d.ts +0 -5
- package/dist/primitives/components/ui/index.d.ts +0 -50
- package/dist/primitives/components/ui/input/_input.d.ts +0 -163
- package/dist/primitives/components/ui/input/input.d.ts +0 -11
- package/dist/primitives/components/ui/input/input.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input/input.stories.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/_input-group-addon.d.ts +0 -32
- package/dist/primitives/components/ui/input-group/_input-group-button.d.ts +0 -59
- package/dist/primitives/components/ui/input-group/_input-group-input.d.ts +0 -140
- package/dist/primitives/components/ui/input-group/_input-group-text.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/_input-group-textarea.d.ts +0 -114
- package/dist/primitives/components/ui/input-group/_input-group.d.ts +0 -22
- package/dist/primitives/components/ui/input-group/input-group.d.ts +0 -20
- package/dist/primitives/components/ui/input-group/input-group.defs.d.ts +0 -16
- package/dist/primitives/components/ui/input-group/input-group.stories.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-group.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-separator.d.ts +0 -15
- package/dist/primitives/components/ui/input-otp/_input-otp-slot.d.ts +0 -29
- package/dist/primitives/components/ui/input-otp/_input-otp.d.ts +0 -192
- package/dist/primitives/components/ui/input-otp/input-otp.d.ts +0 -16
- package/dist/primitives/components/ui/input-otp/input-otp.defs.d.ts +0 -28
- package/dist/primitives/components/ui/input-otp/input-otp.stories.d.ts +0 -12
- package/dist/primitives/components/ui/item/_item-actions.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-content.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-description.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-footer.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-group.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-header.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-media.d.ts +0 -28
- package/dist/primitives/components/ui/item/_item-separator.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item-title.d.ts +0 -22
- package/dist/primitives/components/ui/item/_item.d.ts +0 -42
- package/dist/primitives/components/ui/item/item.d.ts +0 -29
- package/dist/primitives/components/ui/item/item.defs.d.ts +0 -13
- package/dist/primitives/components/ui/item/item.stories.d.ts +0 -13
- package/dist/primitives/components/ui/kbd/_kbd-group.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/_kbd.d.ts +0 -22
- package/dist/primitives/components/ui/kbd/kbd.d.ts +0 -12
- package/dist/primitives/components/ui/kbd/kbd.stories.d.ts +0 -8
- package/dist/primitives/components/ui/label/_label.d.ts +0 -26
- package/dist/primitives/components/ui/label/label.d.ts +0 -10
- package/dist/primitives/components/ui/label/label.defs.d.ts +0 -3
- package/dist/primitives/components/ui/label/label.stories.d.ts +0 -10
- package/dist/primitives/components/ui/menubar/menubar-checkbox.item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-content.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-group.d.ts +0 -14
- package/dist/primitives/components/ui/menubar/menubar-item.d.ts +0 -17
- package/dist/primitives/components/ui/menubar/menubar-menu.d.ts +0 -30
- package/dist/primitives/components/ui/menubar/menubar-radio-item.d.ts +0 -19
- package/dist/primitives/components/ui/menubar/menubar-separator.d.ts +0 -13
- package/dist/primitives/components/ui/menubar/menubar-shortcut.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/menubar/menubar.d.ts +0 -33
- package/dist/primitives/components/ui/menubar/menubar.helpers.d.ts +0 -3
- package/dist/primitives/components/ui/menubar/menubar.stories.d.ts +0 -4
- package/dist/primitives/components/ui/menubar/menubar.styles.d.ts +0 -21
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -19
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -23
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -8
- package/dist/primitives/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -9
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.d.ts +0 -24
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -4
- package/dist/primitives/components/ui/navigation-menu/navigation-menu.styles.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-content.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-ellipsis.d.ts +0 -8
- package/dist/primitives/components/ui/pagination/pagination-item.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-link.d.ts +0 -14
- package/dist/primitives/components/ui/pagination/pagination-next.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination-previous.d.ts +0 -9
- package/dist/primitives/components/ui/pagination/pagination.d.ts +0 -26
- package/dist/primitives/components/ui/pagination/pagination.stories.d.ts +0 -4
- package/dist/primitives/components/ui/pagination/pagination.styles.d.ts +0 -18
- package/dist/primitives/components/ui/pagination/pagination.type.d.ts +0 -2
- package/dist/primitives/components/ui/password-input/_password-input.d.ts +0 -122
- package/dist/primitives/components/ui/password-input/password-input.d.ts +0 -10
- package/dist/primitives/components/ui/password-input/password-input.defs.d.ts +0 -3
- package/dist/primitives/components/ui/password-input/password-input.stories.d.ts +0 -8
- package/dist/primitives/components/ui/popover/popover-content.d.ts +0 -18
- package/dist/primitives/components/ui/popover/popover-trigger.d.ts +0 -12
- package/dist/primitives/components/ui/popover/popover.d.ts +0 -21
- package/dist/primitives/components/ui/popover/popover.stories.d.ts +0 -4
- package/dist/primitives/components/ui/popover/popover.style.d.ts +0 -5
- package/dist/primitives/components/ui/popover/popover.types.d.ts +0 -2
- package/dist/primitives/components/ui/progress/progress.d.ts +0 -11
- package/dist/primitives/components/ui/progress/progress.stories.d.ts +0 -4
- package/dist/primitives/components/ui/progress/progress.styles.d.ts +0 -4
- package/dist/primitives/components/ui/radio-group/_radio-group-item.d.ts +0 -98
- package/dist/primitives/components/ui/radio-group/_radio-group.d.ts +0 -184
- package/dist/primitives/components/ui/radio-group/radio-group.d.ts +0 -13
- package/dist/primitives/components/ui/radio-group/radio-group.defs.d.ts +0 -18
- package/dist/primitives/components/ui/radio-group/radio-group.stories.d.ts +0 -13
- package/dist/primitives/components/ui/scroll-area/scroll-area.d.ts +0 -12
- package/dist/primitives/components/ui/scroll-area/scroll-area.stories.d.ts +0 -4
- package/dist/primitives/components/ui/scroll-area/scroll-area.style.d.ts +0 -1
- package/dist/primitives/components/ui/select/index.d.ts +0 -25
- package/dist/primitives/components/ui/select/select-controller.d.ts +0 -16
- package/dist/primitives/components/ui/select/select-group.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-item.d.ts +0 -26
- package/dist/primitives/components/ui/select/select-label.d.ts +0 -13
- package/dist/primitives/components/ui/select/select-list.d.ts +0 -10
- package/dist/primitives/components/ui/select/select-seperator.d.ts +0 -8
- package/dist/primitives/components/ui/select/select-trigger.d.ts +0 -35
- package/dist/primitives/components/ui/select/select-value.d.ts +0 -13
- package/dist/primitives/components/ui/select/select.d.ts +0 -18
- package/dist/primitives/components/ui/select/select.stories.d.ts +0 -10
- package/dist/primitives/components/ui/select/select.styles.d.ts +0 -20
- package/dist/primitives/components/ui/separator/_separator.d.ts +0 -21
- package/dist/primitives/components/ui/separator/separator.d.ts +0 -10
- package/dist/primitives/components/ui/separator/separator.defs.d.ts +0 -5
- package/dist/primitives/components/ui/separator/separator.stories.d.ts +0 -9
- package/dist/primitives/components/ui/skeleton/skeleton.d.ts +0 -10
- package/dist/primitives/components/ui/skeleton/skeleton.stories.d.ts +0 -4
- package/dist/primitives/components/ui/skeleton/skeleton.style.d.ts +0 -1
- package/dist/primitives/components/ui/spinner/_spinner.d.ts +0 -18
- package/dist/primitives/components/ui/spinner/spinner.d.ts +0 -10
- package/dist/primitives/components/ui/spinner/spinner.defs.d.ts +0 -15
- package/dist/primitives/components/ui/spinner/spinner.stories.d.ts +0 -11
- package/dist/primitives/components/ui/switch/_switch.d.ts +0 -146
- package/dist/primitives/components/ui/switch/switch.d.ts +0 -10
- package/dist/primitives/components/ui/switch/switch.defs.d.ts +0 -13
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +0 -12
- package/dist/primitives/components/ui/table/table.d.ts +0 -17
- package/dist/primitives/components/ui/table/table.stories.d.ts +0 -4
- package/dist/primitives/components/ui/table/table.styles.d.ts +0 -39
- package/dist/primitives/components/ui/tabs/_tabs-content.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-list.d.ts +0 -29
- package/dist/primitives/components/ui/tabs/_tabs-trigger.d.ts +0 -46
- package/dist/primitives/components/ui/tabs/_tabs.d.ts +0 -28
- package/dist/primitives/components/ui/tabs/tabs.d.ts +0 -17
- package/dist/primitives/components/ui/tabs/tabs.defs.d.ts +0 -22
- package/dist/primitives/components/ui/tabs/tabs.helpers.d.ts +0 -24
- package/dist/primitives/components/ui/tabs/tabs.stories.d.ts +0 -13
- package/dist/primitives/components/ui/textarea/_textarea.d.ts +0 -131
- package/dist/primitives/components/ui/textarea/textarea.d.ts +0 -10
- package/dist/primitives/components/ui/textarea/textarea.defs.d.ts +0 -23
- package/dist/primitives/components/ui/textarea/textarea.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast-action.d.ts +0 -26
- package/dist/primitives/components/ui/toast/toast-description.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-title.d.ts +0 -13
- package/dist/primitives/components/ui/toast/toast-trigger.d.ts +0 -17
- package/dist/primitives/components/ui/toast/toast-view-port.d.ts +0 -23
- package/dist/primitives/components/ui/toast/toast.d.ts +0 -24
- package/dist/primitives/components/ui/toast/toast.stories.d.ts +0 -9
- package/dist/primitives/components/ui/toast/toast.style.d.ts +0 -19
- package/dist/primitives/components/ui/toast/toast.type.d.ts +0 -1
- package/dist/primitives/components/ui/toggle/toggle.d.ts +0 -28
- package/dist/primitives/components/ui/toggle/toggle.defs.d.ts +0 -27
- package/dist/primitives/components/ui/toggle/toggle.stories.d.ts +0 -5
- package/dist/primitives/components/ui/toggle/toggle.style.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group-item.d.ts +0 -42
- package/dist/primitives/components/ui/toggle-group/toggle-group.d.ts +0 -24
- package/dist/primitives/components/ui/toggle-group/toggle-group.defs.d.ts +0 -37
- package/dist/primitives/components/ui/toggle-group/toggle-group.stories.d.ts +0 -4
- package/dist/primitives/components/ui/toggle-group/toggle-group.style.d.ts +0 -5
- package/dist/primitives/components/ui/typography/_typography-blockquote.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-code.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-h.d.ts +0 -27
- package/dist/primitives/components/ui/typography/_typography-large.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-lead.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-list.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-muted.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-p.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-small.d.ts +0 -22
- package/dist/primitives/components/ui/typography/_typography-table.d.ts +0 -13
- package/dist/primitives/components/ui/typography/typography.d.ts +0 -28
- package/dist/primitives/components/ui/typography/typography.defs.d.ts +0 -4
- package/dist/primitives/components/ui/typography/typography.stories.d.ts +0 -18
- package/dist/primitives/helpers/base-element.d.ts +0 -20
- package/dist/primitives/helpers/country-codes.d.ts +0 -5
- package/dist/primitives/helpers/genrate-uuid.helper.d.ts +0 -1
- package/dist/primitives/helpers/index.d.ts +0 -7
- package/dist/primitives/helpers/mouse-conroller.helper.d.ts +0 -14
- package/dist/primitives/helpers/shadow-wrapper.d.ts +0 -7
- package/dist/primitives/helpers/style.helpers.d.ts +0 -2
- package/dist/primitives/helpers/widget-controller.d.ts +0 -12
- package/dist/primitives/index.d.ts +0 -1
- package/dist/primitives/interfaces/atomic.interface.d.ts +0 -6
- package/dist/primitives/interfaces/child-support-atomic.interface.d.ts +0 -4
- package/dist/primitives/interfaces/index.d.ts +0 -4
- package/dist/primitives/interfaces/intractable.interface.d.ts +0 -6
- package/dist/primitives/interfaces/variant.interface.d.ts +0 -3
- package/dist/service/http/fetch.d.ts +0 -21
- package/dist/service/http/index.d.ts +0 -3
- package/dist/service/http/organization/assignable-roles.d.ts +0 -8
- package/dist/service/http/organization/index.d.ts +0 -4
- package/dist/service/http/organization/invitations.d.ts +0 -5
- package/dist/service/http/organization/management-token.d.ts +0 -13
- package/dist/service/http/organization/members.d.ts +0 -6
- package/dist/service/http/user/index.d.ts +0 -9
- package/dist/service/http/user/organizations.d.ts +0 -16
- package/dist/service/index.d.ts +0 -1
- package/dist/stories/preview.stories.d.ts +0 -5
- package/dist/tokens/tailwind/animation.d.ts +0 -7
- package/dist/tokens/tailwind/border-radius.d.ts +0 -45
- package/dist/tokens/tailwind/border-width.d.ts +0 -22
- package/dist/tokens/tailwind/box-shadow.d.ts +0 -12
- package/dist/tokens/tailwind/color.d.ts +0 -193
- package/dist/tokens/tailwind/font-size.d.ts +0 -89
- package/dist/tokens/tailwind/font-weight.d.ts +0 -26
- package/dist/tokens/tailwind/index.d.ts +0 -760
- package/dist/tokens/tailwind/keyframes.d.ts +0 -41
- package/dist/tokens/tailwind/opacity.d.ts +0 -28
- package/dist/tokens/tailwind/ring-offset-width.d.ts +0 -6
- package/dist/tokens/tailwind/ring-width.d.ts +0 -11
- package/dist/tokens/tailwind/spacing.d.ts +0 -264
- package/dist/tokens/tailwind/transition-duration.d.ts +0 -5
- package/dist/tokens/tailwind/transition-timing-function.d.ts +0 -4
- package/dist/tokens/tailwind/translate.d.ts +0 -5
- package/dist/types/auth.d.ts +0 -2
- package/dist/types/common/index.d.ts +0 -15
- package/dist/types/components/index.d.ts +0 -3
- package/dist/types/components/pont-primitives.d.ts +0 -7
- package/dist/types/components/pont-widgets.d.ts +0 -1
- package/dist/types/components/user-profile.d.ts +0 -33
- package/dist/types/core/index.d.ts +0 -61
- package/dist/types/index.d.ts +0 -7
- package/dist/types/layout/index.d.ts +0 -256
- package/dist/types/service/http/common/index.d.ts +0 -6
- package/dist/types/service/http/index.d.ts +0 -5
- package/dist/types/service/http/invitation/index.d.ts +0 -47
- package/dist/types/service/http/member/index.d.ts +0 -43
- package/dist/types/service/http/roles/index.d.ts +0 -19
- package/dist/types/service/http/user/index.d.ts +0 -40
- package/dist/types/service/index.d.ts +0 -1
- package/dist/types/styles/index.d.ts +0 -72
- package/dist/utils/components.d.ts +0 -24
- package/dist/utils/flow-error.d.ts +0 -25
- package/dist/utils/format.d.ts +0 -52
- package/dist/utils/html-base64.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -8
- package/dist/utils/instance-unavailable.d.ts +0 -19
- package/dist/utils/login-hint.d.ts +0 -12
- package/dist/utils/post-auth-destination.d.ts +0 -26
- package/dist/utils/storybook.d.ts +0 -1
- package/dist/utils/styles.d.ts +0 -21
- package/dist/utils/svg-base64.d.ts +0 -2
- package/dist/utils/tailwind.d.ts +0 -7
- package/dist/utils/tokens.d.ts +0 -1
- /package/dist/{pont2/core → core}/attrs.d.ts +0 -0
- /package/dist/{pont2/core → core}/context-root.d.ts +0 -0
- /package/dist/{pont2/core → core}/controllers/roving-focus.d.ts +0 -0
- /package/dist/{pont2/core → core}/form-control.d.ts +0 -0
- /package/dist/{pont2/core → core}/format.d.ts +0 -0
- /package/dist/{pont2/core → core}/icons.d.ts +0 -0
- /package/dist/{pont2/core → core}/index.d.ts +0 -0
- /package/dist/{pont2/core → core}/messages.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/index.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/list.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/modal.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/position.d.ts +0 -0
- /package/dist/{pont2/core → core}/popup/story-helpers.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/account-settings/profile.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/consent/consent-api.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/data-table/rows.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/index.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/member-management/errors.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/member-management/roles.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/multi-email-input/emails.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/pagination/range.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/provider/account-user.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/scope-list/scope-value.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/story-helpers.d.ts +0 -0
- /package/dist/{pont2/kit → kit}/watermark/pontive-logo.d.ts +0 -0
- /package/dist/{pont2/primitives → primitives}/input-otp/otp.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/apply.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/compile.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/manifest.d.ts +0 -0
- /package/dist/{pont2/theme → theme}/validate.d.ts +0 -0
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
import { Style } from '../styles';
|
|
2
|
-
export interface Container {
|
|
3
|
-
type: "flex_column" | "flex_row";
|
|
4
|
-
alignment?: "start" | "center" | "end";
|
|
5
|
-
children: UIElement[];
|
|
6
|
-
}
|
|
7
|
-
export interface ValidationRule {
|
|
8
|
-
type: "required" | "min_length" | "max_length" | "min_value" | "max_value" | "email" | "phone" | "date" | "regex" | "field_match";
|
|
9
|
-
error_message: string;
|
|
10
|
-
length?: number;
|
|
11
|
-
value?: string;
|
|
12
|
-
regex?: string;
|
|
13
|
-
field_match?: string;
|
|
14
|
-
}
|
|
15
|
-
export type ValidationOnEvent = "change" | "blur" | "submit";
|
|
16
|
-
export interface Input {
|
|
17
|
-
type: "number" | "text" | "password" | "email" | "hidden" | "search" | "tel" | "url" | "date" | "month" | "week" | "time" | "datetime-local" | "range" | "color" | "file";
|
|
18
|
-
placeholder?: string;
|
|
19
|
-
autocomplete?: string;
|
|
20
|
-
hint?: string;
|
|
21
|
-
initial_value?: string;
|
|
22
|
-
data_key?: string;
|
|
23
|
-
validation?: {
|
|
24
|
-
rules: ValidationRule[];
|
|
25
|
-
on_event: ValidationOnEvent;
|
|
26
|
-
};
|
|
27
|
-
label?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ImageVariants {
|
|
30
|
-
dark?: string;
|
|
31
|
-
light?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface Image {
|
|
34
|
-
image_url: string;
|
|
35
|
-
link_url?: string;
|
|
36
|
-
}
|
|
37
|
-
export interface Spinner {
|
|
38
|
-
size: number;
|
|
39
|
-
}
|
|
40
|
-
export interface Gap {
|
|
41
|
-
type: "vertical" | "horizontal";
|
|
42
|
-
size: string;
|
|
43
|
-
}
|
|
44
|
-
export interface Label {
|
|
45
|
-
for?: string;
|
|
46
|
-
content: string;
|
|
47
|
-
}
|
|
48
|
-
export interface Logo {
|
|
49
|
-
image_url: string;
|
|
50
|
-
}
|
|
51
|
-
export interface Watermark {
|
|
52
|
-
image_url: string;
|
|
53
|
-
label: string;
|
|
54
|
-
}
|
|
55
|
-
export interface Text {
|
|
56
|
-
content: string;
|
|
57
|
-
text_alignment?: "left" | "center" | "right";
|
|
58
|
-
}
|
|
59
|
-
export interface Html {
|
|
60
|
-
content: string;
|
|
61
|
-
}
|
|
62
|
-
export interface Button {
|
|
63
|
-
type: "secondary" | "link" | "default" | "destructive" | "outline" | "ghost";
|
|
64
|
-
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg";
|
|
65
|
-
invalid?: boolean;
|
|
66
|
-
href?: string;
|
|
67
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | "_unfencedTop";
|
|
68
|
-
text?: string;
|
|
69
|
-
icon_url?: string;
|
|
70
|
-
icon_position?: "start" | "end";
|
|
71
|
-
event: string;
|
|
72
|
-
requires_valid?: string[];
|
|
73
|
-
submit?: boolean;
|
|
74
|
-
}
|
|
75
|
-
export interface Divider {
|
|
76
|
-
text?: string;
|
|
77
|
-
}
|
|
78
|
-
export interface Checkbox {
|
|
79
|
-
label?: string;
|
|
80
|
-
initial_value?: boolean;
|
|
81
|
-
data_key?: string;
|
|
82
|
-
validation?: {
|
|
83
|
-
rules: ValidationRule[];
|
|
84
|
-
on_event: ValidationOnEvent;
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
export interface OTP {
|
|
88
|
-
length: number;
|
|
89
|
-
timeout: number;
|
|
90
|
-
variant?: "digits_only" | "with_spacing" | "with_separator" | "simple";
|
|
91
|
-
data_key?: string;
|
|
92
|
-
event?: string;
|
|
93
|
-
resend?: {
|
|
94
|
-
text?: Text;
|
|
95
|
-
button?: Button;
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
export interface Error {
|
|
99
|
-
variant?: "destructive" | "destructive-tonal";
|
|
100
|
-
icon_url?: string;
|
|
101
|
-
title?: string;
|
|
102
|
-
description?: string;
|
|
103
|
-
message?: string;
|
|
104
|
-
}
|
|
105
|
-
export interface CountdownProperties {
|
|
106
|
-
duration?: number;
|
|
107
|
-
redirect_url?: string;
|
|
108
|
-
content?: string;
|
|
109
|
-
}
|
|
110
|
-
export type DataElement = {
|
|
111
|
-
element_type: "checkbox";
|
|
112
|
-
id: string;
|
|
113
|
-
properties: Checkbox;
|
|
114
|
-
style: Style;
|
|
115
|
-
class: string;
|
|
116
|
-
data_key: string;
|
|
117
|
-
} | {
|
|
118
|
-
element_type: "input";
|
|
119
|
-
id: string;
|
|
120
|
-
properties: Input;
|
|
121
|
-
style: Style;
|
|
122
|
-
class: string;
|
|
123
|
-
data_key: string;
|
|
124
|
-
} | {
|
|
125
|
-
element_type: "otp";
|
|
126
|
-
id: string;
|
|
127
|
-
properties: OTP;
|
|
128
|
-
style: Style;
|
|
129
|
-
class: string;
|
|
130
|
-
data_key: string;
|
|
131
|
-
};
|
|
132
|
-
export type UIElement = {
|
|
133
|
-
element_type: "container";
|
|
134
|
-
id: string;
|
|
135
|
-
properties: Container;
|
|
136
|
-
style: Style;
|
|
137
|
-
class: string;
|
|
138
|
-
hidden?: boolean;
|
|
139
|
-
} | {
|
|
140
|
-
element_type: "label";
|
|
141
|
-
id: string;
|
|
142
|
-
properties: Label;
|
|
143
|
-
style: Style;
|
|
144
|
-
class: string;
|
|
145
|
-
hidden?: boolean;
|
|
146
|
-
} | {
|
|
147
|
-
element_type: "gap";
|
|
148
|
-
id: string;
|
|
149
|
-
properties: Gap;
|
|
150
|
-
style: Style;
|
|
151
|
-
class: string;
|
|
152
|
-
hidden?: boolean;
|
|
153
|
-
} | {
|
|
154
|
-
element_type: "html";
|
|
155
|
-
id: string;
|
|
156
|
-
properties: Html;
|
|
157
|
-
style: Style;
|
|
158
|
-
class: string;
|
|
159
|
-
hidden?: boolean;
|
|
160
|
-
} | {
|
|
161
|
-
element_type: "input";
|
|
162
|
-
id: string;
|
|
163
|
-
properties: Input;
|
|
164
|
-
style: Style;
|
|
165
|
-
class: string;
|
|
166
|
-
data_key?: string;
|
|
167
|
-
hidden?: boolean;
|
|
168
|
-
} | {
|
|
169
|
-
element_type: "image";
|
|
170
|
-
id: string;
|
|
171
|
-
properties: Image;
|
|
172
|
-
style: Style;
|
|
173
|
-
class: string;
|
|
174
|
-
hidden?: boolean;
|
|
175
|
-
} | {
|
|
176
|
-
element_type: "spinner";
|
|
177
|
-
id: string;
|
|
178
|
-
properties: Spinner;
|
|
179
|
-
style: Style;
|
|
180
|
-
class: string;
|
|
181
|
-
hidden?: boolean;
|
|
182
|
-
} | {
|
|
183
|
-
element_type: "logo";
|
|
184
|
-
id: string;
|
|
185
|
-
properties: Logo;
|
|
186
|
-
style: Style;
|
|
187
|
-
class: string;
|
|
188
|
-
hidden?: boolean;
|
|
189
|
-
} | {
|
|
190
|
-
element_type: "text";
|
|
191
|
-
id: string;
|
|
192
|
-
properties: Text;
|
|
193
|
-
style: Style;
|
|
194
|
-
class: string;
|
|
195
|
-
hidden?: boolean;
|
|
196
|
-
} | {
|
|
197
|
-
element_type: "button";
|
|
198
|
-
id: string;
|
|
199
|
-
properties: Button;
|
|
200
|
-
style: Style;
|
|
201
|
-
class: string;
|
|
202
|
-
hidden?: boolean;
|
|
203
|
-
} | {
|
|
204
|
-
element_type: "divider";
|
|
205
|
-
id: string;
|
|
206
|
-
properties: Divider;
|
|
207
|
-
style: Style;
|
|
208
|
-
class: string;
|
|
209
|
-
hidden?: boolean;
|
|
210
|
-
} | {
|
|
211
|
-
element_type: "checkbox";
|
|
212
|
-
id: string;
|
|
213
|
-
properties: Checkbox;
|
|
214
|
-
style: Style;
|
|
215
|
-
class: string;
|
|
216
|
-
data_key?: string;
|
|
217
|
-
hidden?: boolean;
|
|
218
|
-
} | {
|
|
219
|
-
element_type: "otp";
|
|
220
|
-
id: string;
|
|
221
|
-
properties: OTP;
|
|
222
|
-
style: Style;
|
|
223
|
-
class: string;
|
|
224
|
-
data_key?: string;
|
|
225
|
-
hidden?: boolean;
|
|
226
|
-
} | {
|
|
227
|
-
element_type: "error";
|
|
228
|
-
id: string;
|
|
229
|
-
properties: Error;
|
|
230
|
-
style: Style;
|
|
231
|
-
class: string;
|
|
232
|
-
hidden?: boolean;
|
|
233
|
-
} | {
|
|
234
|
-
element_type: "watermark";
|
|
235
|
-
id: string;
|
|
236
|
-
properties: Watermark;
|
|
237
|
-
style: Style;
|
|
238
|
-
class: string;
|
|
239
|
-
hidden?: boolean;
|
|
240
|
-
} | {
|
|
241
|
-
element_type: "countdown";
|
|
242
|
-
id: string;
|
|
243
|
-
properties: CountdownProperties;
|
|
244
|
-
style: Style;
|
|
245
|
-
class: string;
|
|
246
|
-
hidden?: boolean;
|
|
247
|
-
};
|
|
248
|
-
export interface RenderSpec {
|
|
249
|
-
root_container: UIElement;
|
|
250
|
-
}
|
|
251
|
-
export interface EventResponse {
|
|
252
|
-
next_screen: string;
|
|
253
|
-
state: string;
|
|
254
|
-
session_token: string;
|
|
255
|
-
render_spec: RenderSpec;
|
|
256
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Pagination } from '../../..';
|
|
2
|
-
export interface InvitedBy {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
|
-
export interface Invitation {
|
|
7
|
-
id: string;
|
|
8
|
-
organization_id: string;
|
|
9
|
-
invitee_email: string;
|
|
10
|
-
roles: {
|
|
11
|
-
key: string;
|
|
12
|
-
name: string;
|
|
13
|
-
}[];
|
|
14
|
-
invited_by: InvitedBy;
|
|
15
|
-
created_at: number;
|
|
16
|
-
updated_at: number;
|
|
17
|
-
expires_at: number;
|
|
18
|
-
last_sent_at: number;
|
|
19
|
-
resend_count: number;
|
|
20
|
-
message?: string;
|
|
21
|
-
object: string;
|
|
22
|
-
}
|
|
23
|
-
export interface InvitationsResponse {
|
|
24
|
-
data: Invitation[];
|
|
25
|
-
pagination: Pagination;
|
|
26
|
-
object: string;
|
|
27
|
-
}
|
|
28
|
-
export interface GetInvitationsParams {
|
|
29
|
-
invitee_emails?: string[];
|
|
30
|
-
invited_by?: string;
|
|
31
|
-
search?: string;
|
|
32
|
-
page?: number;
|
|
33
|
-
limit?: number;
|
|
34
|
-
order?: string;
|
|
35
|
-
roles?: string;
|
|
36
|
-
}
|
|
37
|
-
export interface InviteMembersRequest {
|
|
38
|
-
emails: string[];
|
|
39
|
-
/** Organization roles; with none, the organization's roles-on-join apply. */
|
|
40
|
-
roles?: string[];
|
|
41
|
-
message?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The app the invitation is for: its sign-in domain, branding and flows are
|
|
44
|
-
* what the invitee sees. Required when several apps admit the organization.
|
|
45
|
-
*/
|
|
46
|
-
app_id?: string;
|
|
47
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Pagination } from '../../..';
|
|
2
|
-
export interface MemberUser {
|
|
3
|
-
id: string;
|
|
4
|
-
email: string;
|
|
5
|
-
email_verified: boolean;
|
|
6
|
-
family_name: string;
|
|
7
|
-
given_name: string;
|
|
8
|
-
name: string;
|
|
9
|
-
picture: string;
|
|
10
|
-
status: string;
|
|
11
|
-
username: string;
|
|
12
|
-
}
|
|
13
|
-
export interface Member {
|
|
14
|
-
id: string;
|
|
15
|
-
organization_id: string;
|
|
16
|
-
organization_name: string;
|
|
17
|
-
organization_slug: string;
|
|
18
|
-
instance_id: string;
|
|
19
|
-
roles: {
|
|
20
|
-
key: string;
|
|
21
|
-
name: string;
|
|
22
|
-
}[];
|
|
23
|
-
joined_at: string;
|
|
24
|
-
last_active_at: string;
|
|
25
|
-
created_at: string;
|
|
26
|
-
updated_at: string;
|
|
27
|
-
object: string;
|
|
28
|
-
user: MemberUser;
|
|
29
|
-
}
|
|
30
|
-
export interface MembersResponse {
|
|
31
|
-
data: Member[];
|
|
32
|
-
pagination: Pagination;
|
|
33
|
-
object: string;
|
|
34
|
-
}
|
|
35
|
-
export interface GetMembersParams {
|
|
36
|
-
user_ids?: string[];
|
|
37
|
-
emails?: string[];
|
|
38
|
-
search?: string;
|
|
39
|
-
page?: number;
|
|
40
|
-
limit?: number;
|
|
41
|
-
order?: string;
|
|
42
|
-
roles?: string;
|
|
43
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A role a member of an organization can be given
|
|
3
|
-
* (GET /organizations/{org_id}/assignable-roles).
|
|
4
|
-
*/
|
|
5
|
-
export interface AssignableRole {
|
|
6
|
-
key: string;
|
|
7
|
-
name: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
/** Assigning or removing it transfers ownership (`owner`). */
|
|
10
|
-
requires_transfer: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Whether the caller may assign or remove it: false for a role carrying
|
|
13
|
-
* permissions the caller does not hold, and for `owner` without the right to
|
|
14
|
-
* transfer ownership. A role picker shows it locked.
|
|
15
|
-
*/
|
|
16
|
-
assignable_by_caller: boolean;
|
|
17
|
-
/** A custom role defined for this organization alone, not the instance. */
|
|
18
|
-
organization_scoped: boolean;
|
|
19
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export interface User {
|
|
2
|
-
birthdate?: number;
|
|
3
|
-
created_at?: number;
|
|
4
|
-
email?: string;
|
|
5
|
-
email_verified?: boolean;
|
|
6
|
-
family_name?: string;
|
|
7
|
-
gender?: string;
|
|
8
|
-
given_name?: string;
|
|
9
|
-
id: string;
|
|
10
|
-
locale?: string;
|
|
11
|
-
metadata?: Record<string, unknown>;
|
|
12
|
-
middle_name?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
nickname?: string;
|
|
15
|
-
object?: string;
|
|
16
|
-
password_change_required?: boolean;
|
|
17
|
-
phone?: string;
|
|
18
|
-
phone_verified?: boolean;
|
|
19
|
-
picture?: string;
|
|
20
|
-
private_metadata?: Record<string, unknown>;
|
|
21
|
-
profile?: string;
|
|
22
|
-
instance_id?: string;
|
|
23
|
-
status?: string;
|
|
24
|
-
updated_at?: number;
|
|
25
|
-
username?: string;
|
|
26
|
-
website?: string;
|
|
27
|
-
zoneinfo?: string;
|
|
28
|
-
address?: UserAddress;
|
|
29
|
-
}
|
|
30
|
-
export interface UserAddress {
|
|
31
|
-
country?: string;
|
|
32
|
-
formatted?: string;
|
|
33
|
-
locality?: string;
|
|
34
|
-
postal_code?: string;
|
|
35
|
-
region?: string;
|
|
36
|
-
street_address?: string;
|
|
37
|
-
}
|
|
38
|
-
export type UpdateUserRequest = Partial<User> & {
|
|
39
|
-
readonly_metadata?: Record<string, unknown>;
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './http';
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export type Breakpoints = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
2
|
-
export interface Style {
|
|
3
|
-
[prop: string]: string | number | undefined | null | Style;
|
|
4
|
-
}
|
|
5
|
-
export interface ICustomizationOptions {
|
|
6
|
-
class?: string;
|
|
7
|
-
style?: Style;
|
|
8
|
-
rule?: "override" | "merge";
|
|
9
|
-
font?: "font-geist" | "font-inter" | "font-roboto" | "font-open-sans" | "font-lato" | "font-montserrat";
|
|
10
|
-
}
|
|
11
|
-
export interface ICustomizations {
|
|
12
|
-
byType?: {
|
|
13
|
-
gap?: ICustomizationOptions;
|
|
14
|
-
header?: {
|
|
15
|
-
container: ICustomizationOptions;
|
|
16
|
-
title: ICustomizationOptions;
|
|
17
|
-
subtitle: ICustomizationOptions;
|
|
18
|
-
};
|
|
19
|
-
loader?: {
|
|
20
|
-
spinner?: ICustomizationOptions;
|
|
21
|
-
linear?: ICustomizationOptions;
|
|
22
|
-
};
|
|
23
|
-
logo?: ICustomizationOptions;
|
|
24
|
-
buttons?: {
|
|
25
|
-
defaultButton?: ICustomizationOptions;
|
|
26
|
-
secondaryButton?: ICustomizationOptions;
|
|
27
|
-
linkButton?: ICustomizationOptions;
|
|
28
|
-
outlineButton?: ICustomizationOptions;
|
|
29
|
-
ghostButton?: ICustomizationOptions;
|
|
30
|
-
destructiveButton?: ICustomizationOptions;
|
|
31
|
-
};
|
|
32
|
-
container?: ICustomizationOptions;
|
|
33
|
-
errors?: {
|
|
34
|
-
inputError?: ICustomizationOptions;
|
|
35
|
-
serviceError?: ICustomizationOptions;
|
|
36
|
-
};
|
|
37
|
-
inputs?: {
|
|
38
|
-
inputContainer?: ICustomizationOptions;
|
|
39
|
-
inputField?: ICustomizationOptions;
|
|
40
|
-
inputLabel?: ICustomizationOptions;
|
|
41
|
-
inputHint?: ICustomizationOptions;
|
|
42
|
-
inputError?: ICustomizationOptions;
|
|
43
|
-
};
|
|
44
|
-
labels?: {
|
|
45
|
-
inputLabel?: ICustomizationOptions;
|
|
46
|
-
checkboxLabel?: ICustomizationOptions;
|
|
47
|
-
};
|
|
48
|
-
divider?: ICustomizationOptions;
|
|
49
|
-
timer?: {
|
|
50
|
-
countdowns?: ICustomizationOptions;
|
|
51
|
-
};
|
|
52
|
-
userProfile?: {
|
|
53
|
-
container?: ICustomizationOptions;
|
|
54
|
-
sidebar?: ICustomizationOptions;
|
|
55
|
-
sidebarTabs?: ICustomizationOptions;
|
|
56
|
-
sidebarBurgerMenu?: ICustomizationOptions;
|
|
57
|
-
userProfileCard?: {
|
|
58
|
-
container?: ICustomizationOptions;
|
|
59
|
-
header?: {
|
|
60
|
-
container?: ICustomizationOptions;
|
|
61
|
-
title?: ICustomizationOptions;
|
|
62
|
-
};
|
|
63
|
-
editForm?: ICustomizationOptions;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
byId?: Record<string, ICustomizationOptions>;
|
|
68
|
-
config?: {
|
|
69
|
-
breakpoints?: Partial<Record<Breakpoints, string>>;
|
|
70
|
-
font?: "font-geist" | "font-inter" | "font-roboto" | "font-open-sans" | "font-lato" | "font-montserrat";
|
|
71
|
-
};
|
|
72
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ICustomizationOptions, ICustomizations, Style } from '../types';
|
|
2
|
-
import { AuthService } from '@pontive/oidc-client';
|
|
3
|
-
export declare function mapAlignment(alignment: string): string;
|
|
4
|
-
export declare function mapBtnToCustomizedStyle(variant: "secondary" | "link" | "default" | "destructive" | "outline" | "ghost", customizations: ICustomizations): ICustomizationOptions | undefined;
|
|
5
|
-
export declare function applyCustomizations(defaultClass: string, defaultStyle?: Style | CSSStyleDeclaration, typeCustomization?: ICustomizationOptions, elementId?: string, customizations?: ICustomizations, isRootContainer?: boolean): {
|
|
6
|
-
class: string;
|
|
7
|
-
style: Style;
|
|
8
|
-
};
|
|
9
|
-
export declare const genRandSeed: () => string;
|
|
10
|
-
export declare function showDestructiveToast(message: string): void;
|
|
11
|
-
/**
|
|
12
|
-
* Waits until Auth.configure() has run, so a widget that mounted first does not
|
|
13
|
-
* start a flow that would throw NOT_CONFIGURED.
|
|
14
|
-
*
|
|
15
|
-
* This used to read `__configured` and `__whenConfigured` off the Auth object.
|
|
16
|
-
* Neither property has ever existed, so every call returned immediately and the
|
|
17
|
-
* race it was written for was never actually guarded — it only looked guarded,
|
|
18
|
-
* which is worse than not having it.
|
|
19
|
-
*
|
|
20
|
-
* The timeout is deliberate. A host that never configures Auth is a
|
|
21
|
-
* misconfiguration, and hanging the widget forever hides it; proceeding lets the
|
|
22
|
-
* call fail with NOT_CONFIGURED, which says what is wrong.
|
|
23
|
-
*/
|
|
24
|
-
export declare function waitForAuthConfigured(auth: AuthService, timeoutMs?: number): Promise<void>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What a flow failure says to the person on the screen.
|
|
3
|
-
*
|
|
4
|
-
* A refusal's sentence is the server's: it is raised by message code and
|
|
5
|
-
* worded in the flow's language and the instance's own copy before it is sent
|
|
6
|
-
* (branding-svc pkg/message), so the widget shows it as it comes rather than
|
|
7
|
-
* substituting English of its own. What is worded here is only what the server
|
|
8
|
-
* cannot say — it was unreachable, or failed outright.
|
|
9
|
-
*
|
|
10
|
-
* A step that fails and can be retried (a wrong password, an invalid code)
|
|
11
|
-
* comes back as a screen with the error banner already in it. Everything else
|
|
12
|
-
* comes back as an exception: the request failed, or the flow is over. Those
|
|
13
|
-
* used to reach only the console, so the page sat on the screen it was showing
|
|
14
|
-
* with nothing to say what had happened.
|
|
15
|
-
*/
|
|
16
|
-
export interface FlowErrorDescription {
|
|
17
|
-
/** A sentence for the banner. */
|
|
18
|
-
message: string;
|
|
19
|
-
/**
|
|
20
|
-
* The flow has ended and takes no more events, so the screen on show is dead.
|
|
21
|
-
* The only way on is to start the flow again.
|
|
22
|
-
*/
|
|
23
|
-
restartable: boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare function describeFlowError(error: unknown): FlowErrorDescription;
|
package/dist/utils/format.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a Unix timestamp (seconds since epoch) to a formatted object
|
|
3
|
-
* @param timestamp - Unix timestamp in seconds (or milliseconds if isMilliseconds is true)
|
|
4
|
-
* @param isMilliseconds - Set to true if timestamp is in milliseconds (default: false)
|
|
5
|
-
* @returns Object with formatted date and clock strings
|
|
6
|
-
*/
|
|
7
|
-
export declare function formatTimestamp(timestamp: number, isMilliseconds?: boolean): {
|
|
8
|
-
date: string;
|
|
9
|
-
clock: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Formats a date relative to today:
|
|
13
|
-
* - "Today" (same day)
|
|
14
|
-
* - "Yesterday" (1 day ago)
|
|
15
|
-
* - Day-of-week (2–6 days ago, e.g. "Monday")
|
|
16
|
-
* - Formatted date (7+ days ago, e.g. "Jan 15, 2024")
|
|
17
|
-
*
|
|
18
|
-
* @param timestamp - Unix timestamp in seconds OR an ISO date string
|
|
19
|
-
* @param isMilliseconds - set to true if timestamp is in milliseconds (default: false)
|
|
20
|
-
* @returns Human-readable label
|
|
21
|
-
*/
|
|
22
|
-
export declare function formatRelativeDateLabel(timestamp: number | string, isMilliseconds?: boolean): string;
|
|
23
|
-
/**
|
|
24
|
-
* Returns the time part (HH:MM) from a timestamp.
|
|
25
|
-
* @param timestamp - Unix timestamp in seconds OR an ISO date string
|
|
26
|
-
* @param isMilliseconds - set to true if timestamp is in milliseconds (default: false)
|
|
27
|
-
* @returns Time string like "14:30"
|
|
28
|
-
*/
|
|
29
|
-
export declare function formatTime(timestamp: number | string, isMilliseconds?: boolean): string;
|
|
30
|
-
export declare const formatDate: (dateString: string | number) => {
|
|
31
|
-
date: string;
|
|
32
|
-
time: string;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Returns relative time (e.g., "2 hours ago", "3 days ago")
|
|
36
|
-
* @param timestamp - Unix timestamp in seconds
|
|
37
|
-
* @returns Human-readable relative time string
|
|
38
|
-
*/
|
|
39
|
-
export declare function formatRelativeTime(timestamp: number): string;
|
|
40
|
-
/**
|
|
41
|
-
* Up to two initials for an avatar fallback.
|
|
42
|
-
*
|
|
43
|
-
* First letter of the first and last word, so "Mehdi Soltany" is MS. This used
|
|
44
|
-
* to be `slice(0, 2)`, which took the first two letters of whatever it was
|
|
45
|
-
* handed: "ME" for that name, and for an email the first two letters of the
|
|
46
|
-
* local part, so colleagues with similar addresses all collided.
|
|
47
|
-
*
|
|
48
|
-
* An email is reduced to its local part first — the domain is shared by every
|
|
49
|
-
* colleague and says nothing about who this is.
|
|
50
|
-
*/
|
|
51
|
-
export declare function getInitials(str?: string): string;
|
|
52
|
-
export declare function errorMessage(error: unknown, fallback: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function base64ToHtml(base64: string): string;
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A stopped instance: paused, or its owner's Pontive account paused, cancelled
|
|
3
|
-
* or deleted. Pontive refuses everything it serves to end users with this one
|
|
4
|
-
* code and no reason (pontive-spec 01, Who is told why), so every widget says
|
|
5
|
-
* the same thing: "This app isn't available right now."
|
|
6
|
-
*/
|
|
7
|
-
export declare const INSTANCE_UNAVAILABLE = "instance_unavailable";
|
|
8
|
-
/** Whether a failed call was refused because the instance has stopped. */
|
|
9
|
-
export declare function isInstanceUnavailable(error: unknown): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Keep the sentence a stopped instance's auth domain refused with. Once the
|
|
12
|
-
* instance has stopped, the page can no longer ask for its text, so the auth
|
|
13
|
-
* service words the refusal itself, in the page's language and the instance's
|
|
14
|
-
* copy; kept here, it is what msg("instance_unavailable") says from then on,
|
|
15
|
-
* including for refusals from services that send only English.
|
|
16
|
-
*/
|
|
17
|
-
export declare function rememberUnavailable(sentence?: string): void;
|
|
18
|
-
/** The sentence to show for a refusal of a stopped instance. */
|
|
19
|
-
export declare function instanceUnavailableMessage(): string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The identifier the page was opened with as OpenID Connect's `login_hint`, or
|
|
3
|
-
* undefined when there is none.
|
|
4
|
-
*
|
|
5
|
-
* /oauth2/authorize forwards an app's `login_hint` to the hosted pages, and an
|
|
6
|
-
* accepted invitation sends the invitee to the app's sign-in page
|
|
7
|
-
* (initiate_login_uri) with the address it was sent to. Either way it is in the
|
|
8
|
-
* page's query string, and the identifier fields pre-fill from it so nobody
|
|
9
|
-
* types the address they were just invited at. It only pre-fills: the user can
|
|
10
|
-
* change it, and nothing is trusted because of it.
|
|
11
|
-
*/
|
|
12
|
-
export declare function loginHint(search?: string | undefined): string | undefined;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EnvConfig } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Where to send the browser once a flow has authenticated someone, or null to
|
|
4
|
-
* stay put.
|
|
5
|
-
*
|
|
6
|
-
* Pure, and separate from the provider, because the rule is easy to get subtly
|
|
7
|
-
* wrong and impossible to see when it is: getting it wrong means a page that
|
|
8
|
-
* finished its work and said nothing. That is what happened to invitations —
|
|
9
|
-
* the invitee was authenticated and the invitation accepted, while the page sat
|
|
10
|
-
* on the verification step, because the rule was "redirect only from the
|
|
11
|
-
* sign-in or sign-up page" and an invitation is answered on neither.
|
|
12
|
-
*/
|
|
13
|
-
export interface PostAuthPage {
|
|
14
|
-
/** The page's path, e.g. window.location.pathname. */
|
|
15
|
-
pathname: string;
|
|
16
|
-
/** The page's query, e.g. window.location.search. */
|
|
17
|
-
search: string;
|
|
18
|
-
env: Pick<EnvConfig, "signinUrl" | "signupUrl" | "invitationUrl" | "signinRedirectUrl">;
|
|
19
|
-
}
|
|
20
|
-
export declare function postAuthDestination({ pathname, search, env }: PostAuthPage): string | null;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the page was opened to answer an invitation: its query carries the
|
|
23
|
-
* token an invitation link does. Any page mounting a widget can be one — for a
|
|
24
|
-
* regular app it is the app's own sign-in page, its initiate_login_uri.
|
|
25
|
-
*/
|
|
26
|
-
export declare function answersInvitation(search: string): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const genTypeString: (values: string[]) => string;
|