@cloudoperators/juno-ui-components 8.1.0 → 9.0.0

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.
@@ -16,4 +16,17 @@ export declare const Default: {
16
16
  children: React.JSX.Element[];
17
17
  };
18
18
  };
19
+ export declare const VariedBreadcrumbTypes: {
20
+ render: React.FC<BreadcrumbProps>;
21
+ args: {
22
+ children: React.JSX.Element[];
23
+ };
24
+ parameters: {
25
+ docs: {
26
+ description: {
27
+ story: string;
28
+ };
29
+ };
30
+ };
31
+ };
19
32
  //# sourceMappingURL=Breadcrumb.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/Breadcrumb.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;;;;;;;;;;AAMpE,wBAQC;AAED,eAAO,MAAM,OAAO;;;;;CAWnB,CAAA"}
1
+ {"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/Breadcrumb.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;;;;;;;;;;AAMpE,wBAQC;AAED,eAAO,MAAM,OAAO;;;;;CAWnB,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;CAmBjC,CAAA"}
@@ -1,13 +1,13 @@
1
1
  import { ReactNode, HTMLAttributes, MouseEventHandler } from 'react';
2
2
  import { KnownIcons } from '../Icon/Icon.component';
3
- export interface BreadcrumbItemProps extends HTMLAttributes<HTMLSpanElement> {
3
+ export interface BreadcrumbItemProps extends HTMLAttributes<HTMLElement> {
4
4
  /**
5
5
  * The type of icon to display within the breadcrumb item.
6
6
  */
7
7
  icon?: KnownIcons;
8
8
  /**
9
9
  * The URL that the breadcrumb item points to for navigation.
10
- * @default "#"
10
+ * @default undefined
11
11
  */
12
12
  href?: string;
13
13
  /**
@@ -27,7 +27,7 @@ export interface BreadcrumbItemProps extends HTMLAttributes<HTMLSpanElement> {
27
27
  /**
28
28
  * The click event handler for the breadcrumb item, called when the item is clicked.
29
29
  */
30
- onClick?: MouseEventHandler<HTMLAnchorElement>;
30
+ onClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement>;
31
31
  /**
32
32
  * If `true`, disables the breadcrumb item, preventing interaction.
33
33
  * @default false
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/BreadcrumbItem/BreadcrumbItem.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAc,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AACvF,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAezD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,eAAe,CAAC;IAC1E;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAE9C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,GAAI,4FAW5B,mBAAmB,KAAG,SAmCxB,CAAA"}
1
+ {"version":3,"file":"BreadcrumbItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/BreadcrumbItem/BreadcrumbItem.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC3E,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAUzD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACtE;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAA;IAElE;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,GAAI,4FAW5B,mBAAmB,KAAG,SAwExB,CAAA"}
@@ -27,6 +27,7 @@ export declare const Default: {
27
27
  };
28
28
  args: {
29
29
  label: string;
30
+ onClick: undefined;
30
31
  };
31
32
  };
32
33
  export declare const WithIcon: {
@@ -41,6 +42,7 @@ export declare const WithIcon: {
41
42
  args: {
42
43
  icon: string;
43
44
  label: string;
45
+ onClick: undefined;
44
46
  };
45
47
  };
46
48
  export declare const Active: {
@@ -55,6 +57,7 @@ export declare const Active: {
55
57
  args: {
56
58
  label: string;
57
59
  active: boolean;
60
+ onClick: undefined;
58
61
  };
59
62
  };
60
63
  export declare const Disabled: {
@@ -69,6 +72,36 @@ export declare const Disabled: {
69
72
  args: {
70
73
  label: string;
71
74
  disabled: boolean;
75
+ onClick: undefined;
76
+ };
77
+ };
78
+ export declare const Link: {
79
+ render: React.FC<BreadcrumbItemProps>;
80
+ parameters: {
81
+ docs: {
82
+ description: {
83
+ story: string;
84
+ };
85
+ };
86
+ };
87
+ args: {
88
+ label: string;
89
+ href: string;
90
+ onClick: undefined;
91
+ };
92
+ };
93
+ export declare const Button: {
94
+ render: React.FC<BreadcrumbItemProps>;
95
+ parameters: {
96
+ docs: {
97
+ description: {
98
+ story: string;
99
+ };
100
+ };
101
+ };
102
+ args: {
103
+ label: string;
104
+ onClick: () => undefined;
72
105
  };
73
106
  };
74
107
  export declare const Home: {
@@ -83,6 +116,7 @@ export declare const Home: {
83
116
  args: {
84
117
  label: string;
85
118
  icon: string;
119
+ onClick: undefined;
86
120
  };
87
121
  };
88
122
  //# sourceMappingURL=BreadcrumbItem.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbItem.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BreadcrumbItem/BreadcrumbItem.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAkB,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;;;;;;;;;;;;;;;;AAQhF,wBAYC;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;CAcnB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAepB,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAelB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAepB,CAAA;AAED,eAAO,MAAM,IAAI;;;;;;;;;;;;;CAehB,CAAA"}
1
+ {"version":3,"file":"BreadcrumbItem.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BreadcrumbItem/BreadcrumbItem.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAkB,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;;;;;;;;;;;;;;;;AAQhF,wBAYC;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAenB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAgBpB,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAgBlB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAgBpB,CAAA;AAED,eAAO,MAAM,IAAI;;;;;;;;;;;;;;CAgBhB,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAelB,CAAA;AAED,eAAO,MAAM,IAAI;;;;;;;;;;;;;;CAgBhB,CAAA"}