@map2usdnbhd/md_components 1.0.41 → 1.0.43

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.
@@ -1,6 +1,6 @@
1
1
  import { I as n } from "./index-BcyZRf8d.js";
2
2
  import { I as e } from "./index-CPmyzV1b.js";
3
- import { p as r, I as s } from "./index-BvVY7ajU.js";
3
+ import { p as r, I as s } from "./index-Bg1-HwzZ.js";
4
4
  function I(o, t) {
5
5
  var a = r(o);
6
6
  return t === s.STANDARD ? n[a] : e[a];
@@ -1,4 +1,4 @@
1
- import { _ as n, a as o } from "./index-BvVY7ajU.js";
1
+ import { _ as n, a as o } from "./index-Bg1-HwzZ.js";
2
2
  var s = function(a, e) {
3
3
  return n(void 0, void 0, void 0, function() {
4
4
  var t;
@@ -7,7 +7,7 @@ var s = function(a, e) {
7
7
  case 0:
8
8
  return [4, import(
9
9
  /* webpackChunkName: "blueprint-icons-all-paths" */
10
- "./allPaths-CeppTG-g.js"
10
+ "./allPaths-DSlojWyX.js"
11
11
  )];
12
12
  case 1:
13
13
  return t = r.sent().getIconPaths, [2, t(a, e)];
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { Badge1Interface } from './Badge1Interface';
3
+ export declare const Badge1: FC<Badge1Interface>;
@@ -0,0 +1,3 @@
1
+ export interface Badge1Interface {
2
+ name: string;
3
+ }
@@ -8,5 +8,6 @@ export interface DynamicModalInterface {
8
8
  hideIcon?: boolean;
9
9
  title: string;
10
10
  label: string;
11
+ width: any;
11
12
  buttonContent: React.ReactElement;
12
13
  }
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { MdStaticToastIconInter } from '..';
2
+ import { MdStaticToastIconInter } from './mdStaticToastIconInterface';
3
3
  export declare const MdStaticToastIcon: FC<MdStaticToastIconInter>;
@@ -2979,9 +2979,10 @@ const ft = /* @__PURE__ */ i5(O5), i9 = ({
2979
2979
  text: t,
2980
2980
  variant: n,
2981
2981
  outline: o,
2982
- type: a
2982
+ type: a,
2983
+ ...i
2983
2984
  }) => {
2984
- const i = {
2985
+ const l = {
2985
2986
  success: {
2986
2987
  success: "bg-green-500 hover:bg-green-700 text-white font-bold"
2987
2988
  },
@@ -2996,7 +2997,7 @@ const ft = /* @__PURE__ */ i5(O5), i9 = ({
2996
2997
  light: {
2997
2998
  light: "bg-gray-800 hover:bg-gray-400 text-white font-bold"
2998
2999
  }
2999
- }, l = {
3000
+ }, s = {
3000
3001
  primary: {
3001
3002
  primary: `bg-transparent hover:bg-blue-500
3002
3003
  text-blue-700
@@ -3033,16 +3034,17 @@ const ft = /* @__PURE__ */ i5(O5), i9 = ({
3033
3034
  border-yellow-500
3034
3035
  hover:border-transparent `
3035
3036
  }
3036
- }, s = i[n] || {}, u = l[o] || {}, c = ft(...Object.values(s)), g = ft(...Object.values(u));
3037
+ }, u = l[n] || {}, c = s[o] || {}, g = ft(...Object.values(u)), m = ft(...Object.values(c));
3037
3038
  return /* @__PURE__ */ T.jsx(
3038
3039
  "button",
3039
3040
  {
3040
3041
  type: a,
3041
3042
  className: `
3042
- ${r ? g : c}
3043
+ ${r ? m : g}
3043
3044
  py-2 px-4
3044
3045
  ${e ? "rounded-full" : "rounded"}`,
3045
3046
  style: { fontWeight: "normal" },
3047
+ ...i,
3046
3048
  children: t
3047
3049
  }
3048
3050
  );
@@ -26699,14 +26701,14 @@ function aj(e) {
26699
26701
  case 1:
26700
26702
  return t !== "all" ? [3, 3] : [4, import(
26701
26703
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
26702
- "./allPathsLoader-DSxarq7s.js"
26704
+ "./allPathsLoader-BpD2jIKz.js"
26703
26705
  )];
26704
26706
  case 2:
26705
26707
  return [2, n.sent().allPathsLoader];
26706
26708
  case 3:
26707
26709
  return [4, import(
26708
26710
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
26709
- "./splitPathsBySizeLoader-CNtI7aqy.js"
26711
+ "./splitPathsBySizeLoader-rqzm7Roz.js"
26710
26712
  )];
26711
26713
  case 4:
26712
26714
  return [2, n.sent().splitPathsBySizeLoader];
@@ -34601,24 +34603,27 @@ const F9 = ({
34601
34603
  hideIcon: a,
34602
34604
  children: i,
34603
34605
  buttonContent: l,
34604
- ...s
34606
+ width: s,
34607
+ ...u
34605
34608
  }) => {
34606
- const [u, c] = pe(!1), g = () => {
34607
- c(!0);
34608
- }, m = () => {
34609
- c(!1);
34609
+ const [c, g] = pe(!1), [m, y] = pe("w-96"), w = () => {
34610
+ g(!0);
34611
+ }, h = () => {
34612
+ g(!1);
34610
34613
  };
34611
- return /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
34612
- le.cloneElement(l, { onClick: g, ...s }),
34613
- u && /* @__PURE__ */ T.jsxs("div", { className: "fixed inset-0 z-50 overflow-auto flex items-center justify-center", children: [
34614
+ return He(() => {
34615
+ y(s === "small" ? "min-w-[30%]" : s === "medium" ? "min-w-[50%]" : s === "large" ? "min-w-[70%]" : "min-w-[90%]");
34616
+ }, [s]), /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
34617
+ le.cloneElement(l, { onClick: w, ...u }),
34618
+ c && /* @__PURE__ */ T.jsxs("div", { className: "fixed inset-0 z-50 overflow-auto flex items-center justify-center", children: [
34614
34619
  /* @__PURE__ */ T.jsx(
34615
34620
  "div",
34616
34621
  {
34617
34622
  className: "absolute inset-0 bg-black bg-opacity-30",
34618
- onClick: m
34623
+ onClick: h
34619
34624
  }
34620
34625
  ),
34621
- /* @__PURE__ */ T.jsxs("div", { className: "relative p-4 w-full max-w-md rounded-lg shadow dark:bg-gray-700", style: { backgroundColor: t, opacity: o }, children: [
34626
+ /* @__PURE__ */ T.jsxs("div", { className: `relative p-4 ${m} max-w-[90%] max-h-[90%] rounded-lg shadow dark:bg-gray-700`, style: { backgroundColor: t, opacity: o }, children: [
34622
34627
  /* @__PURE__ */ T.jsxs("div", { className: "flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600", style: { display: a ? "none" : "" }, children: [
34623
34628
  /* @__PURE__ */ T.jsx("h3", { className: "text-lg font-semibold dark:text-gray-300", children: e }),
34624
34629
  /* @__PURE__ */ T.jsx(
@@ -34626,9 +34631,9 @@ const F9 = ({
34626
34631
  {
34627
34632
  type: "button",
34628
34633
  className: "end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white",
34629
- onClick: m,
34630
- ...s,
34631
- children: /* @__PURE__ */ T.jsx(pf, { className: "w-6 h-6 text-gray-500", ...s })
34634
+ onClick: h,
34635
+ ...u,
34636
+ children: /* @__PURE__ */ T.jsx(pf, { className: "w-6 h-6 text-gray-500", ...u })
34632
34637
  }
34633
34638
  )
34634
34639
  ] }),
@@ -1,4 +1,4 @@
1
- import { a0 as s, am as i, a9 as e, aa as c, at as o, av as M, aw as S, aA as r, az as l, ay as n, au as u, aq as T, ap as g, N as p, J as F, L as C, H as f, K as m, a3 as B, ag as D, ak as w, ah as I, ai as P, al as b, aj as x, O as h, a5 as y, c as G, ae as k, k as v, j as E, af as H, P as L, Q as N, d as A, b as R, t as Q, R as W, S as j, ar as q, ad as z, T as O, ao as U, ab as V, ac as J, as as K, Z as X, $ as Y, a8 as Z, a1 as $, U as _, e as aa, q as ta, M as da, aB as sa, aC as ia, aD as ea, ax as ca, a2 as oa, i as Ma, V as Sa, an as ra, l as la, a7 as na, o as ua, g as Ta, s as ga, f as pa, u as Fa, n as Ca, v as fa, w as ma, x as Ba, y as Da, z as wa, A as Ia, B as Pa, m as ba, h as xa, X as ha, C as ya, F as Ga, G as ka, D as va, E as Ea, Y as Ha, a4 as La, a6 as Na, r as Aa, W as Ra } from "./index-BvVY7ajU.js";
1
+ import { a0 as s, am as i, a9 as e, aa as c, at as o, av as M, aw as S, aA as r, az as l, ay as n, au as u, aq as T, ap as g, N as p, J as F, L as C, H as f, K as m, a3 as B, ag as D, ak as w, ah as I, ai as P, al as b, aj as x, O as h, a5 as y, c as G, ae as k, k as v, j as E, af as H, P as L, Q as N, d as A, b as R, t as Q, R as W, S as j, ar as q, ad as z, T as O, ao as U, ab as V, ac as J, as as K, Z as X, $ as Y, a8 as Z, a1 as $, U as _, e as aa, q as ta, M as da, aB as sa, aC as ia, aD as ea, ax as ca, a2 as oa, i as Ma, V as Sa, an as ra, l as la, a7 as na, o as ua, g as Ta, s as ga, f as pa, u as Fa, n as Ca, v as fa, w as ma, x as Ba, y as Da, z as wa, A as Ia, B as Pa, m as ba, h as xa, X as ha, C as ya, F as Ga, G as ka, D as va, E as Ea, Y as Ha, a4 as La, a6 as Na, r as Aa, W as Ra } from "./index-Bg1-HwzZ.js";
2
2
  import "react";
3
3
  export {
4
4
  s as DynamicModal,