@nordhealth/react 1.0.0-alpha.55
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.
- package/LICENSE.md +35 -0
- package/README.md +20 -0
- package/lib/index.d.ts +94 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -0
- package/package.json +47 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
This Nord Design System package (the “Package”) is brought to you by Nordhealth Ltd (“Nordhealth”, or “we” or “us”) and all rights, including copyright, in the content of the Package is owned or controlled by Nordhealth.
|
|
4
|
+
|
|
5
|
+
## Conditions of Using Features on the Package
|
|
6
|
+
|
|
7
|
+
Nordhealth hereby grants you a limited, non-exclusive, revocable license to access and use the Package solely for the purpose of performing your duties for and on behalf of Nordhealth (the “Purpose”).
|
|
8
|
+
|
|
9
|
+
You may not access or use the Package or reproduce, retransmit, disseminate, sell, publish, broadcast or use it for any other reason.
|
|
10
|
+
|
|
11
|
+
If Nordhealth is informed or has any reason to believe that the Package is being used by a user other than in accordance with these Terms of Use, Nordhealth reserves the right to suspend or permanently prevent access by the user to the Package and shall have no liability to the user whatsoever in such event.
|
|
12
|
+
|
|
13
|
+
## Package Accuracy
|
|
14
|
+
|
|
15
|
+
Nordhealth makes every effort to ensure that the Package is accurate and up-to-date, but Nordhealth does not offer any warranties (whether express, implied or otherwise) as to the reliability, accuracy or completeness of the Package. The Package is provided “as is” and “as available” without express or implied warranty or condition of any kind.
|
|
16
|
+
|
|
17
|
+
## Privacy
|
|
18
|
+
|
|
19
|
+
The access to the Package and use of it is governed by Nordhealth’s Privacy Policy.
|
|
20
|
+
|
|
21
|
+
## Intellectual Property Rights
|
|
22
|
+
|
|
23
|
+
You acknowledge and agree that all copyright, rights in data, databases, trade-marks, names, images, logos and other intellectual property rights in the Package (“Intellectual Property Rights”) shall remain at all times vested in Nordhealth and its subsidiaries and that these are protected by copyright and other laws and international treaty provisions.
|
|
24
|
+
|
|
25
|
+
Nothing contained in the Package shall be construed as conferring by implication or otherwise any license or right to use any of the Intellectual Property Rights displayed or subsisting on or in the Package other than in accordance with these Terms of Use.
|
|
26
|
+
|
|
27
|
+
## Limitation of Liability
|
|
28
|
+
|
|
29
|
+
While Nordhealth takes all reasonable steps to ensure that the Package is properly functioning at all times, Nordhealth does not warrant that this Package will be uninterrupted, timely, secure or error-free, that defects will be corrected, or that this Package is free of software bugs or other defects.
|
|
30
|
+
|
|
31
|
+
Nordhealth shall not be liable to you for any loss or damage you suffer as a result of using this Package. You must take your own precautions (including, but not limited to, installing adequate protective measures to guard against software viruses and ensuring that you retain up-to-date copies of all data) to protect yourself against loss or damage.
|
|
32
|
+
|
|
33
|
+
## Governing Law
|
|
34
|
+
|
|
35
|
+
Your use of the Package will be governed by and construed in accordance with the laws of Finland.
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
 
