@nordhealth/react 1.0.0-rc.3 → 1.0.0-rc.6
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/lib/index.d.ts +26 -26
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ import * as Components from "@nordhealth/components";
|
|
|
3
3
|
export declare const Avatar: React.ForwardRefExoticComponent<Partial<Omit<Components.Avatar, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
} & React.RefAttributes<unknown>>;
|
|
6
|
-
export declare const
|
|
7
|
-
onNordFocusDate?: ((e: Event) => unknown) | undefined;
|
|
8
|
-
onChange?: ((e: Event) => unknown) | undefined;
|
|
9
|
-
} & React.HTMLAttributes<HTMLElement> & {
|
|
6
|
+
export declare const Badge: React.ForwardRefExoticComponent<Partial<Omit<Components.Badge, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
10
7
|
children?: React.ReactNode;
|
|
11
8
|
} & React.RefAttributes<unknown>>;
|
|
12
9
|
export declare const Button: React.ForwardRefExoticComponent<Partial<Omit<Components.Button, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
13
10
|
children?: React.ReactNode;
|
|
14
11
|
} & React.RefAttributes<unknown>>;
|
|
15
|
-
export declare const
|
|
12
|
+
export declare const Calendar: React.ForwardRefExoticComponent<Partial<Omit<Components.Calendar, "children">> & {
|
|
13
|
+
onNordFocusDate?: ((e: Event) => unknown) | undefined;
|
|
14
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
15
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
} & React.RefAttributes<unknown>>;
|
|
18
18
|
export declare const Banner: React.ForwardRefExoticComponent<Partial<Omit<Components.Banner, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
@@ -21,14 +21,6 @@ export declare const Banner: React.ForwardRefExoticComponent<Partial<Omit<Compon
|
|
|
21
21
|
export declare const Card: React.ForwardRefExoticComponent<Partial<Omit<Components.Card, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
22
22
|
children?: React.ReactNode;
|
|
23
23
|
} & React.RefAttributes<unknown>>;
|
|
24
|
-
export declare const DatePicker: React.ForwardRefExoticComponent<Partial<Omit<Components.DatePicker, "children">> & {
|
|
25
|
-
onOpen?: ((e: Event) => unknown) | undefined;
|
|
26
|
-
onClose?: ((e: Event) => unknown) | undefined;
|
|
27
|
-
onChange?: ((e: Event) => unknown) | undefined;
|
|
28
|
-
onInput?: ((e: Event) => unknown) | undefined;
|
|
29
|
-
} & React.HTMLAttributes<HTMLElement> & {
|
|
30
|
-
children?: React.ReactNode;
|
|
31
|
-
} & React.RefAttributes<unknown>>;
|
|
32
24
|
export declare const Checkbox: React.ForwardRefExoticComponent<Partial<Omit<Components.Checkbox, "children">> & {
|
|
33
25
|
onInput?: ((e: Event) => unknown) | undefined;
|
|
34
26
|
onChange?: ((e: Event) => unknown) | undefined;
|
|
@@ -42,10 +34,15 @@ export declare const CommandMenu: React.ForwardRefExoticComponent<Partial<Omit<C
|
|
|
42
34
|
} & React.HTMLAttributes<HTMLElement> & {
|
|
43
35
|
children?: React.ReactNode;
|
|
44
36
|
} & React.RefAttributes<unknown>>;
|
|
45
|
-
export declare const
|
|
37
|
+
export declare const DatePicker: React.ForwardRefExoticComponent<Partial<Omit<Components.DatePicker, "children">> & {
|
|
38
|
+
onOpen?: ((e: Event) => unknown) | undefined;
|
|
39
|
+
onClose?: ((e: Event) => unknown) | undefined;
|
|
40
|
+
onChange?: ((e: Event) => unknown) | undefined;
|
|
41
|
+
onInput?: ((e: Event) => unknown) | undefined;
|
|
42
|
+
} & React.HTMLAttributes<HTMLElement> & {
|
|
46
43
|
children?: React.ReactNode;
|
|
47
44
|
} & React.RefAttributes<unknown>>;
|
|
48
|
-
export declare const
|
|
45
|
+
export declare const Dropdown: React.ForwardRefExoticComponent<Partial<Omit<Components.Dropdown, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
49
46
|
children?: React.ReactNode;
|
|
50
47
|
} & React.RefAttributes<unknown>>;
|
|
51
48
|
export declare const DropdownGroup: React.ForwardRefExoticComponent<Partial<Omit<Components.DropdownGroup, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
@@ -54,6 +51,9 @@ export declare const DropdownGroup: React.ForwardRefExoticComponent<Partial<Omit
|
|
|
54
51
|
export declare const EmptyState: React.ForwardRefExoticComponent<Partial<Omit<Components.EmptyState, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
55
52
|
children?: React.ReactNode;
|
|
56
53
|
} & React.RefAttributes<unknown>>;
|
|
54
|
+
export declare const DropdownItem: React.ForwardRefExoticComponent<Partial<Omit<Components.DropdownItem, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
55
|
+
children?: React.ReactNode;
|
|
56
|
+
} & React.RefAttributes<unknown>>;
|
|
57
57
|
export declare const Fieldset: React.ForwardRefExoticComponent<Partial<Omit<Components.Fieldset, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
58
58
|
children?: React.ReactNode;
|
|
59
59
|
} & React.RefAttributes<unknown>>;
|
|
@@ -63,18 +63,18 @@ export declare const Header: React.ForwardRefExoticComponent<Partial<Omit<Compon
|
|
|
63
63
|
export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<Components.Icon, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
64
64
|
children?: React.ReactNode;
|
|
65
65
|
} & React.RefAttributes<unknown>>;
|
|
66
|
-
export declare const Layout: React.ForwardRefExoticComponent<Partial<Omit<Components.Layout, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
67
|
-
children?: React.ReactNode;
|
|
68
|
-
} & React.RefAttributes<unknown>>;
|
|
69
|
-
export declare const NavGroup: React.ForwardRefExoticComponent<Partial<Omit<Components.NavGroup, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
70
|
-
children?: React.ReactNode;
|
|
71
|
-
} & React.RefAttributes<unknown>>;
|
|
72
66
|
export declare const Input: React.ForwardRefExoticComponent<Partial<Omit<Components.Input, "children">> & {
|
|
73
67
|
onInput?: ((e: Event) => unknown) | undefined;
|
|
74
68
|
onChange?: ((e: Event) => unknown) | undefined;
|
|
75
69
|
} & React.HTMLAttributes<HTMLElement> & {
|
|
76
70
|
children?: React.ReactNode;
|
|
77
71
|
} & React.RefAttributes<unknown>>;
|
|
72
|
+
export declare const Layout: React.ForwardRefExoticComponent<Partial<Omit<Components.Layout, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
73
|
+
children?: React.ReactNode;
|
|
74
|
+
} & React.RefAttributes<unknown>>;
|
|
75
|
+
export declare const NavGroup: React.ForwardRefExoticComponent<Partial<Omit<Components.NavGroup, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
76
|
+
children?: React.ReactNode;
|
|
77
|
+
} & React.RefAttributes<unknown>>;
|
|
78
78
|
export declare const NavItem: React.ForwardRefExoticComponent<Partial<Omit<Components.NavItem, "children">> & {
|
|
79
79
|
onToggle?: ((e: Event) => unknown) | undefined;
|
|
80
80
|
} & React.HTMLAttributes<HTMLElement> & {
|
|
@@ -89,6 +89,9 @@ export declare const Popout: React.ForwardRefExoticComponent<Partial<Omit<Compon
|
|
|
89
89
|
} & React.HTMLAttributes<HTMLElement> & {
|
|
90
90
|
children?: React.ReactNode;
|
|
91
91
|
} & React.RefAttributes<unknown>>;
|
|
92
|
+
export declare const ProgressBar: React.ForwardRefExoticComponent<Partial<Omit<Components.ProgressBar, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
93
|
+
children?: React.ReactNode;
|
|
94
|
+
} & React.RefAttributes<unknown>>;
|
|
92
95
|
export declare const Radio: React.ForwardRefExoticComponent<Partial<Omit<Components.Radio, "children">> & {
|
|
93
96
|
onInput?: ((e: Event) => unknown) | undefined;
|
|
94
97
|
onChange?: ((e: Event) => unknown) | undefined;
|
|
@@ -101,13 +104,10 @@ export declare const Select: React.ForwardRefExoticComponent<Partial<Omit<Compon
|
|
|
101
104
|
} & React.HTMLAttributes<HTMLElement> & {
|
|
102
105
|
children?: React.ReactNode;
|
|
103
106
|
} & React.RefAttributes<unknown>>;
|
|
104
|
-
export declare const
|
|
105
|
-
children?: React.ReactNode;
|
|
106
|
-
} & React.RefAttributes<unknown>>;
|
|
107
|
-
export declare const ProgressBar: React.ForwardRefExoticComponent<Partial<Omit<Components.ProgressBar, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
107
|
+
export declare const Spinner: React.ForwardRefExoticComponent<Partial<Omit<Components.Spinner, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
108
108
|
children?: React.ReactNode;
|
|
109
109
|
} & React.RefAttributes<unknown>>;
|
|
110
|
-
export declare const
|
|
110
|
+
export declare const Stack: React.ForwardRefExoticComponent<Partial<Omit<Components.Stack, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
111
111
|
children?: React.ReactNode;
|
|
112
112
|
} & React.RefAttributes<unknown>>;
|
|
113
113
|
export declare const Table: React.ForwardRefExoticComponent<Partial<Omit<Components.Table, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
package/lib/index.js
CHANGED
|
@@ -3,5 +3,5 @@ import*as n from"react";import*as o from"@nordhealth/components";
|
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2018 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
-
*/const e=new Set(["children","localName","ref","style","className"]),t=new WeakMap,r=(n,o,e,r,a)=>{const d=null==a?void 0:a[o];void 0!==d?e!==r&&((n,o,e)=>{let r=t.get(n);void 0===r&&t.set(n,r=new Map);let a=r.get(o);void 0!==e?void 0===a?(r.set(o,a={handleEvent:e}),n.addEventListener(o,a)):a.handleEvent=e:void 0!==a&&(r.delete(o),n.removeEventListener(o,a))})(n,d,e):n[o]=e},a=(n,o,t,a,d)=>{const s=n.Component,i=n.createElement,p=new Set(Object.keys(null!=a?a:{}));for(const n in t.prototype)n in HTMLElement.prototype||(e.has(n)?console.warn(`${o} contains property ${n} which is a React reserved property. It will be used by React and not set on the element.`):p.add(n));class l extends s{constructor(){super(...arguments),this.t=null}o(n){if(null!==this.t)for(const o in this.i)r(this.t,o,this.props[o],n?n[o]:void 0,a)}componentDidMount(){this.o()}componentDidUpdate(n){this.o(n)}render(){const n=this.props.l;void 0!==this.h&&this.u===n||(this.h=o=>{null===this.t&&(this.t=o),null!==n&&((n,o)=>{"function"==typeof n?n(o):n.current=o})(n,o),this.u=n});const e={ref:this.h};this.i={};for(const[n,o]of Object.entries(this.props))p.has(n)?this.i[n]=o:e["className"===n?"class":n]=o;return i(o,e)}}l.displayName=null!=d?d:t.name;const c=n.forwardRef(((n,o)=>i(l,{...n,l:o},null==n?void 0:n.children)));return c.displayName=l.displayName,c},d=a(n,"nord-avatar",o.Avatar,{}),s=a(n,"nord-
|
|
6
|
+
*/const e=new Set(["children","localName","ref","style","className"]),t=new WeakMap,r=(n,o,e,r,a)=>{const d=null==a?void 0:a[o];void 0!==d?e!==r&&((n,o,e)=>{let r=t.get(n);void 0===r&&t.set(n,r=new Map);let a=r.get(o);void 0!==e?void 0===a?(r.set(o,a={handleEvent:e}),n.addEventListener(o,a)):a.handleEvent=e:void 0!==a&&(r.delete(o),n.removeEventListener(o,a))})(n,d,e):n[o]=e},a=(n,o,t,a,d)=>{const s=n.Component,i=n.createElement,p=new Set(Object.keys(null!=a?a:{}));for(const n in t.prototype)n in HTMLElement.prototype||(e.has(n)?console.warn(`${o} contains property ${n} which is a React reserved property. It will be used by React and not set on the element.`):p.add(n));class l extends s{constructor(){super(...arguments),this.t=null}o(n){if(null!==this.t)for(const o in this.i)r(this.t,o,this.props[o],n?n[o]:void 0,a)}componentDidMount(){this.o()}componentDidUpdate(n){this.o(n)}render(){const n=this.props.l;void 0!==this.h&&this.u===n||(this.h=o=>{null===this.t&&(this.t=o),null!==n&&((n,o)=>{"function"==typeof n?n(o):n.current=o})(n,o),this.u=n});const e={ref:this.h};this.i={};for(const[n,o]of Object.entries(this.props))p.has(n)?this.i[n]=o:e["className"===n?"class":n]=o;return i(o,e)}}l.displayName=null!=d?d:t.name;const c=n.forwardRef(((n,o)=>i(l,{...n,l:o},null==n?void 0:n.children)));return c.displayName=l.displayName,c},d=a(n,"nord-avatar",o.Avatar,{}),s=a(n,"nord-badge",o.Badge,{}),i=a(n,"nord-button",o.Button,{}),p=a(n,"nord-calendar",o.Calendar,{onNordFocusDate:"nord-focus-date",onChange:"change"}),l=a(n,"nord-banner",o.Banner,{}),c=a(n,"nord-card",o.Card,{}),h=a(n,"nord-checkbox",o.Checkbox,{onInput:"input",onChange:"change"}),u=a(n,"nord-command-menu",o.CommandMenu,{onOpen:"open",onClose:"close",onNordSelect:"nord-select"}),m=a(n,"nord-date-picker",o.DatePicker,{onOpen:"open",onClose:"close",onChange:"change",onInput:"input"}),g=a(n,"nord-dropdown",o.Dropdown,{}),v=a(n,"nord-dropdown-group",o.DropdownGroup,{}),y=a(n,"nord-empty-state",o.EmptyState,{}),f=a(n,"nord-dropdown-item",o.DropdownItem,{}),C=a(n,"nord-fieldset",o.Fieldset,{}),w=a(n,"nord-header",o.Header,{}),b=a(n,"nord-icon",o.Icon,{}),I=a(n,"nord-input",o.Input,{onInput:"input",onChange:"change"}),N=a(n,"nord-layout",o.Layout,{}),k=a(n,"nord-nav-group",o.NavGroup,{}),D=a(n,"nord-nav-item",o.NavItem,{onToggle:"toggle"}),E=a(n,"nord-navigation",o.Navigation,{}),S=a(n,"nord-popout",o.Popout,{onOpen:"open",onClose:"close"}),x=a(n,"nord-progress-bar",o.ProgressBar,{}),M=a(n,"nord-radio",o.Radio,{onInput:"input",onChange:"change"}),O=a(n,"nord-select",o.Select,{onInput:"input",onChange:"change"}),T=a(n,"nord-spinner",o.Spinner,{}),B=a(n,"nord-stack",o.Stack,{}),L=a(n,"nord-table",o.Table,{}),R=a(n,"nord-textarea",o.Textarea,{onInput:"input",onChange:"change"}),H=a(n,"nord-tooltip",o.Tooltip,{}),P=a(n,"nord-visually-hidden",o.VisuallyHidden,{});export{d as Avatar,s as Badge,l as Banner,i as Button,p as Calendar,c as Card,h as Checkbox,u as CommandMenu,m as DatePicker,g as Dropdown,v as DropdownGroup,f as DropdownItem,y as EmptyState,C as Fieldset,w as Header,b as Icon,I as Input,N as Layout,k as NavGroup,D as NavItem,E as Navigation,S as Popout,x as ProgressBar,M as Radio,O as Select,T as Spinner,B as Stack,L as Table,R as Textarea,H as Tooltip,P as VisuallyHidden};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +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 Avatar = createComponent(React, \"nord-avatar\", Components.Avatar, {})\n\nexport const
|
|
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 Avatar = createComponent(React, \"nord-avatar\", Components.Avatar, {})\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 onNordFocusDate: \"nord-focus-date\",\n onChange: \"change\",\n})\n\nexport const Banner = createComponent(React, \"nord-banner\", Components.Banner, {})\n\nexport const Card = createComponent(React, \"nord-card\", Components.Card, {})\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 DatePicker = createComponent(React, \"nord-date-picker\", Components.DatePicker, {\n onOpen: \"open\",\n onClose: \"close\",\n onChange: \"change\",\n onInput: \"input\",\n})\n\nexport const Dropdown = createComponent(React, \"nord-dropdown\", Components.Dropdown, {})\n\nexport const DropdownGroup = createComponent(React, \"nord-dropdown-group\", Components.DropdownGroup, {})\n\nexport const EmptyState = createComponent(React, \"nord-empty-state\", Components.EmptyState, {})\n\nexport const DropdownItem = createComponent(React, \"nord-dropdown-item\", Components.DropdownItem, {})\n\nexport const Fieldset = createComponent(React, \"nord-fieldset\", Components.Fieldset, {})\n\nexport const Header = createComponent(React, \"nord-header\", Components.Header, {})\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 Layout = createComponent(React, \"nord-layout\", Components.Layout, {})\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 Popout = createComponent(React, \"nord-popout\", Components.Popout, { onOpen: \"open\", onClose: \"close\" })\n\nexport const ProgressBar = createComponent(React, \"nord-progress-bar\", Components.ProgressBar, {})\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","Avatar","createComponent","React","Components","Badge","Button","Calendar","onNordFocusDate","onChange","Banner","Card","Checkbox","onInput","CommandMenu","onOpen","onClose","onNordSelect","DatePicker","Dropdown","DropdownGroup","EmptyState","DropdownItem","Fieldset","Header","Icon","Input","Layout","NavGroup","NavItem","onToggle","Navigation","Popout","ProgressBar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EAAQnC,EAAgBC,EAAO,aAAcC,EAAWiC,MAAO,IAE/DC,EAAQpC,EAAgBC,EAAO,aAAcC,EAAWkC,MAAO,IAE/DC,EAAWrC,EAAgBC,EAAO,gBAAiBC,EAAWmC,SAAU,CACnF1B,QAAS,QACTJ,SAAU,WAGC+B,EAAUtC,EAAgBC,EAAO,eAAgBC,EAAWoC,QAAS,IAErEC,EAAiBvC,EAAgBC,EAAO,uBAAwBC,EAAWqC,eAAgB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordhealth/react",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.6",
|
|
4
4
|
"description": "This package includes react wrappers for Nord Design System's web components",
|
|
5
5
|
"author": "Nordhealth <support@nordhealth.design>",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"homepage": "https://github.com/nordhealth/design-system#readme",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@lit-labs/react": "1.0.2",
|
|
31
|
-
"@nordhealth/components": "^1.0.0-rc.
|
|
31
|
+
"@nordhealth/components": "^1.0.0-rc.6"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "17.0.2"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"rollup-plugin-summary": "1.3.0",
|
|
44
44
|
"rollup-plugin-terser": "7.0.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "7705baffdfb77a3e457d5ca3c0d80f30a6331cc7"
|
|
47
47
|
}
|