@proximus/lavender-tag 2.0.0-alpha.20 → 2.0.0-alpha.201

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/Tag.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { PxElement } from '@proximus/lavender-common';
2
2
  import { type ButtonIcon } from '@proximus/lavender-button-icon';
3
3
  import '@proximus/lavender-button-icon';
4
+ export declare const tagSizeValues: string[];
5
+ export declare const tagStateValues: string[];
4
6
  export declare class Tag extends PxElement<HTMLDivElement> {
5
7
  static nativeName: string;
6
8
  private template;
@@ -8,10 +10,26 @@ export declare class Tag extends PxElement<HTMLDivElement> {
8
10
  connectedCallback(): void;
9
11
  static get observedAttributes(): string[];
10
12
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
11
- get $iconSlot(): HTMLSlotElement;
12
- get $btnIcon(): ButtonIcon;
13
- get dismissible(): string;
14
- set dismissible(value: string);
15
- get inverted(): string;
16
- set inverted(value: string);
13
+ updateStateStyles(oldValue: string, newValue: string, attributeValues: string[]): void;
14
+ getStateIcon(state: string): "" | "checkmark_fill" | "minus_fill" | "exclamation_mark_fill";
15
+ updateStateIconLabel(newValue: string): void;
16
+ updateStateIconFrom(newValue: string): void;
17
+ styleBeforeIcon(): void;
18
+ styleAfterBtnIcon(): void;
19
+ get $slottedBeforeIcon(): HTMLSlotElement;
20
+ get $slotBefore(): HTMLSlotElement;
21
+ get $slottedAfterBtnIcon(): ButtonIcon;
22
+ get $slotAfter(): HTMLSlotElement;
23
+ get size(): string;
24
+ set size(value: string);
25
+ get state(): string;
26
+ set state(value: string);
27
+ get dismissible(): boolean;
28
+ set dismissible(value: boolean);
29
+ get inverted(): boolean;
30
+ set inverted(value: boolean);
31
+ get stateIconAriaLabel(): string;
32
+ set stateIconAriaLabel(value: string);
33
+ get stateIconFrom(): string;
34
+ set stateIconFrom(value: string);
17
35
  }
@@ -0,0 +1,257 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/Tag.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "tagSizeValues",
12
+ "type": {
13
+ "text": "array"
14
+ },
15
+ "default": "['', 's', 'm']"
16
+ },
17
+ {
18
+ "kind": "variable",
19
+ "name": "tagStateValues",
20
+ "type": {
21
+ "text": "array"
22
+ },
23
+ "default": "['', 'success', 'error', 'warning']"
24
+ },
25
+ {
26
+ "kind": "class",
27
+ "description": "",
28
+ "name": "Tag",
29
+ "members": [
30
+ {
31
+ "kind": "field",
32
+ "name": "nativeName",
33
+ "type": {
34
+ "text": "string"
35
+ },
36
+ "static": true,
37
+ "default": "'div'"
38
+ },
39
+ {
40
+ "kind": "method",
41
+ "name": "template",
42
+ "privacy": "private"
43
+ },
44
+ {
45
+ "kind": "method",
46
+ "name": "updateStateStyles",
47
+ "parameters": [
48
+ {
49
+ "name": "oldValue",
50
+ "type": {
51
+ "text": "string"
52
+ }
53
+ },
54
+ {
55
+ "name": "newValue",
56
+ "type": {
57
+ "text": "string"
58
+ }
59
+ },
60
+ {
61
+ "name": "attributeValues",
62
+ "type": {
63
+ "text": "string[]"
64
+ }
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "kind": "method",
70
+ "name": "getStateIcon",
71
+ "parameters": [
72
+ {
73
+ "name": "state",
74
+ "type": {
75
+ "text": "string"
76
+ }
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "kind": "method",
82
+ "name": "updateStateIconLabel",
83
+ "parameters": [
84
+ {
85
+ "name": "newValue",
86
+ "type": {
87
+ "text": "string"
88
+ }
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "kind": "method",
94
+ "name": "updateStateIconFrom",
95
+ "parameters": [
96
+ {
97
+ "name": "newValue",
98
+ "type": {
99
+ "text": "string"
100
+ }
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "kind": "method",
106
+ "name": "styleBeforeIcon"
107
+ },
108
+ {
109
+ "kind": "method",
110
+ "name": "styleAfterBtnIcon"
111
+ },
112
+ {
113
+ "kind": "field",
114
+ "name": "$slottedBeforeIcon",
115
+ "readonly": true
116
+ },
117
+ {
118
+ "kind": "field",
119
+ "name": "$slotBefore",
120
+ "readonly": true
121
+ },
122
+ {
123
+ "kind": "field",
124
+ "name": "$slottedAfterBtnIcon",
125
+ "readonly": true
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "$slotAfter",
130
+ "readonly": true
131
+ },
132
+ {
133
+ "kind": "field",
134
+ "name": "size"
135
+ },
136
+ {
137
+ "kind": "field",
138
+ "name": "state"
139
+ },
140
+ {
141
+ "kind": "field",
142
+ "name": "dismissible"
143
+ },
144
+ {
145
+ "kind": "field",
146
+ "name": "inverted"
147
+ },
148
+ {
149
+ "kind": "field",
150
+ "name": "stateIconAriaLabel"
151
+ },
152
+ {
153
+ "kind": "field",
154
+ "name": "stateIconFrom"
155
+ },
156
+ {
157
+ "kind": "field",
158
+ "name": "innerHTML"
159
+ },
160
+ {
161
+ "kind": "field",
162
+ "name": "adoptedStyleSheets",
163
+ "type": {
164
+ "text": "array"
165
+ },
166
+ "default": "[styleSheet]"
167
+ }
168
+ ],
169
+ "attributes": [
170
+ {
171
+ "name": "dismissible"
172
+ },
173
+ {
174
+ "name": "inverted"
175
+ },
176
+ {
177
+ "name": "disabled"
178
+ },
179
+ {
180
+ "name": "size"
181
+ },
182
+ {
183
+ "name": "state"
184
+ },
185
+ {
186
+ "name": "state-icon-aria-label"
187
+ },
188
+ {
189
+ "name": "state-icon-from"
190
+ }
191
+ ],
192
+ "superclass": {
193
+ "name": "PxElement",
194
+ "package": "@proximus/lavender-common"
195
+ },
196
+ "tagName": "px-tag",
197
+ "customElement": true
198
+ }
199
+ ],
200
+ "exports": [
201
+ {
202
+ "kind": "js",
203
+ "name": "tagSizeValues",
204
+ "declaration": {
205
+ "name": "tagSizeValues",
206
+ "module": "src/Tag.ts"
207
+ }
208
+ },
209
+ {
210
+ "kind": "js",
211
+ "name": "tagStateValues",
212
+ "declaration": {
213
+ "name": "tagStateValues",
214
+ "module": "src/Tag.ts"
215
+ }
216
+ },
217
+ {
218
+ "kind": "js",
219
+ "name": "Tag",
220
+ "declaration": {
221
+ "name": "Tag",
222
+ "module": "src/Tag.ts"
223
+ }
224
+ },
225
+ {
226
+ "kind": "custom-element-definition",
227
+ "name": "px-tag",
228
+ "declaration": {
229
+ "name": "Tag",
230
+ "module": "src/Tag.ts"
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "kind": "javascript-module",
237
+ "path": "src/index.ts",
238
+ "declarations": [],
239
+ "exports": [
240
+ {
241
+ "kind": "js",
242
+ "name": "*",
243
+ "declaration": {
244
+ "name": "*",
245
+ "module": "src/Tag"
246
+ }
247
+ }
248
+ ]
249
+ },
250
+ {
251
+ "kind": "javascript-module",
252
+ "path": "src/tag.css",
253
+ "declarations": [],
254
+ "exports": []
255
+ }
256
+ ]
257
+ }
package/dist/index.es.js CHANGED
@@ -1,59 +1,141 @@
1
- import { PxElement as o } from "@proximus/lavender-common";
1
+ import { PxElement as e } from "@proximus/lavender-common";
2
2
  import "@proximus/lavender-button-icon";
3
- const n = ":host:has(.tag){display:inline-block}.tag{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);gap:var(--px-spacing-xs-mobile);background-color:var(--px-color-background-container-default-default);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);border:var(--px-size-border-s) solid transparent;border-radius:var(--px-radius-main)}.tag,.tag *{box-sizing:border-box}:host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .tag{background-color:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]):host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}@media only screen and (min-width: 1025px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}", e = new CSSStyleSheet();
4
- e.replaceSync(n);
5
- const s = class s extends o {
6
- template() {
7
- return `
8
- <div class="tag">
9
- <slot name="before"></slot>
10
- <slot></slot>
11
- <slot name="after"></slot>
12
- </div>
13
- `;
14
- }
15
- constructor() {
16
- super(e), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [e];
17
- }
18
- connectedCallback() {
19
- this.$iconSlot && (this.$iconSlot.setAttribute("size", "xs"), this.$iconSlot.setAttribute("color", "inherit")), this.$btnIcon && (this.$btnIcon.getAttribute("variant") !== "secondary" && this.$btnIcon.setAttribute("variant", "secondary"), this.$btnIcon.getAttribute("size") !== "small" && this.$btnIcon.setAttribute("size", "small"));
20
- }
21
- static get observedAttributes() {
22
- return ["dismissible", "inverted", "disabled"];
23
- }
24
- attributeChangedCallback(t, r, a) {
25
- if (r !== a)
26
- switch (t) {
27
- case "inverted":
28
- this.hasAttribute("dismissible") && this.$btnIcon.toggleAttribute("inverted");
29
- break;
30
- default:
31
- super.attributeChangedCallback(t, r, a);
32
- break;
33
- }
34
- }
35
- get $iconSlot() {
36
- return this.querySelector('px-icon[slot="before"]');
37
- }
38
- get $btnIcon() {
39
- return this.querySelector("px-button-icon");
40
- }
41
- get dismissible() {
42
- return this.getAttribute("dismissible");
43
- }
44
- set dismissible(t) {
45
- this.setAttribute("dismissible", t);
46
- }
47
- get inverted() {
48
- return this.getAttribute("inverted");
49
- }
50
- set inverted(t) {
51
- this.setAttribute("inverted", t);
52
- }
53
- };
54
- s.nativeName = "div";
55
- let i = s;
56
- customElements.get("px-tag") || customElements.define("px-tag", i);
57
- export {
58
- i as Tag
3
+ //#region src/tag.css?inline
4
+ var t = ":host:has(.tag){display:inline-block}.tag,.tag *{box-sizing:border-box}.tag{vertical-align:middle;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);justify-content:center;align-items:center;gap:var(--px-spacing-2xs-mobile);background-color:var(--px-color-background-container-default-default);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);border:var(--px-size-border-s) solid transparent;border-radius:var(--px-radius-main);display:inline-flex}:host([disabled]:not([dismissible])) .tag{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([size=s]) .tag{padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-2xs-mobile)}:host([size=m]) .tag{padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);gap:var(--px-spacing-xs-mobile)}:host([state=success]) .tag{background-color:var(--px-color-background-purpose-success-default);color:var(--px-color-text-neutral-inverted)}:host([state=warning]) .tag{background-color:var(--px-color-background-purpose-warning-default);color:var(--px-color-text-neutral-inverted)}:host([state=error]) .tag{background-color:var(--px-color-background-purpose-error-default);color:var(--px-color-text-neutral-inverted)}:host([inverted]) .tag{background-color:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]):host([disabled]:not([dismissible])) .tag{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]):host([state=success]) .tag{background-color:var(--px-color-background-purpose-success-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]):host([state=warning]) .tag{background-color:var(--px-color-background-purpose-warning-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]):host([state=error]) .tag{background-color:var(--px-color-background-purpose-error-inverted);color:var(--px-color-text-neutral-default)}@media screen and (width>=48rem){.tag{font-size:var(--px-text-size-label-m-tablet);gap:var(--px-spacing-2xs-tablet);padding:var(--px-padding-2xs-tablet) var(--px-padding-xs-tablet)}:host([size=s]) .tag{padding:var(--px-padding-2xs-tablet) var(--px-padding-xs-tablet);gap:var(--px-spacing-2xs-tablet)}:host([size=m]) .tag{padding:var(--px-padding-xs-tablet) var(--px-padding-s-tablet);gap:var(--px-spacing-xs-tablet)}}@media screen and (width>=64.0625rem){.tag{font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop);padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop)}:host([size=s]) .tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-2xs-laptop)}:host([size=m]) .tag{padding:var(--px-padding-xs-laptop) var(--px-padding-s-laptop);gap:var(--px-spacing-xs-laptop)}}@media screen and (width>=90.0625rem){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}:host([size=s]) .tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-2xs-desktop)}:host([size=m]) .tag{padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop);gap:var(--px-spacing-xs-desktop)}}", n = new CSSStyleSheet();
5
+ n.replaceSync(t);
6
+ var r = [
7
+ "",
8
+ "s",
9
+ "m"
10
+ ], i = [
11
+ "",
12
+ "success",
13
+ "error",
14
+ "warning"
15
+ ], a = class extends e {
16
+ static {
17
+ this.nativeName = "div";
18
+ }
19
+ template() {
20
+ return "\n <div class=\"tag\">\n <slot name=\"before\"></slot>\n <slot></slot>\n <slot name=\"after\"></slot>\n </div>\n ";
21
+ }
22
+ constructor() {
23
+ super(n), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [n];
24
+ }
25
+ connectedCallback() {
26
+ this.styleBeforeIcon = this.styleBeforeIcon.bind(this), this.styleBeforeIcon(), this.$slotBefore?.addEventListener("slotchange", this.styleBeforeIcon), this.styleAfterBtnIcon = this.styleAfterBtnIcon.bind(this), this.styleAfterBtnIcon(), this.$slotAfter?.addEventListener("slotchange", this.styleAfterBtnIcon);
27
+ }
28
+ static get observedAttributes() {
29
+ return [
30
+ "dismissible",
31
+ "inverted",
32
+ "disabled",
33
+ "size",
34
+ "state",
35
+ "state-icon-aria-label",
36
+ "state-icon-from"
37
+ ];
38
+ }
39
+ attributeChangedCallback(e, t, n) {
40
+ if (t !== n) switch (e) {
41
+ case "inverted":
42
+ this.hasAttribute("dismissible") && this.$slottedAfterBtnIcon.toggleAttribute("inverted");
43
+ break;
44
+ case "state":
45
+ this.hasAttribute("dismissible") || this.updateStateStyles(t, n, i);
46
+ break;
47
+ case "state-icon-aria-label":
48
+ this.hasAttribute("dismissible") || this.updateStateIconLabel(n);
49
+ break;
50
+ case "state-icon-from":
51
+ this.hasAttribute("dismissible") || this.updateStateIconFrom(n);
52
+ break;
53
+ default: super.attributeChangedCallback(e, t, n);
54
+ }
55
+ }
56
+ updateStateStyles(e, t, n) {
57
+ if (!n.includes(e) && n.includes(t)) {
58
+ let e = document.createElement("px-icon");
59
+ e.setAttribute("size", "xs"), e.setAttribute("color", "inherit"), e.setAttribute("from", this.stateIconFrom ? this.stateIconFrom : "lavender"), e.setAttribute("name", this.getStateIcon(t)), this.stateIconAriaLabel && (e.setAttribute("aria-label", this.stateIconAriaLabel), e.setAttribute("title", this.stateIconAriaLabel)), this.$el.insertAdjacentElement("afterbegin", e);
60
+ } else if (n.includes(e) && !n.includes(t)) {
61
+ let e = this.$el.querySelector("px-icon");
62
+ e && this.$el.removeChild(e);
63
+ } else if (n.includes(e) && n.includes(t)) {
64
+ let e = this.$el.querySelector("px-icon");
65
+ e && e.setAttribute("name", this.getStateIcon(t));
66
+ }
67
+ }
68
+ getStateIcon(e) {
69
+ switch (e) {
70
+ case "success": return "checkmark_fill";
71
+ case "error": return "minus_fill";
72
+ case "warning": return "exclamation_mark_fill";
73
+ default: return "";
74
+ }
75
+ }
76
+ updateStateIconLabel(e) {
77
+ let t = this.$el.querySelector("px-icon");
78
+ t && (e ? (t.setAttribute("aria-label", e), t.setAttribute("title", e)) : (t.removeAttribute("aria-label"), t.removeAttribute("title")));
79
+ }
80
+ updateStateIconFrom(e) {
81
+ let t = this.$el.querySelector("px-icon");
82
+ t && (e ? t.setAttribute("from", e) : t.setAttribute("from", "lavender"));
83
+ }
84
+ styleBeforeIcon() {
85
+ this.$slottedBeforeIcon && (this.$slottedBeforeIcon.setAttribute("size", "xs"), this.$slottedBeforeIcon.setAttribute("color", "inherit"));
86
+ }
87
+ styleAfterBtnIcon() {
88
+ this.$slottedAfterBtnIcon && (this.$slottedAfterBtnIcon.setAttribute("variant", "secondary"), this.$slottedAfterBtnIcon.setAttribute("size", "small"));
89
+ }
90
+ get $slottedBeforeIcon() {
91
+ return this.querySelector("px-icon[slot=\"before\"]");
92
+ }
93
+ get $slotBefore() {
94
+ return this.shadowRoot?.querySelector("slot[name=\"before\"]");
95
+ }
96
+ get $slottedAfterBtnIcon() {
97
+ return this.querySelector("px-button-icon[slot=\"after\"]");
98
+ }
99
+ get $slotAfter() {
100
+ return this.shadowRoot?.querySelector("slot[name=\"after\"]");
101
+ }
102
+ get size() {
103
+ return this.getAttribute("size") || "";
104
+ }
105
+ set size(e) {
106
+ this.setAttribute("size", e);
107
+ }
108
+ get state() {
109
+ return this.getAttribute("state") || "";
110
+ }
111
+ set state(e) {
112
+ this.setAttribute("state", e);
113
+ }
114
+ get dismissible() {
115
+ return this.hasAttribute("dismissible");
116
+ }
117
+ set dismissible(e) {
118
+ e ? this.setAttribute("dismissible", "") : this.removeAttribute("dismissible");
119
+ }
120
+ get inverted() {
121
+ return this.hasAttribute("inverted");
122
+ }
123
+ set inverted(e) {
124
+ e ? this.setAttribute("inverted", "") : this.removeAttribute("inverted");
125
+ }
126
+ get stateIconAriaLabel() {
127
+ return this.getAttribute("state-icon-aria-label") || "";
128
+ }
129
+ set stateIconAriaLabel(e) {
130
+ this.setAttribute("state-icon-aria-label", e);
131
+ }
132
+ get stateIconFrom() {
133
+ return this.getAttribute("state-icon-from") || "";
134
+ }
135
+ set stateIconFrom(e) {
136
+ this.setAttribute("state-icon-from", e);
137
+ }
59
138
  };
139
+ customElements.get("px-tag") || customElements.define("px-tag", a);
140
+ //#endregion
141
+ export { a as Tag, r as tagSizeValues, i as tagStateValues };
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "properties": [],
5
+ "pseudoElements": []
6
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "tags": [
5
+ {
6
+ "name": "px-tag",
7
+ "description": "\n---\n",
8
+ "attributes": [
9
+ { "name": "dismissible", "values": [] },
10
+ { "name": "inverted", "values": [] },
11
+ { "name": "disabled", "values": [] },
12
+ { "name": "size", "values": [] },
13
+ { "name": "state", "values": [] },
14
+ { "name": "state-icon-aria-label", "values": [] },
15
+ { "name": "state-icon-from", "values": [] }
16
+ ],
17
+ "references": []
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@proximus/lavender-tag",
4
+ "version": "2.0.0-alpha.201",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "px-tag",
11
+ "description": "\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ { "name": "dismissible", "value": { "type": "string" } },
15
+ { "name": "inverted", "value": { "type": "string" } },
16
+ { "name": "disabled", "value": { "type": "string" } },
17
+ { "name": "size", "value": { "type": "string" } },
18
+ { "name": "state", "value": { "type": "string" } },
19
+ { "name": "state-icon-aria-label", "value": { "type": "string" } },
20
+ { "name": "state-icon-from", "value": { "type": "string" } }
21
+ ],
22
+ "events": [],
23
+ "js": {
24
+ "properties": [
25
+ { "name": "$slottedBeforeIcon" },
26
+ { "name": "$slotBefore" },
27
+ { "name": "$slottedAfterBtnIcon" },
28
+ { "name": "$slotAfter" },
29
+ { "name": "size" },
30
+ { "name": "state" },
31
+ { "name": "dismissible" },
32
+ { "name": "inverted" },
33
+ { "name": "stateIconAriaLabel" },
34
+ { "name": "stateIconFrom" },
35
+ { "name": "innerHTML" },
36
+ { "name": "adoptedStyleSheets", "type": "array" }
37
+ ],
38
+ "events": []
39
+ }
40
+ }
41
+ ]
42
+ },
43
+ "css": {
44
+ "properties": [],
45
+ "pseudo-elements": []
46
+ }
47
+ }
48
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-tag",
3
- "version": "2.0.0-alpha.20",
3
+ "version": "2.0.0-alpha.201",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "clean": "rm -rf dist",
14
14
  "build": "npm run clean && NODE_ENV=development vite build && tsc && npm run transform-package-json && npm run wc-manifest",
15
15
  "test": "vitest run --coverage",
16
- "wc-manifest": "cem analyze --globs \"src/*\" --config ../custom-elements-manifest.config.js --outdir dist"
16
+ "wc-manifest": "cem analyze --globs \"src/*\" --config ../../custom-elements-manifest.config.js --outdir dist"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public"