@nordhealth/components 1.7.0 → 1.8.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/README.md +1 -1
- package/custom-elements.json +1236 -1216
- package/lib/Dropdown.js.map +1 -1
- package/lib/DropdownGroup.js.map +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/Popout.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.js.map +1 -1
- package/lib/src/dropdown/Dropdown.d.ts +1 -1
- package/lib/src/dropdown-group/DropdownGroup.d.ts +1 -1
- package/lib/src/dropdown-item/DropdownItem.d.ts +1 -1
- package/lib/src/empty-state/EmptyState.d.ts +1 -1
- package/lib/src/layout/Layout.d.ts +5 -0
- package/lib/src/layout/Layout.test.d.ts +3 -0
- package/lib/src/popout/Popout.d.ts +1 -1
- package/package.json +6 -5
|
@@ -6,7 +6,7 @@ import "../popout/Popout.js";
|
|
|
6
6
|
* a user. Dropdown uses popout component internally to create
|
|
7
7
|
* the overlay functionality.
|
|
8
8
|
*
|
|
9
|
-
* @status
|
|
9
|
+
* @status ready
|
|
10
10
|
* @category action
|
|
11
11
|
* @slot - The dropdown content.
|
|
12
12
|
* @slot toggle - Used to place the toggle for dropdown.
|
|
@@ -3,7 +3,7 @@ import { LitElement } from "lit";
|
|
|
3
3
|
* Dropdown group includes all the actions or items in a single dropdown
|
|
4
4
|
* group and is used for grouping items into related categories.
|
|
5
5
|
*
|
|
6
|
-
* @status
|
|
6
|
+
* @status ready
|
|
7
7
|
* @category action
|
|
8
8
|
* @slot - The dropdown group content.
|
|
9
9
|
*/
|
|
@@ -5,7 +5,7 @@ declare const DropdownItem_base: (new (...args: any[]) => import("../common/mixi
|
|
|
5
5
|
* placed either inside a dropdown group or directly inside a
|
|
6
6
|
* dropdown component.
|
|
7
7
|
*
|
|
8
|
-
* @status
|
|
8
|
+
* @status ready
|
|
9
9
|
* @category action
|
|
10
10
|
* @slot - The dropdown item content.
|
|
11
11
|
* @slot start - Used to place content before dropdown item text. Typically used for icons.
|
|
@@ -31,6 +31,11 @@ export default class Layout extends LitElement {
|
|
|
31
31
|
* ID reference of element used to toggle the navigation.
|
|
32
32
|
*/
|
|
33
33
|
navToggle?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Controls the padding of the default main section slot. When set to “none”,
|
|
36
|
+
* the nav and header slots will still have padding.
|
|
37
|
+
*/
|
|
38
|
+
padding: "m" | "none";
|
|
34
39
|
private lightDismiss;
|
|
35
40
|
private mq;
|
|
36
41
|
private direction;
|
|
@@ -2,7 +2,7 @@ import { LitElement } from "lit";
|
|
|
2
2
|
/**
|
|
3
3
|
* Popouts are small overlays that open on demand. They let users access additional content and actions without cluttering the page.
|
|
4
4
|
*
|
|
5
|
-
* @status
|
|
5
|
+
* @status ready
|
|
6
6
|
* @category overlay
|
|
7
7
|
* @slot - The popout content.
|
|
8
8
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordhealth/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.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",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"format": "eslint --ext .ts,.js,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
|
|
26
26
|
"test": "docker-compose run --rm -e INCLUDE_VISUAL_REGRESSION test",
|
|
27
27
|
"test:watch": "docker-compose run --rm -e INCLUDE_VISUAL_REGRESSION test --watch",
|
|
28
|
+
"test:capture": "INCLUDE_VISUAL_REGRESSION=true npm test -- --update-visual-baseline",
|
|
28
29
|
"test:local": "wtr --coverage --watch",
|
|
29
30
|
"analyze": "custom-elements-manifest analyze --litelement",
|
|
30
31
|
"scaffold": "node ./utils/scaffold.mjs"
|
|
@@ -37,10 +38,10 @@
|
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@custom-elements-manifest/analyzer": "0.6.3",
|
|
40
|
-
"@nordhealth/css": "^1.3.
|
|
41
|
+
"@nordhealth/css": "^1.3.2",
|
|
41
42
|
"@nordhealth/fonts": "^2.0.14",
|
|
42
|
-
"@nordhealth/themes": "^6.2.
|
|
43
|
-
"@nordhealth/tokens": "^5.2.
|
|
43
|
+
"@nordhealth/themes": "^6.2.1",
|
|
44
|
+
"@nordhealth/tokens": "^5.2.1",
|
|
44
45
|
"@open-wc/eslint-config": "7.0.0",
|
|
45
46
|
"@open-wc/testing": "3.1.5",
|
|
46
47
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
@@ -177,5 +178,5 @@
|
|
|
177
178
|
}
|
|
178
179
|
]
|
|
179
180
|
},
|
|
180
|
-
"gitHead": "
|
|
181
|
+
"gitHead": "0335d266a8f27fd17de10c59272aaa46c9322eda"
|
|
181
182
|
}
|