vira 31.28.3 → 31.29.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.
@@ -270,6 +270,8 @@ export const ViraForm = defineViraElement()({
270
270
  min: field.min,
271
271
  max: field.max,
272
272
  timezone: field.timezone,
273
+ showDateOnly: field.showDateOnly,
274
+ showTimeOnly: field.showTimeOnly,
273
275
  isDisabled,
274
276
  hasError: field.hasError,
275
277
  isReadonly: inputs.isReadonly,
@@ -116,6 +116,10 @@ export type ViraFormField = ({
116
116
  max: FullDate;
117
117
  /** Timezone used to interpret the selected date. Defaults to the user's timezone. */
118
118
  timezone: string;
119
+ /** Only show the date part of the selected date when in readonly mode. */
120
+ showDateOnly: boolean;
121
+ /** Only show the time part of the selected date when in readonly mode. */
122
+ showTimeOnly: boolean;
119
123
  }> & CommonViraFormFields);
120
124
  /**
121
125
  * A collection of form fields for `ViraForm`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "31.28.3",
3
+ "version": "31.29.0",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",