@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.
- package/dist/nys-divider.js.map +1 -1
- package/package.json +1 -1
package/dist/nys-divider.js.map
CHANGED
|
@@ -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":";;;;;;;;
|
|
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;"}
|