@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/cjs/index.js
CHANGED
|
@@ -33589,11 +33589,6 @@ function Modal(_a) {
|
|
|
33589
33589
|
if (variant === "dialogue") {
|
|
33590
33590
|
console.warn("Dialogue variant of Modal is deprecated. Please use either another variant of Modal or the Dialog component.");
|
|
33591
33591
|
}
|
|
33592
|
-
// checks whether we are on mobile or desktop
|
|
33593
|
-
var isMobile = window.innerWidth < 640;
|
|
33594
|
-
if (isMobile) {
|
|
33595
|
-
variant = "full-screen";
|
|
33596
|
-
}
|
|
33597
33592
|
var buttonBarProps = hasChanged
|
|
33598
33593
|
? {
|
|
33599
33594
|
variant: "validate",
|