@ed.yakovich/component-library 0.0.12 → 0.0.15

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 (46) hide show
  1. package/dist/components/InfoBanner/index.js +4 -23
  2. package/dist/index-44540db3-BN5vFHKr.js +44 -0
  3. package/dist/index-4d46d9ca-BtyZMEt1.js +12 -0
  4. package/dist/index-D9BZSjMp.js +21158 -0
  5. package/dist/index-ba31999b-V1s4iffq.js +7451 -0
  6. package/dist/index.esm-a7c99373-DUoLYEEM.js +41 -0
  7. package/dist/main.js +1 -1
  8. package/dist/prism-accordion.entry-D4g7wdXB.js +51 -0
  9. package/dist/prism-avatar_3.entry-C1H9bg9y.js +335 -0
  10. package/dist/prism-badge.entry-CWLalQsR.js +56 -0
  11. package/dist/prism-banner.entry-D1sce4tY.js +105 -0
  12. package/dist/prism-breadcrumb.entry-C282yHQl.js +33 -0
  13. package/dist/prism-button_3.entry-DIg1AEXF.js +240 -0
  14. package/dist/prism-card.entry-DaxGD-uX.js +152 -0
  15. package/dist/prism-carousel.entry-BGmaoDVM.js +3346 -0
  16. package/dist/prism-checkbox-group.entry-Dwa_mvjd.js +62 -0
  17. package/dist/prism-checkbox.entry-CZvx2AHI.js +116 -0
  18. package/dist/prism-data-table.entry-DACAS8BE.js +3591 -0
  19. package/dist/prism-datepicker.entry-CHUyjilE.js +279 -0
  20. package/dist/prism-dialog.entry-DdO9Kt32.js +73 -0
  21. package/dist/prism-drawer.entry-Dn0rvW9U.js +43 -0
  22. package/dist/prism-form.entry-C8VzGp6c.js +42 -0
  23. package/dist/prism-header.entry-D0PypuC3.js +227 -0
  24. package/dist/prism-hero.entry-DQ8G7Jb_.js +23 -0
  25. package/dist/prism-image.entry-tx9Pc3k_.js +38 -0
  26. package/dist/prism-input-file.entry-CO-2LZxG.js +119 -0
  27. package/dist/prism-input-otp.entry-ZAxExI2D.js +79 -0
  28. package/dist/prism-input-text.entry-EXsN4rgi.js +278 -0
  29. package/dist/prism-input-textarea.entry-CRqY4mr9.js +145 -0
  30. package/dist/prism-input-time.entry-BJ9he6MX.js +85 -0
  31. package/dist/prism-layout.entry-ulDWjtj8.js +20 -0
  32. package/dist/prism-lineitem.entry-DJk6X6mR.js +47 -0
  33. package/dist/prism-modal.entry-C795YZic.js +95 -0
  34. package/dist/prism-pagination.entry-DYQieAu3.js +69 -0
  35. package/dist/prism-popover.entry-BgLcACZw.js +1114 -0
  36. package/dist/prism-progress.entry-Z21rpoTm.js +79 -0
  37. package/dist/prism-radio_2.entry-C0HPCb3G.js +159 -0
  38. package/dist/prism-select.entry-B_l-ab1d.js +286 -0
  39. package/dist/prism-switch.entry-OkC8X1bD.js +95 -0
  40. package/dist/prism-tab.entry-szftB_wL.js +20 -0
  41. package/dist/prism-tabs.entry-0UR3WF52.js +72 -0
  42. package/dist/prism-text.entry-BEAZ8xEV.js +28 -0
  43. package/dist/prism-treelist.entry-UX4FM4Bi.js +135 -0
  44. package/dist/prism-typeahead.entry-CwOiAFQE.js +1264 -0
  45. package/dist/purify-9647b094-0-ZyuBNz.js +572 -0
  46. package/package.json +3 -2
