@functionalcms/svelte-components 2.3.5 → 2.3.6

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.
@@ -1,4 +1,5 @@
1
- <script>export let background = "";
1
+ <script>import { Justify, AlignItmes } from "./Styling.js";
2
+ export let background = "";
2
3
  export let css = "";
3
4
  export let justify = Justify.Start;
4
5
  export let alignItems = AlignItmes.Start;
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import type { AlignItmes, Justify } from "./Styling.js";
2
+ import { Justify, AlignItmes } from "./Styling.js";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  background?: string | undefined;
@@ -21,9 +21,9 @@ export declare enum Placement {
21
21
  Content = "content"
22
22
  }
23
23
  export declare enum Orientation {
24
- Row = "row",
25
- Column = "column",
26
- DynamicRow = "row-dynamic"
24
+ Row = "flex-row",
25
+ Column = "flex-column",
26
+ DynamicRow = "flex-row-dynamic"
27
27
  }
28
28
  export declare enum Position {
29
29
  Left = 0,
@@ -25,9 +25,9 @@ export var Placement;
25
25
  })(Placement || (Placement = {}));
26
26
  export var Orientation;
27
27
  (function (Orientation) {
28
- Orientation["Row"] = "row";
29
- Orientation["Column"] = "column";
30
- Orientation["DynamicRow"] = "row-dynamic";
28
+ Orientation["Row"] = "flex-row";
29
+ Orientation["Column"] = "flex-column";
30
+ Orientation["DynamicRow"] = "flex-row-dynamic";
31
31
  })(Orientation || (Orientation = {}));
32
32
  export var Position;
33
33
  (function (Position) {
@@ -21,7 +21,7 @@ $:
21
21
  klasses = [
22
22
  "flex",
23
23
  css ? css : "",
24
- `flex-${orientation}`,
24
+ `${orientation}`,
25
25
  `${justify}`,
26
26
  `${alignItems}`
27
27
  ].filter((c) => c).join(" ");
package/dist/index.d.ts CHANGED
@@ -10,6 +10,6 @@ import Well from './components/Well.svelte';
10
10
  import { title, suffix } from './stores/title.js';
11
11
  import { pages } from './stores/pages.js';
12
12
  import { metaDescription, metaKeywords } from './stores/meta.js';
13
- import { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
13
+ import { Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
14
14
  import { Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Menu, MenuItem, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts } from 'agnostic-svelte';
15
- export { FlatMenu, HamburgerMenu, Visiblity, HeaderNavigationItem, Banner, DefaultLayout, Logo, SimpleFooter, Spacer, Well, Justify, Placement, Orientation, AlignItmes, Position, Sizes, 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, Menu, MenuItem, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts };
15
+ export { FlatMenu, HamburgerMenu, Visiblity, HeaderNavigationItem, Banner, DefaultLayout, Logo, SimpleFooter, Spacer, Well, Placement, Orientation, AlignItmes, Position, Sizes, 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, Menu, MenuItem, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts };
package/dist/index.js CHANGED
@@ -13,4 +13,4 @@ import { pages } from './stores/pages.js';
13
13
  import { metaDescription, metaKeywords } from './stores/meta.js';
14
14
  import { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
15
15
  import { Alert, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, ChoiceInput, Close, Dialog, Disclose, Divider, Drawer, EmptyState, Header, HeaderNav, HeaderNavItem, Icon, IconSvg, Input, InputAddonItem, Loader, Menu, MenuItem, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts } from 'agnostic-svelte';
16
- export { FlatMenu, HamburgerMenu, Visiblity, HeaderNavigationItem, Banner, DefaultLayout, Logo, SimpleFooter, Spacer, Well, Justify, Placement, Orientation, AlignItmes, Position, Sizes, 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, Menu, MenuItem, Pagination, Progress, Select, Spinner, Switch, Table, Tabs, Tag, Toast, Toasts };
16
+ export { FlatMenu, HamburgerMenu, Visiblity, HeaderNavigationItem, Banner, DefaultLayout, Logo, SimpleFooter, Spacer, Well, Placement, Orientation, AlignItmes, Position, Sizes, 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, Menu, MenuItem, 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.3.5",
3
+ "version": "2.3.6",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": ["src"],