@widgetic/canvas 0.5.27 → 0.5.29

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,17 +1,21 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- value?: string;
5
- onChange?: (family: string) => void;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
6
11
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {};
11
- };
12
- export type FontSelectorICProps = typeof __propDef.props;
13
- export type FontSelectorICEvents = typeof __propDef.events;
14
- export type FontSelectorICSlots = typeof __propDef.slots;
15
- export default class FontSelectorIC extends SvelteComponentTyped<FontSelectorICProps, FontSelectorICEvents, FontSelectorICSlots> {
12
+ z_$$bindings?: Bindings;
16
13
  }
17
- export {};
14
+ declare const FontSelectorIC: $$__sveltets_2_IsomorphicComponent<{
15
+ value?: string;
16
+ onChange?: (family: string) => void;
17
+ }, {
18
+ [evt: string]: CustomEvent<any>;
19
+ }, {}, {}, string>;
20
+ type FontSelectorIC = InstanceType<typeof FontSelectorIC>;
21
+ export default FontSelectorIC;
@@ -1,24 +1,28 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- class?: string;
5
- style?: string;
6
- value?: number;
7
- label?: string | null;
8
- min?: number;
9
- max?: number;
10
- step?: number;
11
- unit?: string;
12
- onChange?: (value: number) => void;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
13
11
  };
14
- events: {
15
- [evt: string]: CustomEvent<any>;
16
- };
17
- slots: {};
18
- };
19
- export type SliderUnitICProps = typeof __propDef.props;
20
- export type SliderUnitICEvents = typeof __propDef.events;
21
- export type SliderUnitICSlots = typeof __propDef.slots;
22
- export default class SliderUnitIC extends SvelteComponentTyped<SliderUnitICProps, SliderUnitICEvents, SliderUnitICSlots> {
12
+ z_$$bindings?: Bindings;
23
13
  }
24
- export {};
14
+ declare const SliderUnitIC: $$__sveltets_2_IsomorphicComponent<{
15
+ class?: string;
16
+ style?: string;
17
+ value?: number;
18
+ label?: string | null;
19
+ min?: number;
20
+ max?: number;
21
+ step?: number;
22
+ unit?: string;
23
+ onChange?: (value: number) => void;
24
+ }, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {}, {}, string>;
27
+ type SliderUnitIC = InstanceType<typeof SliderUnitIC>;
28
+ export default SliderUnitIC;
@@ -1,17 +1,21 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- value?: "left" | "center" | "right";
5
- onChange?: (align: "left" | "center" | "right") => void;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
6
11
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {};
11
- };
12
- export type TextAlignICProps = typeof __propDef.props;
13
- export type TextAlignICEvents = typeof __propDef.events;
14
- export type TextAlignICSlots = typeof __propDef.slots;
15
- export default class TextAlignIC extends SvelteComponentTyped<TextAlignICProps, TextAlignICEvents, TextAlignICSlots> {
12
+ z_$$bindings?: Bindings;
16
13
  }
17
- export {};
14
+ declare const TextAlignIC: $$__sveltets_2_IsomorphicComponent<{
15
+ value?: "left" | "center" | "right";
16
+ onChange?: (align: "left" | "center" | "right") => void;
17
+ }, {
18
+ [evt: string]: CustomEvent<any>;
19
+ }, {}, {}, string>;
20
+ type TextAlignIC = InstanceType<typeof TextAlignIC>;
21
+ export default TextAlignIC;
@@ -1,21 +1,25 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- fontWeight?: "normal" | "bold";
5
- fontStyle?: "normal" | "italic";
6
- underline?: boolean;
7
- onFontWeightChange?: (weight: "normal" | "bold") => void;
8
- onFontStyleChange?: (style: "normal" | "italic") => void;
9
- onUnderlineChange?: (underline: boolean) => void;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
10
11
  };
11
- events: {
12
- [evt: string]: CustomEvent<any>;
13
- };
14
- slots: {};
15
- };
16
- export type TextStyleICProps = typeof __propDef.props;
17
- export type TextStyleICEvents = typeof __propDef.events;
18
- export type TextStyleICSlots = typeof __propDef.slots;
19
- export default class TextStyleIC extends SvelteComponentTyped<TextStyleICProps, TextStyleICEvents, TextStyleICSlots> {
12
+ z_$$bindings?: Bindings;
20
13
  }
21
- export {};
14
+ declare const TextStyleIC: $$__sveltets_2_IsomorphicComponent<{
15
+ fontWeight?: "normal" | "bold";
16
+ fontStyle?: "normal" | "italic";
17
+ underline?: boolean;
18
+ onFontWeightChange?: (weight: "normal" | "bold") => void;
19
+ onFontStyleChange?: (style: "normal" | "italic") => void;
20
+ onUnderlineChange?: (underline: boolean) => void;
21
+ }, {
22
+ [evt: string]: CustomEvent<any>;
23
+ }, {}, {}, string>;
24
+ type TextStyleIC = InstanceType<typeof TextStyleIC>;
25
+ export default TextStyleIC;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/canvas",
3
- "version": "0.5.27",
3
+ "version": "0.5.29",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "type": "module",
6
6
  "svelte": "./dist/index.js",
@@ -113,6 +113,7 @@
113
113
  "url": "https://gitlab.com/widgeticai/Frontend/canvas.git"
114
114
  },
115
115
  "peerDependencies": {
116
- "@widgetic/design-system": ">=0.3.0"
116
+ "@widgetic/design-system": ">=0.3.0",
117
+ "svelte": "^5.0.0"
117
118
  }
118
119
  }