dap-design-system 0.54.1 → 0.54.2

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.
@@ -35,6 +35,7 @@ import { InputBaseElement } from '../input/input-base-element';
35
35
  * @property {boolean} subtle - The weight of the label. Default is `false`
36
36
  * @property {boolean} disableEnter - Disables the enter key from being used to submit the form.
37
37
  * @property {boolean} hideControls - Hides the increment and decrement buttons.
38
+ * @property {number} padStart - The number of leading zeros to add to the input.
38
39
  *
39
40
  * @event {{ value: string }} dds-change - Fired when the input value changes.
40
41
  * @event {{ value: string }} dds-input - Fired when the input value changes.
@@ -108,6 +109,7 @@ export default class DapDSNumberInput extends InputBaseElement {
108
109
  allowNegative: string;
109
110
  allowDecimal: string;
110
111
  hideControls: boolean;
112
+ padStart?: number;
111
113
  private formattedValue;
112
114
  get _thousandSeparator(): string;
113
115
  protected firstUpdated(changedProperties: PropertyValues): void;
@@ -117,6 +119,7 @@ export default class DapDSNumberInput extends InputBaseElement {
117
119
  private handleEmptyValue;
118
120
  private createNumericRegex;
119
121
  private enforceDecimalScale;
122
+ private applyPadStart;
120
123
  private convertToNumericValue;
121
124
  private handleInput;
122
125
  protected updated(changedProperties: PropertyValues): void;