|
|
2
|
+
|
|
3
|
+
# Nord React Components
|
|
4
|
+
|
|
5
|
+
This package contains auto-generated react wrappers for the web components found in `@nordhealth/components`.
|
|
6
|
+
|
|
7
|
+
A typescript file is generated and written to `src/index.ts`, and then compiled by rollup into `lib/index.js`. The react wrappers are created with `@lit-labs/react`.
|
|
8
|
+
|
|
9
|
+
The following are commands available:
|
|
10
|
+
|
|
11
|
+
- `npm run generate` - Generates the typescript source file.
|
|
12
|
+
- `npm run build` - Runs the above command, then compiles to JS with rollup.
|
|
13
|
+
|
|
14
|
+
## License
|
|
15
|
+
|
|
16
|
+
See license in LICENSE.md
|
|
17
|
+
|
|
18
|
+
## Copyright
|
|
19
|
+
|
|
20
|
+
Copyright © 2022 Nordhealth Ltd
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as Components from "@nordhealth/components";
|
|
3
|
+
export declare const Badge: React.ForwardRefExoticComponent<Partial<Omit<Components.Badge, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
} & React.RefAttributes<unknown>>;
|
|
6
|
+
export declare const Button: React.ForwardRefExoticComponent<Partial<Omit<Components.Button, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
} & React.RefAttributes<unknown>>;
|
|
9
|
+
export declare const Calendar: React.ForwardRefExoticComponent<Partial<Omit<Components.Calendar, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
} & React.RefAttributes<unknown>>;
|
|
12
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Partial<Omit<Components.Checkbox, "children">> & {
|
|
13
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
14
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
15
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
} & React.RefAttributes<unknown>>;
|
|
18
|
+
export declare const CommandMenu: React.ForwardRefExoticComponent<Partial<Omit<Components.CommandMenu, "children">> & {
|
|
19
|
+
onOpen?: ((e: Event) => unknown) | undefined;
|
|
20
|
+
onClose?: ((e: Event) => unknown) | undefined;
|
|
21
|
+
onNordSelect?: ((e: Event) => unknown) | undefined;
|
|
22
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
} & React.RefAttributes<unknown>>;
|
|
25
|
+
export declare const Card: React.ForwardRefExoticComponent<Partial<Omit<Components.Card, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
} & React.RefAttributes<unknown>>;
|
|
28
|
+
export declare const DatePicker: React.ForwardRefExoticComponent<Partial<Omit<Components.DatePicker, "children">> & {
|
|
29
|
+
onOpen?: ((e: Event) => unknown) | undefined;
|
|
30
|
+
onClose?: ((e: Event) => unknown) | undefined;
|
|
31
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
32
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
33
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
34
|
+
children?: React.ReactNode;
|
|
35
|
+
} & React.RefAttributes<unknown>>;
|
|
36
|
+
export declare const Header: React.ForwardRefExoticComponent<Partial<Omit<Components.Header, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
} & React.RefAttributes<unknown>>;
|
|
39
|
+
export declare const Fieldset: React.ForwardRefExoticComponent<Partial<Omit<Components.Fieldset, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
} & React.RefAttributes<unknown>>;
|
|
42
|
+
export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<Components.Icon, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
43
|
+
children?: React.ReactNode;
|
|
44
|
+
} & React.RefAttributes<unknown>>;
|
|
45
|
+
export declare const Input: React.ForwardRefExoticComponent<Partial<Omit<Components.Input, "children">> & {
|
|
46
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
47
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
48
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
} & React.RefAttributes<unknown>>;
|
|
51
|
+
export declare const NavGroup: React.ForwardRefExoticComponent<Partial<Omit<Components.NavGroup, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
52
|
+
children?: React.ReactNode;
|
|
53
|
+
} & React.RefAttributes<unknown>>;
|
|
54
|
+
export declare const NavItem: React.ForwardRefExoticComponent<Partial<Omit<Components.NavItem, "children">> & {
|
|
55
|
+
onToggle?: ((e: Event) => unknown) | undefined;
|
|
56
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
57
|
+
children?: React.ReactNode;
|
|
58
|
+
} & React.RefAttributes<unknown>>;
|
|
59
|
+
export declare const Navigation: React.ForwardRefExoticComponent<Partial<Omit<Components.Navigation, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
} & React.RefAttributes<unknown>>;
|
|
62
|
+
export declare const Radio: React.ForwardRefExoticComponent<Partial<Omit<Components.Radio, "children">> & {
|
|
63
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
64
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
65
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
66
|
+
children?: React.ReactNode;
|
|
67
|
+
} & React.RefAttributes<unknown>>;
|
|
68
|
+
export declare const Select: React.ForwardRefExoticComponent<Partial<Omit<Components.Select, "children">> & {
|
|
69
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
70
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
71
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
72
|
+
children?: React.ReactNode;
|
|
73
|
+
} & React.RefAttributes<unknown>>;
|
|
74
|
+
export declare const Spinner: React.ForwardRefExoticComponent<Partial<Omit<Components.Spinner, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
75
|
+
children?: React.ReactNode;
|
|
76
|
+
} & React.RefAttributes<unknown>>;
|
|
77
|
+
export declare const Stack: React.ForwardRefExoticComponent<Partial<Omit<Components.Stack, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
78
|
+
children?: React.ReactNode;
|
|
79
|
+
} & React.RefAttributes<unknown>>;
|
|
80
|
+
export declare const Table: React.ForwardRefExoticComponent<Partial<Omit<Components.Table, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
81
|
+
children?: React.ReactNode;
|
|
82
|
+
} & React.RefAttributes<unknown>>;
|
|
83
|
+
export declare const Textarea: React.ForwardRefExoticComponent<Partial<Omit<Components.Textarea, "children">> & {
|
|
84
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
85
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
86
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
87
|
+
children?: React.ReactNode;
|
|
88
|
+
} & React.RefAttributes<unknown>>;
|
|
89
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<Partial<Omit<Components.Tooltip, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
90
|
+
children?: React.ReactNode;
|
|
91
|
+
} & React.RefAttributes<unknown>>;
|
|
92
|
+
export declare const VisuallyHidden: React.ForwardRefExoticComponent<Partial<Omit<Components.VisuallyHidden, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
93
|
+
children?: React.ReactNode;
|
|
94
|
+
} & React.RefAttributes<unknown>>;
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import*as n from"react";import*as e from"@nordhealth/components";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2018 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/const o=new Set(["children","localName","ref","style","className"]),t=new WeakMap,a=(n,e,o,a,r)=>{const i=null==r?void 0:r[e];void 0!==i?o!==a&&((n,e,o)=>{let a=t.get(n);void 0===a&&t.set(n,a=new Map);let r=a.get(e);void 0!==o?void 0===r?(a.set(e,r={handleEvent:o}),n.addEventListener(e,r)):r.handleEvent=o:void 0!==r&&(a.delete(e),n.removeEventListener(e,r))})(n,i,o):n[e]=o},r=(n,e,t,r,i)=>{const d=n.Component,s=n.createElement,l=new Set(Object.keys(null!=r?r:{}));for(const n in t.prototype)n in HTMLElement.prototype||(o.has(n)?console.warn(`${e} contains property ${n} which is a React reserved property. It will be used by React and not set on the element.`):l.add(n));class c extends d{constructor(){super(...arguments),this.t=null}o(n){if(null!==this.t)for(const e in this.i)a(this.t,e,this.props[e],n?n[e]:void 0,r)}componentDidMount(){this.o()}componentDidUpdate(n){this.o(n)}render(){const n=this.props.l;void 0!==this.h&&this.u===n||(this.h=e=>{null===this.t&&(this.t=e),null!==n&&((n,e)=>{"function"==typeof n?n(e):n.current=e})(n,e),this.u=n});const o={ref:this.h};this.i={};for(const[n,e]of Object.entries(this.props))l.has(n)?this.i[n]=e:o["className"===n?"class":n]=e;return s(e,o)}}c.displayName=null!=i?i:t.name;const p=n.forwardRef(((n,e)=>s(c,{...n,l:e},null==n?void 0:n.children)));return p.displayName=c.displayName,p},i=r(n,"nord-badge",e.Badge,{}),d=r(n,"nord-button",e.Button,{}),s=r(n,"nord-calendar",e.Calendar,{}),l=r(n,"nord-checkbox",e.Checkbox,{onInput:"input",onChange:"change"}),c=r(n,"nord-command-menu",e.CommandMenu,{onOpen:"open",onClose:"close",onNordSelect:"nord-select"}),p=r(n,"nord-card",e.Card,{}),h=r(n,"nord-date-picker",e.DatePicker,{onOpen:"open",onClose:"close",onChange:"change",onInput:"input"}),u=r(n,"nord-header",e.Header,{}),m=r(n,"nord-fieldset",e.Fieldset,{}),g=r(n,"nord-icon",e.Icon,{}),v=r(n,"nord-input",e.Input,{onInput:"input",onChange:"change"}),f=r(n,"nord-nav-group",e.NavGroup,{}),y=r(n,"nord-nav-item",e.NavItem,{onToggle:"toggle"}),C=r(n,"nord-navigation",e.Navigation,{}),b=r(n,"nord-radio",e.Radio,{onInput:"input",onChange:"change"}),I=r(n,"nord-select",e.Select,{onInput:"input",onChange:"change"}),N=r(n,"nord-spinner",e.Spinner,{}),k=r(n,"nord-stack",e.Stack,{}),w=r(n,"nord-table",e.Table,{}),x=r(n,"nord-textarea",e.Textarea,{onInput:"input",onChange:"change"}),E=r(n,"nord-tooltip",e.Tooltip,{}),S=r(n,"nord-visually-hidden",e.VisuallyHidden,{});export{i as Badge,d as Button,s as Calendar,p as Card,l as Checkbox,c as CommandMenu,h as DatePicker,m as Fieldset,u as Header,g as Icon,v as Input,f as NavGroup,y as NavItem,C as Navigation,b as Radio,I as Select,N as Spinner,k as Stack,w as Table,x as Textarea,E as Tooltip,S as VisuallyHidden};
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../node_modules/@lit-labs/react/create-component.js","../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=new Set([\"children\",\"localName\",\"ref\",\"style\",\"className\"]),e=new WeakMap,n=(t,n,s,o,i)=>{const l=null==i?void 0:i[n];void 0!==l?s!==o&&((t,n,s)=>{let o=e.get(t);void 0===o&&e.set(t,o=new Map);let i=o.get(n);void 0!==s?void 0===i?(o.set(n,i={handleEvent:s}),t.addEventListener(n,i)):i.handleEvent=s:void 0!==i&&(o.delete(n),t.removeEventListener(n,i))})(t,l,s):t[n]=s},s=(e,s,o,i,l)=>{const c=e.Component,r=e.createElement,h=new Set(Object.keys(null!=i?i:{}));for(const e in o.prototype)e in HTMLElement.prototype||(t.has(e)?console.warn(`${s} contains property ${e} which is a React reserved property. It will be used by React and not set on the element.`):h.add(e));class d extends c{constructor(){super(...arguments),this.t=null}o(t){if(null!==this.t)for(const e in this.i)n(this.t,e,this.props[e],t?t[e]:void 0,i)}componentDidMount(){this.o()}componentDidUpdate(t){this.o(t)}render(){const t=this.props.l;void 0!==this.h&&this.u===t||(this.h=e=>{null===this.t&&(this.t=e),null!==t&&((t,e)=>{\"function\"==typeof t?t(e):t.current=e})(t,e),this.u=t});const e={ref:this.h};this.i={};for(const[t,n]of Object.entries(this.props))h.has(t)?this.i[t]=n:e[\"className\"===t?\"class\":t]=n;return r(s,e)}}d.displayName=null!=l?l:o.name;const a=e.forwardRef(((t,e)=>r(d,{...t,l:e},null==t?void 0:t.children)));return a.displayName=d.displayName,a};export{s as createComponent};\n//# sourceMappingURL=create-component.js.map\n","import * as React from \"react\"\nimport { createComponent } from \"@lit-labs/react\"\nimport * as Components from \"@nordhealth/components\"\n\nexport const Badge = createComponent(React, \"nord-badge\", Components.Badge, {})\n\nexport const Button = createComponent(React, \"nord-button\", Components.Button, {})\n\nexport const Calendar = createComponent(React, \"nord-calendar\", Components.Calendar, {})\n\nexport const Checkbox = createComponent(React, \"nord-checkbox\", Components.Checkbox, {\n onInput: \"input\",\n onChange: \"change\",\n})\n\nexport const CommandMenu = createComponent(React, \"nord-command-menu\", Components.CommandMenu, {\n onOpen: \"open\",\n onClose: \"close\",\n onNordSelect: \"nord-select\",\n})\n\nexport const Card = createComponent(React, \"nord-card\", Components.Card, {})\n\nexport const DatePicker = createComponent(React, \"nord-date-picker\", Components.DatePicker, {\n onOpen: \"open\",\n onClose: \"close\",\n onChange: \"change\",\n onInput: \"input\",\n})\n\nexport const Header = createComponent(React, \"nord-header\", Components.Header, {})\n\nexport const Fieldset = createComponent(React, \"nord-fieldset\", Components.Fieldset, {})\n\nexport const Icon = createComponent(React, \"nord-icon\", Components.Icon, {})\n\nexport const Input = createComponent(React, \"nord-input\", Components.Input, { onInput: \"input\", onChange: \"change\" })\n\nexport const NavGroup = createComponent(React, \"nord-nav-group\", Components.NavGroup, {})\n\nexport const NavItem = createComponent(React, \"nord-nav-item\", Components.NavItem, { onToggle: \"toggle\" })\n\nexport const Navigation = createComponent(React, \"nord-navigation\", Components.Navigation, {})\n\nexport const Radio = createComponent(React, \"nord-radio\", Components.Radio, { onInput: \"input\", onChange: \"change\" })\n\nexport const Select = createComponent(React, \"nord-select\", Components.Select, { onInput: \"input\", onChange: \"change\" })\n\nexport const Spinner = createComponent(React, \"nord-spinner\", Components.Spinner, {})\n\nexport const Stack = createComponent(React, \"nord-stack\", Components.Stack, {})\n\nexport const Table = createComponent(React, \"nord-table\", Components.Table, {})\n\nexport const Textarea = createComponent(React, \"nord-textarea\", Components.Textarea, {\n onInput: \"input\",\n onChange: \"change\",\n})\n\nexport const Tooltip = createComponent(React, \"nord-tooltip\", Components.Tooltip, {})\n\nexport const VisuallyHidden = createComponent(React, \"nord-visually-hidden\", Components.VisuallyHidden, {})\n"],"names":["t","Set","e","WeakMap","n","s","o","i","l","get","set","Map","handleEvent","addEventListener","delete","removeEventListener","c","Component","r","createElement","h","Object","keys","prototype","HTMLElement","has","console","warn","add","d","constructor","super","arguments","this","props","componentDidMount","componentDidUpdate","render","u","current","ref","entries","displayName","name","a","forwardRef","children","Badge","createComponent","React","Components","Button","Calendar","Checkbox","onInput","onChange","CommandMenu","onOpen","onClose","onNordSelect","Card","DatePicker","Header","Fieldset","Icon","Input","NavGroup","NavItem","onToggle","Navigation","Radio","Select","Spinner","Stack","Table","Textarea","Tooltip","VisuallyHidden"],"mappings":";;;;;GAKA,MAAMA,EAAE,IAAIC,IAAI,CAAC,WAAW,YAAY,MAAM,QAAQ,cAAcC,EAAE,IAAIC,QAAQC,EAAE,CAACJ,EAAEI,EAAEC,EAAEC,EAAEC,KAAK,MAAMC,EAAE,MAAMD,OAAE,EAAOA,EAAEH,QAAG,IAASI,EAAEH,IAAIC,GAAG,EAAEN,EAAEI,EAAEC,KAAK,IAAIC,EAAEJ,EAAEO,IAAIT,QAAG,IAASM,GAAGJ,EAAEQ,IAAIV,EAAEM,EAAE,IAAIK,KAAK,IAAIJ,EAAED,EAAEG,IAAIL,QAAG,IAASC,OAAE,IAASE,GAAGD,EAAEI,IAAIN,EAAEG,EAAE,CAACK,YAAYP,IAAIL,EAAEa,iBAAiBT,EAAEG,IAAIA,EAAEK,YAAYP,OAAE,IAASE,IAAID,EAAEQ,OAAOV,GAAGJ,EAAEe,oBAAoBX,EAAEG,KAApN,CAA0NP,EAAEQ,EAAEH,GAAGL,EAAEI,GAAGC,GAAGA,EAAE,CAACH,EAAEG,EAAEC,EAAEC,EAAEC,KAAK,MAAMQ,EAAEd,EAAEe,UAAUC,EAAEhB,EAAEiB,cAAcC,EAAE,IAAInB,IAAIoB,OAAOC,KAAK,MAAMf,EAAEA,EAAE,KAAK,IAAI,MAAML,KAAKI,EAAEiB,UAAUrB,KAAKsB,YAAYD,YAAYvB,EAAEyB,IAAIvB,GAAGwB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AErEC,EAAiB7B,EAAgBC,EAAO,uBAAwBC,EAAW2B,eAAgB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nordhealth/react",
|
|
3
|
+
"version": "1.0.0-alpha.55",
|
|
4
|
+
"description": "This package includes react wrappers for Nord Design System's web components",
|
|
5
|
+
"author": "Nordhealth <support@nordhealth.design>",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"module": "lib/index.js",
|
|
9
|
+
"types": "lib/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"lib"
|
|
12
|
+
],
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/nordhealth/design-system.git"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"clean": "rm -rf lib/ && rm -rf src/",
|
|
22
|
+
"generate": "node ./scripts/build.mjs --build",
|
|
23
|
+
"build": "npm run clean && npm run generate && rollup -c"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/nordhealth/design-system/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/nordhealth/design-system#readme",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@lit-labs/react": "1.0.2",
|
|
31
|
+
"@nordhealth/components": "^1.0.0-alpha.55"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"react": "17.0.2"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@rollup/plugin-node-resolve": "13.1.3",
|
|
38
|
+
"@rollup/plugin-typescript": "8.3.0",
|
|
39
|
+
"@types/prettier": "2.4.4",
|
|
40
|
+
"@types/react": "17.0.39",
|
|
41
|
+
"react": "17.0.2",
|
|
42
|
+
"rollup": "2.68.0",
|
|
43
|
+
"rollup-plugin-summary": "1.3.0",
|
|
44
|
+
"rollup-plugin-terser": "7.0.2"
|
|
45
|
+
},
|
|
46
|
+
"gitHead": "8cadf3dd2ab337b415d13cb48278e8d6260ccd39"
|
|
47
|
+
}
|