@seeqdev/qomponents 0.0.203 → 0.0.204
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.esm.js +27 -15
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +27 -15
- package/dist/index.js.map +1 -1
- package/dist/src/Modal/Modal.types.d.ts +4 -3
- package/dist/styles.css +34 -22
- package/package.json +1 -1
|
@@ -35,15 +35,16 @@ export interface ModalProps {
|
|
|
35
35
|
/**
|
|
36
36
|
* Main content of the modal body.
|
|
37
37
|
* This is where you place the primary content, forms, information, or interactive elements.
|
|
38
|
-
*
|
|
38
|
+
* Accepts any renderable React content: elements, strings, numbers, arrays, fragments, etc.
|
|
39
39
|
*/
|
|
40
|
-
children: React.
|
|
40
|
+
children: React.ReactNode;
|
|
41
41
|
/**
|
|
42
42
|
* Custom footer content that completely replaces the default button footer.
|
|
43
43
|
* When provided, all default buttons (submit, cancel, custom) are hidden.
|
|
44
44
|
* Use this when you need complete control over the footer layout and actions.
|
|
45
|
+
* Accepts any renderable React content: elements, strings, numbers, arrays, fragments, etc.
|
|
45
46
|
*/
|
|
46
|
-
modalFooter?: React.
|
|
47
|
+
modalFooter?: React.ReactNode;
|
|
47
48
|
/**
|
|
48
49
|
* Controls whether the modal is currently visible and open.
|
|
49
50
|
* When true, the modal is displayed with overlay. When false, the modal is hidden.
|
package/dist/styles.css
CHANGED
|
@@ -892,6 +892,9 @@
|
|
|
892
892
|
.tw\:bg-sq-field-disabled-gray {
|
|
893
893
|
background-color: #efefef;
|
|
894
894
|
}
|
|
895
|
+
.tw\:bg-sq-gray-highlight {
|
|
896
|
+
background-color: #f9f9f9;
|
|
897
|
+
}
|
|
895
898
|
.tw\:bg-sq-hover-gray {
|
|
896
899
|
background-color: var(--sq-hover-gray);
|
|
897
900
|
}
|
|
@@ -1156,9 +1159,9 @@
|
|
|
1156
1159
|
.tw\:not-italic {
|
|
1157
1160
|
font-style: normal;
|
|
1158
1161
|
}
|
|
1159
|
-
.tw\:placeholder-gray-400 {
|
|
1162
|
+
.tw\:placeholder-gray-400\! {
|
|
1160
1163
|
&::placeholder {
|
|
1161
|
-
color: var(--tw-color-gray-400);
|
|
1164
|
+
color: var(--tw-color-gray-400) !important;
|
|
1162
1165
|
}
|
|
1163
1166
|
}
|
|
1164
1167
|
.tw\:opacity-0 {
|
|
@@ -1511,15 +1514,6 @@
|
|
|
1511
1514
|
}
|
|
1512
1515
|
}
|
|
1513
1516
|
}
|
|
1514
|
-
.tw\:checked\:hover\:border-sq-theme-dark {
|
|
1515
|
-
&:checked {
|
|
1516
|
-
&:hover {
|
|
1517
|
-
@media (hover: hover) {
|
|
1518
|
-
border-color: var(--theme-dark);
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
1517
|
.tw\:focus\:z-30 {
|
|
1524
1518
|
&:focus {
|
|
1525
1519
|
z-index: 30;
|
|
@@ -1724,6 +1718,17 @@
|
|
|
1724
1718
|
}
|
|
1725
1719
|
}
|
|
1726
1720
|
}
|
|
1721
|
+
.tw\:checked\:enabled\:hover\:border-sq-theme-dark {
|
|
1722
|
+
&:checked {
|
|
1723
|
+
&:enabled {
|
|
1724
|
+
&:hover {
|
|
1725
|
+
@media (hover: hover) {
|
|
1726
|
+
border-color: var(--theme-dark);
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1727
1732
|
.tw\:disabled\:pointer-events-none {
|
|
1728
1733
|
&:disabled {
|
|
1729
1734
|
pointer-events: none;
|
|
@@ -1884,6 +1889,11 @@
|
|
|
1884
1889
|
background-color: #223249;
|
|
1885
1890
|
}
|
|
1886
1891
|
}
|
|
1892
|
+
.tw\:dark\:bg-sq-gray-highlight-dark {
|
|
1893
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
1894
|
+
background-color: #151b23;
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1887
1897
|
.tw\:dark\:bg-sq-multi-gray-dark {
|
|
1888
1898
|
&:where(.tw-dark, .tw-dark *) {
|
|
1889
1899
|
background-color: #262c36;
|
|
@@ -1974,10 +1984,10 @@
|
|
|
1974
1984
|
color: var(--sqw-white);
|
|
1975
1985
|
}
|
|
1976
1986
|
}
|
|
1977
|
-
.tw\:dark\:placeholder-sq-dark-text\/30 {
|
|
1987
|
+
.tw\:dark\:placeholder-sq-dark-text\/30\! {
|
|
1978
1988
|
&:where(.tw-dark, .tw-dark *) {
|
|
1979
1989
|
&::placeholder {
|
|
1980
|
-
color: color-mix(in oklab, #e6ecf2 30%, transparent);
|
|
1990
|
+
color: color-mix(in oklab, #e6ecf2 30%, transparent) !important;
|
|
1981
1991
|
}
|
|
1982
1992
|
}
|
|
1983
1993
|
}
|
|
@@ -2035,15 +2045,6 @@
|
|
|
2035
2045
|
}
|
|
2036
2046
|
}
|
|
2037
2047
|
}
|
|
2038
|
-
.tw\:dark\:hover\:bg-sq-dark-background {
|
|
2039
|
-
&:where(.tw-dark, .tw-dark *) {
|
|
2040
|
-
&:hover {
|
|
2041
|
-
@media (hover: hover) {
|
|
2042
|
-
background-color: #0d1117;
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
}
|
|
2047
2048
|
.tw\:dark\:hover\:bg-sq-field-disabled-gray\/30 {
|
|
2048
2049
|
&:where(.tw-dark, .tw-dark *) {
|
|
2049
2050
|
&:hover {
|
|
@@ -2256,6 +2257,17 @@
|
|
|
2256
2257
|
}
|
|
2257
2258
|
}
|
|
2258
2259
|
}
|
|
2260
|
+
.tw\:dark\:enabled\:hover\:bg-sq-dark-background {
|
|
2261
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
2262
|
+
&:enabled {
|
|
2263
|
+
&:hover {
|
|
2264
|
+
@media (hover: hover) {
|
|
2265
|
+
background-color: #0d1117;
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2259
2271
|
.tw\:dark\:disabled\:border-sq-fairly-dark-gray {
|
|
2260
2272
|
&:where(.tw-dark, .tw-dark *) {
|
|
2261
2273
|
&:disabled {
|