@nysds/nys-divider 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.
@@ -1 +1 @@
1
- {"version":3,"file":"nys-divider.js","sources":["../src/nys-divider.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { property } from \"lit/decorators.js\";\n// @ts-ignore: SCSS module imported via bundler as inline\nimport styles from \"./nys-divider.scss?inline\";\n\nexport class NysDivider extends LitElement {\n static styles = unsafeCSS(styles);\n\n @property({ type: Boolean, reflect: true }) inverted = false;\n\n constructor() {\n super();\n }\n\n render() {\n return html`<hr class=\"nys-divider\" />`;\n }\n}\n\nif (!customElements.get(\"nys-divider\")) {\n customElements.define(\"nys-divider\", NysDivider);\n}\n"],"names":["_NysDivider","LitElement","html","unsafeCSS","styles","NysDivider","__decorateClass","property"],"mappings":";;;;;;;;AAKO,MAAMA,IAAN,MAAMA,UAAmBC,EAAW;AAAA,EAKzC,cAAc;AACZ,UAAA,GAH0C,KAAA,WAAW;AAAA,EAIvD;AAAA,EAEA,SAAS;AACP,WAAOC;AAAA,EACT;AACF;AAXEF,EAAO,SAASG,EAAUC,CAAM;AAD3B,IAAMC,IAANL;AAGuCM,EAAA;AAAA,EAA3CC,EAAS,EAAE,MAAM,SAAS,SAAS,IAAM;AAAA,GAH/BF,EAGiC,WAAA,UAAA;AAWzC,eAAe,IAAI,aAAa,KACnC,eAAe,OAAO,eAAeA,CAAU;"}
1
+ {"version":3,"file":"nys-divider.js","sources":["../src/nys-divider.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { property } from \"lit/decorators.js\";\n// @ts-ignore: SCSS module imported via bundler as inline\nimport styles from \"./nys-divider.scss?inline\";\n\n/**\n * `<nys-divider>` renders a horizontal rule `<hr>` element with optional styling.\n * Can be inverted for dark backgrounds.\n */\nexport class NysDivider extends LitElement {\n static styles = unsafeCSS(styles);\n\n @property({ type: Boolean, reflect: true }) inverted = false;\n\n constructor() {\n super();\n }\n\n render() {\n return html`<hr class=\"nys-divider\" />`;\n }\n}\n\nif (!customElements.get(\"nys-divider\")) {\n customElements.define(\"nys-divider\", NysDivider);\n}\n"],"names":["_NysDivider","LitElement","html","unsafeCSS","styles","NysDivider","__decorateClass","property"],"mappings":";;;;;;;;AASO,MAAMA,IAAN,MAAMA,UAAmBC,EAAW;AAAA,EAKzC,cAAc;AACZ,UAAA,GAH0C,KAAA,WAAW;AAAA,EAIvD;AAAA,EAEA,SAAS;AACP,WAAOC;AAAA,EACT;AACF;AAXEF,EAAO,SAASG,EAAUC,CAAM;AAD3B,IAAMC,IAANL;AAGuCM,EAAA;AAAA,EAA3CC,EAAS,EAAE,MAAM,SAAS,SAAS,IAAM;AAAA,GAH/BF,EAGiC,WAAA,UAAA;AAWzC,eAAe,IAAI,aAAa,KACnC,eAAe,OAAO,eAAeA,CAAU;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nysds/nys-divider",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
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",