dap-design-system 0.10.3 → 0.10.5
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 +25 -7
- package/dist/dds.js +431 -414
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +154 -138
- package/dist/manifest/vscode.html-custom-data.json +78 -64
- package/dist/manifest/web-types.json +149 -134
- package/dist/react.d.ts +47 -12
- package/dist/react.js +81 -81
- package/dist/react.js.map +1 -1
- package/package.json +2 -2
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
|
-
|
|
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;
|
|
@@ -781,8 +796,10 @@ export declare class DapDSBreadcrumb extends DdsElement {
|
|
|
781
796
|
*
|
|
782
797
|
* @slot - The content of the breadcrumb item.
|
|
783
798
|
*
|
|
784
|
-
* @csspart base - The main breadcrumb item container.
|
|
785
|
-
* @csspart link - The link of the breadcrumb item.
|
|
799
|
+
* @csspart base - The main breadcrumb item container. The li element.
|
|
800
|
+
* @csspart link - The link of the breadcrumb item. The dap-ds-link component.
|
|
801
|
+
* @csspart link-base - The base part of the link part. The dap-ds-link components base part.
|
|
802
|
+
* @csspart item-nolink - The item of the breadcrumb item without a link. The span element.
|
|
786
803
|
*/
|
|
787
804
|
export declare class DapDSBreadcrumbItem extends DdsElement {
|
|
788
805
|
href?: string;
|
|
@@ -1934,6 +1951,7 @@ export declare class DapDSOptionList extends DapDSOptionList_base {
|
|
|
1934
1951
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
1935
1952
|
getAllOptions(): DapDSOptionItem[];
|
|
1936
1953
|
private getAllRenderedOptions;
|
|
1954
|
+
getAllAvailabeOptions(): DapDSOptionItem[];
|
|
1937
1955
|
getActiveOption(): DapDSOptionItem | null | undefined;
|
|
1938
1956
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
1939
1957
|
protected shouldUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): boolean;
|