@dust-tt/sparkle 0.2.91-pr2 → 0.2.91
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/cjs/index.js +0 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -33569,11 +33569,6 @@ function Modal(_a) {
|
|
|
33569
33569
|
if (variant === "dialogue") {
|
|
33570
33570
|
console.warn("Dialogue variant of Modal is deprecated. Please use either another variant of Modal or the Dialog component.");
|
|
33571
33571
|
}
|
|
33572
|
-
// checks whether we are on mobile or desktop
|
|
33573
|
-
var isMobile = window.innerWidth < 640;
|
|
33574
|
-
if (isMobile) {
|
|
33575
|
-
variant = "full-screen";
|
|
33576
|
-
}
|
|
33577
33572
|
var buttonBarProps = hasChanged
|
|
33578
33573
|
? {
|
|
33579
33574
|
variant: "validate",
|