@react-spectrum/dropzone 3.0.1-nightly.4623 → 3.0.1

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.
@@ -46,7 +46,7 @@ function $f7b7e7956f17a6e7$var$DropZone(props, ref) {
46
46
  let domRef = (0, $7vttB$reactspectrumutils.useDOMRef)(ref);
47
47
  let messageId = (0, $7vttB$reactariautils.useId)();
48
48
  let headingId = (0, $7vttB$reactariautils.useId)();
49
- let stringFormatter = (0, $7vttB$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($338e657e2a59c652$exports))), "@react-spectrum/dropzone");
49
+ let stringFormatter = (0, $7vttB$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($338e657e2a59c652$exports))), '@react-spectrum/dropzone');
50
50
  let ariaLabelledby = isFilled ? `${headingId} ${messageId}` : headingId;
51
51
  return /*#__PURE__*/ (0, ($parcel$interopDefault($7vttB$react))).createElement((0, $7vttB$reactariacomponents.Provider), {
52
52
  values: [
@@ -61,22 +61,22 @@ function $f7b7e7956f17a6e7$var$DropZone(props, ref) {
61
61
  ...(0, $7vttB$reactariautils.mergeProps)($f7b7e7956f17a6e7$var$filterProps(otherProps)),
62
62
  ...styleProps,
63
63
  "aria-labelledby": ariaLabelledby,
64
- className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), "spectrum-Dropzone", styleProps.className, {
65
- "spectrum-Dropzone--filled": isFilled
64
+ className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), 'spectrum-Dropzone', styleProps.className, {
65
+ 'spectrum-Dropzone--filled': isFilled
66
66
  }),
67
67
  ref: domRef
68
68
  }, /*#__PURE__*/ (0, ($parcel$interopDefault($7vttB$react))).createElement((0, $7vttB$reactspectrumutils.SlotProvider), {
69
69
  slots: {
70
70
  illustration: {
71
- UNSAFE_className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), "spectrum-Dropzone-illustratedMessage")
71
+ UNSAFE_className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), 'spectrum-Dropzone-illustratedMessage')
72
72
  }
73
73
  }
74
74
  }, children), /*#__PURE__*/ (0, ($parcel$interopDefault($7vttB$react))).createElement("div", {
75
- className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), "spectrum-Dropzone-backdrop")
75
+ className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), 'spectrum-Dropzone-backdrop')
76
76
  }), /*#__PURE__*/ (0, ($parcel$interopDefault($7vttB$react))).createElement("div", {
77
77
  id: messageId,
78
- className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), "spectrum-Dropzone-banner", styleProps.className)
79
- }, replaceMessage ? replaceMessage : stringFormatter.format("replaceMessage"))));
78
+ className: (0, $7vttB$reactspectrumutils.classNames)((0, ($parcel$interopDefault($880edb5e40e39939$exports))), 'spectrum-Dropzone-banner', styleProps.className)
79
+ }, replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage'))));
80
80
  }
81
81
  /**
82
82
  * A drop zone is an area into which one or multiple objects can be dragged and dropped.
package/dist/DropZone.mjs CHANGED
@@ -40,7 +40,7 @@ function $37da9a3796695f28$var$DropZone(props, ref) {
40
40
  let domRef = (0, $fl6Ye$useDOMRef)(ref);
41
41
  let messageId = (0, $fl6Ye$useId)();
42
42
  let headingId = (0, $fl6Ye$useId)();
43
- let stringFormatter = (0, $fl6Ye$useLocalizedStringFormatter)((0, ($parcel$interopDefault($fl6Ye$intlStringsmodulejs))), "@react-spectrum/dropzone");
43
+ let stringFormatter = (0, $fl6Ye$useLocalizedStringFormatter)((0, ($parcel$interopDefault($fl6Ye$intlStringsmodulejs))), '@react-spectrum/dropzone');
44
44
  let ariaLabelledby = isFilled ? `${headingId} ${messageId}` : headingId;
45
45
  return /*#__PURE__*/ (0, $fl6Ye$react).createElement((0, $fl6Ye$Provider), {
46
46
  values: [
@@ -55,22 +55,22 @@ function $37da9a3796695f28$var$DropZone(props, ref) {
55
55
  ...(0, $fl6Ye$mergeProps)($37da9a3796695f28$var$filterProps(otherProps)),
56
56
  ...styleProps,
57
57
  "aria-labelledby": ariaLabelledby,
58
- className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone", styleProps.className, {
59
- "spectrum-Dropzone--filled": isFilled
58
+ className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone', styleProps.className, {
59
+ 'spectrum-Dropzone--filled': isFilled
60
60
  }),
61
61
  ref: domRef
62
62
  }, /*#__PURE__*/ (0, $fl6Ye$react).createElement((0, $fl6Ye$SlotProvider), {
63
63
  slots: {
64
64
  illustration: {
65
- UNSAFE_className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone-illustratedMessage")
65
+ UNSAFE_className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone-illustratedMessage')
66
66
  }
67
67
  }
68
68
  }, children), /*#__PURE__*/ (0, $fl6Ye$react).createElement("div", {
69
- className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone-backdrop")
69
+ className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone-backdrop')
70
70
  }), /*#__PURE__*/ (0, $fl6Ye$react).createElement("div", {
71
71
  id: messageId,
72
- className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone-banner", styleProps.className)
73
- }, replaceMessage ? replaceMessage : stringFormatter.format("replaceMessage"))));
72
+ className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone-banner', styleProps.className)
73
+ }, replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage'))));
74
74
  }
