@up42/up-components 5.5.0 → 5.5.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.
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Connector: () => React.JSX.Element;
@@ -26,7 +26,12 @@ export type FeatureCardProps = CardProps & {
26
26
  /**
27
27
  * Applies the active state to the card from the parent.
28
28
  */
29
- isActive?: boolean;
29
+ active?: boolean;
30
+ /**
31
+ * Whether to show the connector (the visual line that connects the card to the Popover).
32
+ * @default false
33
+ */
34
+ showConnector?: boolean;
30
35
  };
31
36
  /**
32
37
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-featurecard--docs
@@ -60,5 +65,10 @@ export declare const FeatureCard: React.ForwardRefExoticComponent<Omit<import("@
60
65
  /**
61
66
  * Applies the active state to the card from the parent.
62
67
  */
63
- isActive?: boolean | undefined;
68
+ active?: boolean | undefined;
69
+ /**
70
+ * Whether to show the connector (the visual line that connects the card to the Popover).
71
+ * @default false
72
+ */
73
+ showConnector?: boolean | undefined;
64
74
  }, "ref"> & React.RefAttributes<unknown>>;
package/dist/index.d.ts CHANGED
@@ -5348,7 +5348,12 @@ type FeatureCardProps = CardProps & {
5348
5348
  /**
5349
5349
  * Applies the active state to the card from the parent.
5350
5350
  */
5351
- isActive?: boolean;
5351
+ active?: boolean;
5352
+ /**
5353
+ * Whether to show the connector (the visual line that connects the card to the Popover).
5354
+ * @default false
5355
+ */
5356
+ showConnector?: boolean;
5352
5357
  };
5353
5358
  /**
5354
5359
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-featurecard--docs
@@ -5382,7 +5387,12 @@ declare const FeatureCard: React__default.ForwardRefExoticComponent<Omit<_mui_ma
5382
5387
  /**
5383
5388
  * Applies the active state to the card from the parent.
5384
5389
  */
5385
- isActive?: boolean | undefined;
5390
+ active?: boolean | undefined;
5391
+ /**
5392
+ * Whether to show the connector (the visual line that connects the card to the Popover).
5393
+ * @default false
5394
+ */
5395
+ showConnector?: boolean | undefined;
5386
5396
  }, "ref"> & React__default.RefAttributes<unknown>>;
5387
5397
 
5388
5398
  type FeatureCardHeaderProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "5.5.0",
3
+ "version": "5.5.1",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const Connector: ({ anchorEl }: {
3
- anchorEl: HTMLElement;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const Connector: ({ anchorEl }: {
3
- anchorEl: HTMLElement;
4
- }) => React.JSX.Element;