@czi-sds/components 22.9.1 → 22.10.1
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/index.cjs.d.ts +3 -10
- package/dist/index.cjs.js +257 -156
- package/dist/index.esm.d.ts +3 -10
- package/dist/index.esm.js +257 -156
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.esm.d.ts
CHANGED
|
@@ -1572,7 +1572,8 @@ interface TextNavigationHeaderPrimaryNavItem<T extends string> extends BaseNavig
|
|
|
1572
1572
|
}
|
|
1573
1573
|
interface DropdownItem {
|
|
1574
1574
|
label: ReactNode;
|
|
1575
|
-
|
|
1575
|
+
section?: string;
|
|
1576
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
1576
1577
|
component?: React.ElementType;
|
|
1577
1578
|
href?: string;
|
|
1578
1579
|
rel?: string;
|
|
@@ -1594,18 +1595,10 @@ interface TextHeaderSecondaryNavItem extends Partial<SdsMinimalButtonProps> {
|
|
|
1594
1595
|
label: string;
|
|
1595
1596
|
itemType: "text";
|
|
1596
1597
|
}
|
|
1597
|
-
interface DropdownItem$0 {
|
|
1598
|
-
label: ReactNode;
|
|
1599
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
1600
|
-
component?: React.ElementType;
|
|
1601
|
-
href?: string;
|
|
1602
|
-
rel?: string;
|
|
1603
|
-
target?: string;
|
|
1604
|
-
}
|
|
1605
1598
|
interface DropdownHeaderSecondaryNavItem extends Partial<SdsMinimalButtonProps> {
|
|
1606
1599
|
label: string;
|
|
1607
1600
|
itemType: "dropdown";
|
|
1608
|
-
items: DropdownItem
|
|
1601
|
+
items: DropdownItem[];
|
|
1609
1602
|
}
|
|
1610
1603
|
type NavigationHeaderSecondaryNavItem = TextHeaderSecondaryNavItem | DropdownHeaderSecondaryNavItem;
|
|
1611
1604
|
interface NavigationHeaderSecondaryNavProps {
|