@htmlbricks/hb-pad-joystick 0.65.22 → 0.66.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/manifest.json CHANGED
@@ -125,7 +125,7 @@
125
125
  }
126
126
  }
127
127
  },
128
- "description": "",
128
+ "description": "Touch-friendly directional control: either a four-way D-pad that emits cardinal directions or an analog joystick (html5-joystick-new) that streams position and cardinal direction with customizable colors.",
129
129
  "storybookArgs": {
130
130
  "pad_or_joystick": {
131
131
  "control": {
@@ -146,11 +146,70 @@
146
146
  },
147
147
  "styleSetup": {
148
148
  "vars": [
149
+ {
150
+ "name": "--arrowcolor",
151
+ "valueType": "color",
152
+ "defaultValue": ""
153
+ },
154
+ {
155
+ "name": "--dpad-arrow-move",
156
+ "valueType": "string",
157
+ "defaultValue": ""
158
+ },
159
+ {
160
+ "name": "--dpad-arrow-shift",
161
+ "valueType": "string",
162
+ "defaultValue": ""
163
+ },
164
+ {
165
+ "name": "--dpad-bg",
166
+ "valueType": "string",
167
+ "defaultValue": ""
168
+ },
169
+ {
170
+ "name": "--dpad-fg",
171
+ "valueType": "string",
172
+ "defaultValue": ""
173
+ },
174
+ {
175
+ "name": "--dpad-fg-hover",
176
+ "valueType": "string",
177
+ "defaultValue": ""
178
+ },
179
+ {
180
+ "name": "--dpad-radius",
181
+ "valueType": "number",
182
+ "defaultValue": ""
183
+ },
184
+ {
185
+ "name": "--dpad-radius-in",
186
+ "valueType": "number",
187
+ "defaultValue": ""
188
+ },
149
189
  {
150
190
  "name": "--hb-pad-joystick-size",
151
- "description": "pad/joystick size",
152
- "defaultValue": "200px",
153
- "valueType": "htmlsize"
191
+ "valueType": "number",
192
+ "defaultValue": ""
193
+ },
194
+ {
195
+ "name": "--tri-lrg-a",
196
+ "valueType": "string",
197
+ "defaultValue": ""
198
+ },
199
+ {
200
+ "name": "--tri-lrg-b",
201
+ "valueType": "string",
202
+ "defaultValue": ""
203
+ },
204
+ {
205
+ "name": "--tri-sml-a",
206
+ "valueType": "string",
207
+ "defaultValue": ""
208
+ },
209
+ {
210
+ "name": "--tri-sml-b",
211
+ "valueType": "string",
212
+ "defaultValue": ""
154
213
  }
155
214
  ],
156
215
  "parts": []
@@ -181,12 +240,13 @@
181
240
  ],
182
241
  "readmePath": "README.md",
183
242
  "name": "hb-pad-joystick",
184
- "category": "dev",
243
+ "category": "utilities",
185
244
  "tags": [
186
- "dev"
245
+ "utilities",
246
+ "controls"
187
247
  ],
188
248
  "size": {},
189
249
  "iifePath": "main.iife.js",
190
250
  "repoName": "@htmlbricks/hb-pad-joystick",
191
- "version": "0.65.22"
251
+ "version": "0.66.0"
192
252
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-pad-joystick",
3
- "version": "0.65.22",
3
+ "version": "0.66.0",
4
4
  "contributors": [],
5
- "description": "",
5
+ "description": "Touch-friendly directional control: either a four-way D-pad that emits cardinal directions or an analog joystick (html5-joystick-new) that streams position and cardinal direction with customizable colors.",
6
6
  "licenses": [
7
7
  {
8
8
  "type": "Apache-2.0",