intelliwaketssveltekitv25 0.2.43 → 0.2.44

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.
@@ -61,7 +61,7 @@ export interface ISpinItem<T = number> {
61
61
  style?: string;
62
62
  classItem?: string | null;
63
63
  }
64
- export type TListGroupItem<COLOR extends string = string> = {
64
+ export type TListGroupItem<COLOR extends TDefaultColorPalate = TDefaultColorPalate> = {
65
65
  title: string;
66
66
  sub_title?: string;
67
67
  hover_title?: string;
@@ -74,7 +74,7 @@ export type TListGroupItem<COLOR extends string = string> = {
74
74
  linkClick?: () => void;
75
75
  /** undefined = don't show, null = show with spinner, number (0, 1, etc.) = show */
76
76
  badgeValue?: number | string | null;
77
- badgeColor?: COLOR;
77
+ badgeColor?: COLOR | null;
78
78
  badgeClass?: string | null;
79
79
  rightText?: string | null;
80
80
  paneName?: string;
@@ -145,20 +145,19 @@ export declare const ShowActivityOverlay: Pick<Writable<number>, "subscribe"> &
145
145
  hide: () => void;
146
146
  reset: () => void;
147
147
  };
148
- export interface IMessageBoxStore<COLOR = string> {
148
+ export interface IMessageBoxStore {
149
149
  message: string | null;
150
150
  messageBody?: string | null;
151
- color?: COLOR;
151
+ color?: TDefaultColorPalate | null;
152
152
  dismissAfterSeconds?: number | null;
153
153
  dismissAt?: TDateAny | null;
154
154
  }
155
- export type TStoreMessageBox<COLOR = string> = Pick<Writable<IMessageBoxStore<COLOR>[]>, 'subscribe'> & {
156
- show: (message: string | IMessageBoxStore, color?: COLOR) => void;
155
+ export type TStoreMessageBox = Pick<Writable<IMessageBoxStore[]>, 'subscribe'> & {
156
+ show: (message: string | IMessageBoxStore, color?: TDefaultColorPalate | null) => void;
157
157
  hide: (message: (string | null) | (string | null)[]) => void;
158
158
  reset: () => void;
159
159
  };
160
- export declare const ShowMessageBox: TStoreMessageBox<string>;
161
- export type TChatBubblePosition = 'Right' | 'Left' | 'Top' | 'Bottom';
160
+ export declare const ShowMessageBox: TStoreMessageBox;
162
161
  export type TDropDownControlPosition = 'Right' | 'Left' | 'Center' | 'CenterForce' | null;
163
162
  export type TDropDownControlDrop = 'Up' | 'Down' | null;
164
163
  export type TGenericMultiSelect = {
package/dist/Modal.svelte CHANGED
@@ -73,8 +73,8 @@
73
73
  marginForStickyHeader?: boolean
74
74
  okButtonWrap?: boolean
75
75
  class?: string
76
- okColor?: string
77
- color?: string
76
+ okColor?: TDefaultColorPalate
77
+ color?: TDefaultColorPalate
78
78
  classHeader?: string
79
79
  classBody?: string
80
80
  classFooter?: string
@@ -24,8 +24,8 @@ type $$ComponentProps = {
24
24
  marginForStickyHeader?: boolean;
25
25
  okButtonWrap?: boolean;
26
26
  class?: string;
27
- okColor?: string;
28
- color?: string;
27
+ okColor?: TDefaultColorPalate;
28
+ color?: TDefaultColorPalate;
29
29
  classHeader?: string;
30
30
  classBody?: string;
31
31
  classFooter?: string;
@@ -5,12 +5,12 @@ export type TModalPromptProps<T = unknown> = {
5
5
  title?: string | Snippet;
6
6
  titleFAProps?: IFAProps;
7
7
  messageBody?: string | Snippet;
8
- color?: string;
8
+ color?: TDefaultColorPalate | null;
9
9
  okLabel?: string;
10
10
  faProps?: IFAProps;
11
11
  okFAProps?: IFAProps;
12
12
  okAction?: () => void;
13
- okColor?: string;
13
+ okColor?: TDefaultColorPalate | null;
14
14
  okPromise?: () => Promise<T>;
15
15
  okDisabled?: boolean;
16
16
  cancelLabel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.2.43",
3
+ "version": "0.2.44",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",