@nysds/nys-divider 1.19.0 → 1.19.2

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.
@@ -0,0 +1,31 @@
1
+ import { LitElement } from "lit";
2
+ /**
3
+ * A horizontal rule for visual separation between content sections. Renders a semantic `<hr>` element.
4
+ *
5
+ * Use to separate distinct content areas within a page. Set `inverted` for use on dark backgrounds.
6
+ *
7
+ * @summary Horizontal divider for visual separation of content sections.
8
+ * @element nys-divider
9
+ *
10
+ * @example Basic divider
11
+ * ```html
12
+ * <p>Section one content</p>
13
+ * <nys-divider></nys-divider>
14
+ * <p>Section two content</p>
15
+ * ```
16
+ */
17
+ export declare class NysDivider extends LitElement {
18
+ static styles: import("lit").CSSResult;
19
+ /** Adjusts colors for dark backgrounds. */
20
+ inverted: boolean;
21
+ /** If true, the divider will use a lighter color. */
22
+ subtle: boolean;
23
+ constructor();
24
+ connectedCallback(): void;
25
+ /**
26
+ * Functions
27
+ * --------------------------------------------------------------------------
28
+ */
29
+ private _generateUniqueId;
30
+ render(): import("lit-html").TemplateResult<1>;
31
+ }
@@ -5,7 +5,7 @@ import { property as l } from "lit/decorators.js";
5
5
  * █ █ █ █▄▄▄█ ▀▀▀▄▄ █ █ ▀▀▀▄▄
6
6
  * █ ▀█ █ █▄▄▄█ █▄▄▀ █▄▄▄█
7
7
  *
8
- * Divider Component v1.19.0
8
+ * Divider Component v1.19.2
9
9
  * Part of the New York State Design System
10
10
  * Repository: https://github.com/its-hcd/nysds
11
11
  * License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nysds/nys-divider",
3
- "version": "1.19.0",
3
+ "version": "1.19.2",
4
4
  "description": "The Divider component from the NYS Design System.",
5
5
  "module": "dist/nys-divider.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,5 +36,6 @@
36
36
  "divider"
37
37
  ],
38
38
  "author": "New York State Design System Team",
39
- "license": "MIT"
39
+ "license": "MIT",
40
+ "sideEffects": true
40
41
  }