@ed.yakovich/component-library 0.0.10 → 0.0.12

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 (86) hide show
  1. package/dist/components/InfoBanner/index.js +14 -15
  2. package/dist/lib/main.d.ts +0 -13
  3. package/dist/main.js +6 -32
  4. package/package.json +2 -5
  5. package/dist/components/Accordion/context/index.js +0 -7
  6. package/dist/components/Accordion/index.js +0 -38
  7. package/dist/components/Accordion/types/index.js +0 -1
  8. package/dist/components/Cart/index.js +0 -35
  9. package/dist/components/EquipmentSummary/context/index.js +0 -10
  10. package/dist/components/EquipmentSummary/index.js +0 -65
  11. package/dist/components/EquipmentSummary/types/index.js +0 -1
  12. package/dist/components/Grid/index.js +0 -19
  13. package/dist/components/HeroBanner/context/index.js +0 -7
  14. package/dist/components/HeroBanner/index.js +0 -33
  15. package/dist/components/HeroBanner/types/index.js +0 -1
  16. package/dist/components/Nav/index.js +0 -23
  17. package/dist/components/OfferCards/context/index.js +0 -7
  18. package/dist/components/OfferCards/index.js +0 -30
  19. package/dist/components/OfferCards/subComponents/OfferCard.js +0 -62
  20. package/dist/components/OfferCards/types/index.js +0 -1
  21. package/dist/components/SaleBanner/context/index.js +0 -7
  22. package/dist/components/SaleBanner/index.js +0 -59
  23. package/dist/components/SaleBanner/types/index.js +0 -1
  24. package/dist/index-0d8e0844-BJzWsYCM.js +0 -7403
  25. package/dist/index-C9Rf5U9q.js +0 -29143
  26. package/dist/index-b30029d4-E1YxEHFH.js +0 -12
  27. package/dist/index-e6818ded-r_t6ryaW.js +0 -57
  28. package/dist/index.esm-322571ff-D1REhsOg.js +0 -41
  29. package/dist/lib/components/Accordion/context/index.d.ts +0 -10
  30. package/dist/lib/components/Accordion/index.d.ts +0 -2
  31. package/dist/lib/components/Accordion/types/index.d.ts +0 -13
  32. package/dist/lib/components/Cart/index.d.ts +0 -6
  33. package/dist/lib/components/EquipmentSummary/context/index.d.ts +0 -10
  34. package/dist/lib/components/EquipmentSummary/index.d.ts +0 -2
  35. package/dist/lib/components/EquipmentSummary/types/index.d.ts +0 -14
  36. package/dist/lib/components/Grid/index.d.ts +0 -13
  37. package/dist/lib/components/HeroBanner/context/index.d.ts +0 -10
  38. package/dist/lib/components/HeroBanner/index.d.ts +0 -2
  39. package/dist/lib/components/HeroBanner/types/index.d.ts +0 -11
  40. package/dist/lib/components/Nav/index.d.ts +0 -8
  41. package/dist/lib/components/OfferCards/context/index.d.ts +0 -9
  42. package/dist/lib/components/OfferCards/index.d.ts +0 -2
  43. package/dist/lib/components/OfferCards/subComponents/OfferCard.d.ts +0 -3
  44. package/dist/lib/components/OfferCards/types/index.d.ts +0 -26
  45. package/dist/lib/components/SaleBanner/context/index.d.ts +0 -10
  46. package/dist/lib/components/SaleBanner/index.d.ts +0 -2
  47. package/dist/lib/components/SaleBanner/types/index.d.ts +0 -11
  48. package/dist/link-DO_Jvm9n.js +0 -685
  49. package/dist/prism-accordion.entry-DeyFGNx-.js +0 -51
  50. package/dist/prism-avatar_2.entry-MLbdVrJg.js +0 -68
  51. package/dist/prism-badge.entry-BG5y7O5U.js +0 -58
  52. package/dist/prism-banner.entry-DChrjpFH.js +0 -82
  53. package/dist/prism-breadcrumb.entry-1YzYlKen.js +0 -33
  54. package/dist/prism-button_2.entry-DO8IGIoS.js +0 -110
  55. package/dist/prism-card.entry-DQ6P4TZP.js +0 -119
  56. package/dist/prism-carousel.entry-BA8zsHRW.js +0 -3111
  57. package/dist/prism-checkbox-group.entry-CP4-gghb.js +0 -62
  58. package/dist/prism-checkbox.entry-CJCy8fvC.js +0 -99
  59. package/dist/prism-data-table.entry--0djw8ls.js +0 -10475
  60. package/dist/prism-datepicker.entry-DPm7tpKB.js +0 -249
  61. package/dist/prism-form.entry-CS1zRoMt.js +0 -42
  62. package/dist/prism-grid.entry-jcx2aMUm.js +0 -28
  63. package/dist/prism-header.entry-CBSIpa0M.js +0 -202
  64. package/dist/prism-hero.entry-B0CKL5y9.js +0 -23
  65. package/dist/prism-icon_2.entry-Aja4QGUK.js +0 -118
  66. package/dist/prism-image.entry-B--khr6E.js +0 -38
  67. package/dist/prism-input-file.entry-i5qJkwEK.js +0 -119
  68. package/dist/prism-input-otp.entry-DXoARuzH.js +0 -63
  69. package/dist/prism-input-text.entry-D4QQ-dYX.js +0 -228
  70. package/dist/prism-input-textarea.entry-eeQHnhqC.js +0 -140
  71. package/dist/prism-layout.entry-bfKqOEnU.js +0 -20
  72. package/dist/prism-lineitem.entry-YIRZPVe_.js +0 -44
  73. package/dist/prism-menu.entry-BIlRCiaA.js +0 -231
  74. package/dist/prism-modal.entry-Kc-SpAR-.js +0 -94
  75. package/dist/prism-pagination.entry-BCo9aMdq.js +0 -60
  76. package/dist/prism-popover.entry-LmDvzCiR.js +0 -1013
  77. package/dist/prism-popper.entry-BqrcyTkE.js +0 -959
  78. package/dist/prism-progress.entry-29_ezvop.js +0 -79
  79. package/dist/prism-radio-group.entry-cL6AqjTk.js +0 -66
  80. package/dist/prism-radio.entry-CM_vZFZA.js +0 -101
  81. package/dist/prism-select.entry-B6A3gk7B.js +0 -230
  82. package/dist/prism-switch.entry-CtEfKB58.js +0 -95
  83. package/dist/prism-tab.entry-DIDUhFlk.js +0 -20
  84. package/dist/prism-tabs.entry-Cj3dW5_E.js +0 -70
  85. package/dist/prism-tooltip.entry-DEdY5eRd.js +0 -52
  86. package/dist/prism-typeahead.entry-D2XrvXaG.js +0 -1234