75
75
  /**
76
76
  * A drop zone is an area into which one or multiple objects can be dragged and dropped.
@@ -40,7 +40,7 @@ function $37da9a3796695f28$var$DropZone(props, ref) {
40
40
  let domRef = (0, $fl6Ye$useDOMRef)(ref);
41
41
  let messageId = (0, $fl6Ye$useId)();
42
42
  let headingId = (0, $fl6Ye$useId)();
43
- let stringFormatter = (0, $fl6Ye$useLocalizedStringFormatter)((0, ($parcel$interopDefault($fl6Ye$intlStringsmodulejs))), "@react-spectrum/dropzone");
43
+ let stringFormatter = (0, $fl6Ye$useLocalizedStringFormatter)((0, ($parcel$interopDefault($fl6Ye$intlStringsmodulejs))), '@react-spectrum/dropzone');
44
44
  let ariaLabelledby = isFilled ? `${headingId} ${messageId}` : headingId;
45
45
  return /*#__PURE__*/ (0, $fl6Ye$react).createElement((0, $fl6Ye$Provider), {
46
46
  values: [
@@ -55,22 +55,22 @@ function $37da9a3796695f28$var$DropZone(props, ref) {
55
55
  ...(0, $fl6Ye$mergeProps)($37da9a3796695f28$var$filterProps(otherProps)),
56
56
  ...styleProps,
57
57
  "aria-labelledby": ariaLabelledby,
58
- className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone", styleProps.className, {
59
- "spectrum-Dropzone--filled": isFilled
58
+ className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone', styleProps.className, {
59
+ 'spectrum-Dropzone--filled': isFilled
60
60
  }),
61
61
  ref: domRef
62
62
  }, /*#__PURE__*/ (0, $fl6Ye$react).createElement((0, $fl6Ye$SlotProvider), {
63
63
  slots: {
64
64
  illustration: {
65
- UNSAFE_className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone-illustratedMessage")
65
+ UNSAFE_className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone-illustratedMessage')
66
66
  }
67
67
  }
68
68
  }, children), /*#__PURE__*/ (0, $fl6Ye$react).createElement("div", {
69
- className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone-backdrop")
69
+ className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone-backdrop')
70
70
  }), /*#__PURE__*/ (0, $fl6Ye$react).createElement("div", {
71
71
  id: messageId,
72
- className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), "spectrum-Dropzone-banner", styleProps.className)
73
- }, replaceMessage ? replaceMessage : stringFormatter.format("replaceMessage"))));
72
+ className: (0, $fl6Ye$classNames)((0, ($parcel$interopDefault($fl6Ye$dropzone_vars_cssmodulejs))), 'spectrum-Dropzone-banner', styleProps.className)
73
+ }, replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage'))));
74
74
  }
75
75
  /**
76
76
  * A drop zone is an area into which one or multiple objects can be dragged and dropped.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/dropzone",
3
- "version": "3.0.1-nightly.4623+b294de874",
3
+ "version": "3.0.1",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,16 +36,16 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/i18n": "3.0.0-nightly.2911+b294de874",
40
- "@react-aria/utils": "3.0.0-nightly.2911+b294de874",
41
- "@react-spectrum/utils": "3.0.0-nightly.2911+b294de874",
42
- "@react-types/shared": "3.0.0-nightly.2911+b294de874",
39
+ "@react-aria/i18n": "^3.11.1",
40
+ "@react-aria/utils": "^3.24.1",
41
+ "@react-spectrum/utils": "^3.11.7",
42
+ "@react-types/shared": "^3.23.1",
43
43
  "@swc/helpers": "^0.5.0",
44
- "react-aria-components": "1.2.1-nightly.4623+b294de874"
44
+ "react-aria-components": "^1.2.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2911+b294de874",
48
- "@react-spectrum/test-utils-internal": "3.0.0-nightly.4623+b294de874"
47
+ "@adobe/spectrum-css-temp": "3.0.0-alpha.1",
48
+ "@react-spectrum/test-utils-internal": "3.0.0-alpha.1"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@react-spectrum/provider": "^3.0.0",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "b294de874c16fad64bc4b930ccee1c9ffeb1c20f"
57
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
58
58
  }