@react-aria/separator 3.2.0 → 3.2.3

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,27 +1,10 @@
1
1
  var $dDFJl$reactariautils = require("@react-aria/utils");
2
2
 
3
- function $parcel$exportWildcard(dest, source) {
4
- Object.keys(source).forEach(function(key) {
5
- if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
6
- return;
7
- }
8
-
9
- Object.defineProperty(dest, key, {
10
- enumerable: true,
11
- get: function get() {
12
- return source[key];
13
- }
14
- });
15
- });
16
-
17
- return dest;
18
- }
19
3
  function $parcel$export(e, n, v, s) {
20
4
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
21
5
  }
22
- var $8fe2a70229d5746b$exports = {};
23
6
 
24
- $parcel$export($8fe2a70229d5746b$exports, "useSeparator", () => $8fe2a70229d5746b$export$52210f68a14655d0);
7
+ $parcel$export(module.exports, "useSeparator", () => $8fe2a70229d5746b$export$52210f68a14655d0);
25
8
 
26
9
  function $8fe2a70229d5746b$export$52210f68a14655d0(props) {
27
10
  let domProps = $dDFJl$reactariautils.filterDOMProps(props, {
@@ -45,7 +28,6 @@ function $8fe2a70229d5746b$export$52210f68a14655d0(props) {
45
28
  }
46
29
 
47
30
 
48
- $parcel$exportWildcard(module.exports, $8fe2a70229d5746b$exports);
49
31
 
50
32
 
51
33
  //# sourceMappingURL=main.js.map
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;SCoCgB,yCAAY,CAAC,KAAqB,EAAiB,CAAC;IAClE,GAAG,CAAC,QAAQ,GAAG,oCAAc,CAAC,KAAK,EAAE,CAAC;QAAA,SAAS,EAAE,IAAI;IAAA,CAAC;IACtD,GAAG,CAAC,eAAe;IACnB,EAAiG,AAAjG,+FAAiG;IACjG,EAA0C,AAA1C,wCAA0C;IAC1C,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAU,WAClC,eAAe,GAAG,CAAU;IAE9B,EAA4E,AAA5E,0EAA4E;IAC5E,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAI,KAC5B,MAAM,CAAC,CAAC;QACN,cAAc,EAAE,CAAC;eACZ,QAAQ;YACX,IAAI,EAAE,CAAW;YACjB,CAAkB,mBAAE,eAAe;QACrC,CAAC;IACH,CAAC;IAEH,MAAM,CAAC,CAAC;QAAA,cAAc,EAAE,QAAQ;IAAA,CAAC;AACnC,CAAC","sources":["packages/@react-aria/separator/src/index.ts","packages/@react-aria/separator/src/useSeparator.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport * from './useSeparator';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, Orientation} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {HTMLAttributes} from 'react';\n\nexport interface SeparatorProps extends DOMProps, AriaLabelingProps {\n /**\n * The orientation of the separator.\n * @default 'horizontal'\n */\n orientation?: Orientation,\n /** The HTML element type that will be used to render the separator. */\n elementType?: string\n}\n\nexport interface SeparatorAria {\n /** Props for the separator element. */\n separatorProps: HTMLAttributes<HTMLElement>\n}\n\n/**\n * Provides the accessibility implementation for a separator.\n * A separator is a visual divider between two groups of content,\n * e.g. groups of menu items or sections of a page.\n */\nexport function useSeparator(props: SeparatorProps): SeparatorAria {\n let domProps = filterDOMProps(props, {labelable: true});\n let ariaOrientation;\n // if orientation is horizontal, aria-orientation default is horizontal, so we leave it undefined\n // if it's vertical, we need to specify it\n if (props.orientation === 'vertical') {\n ariaOrientation = 'vertical';\n }\n // hr elements implicitly have role = separator and a horizontal orientation\n if (props.elementType !== 'hr') {\n return {\n separatorProps: {\n ...domProps,\n role: 'separator',\n 'aria-orientation': ariaOrientation\n }\n };\n }\n return {separatorProps: domProps};\n}\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;SCmCgB,yCAAY,CAAC,KAAqB,EAAiB,CAAC;IAClE,GAAG,CAAC,QAAQ,GAAG,oCAAc,CAAC,KAAK,EAAE,CAAC;QAAA,SAAS,EAAE,IAAI;IAAA,CAAC;IACtD,GAAG,CAAC,eAAe;IACnB,EAAiG,AAAjG,+FAAiG;IACjG,EAA0C,AAA1C,wCAA0C;IAC1C,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAU,WAClC,eAAe,GAAG,CAAU;IAE9B,EAA4E,AAA5E,0EAA4E;IAC5E,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAI,KAC5B,MAAM,CAAC,CAAC;QACN,cAAc,EAAE,CAAC;eACZ,QAAQ;YACX,IAAI,EAAE,CAAW;YACjB,CAAkB,mBAAE,eAAe;QACrC,CAAC;IACH,CAAC;IAEH,MAAM,CAAC,CAAC;QAAA,cAAc,EAAE,QAAQ;IAAA,CAAC;AACnC,CAAC","sources":["packages/@react-aria/separator/src/index.ts","packages/@react-aria/separator/src/useSeparator.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport type {SeparatorProps, SeparatorAria} from './useSeparator';\nexport {useSeparator} from './useSeparator';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMAttributes, DOMProps, Orientation} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\n\nexport interface SeparatorProps extends DOMProps, AriaLabelingProps {\n /**\n * The orientation of the separator.\n * @default 'horizontal'\n */\n orientation?: Orientation,\n /** The HTML element type that will be used to render the separator. */\n elementType?: string\n}\n\nexport interface SeparatorAria {\n /** Props for the separator element. */\n separatorProps: DOMAttributes\n}\n\n/**\n * Provides the accessibility implementation for a separator.\n * A separator is a visual divider between two groups of content,\n * e.g. groups of menu items or sections of a page.\n */\nexport function useSeparator(props: SeparatorProps): SeparatorAria {\n let domProps = filterDOMProps(props, {labelable: true});\n let ariaOrientation;\n // if orientation is horizontal, aria-orientation default is horizontal, so we leave it undefined\n // if it's vertical, we need to specify it\n if (props.orientation === 'vertical') {\n ariaOrientation = 'vertical';\n }\n // hr elements implicitly have role = separator and a horizontal orientation\n if (props.elementType !== 'hr') {\n return {\n separatorProps: {\n ...domProps,\n role: 'separator',\n 'aria-orientation': ariaOrientation\n }\n };\n }\n return {separatorProps: domProps};\n}\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,11 +1,5 @@
1
1
  import {filterDOMProps as $hvHz9$filterDOMProps} from "@react-aria/utils";
2
2
 
3
- function $parcel$export(e, n, v, s) {
4
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
5
- }
6
- var $f4b273590fab9f93$exports = {};
7
-
8
- $parcel$export($f4b273590fab9f93$exports, "useSeparator", () => $f4b273590fab9f93$export$52210f68a14655d0);
9
3
 
10
4
  function $f4b273590fab9f93$export$52210f68a14655d0(props) {
11
5
  let domProps = $hvHz9$filterDOMProps(props, {
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;SCoCgB,yCAAY,CAAC,KAAqB,EAAiB,CAAC;IAClE,GAAG,CAAC,QAAQ,GAAG,qBAAc,CAAC,KAAK,EAAE,CAAC;QAAA,SAAS,EAAE,IAAI;IAAA,CAAC;IACtD,GAAG,CAAC,eAAe;IACnB,EAAiG,AAAjG,+FAAiG;IACjG,EAA0C,AAA1C,wCAA0C;IAC1C,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAU,WAClC,eAAe,GAAG,CAAU;IAE9B,EAA4E,AAA5E,0EAA4E;IAC5E,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAI,KAC5B,MAAM,CAAC,CAAC;QACN,cAAc,EAAE,CAAC;eACZ,QAAQ;YACX,IAAI,EAAE,CAAW;YACjB,CAAkB,mBAAE,eAAe;QACrC,CAAC;IACH,CAAC;IAEH,MAAM,CAAC,CAAC;QAAA,cAAc,EAAE,QAAQ;IAAA,CAAC;AACnC,CAAC","sources":["packages/@react-aria/separator/src/index.ts","packages/@react-aria/separator/src/useSeparator.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport * from './useSeparator';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, Orientation} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {HTMLAttributes} from 'react';\n\nexport interface SeparatorProps extends DOMProps, AriaLabelingProps {\n /**\n * The orientation of the separator.\n * @default 'horizontal'\n */\n orientation?: Orientation,\n /** The HTML element type that will be used to render the separator. */\n elementType?: string\n}\n\nexport interface SeparatorAria {\n /** Props for the separator element. */\n separatorProps: HTMLAttributes<HTMLElement>\n}\n\n/**\n * Provides the accessibility implementation for a separator.\n * A separator is a visual divider between two groups of content,\n * e.g. groups of menu items or sections of a page.\n */\nexport function useSeparator(props: SeparatorProps): SeparatorAria {\n let domProps = filterDOMProps(props, {labelable: true});\n let ariaOrientation;\n // if orientation is horizontal, aria-orientation default is horizontal, so we leave it undefined\n // if it's vertical, we need to specify it\n if (props.orientation === 'vertical') {\n ariaOrientation = 'vertical';\n }\n // hr elements implicitly have role = separator and a horizontal orientation\n if (props.elementType !== 'hr') {\n return {\n separatorProps: {\n ...domProps,\n role: 'separator',\n 'aria-orientation': ariaOrientation\n }\n };\n }\n return {separatorProps: domProps};\n}\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;SCmCgB,yCAAY,CAAC,KAAqB,EAAiB,CAAC;IAClE,GAAG,CAAC,QAAQ,GAAG,qBAAc,CAAC,KAAK,EAAE,CAAC;QAAA,SAAS,EAAE,IAAI;IAAA,CAAC;IACtD,GAAG,CAAC,eAAe;IACnB,EAAiG,AAAjG,+FAAiG;IACjG,EAA0C,AAA1C,wCAA0C;IAC1C,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAU,WAClC,eAAe,GAAG,CAAU;IAE9B,EAA4E,AAA5E,0EAA4E;IAC5E,EAAE,EAAE,KAAK,CAAC,WAAW,KAAK,CAAI,KAC5B,MAAM,CAAC,CAAC;QACN,cAAc,EAAE,CAAC;eACZ,QAAQ;YACX,IAAI,EAAE,CAAW;YACjB,CAAkB,mBAAE,eAAe;QACrC,CAAC;IACH,CAAC;IAEH,MAAM,CAAC,CAAC;QAAA,cAAc,EAAE,QAAQ;IAAA,CAAC;AACnC,CAAC","sources":["packages/@react-aria/separator/src/index.ts","packages/@react-aria/separator/src/useSeparator.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport type {SeparatorProps, SeparatorAria} from './useSeparator';\nexport {useSeparator} from './useSeparator';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMAttributes, DOMProps, Orientation} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\n\nexport interface SeparatorProps extends DOMProps, AriaLabelingProps {\n /**\n * The orientation of the separator.\n * @default 'horizontal'\n */\n orientation?: Orientation,\n /** The HTML element type that will be used to render the separator. */\n elementType?: string\n}\n\nexport interface SeparatorAria {\n /** Props for the separator element. */\n separatorProps: DOMAttributes\n}\n\n/**\n * Provides the accessibility implementation for a separator.\n * A separator is a visual divider between two groups of content,\n * e.g. groups of menu items or sections of a page.\n */\nexport function useSeparator(props: SeparatorProps): SeparatorAria {\n let domProps = filterDOMProps(props, {labelable: true});\n let ariaOrientation;\n // if orientation is horizontal, aria-orientation default is horizontal, so we leave it undefined\n // if it's vertical, we need to specify it\n if (props.orientation === 'vertical') {\n ariaOrientation = 'vertical';\n }\n // hr elements implicitly have role = separator and a horizontal orientation\n if (props.elementType !== 'hr') {\n return {\n separatorProps: {\n ...domProps,\n role: 'separator',\n 'aria-orientation': ariaOrientation\n }\n };\n }\n return {separatorProps: domProps};\n}\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/types.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { AriaLabelingProps, DOMProps, Orientation } from "@react-types/shared";
2
- import { HTMLAttributes } from "react";
1
+ import { AriaLabelingProps, DOMAttributes, DOMProps, Orientation } from "@react-types/shared";
3
2
  export interface SeparatorProps extends DOMProps, AriaLabelingProps {
4
3
  /**
5
4
  * The orientation of the separator.
@@ -11,7 +10,7 @@ export interface SeparatorProps extends DOMProps, AriaLabelingProps {
11
10
  }
12
11
  export interface SeparatorAria {
13
12
  /** Props for the separator element. */
14
- separatorProps: HTMLAttributes<HTMLElement>;
13
+ separatorProps: DOMAttributes;
15
14
  }
16
15
  /**
17
16
  * Provides the accessibility implementation for a separator.
@@ -1 +1 @@
1
- {"mappings":";;AAgBA,+BAAgC,SAAQ,QAAQ,EAAE,iBAAiB;IACjE;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;IACE,uCAAuC;IACvC,cAAc,EAAE,eAAe,WAAW,CAAC,CAAA;CAC5C;AAED;;;;GAIG;AACH,6BAA6B,KAAK,EAAE,cAAc,GAAG,aAAa,CAmBjE","sources":["packages/@react-aria/separator/src/packages/@react-aria/separator/src/useSeparator.ts","packages/@react-aria/separator/src/packages/@react-aria/separator/src/index.ts","packages/@react-aria/separator/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport * from './useSeparator';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";AAeA,+BAAgC,SAAQ,QAAQ,EAAE,iBAAiB;IACjE;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;IACE,uCAAuC;IACvC,cAAc,EAAE,aAAa,CAAA;CAC9B;AAED;;;;GAIG;AACH,6BAA6B,KAAK,EAAE,cAAc,GAAG,aAAa,CAmBjE","sources":["packages/@react-aria/separator/src/packages/@react-aria/separator/src/useSeparator.ts","packages/@react-aria/separator/src/packages/@react-aria/separator/src/index.ts","packages/@react-aria/separator/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport type {SeparatorProps, SeparatorAria} from './useSeparator';\nexport {useSeparator} from './useSeparator';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/separator",
3
- "version": "3.2.0",
3
+ "version": "3.2.3",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@babel/runtime": "^7.6.2",
21
- "@react-aria/utils": "^3.13.0",
22
- "@react-types/shared": "^3.13.0"
21
+ "@react-aria/utils": "^3.13.3",
22
+ "@react-types/shared": "^3.14.1"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "8f921ec5094e7c2b3c301bcb6133372e35a2052b"
30
+ "gitHead": "b03ef51e6317547dd0a840f151e59d039b1e1fd3"
31
31
  }
package/src/index.ts CHANGED
@@ -9,5 +9,5 @@
9
9
  * OF ANY KIND, either express or implied. See the License for the specific language
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
-
13
- export * from './useSeparator';
12
+ export type {SeparatorProps, SeparatorAria} from './useSeparator';
13
+ export {useSeparator} from './useSeparator';
@@ -10,9 +10,8 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import {AriaLabelingProps, DOMProps, Orientation} from '@react-types/shared';
13
+ import {AriaLabelingProps, DOMAttributes, DOMProps, Orientation} from '@react-types/shared';
14
14
  import {filterDOMProps} from '@react-aria/utils';
15
- import {HTMLAttributes} from 'react';
16
15
 
17
16
  export interface SeparatorProps extends DOMProps, AriaLabelingProps {
18
17
  /**
@@ -26,7 +25,7 @@ export interface SeparatorProps extends DOMProps, AriaLabelingProps {
26
25
 
27
26
  export interface SeparatorAria {
28
27
  /** Props for the separator element. */
29
- separatorProps: HTMLAttributes<HTMLElement>
28
+ separatorProps: DOMAttributes
30
29
  }
31
30
 
32
31
  /**