dap-design-system 0.10.4 → 0.10.6

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
@@ -623,8 +623,12 @@ declare type CSSFlexDirection = 'column' | 'row' | 'column-reverse' | 'row-rever
623
623
  * @csspart base - The main accordion container.
624
624
  * @csspart heading - The heading of the accordion.
625
625
  * @csspart button - The button of the accordion.
626
- * @csspart icon-holder - The icon holder of the accordion.
627
626
  * @csspart content - The content of the accordion.
627
+ * @csspart icon-wrapper - The icon wrapper of the accordion.
628
+ * @csspart open-icon - The icon when the accordion is opened.
629
+ * @csspart open-icon-base - The base of the icon when the accordion is opened.
630
+ * @csspart close-icon - The icon when the accordion is closed.
631
+ * @csspart close-icon-base - The base of the icon when the accordion is closed.
628
632
  */
629
633
  export declare class DapDSAccordion extends DdsElement {
630
634
  static styles: CSSResult;
@@ -647,6 +651,8 @@ export declare class DapDSAccordion extends DdsElement {
647
651
  * @summary An accordion group is a collection of accordion components.
648
652
  * @title - Accordion group
649
653
  *
654
+ * @attribute {boolean} autoClose - Whether to close other accordions when one is opened. Default is `true`.
655
+ *
650
656
  * @event dds-change - Event fired when an accordion is opened or closed.
651
657
  *
652
658
  * @slot - The content of the accordion group.
@@ -655,9 +661,9 @@ export declare class DapDSAccordion extends DdsElement {
655
661
  */
656
662
  export declare class DapDSAccordionGroup extends DdsElement {
657
663
  accordions: Array<DapDSAccordion>;
664
+ autoClose: string;
658
665
  static styles: CSSResult;
659
- connectedCallback(): void;
660
- disconnectedCallback(): void;
666
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
661
667
  onAccordionChange(event: CustomEvent): void;
662
668
  render(): TemplateResult_2;
663
669
  }
@@ -668,6 +674,14 @@ export declare class DapDSAccordionGroup extends DdsElement {
668
674
  * @element dap-ds-anchor-heading
669
675
  * @title - Anchor heading
670
676
  *
677
+ * @attribute {'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'} variant - The variant of the heading. Default is `h2`. Can be `h1`, `h2`, `h3`, `h4`, `h5`, or `h6`.
678
+ * @attribute {string} label - The label of the heading.
679
+ *
680
+ * @csspart base - The main anchor heading container.
681
+ * @csspart link - The link of the anchor heading. dap-ds-link element.
682
+ * @csspart link-base - The base of the link part.
683
+ * @csspart text - The text of the anchor heading.
684
+ *
671
685
  */
672
686
  export declare class DapDSAnchorHeading extends DdsElement {
673
687
  variant: HeadingVariant;
@@ -694,6 +708,7 @@ export declare class DapDSAnchorHeading extends DdsElement {
694
708
  * @csspart base - The main container of the badge.
695
709
  * @csspart icon - The icon of the badge.
696
710
  * @csspart content - The content of the badge.
711
+ * @csspart icon-base - The base of the icon.
697
712
  */
698
713
  export declare class DapDSBadge extends DdsElement {
699
714
  type: BadgeType;
@@ -724,11 +739,11 @@ export declare class DapDSBadge extends DdsElement {
724
739
  *
725
740
  * @csspart base - The main banner container.
726
741
  * @csspart icon - The icon of the banner.
742
+ * @csspart icon-element - The icon element of the banner.
743
+ * @csspart icon-base - The base of the icon.
727
744
  * @csspart closebutton - The close button of the banner.
728
- * @csspart icon - The icon of the banner.
729
745
  * @csspart actions - The actions of the banner.
730
746
  * @csspart title - The title of the banner.
731
- *
732
747
  */
733
748
  export declare class DapDSBanner extends DdsElement {
734
749
  variant: BannerVariant;
@@ -1936,6 +1951,7 @@ export declare class DapDSOptionList extends DapDSOptionList_base {
1936
1951
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
1937
1952
  getAllOptions(): DapDSOptionItem[];
1938
1953
  private getAllRenderedOptions;
1954
+ getAllAvailabeOptions(): DapDSOptionItem[];
1939
1955
  getActiveOption(): DapDSOptionItem | null | undefined;
1940
1956
  protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
1941
1957
  protected shouldUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): boolean;