@clayui/breadcrumb 3.58.0 → 3.65.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.
package/lib/Ellipsis.d.ts CHANGED
@@ -14,5 +14,5 @@ interface IEllipsisProps extends React.HTMLAttributes<HTMLLIElement> {
14
14
  */
15
15
  spritemap?: string;
16
16
  }
17
- declare const Ellipsis: React.FunctionComponent<IEllipsisProps>;
17
+ declare const Ellipsis: ({ items, spritemap, ...otherProps }: IEllipsisProps) => JSX.Element;
18
18
  export default Ellipsis;
package/lib/index.d.ts CHANGED
@@ -25,5 +25,5 @@ interface IProps extends React.HTMLAttributes<HTMLOListElement> {
25
25
  */
26
26
  spritemap?: string;
27
27
  }
28
- declare const ClayBreadcrumb: React.FunctionComponent<IProps>;
28
+ declare const ClayBreadcrumb: ({ className, ellipsisBuffer, ellipsisProps, items, spritemap, ...otherProps }: IProps) => JSX.Element;
29
29
  export default ClayBreadcrumb;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clayui/breadcrumb",
3
- "version": "3.58.0",
3
+ "version": "3.65.1",
4
4
  "description": "ClayBreadcrumb component",
5
5
  "license": "BSD-3-Clause",
6
6
  "repository": "https://github.com/liferay/clay",
@@ -26,11 +26,11 @@
26
26
  "react"
27
27
  ],
28
28
  "dependencies": {
29
- "@clayui/button": "^3.56.0",
30
- "@clayui/drop-down": "^3.58.0",
29
+ "@clayui/button": "^3.65.0",
30
+ "@clayui/drop-down": "^3.65.1",
31
31
  "@clayui/icon": "^3.56.0",
32
32
  "@clayui/link": "^3.56.0",
33
- "@clayui/shared": "^3.58.0",
33
+ "@clayui/shared": "^3.65.0",
34
34
  "classnames": "^2.2.6",
35
35
  "warning": "^4.0.3"
36
36
  },
@@ -42,5 +42,5 @@
42
42
  "browserslist": [
43
43
  "extends browserslist-config-clay"
44
44
  ],
45
- "gitHead": "db7f178a1a0dff04d700f8dca2b04f6a5321353b"
45
+ "gitHead": "603f05c8d617d98e29f0456b5d6618f9a95ce740"
46
46
  }
package/src/Ellipsis.tsx CHANGED
@@ -22,11 +22,7 @@ interface IEllipsisProps extends React.HTMLAttributes<HTMLLIElement> {
22
22
  spritemap?: string;
23
23
  }
24
24
 
25
- const Ellipsis: React.FunctionComponent<IEllipsisProps> = ({
26
- items,
27
- spritemap,
28
- ...otherProps
29
- }) => (
25
+ const Ellipsis = ({items, spritemap, ...otherProps}: IEllipsisProps) => (
30
26
  <ClayDropDown
31
27
  className="breadcrumb-item"
32
28
  containerElement="li"
package/src/index.tsx CHANGED
@@ -43,7 +43,7 @@ const findActiveItems = (items: TItems) => {
43
43
  });
44
44
  };
45
45
 
46
- const ClayBreadcrumb: React.FunctionComponent<IProps> = ({
46
+ const ClayBreadcrumb = ({
47
47
  className,
48
48
  ellipsisBuffer = 1,
49
49
  ellipsisProps = {},