@worldresources/wri-design-systems 2.172.0 → 2.174.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.
- package/dist/index.cjs.js +119 -46
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +176 -103
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -715,9 +715,10 @@ type BreadcrumbProps = {
|
|
|
715
715
|
separator?: React.ReactNode;
|
|
716
716
|
maxItems?: number;
|
|
717
717
|
linkRouter: any;
|
|
718
|
+
size?: 'small' | 'default';
|
|
718
719
|
};
|
|
719
720
|
|
|
720
|
-
declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
721
|
+
declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, size, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
721
722
|
|
|
722
723
|
type FooterProps = {
|
|
723
724
|
children: React.ReactNode;
|
|
@@ -821,7 +822,7 @@ type TabBarItemProps = Omit<Tabs.TriggerProps, 'asChild'> & {
|
|
|
821
822
|
ref?: Ref<HTMLButtonElement>;
|
|
822
823
|
};
|
|
823
824
|
type TabBarProps = {
|
|
824
|
-
variant?: 'panel' | 'view';
|
|
825
|
+
variant?: 'panel' | 'view' | 'transparent';
|
|
825
826
|
defaultValue?: string;
|
|
826
827
|
tabs: TabBarItemProps[];
|
|
827
828
|
onTabClick?: (tabValue: string) => void;
|