@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.18 → 0.0.0-pr624.19

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.
@@ -70,6 +70,17 @@ export class AuroDatePicker extends AuroElement {
70
70
  type: StringConstructor;
71
71
  reflect: boolean;
72
72
  };
73
+ hasFocus: {
74
+ type: BooleanConstructor;
75
+ reflect: boolean;
76
+ };
77
+ /**
78
+ * @private
79
+ */
80
+ hasValue: {
81
+ type: BooleanConstructor;
82
+ reflect: boolean;
83
+ };
73
84
  /**
74
85
  * Specifies the date format. The default is `mm/dd/yyyy`.
75
86
  */
@@ -160,6 +171,22 @@ export class AuroDatePicker extends AuroElement {
160
171
  type: BooleanConstructor;
161
172
  reflect: boolean;
162
173
  };
174
+ /**
175
+ * Placeholder text to display in the input(s) when no value is set.
176
+ */
177
+ placeholder: {
178
+ type: StringConstructor;
179
+ reflect: boolean;
180
+ };
181
+ /**
182
+ * Optional placeholder text to display in the second input when using date range.
183
+ * By default, datepicker will use `placeholder` for both inputs if placeholder is
184
+ * specified, but placeholderendDate is not.
185
+ */
186
+ placeholderEndDate: {
187
+ type: StringConstructor;
188
+ reflect: boolean;
189
+ };
163
190
  /**
164
191
  * Position where the bib should appear relative to the trigger.
165
192
  * Accepted values:
@@ -286,7 +313,6 @@ export class AuroDatePicker extends AuroElement {
286
313
  format: string;
287
314
  fullscreenBreakpoint: string;
288
315
  monthNames: string[];
289
- monthFirst: boolean;
290
316
  placement: string;
291
317
  offset: number;
292
318
  noFlip: boolean;
@@ -324,6 +350,10 @@ export class AuroDatePicker extends AuroElement {
324
350
  * @private
325
351
  */
326
352
  private inputTag;
353
+ /**
354
+ * @private
355
+ */
356
+ private helpTextTag;
327
357
  layout: string;
328
358
  shape: string;
329
359
  size: string;
@@ -445,6 +475,10 @@ export class AuroDatePicker extends AuroElement {
445
475
  * @returns {void}
446
476
  */
447
477
  private pushSlotContent;
478
+ /**
479
+ * Resets values without resetting validation.
480
+ */
481
+ resetValues(): void;
448
482
  /**
449
483
  * Resets component to initial state.
450
484
  * @returns {void}
@@ -455,7 +489,13 @@ export class AuroDatePicker extends AuroElement {
455
489
  * @param {boolean} [force=false] - Whether to force validation.
456
490
  */
457
491
  validate(force?: boolean): void;
492
+ setHasFocus(): void;
493
+ hasFocus: boolean;
494
+ setHasValue(): void;
495
+ hasValue: boolean;
496
+ get hasError(): boolean;
458
497
  updated(changedProperties: any): void;
498
+ monthFirst: boolean;
459
499
  formattedFocusDate: boolean;
460
500
  formattedEndDate: boolean;
461
501
  formattedValue: boolean;
@@ -472,24 +512,23 @@ export class AuroDatePicker extends AuroElement {
472
512
  */
473
513
  private handleSlotToSlot;
474
514
  firstUpdated(): void;
475
- /**
476
- * @private
477
- */
478
- private get withValue();
479
- /**
480
- * @private
481
- */
482
- private hasFocus;
483
515
  /**
484
516
  * Renders the snowflake layout for the datepicker.
485
517
  * @private
486
- * @return {import("lit").TemplateResult}
518
+ * @returns {import("lit").TemplateResult}
487
519
  */
488
520
  private renderSnowflakeLayout;
489
521
  renderLayoutFromAttributes(): import("lit-html").TemplateResult;
490
- renderTempInputs(): import("lit-html").TemplateResult;
522
+ renderHtmlInputs(): import("lit-html").TemplateResult;
491
523
  renderHtmlActionClear(): import("lit-html").TemplateResult;
524
+ renderHtmlIconError(): import("lit-html").TemplateResult;
492
525
  renderHtmlIconCalendar(): import("lit-html").TemplateResult;
526
+ /**
527
+ * Returns HTML for the help text and error message.
528
+ * @private
529
+ * @returns {html} - Returns HTML for the help text and error message.
530
+ */
531
+ private renderHtmlHelpText;
493
532
  render(): import("lit-html").TemplateResult;
494
533
  }
495
534
  import { AuroElement } from "@aurodesignsystem/auro-layout-element";
@@ -1,2 +1,2 @@
1
- declare const _default: "9.0.0";
1
+ declare const _default: "10.0.0";
2
2
  export default _default;