dhre-ui-kit 0.0.287 → 0.0.289
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 -1
- 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
|
|
|
@@ -661,7 +676,8 @@ const BottomDrawer = ({
|
|
|
661
676
|
showSeparator = true,
|
|
662
677
|
showBlurView = true,
|
|
663
678
|
backdropColor,
|
|
664
|
-
backdropOpacity = 0.9
|
|
679
|
+
backdropOpacity = 0.9,
|
|
680
|
+
propagateSwipe = true
|
|
665
681
|
}) => {
|
|
666
682
|
return /* @__PURE__ */ React.createElement(
|
|
667
683
|
Modal,
|
|
@@ -672,6 +688,7 @@ const BottomDrawer = ({
|
|
|
672
688
|
backdropColor: backdropColor ?? theme.SURFACE_PRIMARY.light,
|
|
673
689
|
hasBackdrop: showBlurView,
|
|
674
690
|
backdropOpacity,
|
|
691
|
+
propagateSwipe,
|
|
675
692
|
style: { margin: 0 }
|
|
676
693
|
},
|
|
677
694
|
/* @__PURE__ */ React.createElement(
|