@windstream/react-shared-components 0.2.85 → 0.2.86

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.
Files changed (34) hide show
  1. package/dist/contentful/index.esm.js +1 -1
  2. package/dist/contentful/index.esm.js.map +1 -1
  3. package/dist/contentful/index.js +1 -1
  4. package/dist/contentful/index.js.map +1 -1
  5. package/dist/core.d.ts +3 -3
  6. package/dist/index.d.ts +1 -1
  7. package/package.json +1 -1
  8. package/src/contentful/blocks/blogs-grid/{BlogGrid.stories.tsx → blog-grid.stories.tsx} +1 -1
  9. package/src/contentful/blocks/callout/{Callout.stories.tsx → callout.stories.tsx} +1 -1
  10. package/src/contentful/blocks/cta-callout/index.test.tsx +6 -6
  11. package/src/contentful/blocks/cta-callout/index.tsx +6 -6
  12. package/src/contentful/blocks/find-kinetic/{FindKinetic.stories.tsx → find-kinetic.stories.tsx} +1 -1
  13. package/src/contentful/blocks/navigation/{Navigation.stories.tsx → navigation.stories.tsx} +1 -1
  14. /package/src/contentful/blocks/address-input-banner/{AddressInputBanner.stories.tsx → address-input-banner.stories.tsx} +0 -0
  15. /package/src/contentful/blocks/anchored-bottom-banner/{AnchoredBottomBanner.stories.tsx → anchored-bottom-banner.stories.tsx} +0 -0
  16. /package/src/contentful/blocks/award-marquee/{AwardMarquee.stories.tsx → award-marquee.stories.tsx} +0 -0
  17. /package/src/contentful/blocks/blogs-grid/{BlogGrid.stories.mocks.tsx → blog-grid.stories.mocks.tsx} +0 -0
  18. /package/src/contentful/blocks/breadcrumbs/{BreadcrumbNavigation.stories.tsx → breadcrumb-navigation.stories.tsx} +0 -0
  19. /package/src/contentful/blocks/button/{Button.stories.tsx → button.stories.tsx} +0 -0
  20. /package/src/contentful/blocks/callout/{Callout.stories.mocks.ts → callout.stories.mocks.ts} +0 -0
  21. /package/src/contentful/blocks/cards/{Cards.stories.tsx → cards.stories.tsx} +0 -0
  22. /package/src/contentful/blocks/carousel/{Carousel.stories.tsx → carousel.stories.tsx} +0 -0
  23. /package/src/contentful/blocks/cart-retention-banner/{CartRetentionBanner.stories.tsx → cart-retention-banner.stories.tsx} +0 -0
  24. /package/src/contentful/blocks/cta-callout/{CtaCallout.stories.tsx → cta-callout.stories.tsx} +0 -0
  25. /package/src/contentful/blocks/dynamic-form/{DynamicForm.stories.tsx → dynamic-form.stories.tsx} +0 -0
  26. /package/src/contentful/blocks/email-input-block/{EmailInputBlock.stories.tsx → email-input-block.stories.tsx} +0 -0
  27. /package/src/contentful/blocks/find-kinetic/{FindKinetic.stories.mocks.ts → find-kinetic.stories.mocks.ts} +0 -0
  28. /package/src/contentful/blocks/floating-banner/{FloatingBanner.stories.tsx → floating-banner.stories.tsx} +0 -0
  29. /package/src/contentful/blocks/footer/{Footer.stories.tsx → footer.stories.tsx} +0 -0
  30. /package/src/contentful/blocks/image-promo-bar/{ImagePromoBar.stories.tsx → image-promo-bar.stories.tsx} +0 -0
  31. /package/src/contentful/blocks/navigation/{Navigation.stories.mocks.tsx → navigation.stories.mocks.tsx} +0 -0
  32. /package/src/contentful/blocks/primary-hero/{PrimaryHero.stories.tsx → primary-hero.stories.tsx} +0 -0
  33. /package/src/contentful/blocks/shape-background-wrapper/{ShapeBackgroundWrapper.stories.tsx → shape-background-wrapper.stories.tsx} +0 -0
  34. /package/src/contentful/blocks/text/{Text.stories.tsx → text.stories.tsx} +0 -0
package/dist/core.d.ts CHANGED
@@ -67,11 +67,11 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
67
67
 
68
68
  declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
69
69
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
70
- state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
71
- size?: "slim" | "medium" | "large" | undefined;
70
+ state?: "error" | "default" | "focus" | "active" | "hover" | "filled" | undefined;
71
+ size?: "medium" | "slim" | "large" | undefined;
72
72
  label?: string | undefined;
73
73
  errorText?: string | undefined;
74
- prefixIconName?: "location_on" | "search" | undefined;
74
+ prefixIconName?: "search" | "location_on" | undefined;
75
75
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
76
76
  prefixIconFill?: boolean | undefined;
77
77
  suffixIconFill?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -71,7 +71,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
71
71
  size?: "slim" | "medium" | "large" | undefined;
72
72
  label?: string | undefined;
73
73
  errorText?: string | undefined;
