dap-design-system 0.34.7 → 0.35.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.
@@ -2495,7 +2495,7 @@
2495
2495
  :root {
2496
2496
  --dds-text-color: var(--dds-text-neutral-base);
2497
2497
  --dds-text-heading-color: var(--dds-text-neutral-strong);
2498
- --dds-text-color-subtle: var(--dds-text-neutral-subtle);
2498
+ --dds-text-description-color: var(--dds-text-neutral-subtle);
2499
2499
  --dds-text-font-family: var(--font-family);
2500
2500
  --dds-text-font-weight-medium: var(--dds-font-weight-medium);
2501
2501
  --dds-text-font-weight-bold: var(--dds-font-weight-bold);
package/dist/dds.d.ts CHANGED
@@ -2422,7 +2422,9 @@ export declare class DapDSDataTable<T> extends DdsElement {
2422
2422
  nextButtonLabel: string;
2423
2423
  /** The label of the last button */
2424
2424
  lastButtonLabel: string;
2425
- /** The function to determine the pager text */
2425
+ /** The function to determine the pager text
2426
+ * @type {(pageIndex: number, pageSize: number, totalRows: number) => string}
2427
+ */
2426
2428
  pageStateText: (pageIndex: number, pageSize: number, totalRows: number) => string;
2427
2429
  /** Available page size options for the pager */
2428
2430
  pageSizeOptions: number[];
@@ -2442,9 +2444,9 @@ export declare class DapDSDataTable<T> extends DdsElement {
2442
2444
  debug: boolean;
2443
2445
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
2444
2446
  protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
2445
- columnsMemo: () => ExtendedColumnDef<T>[];
2446
- renderHeader: (table: Table<T>) => TemplateResult_2;
2447
- renderBody: (table: Table<T>) => TemplateResult_2;
2447
+ private columnsMemo;
2448
+ private renderHeader;
2449
+ private renderBody;
2448
2450
  protected render(): TemplateResult_2;
2449
2451
  }
2450
2452
 
@@ -3516,7 +3518,7 @@ export declare class DapDSNotificationBadge extends DdsElement {
3516
3518
 
3517
3519
  /**
3518
3520
  * `dap-ds-number-input`
3519
- * @summary A number input is a field for entering a number.
3521
+ * @summary A number input component.
3520
3522
  * @element dap-ds-number-input
3521
3523
  * @title - Number input
3522
3524
  *
@@ -3529,6 +3531,11 @@ export declare class DapDSNotificationBadge extends DdsElement {
3529
3531
  * @property {'xs' | 'sm' | 'sm'} size - The size of the input. Default is `sm`. Can be `sm` or `lg`.
3530
3532
  * @property {string} name - The name of the input.
3531
3533
  * @property {string} value - The value of the input.
3534
+ * @property {string} thousandSeparator - The thousand separator of the input.
3535
+ * @property {string} decimalSeparator - The decimal separator of the input.
3536
+ * @property {number} decimalScale - The decimal scale of the input.
3537
+ * @property {string} allowNegative - The allow negative state of the input.
3538
+ * @property {string} allowDecimal - The allow decimal state of the input.
3532
3539
  * @property {boolean} disabled - The disabled state of the input. Default is false.
3533
3540
  * @property {boolean} required - The required state of the input. Default is false.
3534
3541
  * @property {boolean} readonly - The readonly state of the input. Default is false.
@@ -3542,6 +3549,8 @@ export declare class DapDSNotificationBadge extends DdsElement {
3542
3549
  * @property {boolean} optional - The optional state of the input.
3543
3550
  * @property {string} optionalLabel - The optional label of the input.
3544
3551
  * @property {boolean} subtle - The weight of the label. Default is `false`
3552
+ * @property {boolean} disableEnter - Disables the enter key from being used to submit the form.
3553
+ * @property {boolean} hideControls - Hides the increment and decrement buttons.
3545
3554
  *
3546
3555
  * @event dds-change - Fired when the input value changes.
3547
3556
  * @event dds-input - Fired when the input value changes.
@@ -3575,8 +3584,20 @@ export declare class DapDSNotificationBadge extends DdsElement {
3575
3584
  */
3576
3585
  export declare class DapDSNumberInput extends InputBaseElement {
3577
3586
  constructor();
3578
- private _increment;
3587
+ private inputElement;
3588
+ thousandSeparator: string;
3589
+ decimalSeparator: string;
3590
+ decimalScale?: number;
3591
+ allowNegative: string;
3592
+ allowDecimal: string;
3593
+ hideControls: boolean;
3594
+ private formattedValue;
3595
+ firstUpdated(): void;
3596
+ private getMaskedValue;
3597
+ private handleInput;
3598
+ protected updated(changedProperties: PropertyValues): void;
3579
3599
  private _decrement;
3600
+ private _increment;
3580
3601
  render(): TemplateResult_2<1>;
3581
3602
  }
3582
3603
 
@@ -5316,7 +5337,7 @@ export declare class DapDSTray extends ModalBaseElement {
5316
5337
  *
5317
5338
  * @cssproperty --dds-text-color - The color of the typography.
5318
5339
  * @cssproperty --dds-text-heading-color - The color of the heading typography.
5319
- * @cssproperty --dds-text-color-subtle - The color of the subtle typography.
5340
+ * @cssproperty --dds-text-description-subtle - The color of the subtle typography.
5320
5341
  * @cssproperty --dds-text-font-family - The font family of the typography.
5321
5342
  * @cssproperty --dds-text-font-weight-medium - The font weight of the medium typography.
5322
5343
  * @cssproperty --dds-text-font-weight-bold - The font weight of the bold typography.
@@ -5724,6 +5745,8 @@ declare class InputBaseElement extends GenericFormElement {
5724
5745
  step?: number | 'any';
5725
5746
  inputmode?: string;
5726
5747
  loading: boolean;
5748
+ manualValueSet: boolean;
5749
+ disableEnter: boolean;
5727
5750
  private _hasAddonBefore;
5728
5751
  private _hasAddonAfter;
5729
5752
  private _hasPrefix;
@@ -7893,7 +7916,7 @@ declare global {
7893
7916
 
7894
7917
  declare global {
7895
7918
  interface HTMLElementTagNameMap {
7896
- 'dap-ds-number-input': DapDSNumberInput;
7919
+ 'dap-ds-masked-input': DapDSMaskedInput;
7897
7920
  }
7898
7921
  }
7899
7922