vira 31.11.1 → 31.12.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.
@@ -23,6 +23,12 @@ export declare const ViraForm: import("element-vir").DeclarativeElementDefinitio
23
23
  * @default false
24
24
  */
25
25
  hideRequiredMarkers: boolean;
26
+ /**
27
+ * When `true`, all checkboxes in this form render horizontally.
28
+ *
29
+ * @default false
30
+ */
31
+ horizontalCheckboxes: boolean;
26
32
  }>, {
27
33
  lastIsValid: boolean;
28
34
  }, {
@@ -59,6 +59,7 @@ export const ViraForm = defineViraElement()({
59
59
  value: field.value || false,
60
60
  disabled: inputs.isDisabled || field.isDisabled,
61
61
  hasError: field.hasError,
62
+ horizontal: inputs.horizontalCheckboxes,
62
63
  label: applyRequiredLabel(field.label, !!field.isRequired && !inputs.hideRequiredMarkers),
63
64
  })}
64
65
  ${field.testId ? testId(field.testId) : nothing}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "31.11.1",
3
+ "version": "31.12.0",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",