dap-design-system 0.35.8 → 0.35.9

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/dds.d.ts CHANGED
@@ -1376,6 +1376,12 @@ export declare class DapDSButton extends GenericFormElement {
1376
1376
  * The rel of the button link. Default is `noreferrer noopener`.
1377
1377
  */
1378
1378
  rel: string;
1379
+ /** The aria-controls of the button */
1380
+ ariaControls: string;
1381
+ /** The aria-haspopup of the button */
1382
+ ariaHasPopup: string;
1383
+ /** The aria-expanded of the button */
1384
+ ariaExpanded: string;
1379
1385
  /**
1380
1386
  * @ignore
1381
1387
  */
@@ -2062,7 +2068,7 @@ export declare class DapDSCommand extends DapDSPopup {
2062
2068
  private _lastClickedItem;
2063
2069
  connectedCallback(): Promise<void>;
2064
2070
  disconnectedCallback(): void;
2065
- protected firstUpdated(_changedProperties: PropertyValues): void;
2071
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
2066
2072
  updated(changedProperties: Map<string, unknown>): Promise<void>;
2067
2073
  private _handleKeyDown;
2068
2074
  private _handleMenuItemClick;
@@ -2072,6 +2078,7 @@ export declare class DapDSCommand extends DapDSPopup {
2072
2078
  hideDropDown(): Promise<void>;
2073
2079
  private _handleFocusOut;
2074
2080
  focus(): void;
2081
+ private _handleTriggerSlotChange;
2075
2082
  render(): TemplateResult_2;
2076
2083
  }
2077
2084
 
@@ -2130,7 +2137,7 @@ export declare class DapDSCommandGroup extends DdsElement {
2130
2137
  * @cssprop --dds-command-item-selected-background - The background color of the selected command item
2131
2138
  */
2132
2139
  export declare class DapDSCommandItem extends DdsElement {
2133
- private _button;
2140
+ private _trigger;
2134
2141
  static styles: CSSResult;
2135
2142
  /**
2136
2143
  * The value of the command item.
@@ -2140,6 +2147,18 @@ export declare class DapDSCommandItem extends DdsElement {
2140
2147
  * Whether the command item is disabled.
2141
2148
  */
2142
2149
  disabled: boolean;
2150
+ /** The name of the button */
2151
+ name: string;
2152
+ /** The Href of the button. If this present the button will be rendered as an anchor `<a></a>` element. */
2153
+ href: string;
2154
+ /** The target of the button
2155
+ * @type { '_blank' | '_self' | '_parent' | '_top' }
2156
+ */
2157
+ target: LinkTarget;
2158
+ /**
2159
+ * The rel of the button link. Default is `noreferrer noopener`.
2160
+ */
2161
+ rel: string;
2143
2162
  /**
2144
2163
  * Whether the command item is selectable.
2145
2164
  */
@@ -3958,6 +3977,7 @@ export declare class DapDSPopup extends DapDSPopup_base {
3958
3977
  /** Whether the popup should overflow. */
3959
3978
  overflow: boolean;
3960
3979
  connectedCallback(): Promise<void>;
3980
+ protected firstUpdated(changedProps: Map<string, unknown>): void;
3961
3981
  updated(changedProps: Map<string, unknown>): Promise<void>;
3962
3982
  private handleAnchorChange;
3963
3983
  private startUpdate;