@instructure/ui-breadcrumb 8.26.3-snapshot-0 → 8.26.4-snapshot-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/CHANGELOG.md +9 -2
- package/package.json +16 -16
- package/src/Breadcrumb/BreadcrumbLink/props.ts +3 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Breadcrumb/BreadcrumbLink/index.d.ts +16 -2
- package/types/Breadcrumb/BreadcrumbLink/index.d.ts.map +1 -1
- package/types/Breadcrumb/BreadcrumbLink/props.d.ts +2 -2
- package/types/Breadcrumb/BreadcrumbLink/props.d.ts.map +1 -1
|
@@ -11,18 +11,32 @@ declare class BreadcrumbLink extends Component<BreadcrumbLinkProps> {
|
|
|
11
11
|
static readonly componentId = "Breadcrumb.Link";
|
|
12
12
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
---
|
|
16
|
+
parent: Breadcrumb
|
|
17
|
+
id: Breadcrumb.Link
|
|
18
|
+
---
|
|
19
|
+
@tsProps
|
|
20
|
+
**/
|
|
14
21
|
href?: string | undefined;
|
|
15
22
|
onClick?: ((event: React.MouseEvent<import("@instructure/ui-view/types/View/props").ViewOwnProps, MouseEvent>) => void) | undefined;
|
|
16
23
|
size?: "small" | "medium" | "large" | undefined;
|
|
17
|
-
renderIcon?:
|
|
24
|
+
renderIcon?: import("@instructure/shared-types").Renderable<never>;
|
|
18
25
|
iconPlacement?: "start" | "end" | undefined;
|
|
19
26
|
}>;
|
|
20
27
|
static allowedProps: readonly (keyof {
|
|
21
28
|
children: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
---
|
|
31
|
+
parent: Breadcrumb
|
|
32
|
+
id: Breadcrumb.Link
|
|
33
|
+
---
|
|
34
|
+
@tsProps
|
|
35
|
+
**/
|
|
22
36
|
href?: string | undefined;
|
|
23
37
|
onClick?: ((event: React.MouseEvent<import("@instructure/ui-view/types/View/props").ViewOwnProps, MouseEvent>) => void) | undefined;
|
|
24
38
|
size?: "small" | "medium" | "large" | undefined;
|
|
25
|
-
renderIcon?:
|
|
39
|
+
renderIcon?: import("@instructure/shared-types").Renderable<never>;
|
|
26
40
|
iconPlacement?: "start" | "end" | undefined;
|
|
27
41
|
})[];
|
|
28
42
|
static defaultProps: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;GAMG;AAEH,cACM,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;GAMG;AAEH,cACM,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS;;QAZlB;;;;;;WAMG;;;;;;OAM2B;IAC5B,MAAM,CAAC,YAAY;;QAbrB;;;;;;WAMG;;;;;;SAOiC;IAClC,MAAM,CAAC,YAAY,KAAK;IAExB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,MAAM;CAmBP;AAED,eAAe,cAAc,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { OtherHTMLAttributes, PropValidators, Renderable } from '@instructure/shared-types';
|
|
3
3
|
import type { ViewOwnProps } from '@instructure/ui-view';
|
|
4
4
|
declare type BreadcrumbLinkOwnProps = {
|
|
5
5
|
/**
|
|
@@ -21,7 +21,7 @@ declare type BreadcrumbLinkOwnProps = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Add an icon to the Breadcrumb.Link
|
|
23
23
|
*/
|
|
24
|
-
renderIcon?:
|
|
24
|
+
renderIcon?: Renderable;
|
|
25
25
|
/**
|
|
26
26
|
* Place the icon before or after the text in the Breadcrumb.Link
|
|
27
27
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,UAAU,EACX,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,aAAK,sBAAsB,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,UA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