dhre-ui-kit 0.0.286 → 0.0.288
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/lib/index.d.ts +17 -2
- package/lib/index.js +18 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +18 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -112,6 +112,9 @@ var Theme = /* @__PURE__ */ ((Theme2) => {
|
|
|
112
112
|
Theme2["INFO"] = "INFO";
|
|
113
113
|
Theme2["ERROR"] = "ERROR";
|
|
114
114
|
Theme2["TRANSPARENT_INVERTED"] = "TRANSPARENT_INVERTED";
|
|
115
|
+
Theme2["SYSTEM_BLUE"] = "SYSTEM_BLUE";
|
|
116
|
+
Theme2["SYSTEM_BACKGROUND"] = "SYSTEM_BACKGROUND";
|
|
117
|
+
Theme2["LIGHT_GRAY"] = "LIGHT_GRAY";
|
|
115
118
|
return Theme2;
|
|
116
119
|
})(Theme || {});
|
|
117
120
|
|
|
@@ -247,6 +250,18 @@ const theme = {
|
|
|
247
250
|
[Theme.TRANSPARENT_INVERTED]: {
|
|
248
251
|
light: "#68686833",
|
|
249
252
|
dark: "#FFFFFF33"
|
|
253
|
+
},
|
|
254
|
+
[Theme.SYSTEM_BLUE]: {
|
|
255
|
+
light: "#0A84FF",
|
|
256
|
+
dark: "#0A84FF"
|
|
257
|
+
},
|
|
258
|
+
[Theme.SYSTEM_BACKGROUND]: {
|
|
259
|
+
light: "#1C1C1E",
|
|
260
|
+
dark: "#1C1C1E"
|
|
261
|
+
},
|
|
262
|
+
[Theme.LIGHT_GRAY]: {
|
|
263
|
+
light: "#C2C2C2",
|
|
264
|
+
dark: "#C2C2C2"
|
|
250
265
|
}
|
|
251
266
|
};
|
|
252
267
|
|
|
@@ -660,7 +675,8 @@ const BottomDrawer = ({
|
|
|
660
675
|
showHeader = true,
|
|
661
676
|
showSeparator = true,
|
|
662
677
|
showBlurView = true,
|
|
663
|
-
backdropColor
|
|
678
|
+
backdropColor,
|
|
679
|
+
backdropOpacity = 0.9
|
|
664
680
|
}) => {
|
|
665
681
|
return /* @__PURE__ */ React.createElement(
|
|
666
682
|
Modal,
|
|
@@ -670,6 +686,7 @@ const BottomDrawer = ({
|
|
|
670
686
|
onSwipeComplete: toggleModal,
|
|
671
687
|
backdropColor: backdropColor ?? theme.SURFACE_PRIMARY.light,
|
|
672
688
|
hasBackdrop: showBlurView,
|
|
689
|
+
backdropOpacity,
|
|
673
690
|
style: { margin: 0 }
|
|
674
691
|
},
|
|
675
692
|
/* @__PURE__ */ React.createElement(
|