@proximus/lavender-separator 2.0.0-alpha.227 → 2.0.0-alpha.229

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.
@@ -4,6 +4,10 @@ export declare const separatorSizeValues: string[];
4
4
  export declare const separatorColorValues: string[];
5
5
  export declare class Separator extends PxElement<HTMLHRElement> {
6
6
  static nativeName: string;
7
+ static nativeAttributes: {
8
+ noshade: "noShade"[];
9
+ width: "width"[];
10
+ };
7
11
  protected internals: ElementInternals;
8
12
  constructor();
9
13
  static get observedAttributes(): string[];
@@ -27,4 +31,8 @@ export declare class Separator extends PxElement<HTMLHRElement> {
27
31
  set color(value: string | null);
28
32
  get inverted(): boolean;
29
33
  set inverted(value: boolean);
34
+ /** @attr {boolean} noshade - Whether the legacy horizontal rule is unshaded. */
35
+ noShade: boolean;
36
+ /** @attr {string} width - The native width in pixels. */
37
+ width: string;
30
38
  }
@@ -44,6 +44,12 @@
44
44
  "static": true,
45
45
  "default": "'hr'"
46
46
  },
47
+ {
48
+ "kind": "field",
49
+ "name": "nativeAttributes",
50
+ "static": true,
51
+ "default": "{ noshade: ['noShade'], width: ['width'], } satisfies NativeAttributeMap<HTMLHRElement>"
52
+ },
47
53
  {
48
54
  "kind": "field",
49
55
  "name": "internals",
@@ -173,6 +179,22 @@
173
179
  {
174
180
  "kind": "field",
175
181
  "name": "inverted"
182
+ },
183
+ {
184
+ "kind": "field",
185
+ "name": "noShade",
186
+ "type": {
187
+ "text": "boolean"
188
+ },
189
+ "attribute": "noshade"
190
+ },
191
+ {
192
+ "kind": "field",
193
+ "name": "width",
194
+ "type": {
195
+ "text": "string"
196
+ },
197
+ "attribute": "width"
176
198
  }
177
199
  ],
178
200
  "attributes": [
@@ -199,6 +221,22 @@
199
221
  },
200
222
  {
201
223
  "name": "inverted"
224
+ },
225
+ {
226
+ "name": "noshade",
227
+ "type": {
228
+ "text": "boolean"
229
+ },
230
+ "fieldName": "noShade",
231
+ "description": "Whether the legacy horizontal rule is unshaded."
232
+ },
233
+ {
234
+ "name": "width",
235
+ "type": {
236
+ "text": "string"
237
+ },
238
+ "fieldName": "width",
239
+ "description": "The native width in pixels."
202
240
  }
203
241
  ],
204
242
  "superclass": {
package/dist/index.es.js CHANGED
@@ -30,6 +30,12 @@ var i = [
30
30
  static {
31
31
  this.nativeName = "hr";
32
32
  }
33
+ static {
34
+ this.nativeAttributes = {
35
+ noshade: ["noShade"],
36
+ width: ["width"]
37
+ };
38
+ }
33
39
  constructor() {
34
40
  super(r);
35
41
  let e = document.createElement(n.nativeName);
@@ -13,7 +13,17 @@
13
13
  { "name": "direction--desktop", "values": [] },
14
14
  { "name": "size", "values": [] },
15
15
  { "name": "color", "values": [] },
16
- { "name": "inverted", "values": [] }
16
+ { "name": "inverted", "values": [] },
17
+ {
18
+ "name": "noshade",
19
+ "description": "Whether the legacy horizontal rule is unshaded.",
20
+ "values": []
21
+ },
22
+ {
23
+ "name": "width",
24
+ "description": "The native width in pixels.",
25
+ "values": []
26
+ }
17
27
  ],
18
28
  "references": []
19
29
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@proximus/lavender-separator",
4
- "version": "2.0.0-alpha.227",
4
+ "version": "2.0.0-alpha.229",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -18,7 +18,17 @@
18
18
  { "name": "direction--desktop", "value": { "type": "string" } },
19
19
  { "name": "size", "value": { "type": "string" } },
20
20
  { "name": "color", "value": { "type": "string" } },
21
- { "name": "inverted", "value": { "type": "string" } }
21
+ { "name": "inverted", "value": { "type": "string" } },
22
+ {
23
+ "name": "noshade",
24
+ "description": "Whether the legacy horizontal rule is unshaded.",
25
+ "value": { "type": "boolean" }
26
+ },
27
+ {
28
+ "name": "width",
29
+ "description": "The native width in pixels.",
30
+ "value": { "type": "string" }
31
+ }
22
32
  ],
23
33
  "events": [],
24
34
  "js": {
@@ -30,7 +40,9 @@
30
40
  { "name": "directionDesktop" },
31
41
  { "name": "size" },
32
42
  { "name": "color" },
33
- { "name": "inverted" }
43
+ { "name": "inverted" },
44
+ { "name": "noShade", "type": "boolean" },
45
+ { "name": "width", "type": "string" }
34
46
  ],
35
47
  "events": []
36
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-separator",
3
- "version": "2.0.0-alpha.227",
3
+ "version": "2.0.0-alpha.229",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",