@functionalcms/svelte-components 2.21.0 → 2.21.1
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.
|
@@ -12,11 +12,6 @@ export declare enum AlignItmes {
|
|
|
12
12
|
Baseline = "items-baseline",
|
|
13
13
|
Stretch = "items-stretch"
|
|
14
14
|
}
|
|
15
|
-
export declare enum FlexType {
|
|
16
|
-
Column = "flex-colum",
|
|
17
|
-
Row = "flex-row",
|
|
18
|
-
DynamicRow = "flex-dynamic-row"
|
|
19
|
-
}
|
|
20
15
|
export declare enum Placement {
|
|
21
16
|
Start = "start",
|
|
22
17
|
End = "end",
|
|
@@ -14,12 +14,6 @@ export var AlignItmes;
|
|
|
14
14
|
AlignItmes["Baseline"] = "items-baseline";
|
|
15
15
|
AlignItmes["Stretch"] = "items-stretch";
|
|
16
16
|
})(AlignItmes || (AlignItmes = {}));
|
|
17
|
-
export var FlexType;
|
|
18
|
-
(function (FlexType) {
|
|
19
|
-
FlexType["Column"] = "flex-colum";
|
|
20
|
-
FlexType["Row"] = "flex-row";
|
|
21
|
-
FlexType["DynamicRow"] = "flex-dynamic-row";
|
|
22
|
-
})(FlexType || (FlexType = {}));
|
|
23
17
|
export var Placement;
|
|
24
18
|
(function (Placement) {
|
|
25
19
|
Placement["Start"] = "start";
|
|
@@ -12,15 +12,13 @@
|
|
|
12
12
|
}
|
|
13
13
|
</style>
|
|
14
14
|
|
|
15
|
-
<script>import { AlignItmes,
|
|
15
|
+
<script>import { AlignItmes, Justify, Orientation } from "./Styling.js";
|
|
16
16
|
export let css = "";
|
|
17
17
|
export let orientation = Orientation.Column;
|
|
18
18
|
export let justify = Justify.Start;
|
|
19
19
|
export let alignItems = AlignItmes.Start;
|
|
20
|
-
export let flexType = FlexType.Column;
|
|
21
20
|
$: klasses = [
|
|
22
21
|
"flex",
|
|
23
|
-
`${flexType}`,
|
|
24
22
|
`${orientation}`,
|
|
25
23
|
`${justify}`,
|
|
26
24
|
`${alignItems}`,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
|
-
import { AlignItmes,
|
|
2
|
+
import { AlignItmes, Justify, Orientation } from "./Styling.js";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
css?: string;
|
|
6
6
|
orientation?: Orientation;
|
|
7
7
|
justify?: Justify;
|
|
8
8
|
alignItems?: AlignItmes;
|
|
9
|
-
flexType?: FlexType;
|
|
10
9
|
};
|
|
11
10
|
events: {
|
|
12
11
|
[evt: string]: CustomEvent<any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { ShowItem } from './components/presentation/ShowItem.js';
|
|
|
23
23
|
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
|
-
import { Justify, Placement, Orientation, Position, Sizes, AlignItmes
|
|
26
|
+
import { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
|
|
27
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';
|
|
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,
|
|
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 };
|
|
29
29
|
export type { BlogPost };
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,6 @@ import { ShowItem } from './components/presentation/ShowItem.js';
|
|
|
22
22
|
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
|
-
import { Justify, Placement, Orientation, Position, Sizes, AlignItmes
|
|
25
|
+
import { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
|
|
26
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';
|
|
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,
|
|
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 };
|