@pontive/pontkit-core 1.3.3 → 1.5.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 +27 -1
- package/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/components/widgets/index.d.ts +1 -0
- package/dist/components/widgets/pont-organization-switcher/index.d.ts +1 -0
- package/dist/components/widgets/pont-organization-switcher/pont-organization-switcher.d.ts +52 -0
- package/dist/element-tag-map.d.ts +2 -0
- package/dist/index.js +631 -599
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4011 -3795
- package/dist/index.mjs.map +1 -1
- package/dist/service/http/user/index.d.ts +1 -0
- package/dist/service/http/user/organizations.d.ts +16 -0
- package/dist/styles.css +7 -0
- package/package.json +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** One organization the signed-in user belongs to (GET /me/organizations). */
|
|
2
|
+
export interface MyOrganization {
|
|
3
|
+
resource_id: string;
|
|
4
|
+
resource_name?: string;
|
|
5
|
+
resource_type: string;
|
|
6
|
+
roles: {
|
|
7
|
+
key: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The organizations the signed-in user is a direct member of. Organizations
|
|
13
|
+
* reached only by inheritance (a child of one the user belongs to) are not
|
|
14
|
+
* listed; the user can still be switched into them by id.
|
|
15
|
+
*/
|
|
16
|
+
export declare function listMyOrganizations(): Promise<MyOrganization[]>;
|
package/dist/styles.css
CHANGED
|
@@ -14488,6 +14488,9 @@ video {
|
|
|
14488
14488
|
.pont-max-w-2xl{
|
|
14489
14489
|
max-width: 42rem;
|
|
14490
14490
|
}
|
|
14491
|
+
.pont-max-w-48{
|
|
14492
|
+
max-width: 12rem;
|
|
14493
|
+
}
|
|
14491
14494
|
.pont-max-w-7xl{
|
|
14492
14495
|
max-width: 80rem;
|
|
14493
14496
|
}
|
|
@@ -15712,6 +15715,10 @@ video {
|
|
|
15712
15715
|
padding-top: 0.25rem;
|
|
15713
15716
|
padding-bottom: 0.25rem;
|
|
15714
15717
|
}
|
|
15718
|
+
.pont-py-1\.5{
|
|
15719
|
+
padding-top: 0.375rem;
|
|
15720
|
+
padding-bottom: 0.375rem;
|
|
15721
|
+
}
|
|
15715
15722
|
.pont-py-2{
|
|
15716
15723
|
padding-top: 0.5rem;
|
|
15717
15724
|
padding-bottom: 0.5rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pontive/pontkit-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A collection of core components for Pontive",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@lit/context": "^1.1.0",
|
|
79
79
|
"@lit/reactive-element": "^2.1.0",
|
|
80
80
|
"@open-wc/lit-helpers": "^0.7.0",
|
|
81
|
-
"@pontive/oidc-client": "^1.
|
|
81
|
+
"@pontive/oidc-client": "^1.3.0",
|
|
82
82
|
"class-variance-authority": "^0.7.0",
|
|
83
83
|
"clsx": "^2.1.0",
|
|
84
84
|
"jsoneditor": "^10.2.0",
|