@hybr1d-tech/charizard 0.7.12 → 0.7.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/hybr1d-ui.js +12 -6
- package/dist/hybr1d-ui.umd.cjs +6 -6
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -9902,11 +9902,17 @@ const Bg = "_checkboxContainer_10wo0_1", Rg = "_hiddenCheckbox_10wo0_7", Fg = "_
|
|
|
9902
9902
|
icons: Pg
|
|
9903
9903
|
}, g2 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='01%20Alert/info'%3e%3cpath%20id='info-sign'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58%200%200%203.58%200%208C0%2012.42%203.58%2016%208%2016C12.42%2016%2016%2012.42%2016%208C16%203.58%2012.42%200%208%200ZM9%203V5H7V3H9ZM6%2012V13H10V12H9V6H6V7H7V12H6Z'%20fill='%23254DDA'/%3e%3c/g%3e%3c/svg%3e", zg = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='01%20Alert/success'%3e%3cpath%20id='tick-circle'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.42%203.58%2016%208%2016C12.42%2016%2016%2012.42%2016%208C16%203.58%2012.42%200%208%200C3.58%200%200%203.58%200%208ZM11.29%205.29C11.47%205.11%2011.72%205%2012%205C12.55%205%2013%205.45%2013%206C13%206.28%2012.89%206.53%2012.71%206.71L7.71%2011.71C7.53%2011.89%207.28%2012%207%2012C6.72%2012%206.47%2011.89%206.29%2011.71L3.29%208.71C3.11%208.53%203%208.28%203%208C3%207.45%203.45%207%204%207C4.28%207%204.53%207.11%204.71%207.29L7%209.59L11.29%205.29Z'%20fill='%2336B37E'/%3e%3c/g%3e%3c/svg%3e", Ro = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.657%2015.696a1.04%201.04%200%200%200%200-1.469l-6.923-6.923a1.04%201.04%200%200%200-1.468%200l-6.923%206.923a1.038%201.038%200%201%200%201.468%201.469L12%209.507l6.189%206.189a1.04%201.04%200%200%200%201.468%200'%20fill='%23070F2C'/%3e%3c/svg%3e";
|
|
9904
9904
|
var Og = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.NEUTRAL = "neutral", e.POSITIVE = "positive", e.WARNING = "warning", e.NEGATIVE = "negative", e.HIGHLIGHT = "highlight", e))(Og || {}), Wg = /* @__PURE__ */ ((e) => (e.CLOSE = "close", e.SHOW_MORE = "show-more", e))(Wg || {});
|
|
9905
|
-
function z9({
|
|
9906
|
-
|
|
9907
|
-
|
|
9908
|
-
|
|
9909
|
-
|
|
9905
|
+
function z9({
|
|
9906
|
+
alertType: e,
|
|
9907
|
+
actionType: t,
|
|
9908
|
+
header: a,
|
|
9909
|
+
body: o,
|
|
9910
|
+
hide: s,
|
|
9911
|
+
setHide: r,
|
|
9912
|
+
showMore: i,
|
|
9913
|
+
setShowMore: c
|
|
9914
|
+
}) {
|
|
9915
|
+
return !s && /* @__PURE__ */ n.jsxs(
|
|
9910
9916
|
"div",
|
|
9911
9917
|
{
|
|
9912
9918
|
className: me.alert,
|
|
@@ -9934,7 +9940,7 @@ function z9({ alertType: e, actionType: t, header: a, body: o }) {
|
|
|
9934
9940
|
{
|
|
9935
9941
|
className: me.icons,
|
|
9936
9942
|
onClick: () => {
|
|
9937
|
-
t === "close" ? r(!0) : c((l) => !l);
|
|
9943
|
+
t === "close" && r ? r(!0) : c && c((l) => !l);
|
|
9938
9944
|
},
|
|
9939
9945
|
children: /* @__PURE__ */ n.jsx(
|
|
9940
9946
|
V,
|