@pontive/pontkit-core 1.1.3 → 1.2.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.
Files changed (29) hide show
  1. package/README.md +6 -6
  2. package/catalog.json +1 -1
  3. package/custom-elements.json +1 -1
  4. package/dist/components/renderers/visuals/watermark/_watermark.d.ts +21 -0
  5. package/dist/components/widgets/index.d.ts +1 -1
  6. package/dist/components/widgets/pont-account-menu/index.d.ts +1 -0
  7. package/dist/components/widgets/{pont-nav-user/pont-nav-user.d.ts → pont-account-menu/pont-account-menu.d.ts} +35 -2
  8. package/dist/components/widgets/pont-account-settings/pont-account-settings.d.ts +12 -0
  9. package/dist/components/widgets/pont-account-settings/profile/classes.d.ts +9 -0
  10. package/dist/components/widgets/pont-account-settings/profile/components/account-info.d.ts +59 -12
  11. package/dist/components/widgets/pont-account-settings/profile/components/location-info.d.ts +13 -0
  12. package/dist/components/widgets/pont-account-settings/profile/components/personal-info.d.ts +19 -0
  13. package/dist/components/widgets/pont-account-settings/profile/components/urls-info.d.ts +6 -0
  14. package/dist/components/widgets/pont-account-settings/sidebar/classes.d.ts +0 -1
  15. package/dist/element-tag-map.d.ts +2 -2
  16. package/dist/index.js +724 -782
  17. package/dist/index.js.map +1 -1
  18. package/dist/index.mjs +4115 -4001
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/primitives/components/ui/select/select-trigger.d.ts +15 -0
  21. package/dist/service/http/fetch.d.ts +3 -3
  22. package/dist/service/http/user/index.d.ts +1 -1
  23. package/dist/styles.css +222 -86
  24. package/dist/types/core/index.d.ts +1 -8
  25. package/dist/types/service/http/member/index.d.ts +1 -1
  26. package/dist/types/service/http/user/index.d.ts +1 -1
  27. package/dist/utils/format.d.ts +12 -0
  28. package/package.json +2 -2
  29. package/dist/components/widgets/pont-nav-user/index.d.ts +0 -1
package/README.md CHANGED
@@ -18,9 +18,8 @@ dependencies, so installing this does not drag one in.
18
18
  ```js
19
19
  // `env` is a property, not an attribute — it is an object.
20
20
  document.querySelector("pont-provider").env = {
21
- domain: "tenant.idp.us.pontive.app", // or "/__auth" when proxied
21
+ domain: "my-app.auth.us.pontive.app", // or "/__auth" when proxied
22
22
  appId: "app_...",
23
- projectId: "proj_...",
24
23
  apiBaseUrl: "https://api...",
25
24
  };
26
25
  ```
@@ -46,15 +45,15 @@ prefixed too — those class names land in the host application's stylesheet.
46
45
  Not bundled by the app. `@pontive/pontkit-loader` fetches this package at
47
46
  runtime from a URL the platform decides:
48
47
 
49
- 1. The project's auth server names an **exact** release and its SRI hashes
48
+ 1. The instance's auth server names an **exact** release and its SRI hashes
50
49
  (`GET /auth/v1/runtime-config`). This is how a canary or a hot fix reaches a
51
50
  deployed app with nothing rebuilt.
52
51
  2. Failing that, the exact release the binding was built and tested against.
53
52
 
54
53
  Never a range and never `latest` — an exact version is immutable on the CDN,
55
54
  cacheable forever, and the only form that admits an integrity hash. Which
56
- release a project serves is administered in `branding-svc`
57
- (`deployment_core_elements`, with a per-project override for canaries).
55
+ release an instance serves is administered in `branding-svc`
56
+ (`deployment_core_elements`, with a per-instance override for canaries).
58
57
 
59
58
  Install it directly only to generate bindings or to run the catalog checks; a
60
59
  front end takes `@pontive/pontkit-react` and lets the loader do the rest.
@@ -138,5 +137,6 @@ it is simply never generated, and the element quietly loses its styling.
138
137
  |---|---|
139
138
  | [`pontive-oidc-client`](https://github.com/revotech-group/pontive-oidc-client) | `@pontive/oidc-client` — the auth engine this wraps |
140
139
  | [`pontkit`](https://github.com/revotech-group/pontkit) | The loader and the framework bindings |
141
- | `branding-svc` | Curates the catalog, compiles brand tokens, decides which release a project serves |
140
+ | `branding-svc` | Curates the catalog, compiles brand tokens, decides which release an instance serves |
142
141
  | `identity-svc` | Serves the flow definitions these elements render |
142
+
package/catalog.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.3",
2
+ "version": "1.2.0",
3
3
  "elements": [
4
4
  {
5
5
  "tag": "pont-otp-resend",