@goodhood-web/ui 3.0.0-development.26 → 3.0.0-development.28
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/index.js +1 -1
- package/index.mjs +10 -10
- package/lib/Molecules/Notices/EmptyState/EmptyState.types.d.ts +3 -3
- package/package.json +1 -1
- package/style.css +1 -1
package/index.mjs
CHANGED
|
@@ -24203,17 +24203,17 @@ const BL = "_root_rvdm7_120", OL = "_root__detailWrapper_rvdm7_127", $L = "_root
|
|
|
24203
24203
|
]
|
|
24204
24204
|
}
|
|
24205
24205
|
) });
|
|
24206
|
-
}, vP = "
|
|
24206
|
+
}, vP = "_emptyState_13rn5_120", CP = "_emptyState__text_13rn5_126", yP = "_emptyState__secondaryText_13rn5_131", wP = "_emptyState__buttons_13rn5_134", ia = {
|
|
24207
24207
|
emptyState: vP,
|
|
24208
24208
|
emptyState__text: CP,
|
|
24209
24209
|
emptyState__secondaryText: yP,
|
|
24210
24210
|
emptyState__buttons: wP,
|
|
24211
|
-
"emptyState--small": "_emptyState--
|
|
24212
|
-
"emptyState--small__text": "_emptyState--
|
|
24213
|
-
"emptyState--medium": "_emptyState--
|
|
24214
|
-
"emptyState--medium__text": "_emptyState--
|
|
24215
|
-
"emptyState--large": "_emptyState--
|
|
24216
|
-
"emptyState--large__text": "_emptyState--
|
|
24211
|
+
"emptyState--small": "_emptyState--small_13rn5_140",
|
|
24212
|
+
"emptyState--small__text": "_emptyState--small__text_13rn5_143",
|
|
24213
|
+
"emptyState--medium": "_emptyState--medium_13rn5_146",
|
|
24214
|
+
"emptyState--medium__text": "_emptyState--medium__text_13rn5_149",
|
|
24215
|
+
"emptyState--large": "_emptyState--large_13rn5_152",
|
|
24216
|
+
"emptyState--large__text": "_emptyState--large__text_13rn5_155"
|
|
24217
24217
|
}, bP = {
|
|
24218
24218
|
large: {
|
|
24219
24219
|
buttonSize: "large",
|
|
@@ -24242,11 +24242,11 @@ const BL = "_root_rvdm7_120", OL = "_root__detailWrapper_rvdm7_127", $L = "_root
|
|
|
24242
24242
|
const h = pe(ia.emptyState, ia[`emptyState--${a}`], e), { buttonSize: f, primaryTextType: p, secondaryTextType: v } = bP[a], y = t.map((b, S) => {
|
|
24243
24243
|
switch (b.buttonType) {
|
|
24244
24244
|
case "primary":
|
|
24245
|
-
return /* @__PURE__ */ R.jsx(Mk, { ...b, size: f }, S);
|
|
24245
|
+
return /* @__PURE__ */ R.jsx(Mk, { ...b, size: b.size || f }, S);
|
|
24246
24246
|
case "secondary":
|
|
24247
|
-
return /* @__PURE__ */ R.jsx(Th, { ...b, size: f }, S);
|
|
24247
|
+
return /* @__PURE__ */ R.jsx(Th, { ...b, size: b.size || f }, S);
|
|
24248
24248
|
case "tertiary":
|
|
24249
|
-
return /* @__PURE__ */ R.jsx(Rh, { ...b, size: f }, S);
|
|
24249
|
+
return /* @__PURE__ */ R.jsx(Rh, { ...b, size: b.size || f }, S);
|
|
24250
24250
|
case "text":
|
|
24251
24251
|
return /* @__PURE__ */ R.jsx(Ta, { ...b, size: f }, S);
|
|
24252
24252
|
}
|
|
@@ -7,13 +7,13 @@ import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.ty
|
|
|
7
7
|
type TextButton = Omit<TextButtonProps, 'size'> & {
|
|
8
8
|
buttonType: 'text';
|
|
9
9
|
};
|
|
10
|
-
type ButtonPrimary =
|
|
10
|
+
type ButtonPrimary = ButtonPrimaryProps & {
|
|
11
11
|
buttonType: 'primary';
|
|
12
12
|
};
|
|
13
|
-
type ButtonSecondary =
|
|
13
|
+
type ButtonSecondary = ButtonSecondaryProps & {
|
|
14
14
|
buttonType: 'secondary';
|
|
15
15
|
};
|
|
16
|
-
type ButtonTertiary =
|
|
16
|
+
type ButtonTertiary = ButtonTertiaryProps & {
|
|
17
17
|
buttonType: 'tertiary';
|
|
18
18
|
};
|
|
19
19
|
export type ButtonProps = TextButton | ButtonPrimary | ButtonSecondary | ButtonTertiary;
|