@proximus/lavender-price 2.0.0-alpha.196 → 2.0.0-alpha.198

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.
@@ -0,0 +1,197 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/Price.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "priceVariantValues",
12
+ "type": {
13
+ "text": "array"
14
+ },
15
+ "default": "[ 'default', 'promo', 'free', 'neutral', 'exceeding', 'disabled', ]"
16
+ },
17
+ {
18
+ "kind": "variable",
19
+ "name": "priceSizeValues",
20
+ "type": {
21
+ "text": "array"
22
+ },
23
+ "default": "['', 's', 'm', 'l']"
24
+ },
25
+ {
26
+ "kind": "class",
27
+ "description": "",
28
+ "name": "Price",
29
+ "members": [
30
+ {
31
+ "kind": "field",
32
+ "name": "nativeName",
33
+ "type": {
34
+ "text": "string"
35
+ },
36
+ "static": true,
37
+ "default": "'span'"
38
+ },
39
+ {
40
+ "kind": "field",
41
+ "name": "observer",
42
+ "type": {
43
+ "text": "MutationObserver | null"
44
+ },
45
+ "default": "null"
46
+ },
47
+ {
48
+ "kind": "field",
49
+ "name": "template",
50
+ "privacy": "private"
51
+ },
52
+ {
53
+ "kind": "method",
54
+ "name": "toggleClass",
55
+ "parameters": [
56
+ {
57
+ "name": "oldValue",
58
+ "type": {
59
+ "text": "string"
60
+ }
61
+ },
62
+ {
63
+ "name": "newValue",
64
+ "type": {
65
+ "text": "string"
66
+ }
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "kind": "method",
72
+ "name": "updateAttribute",
73
+ "parameters": [
74
+ {
75
+ "name": "attrName",
76
+ "type": {
77
+ "text": "string"
78
+ }
79
+ },
80
+ {
81
+ "name": "oldValue",
82
+ "type": {
83
+ "text": "string"
84
+ }
85
+ },
86
+ {
87
+ "name": "newValue",
88
+ "type": {
89
+ "text": "string"
90
+ }
91
+ },
92
+ {
93
+ "name": "attrValues",
94
+ "type": {
95
+ "text": "string[]"
96
+ }
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "kind": "field",
102
+ "name": "buildPrice"
103
+ },
104
+ {
105
+ "kind": "field",
106
+ "name": "variant"
107
+ },
108
+ {
109
+ "kind": "field",
110
+ "name": "size"
111
+ },
112
+ {
113
+ "kind": "field",
114
+ "name": "inverted"
115
+ },
116
+ {
117
+ "kind": "field",
118
+ "name": "innerHTML"
119
+ }
120
+ ],
121
+ "attributes": [
122
+ {
123
+ "name": "variant"
124
+ },
125
+ {
126
+ "name": "size"
127
+ },
128
+ {
129
+ "name": "inverted"
130
+ }
131
+ ],
132
+ "superclass": {
133
+ "name": "PxElement",
134
+ "package": "@proximus/lavender-common"
135
+ },
136
+ "tagName": "px-price",
137
+ "customElement": true
138
+ }
139
+ ],
140
+ "exports": [
141
+ {
142
+ "kind": "js",
143
+ "name": "priceVariantValues",
144
+ "declaration": {
145
+ "name": "priceVariantValues",
146
+ "module": "src/Price.ts"
147
+ }
148
+ },
149
+ {
150
+ "kind": "js",
151
+ "name": "priceSizeValues",
152
+ "declaration": {
153
+ "name": "priceSizeValues",
154
+ "module": "src/Price.ts"
155
+ }
156
+ },
157
+ {
158
+ "kind": "js",
159
+ "name": "Price",
160
+ "declaration": {
161
+ "name": "Price",
162
+ "module": "src/Price.ts"
163
+ }
164
+ },
165
+ {
166
+ "kind": "custom-element-definition",
167
+ "name": "px-price",
168
+ "declaration": {
169
+ "name": "Price",
170
+ "module": "src/Price.ts"
171
+ }
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "kind": "javascript-module",
177
+ "path": "src/index.ts",
178
+ "declarations": [],
179
+ "exports": [
180
+ {
181
+ "kind": "js",
182
+ "name": "*",
183
+ "declaration": {
184
+ "name": "*",
185
+ "module": "src/Price"
186
+ }
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "kind": "javascript-module",
192
+ "path": "src/price.css",
193
+ "declarations": [],
194
+ "exports": []
195
+ }
196
+ ]
197
+ }
@@ -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,16 @@
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-price",
7
+ "description": "\n---\n",
8
+ "attributes": [
9
+ { "name": "variant", "values": [] },
10
+ { "name": "size", "values": [] },
11
+ { "name": "inverted", "values": [] }
12
+ ],
13
+ "references": []
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@proximus/lavender-price",
4
+ "version": "2.0.0-alpha.198",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "px-price",
11
+ "description": "\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ { "name": "variant", "value": { "type": "string" } },
15
+ { "name": "size", "value": { "type": "string" } },
16
+ { "name": "inverted", "value": { "type": "string" } }
17
+ ],
18
+ "events": [],
19
+ "js": {
20
+ "properties": [
21
+ { "name": "observer", "type": "MutationObserver | null" },
22
+ { "name": "buildPrice" },
23
+ { "name": "variant" },
24
+ { "name": "size" },
25
+ { "name": "inverted" },
26
+ { "name": "innerHTML" }
27
+ ],
28
+ "events": []
29
+ }
30
+ }
31
+ ]
32
+ },
33
+ "css": {
34
+ "properties": [],
35
+ "pseudo-elements": []
36
+ }
37
+ }
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-price",
3
- "version": "2.0.0-alpha.196",
3
+ "version": "2.0.0-alpha.198",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",