@react-spectrum/tree 3.0.0-beta.1 → 3.0.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/tree",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.2",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,29 +36,29 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/button": "^3.10.1",
40
- "@react-aria/i18n": "^3.12.3",
41
- "@react-aria/tree": "3.0.0-beta.1",
42
- "@react-aria/utils": "^3.25.3",
43
- "@react-spectrum/checkbox": "^3.9.10",
44
- "@react-spectrum/text": "^3.5.9",
45
- "@react-spectrum/utils": "^3.11.11",
46
- "@react-types/shared": "^3.25.0",
47
- "@spectrum-icons/ui": "^3.6.10",
39
+ "@react-aria/button": "^3.11.0",
40
+ "@react-aria/i18n": "^3.12.4",
41
+ "@react-aria/tree": "3.0.0-beta.2",
42
+ "@react-aria/utils": "^3.26.0",
43
+ "@react-spectrum/checkbox": "^3.9.11",
44
+ "@react-spectrum/text": "^3.5.10",
45
+ "@react-spectrum/utils": "^3.12.0",
46
+ "@react-types/shared": "^3.26.0",
47
+ "@spectrum-icons/ui": "^3.6.11",
48
48
  "@swc/helpers": "^0.5.0",
49
- "react-aria-components": "^1.4.1"
49
+ "react-aria-components": "^1.5.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@react-spectrum/provider": "^3.0.0",
53
- "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
54
- "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
53
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
54
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@adobe/spectrum-css-temp": "3.0.0-alpha.1",
58
- "@react-spectrum/style-macro-s1": "3.0.0-alpha.1"
58
+ "@react-spectrum/style-macro-s1": "3.0.0-alpha.2"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "8e0a28d188cdbdbd2b32296fa034b1b02ddde229"
63
+ "gitHead": "71f0ef23053f9e03ee7e97df736e8b083e006849"
64
64
  }
package/src/TreeView.tsx CHANGED
@@ -332,7 +332,7 @@ const expandButton = style<ExpandableRowChevronProps>({
332
332
  });
333
333
 
334
334
  function ExpandableRowChevron(props: ExpandableRowChevronProps) {
335
- let expandButtonRef = useRef<HTMLSpanElement>(null);
335
+ let expandButtonRef = useRef(null);
336
336
  let [fullProps, ref] = useContextProps({...props, slot: 'chevron'}, expandButtonRef, ButtonContext);
337
337
  let {isExpanded, isDisabled} = fullProps;
338
338
  let {direction} = useLocale();
@@ -1 +0,0 @@
1
- {"mappings":"ACAA;EAGE;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAYA;;;;EAMA;;;;EApCA;;;;EAYA;;;;EAYA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAYA;;;;EAMA;;;;EAMA;;;;;EAYA;;;;EAMA;;;;EA1FA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EApCA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAlBA;;;;EAMA;;;;EANA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAxBA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAxBA;;;;EAMA;;;;EANA;;;;EAMA;;;;EAMA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAMA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAMA;;;;EAYA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAYA;;;;EAMA;;;;EA9EA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;;;;AA/DF;;AA4CA;EACE;IACE;;;;IAAA;;;;IA8CA;;;;IAIA","sources":["f54a9241b0b1bdd2","packages/@react-spectrum/tree/src/TreeView.tsx"],"sourcesContent":["@import \"43ede2ea230cbe77\";\n@import \"d6186a3bcdea23c0\";\n@import \"9b0163e48ed44108\";\n@import \"4145f5de7372e962\";\n@import \"5c8e7aff246c25c0\";\n@import \"e6e7b4c2a4a805d7\";\n@import \"ed226d1e6a9f6d5d\";\n@import \"af6efb89500ab023\";\n@import \"5458487886ba8cfe\";\n@import \"5be3595defba4bd4\";\n","@layer a, b;\n\n@layer a {\n .wc {\n border-top-width: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));\n }\n}\n\n@layer a {\n .xc {\n border-bottom-width: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));\n }\n}\n\n@layer a {\n .ua {\n border-inline-start-width: 0px;\n }\n}\n\n@layer a {\n .va {\n border-inline-end-width: 0px;\n }\n}\n\n@layer a {\n .__ka {\n box-sizing: border-box;\n }\n}\n\n@layer a {\n .Aa {\n border-style: solid;\n }\n}\n\n@layer a {\n .ca {\n border-color: transparent;\n }\n}\n\n@layer b.a {\n @media (forced-colors: active) {\n .ca___y {\n border-color: Background;\n }\n }\n}\n\n@layer a {\n ._Vd {\n justify-content: center;\n }\n}\n\n@layer a {\n ._Uc {\n align-items: center;\n }\n}\n\n@layer a {\n .oY {\n width: 100%;\n }\n}\n\n@layer a {\n .nY {\n height: 100%;\n }\n}\n\n@layer a {\n ._Sd {\n display: flex;\n }\n}\n\n"],"names":[],"version":3,"file":"TreeView.5c7cb24b.css.map"}