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.
- package/dist/components/number-input/number-input.component.d.ts +3 -0
- package/dist/{components-aX8qaC8X.js → components-DzoYjn4G.js} +340 -332
- package/dist/{components-aX8qaC8X.js.map → components-DzoYjn4G.js.map} +1 -1
- package/dist/components.js +1 -1
- package/dist/dds.js +1 -1
- package/dist/manifest/types/vue/index.d.ts +429 -427
- package/dist/manifest/vscode.html-custom-data.json +354 -349
- package/dist/manifest/web-types.json +890 -880
- package/dist/react/dap-ds-number-input/index.d.ts +1 -0
- package/dist/react/index.d.ts +13 -13
- package/dist/react-types.ts +14 -14
- package/dist/react.js +268 -268
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|