@@ -1,12 +0,0 @@
1
- import { h as s } from "./index-C9Rf5U9q.js";
2
- /*!
3
- * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
4
- */
5
- const t = () => s(
6
- "sup",
7
- { class: "ml-0.5" },
8
- s("prism-icon", { theme: "fill", name: "asterisk", size: "custom", style: { "--icon-width": "12px", "--icon-height": "12px" } })
9
- );
10
- export {
11
- t as A
12
- };
@@ -1,57 +0,0 @@
1
- /*!
2
- * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
3
- */
4
- const s = (t) => t.toLocaleLowerCase("en-US"), c = (t) => s(t).replace(/\s+/g, "-"), d = (t) => [...Array.from(t == null ? void 0 : t.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'))].filter((o) => !o.hasAttribute("disabled")), x = (t) => {
5
- let o = t.getBoundingClientRect(), e = {};
6
- return e.top = o.top <= 0, e.left = o.left <= 0, e.bottom = o.bottom >= (window.innerHeight || document.documentElement.clientHeight), e.right = o.right >= (window.innerWidth || document.documentElement.clientWidth), e.any = e.top || e.left || e.bottom || e.right, e.all = e.top && e.left && e.bottom && e.right, e.values = o, e;
7
- }, u = (t) => {
8
- t.removeAttribute("aria-hidden"), t.removeAttribute("tabindex");
9
- }, g = (t) => {
10
- t.setAttribute("aria-hidden", "true"), t.setAttribute("tabindex", "-1");
11
- }, p = (t, o) => {
12
- let e = {
13
- tag: t
14
- // props: {},
15
- };
16
- const n = new CustomEvent("prism-component-connected", {
17
- detail: e
18
- });
19
- document.dispatchEvent(n);
20
- }, m = {
21
- xs: { w: 16, h: 16 },
22
- sm: { w: 24, h: 24 },
23
- md: { w: 32, h: 32 },
24
- lg: { w: 48, h: 48 },
25
- xl: { w: 72, h: 72 },
26
- custom: { w: 0, h: 0 }
27
- }, b = () => {
28
- let t = (/* @__PURE__ */ new Date()).getTime();
29
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
30
- const n = (t + Math.random() * 16) % 16 | 0;
31
- return t = Math.floor(t / 16), (e === "x" ? n : n & 3 | 8).toString(16);
32
- });
33
- };
34
- function h(t, o) {
35
- let e = "";
36
- for (let n = 0; n < t.length; n++)
37
- o.includes(t[n]) || (e += t[n]);
38
- return e;
39
- }
40
- const i = (t, o, e) => {
41
- console.info(`%c💎 Prism UI Component - ${e}:%cThe %c${t} %c${o}`, "font-size:12px; font-weight:bold; color:rgb(20, 20, 23); padding:2px; background-color:rgb(217, 225, 242);", "font-size:12px; margin-left:4px; padding:2px;", "font-size:12px; font-weight:bolder;", "font-size:12px; padding:2px;");
42
- }, f = (t, o) => {
43
- var e;
44
- typeof Storage < "u" && (!((e = JSON.parse(localStorage.getItem("@prism-ui/settings"))) === null || e === void 0) && e.notices) && i(t, o, "Deprecation Notice");
45
- };
46
- export {
47
- d as a,
48
- g as b,
49
- m as c,
50
- f as d,
51
- u as e,
52
- b as g,
53
- x as i,
54
- p as m,
55
- h as r,
56
- c as u
57
- };
@@ -1,41 +0,0 @@
1
- /*!
2
- * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
3
- */
4
- function x(c, o, t) {
5
- var v, l, r;
6
- o === void 0 && (o = 50), t === void 0 && (t = {});
7
- var f = (v = t.isImmediate) != null && v, i = (l = t.callback) != null && l, u = t.maxWait, s = Date.now(), n = [];
8
- function w() {
9
- if (u !== void 0) {
10
- var e = Date.now() - s;
11
- if (e + o >= u) return u - e;
12
- }
13
- return o;
14
- }
15
- var d = function() {
16
- var e = [].slice.call(arguments), a = this;
17
- return new Promise(function(m, D) {
18
- var T = f && r === void 0;
19
- if (r !== void 0 && clearTimeout(r), r = setTimeout(function() {
20
- if (r = void 0, s = Date.now(), !f) {
21
- var h = c.apply(a, e);
22
- i && i(h), n.forEach(function(j) {
23
- return (0, j.resolve)(h);
24
- }), n = [];
25
- }
26
- }, w()), T) {
27
- var p = c.apply(a, e);
28
- return i && i(p), m(p);
29
- }
30
- n.push({ resolve: m, reject: D });
31
- });
32
- };
33
- return d.cancel = function(e) {
34
- r !== void 0 && clearTimeout(r), n.forEach(function(a) {
35
- return (0, a.reject)(e);
36
- }), n = [];
37
- }, d;
38
- }
39
- export {
40
- x as r
41
- };
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { AccordionType } from '../types';
3
- type AccordionContextData = AccordionType;
4
- type AccordionContextProviderProps = {
5
- model: AccordionContextData;
6
- children: ReactNode;
7
- };
8
- export declare const useAccordionContext: () => AccordionType;
9
- export declare const AccordionContextProvider: ({ model, children }: AccordionContextProviderProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- import { AccordionType } from './types';
2
- export declare const Accordion: (props: AccordionType) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export type AccordionType = {
3
- isHidden?: boolean;
4
- componentId?: string;
5
- collapsed?: boolean;
6
- description?: string;
7
- iconPosition?: 'left' | 'right';
8
- label?: string;
9
- labelSecondary?: string;
10
- onClick?: (event: unknown) => void;
11
- tone?: unknown;
12
- children?: ReactNode;
13
- };
@@ -1,6 +0,0 @@
1
- type CartProps = {
2
- backUrl?: string;
3
- nextUrl?: string;
4
- };
5
- export declare const Cart: (props: CartProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { EquipmentSummaryType } from '../types';
3
- type EquipmentSummaryContextData = EquipmentSummaryType;
4
- type EquipmentSummaryContextProviderProps = {
5
- model: EquipmentSummaryContextData;
6
- children: ReactNode;
7
- };
8
- export declare const useEquipmentSummaryContext: () => EquipmentSummaryType;
9
- export declare const EquipmentSummaryContextProvider: ({ model, children, }: EquipmentSummaryContextProviderProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- import { EquipmentSummaryType } from './types';
2
- export declare const EquipmentSummary: (props: EquipmentSummaryType) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,14 +0,0 @@
1
- export type EquipmentSummaryType = {
2
- isHidden?: boolean;
3
- isLoading?: boolean;
4
- componentId?: string;
5
- heading?: string;
6
- description?: string;
7
- equipmentList?: {
8
- id: string;
9
- icon: string;
10
- title: string;
11
- description: string;
12
- actionType: 'retain' | 'return' | 'keep';
13
- }[];
14
- };
@@ -1,13 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type GridProps = {
3
- flushX?: boolean;
4
- flushY?: boolean;
5
- maxWidth?: string;
6
- maxColAmount?: '4' | '3' | '2' | '1';
7
- colSpan?: string;
8
- gapX?: string;
9
- gapY?: string;
10
- children?: ReactNode;
11
- };
12
- export declare const Grid: (props: GridProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { HeroBannerType } from '../types';
3
- type HeroBannerContextData = HeroBannerType;
4
- type HeroBannerContextProviderProps = {
5
- model: HeroBannerContextData;
6
- children: ReactNode;
7
- };
8
- export declare const useHeroBannerContext: () => HeroBannerType;
9
- export declare const HeroBannerContextProvider: ({ model, children }: HeroBannerContextProviderProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- import { HeroBannerType } from './types';
2
- export declare const HeroBanner: (props: HeroBannerType) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,11 +0,0 @@
1
- export type HeroBannerType = {
2
- isHidden?: boolean;
3
- componentId?: string;
4
- icon?: string;
5
- heading?: string;
6
- description?: string;
7
- listData?: {
8
- icon: string;
9
- description: string;
10
- }[];
11
- };
@@ -1,8 +0,0 @@
1
- type NavProps = {
2
- pages: {
3
- name: string;
4
- url: string;
5
- }[];
6
- };
7
- export declare const Nav: (props: NavProps) => import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,9 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { OfferCardsType } from '../types';
3
- type OfferCardsContextProviderProps = {
4
- model: OfferCardsType;
5
- children: ReactNode;
6
- };
7
- export declare const useOfferCardsContext: () => OfferCardsType;
8
- export declare const OfferCardsContextProvider: ({ model, children }: OfferCardsContextProviderProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,2 +0,0 @@
1
- import { OfferCardsType } from './types';
2
- export declare const OfferCards: (props: OfferCardsType) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +0,0 @@
1
- import { OfferCardType } from '../types';
2
- declare const OfferCard: (props: OfferCardType) => import("react/jsx-runtime").JSX.Element;
3
- export default OfferCard;
@@ -1,26 +0,0 @@
1
- export type OfferCardType = {
2
- id: string;
3
- icon: string;
4
- heading: string;
5
- description: string;
6
- iconList?: {
7
- icon?: string;
8
- description?: string;
9
- }[];
10
- price: number;
11
- buttonLabel: string;
12
- buttonHref?: string;
13
- buttonDisabled?: boolean;
14
- perMonth?: boolean;
15
- isLoading?: boolean;
16
- handleOfferCardAction?: (id: string) => void;
17
- };
18
- export type OfferCardsType = {
19
- isHidden?: boolean;
20
- isLoading?: boolean;
21
- componentId?: string;
22
- icon?: string;
23
- heading?: string;
24
- handleOfferCardAction?: (id: string) => void;
25
- offerCardList?: OfferCardType[];
26
- };
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { SaleBannerType } from '../types';
3
- type SaleBannerContextData = SaleBannerType;
4
- type SaleBannerContextProviderProps = {
5
- model: SaleBannerContextData;
6
- children: ReactNode;
7
- };
8
- export declare const useSaleBannerContext: () => SaleBannerType;
9
- export declare const SaleBannerContextProvider: ({ model, children }: SaleBannerContextProviderProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- import { SaleBannerType } from './types';
2
- export declare const SaleBanner: (props: SaleBannerType) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,11 +0,0 @@
1
- export type SaleBannerType = {
2
- isHidden?: boolean;
3
- componentId?: string;
4
- heading?: string;
5
- description?: string;
6
- disclaimer?: string;
7
- normalPrice?: number;
8
- salePrice?: number;
9
- linkText?: string;
10
- linkUrl?: string;
11
- };