@gobolt/genesis 0.4.20 → 0.4.21
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/index.cjs
CHANGED
|
@@ -60537,6 +60537,7 @@ const Badge$2 = styled.div`
|
|
|
60537
60537
|
${({
|
|
60538
60538
|
theme,
|
|
60539
60539
|
state,
|
|
60540
|
+
$state,
|
|
60540
60541
|
label,
|
|
60541
60542
|
disabled: disabled2,
|
|
60542
60543
|
$backgroundColor,
|
|
@@ -60544,7 +60545,7 @@ const Badge$2 = styled.div`
|
|
|
60544
60545
|
}) => {
|
|
60545
60546
|
return getGenesisClass$c(
|
|
60546
60547
|
theme,
|
|
60547
|
-
state || "info",
|
|
60548
|
+
$state || state || "info",
|
|
60548
60549
|
label,
|
|
60549
60550
|
disabled2,
|
|
60550
60551
|
$backgroundColor,
|
|
@@ -60863,7 +60864,7 @@ const Badge$1 = ({
|
|
|
60863
60864
|
{
|
|
60864
60865
|
label,
|
|
60865
60866
|
role: "badge",
|
|
60866
|
-
state,
|
|
60867
|
+
$state: state,
|
|
60867
60868
|
disabled: isDisabled,
|
|
60868
60869
|
style: {
|
|
60869
60870
|
padding: "4px 4px"
|
|
@@ -60896,7 +60897,7 @@ const Badge$1 = ({
|
|
|
60896
60897
|
label,
|
|
60897
60898
|
role,
|
|
60898
60899
|
onClick,
|
|
60899
|
-
state,
|
|
60900
|
+
$state: state,
|
|
60900
60901
|
disabled: isDisabled,
|
|
60901
60902
|
style: { cursor: role === "button" ? "pointer" : "default" },
|
|
60902
60903
|
$backgroundColor: backgroundColor || void 0,
|
package/dist/index.js
CHANGED
|
@@ -60519,6 +60519,7 @@ const Badge$2 = styled.div`
|
|
|
60519
60519
|
${({
|
|
60520
60520
|
theme,
|
|
60521
60521
|
state,
|
|
60522
|
+
$state,
|
|
60522
60523
|
label,
|
|
60523
60524
|
disabled: disabled2,
|
|
60524
60525
|
$backgroundColor,
|
|
@@ -60526,7 +60527,7 @@ const Badge$2 = styled.div`
|
|
|
60526
60527
|
}) => {
|
|
60527
60528
|
return getGenesisClass$c(
|
|
60528
60529
|
theme,
|
|
60529
|
-
state || "info",
|
|
60530
|
+
$state || state || "info",
|
|
60530
60531
|
label,
|
|
60531
60532
|
disabled2,
|
|
60532
60533
|
$backgroundColor,
|
|
@@ -60845,7 +60846,7 @@ const Badge$1 = ({
|
|
|
60845
60846
|
{
|
|
60846
60847
|
label,
|
|
60847
60848
|
role: "badge",
|
|
60848
|
-
state,
|
|
60849
|
+
$state: state,
|
|
60849
60850
|
disabled: isDisabled,
|
|
60850
60851
|
style: {
|
|
60851
60852
|
padding: "4px 4px"
|
|
@@ -60878,7 +60879,7 @@ const Badge$1 = ({
|
|
|
60878
60879
|
label,
|
|
60879
60880
|
role,
|
|
60880
60881
|
onClick,
|
|
60881
|
-
state,
|
|
60882
|
+
$state: state,
|
|
60882
60883
|
disabled: isDisabled,
|
|
60883
60884
|
style: { cursor: role === "button" ? "pointer" : "default" },
|
|
60884
60885
|
$backgroundColor: backgroundColor || void 0,
|