@shopify/shop-minis-react 0.0.5 → 0.0.6

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.
@@ -1,6 +1,5 @@
1
- import { __require as r } from "../node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/shim/index.js";
2
- var i = r();
1
+ var r = {};
3
2
  export {
4
- i as s
3
+ r as __exports
5
4
  };
6
5
  //# sourceMappingURL=index2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +1,6 @@
1
- var r = {};
1
+ import { __require as r } from "../node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/shim/index.js";
2
+ var i = r();
2
3
  export {
3
- r as __exports
4
+ i as s
4
5
  };
5
6
  //# sourceMappingURL=index3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,4 +1,4 @@
1
- import { s as r } from "../../../../../../../_virtual/index2.js";
1
+ import { s as r } from "../../../../../../../_virtual/index3.js";
2
2
  function s() {
3
3
  return r.useSyncExternalStore(
4
4
  e,
@@ -1,4 +1,4 @@
1
- import { __exports as i } from "../../../../../_virtual/index3.js";
1
+ import { __exports as i } from "../../../../../_virtual/index2.js";
2
2
  var c;
3
3
  function d() {
4
4
  if (c) return i;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shopify/shop-minis-react",
3
3
  "license": "SEE LICENSE IN LICENSE.txt",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "engines": {
package/src/index.css CHANGED
@@ -200,3 +200,18 @@
200
200
  @apply bg-background text-foreground;
201
201
  }
202
202
  }
203
+
204
+ /* Disable text selection */
205
+ body {
206
+ -webkit-user-select: none;
207
+ -moz-user-select: -moz-none;
208
+ -ms-user-select: none;
209
+ user-select: none;
210
+ }
211
+
212
+ /* Disable image drag */
213
+ img,
214
+ .no-drag {
215
+ -webkit-user-drag: none;
216
+ user-drag: none;
217
+ }