@proximus/lavender-ag-grid-table 1.0.0-alpha.1

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.
Files changed (2) hide show
  1. package/dist/index.es.js +35 -0
  2. package/package.json +19 -0
@@ -0,0 +1,35 @@
1
+ import { PxElement as i } from "@proximus/lavender-common";
2
+ const n = ":host{--ag-font-family: var(--px-font-family);--ag-font-size: 1em;--ag-data-font-size: 1em;--ag-accent-color: var(--px-color-text-brand-default);--ag-foreground-color: var(--px-color-text-neutral-default);--ag-wrapper-border-radius: var(--px-radius-main);--ag-border-color: var(--px-color-border-main-default);--ag-header-background-color: var( --px-color-background-container-default-default )}:host .statusComponent{display:flex;align-items:center;height:100%}.statusComponent{display:flex;align-items:center;height:100%}::slotted(.statusComponent){display:flex;align-items:center;height:100%}", s = new CSSStyleSheet();
3
+ s.replaceSync(n);
4
+ const a = class a extends i {
5
+ constructor() {
6
+ super(s), this.template = () => "<slot></slot>", this.shadowRoot.innerHTML = this.template();
7
+ }
8
+ static get observedAttributes() {
9
+ return ["inverted"];
10
+ }
11
+ connectedCallback() {
12
+ var t;
13
+ (t = super.connectedCallback) == null || t.call(this);
14
+ }
15
+ attributeChangedCallback(t, r, o) {
16
+ if (r !== o)
17
+ switch (t) {
18
+ default:
19
+ super.attributeChangedCallback(t, r, o);
20
+ break;
21
+ }
22
+ }
23
+ get inverted() {
24
+ return this.hasAttribute("inverted");
25
+ }
26
+ set inverted(t) {
27
+ t ? this.setAttribute("inverted", "") : this.removeAttribute("inverted");
28
+ }
29
+ };
30
+ a.nativeName = "div";
31
+ let e = a;
32
+ customElements.get("px-ag-grid-table") || customElements.define("px-ag-grid-table", e);
33
+ export {
34
+ e as AgGridTable
35
+ };
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@proximus/lavender-ag-grid-table",
3
+ "version": "1.0.0-alpha.1",
4
+ "description": "",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "type": "module",
9
+ "scripts": {
10
+ "transform-package-json": "node ../../../scripts/tranformPackageJson.js package.json dist/far/away",
11
+ "clean": "rm -rf dist",
12
+ "build": "npm run clean && tsc && NODE_ENV=development vite build && npm run transform-package-json",
13
+ "test": "vitest run --coverage"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "main": "dist/index.es.js"
19
+ }