@functionalcms/svelte-components 2.17.2 → 2.17.4
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/dist/auth/auth.d.ts +1 -1
- package/dist/auth/auth.js +1 -1
- package/dist/index-server.d.ts +2 -0
- package/dist/index-server.js +2 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/package.json +5 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@sveltejs/kit" />
|
|
2
|
-
export declare const configureAuthentication: (secret: string, projectId: string, issuer: string, clientId: string, clientSecret: string) => {
|
|
2
|
+
export declare const configureAuthentication: (secret: string, projectId: string, issuer: string, clientId: string, clientSecret: string) => () => {
|
|
3
3
|
handle: import("@sveltejs/kit").Handle;
|
|
4
4
|
signIn: import("@sveltejs/kit").Action;
|
|
5
5
|
signOut: import("@sveltejs/kit").Action;
|
package/dist/auth/auth.js
CHANGED
|
@@ -19,7 +19,7 @@ function getRoles(roles) {
|
|
|
19
19
|
const rolesScope = (projectId) => `urn:zitadel:iam:org:project:${projectId}:roles`;
|
|
20
20
|
const metadataScope = `urn:zitadel:iam:user:metadata`;
|
|
21
21
|
export const configureAuthentication = (secret, projectId, issuer, clientId, clientSecret) => {
|
|
22
|
-
return SvelteKitAuth({
|
|
22
|
+
return () => SvelteKitAuth({
|
|
23
23
|
secret: secret,
|
|
24
24
|
trustHost: true,
|
|
25
25
|
providers: [Zitadel({
|
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ import { title, suffix } from './stores/title.js';
|
|
|
24
24
|
import { pages } from './stores/pages.js';
|
|
25
25
|
import { metaDescription, metaKeywords } from './stores/meta.js';
|
|
26
26
|
import { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
|
|
27
|
-
import { configureAuthentication } from './auth/auth.js';
|
|
28
27
|
import { Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts } from 'agnostic-svelte';
|
|
29
|
-
export { Visiblity, HeaderNavigationItem, DynamicMenu, FlatMenu, ColumnMenu, HamburgerMenu, BlogTitle, BlogDescription, listAllPosts, importPost, DefaultLayout, TwoColumnsLayout, Banner, Link, Logo, SimpleFooter, Gallery, Carusel, CaruseleItem, Spacer, Well, Justify, Placement, Orientation, AlignItmes, Position, Sizes, ShowItem, convertShowItemsToNavigationItems, title, suffix, pages, metaDescription, metaKeywords, Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts
|
|
28
|
+
export { Visiblity, HeaderNavigationItem, DynamicMenu, FlatMenu, ColumnMenu, HamburgerMenu, BlogTitle, BlogDescription, listAllPosts, importPost, DefaultLayout, TwoColumnsLayout, Banner, Link, Logo, SimpleFooter, Gallery, Carusel, CaruseleItem, Spacer, Well, Justify, Placement, Orientation, AlignItmes, Position, Sizes, ShowItem, convertShowItemsToNavigationItems, title, suffix, pages, metaDescription, metaKeywords, Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts };
|
|
30
29
|
export type { BlogPost };
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,5 @@ import { title, suffix } from './stores/title.js';
|
|
|
23
23
|
import { pages } from './stores/pages.js';
|
|
24
24
|
import { metaDescription, metaKeywords } from './stores/meta.js';
|
|
25
25
|
import { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
|
|
26
|
-
import { configureAuthentication } from './auth/auth.js';
|
|
27
26
|
import { Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts } from 'agnostic-svelte';
|
|
28
|
-
export { Visiblity, HeaderNavigationItem, DynamicMenu, FlatMenu, ColumnMenu, HamburgerMenu, BlogTitle, BlogDescription, listAllPosts, importPost, DefaultLayout, TwoColumnsLayout, Banner, Link, Logo, SimpleFooter, Gallery, Carusel, CaruseleItem, Spacer, Well, Justify, Placement, Orientation, AlignItmes, Position, Sizes, ShowItem, convertShowItemsToNavigationItems, title, suffix, pages, metaDescription, metaKeywords, Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts
|
|
27
|
+
export { Visiblity, HeaderNavigationItem, DynamicMenu, FlatMenu, ColumnMenu, HamburgerMenu, BlogTitle, BlogDescription, listAllPosts, importPost, DefaultLayout, TwoColumnsLayout, Banner, Link, Logo, SimpleFooter, Gallery, Carusel, CaruseleItem, Spacer, Well, Justify, Placement, Orientation, AlignItmes, Position, Sizes, ShowItem, convertShowItemsToNavigationItems, title, suffix, pages, metaDescription, metaKeywords, Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functionalcms/svelte-components",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.4",
|
|
4
4
|
"watch": {
|
|
5
5
|
"build": {
|
|
6
6
|
"patterns": [
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"types": "./dist/index.d.ts",
|
|
27
27
|
"svelte": "./dist/index.js"
|
|
28
28
|
},
|
|
29
|
+
"./index-server.js": {
|
|
30
|
+
"types": "./dist/index-server.d.ts",
|
|
31
|
+
"svelte": "./dist/index-server.js"
|
|
32
|
+
},
|
|
29
33
|
"./css/functional.css": "./css/functional.css",
|
|
30
34
|
"./package.json": "./package.json"
|
|
31
35
|
},
|