74
- prefixIconName?: "location_on" | "search" | undefined;
74
+ prefixIconName?: "search" | "location_on" | undefined;
75
75
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
76
76
  prefixIconFill?: boolean | undefined;
77
77
  suffixIconFill?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windstream/react-shared-components",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
4
4
  "type": "module",
5
5
  "description": "Shared React components for Kinetic applications",
6
6
  "main": "dist/index.js",
@@ -3,7 +3,7 @@ import {
3
3
  ARTICLES_WITH_COVERS,
4
4
  ARTICLES_WITHOUT_COVERS,
5
5
  CATEGORY_OPTIONS,
6
- } from "./BlogGrid.stories.mocks";
6
+ } from "./blog-grid.stories.mocks";
7
7
  import { BlogGrid } from "./index";
8
8
  import type { BlogGridProps } from "./types";
9
9
 
@@ -8,7 +8,7 @@ import {
8
8
  fourColumnItems,
9
9
  fullImageItems,
10
10
  withFloatingImageArgs,
11
- } from "./Callout.stories.mocks";
11
+ } from "./callout.stories.mocks";
12
12
 
13
13
  import { DocsPage } from "@shared/stories/DocsTemplate";
14
14
  import type { Meta, StoryObj } from "@storybook/react";
@@ -94,42 +94,42 @@ describe("CtaCallout", () => {
94
94
  const { container } = render(
95
95
  <CtaCallout {...defaultProps} background="white" />
96
96
  );
97
- expect(container.firstChild).toHaveClass("bg-bg");
97
+ expect(container.firstChild).toHaveClass("bg-white");
98
98
  });
99
99
 
100
100
  it("applies navy background class", () => {
101
101
  const { container } = render(
102
102
  <CtaCallout {...defaultProps} background="navy" />
103
103
  );
104
- expect(container.firstChild).toHaveClass("bg-bg-fill-inverse");
104
+ expect(container.firstChild).toHaveClass("bg-[#00002D]");
105
105
  });
106
106
 
107
107
  it("applies blue background class", () => {
108
108
  const { container } = render(
109
109
  <CtaCallout {...defaultProps} background="blue" />
110
110
  );
111
- expect(container.firstChild).toHaveClass("bg-bg-fill-brand");
111
+ expect(container.firstChild).toHaveClass("bg-[#07B2E2]");
112
112
  });
113
113
 
114
114
  it("applies green background class", () => {
115
115
  const { container } = render(
116
116
  <CtaCallout {...defaultProps} background="green" />
117
117
  );
118
- expect(container.firstChild).toHaveClass("bg-bg-fill-success");
118
+ expect(container.firstChild).toHaveClass("bg-[#26B170]");
119
119
  });
120
120
 
121
121
  it("applies purple background class", () => {
122
122
  const { container } = render(
123
123
  <CtaCallout {...defaultProps} background="purple" />
124
124
  );
125
- expect(container.firstChild).toHaveClass("bg-bg-fill-brand-tertiary");
125
+ expect(container.firstChild).toHaveClass("bg-[#931D69]");
126
126
  });
127
127
 
128
128
  it("applies yellow background class", () => {
129
129
  const { container } = render(
130
130
  <CtaCallout {...defaultProps} background="yellow" />
131
131
  );
132
- expect(container.firstChild).toHaveClass("bg-bg-fill-brand-accent");
132
+ expect(container.firstChild).toHaveClass("bg-[#F5FF1E]");
133
133
  });
134
134
  });
135
135
 
@@ -19,12 +19,12 @@ export const CtaCallout: React.FC<CtaCalloutProps> = ({
19
19
  renderCheckPlans,
20
20
  }) => {
21
21
  const bgColorClasses: Record<ThemeKey, string> = {
22
- navy: "bg-bg-fill-inverse",
23
- green: "bg-bg-fill-success",
24
- blue: "bg-bg-fill-brand",
25
- purple: "bg-bg-fill-brand-tertiary",
26
- yellow: "bg-bg-fill-brand-accent",
27
- white: "bg-bg",
22
+ navy: "bg-[#00002D]",
23
+ green: "bg-[#26B170]",
24
+ blue: "bg-[#07B2E2]",
25
+ purple: "bg-[#931D69]",
26
+ yellow: "bg-[#F5FF1E]",
27
+ white: "bg-white",
28
28
  };
29
29
  return (
30
30
  <div
@@ -1,4 +1,4 @@
1
- import { LOCATION_LIST } from "./FindKinetic.stories.mocks";
1
+ import { LOCATION_LIST } from "./find-kinetic.stories.mocks";
2
2
  import { FindKinetic } from "./index";
3
3
  import type { FindKineticProps } from "./types";
4
4
 
@@ -7,7 +7,7 @@ import {
7
7
  UTILITY_LINKS,
8
8
  ACCOUNT_LINKS,
9
9
  SUPPORT_LINKS,
10
- } from "./Navigation.stories.mocks";
10
+ } from "./navigation.stories.mocks";
11
11
 
12
12
  const searchFormStyle = `
13
13
  form[name="searchForm"] {