@veevarts/design-system 2.24.0 → 2.26.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.
- package/dist/index.cjs +5 -5
- package/dist/index.js +228 -220
- package/dist/patterns/SessionExpiredCard/SessionExpiredCard.d.ts +14 -0
- package/dist/patterns/SessionExpiredCard/index.d.ts +2 -0
- package/dist/patterns/SessionExpiredCard/type.d.ts +6 -0
- package/dist/patterns/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
2
|
+
import { SessionExpiredCardProps } from './type';
|
|
3
|
+
/**
|
|
4
|
+
* What a Salesforce Canvas widget shows once its session is gone. There is no
|
|
5
|
+
* reload button: the Canvas frame is loaded by a POST, so the reload has to
|
|
6
|
+
* come from the Salesforce tab, not from inside the frame.
|
|
7
|
+
* The card is `role="alert"` so the change is announced, and `min-h-52` (208px)
|
|
8
|
+
* keeps it tall enough to be the first height the Salesforce wrapper reveals
|
|
9
|
+
* (its threshold is 200px). Copy comes in as props; the caller owns i18n.
|
|
10
|
+
*/
|
|
11
|
+
export declare function SessionExpiredCard({ testId, title, description }: Readonly<SessionExpiredCardProps>): JSX.Element;
|
|
12
|
+
export declare namespace SessionExpiredCard {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
package/dist/patterns/index.d.ts
CHANGED
|
@@ -168,3 +168,5 @@ export { RecordTotals } from './RecordTotals';
|
|
|
168
168
|
export type { RecordTotalsProps, RecordTotalsRow } from './RecordTotals';
|
|
169
169
|
export { CellText, ChipStack } from './CellText';
|
|
170
170
|
export type { CellTextProps, CellTextVariant, ChipStackProps } from './CellText';
|
|
171
|
+
export { SessionExpiredCard } from './SessionExpiredCard';
|
|
172
|
+
export type { SessionExpiredCardProps } from './SessionExpiredCard';
|