@dloizides/ui-forms 1.30.0 → 1.30.1

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/dist/index.mjs CHANGED
@@ -2176,7 +2176,6 @@ function renderNativeInput(fieldProps, context) {
2176
2176
  editable: fieldProps.disabled !== true,
2177
2177
  hasError: context.hasError,
2178
2178
  id: context.controlId,
2179
- placeholder: fieldProps.placeholder,
2180
2179
  requiredField: fieldProps.required,
2181
2180
  testID: fieldProps.testID,
2182
2181
  value: fieldProps.value,
@@ -2198,20 +2197,17 @@ function DateRangeControl({
2198
2197
  onSubmit,
2199
2198
  fromLabel,
2200
2199
  toLabel,
2201
- fromPlaceholder,
2202
- toPlaceholder,
2203
2200
  accessibilityHint,
2204
2201
  style,
2205
2202
  testID
2206
2203
  }) {
2207
- const hint = accessibilityHint ?? "";
2204
+ const hint = accessibilityHint ?? `${fromLabel} \u2013 ${toLabel}`;
2208
2205
  return /* @__PURE__ */ jsx(GapOwnedProvider, { value: true, children: /* @__PURE__ */ jsxs(View, { style: [controlStyles.dateRow, style], testID: `${testID}-range`, children: [
2209
2206
  /* @__PURE__ */ jsx(View, { style: controlStyles.dateCol, children: /* @__PURE__ */ jsx(
2210
2207
  DateField,
2211
2208
  {
2212
2209
  accessibilityHint: hint,
2213
2210
  label: fromLabel,
2214
- placeholder: fromPlaceholder,
2215
2211
  testID: `${testID}-from`,
2216
2212
  value: value.from,
2217
2213
  onChange: (from) => onChange({ from, to: value.to }),
@@ -2223,7 +2219,6 @@ function DateRangeControl({
2223
2219
  {
2224
2220
  accessibilityHint: hint,
2225
2221
  label: toLabel,
2226
- placeholder: toPlaceholder,
2227
2222
  testID: `${testID}-to`,
2228
2223
  value: value.to,
2229
2224
  onChange: (to) => onChange({ from: value.from, to }),