@ed.yakovich/component-library 0.0.12 → 0.0.13
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/components/InfoBanner/index.js +4 -23
- package/dist/index-0d8e0844-BJzWsYCM.js +7403 -0
- package/dist/index-By9FNwDt.js +29159 -0
- package/dist/index-b30029d4-WVn-64c9.js +12 -0
- package/dist/index-e6818ded-r_t6ryaW.js +57 -0
- package/dist/index.esm-322571ff-D1REhsOg.js +41 -0
- package/dist/main.js +1 -1
- package/dist/prism-accordion.entry-Cx9R3pGR.js +51 -0
- package/dist/prism-avatar_2.entry-BYgG-lCw.js +68 -0
- package/dist/prism-badge.entry-7tkOjkOC.js +58 -0
- package/dist/prism-banner.entry-jfMhWTJ-.js +82 -0
- package/dist/prism-breadcrumb.entry-6BKiTFvg.js +33 -0
- package/dist/prism-button_2.entry-DnnPRWBp.js +110 -0
- package/dist/prism-card.entry-CkJQnJF8.js +119 -0
- package/dist/prism-carousel.entry-CjyHpSoz.js +3111 -0
- package/dist/prism-checkbox-group.entry-h68bFMNT.js +62 -0
- package/dist/prism-checkbox.entry-BnqA0ld6.js +99 -0
- package/dist/prism-data-table.entry-CRJbrNmp.js +10475 -0
- package/dist/prism-datepicker.entry-Xu0QUY2Q.js +249 -0
- package/dist/prism-form.entry-BJl2ma6x.js +42 -0
- package/dist/prism-grid.entry-DIdkZa73.js +28 -0
- package/dist/prism-header.entry-BZVXHBCx.js +202 -0
- package/dist/prism-hero.entry-D6vT9Cfs.js +23 -0
- package/dist/prism-icon_2.entry-u0DT931p.js +118 -0
- package/dist/prism-image.entry-Db2L08jh.js +38 -0
- package/dist/prism-input-file.entry-NMZff8Re.js +119 -0
- package/dist/prism-input-otp.entry-qFelMElv.js +63 -0
- package/dist/prism-input-text.entry-YbQ3NQuB.js +228 -0
- package/dist/prism-input-textarea.entry-Bz7ecyna.js +140 -0
- package/dist/prism-layout.entry-DVLlE1S8.js +20 -0
- package/dist/prism-lineitem.entry-BOUyDMlc.js +44 -0
- package/dist/prism-menu.entry-TqJabKKs.js +231 -0
- package/dist/prism-modal.entry-CiIsey_Y.js +94 -0
- package/dist/prism-pagination.entry-BZOMunz-.js +60 -0
- package/dist/prism-popover.entry-Bt1uXSV9.js +1013 -0
- package/dist/prism-popper.entry-Ck2qBmqM.js +959 -0
- package/dist/prism-progress.entry-DobqcGx4.js +79 -0
- package/dist/prism-radio-group.entry-DTVEUN2r.js +66 -0
- package/dist/prism-radio.entry-D0dGSQn2.js +101 -0
- package/dist/prism-select.entry-CRYklxK0.js +230 -0
- package/dist/prism-switch.entry-CINfgY_6.js +95 -0
- package/dist/prism-tab.entry-dV7AljQC.js +20 -0
- package/dist/prism-tabs.entry-DPc_2ypT.js +70 -0
- package/dist/prism-tooltip.entry-DZJ2tfFV.js +52 -0
- package/dist/prism-typeahead.entry-DDkmHo72.js +1234 -0
- package/package.json +3 -2
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
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-By9FNwDt.js";
|
|
3
|
+
import "./context/index.js";
|
|
23
4
|
export {
|
|
24
|
-
|
|
5
|
+
p as InfoBanner
|
|
25
6
|
};
|