@@ -1,25 +1,6 @@
1
- import { jsx as e, jsxs as f } from "react/jsx-runtime";
2
- import { useInfoBannerContext as N } from "./context/index.js";
3
- const C = (t) => {
4
- const { isHidden: o, componentId: a = "", heading: c = "", description: r = "", icon: l = "" } = t, n = N(), h = n == null ? void 0 : n.isHidden, p = (n == null ? void 0 : n.icon) || "", m = (n == null ? void 0 : n.heading) || "", g = (n == null ? void 0 : n.description) || "", x = () => ({
5
- isHiddenVal: h || o,
6
- iconVal: p || l,
7
- headingVal: m || c,
8
- descriptionVal: g || r
9
- }), { isHiddenVal: V, iconVal: i, headingVal: s, descriptionVal: d } = x();
10
- return V ? null : /* @__PURE__ */ e(
11
- "div",
12
- {
13
- "data-component-id": `InfoBanner--${a}`,
14
- className: "bg-blue-500 p-4 text-white @container/infobanner",
15
- children: /* @__PURE__ */ e("div", { className: "text-center", children: /* @__PURE__ */ f("div", { className: "space-y-1", children: [
16
- i && /* @__PURE__ */ e("p", { children: i }),
17
- s && /* @__PURE__ */ e("div", { className: "text-center @lg/infobanner:px-14", children: /* @__PURE__ */ e("h2", { className: "text-3xl", children: /* @__PURE__ */ e("strong", { children: s }) }) }),
18
- d && /* @__PURE__ */ e("p", { className: "text-xs mb-2", children: /* @__PURE__ */ e("strong", { children: d }) })
19
- ] }) })
20
- }
21
- );
22
- };
1
+ import "react/jsx-runtime";
2
+ import { I as p } from "../../index-D9BZSjMp.js";
3
+ import "./context/index.js";
23
4
  export {
24
- C as InfoBanner
5
+ p as InfoBanner
25
6
  };
@@ -0,0 +1,44 @@
1
+ /*!
2
+ * Copyright (c) 2025 Comcast. Prism UI - v8.28.0 - made with ❤️ in Philadelphia
3
+ */
4
+ const i = (t) => t.toLocaleLowerCase("en-US"), a = (t) => i(t).replace(/\s+/g, "-"), c = (t) => [...Array.from(t == null ? void 0 : t.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'))].filter((s) => !s.hasAttribute("disabled")), r = (t, s) => {
5
+ t.setAttribute("tabindex", "-1"), s.setAttribute("tabindex", "0"), s.focus();
6
+ }, d = (t) => {
7
+ let s = t.getBoundingClientRect(), e = {};
8
+ return e.top = s.top <= 0, e.left = s.left <= 0, e.bottom = s.bottom >= (window.innerHeight || document.documentElement.clientHeight), e.right = s.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 = s, e;
9
+ }, l = (t) => {
10
+ t.removeAttribute("aria-hidden"), t.removeAttribute("tabindex");
11
+ }, u = (t) => {
12
+ t.setAttribute("aria-hidden", "true"), t.setAttribute("tabindex", "-1");
13
+ }, m = (t, s) => {
14
+ let e = {
15
+ tag: t
16
+ // props: {},
17
+ };
18
+ const o = new CustomEvent("prism-component-connected", {
19
+ detail: e
20
+ });
21
+ document.dispatchEvent(o);
22
+ }, b = () => crypto.randomUUID();
23
+ function g(t, s) {
24
+ let e = "";
25
+ for (let o = 0; o < t.length; o++)
26
+ s.includes(t[o]) || (e += t[o]);
27
+ return e;
28
+ }
29
+ var n;
30
+ (function(t) {
31
+ t.xd = "https://assets.comcast.com/assets/common/xds_icons/svg/", t.illicons = "https://assets.comcast.com/assets/common/illicons/", t.business = "https://content.ecom.digital.business.comcast.com/images/icons/gds/", t.gds = "https://assets.comcast.com/assets/common/pulse/", t.partner = "https://assets.comcast.com/assets/common/third_party/";
32
+ })(n || (n = {}));
33
+ export {
34
+ c as a,
35
+ n as c,
36
+ u as d,
37
+ l as e,
38
+ b as g,
39
+ d as i,
40
+ m,
41
+ g as r,
42
+ r as s,
43
+ a as u
44
+ };
@@ -0,0 +1,12 @@
1
+ import { h as s } from "./index-D9BZSjMp.js";
2
+ /*!
3
+ * Copyright (c) 2025 Comcast. Prism UI - v8.28.0 - made with ❤️ in Philadelphia
4
+ */
5
+ const r = () => s(
6
+ "sup",
7
+ { class: "ml-0.5" },
8
+ s("prism-icon", { display: "fill", name: "asterisk", size: "xxs" })
9
+ );
10
+ export {
11
+ r as A
12
+ };