@luftborn/custom-elements 2.8.7 → 2.8.9

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/demo/index.html CHANGED
@@ -29,6 +29,10 @@
29
29
  margin-top: 5px;
30
30
  margin-bottom: 0 !important;
31
31
  }
32
+
33
+ [hidden] {
34
+ display: none;
35
+ }
32
36
  </style>
33
37
  </head>
34
38
 
@@ -400,7 +404,7 @@
400
404
  </div>
401
405
  <div class="group-row">
402
406
  <div class="field-item">
403
- <div class="field-label">Number of Abas: </div>
407
+ <div class="field-label">Hungry ? </div>
404
408
  <div class="field-input">
405
409
  <radio-group-element>
406
410
  <script type="application/json">
@@ -410,7 +414,7 @@
410
414
  "value": null,
411
415
  "type": "radio",
412
416
  "required": false,
413
- "options": ["One", "Two", "Three"],
417
+ "options": ["yes", "no", "maybe", "yes please"],
414
418
  "noValueDependency": null,
415
419
  "hasValueDependency": null,
416
420
  "dependencies": []
@@ -449,7 +453,7 @@
449
453
  </div>
450
454
  </div>
451
455
  </div>
452
- <div class="field-group group-container" data-depends-on="checkbox1" data-dependent-value="Ja">
456
+ <div class="field-group group-container" data-depends-on="radio1" data-dependent-value="yes" hidden>
453
457
  <div class="field-group-title border-solid">
454
458
  Group2:
455
459
  </div>
@@ -507,7 +511,7 @@
507
511
  </div>
508
512
  </div>
509
513
  </div>
510
- <div class="field-group group-container" data-depends-on="checkbox2" data-dependent-value="Ja">
514
+ <div class="field-group group-container" data-depends-on="radio1" data-dependent-value="yes please" hidden>
511
515
  <div class="field-group-title border-solid">
512
516
  Group 3:
513
517
  </div>