@charlesgomes/leafcode-shared-lib-react 1.0.73 → 1.0.75
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.js +2 -4
- package/dist/index.mjs +2 -4
- package/dist/styles/button.css +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -165,8 +165,8 @@ function Button({
|
|
|
165
165
|
"--button-primary-hover-bg": theme.components.button.colors.primaryHoverBg,
|
|
166
166
|
"--button-secondary-bg": theme.components.button.colors.secondaryBg,
|
|
167
167
|
"--button-secondary-hover-bg": theme.components.button.colors.secondaryHoverBg,
|
|
168
|
-
"--button-disabled-bg": theme.components.button.colors.disabledBg,
|
|
169
|
-
"--button-disabled-border": theme.components.button.colors.disabledBorder,
|
|
168
|
+
"--button-disabled-bg-color": theme.components.button.colors.disabledBg,
|
|
169
|
+
"--button-disabled-border-color": theme.components.button.colors.disabledBorder,
|
|
170
170
|
"--button-height": theme.components.button.sizes.height,
|
|
171
171
|
"--button-min-width": theme.components.button.sizes.minWidth,
|
|
172
172
|
"--button-border-radius": theme.components.button.sizes.radius
|
|
@@ -770,7 +770,6 @@ var InputBase3 = ({
|
|
|
770
770
|
(0, import_react12.useEffect)(() => {
|
|
771
771
|
const debounced = import_lodash2.default.debounce(() => {
|
|
772
772
|
setPageNumber(1);
|
|
773
|
-
setItems([]);
|
|
774
773
|
setSearch(value ?? "");
|
|
775
774
|
}, 600);
|
|
776
775
|
debounced();
|
|
@@ -848,7 +847,6 @@ var InputBase3 = ({
|
|
|
848
847
|
{
|
|
849
848
|
type: "button",
|
|
850
849
|
onClick: () => {
|
|
851
|
-
setItems([]);
|
|
852
850
|
setPageNumber(1);
|
|
853
851
|
onChange?.("");
|
|
854
852
|
onSelect(null);
|
package/dist/index.mjs
CHANGED
|
@@ -103,8 +103,8 @@ function Button({
|
|
|
103
103
|
"--button-primary-hover-bg": theme.components.button.colors.primaryHoverBg,
|
|
104
104
|
"--button-secondary-bg": theme.components.button.colors.secondaryBg,
|
|
105
105
|
"--button-secondary-hover-bg": theme.components.button.colors.secondaryHoverBg,
|
|
106
|
-
"--button-disabled-bg": theme.components.button.colors.disabledBg,
|
|
107
|
-
"--button-disabled-border": theme.components.button.colors.disabledBorder,
|
|
106
|
+
"--button-disabled-bg-color": theme.components.button.colors.disabledBg,
|
|
107
|
+
"--button-disabled-border-color": theme.components.button.colors.disabledBorder,
|
|
108
108
|
"--button-height": theme.components.button.sizes.height,
|
|
109
109
|
"--button-min-width": theme.components.button.sizes.minWidth,
|
|
110
110
|
"--button-border-radius": theme.components.button.sizes.radius
|
|
@@ -720,7 +720,6 @@ var InputBase3 = ({
|
|
|
720
720
|
useEffect4(() => {
|
|
721
721
|
const debounced = _.debounce(() => {
|
|
722
722
|
setPageNumber(1);
|
|
723
|
-
setItems([]);
|
|
724
723
|
setSearch(value ?? "");
|
|
725
724
|
}, 600);
|
|
726
725
|
debounced();
|
|
@@ -798,7 +797,6 @@ var InputBase3 = ({
|
|
|
798
797
|
{
|
|
799
798
|
type: "button",
|
|
800
799
|
onClick: () => {
|
|
801
|
-
setItems([]);
|
|
802
800
|
setPageNumber(1);
|
|
803
801
|
onChange?.("");
|
|
804
802
|
onSelect(null);
|
package/dist/styles/button.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
font-weight: var(--button-font-weight, 600);
|
|
13
13
|
color: var(--button-color, #ffffff);
|
|
14
14
|
transition: all 300ms ease-in-out;
|
|
15
|
-
background-color: var(--button-primary-bg
|
|
15
|
+
background-color: var(--button-primary-bg, #175dbf);
|
|
16
16
|
border-radius: var(--button-border-radius, 0.375rem);
|
|
17
17
|
padding-left: 1.5rem;
|
|
18
18
|
padding-right: 1.5rem;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.button-primary:hover {
|
|
26
|
-
background-color: var(--button-primary-hover-bg
|
|
26
|
+
background-color: var(--button-primary-hover-bg, #70a3ff);
|
|
27
27
|
color: var(--button-color, #ffffff);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
font-weight: var(--button-font-weight, 600);
|
|
35
35
|
color: var(--button-color, #ffffff);
|
|
36
36
|
transition: all 300ms ease-in-out;
|
|
37
|
-
background-color: var(--button-
|
|
37
|
+
background-color: var(--button-secondary-bg, #bf1717);
|
|
38
38
|
border-radius: var(--button-border-radius, 0.375rem);
|
|
39
39
|
padding-left: 1.5rem;
|
|
40
40
|
padding-right: 1.5rem;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.button-secundary:hover {
|
|
48
|
-
background-color: var(--button-
|
|
48
|
+
background-color: var(--button-secondary-hover-bg, #f35353);
|
|
49
49
|
color: var(--button-color, #ffffff);
|
|
50
50
|
}
|
|
51
51
|
|