@react-spectrum/text 3.1.4-nightly.3100 → 3.1.5

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/main.js CHANGED
@@ -1,6 +1,6 @@
1
- var $fi7L4$reactariautils = require("@react-aria/utils");
2
- var $fi7L4$react = require("react");
3
- var $fi7L4$reactspectrumutils = require("@react-spectrum/utils");
1
+ var $cn8pf$reactariautils = require("@react-aria/utils");
2
+ var $cn8pf$react = require("react");
3
+ var $cn8pf$reactspectrumutils = require("@react-spectrum/utils");
4
4
 
5
5
  function $parcel$exportWildcard(dest, source) {
6
6
  Object.keys(source).forEach(function(key) {
@@ -24,64 +24,64 @@ function $parcel$interopDefault(a) {
24
24
  function $parcel$export(e, n, v, s) {
25
25
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
26
26
  }
27
- var $d594f5e923194e34$exports = {};
27
+ var $acd02dd1a8b16753$exports = {};
28
28
 
29
- $parcel$export($d594f5e923194e34$exports, "Text", () => $d594f5e923194e34$export$5f1af8db9871e1d6);
29
+ $parcel$export($acd02dd1a8b16753$exports, "Text", () => $acd02dd1a8b16753$export$5f1af8db9871e1d6);
30
30
 
31
31
 
32
32
 
33
- function $d594f5e923194e34$var$Text(props, ref) {
34
- props = $fi7L4$reactspectrumutils.useSlotProps(props, 'text');
33
+ function $acd02dd1a8b16753$var$Text(props, ref) {
34
+ props = $cn8pf$reactspectrumutils.useSlotProps(props, 'text');
35
35
  let { children: children , ...otherProps } = props;
36
- let { styleProps: styleProps } = $fi7L4$reactspectrumutils.useStyleProps(otherProps);
37
- let domRef = $fi7L4$reactspectrumutils.useDOMRef(ref);
38
- return(/*#__PURE__*/ ($parcel$interopDefault($fi7L4$react)).createElement("span", {
39
- ...$fi7L4$reactariautils.filterDOMProps(otherProps),
36
+ let { styleProps: styleProps } = $cn8pf$reactspectrumutils.useStyleProps(otherProps);
37
+ let domRef = $cn8pf$reactspectrumutils.useDOMRef(ref);
38
+ return(/*#__PURE__*/ ($parcel$interopDefault($cn8pf$react)).createElement("span", {
39
+ ...$cn8pf$reactariautils.filterDOMProps(otherProps),
40
40
  ...styleProps,
41
41
  ref: domRef
42
42
  }, children));
43
43
  }
44
44
  /**
45
45
  * Text represents text with no specific semantic meaning.
46
- */ const $d594f5e923194e34$export$5f1af8db9871e1d6 = /*#__PURE__*/ $fi7L4$react.forwardRef($d594f5e923194e34$var$Text);
46
+ */ const $acd02dd1a8b16753$export$5f1af8db9871e1d6 = /*#__PURE__*/ $cn8pf$react.forwardRef($acd02dd1a8b16753$var$Text);
47
47
 
48
48
 
49
- var $18b8007106e307cd$exports = {};
49
+ var $ba9bdabb573cb821$exports = {};
50
50
 
51
- $parcel$export($18b8007106e307cd$exports, "Heading", () => $18b8007106e307cd$export$a8a3e93435678ff9);
51
+ $parcel$export($ba9bdabb573cb821$exports, "Heading", () => $ba9bdabb573cb821$export$a8a3e93435678ff9);
52
52
 
53
53
 
54
54
 
55
- function $18b8007106e307cd$var$Heading(props, ref) {
56
- props = $fi7L4$reactspectrumutils.useSlotProps(props, 'heading');
55
+ function $ba9bdabb573cb821$var$Heading(props, ref) {
56
+ props = $cn8pf$reactspectrumutils.useSlotProps(props, 'heading');
57
57
  let { children: children , level: level = 3 , ...otherProps } = props;
58
- let { styleProps: styleProps } = $fi7L4$reactspectrumutils.useStyleProps(otherProps);
59
- let domRef = $fi7L4$reactspectrumutils.useDOMRef(ref);
58
+ let { styleProps: styleProps } = $cn8pf$reactspectrumutils.useStyleProps(otherProps);
59
+ let domRef = $cn8pf$reactspectrumutils.useDOMRef(ref);
60
60
  let HeadingTag = `h${level}`;
61
- return(/*#__PURE__*/ ($parcel$interopDefault($fi7L4$react)).createElement(HeadingTag, {
62
- ...$fi7L4$reactariautils.filterDOMProps(otherProps),
61
+ return(/*#__PURE__*/ ($parcel$interopDefault($cn8pf$react)).createElement(HeadingTag, {
62
+ ...$cn8pf$reactariautils.filterDOMProps(otherProps),
63
63
  ...styleProps,
64
64
  ref: domRef
65
65
  }, children));
66
66
  }
67
67
  /**
68
68
  * Heading is used to create various levels of typographic hierarchies.
69
- */ const $18b8007106e307cd$export$a8a3e93435678ff9 = /*#__PURE__*/ $fi7L4$react.forwardRef($18b8007106e307cd$var$Heading);
69
+ */ const $ba9bdabb573cb821$export$a8a3e93435678ff9 = /*#__PURE__*/ $cn8pf$react.forwardRef($ba9bdabb573cb821$var$Heading);
70
70
 
71
71
 
72
- var $89f26bd6f497ff3d$exports = {};
72
+ var $98098b763ba271fd$exports = {};
73
73
 
74
- $parcel$export($89f26bd6f497ff3d$exports, "Keyboard", () => $89f26bd6f497ff3d$export$16e4d70cc375e707);
74
+ $parcel$export($98098b763ba271fd$exports, "Keyboard", () => $98098b763ba271fd$export$16e4d70cc375e707);
75
75
 
76
76
 
77
77
 
78
- function $89f26bd6f497ff3d$var$Keyboard(props, ref) {
79
- props = $fi7L4$reactspectrumutils.useSlotProps(props, 'keyboard');
78
+ function $98098b763ba271fd$var$Keyboard(props, ref) {
79
+ props = $cn8pf$reactspectrumutils.useSlotProps(props, 'keyboard');
80
80
  let { children: children , ...otherProps } = props;
81
- let { styleProps: styleProps } = $fi7L4$reactspectrumutils.useStyleProps(otherProps);
82
- let domRef = $fi7L4$reactspectrumutils.useDOMRef(ref);
83
- return(/*#__PURE__*/ ($parcel$interopDefault($fi7L4$react)).createElement("kbd", {
84
- ...$fi7L4$reactariautils.filterDOMProps(otherProps),
81
+ let { styleProps: styleProps } = $cn8pf$reactspectrumutils.useStyleProps(otherProps);
82
+ let domRef = $cn8pf$reactspectrumutils.useDOMRef(ref);
83
+ return(/*#__PURE__*/ ($parcel$interopDefault($cn8pf$react)).createElement("kbd", {
84
+ ...$cn8pf$reactariautils.filterDOMProps(otherProps),
85
85
  ...styleProps,
86
86
  dir: "ltr",
87
87
  ref: domRef
@@ -89,12 +89,12 @@ function $89f26bd6f497ff3d$var$Keyboard(props, ref) {
89
89
  }
90
90
  /**
91
91
  * Keyboard represents text that specifies a keyboard command.
92
- */ const $89f26bd6f497ff3d$export$16e4d70cc375e707 = /*#__PURE__*/ $fi7L4$react.forwardRef($89f26bd6f497ff3d$var$Keyboard);
92
+ */ const $98098b763ba271fd$export$16e4d70cc375e707 = /*#__PURE__*/ $cn8pf$react.forwardRef($98098b763ba271fd$var$Keyboard);
93
93
 
94
94
 
95
- $parcel$exportWildcard(module.exports, $d594f5e923194e34$exports);
96
- $parcel$exportWildcard(module.exports, $18b8007106e307cd$exports);
97
- $parcel$exportWildcard(module.exports, $89f26bd6f497ff3d$exports);
95
+ $parcel$exportWildcard(module.exports, $acd02dd1a8b16753$exports);
96
+ $parcel$exportWildcard(module.exports, $ba9bdabb573cb821$exports);
97
+ $parcel$exportWildcard(module.exports, $98098b763ba271fd$exports);
98
98
 
99
99
 
100
100
  //# sourceMappingURL=main.js.map
package/dist/module.js CHANGED
@@ -1,68 +1,68 @@
1
- import {filterDOMProps as $70pFm$filterDOMProps} from "@react-aria/utils";
2
- import $70pFm$react, {forwardRef as $70pFm$forwardRef} from "react";
3
- import {useSlotProps as $70pFm$useSlotProps, useStyleProps as $70pFm$useStyleProps, useDOMRef as $70pFm$useDOMRef} from "@react-spectrum/utils";
1
+ import {filterDOMProps as $hgL9i$filterDOMProps} from "@react-aria/utils";
2
+ import $hgL9i$react, {forwardRef as $hgL9i$forwardRef} from "react";
3
+ import {useSlotProps as $hgL9i$useSlotProps, useStyleProps as $hgL9i$useStyleProps, useDOMRef as $hgL9i$useDOMRef} from "@react-spectrum/utils";
4
4
 
5
5
  function $parcel$export(e, n, v, s) {
6
6
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
7
  }
8
- var $5b4974b826984d8f$exports = {};
8
+ var $2f505f60703ca8dc$exports = {};
9
9
 
10
- $parcel$export($5b4974b826984d8f$exports, "Text", () => $5b4974b826984d8f$export$5f1af8db9871e1d6);
10
+ $parcel$export($2f505f60703ca8dc$exports, "Text", () => $2f505f60703ca8dc$export$5f1af8db9871e1d6);
11
11
 
12
12
 
13
13
 
14
- function $5b4974b826984d8f$var$Text(props, ref) {
15
- props = $70pFm$useSlotProps(props, 'text');
14
+ function $2f505f60703ca8dc$var$Text(props, ref) {
15
+ props = $hgL9i$useSlotProps(props, 'text');
16
16
  let { children: children , ...otherProps } = props;
17
- let { styleProps: styleProps } = $70pFm$useStyleProps(otherProps);
18
- let domRef = $70pFm$useDOMRef(ref);
19
- return(/*#__PURE__*/ $70pFm$react.createElement("span", {
20
- ...$70pFm$filterDOMProps(otherProps),
17
+ let { styleProps: styleProps } = $hgL9i$useStyleProps(otherProps);
18
+ let domRef = $hgL9i$useDOMRef(ref);
19
+ return(/*#__PURE__*/ $hgL9i$react.createElement("span", {
20
+ ...$hgL9i$filterDOMProps(otherProps),
21
21
  ...styleProps,
22
22
  ref: domRef
23
23
  }, children));
24
24
  }
25
25
  /**
26
26
  * Text represents text with no specific semantic meaning.
27
- */ const $5b4974b826984d8f$export$5f1af8db9871e1d6 = /*#__PURE__*/ $70pFm$forwardRef($5b4974b826984d8f$var$Text);
27
+ */ const $2f505f60703ca8dc$export$5f1af8db9871e1d6 = /*#__PURE__*/ $hgL9i$forwardRef($2f505f60703ca8dc$var$Text);
28
28
 
29
29
 
30
- var $983325daa0df8e98$exports = {};
30
+ var $f62b4ac2b080fa8f$exports = {};
31
31
 
32
- $parcel$export($983325daa0df8e98$exports, "Heading", () => $983325daa0df8e98$export$a8a3e93435678ff9);
32
+ $parcel$export($f62b4ac2b080fa8f$exports, "Heading", () => $f62b4ac2b080fa8f$export$a8a3e93435678ff9);
33
33
 
34
34
 
35
35
 
36
- function $983325daa0df8e98$var$Heading(props, ref) {
37
- props = $70pFm$useSlotProps(props, 'heading');
36
+ function $f62b4ac2b080fa8f$var$Heading(props, ref) {
37
+ props = $hgL9i$useSlotProps(props, 'heading');
38
38
  let { children: children , level: level = 3 , ...otherProps } = props;
39
- let { styleProps: styleProps } = $70pFm$useStyleProps(otherProps);
40
- let domRef = $70pFm$useDOMRef(ref);
39
+ let { styleProps: styleProps } = $hgL9i$useStyleProps(otherProps);
40
+ let domRef = $hgL9i$useDOMRef(ref);
41
41
  let HeadingTag = `h${level}`;
42
- return(/*#__PURE__*/ $70pFm$react.createElement(HeadingTag, {
43
- ...$70pFm$filterDOMProps(otherProps),
42
+ return(/*#__PURE__*/ $hgL9i$react.createElement(HeadingTag, {
43
+ ...$hgL9i$filterDOMProps(otherProps),
44
44
  ...styleProps,
45
45
  ref: domRef
46
46
  }, children));
47
47
  }
48
48
  /**
49
49
  * Heading is used to create various levels of typographic hierarchies.
50
- */ const $983325daa0df8e98$export$a8a3e93435678ff9 = /*#__PURE__*/ $70pFm$forwardRef($983325daa0df8e98$var$Heading);
50
+ */ const $f62b4ac2b080fa8f$export$a8a3e93435678ff9 = /*#__PURE__*/ $hgL9i$forwardRef($f62b4ac2b080fa8f$var$Heading);
51
51
 
52
52
 
53
- var $be7d185f09e546f2$exports = {};
53
+ var $9db65624fc9b5771$exports = {};
54
54
 
55
- $parcel$export($be7d185f09e546f2$exports, "Keyboard", () => $be7d185f09e546f2$export$16e4d70cc375e707);
55
+ $parcel$export($9db65624fc9b5771$exports, "Keyboard", () => $9db65624fc9b5771$export$16e4d70cc375e707);
56
56
 
57
57
 
58
58
 
59
- function $be7d185f09e546f2$var$Keyboard(props, ref) {
60
- props = $70pFm$useSlotProps(props, 'keyboard');
59
+ function $9db65624fc9b5771$var$Keyboard(props, ref) {
60
+ props = $hgL9i$useSlotProps(props, 'keyboard');
61
61
  let { children: children , ...otherProps } = props;
62
- let { styleProps: styleProps } = $70pFm$useStyleProps(otherProps);
63
- let domRef = $70pFm$useDOMRef(ref);
64
- return(/*#__PURE__*/ $70pFm$react.createElement("kbd", {
65
- ...$70pFm$filterDOMProps(otherProps),
62
+ let { styleProps: styleProps } = $hgL9i$useStyleProps(otherProps);
63
+ let domRef = $hgL9i$useDOMRef(ref);
64
+ return(/*#__PURE__*/ $hgL9i$react.createElement("kbd", {
65
+ ...$hgL9i$filterDOMProps(otherProps),
66
66
  ...styleProps,
67
67
  dir: "ltr",
68
68
  ref: domRef
@@ -70,10 +70,10 @@ function $be7d185f09e546f2$var$Keyboard(props, ref) {
70
70
  }
71
71
  /**
72
72
  * Keyboard represents text that specifies a keyboard command.
73
- */ const $be7d185f09e546f2$export$16e4d70cc375e707 = /*#__PURE__*/ $70pFm$forwardRef($be7d185f09e546f2$var$Keyboard);
73
+ */ const $9db65624fc9b5771$export$16e4d70cc375e707 = /*#__PURE__*/ $hgL9i$forwardRef($9db65624fc9b5771$var$Keyboard);
74
74
 
75
75
 
76
76
 
77
77
 
78
- export {$5b4974b826984d8f$export$5f1af8db9871e1d6 as Text, $983325daa0df8e98$export$a8a3e93435678ff9 as Heading, $be7d185f09e546f2$export$16e4d70cc375e707 as Keyboard};
78
+ export {$2f505f60703ca8dc$export$5f1af8db9871e1d6 as Text, $f62b4ac2b080fa8f$export$a8a3e93435678ff9 as Heading, $9db65624fc9b5771$export$16e4d70cc375e707 as Keyboard};
79
79
  //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/text",
3
- "version": "3.1.4-nightly.3100+da2aa7467",
3
+ "version": "3.1.5",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.6.2",
35
- "@react-aria/utils": "3.0.0-nightly.1409+da2aa7467",
36
- "@react-spectrum/utils": "3.0.0-nightly.1409+da2aa7467",
37
- "@react-types/shared": "3.0.0-nightly.1409+da2aa7467",
38
- "@react-types/text": "3.1.4-nightly.3100+da2aa7467"
35
+ "@react-aria/utils": "^3.11.2",
36
+ "@react-spectrum/utils": "^3.6.5",
37
+ "@react-types/shared": "^3.11.1",
38
+ "@react-types/text": "^3.1.5"
39
39
  },
40
40
  "devDependencies": {
41
- "@adobe/spectrum-css-temp": "3.0.0-nightly.1409+da2aa7467"
41
+ "@adobe/spectrum-css-temp": "3.0.0-alpha.1"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@react-spectrum/provider": "^3.0.0",
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "da2aa74670fbd93335ff01401ca53826b3602777"
50
+ "gitHead": "404d41859b7d6f56201d7fc01bd9f22ae3512937"
51
51
  }