@htmlbricks/hb-input-radio 0.68.1 → 0.68.3

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/manifest.json +80 -1
  2. package/package.json +1 -1
package/manifest.json CHANGED
@@ -164,6 +164,85 @@
164
164
  }
165
165
  }
166
166
  }
167
+ },
168
+ {
169
+ "name": "threeOptions",
170
+ "description": "Radio group with three choices.",
171
+ "data": {
172
+ "schemaentry": {
173
+ "id": "planTier",
174
+ "required": true,
175
+ "label": "Plan",
176
+ "validationTip": "Select a plan.",
177
+ "params": {
178
+ "options": [
179
+ {
180
+ "label": "Starter",
181
+ "value": "starter"
182
+ },
183
+ {
184
+ "label": "Pro",
185
+ "value": "pro"
186
+ },
187
+ {
188
+ "label": "Enterprise",
189
+ "value": "enterprise"
190
+ }
191
+ ]
192
+ }
193
+ }
194
+ }
195
+ },
196
+ {
197
+ "name": "preselected",
198
+ "description": "Initial selection bound from schema value.",
199
+ "data": {
200
+ "schemaentry": {
201
+ "id": "region",
202
+ "required": true,
203
+ "label": "Region",
204
+ "value": "eu",
205
+ "params": {
206
+ "options": [
207
+ {
208
+ "label": "US East",
209
+ "value": "us-east"
210
+ },
211
+ {
212
+ "label": "EU",
213
+ "value": "eu"
214
+ },
215
+ {
216
+ "label": "APAC",
217
+ "value": "apac"
218
+ }
219
+ ]
220
+ }
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "name": "optional",
226
+ "description": "Radio group where clearing is allowed (not required).",
227
+ "data": {
228
+ "schemaentry": {
229
+ "id": "giftWrap",
230
+ "required": false,
231
+ "label": "Gift wrap",
232
+ "params": {
233
+ "options": [
234
+ {
235
+ "label": "No",
236
+ "value": "no"
237
+ },
238
+ {
239
+ "label": "Yes",
240
+ "value": "yes"
241
+ }
242
+ ]
243
+ }
244
+ }
245
+ }
167
246
  }
168
247
  ],
169
248
  "iifeIntegrity": "sha384-GA39NhKpUbgqzMCFArvcYQ3za8s1wbfhLwuzz83xTv1sdSPK/dqJ3oOJh50egv8H",
@@ -186,5 +265,5 @@
186
265
  "size": {},
187
266
  "iifePath": "main.iife.js",
188
267
  "repoName": "@htmlbricks/hb-input-radio",
189
- "version": "0.68.1"
268
+ "version": "0.68.3"
190
269
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-radio",
3
- "version": "0.68.1",
3
+ "version": "0.68.3",
4
4
  "contributors": [],
5
5
  "description": "Radio group built from `schemaentry.params.options` with a shared `name` derived from the field id. Parses JSON `schemaentry` for initial `value` and supports required validation with Bulma `radios` / `radio` and `help is-danger` when `show_validation` is enabled. Dispatches `setVal` with the selected string `value`, `valid`, and `id` whenever the choice changes. Theme `--bulma-*` on `:host`.",
6
6
  "licenses": [