@windstream/react-shared-components 0.1.77 → 0.1.79
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/contentful/index.d.ts +8 -2
- package/dist/contentful/index.esm.js +3 -3
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/blogs-grid/BlogGrid.stories.mocks.tsx +144 -0
- package/src/contentful/blocks/blogs-grid/BlogGrid.stories.tsx +156 -0
- package/src/contentful/blocks/breadcrumbs/BreadcrumbNavigation.stories.tsx +147 -0
- package/src/contentful/blocks/breadcrumbs/index.tsx +30 -16
- package/src/contentful/blocks/breadcrumbs/types.ts +3 -1
- package/src/contentful/blocks/callout/index.tsx +54 -41
- package/src/contentful/blocks/callout/types.ts +5 -1
- package/src/contentful/blocks/navigation/index.tsx +2 -1
|
@@ -97,8 +97,12 @@ type CalloutProps = {
|
|
|
97
97
|
* When `true` (default) cards are laid out in a responsive Tailwind
|
|
98
98
|
* grid sized by `maxCardsPerRow`. When `false` the cards stretch
|
|
99
99
|
* full-width and stack vertically (no inner widths).
|
|
100
|
+
*
|
|
101
|
+
* Accepts a string for backward compatibility with legacy consumers
|
|
102
|
+
* that pass a Tailwind width class (e.g. "w-1/2"); any truthy value
|
|
103
|
+
* enables grid mode — the string itself is not applied.
|
|
100
104
|
*/
|
|
101
|
-
cardsWidth?: boolean;
|
|
105
|
+
cardsWidth?: boolean | string;
|
|
102
106
|
maxCardsPerRow?: number;
|
|
103
107
|
noGutter?: boolean;
|
|
104
108
|
items: CalloutItem[];
|
|
@@ -680,8 +684,10 @@ declare function BlogGridBase({ title, paginatedArticles, totalArticles, current
|
|
|
680
684
|
type BreadcrumbNavigationProps = {
|
|
681
685
|
links?: Array<any>;
|
|
682
686
|
textColor?: "dark" | "light";
|
|
687
|
+
mobileTextColor?: "dark" | "light";
|
|
688
|
+
desktopTextColor?: "dark" | "light";
|
|
683
689
|
maxWidth?: boolean;
|
|
684
|
-
|
|
690
|
+
float?: "none" | "mobile" | "desktop" | "always";
|
|
685
691
|
};
|
|
686
692
|
|
|
687
693
|
declare const BreadcrumbNavigation: React__default.FC<BreadcrumbNavigationProps>;
|