@momo2555/koppeliajs 0.0.119 → 0.0.121

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.
@@ -3,8 +3,9 @@
3
3
  import { Koppelia } from '../scripts/koppelia.js';
4
4
 
5
5
  export let id: string = '';
6
+ export let defaultFontSize: number = 10;
6
7
 
7
- $: fontSize = 10;
8
+ $: fontSize = defaultFontSize;
8
9
 
9
10
  let koppelia = Koppelia.instance;
10
11
 
@@ -18,6 +18,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
18
18
  } : {});
19
19
  declare const ResizableText: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
20
20
  id?: string;
21
+ defaultFontSize?: number;
21
22
  }, {
22
23
  default: {};
23
24
  }>, {
package/dist/index.d.ts CHANGED
@@ -2,11 +2,12 @@ import "./styles/fonts.css";
2
2
  import KBase from "./components/KBase.svelte";
3
3
  import GrowableElement from "./components/GrowableElement.svelte";
4
4
  import Button from "./components/Button.svelte";
5
+ import ResizableText from "./components/ResizableText.svelte";
5
6
  import { Koppelia } from "./scripts/koppelia.js";
6
7
  import { Console } from "./scripts/console.js";
7
8
  import { Message } from "./scripts/message.js";
8
9
  import { Device } from "./scripts/device.js";
9
10
  import { Play } from "./scripts/play.js";
10
11
  import { updateRoute, routeType } from './stores/routeStore.js';
11
- export { KBase, GrowableElement, Button };
12
+ export { KBase, GrowableElement, Button, ResizableText };
12
13
  export { updateRoute, routeType, Koppelia, Console, Message, Device, Play };
package/dist/index.js CHANGED
@@ -3,11 +3,12 @@ import "./styles/fonts.css";
3
3
  import KBase from "./components/KBase.svelte";
4
4
  import GrowableElement from "./components/GrowableElement.svelte";
5
5
  import Button from "./components/Button.svelte";
6
+ import ResizableText from "./components/ResizableText.svelte";
6
7
  import { Koppelia } from "./scripts/koppelia.js";
7
8
  import { Console } from "./scripts/console.js";
8
9
  import { Message } from "./scripts/message.js";
9
10
  import { Device } from "./scripts/device.js";
10
11
  import { Play } from "./scripts/play.js";
11
12
  import { updateRoute, routeType } from './stores/routeStore.js';
12
- export { KBase, GrowableElement, Button }; // Compoenents
13
+ export { KBase, GrowableElement, Button, ResizableText }; // Compoenents
13
14
  export { updateRoute, routeType, Koppelia, Console, Message, Device, Play }; // libraries and stores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.119",
3
+ "version": "0.0.121",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",