@react-spectrum/text 3.1.5 → 3.1.6-nightly.3113

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 $cn8pf$reactariautils = require("@react-aria/utils");
2
- var $cn8pf$react = require("react");
3
- var $cn8pf$reactspectrumutils = require("@react-spectrum/utils");
1
+ var $kLXM6$reactariautils = require("@react-aria/utils");
2
+ var $kLXM6$react = require("react");
3
+ var $kLXM6$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 $acd02dd1a8b16753$exports = {};
27
+ var $1efae25dd196d679$exports = {};
28
28
 
29
- $parcel$export($acd02dd1a8b16753$exports, "Text", () => $acd02dd1a8b16753$export$5f1af8db9871e1d6);
29
+ $parcel$export($1efae25dd196d679$exports, "Text", () => $1efae25dd196d679$export$5f1af8db9871e1d6);
30
30
 
31
31
 
32
32
 
33
- function $acd02dd1a8b16753$var$Text(props, ref) {
34
- props = $cn8pf$reactspectrumutils.useSlotProps(props, 'text');
33
+ function $1efae25dd196d679$var$Text(props, ref) {
34
+ props = $kLXM6$reactspectrumutils.useSlotProps(props, 'text');
35
35
  let { children: children , ...otherProps } = props;
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),
36
+ let { styleProps: styleProps } = $kLXM6$reactspectrumutils.useStyleProps(otherProps);
37
+ let domRef = $kLXM6$reactspectrumutils.useDOMRef(ref);
38
+ return(/*#__PURE__*/ ($parcel$interopDefault($kLXM6$react)).createElement("span", {
39
+ ...$kLXM6$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 $acd02dd1a8b16753$export$5f1af8db9871e1d6 = /*#__PURE__*/ $cn8pf$react.forwardRef($acd02dd1a8b16753$var$Text);
46
+ */ const $1efae25dd196d679$export$5f1af8db9871e1d6 = /*#__PURE__*/ $kLXM6$react.forwardRef($1efae25dd196d679$var$Text);
47
47
 
48
48
 
49
- var $ba9bdabb573cb821$exports = {};
49
+ var $c7c750c966e80a46$exports = {};
50
50
 
51
- $parcel$export($ba9bdabb573cb821$exports, "Heading", () => $ba9bdabb573cb821$export$a8a3e93435678ff9);
51
+ $parcel$export($c7c750c966e80a46$exports, "Heading", () => $c7c750c966e80a46$export$a8a3e93435678ff9);
52
52
 
53
53
 
54
54
 
55
- function $ba9bdabb573cb821$var$Heading(props, ref) {
56
- props = $cn8pf$reactspectrumutils.useSlotProps(props, 'heading');
55
+ function $c7c750c966e80a46$var$Heading(props, ref) {
56
+ props = $kLXM6$reactspectrumutils.useSlotProps(props, 'heading');
57
57
  let { children: children , level: level = 3 , ...otherProps } = props;
58
- let { styleProps: styleProps } = $cn8pf$reactspectrumutils.useStyleProps(otherProps);
59
- let domRef = $cn8pf$reactspectrumutils.useDOMRef(ref);
58
+ let { styleProps: styleProps } = $kLXM6$reactspectrumutils.useStyleProps(otherProps);
59
+ let domRef = $kLXM6$reactspectrumutils.useDOMRef(ref);
60
60
  let HeadingTag = `h${level}`;
61
- return(/*#__PURE__*/ ($parcel$interopDefault($cn8pf$react)).createElement(HeadingTag, {
62
- ...$cn8pf$reactariautils.filterDOMProps(otherProps),
61
+ return(/*#__PURE__*/ ($parcel$interopDefault($kLXM6$react)).createElement(HeadingTag, {
62
+ ...$kLXM6$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 $ba9bdabb573cb821$export$a8a3e93435678ff9 = /*#__PURE__*/ $cn8pf$react.forwardRef($ba9bdabb573cb821$var$Heading);
69
+ */ const $c7c750c966e80a46$export$a8a3e93435678ff9 = /*#__PURE__*/ $kLXM6$react.forwardRef($c7c750c966e80a46$var$Heading);
70
70
 
71
71
 
72
- var $98098b763ba271fd$exports = {};
72
+ var $961f7ef9e414f5f0$exports = {};
73
73
 
74
- $parcel$export($98098b763ba271fd$exports, "Keyboard", () => $98098b763ba271fd$export$16e4d70cc375e707);
74
+ $parcel$export($961f7ef9e414f5f0$exports, "Keyboard", () => $961f7ef9e414f5f0$export$16e4d70cc375e707);
75
75
 
76
76
 
77
77
 
78
- function $98098b763ba271fd$var$Keyboard(props, ref) {
79
- props = $cn8pf$reactspectrumutils.useSlotProps(props, 'keyboard');
78
+ function $961f7ef9e414f5f0$var$Keyboard(props, ref) {
79
+ props = $kLXM6$reactspectrumutils.useSlotProps(props, 'keyboard');
80
80
  let { children: children , ...otherProps } = props;
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),
81
+ let { styleProps: styleProps } = $kLXM6$reactspectrumutils.useStyleProps(otherProps);
82
+ let domRef = $kLXM6$reactspectrumutils.useDOMRef(ref);
83
+ return(/*#__PURE__*/ ($parcel$interopDefault($kLXM6$react)).createElement("kbd", {
84
+ ...$kLXM6$reactariautils.filterDOMProps(otherProps),
85
85
  ...styleProps,
86
86
  dir: "ltr",
87
87
  ref: domRef
@@ -89,12 +89,12 @@ function $98098b763ba271fd$var$Keyboard(props, ref) {
89
89
  }
90
90
  /**
91
91
  * Keyboard represents text that specifies a keyboard command.
92
- */ const $98098b763ba271fd$export$16e4d70cc375e707 = /*#__PURE__*/ $cn8pf$react.forwardRef($98098b763ba271fd$var$Keyboard);
92
+ */ const $961f7ef9e414f5f0$export$16e4d70cc375e707 = /*#__PURE__*/ $kLXM6$react.forwardRef($961f7ef9e414f5f0$var$Keyboard);
93
93
 
94
94
 
95
- $parcel$exportWildcard(module.exports, $acd02dd1a8b16753$exports);
96
- $parcel$exportWildcard(module.exports, $ba9bdabb573cb821$exports);
97
- $parcel$exportWildcard(module.exports, $98098b763ba271fd$exports);
95
+ $parcel$exportWildcard(module.exports, $1efae25dd196d679$exports);
96
+ $parcel$exportWildcard(module.exports, $c7c750c966e80a46$exports);
97
+ $parcel$exportWildcard(module.exports, $961f7ef9e414f5f0$exports);
98
98
 
99
99
 
100
100
  //# sourceMappingURL=main.js.map
package/dist/module.js CHANGED
@@ -1,68 +1,68 @@
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";
1
+ import {filterDOMProps as $3GX9J$filterDOMProps} from "@react-aria/utils";
2
+ import $3GX9J$react, {forwardRef as $3GX9J$forwardRef} from "react";
3
+ import {useSlotProps as $3GX9J$useSlotProps, useStyleProps as $3GX9J$useStyleProps, useDOMRef as $3GX9J$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 $2f505f60703ca8dc$exports = {};
8
+ var $cd449e8defa988f0$exports = {};
9
9
 
10
- $parcel$export($2f505f60703ca8dc$exports, "Text", () => $2f505f60703ca8dc$export$5f1af8db9871e1d6);
10
+ $parcel$export($cd449e8defa988f0$exports, "Text", () => $cd449e8defa988f0$export$5f1af8db9871e1d6);
11
11
 
12
12
 
13
13
 
14
- function $2f505f60703ca8dc$var$Text(props, ref) {
15
- props = $hgL9i$useSlotProps(props, 'text');
14
+ function $cd449e8defa988f0$var$Text(props, ref) {
15
+ props = $3GX9J$useSlotProps(props, 'text');
16
16
  let { children: children , ...otherProps } = props;
17
- let { styleProps: styleProps } = $hgL9i$useStyleProps(otherProps);
18
- let domRef = $hgL9i$useDOMRef(ref);
19
- return(/*#__PURE__*/ $hgL9i$react.createElement("span", {
20
- ...$hgL9i$filterDOMProps(otherProps),
17
+ let { styleProps: styleProps } = $3GX9J$useStyleProps(otherProps);
18
+ let domRef = $3GX9J$useDOMRef(ref);
19
+ return(/*#__PURE__*/ $3GX9J$react.createElement("span", {
20
+ ...$3GX9J$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 $2f505f60703ca8dc$export$5f1af8db9871e1d6 = /*#__PURE__*/ $hgL9i$forwardRef($2f505f60703ca8dc$var$Text);
27
+ */ const $cd449e8defa988f0$export$5f1af8db9871e1d6 = /*#__PURE__*/ $3GX9J$forwardRef($cd449e8defa988f0$var$Text);
28
28
 
29
29
 
30
- var $f62b4ac2b080fa8f$exports = {};
30
+ var $c382fceb69609a50$exports = {};
31
31
 
32
- $parcel$export($f62b4ac2b080fa8f$exports, "Heading", () => $f62b4ac2b080fa8f$export$a8a3e93435678ff9);
32
+ $parcel$export($c382fceb69609a50$exports, "Heading", () => $c382fceb69609a50$export$a8a3e93435678ff9);
33
33
 
34
34
 
35
35
 
36
- function $f62b4ac2b080fa8f$var$Heading(props, ref) {
37
- props = $hgL9i$useSlotProps(props, 'heading');
36
+ function $c382fceb69609a50$var$Heading(props, ref) {
37
+ props = $3GX9J$useSlotProps(props, 'heading');
38
38
  let { children: children , level: level = 3 , ...otherProps } = props;
39
- let { styleProps: styleProps } = $hgL9i$useStyleProps(otherProps);
40
- let domRef = $hgL9i$useDOMRef(ref);
39
+ let { styleProps: styleProps } = $3GX9J$useStyleProps(otherProps);
40
+ let domRef = $3GX9J$useDOMRef(ref);
41
41
  let HeadingTag = `h${level}`;
42
- return(/*#__PURE__*/ $hgL9i$react.createElement(HeadingTag, {
43
- ...$hgL9i$filterDOMProps(otherProps),
42
+ return(/*#__PURE__*/ $3GX9J$react.createElement(HeadingTag, {
43
+ ...$3GX9J$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 $f62b4ac2b080fa8f$export$a8a3e93435678ff9 = /*#__PURE__*/ $hgL9i$forwardRef($f62b4ac2b080fa8f$var$Heading);
50
+ */ const $c382fceb69609a50$export$a8a3e93435678ff9 = /*#__PURE__*/ $3GX9J$forwardRef($c382fceb69609a50$var$Heading);
51
51
 
52
52
 
53
- var $9db65624fc9b5771$exports = {};
53
+ var $a42b6b1607b36926$exports = {};
54
54
 
55
- $parcel$export($9db65624fc9b5771$exports, "Keyboard", () => $9db65624fc9b5771$export$16e4d70cc375e707);
55
+ $parcel$export($a42b6b1607b36926$exports, "Keyboard", () => $a42b6b1607b36926$export$16e4d70cc375e707);
56
56
 
57
57
 
58
58
 
59
- function $9db65624fc9b5771$var$Keyboard(props, ref) {
60
- props = $hgL9i$useSlotProps(props, 'keyboard');
59
+ function $a42b6b1607b36926$var$Keyboard(props, ref) {
60
+ props = $3GX9J$useSlotProps(props, 'keyboard');
61
61
  let { children: children , ...otherProps } = props;
62
- let { styleProps: styleProps } = $hgL9i$useStyleProps(otherProps);
63
- let domRef = $hgL9i$useDOMRef(ref);
64
- return(/*#__PURE__*/ $hgL9i$react.createElement("kbd", {
65
- ...$hgL9i$filterDOMProps(otherProps),
62
+ let { styleProps: styleProps } = $3GX9J$useStyleProps(otherProps);
63
+ let domRef = $3GX9J$useDOMRef(ref);
64
+ return(/*#__PURE__*/ $3GX9J$react.createElement("kbd", {
65
+ ...$3GX9J$filterDOMProps(otherProps),
66
66
  ...styleProps,
67
67
  dir: "ltr",
68
68
  ref: domRef
@@ -70,10 +70,10 @@ function $9db65624fc9b5771$var$Keyboard(props, ref) {
70
70
  }
71
71
  /**
72
72
  * Keyboard represents text that specifies a keyboard command.
73
- */ const $9db65624fc9b5771$export$16e4d70cc375e707 = /*#__PURE__*/ $hgL9i$forwardRef($9db65624fc9b5771$var$Keyboard);
73
+ */ const $a42b6b1607b36926$export$16e4d70cc375e707 = /*#__PURE__*/ $3GX9J$forwardRef($a42b6b1607b36926$var$Keyboard);
74
74
 
75
75
 
76
76
 
77
77
 
78
- export {$2f505f60703ca8dc$export$5f1af8db9871e1d6 as Text, $f62b4ac2b080fa8f$export$a8a3e93435678ff9 as Heading, $9db65624fc9b5771$export$16e4d70cc375e707 as Keyboard};
78
+ export {$cd449e8defa988f0$export$5f1af8db9871e1d6 as Text, $c382fceb69609a50$export$a8a3e93435678ff9 as Heading, $a42b6b1607b36926$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.5",
3
+ "version": "3.1.6-nightly.3113+404d41859",
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.11.2",
36
- "@react-spectrum/utils": "^3.6.5",
37
- "@react-types/shared": "^3.11.1",
38
- "@react-types/text": "^3.1.5"
35
+ "@react-aria/utils": "3.0.0-nightly.1417+404d41859",
36
+ "@react-spectrum/utils": "3.0.0-nightly.1417+404d41859",
37
+ "@react-types/shared": "3.0.0-nightly.1417+404d41859",
38
+ "@react-types/text": "3.1.6-nightly.3113+404d41859"
39
39
  },
40
40
  "devDependencies": {
41
- "@adobe/spectrum-css-temp": "3.0.0-alpha.1"
41
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.1417+404d41859"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@react-spectrum/provider": "^3.0.0",