@nordhealth/components 1.12.0 → 1.13.0
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/custom-elements.json +2374 -2475
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/{Calendar-3efcf67b.js → Calendar-c2dc6905.js} +1 -1
- package/lib/{Calendar-3efcf67b.js.map → Calendar-c2dc6905.js.map} +1 -1
- package/lib/Calendar.js +1 -1
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/Divider.js +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Modal.js +1 -1
- package/lib/Modal.js.map +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/Qrcode.js +2 -2
- package/lib/Qrcode.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/Spinner.js +1 -1
- package/lib/Spinner.js.map +1 -1
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/TabPanel.js +1 -1
- package/lib/TabPanel.js.map +1 -1
- package/lib/bundle.js +6 -7
- package/lib/bundle.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/src/button/Button.d.ts +8 -0
- package/lib/src/button/Button.test.d.ts +2 -0
- package/lib/src/divider/Divider.d.ts +2 -4
- package/lib/src/modal/Modal.d.ts +2 -4
- package/lib/src/popout/Popout.test.d.ts +7 -0
- package/lib/src/progress-bar/ProgressBar.d.ts +1 -1
- package/lib/src/qrcode/Qrcode.d.ts +2 -4
- package/lib/src/tab/Tab.d.ts +2 -4
- package/lib/src/tab-group/TabGroup.d.ts +2 -4
- package/lib/src/tab-panel/TabPanel.d.ts +2 -4
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as Badge}from"./Badge.js";export{default as Button}from"./Button.js";export{default as Card}from"./Card.js";export{default as Input}from"./Input.js";export{default as Icon}from"./Icon.js";export{default as CommandMenu}from"./CommandMenu.js";export{default as CommandMenuAction}from"./CommandMenuAction.js";export{default as Select}from"./Select.js";export{default as Stack}from"./Stack.js";export{default as Spinner}from"./Spinner.js";export{default as Table}from"./Table.js";export{default as VisuallyHidden}from"./VisuallyHidden.js";export{default as Textarea}from"./Textarea.js";export{C as Calendar}from"./Calendar-
|
|
1
|
+
export{default as Badge}from"./Badge.js";export{default as Button}from"./Button.js";export{default as Card}from"./Card.js";export{default as Input}from"./Input.js";export{default as Icon}from"./Icon.js";export{default as CommandMenu}from"./CommandMenu.js";export{default as CommandMenuAction}from"./CommandMenuAction.js";export{default as Select}from"./Select.js";export{default as Stack}from"./Stack.js";export{default as Spinner}from"./Spinner.js";export{default as Table}from"./Table.js";export{default as VisuallyHidden}from"./VisuallyHidden.js";export{default as Textarea}from"./Textarea.js";export{C as Calendar}from"./Calendar-c2dc6905.js";export{default as DatePicker}from"./DatePicker.js";export{default as Checkbox}from"./Checkbox.js";export{default as Tooltip}from"./Tooltip.js";export{default as Fieldset}from"./Fieldset.js";export{default as Radio}from"./Radio.js";export{default as Header}from"./Header.js";export{default as NavGroup}from"./NavGroup.js";export{default as NavItem}from"./NavItem.js";export{default as Navigation}from"./Navigation.js";export{default as Layout}from"./Layout.js";export{default as EmptyState}from"./EmptyState.js";export{default as Banner}from"./Banner.js";export{default as Avatar}from"./Avatar.js";export{default as ProgressBar}from"./ProgressBar.js";export{default as Popout}from"./Popout.js";export{default as Dropdown}from"./Dropdown.js";export{default as DropdownItem}from"./DropdownItem.js";export{default as DropdownGroup}from"./DropdownGroup.js";export{isTranslationRegistered,registerTranslation}from"./translation.js";export{default as TabGroup}from"./TabGroup.js";export{default as Tab}from"./Tab.js";export{default as TabPanel}from"./TabPanel.js";export{default as Toggle}from"./Toggle.js";export{default as Modal}from"./Modal.js";export{default as Skeleton}from"./Skeleton.js";export{default as Toast}from"./Toast.js";export{default as ToastGroup}from"./ToastGroup.js";export{default as Divider}from"./Divider.js";export{default as Qrcode}from"./Qrcode.js";import"./query-assigned-elements-ef860822.js";import"./lit-element-67e6cd99.js";import"./property-03f59dce.js";import"./Component-5a0a26a0.js";import"./ref-57ff8ffc.js";import"./directive-de55b00a.js";import"./EventController-d99ebeef.js";import"./LightDomController-6d26dea2.js";import"./cond-97c45476.js";import"./FocusableMixin-175ea4d7.js";import"./InputMixin-9334d385.js";import"./SlotController-ea6eff46.js";import"./if-defined-fe1a64e3.js";import"./class-map-f1b6f1fa.js";import"./unsafe-html-61a04601.js";import"./FormAssociatedMixin-d0d98a92.js";import"./events-731d0007.js";import"./TextField-f48e2e5c.js";import"./AutocompleteMixin-ca948bdb.js";import"./FormField-d3767c2e.js";import"./state-70f38ceb.js";import"./observe-a9c6dfb6.js";import"./repeat-084c4167.js";import"./collection-800f5002.js";import"./number-c3ab3e95.js";import"./LightDismissController-a2645ae6.js";import"./ShortcutController-87615e31.js";import"./tinykeys.module-84e6cc41.js";import"./KeyboardController.js";import"./SelectEvent.js";import"./LocalizeController.js";import"./DirectionController-8b298382.js";import"./query-2d22378e.js";import"./dates-a8de5b83.js";import"./month-view.js";import"./DateSelectEvent.js";import"./interface-close-small-44ababc3.js";import"./date-adapter.js";import"./positioning-b660767c.js";import"./fsm-50373df9.js";import"./en-us.js";import"./localization.js";import"./localization2.js";import"./localization3.js";import"./localization4.js";import"./DraftComponentMixin-9e4b7b34.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LitElement, TemplateResult } from "lit";
|
|
2
|
+
import "../spinner/Spinner.js";
|
|
2
3
|
declare const Button_base: (new (...args: any[]) => import("../common/mixins/InputMixin.js").InputMixinInterface) & (new (...args: any[]) => import("../common/mixins/FocusableMixin.js").FocusableMixinInterface) & typeof LitElement;
|
|
3
4
|
/**
|
|
4
5
|
* Buttons are used for interface actions. Primary style should be
|
|
@@ -67,6 +68,13 @@ export default class Button extends Button_base {
|
|
|
67
68
|
* Controls whether the button expands to fill the width of its container.
|
|
68
69
|
*/
|
|
69
70
|
expand: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Controls whether the button is in loading state. Please note that the spinner
|
|
73
|
+
* is hidden from assistive technologies, so you need to make sure to announce
|
|
74
|
+
* the loading state to e.g. screen reader users. We also recommend disabling
|
|
75
|
+
* all user interactions on the button itself while in loading state.
|
|
76
|
+
*/
|
|
77
|
+
loading: boolean;
|
|
70
78
|
connectedCallback(): void;
|
|
71
79
|
render(): TemplateResult<1>;
|
|
72
80
|
/**
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
declare const Divider_base: typeof LitElement;
|
|
3
2
|
/**
|
|
4
3
|
* Divider components are used to separate and distinguish sections of
|
|
5
4
|
* content or groups of menu items. Visually, they look like
|
|
6
5
|
* horizontal or vertical lines.
|
|
7
6
|
*
|
|
8
|
-
* @status
|
|
7
|
+
* @status new
|
|
9
8
|
* @category structure
|
|
10
9
|
*/
|
|
11
|
-
export default class Divider extends
|
|
10
|
+
export default class Divider extends LitElement {
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
/**
|
|
14
13
|
* The direction of the divider.
|
|
@@ -22,4 +21,3 @@ declare global {
|
|
|
22
21
|
"nord-divider": Divider;
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
|
-
export {};
|
package/lib/src/modal/Modal.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
declare const Modal_base: typeof LitElement;
|
|
3
2
|
/**
|
|
4
3
|
* Modal component is used to display content that temporarily blocks interactions
|
|
5
4
|
* with the main view of an application. Modal should be used sparingly and
|
|
6
5
|
* only when necessary.
|
|
7
6
|
*
|
|
8
|
-
* @status
|
|
7
|
+
* @status new
|
|
9
8
|
* @category overlay
|
|
10
9
|
* @slot - Default slot
|
|
11
10
|
* @slot header - Slot which holds the header of the modal, positioned next to the close button.
|
|
@@ -13,7 +12,7 @@ declare const Modal_base: typeof LitElement;
|
|
|
13
12
|
* @fires cancel - Dispatched before the modal has closed when a user attempts to dismiss a modal. Call `preventDefault()` on the event to prevent the modal closing.
|
|
14
13
|
* @fires close - Dispatched when a modal is closed for any reason.
|
|
15
14
|
*/
|
|
16
|
-
export default class Modal extends
|
|
15
|
+
export default class Modal extends LitElement {
|
|
17
16
|
static styles: import("lit").CSSResult[];
|
|
18
17
|
private modal;
|
|
19
18
|
private backdrop;
|
|
@@ -80,4 +79,3 @@ declare global {
|
|
|
80
79
|
"nord-modal": Modal;
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
|
-
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import "../button/Button.js";
|
|
2
2
|
import "../stack/Stack.js";
|
|
3
|
+
import "../tab-group/TabGroup.js";
|
|
4
|
+
import "../tab-panel/TabPanel.js";
|
|
5
|
+
import "../tab/Tab.js";
|
|
6
|
+
import "../icon/Icon.js";
|
|
7
|
+
import "../tooltip/Tooltip.js";
|
|
8
|
+
import "../toast-group/ToastGroup.js";
|
|
9
|
+
import "../toast/Toast.js";
|
|
@@ -5,7 +5,7 @@ declare const ProgressBar_base: (new (...args: any[]) => import("../common/mixin
|
|
|
5
5
|
* of a task or process. It shows how much of the task has
|
|
6
6
|
* been completed and how much is still left.
|
|
7
7
|
*
|
|
8
|
-
* @status
|
|
8
|
+
* @status ready
|
|
9
9
|
* @category feedback
|
|
10
10
|
*/
|
|
11
11
|
export default class ProgressBar extends ProgressBar_base {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
declare const Qrcode_base: typeof LitElement;
|
|
3
2
|
/**
|
|
4
3
|
* QR Code component is used for providing information or links
|
|
5
4
|
* to users which they can quickly scan with their smartphone.
|
|
6
5
|
*
|
|
7
|
-
* @status
|
|
6
|
+
* @status new
|
|
8
7
|
* @category image
|
|
9
8
|
* @displayName QR Code
|
|
10
9
|
*/
|
|
11
|
-
export default class Qrcode extends
|
|
10
|
+
export default class Qrcode extends LitElement {
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
private canvas;
|
|
14
13
|
private computed;
|
|
@@ -50,4 +49,3 @@ declare global {
|
|
|
50
49
|
"nord-qrcode": Qrcode;
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
|
-
export {};
|
package/lib/src/tab/Tab.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
declare const Tab_base: typeof LitElement;
|
|
3
2
|
/**
|
|
4
3
|
* The interactive tab button for use within the tab group component.
|
|
5
4
|
*
|
|
6
|
-
* @status
|
|
5
|
+
* @status new
|
|
7
6
|
* @category navigation
|
|
8
7
|
* @slot - The tab button content.
|
|
9
8
|
*/
|
|
10
|
-
export default class Tab extends
|
|
9
|
+
export default class Tab extends LitElement {
|
|
11
10
|
static styles: import("lit").CSSResult[];
|
|
12
11
|
private defaultSlot;
|
|
13
12
|
/**
|
|
@@ -27,4 +26,3 @@ declare global {
|
|
|
27
26
|
"nord-tab": Tab;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
|
-
export {};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
declare const TabGroup_base: typeof LitElement;
|
|
3
2
|
/**
|
|
4
3
|
* Tab Group allows multiple panels to be contained within a single window,
|
|
5
4
|
* using tabs as a navigational element.
|
|
6
5
|
*
|
|
7
|
-
* @status
|
|
6
|
+
* @status new
|
|
8
7
|
* @category navigation
|
|
9
8
|
* @slot - The element which contains the content to be revealed.
|
|
10
9
|
* @slot tab - The element which contains all tabs to reveal tabbed content.
|
|
11
10
|
*/
|
|
12
|
-
export default class TabGroup extends
|
|
11
|
+
export default class TabGroup extends LitElement {
|
|
13
12
|
static styles: import("lit").CSSResult[];
|
|
14
13
|
private direction;
|
|
15
14
|
private observer?;
|
|
@@ -74,4 +73,3 @@ declare global {
|
|
|
74
73
|
"nord-tab-group": TabGroup;
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
|
-
export {};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
declare const TabPanel_base: typeof LitElement;
|
|
3
2
|
/**
|
|
4
3
|
* The panel which contains content that can be revealed using a tab
|
|
5
4
|
* in the tab group component.
|
|
6
5
|
*
|
|
7
|
-
* @status
|
|
6
|
+
* @status new
|
|
8
7
|
* @category navigation
|
|
9
8
|
* @slot - The tab panel content.
|
|
10
9
|
*/
|
|
11
|
-
export default class TabPanel extends
|
|
10
|
+
export default class TabPanel extends LitElement {
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
render(): import("lit-html").TemplateResult<1>;
|
|
14
13
|
connectedCallback(): void;
|
|
@@ -18,4 +17,3 @@ declare global {
|
|
|
18
17
|
"nord-tab-panel": TabPanel;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordhealth/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "This package includes Nord Design System web components",
|
|
5
5
|
"author": "Nordhealth <support@nordhealth.design>",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -179,5 +179,5 @@
|
|
|
179
179
|
}
|
|
180
180
|
]
|
|
181
181
|
},
|
|
182
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "0708258eba6bf0f9dbb79d6c20805f102d013940"
|
|
183
183
|
}
|