@iroco/ui 0.52.1 → 0.53.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/Alert.svelte CHANGED
@@ -1,10 +1,9 @@
1
1
  <script>export let type = "success";
2
- export let content;
3
2
  export let callback;
4
3
  </script>
5
4
 
6
5
  <div class={`alert alert--${type}`} on:click={callback}>
7
- {content}
6
+ <slot />
8
7
  </div>
9
8
 
10
9
  <style>.font-color-blue {
package/Alert.svelte.d.ts CHANGED
@@ -2,13 +2,14 @@ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  type?: "success" | "danger" | undefined;
5
- content: string;
6
5
  callback: (e: Event) => void;
7
6
  };
8
7
  events: {
9
8
  [evt: string]: CustomEvent<any>;
10
9
  };
11
- slots: {};
10
+ slots: {
11
+ default: {};
12
+ };
12
13
  };
13
14
  export type AlertProps = typeof __propDef.props;
14
15
  export type AlertEvents = typeof __propDef.events;
package/NavBar.svelte CHANGED
@@ -595,6 +595,8 @@ $:
595
595
  top: 4.45em;
596
596
  left: 0;
597
597
  overflow-x: hidden;
598
+ display: flex;
599
+ flex-direction: column;
598
600
  }
599
601
 
600
602
  .nav__sidebar__item-container {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iroco/ui",
3
- "version": "0.52.1",
3
+ "version": "0.53.0",
4
4
  "description": "Iroco design system based on Svelte",
5
5
  "main": "lib/index.ts",
6
6
  "svelte": "index.js",