nectiasw 0.0.37 → 0.0.39

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,10 +1,10 @@
1
- type Mapping<T> = {
1
+ export type Mapping<T> = {
2
2
  idAsKey: keyof T;
3
3
  labelAsKey: keyof T;
4
4
  valueAsKey: keyof T;
5
5
  valueAsHref?: keyof T;
6
6
  };
7
- type Option = {
7
+ export type Option = {
8
8
  to?: string;
9
9
  key: string;
10
10
  label: string;
@@ -17,4 +17,3 @@ type Option = {
17
17
  * @param args - mapping arguments.
18
18
  */
19
19
  export declare function mapping<T>(data: T[], args: Mapping<T>): Option[];
20
- export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nectiasw",
3
3
  "private": false,
4
- "version": "0.0.37",
4
+ "version": "0.0.39",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
7
7
  "main": "dist/index.umd.js",
@@ -33,7 +33,6 @@
33
33
  "@headlessui/react": "^1.7.13",
34
34
  "@heroicons/react": "^2.1.5",
35
35
  "@tanstack/react-query": "^4.32.5",
36
- "@types/node": "^22.0.0",
37
36
  "autoprefixer": "^10.4.19",
38
37
  "axios": "^1.7.2",
39
38
  "clsx": "^2.1.1",
@@ -64,6 +63,7 @@
64
63
  "zustand": "^4.5.4"
65
64
  },
66
65
  "devDependencies": {
66
+ "@types/node": "^22.0.0",
67
67
  "@chromatic-com/storybook": "^1.6.1",
68
68
  "@storybook/addon-essentials": "^8.2.7",
69
69
  "@storybook/addon-interactions": "^8.2.7",
@@ -1,17 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- /**
4
- * @description
5
- * Wizard component to track progress out of inscriptions.
6
- */
7
- export declare const TwWizard: React.FunctionComponent<WizardProps>;
8
- export type WizardItem = {
9
- icon?: React.ReactElement;
10
- name?: string;
11
- };
12
- export type WizardProps = {
13
- step?: number;
14
- steps?: WizardItem[];
15
- onNextStep?: () => void;
16
- onPrevStep?: () => void;
17
- };
@@ -1,8 +0,0 @@
1
- export declare const classes: {
2
- step: string;
3
- root: string;
4
- active: string;
5
- inactive: string;
6
- container: string;
7
- fullSpace: string;
8
- };