@marianmeres/stuic 1.110.0 → 1.112.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.
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { NOTIFICATIONS_POSX, NOTIFICATIONS_POSY } from '../Notifications/Notifications.svelte';
3
3
  import type { createNotificationsStore } from '../Notifications/notifications.js';
4
4
  import { createAlertConfirmPromptStore, type AlertConfirmPromptKnownClasses, type AlertConfirmPromptVariant } from './alert-confirm-prompt.js';
@@ -91,12 +91,10 @@ declare const __propDef: {
91
91
  [evt: string]: CustomEvent<any>;
92
92
  };
93
93
  slots: {};
94
- exports?: {} | undefined;
95
- bindings?: string | undefined;
96
94
  };
97
95
  export type AlertConfirmPromptProps = typeof __propDef.props;
98
96
  export type AlertConfirmPromptEvents = typeof __propDef.events;
99
97
  export type AlertConfirmPromptSlots = typeof __propDef.slots;
100
- export default class AlertConfirmPrompt extends SvelteComponent<AlertConfirmPromptProps, AlertConfirmPromptEvents, AlertConfirmPromptSlots> {
98
+ export default class AlertConfirmPrompt extends SvelteComponentTyped<AlertConfirmPromptProps, AlertConfirmPromptEvents, AlertConfirmPromptSlots> {
101
99
  }
102
100
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  export declare const appShellSetHtmlBodyHeight: () => (() => any);
3
3
  declare const __propDef: {
4
4
  props: {
@@ -33,12 +33,10 @@ declare const __propDef: {
33
33
  sidebarRight: {};
34
34
  footer: {};
35
35
  };
36
- exports?: {} | undefined;
37
- bindings?: string | undefined;
38
36
  };
39
37
  export type AppShellProps = typeof __propDef.props;
40
38
  export type AppShellEvents = typeof __propDef.events;
41
39
  export type AppShellSlots = typeof __propDef.slots;
42
- export default class AppShell extends SvelteComponent<AppShellProps, AppShellEvents, AppShellSlots> {
40
+ export default class AppShell extends SvelteComponentTyped<AppShellProps, AppShellEvents, AppShellSlots> {
43
41
  }
44
42
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  export declare class BackdropConfig {
3
3
  static class: string;
4
4
  static fadeInDuration: number;
@@ -28,12 +28,10 @@ declare const __propDef: {
28
28
  slots: {
29
29
  default: {};
30
30
  };
31
- exports?: {} | undefined;
32
- bindings?: string | undefined;
33
31
  };
34
32
  export type BackdropProps = typeof __propDef.props;
35
33
  export type BackdropEvents = typeof __propDef.events;
36
34
  export type BackdropSlots = typeof __propDef.slots;
37
- export default class Backdrop extends SvelteComponent<BackdropProps, BackdropEvents, BackdropSlots> {
35
+ export default class Backdrop extends SvelteComponentTyped<BackdropProps, BackdropEvents, BackdropSlots> {
38
36
  }
39
37
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { HTMLButtonAttributes } from 'svelte/elements';
3
3
  export declare class ButtonConfig {
4
4
  static defaultSize: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -71,12 +71,10 @@ declare const __propDef: {
71
71
  slots: {
72
72
  default: {};
73
73
  };
74
- exports?: undefined;
75
- bindings?: undefined;
76
74
  };
77
75
  export type ButtonProps = typeof __propDef.props;
78
76
  export type ButtonEvents = typeof __propDef.events;
79
77
  export type ButtonSlots = typeof __propDef.slots;
80
- export default class Button extends SvelteComponent<ButtonProps, ButtonEvents, ButtonSlots> {
78
+ export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
81
79
  }
82
80
  export {};
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} LocalColorSchemeProps */
2
2
  /** @typedef {typeof __propDef.events} LocalColorSchemeEvents */
3
3
  /** @typedef {typeof __propDef.slots} LocalColorSchemeSlots */
4
- export default class LocalColorScheme extends SvelteComponent<{
4
+ export default class LocalColorScheme extends SvelteComponentTyped<{
5
5
  [x: string]: never;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
@@ -10,7 +10,7 @@ export default class LocalColorScheme extends SvelteComponent<{
10
10
  export type LocalColorSchemeProps = typeof __propDef.props;
11
11
  export type LocalColorSchemeEvents = typeof __propDef.events;
12
12
  export type LocalColorSchemeSlots = typeof __propDef.slots;
13
- import { SvelteComponent } from "svelte";
13
+ import { SvelteComponentTyped } from "svelte";
14
14
  declare const __propDef: {
15
15
  props: {
16
16
  [x: string]: never;
@@ -19,7 +19,5 @@ declare const __propDef: {
19
19
  [evt: string]: CustomEvent<any>;
20
20
  };
21
21
  slots: {};
22
- exports?: undefined;
23
- bindings?: undefined;
24
22
  };
25
23
  export {};
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} SystemAwareColorSchemeProps */
2
2
  /** @typedef {typeof __propDef.events} SystemAwareColorSchemeEvents */
3
3
  /** @typedef {typeof __propDef.slots} SystemAwareColorSchemeSlots */
4
- export default class SystemAwareColorScheme extends SvelteComponent<{
4
+ export default class SystemAwareColorScheme extends SvelteComponentTyped<{
5
5
  [x: string]: never;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
@@ -10,7 +10,7 @@ export default class SystemAwareColorScheme extends SvelteComponent<{
10
10
  export type SystemAwareColorSchemeProps = typeof __propDef.props;
11
11
  export type SystemAwareColorSchemeEvents = typeof __propDef.events;
12
12
  export type SystemAwareColorSchemeSlots = typeof __propDef.slots;
13
- import { SvelteComponent } from "svelte";
13
+ import { SvelteComponentTyped } from "svelte";
14
14
  declare const __propDef: {
15
15
  props: {
16
16
  [x: string]: never;
@@ -19,7 +19,5 @@ declare const __propDef: {
19
19
  [evt: string]: CustomEvent<any>;
20
20
  };
21
21
  slots: {};
22
- exports?: undefined;
23
- bindings?: undefined;
24
22
  };
25
23
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { TW_COLORS } from '../../utils/tw-types.js';
3
3
  import { type THC } from '../Thc/Thc.svelte';
4
4
  export declare class DismissibleMessageConfig {
@@ -27,12 +27,10 @@ declare const __propDef: {
27
27
  [evt: string]: CustomEvent<any>;
28
28
  };
29
29
  slots: {};
30
- exports?: {} | undefined;
31
- bindings?: string | undefined;
32
30
  };
33
31
  export type DismissibleMessageProps = typeof __propDef.props;
34
32
  export type DismissibleMessageEvents = typeof __propDef.events;
35
33
  export type DismissibleMessageSlots = typeof __propDef.slots;
36
- export default class DismissibleMessage extends SvelteComponent<DismissibleMessageProps, DismissibleMessageEvents, DismissibleMessageSlots> {
34
+ export default class DismissibleMessage extends SvelteComponentTyped<DismissibleMessageProps, DismissibleMessageEvents, DismissibleMessageSlots> {
37
35
  }
38
36
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { FocusTrapOptions } from '../../actions/focus-trap.js';
3
3
  export type DrawerStore = ReturnType<typeof createDrawerStore>;
4
4
  export declare const createDrawerStore: (open?: boolean) => import("@marianmeres/switch-store").SwitchStore<any>;
@@ -25,12 +25,10 @@ declare const __propDef: {
25
25
  slots: {
26
26
  default: {};
27
27
  };
28
- exports?: {} | undefined;
29
- bindings?: string | undefined;
30
28
  };
31
29
  export type DrawerProps = typeof __propDef.props;
32
30
  export type DrawerEvents = typeof __propDef.events;
33
31
  export type DrawerSlots = typeof __propDef.slots;
34
- export default class Drawer extends SvelteComponent<DrawerProps, DrawerEvents, DrawerSlots> {
32
+ export default class Drawer extends SvelteComponentTyped<DrawerProps, DrawerEvents, DrawerSlots> {
35
33
  }
36
34
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  enabled?: boolean | undefined;
@@ -23,12 +23,10 @@ declare const __propDef: {
23
23
  inTransition: boolean;
24
24
  };
25
25
  };
26
- exports?: {} | undefined;
27
- bindings?: string | undefined;
28
26
  };
29
27
  export type HoverExpandableWidthProps = typeof __propDef.props;
30
28
  export type HoverExpandableWidthEvents = typeof __propDef.events;
31
29
  export type HoverExpandableWidthSlots = typeof __propDef.slots;
32
- export default class HoverExpandableWidth extends SvelteComponent<HoverExpandableWidthProps, HoverExpandableWidthEvents, HoverExpandableWidthSlots> {
30
+ export default class HoverExpandableWidth extends SvelteComponentTyped<HoverExpandableWidthProps, HoverExpandableWidthEvents, HoverExpandableWidthSlots> {
33
31
  }
34
32
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { ValidateOptions } from '../../actions/validate.js';
3
3
  import type { THC } from '../Thc/Thc.svelte';
4
4
  export interface FieldConfigClasses {
@@ -90,12 +90,10 @@ declare const __propDef: {
90
90
  id: string;
91
91
  };
92
92
  };
93
- exports?: undefined;
94
- bindings?: undefined;
95
93
  };
96
94
  export type FieldProps = typeof __propDef.props;
97
95
  export type FieldEvents = typeof __propDef.events;
98
96
  export type FieldSlots = typeof __propDef.slots;
99
- export default class Field extends SvelteComponent<FieldProps, FieldEvents, FieldSlots> {
97
+ export default class Field extends SvelteComponentTyped<FieldProps, FieldEvents, FieldSlots> {
100
98
  }
101
99
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { ValidateOptions } from '../../actions/validate.js';
3
3
  import type { THC } from '../Thc/Thc.svelte';
4
4
  export interface FieldCheckboxConfigClasses {
@@ -54,12 +54,10 @@ declare const __propDef: {
54
54
  slots: {
55
55
  description: {};
56
56
  };
57
- exports?: {} | undefined;
58
- bindings?: string | undefined;
59
57
  };
60
58
  export type FieldCheckboxProps = typeof __propDef.props;
61
59
  export type FieldCheckboxEvents = typeof __propDef.events;
62
60
  export type FieldCheckboxSlots = typeof __propDef.slots;
63
- export default class FieldCheckbox extends SvelteComponent<FieldCheckboxProps, FieldCheckboxEvents, FieldCheckboxSlots> {
61
+ export default class FieldCheckbox extends SvelteComponentTyped<FieldCheckboxProps, FieldCheckboxEvents, FieldCheckboxSlots> {
64
62
  }
65
63
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  export interface FieldRadiosConfigClasses {
3
3
  group?: string;
4
4
  box?: string;
@@ -51,12 +51,10 @@ declare const __propDef: {
51
51
  [evt: string]: CustomEvent<any>;
52
52
  };
53
53
  slots: {};
54
- exports?: {} | undefined;
55
- bindings?: string | undefined;
56
54
  };
57
55
  export type FieldRadiosProps = typeof __propDef.props;
58
56
  export type FieldRadiosEvents = typeof __propDef.events;
59
57
  export type FieldRadiosSlots = typeof __propDef.slots;
60
- export default class FieldRadios extends SvelteComponent<FieldRadiosProps, FieldRadiosEvents, FieldRadiosSlots> {
58
+ export default class FieldRadios extends SvelteComponentTyped<FieldRadiosProps, FieldRadiosEvents, FieldRadiosSlots> {
61
59
  }
62
60
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { ValidateOptions } from '../../actions/validate.js';
3
3
  import type { THC } from '../Thc/Thc.svelte';
4
4
  export interface FieldSelectConfigClasses {
@@ -78,12 +78,10 @@ declare const __propDef: {
78
78
  id: string;
79
79
  };
80
80
  };
81
- exports?: {} | undefined;
82
- bindings?: string | undefined;
83
81
  };
84
82
  export type FieldSelectProps = typeof __propDef.props;
85
83
  export type FieldSelectEvents = typeof __propDef.events;
86
84
  export type FieldSelectSlots = typeof __propDef.slots;
87
- export default class FieldSelect extends SvelteComponent<FieldSelectProps, FieldSelectEvents, FieldSelectSlots> {
85
+ export default class FieldSelect extends SvelteComponentTyped<FieldSelectProps, FieldSelectEvents, FieldSelectSlots> {
88
86
  }
89
87
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  export interface FieldsetConfigClasses {
3
3
  box?: string;
4
4
  legend?: string;
@@ -17,12 +17,10 @@ declare const __propDef: {
17
17
  slots: {
18
18
  default: {};
19
19
  };
20
- exports?: {} | undefined;
21
- bindings?: string | undefined;
22
20
  };
23
21
  export type FieldsetProps = typeof __propDef.props;
24
22
  export type FieldsetEvents = typeof __propDef.events;
25
23
  export type FieldsetSlots = typeof __propDef.slots;
26
- export default class Fieldset extends SvelteComponent<FieldsetProps, FieldsetEvents, FieldsetSlots> {
24
+ export default class Fieldset extends SvelteComponentTyped<FieldsetProps, FieldsetEvents, FieldsetSlots> {
27
25
  }
28
26
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { ValidateOptions } from '../../actions/validate.js';
3
3
  import { type FieldRadiosConfigClasses, type FieldRadiosConfigClassesBySize } from './FieldRadios.svelte';
4
4
  declare const __propDef: {
@@ -34,12 +34,10 @@ declare const __propDef: {
34
34
  [evt: string]: CustomEvent<any>;
35
35
  };
36
36
  slots: {};
37
- exports?: {} | undefined;
38
- bindings?: string | undefined;
39
37
  };
40
38
  export type XFieldRadioInternalProps = typeof __propDef.props;
41
39
  export type XFieldRadioInternalEvents = typeof __propDef.events;
42
40
  export type XFieldRadioInternalSlots = typeof __propDef.slots;
43
- export default class XFieldRadioInternal extends SvelteComponent<XFieldRadioInternalProps, XFieldRadioInternalEvents, XFieldRadioInternalSlots> {
41
+ export default class XFieldRadioInternal extends SvelteComponentTyped<XFieldRadioInternalProps, XFieldRadioInternalEvents, XFieldRadioInternalSlots> {
44
42
  }
45
43
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import { type Writable } from 'svelte/store';
3
3
  export interface ModalDialogAPI {
4
4
  open: () => void;
@@ -24,13 +24,11 @@ declare const __propDef: {
24
24
  slots: {
25
25
  default: {};
26
26
  };
27
- exports?: {} | undefined;
28
- bindings?: string | undefined;
29
27
  };
30
28
  export type ModalDialogProps = typeof __propDef.props;
31
29
  export type ModalDialogEvents = typeof __propDef.events;
32
30
  export type ModalDialogSlots = typeof __propDef.slots;
33
- export default class ModalDialog extends SvelteComponent<ModalDialogProps, ModalDialogEvents, ModalDialogSlots> {
31
+ export default class ModalDialog extends SvelteComponentTyped<ModalDialogProps, ModalDialogEvents, ModalDialogSlots> {
34
32
  get toggle(): () => void;
35
33
  get open(): () => void;
36
34
  get close(): () => void;
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import type { NotificationKnownClasses, NotificationType, createNotificationsStore } from './notifications.js';
3
3
  declare const X_POSITIONS: readonly ["left", "center", "right"];
4
4
  declare const Y_POSITIONS: readonly ["top", "center", "bottom"];
@@ -43,13 +43,11 @@ declare const __propDef: {
43
43
  [evt: string]: CustomEvent<any>;
44
44
  };
45
45
  slots: {};
46
- exports?: {} | undefined;
47
- bindings?: string | undefined;
48
46
  };
49
47
  export type NotificationsProps = typeof __propDef.props;
50
48
  export type NotificationsEvents = typeof __propDef.events;
51
49
  export type NotificationsSlots = typeof __propDef.slots;
52
- export default class Notifications extends SvelteComponent<NotificationsProps, NotificationsEvents, NotificationsSlots> {
50
+ export default class Notifications extends SvelteComponentTyped<NotificationsProps, NotificationsEvents, NotificationsSlots> {
53
51
  get getPositionConfig(): () => {
54
52
  posX: "center" | "left" | "right";
55
53
  posY: "center" | "top" | "bottom";
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  import { type TooltipOptions } from '../../actions/tooltip/tooltip.js';
3
3
  declare const __propDef: {
4
4
  props: {
@@ -11,12 +11,10 @@ declare const __propDef: {
11
11
  default: {};
12
12
  popover: {};
13
13
  };
14
- exports?: {} | undefined;
15
- bindings?: string | undefined;
16
14
  };
17
15
  export type PopoverProps = typeof __propDef.props;
18
16
  export type PopoverEvents = typeof __propDef.events;
19
17
  export type PopoverSlots = typeof __propDef.slots;
20
- export default class Popover extends SvelteComponent<PopoverProps, PopoverEvents, PopoverSlots> {
18
+ export default class Popover extends SvelteComponentTyped<PopoverProps, PopoverEvents, PopoverSlots> {
21
19
  }
22
20
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  export type SwitchPreHook = (previosValue: boolean) => Promise<void | boolean>;
3
3
  export declare class SwitchConfig {
4
4
  static defaultSize: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -56,12 +56,10 @@ declare const __propDef: {
56
56
  on: {};
57
57
  off: {};
58
58
  };
59
- exports?: {} | undefined;
60
- bindings?: string | undefined;
61
59
  };
62
60
  export type SwitchProps = typeof __propDef.props;
63
61
  export type SwitchEvents = typeof __propDef.events;
64
62
  export type SwitchSlots = typeof __propDef.slots;
65
- export default class Switch extends SvelteComponent<SwitchProps, SwitchEvents, SwitchSlots> {
63
+ export default class Switch extends SvelteComponentTyped<SwitchProps, SwitchEvents, SwitchSlots> {
66
64
  }
67
65
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  interface WithComponent {
3
3
  component: any;
4
4
  props?: Record<string, any>;
@@ -22,12 +22,10 @@ declare const __propDef: {
22
22
  [evt: string]: CustomEvent<any>;
23
23
  };
24
24
  slots: {};
25
- exports?: undefined;
26
- bindings?: undefined;
27
25
  };
28
26
  export type ThcProps = typeof __propDef.props;
29
27
  export type ThcEvents = typeof __propDef.events;
30
28
  export type ThcSlots = typeof __propDef.slots;
31
- export default class Thc extends SvelteComponent<ThcProps, ThcEvents, ThcSlots> {
29
+ export default class Thc extends SvelteComponentTyped<ThcProps, ThcEvents, ThcSlots> {
32
30
  }
33
31
  export {};
@@ -1,4 +1,4 @@
1
- import { SvelteComponent } from "svelte";
1
+ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  class?: string | undefined;
@@ -8,12 +8,10 @@ declare const __propDef: {
8
8
  [evt: string]: CustomEvent<any>;
9
9
  };
10
10
  slots: {};
11
- exports?: {} | undefined;
12
- bindings?: string | undefined;
13
11
  };
14
12
  export type XProps = typeof __propDef.props;
15
13
  export type XEvents = typeof __propDef.events;
16
14
  export type XSlots = typeof __propDef.slots;
17
- export default class X extends SvelteComponent<XProps, XEvents, XSlots> {
15
+ export default class X extends SvelteComponentTyped<XProps, XEvents, XSlots> {
18
16
  }
19
17
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.110.0",
3
+ "version": "1.112.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",
@@ -29,7 +29,7 @@
29
29
  "!dist/**/*.spec.*"
30
30
  ],
31
31
  "peerDependencies": {
32
- "svelte": "^4.0.0"
32
+ "svelte": "^4.0.0 || <6.0.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@marianmeres/parse-boolean": "^1.1.7",