@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.
@@ -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 new
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 new
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 new
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.
@@ -4,7 +4,7 @@ import { LitElement } from "lit";
4
4
  * describe what the user can do next. Empty state provides
5
5
  * explanation and guidance to help user progress.
6
6
  *
7
- * @status new
7
+ * @status ready
8
8
  * @category feedback
9
9
  * @slot - default slot
10
10
  */
@@ -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;
@@ -16,3 +16,6 @@ import "../popout/Popout.js";
16
16
  import "../dropdown/Dropdown.js";
17
17
  import "../dropdown-group/DropdownGroup.js";
18
18
  import "../dropdown-item/DropdownItem.js";
19
+ import "../tab/Tab.js";
20
+ import "../tab-panel/TabPanel.js";
21
+ import "../tab-group/TabGroup.js";
@@ -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 new
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.7.0",
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.1",
41
+ "@nordhealth/css": "^1.3.2",
41
42
  "@nordhealth/fonts": "^2.0.14",
42
- "@nordhealth/themes": "^6.2.0",
43
- "@nordhealth/tokens": "^5.2.0",
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": "b80c323b513a243b95ca4f57ee3e1fb50cfa6b38"
181
+ "gitHead": "0335d266a8f27fd17de10c59272aaa46c9322eda"
181
182
  }