reburn-ui 0.3.1 → 0.3.2

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,6 +1,4 @@
1
1
  <script lang="ts" module>
2
- import { cubicOut } from 'svelte/easing';
3
- import type { TransitionConfig } from 'svelte/transition';
4
2
  import { transitions } from '../components/index.js';
5
3
  import OptionalPortal from '../components/Portal/OptionalPortal.svelte';
6
4
  import type { BasePortalProps } from '../components/Portal/Portal.svelte';
@@ -0,0 +1,2 @@
1
+ export { default as Notifications } from './Notifications.svelte';
2
+ export { notifications } from './NotificationsStore.svelte.js';
@@ -0,0 +1,2 @@
1
+ export { default as Notifications } from './Notifications.svelte';
2
+ export { notifications } from './NotificationsStore.svelte.js';
@@ -1 +1,2 @@
1
- export declare function max<T>(data: T[], fn?: (item: T) => number): number;
1
+ import type { MinMaxData } from './types.js';
2
+ export declare function max<T>(data: MinMaxData<T>, fn?: (item: T) => number): number;
@@ -1 +1,2 @@
1
- export declare function min<T>(data: T[], fn?: (item: T) => number): number;
1
+ import type { MinMaxData } from './types.js';
2
+ export declare function min<T>(data: MinMaxData<T>, fn?: (item: T) => number): number;
@@ -1 +1,2 @@
1
- export declare function minMax<T>(data: T[], fn?: (item: T) => number): [number, number];
1
+ import type { MinMaxData } from './types.js';
2
+ export declare function minMax<T>(data: MinMaxData<T>, fn?: (item: T) => number): [number, number];
@@ -0,0 +1,3 @@
1
+ type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array;
2
+ export type MinMaxData<T> = T[] | TypedArray;
3
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -4,4 +4,5 @@ export * from './creators/index.js';
4
4
  export * from './DirectionProvider/direction.svelte.js';
5
5
  export * from './hooks/index.js';
6
6
  export * from './MantineProvider/index.js';
7
+ export * from './Notifications/index.js';
7
8
  export * from './utils/index.js';
@@ -4,4 +4,5 @@ export * from './creators/index.js';
4
4
  export * from './DirectionProvider/direction.svelte.js';
5
5
  export * from './hooks/index.js';
6
6
  export * from './MantineProvider/index.js';
7
+ export * from './Notifications/index.js';
7
8
  export * from './utils/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reburn-ui",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {