@gooddata/sdk-ui-kit 10.25.0-alpha.4 → 10.25.0-alpha.41
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/esm/@ui/UiButton/UiButton.js +1 -1
- package/esm/@ui/UiButton/UiButton.js.map +1 -1
- package/esm/@ui/UiChip/UiChip.d.ts.map +1 -1
- package/esm/@ui/UiChip/UiChip.js +9 -2
- package/esm/@ui/UiChip/UiChip.js.map +1 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts +6 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts.map +1 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.js +16 -5
- package/esm/@ui/UiFocusTrap/UiFocusTrap.js.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts +2 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.js +3 -3
- package/esm/@ui/UiIcon/UiIcon.js.map +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts +5 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts.map +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.js +2 -2
- package/esm/@ui/UiSkeleton/UiSkeleton.js.map +1 -1
- package/esm/Dialog/CommunityEditionDialog.d.ts.map +1 -1
- package/esm/Dialog/CommunityEditionDialog.js +5 -3
- package/esm/Dialog/CommunityEditionDialog.js.map +1 -1
- package/esm/Dialog/ConfirmDialogBase.d.ts +2 -6
- package/esm/Dialog/ConfirmDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ConfirmDialogBase.js +32 -41
- package/esm/Dialog/ConfirmDialogBase.js.map +1 -1
- package/esm/Dialog/Dialog.d.ts +3 -5
- package/esm/Dialog/Dialog.d.ts.map +1 -1
- package/esm/Dialog/Dialog.js +10 -13
- package/esm/Dialog/Dialog.js.map +1 -1
- package/esm/Dialog/DialogBase.d.ts +2 -8
- package/esm/Dialog/DialogBase.d.ts.map +1 -1
- package/esm/Dialog/DialogBase.js +22 -39
- package/esm/Dialog/DialogBase.js.map +1 -1
- package/esm/Dialog/DialogCloseButton.d.ts +4 -0
- package/esm/Dialog/DialogCloseButton.d.ts.map +1 -0
- package/esm/Dialog/DialogCloseButton.js +8 -0
- package/esm/Dialog/DialogCloseButton.js.map +1 -0
- package/esm/Dialog/ExportDialog.d.ts +3 -3
- package/esm/Dialog/ExportDialog.d.ts.map +1 -1
- package/esm/Dialog/ExportDialog.js +3 -4
- package/esm/Dialog/ExportDialog.js.map +1 -1
- package/esm/Dialog/ExportDialogBase.d.ts +3 -11
- package/esm/Dialog/ExportDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ExportDialogBase.js +14 -50
- package/esm/Dialog/ExportDialogBase.js.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialog.d.ts.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialog.js +5 -3
- package/esm/Dialog/HubspotConversionTouchPointDialog.js.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts +6 -0
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.js +3 -2
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.js.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.d.ts +3 -2
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.d.ts.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js +5 -3
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.d.ts +3 -3
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.d.ts.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js.map +1 -1
- package/esm/Dialog/StylingEditorDialog/index.d.ts +1 -1
- package/esm/Dialog/typings.d.ts +36 -24
- package/esm/Dialog/typings.d.ts.map +1 -1
- package/esm/Form/InputPure.d.ts.map +1 -1
- package/esm/Form/InputPure.js +1 -0
- package/esm/Form/InputPure.js.map +1 -1
- package/esm/Header/HeaderChatButton.js +2 -2
- package/esm/Header/HeaderChatButton.js.map +1 -1
- package/esm/Icon/icons/EmbedCodeIcon.d.ts.map +1 -1
- package/esm/Icon/icons/EmbedCodeIcon.js +3 -3
- package/esm/Icon/icons/EmbedCodeIcon.js.map +1 -1
- package/esm/Icon/icons/GenAI.d.ts.map +1 -1
- package/esm/Icon/icons/GenAI.js +3 -3
- package/esm/Icon/icons/GenAI.js.map +1 -1
- package/esm/List/InsightListItem.d.ts +2 -1
- package/esm/List/InsightListItem.d.ts.map +1 -1
- package/esm/List/InsightListItem.js +2 -2
- package/esm/List/InsightListItem.js.map +1 -1
- package/esm/RecurrenceForm/CronExpression.d.ts +1 -0
- package/esm/RecurrenceForm/CronExpression.d.ts.map +1 -1
- package/esm/RecurrenceForm/CronExpression.js +5 -5
- package/esm/RecurrenceForm/CronExpression.js.map +1 -1
- package/esm/RecurrenceForm/Recurrence.d.ts +3 -0
- package/esm/RecurrenceForm/Recurrence.d.ts.map +1 -1
- package/esm/RecurrenceForm/Recurrence.js +9 -4
- package/esm/RecurrenceForm/Recurrence.js.map +1 -1
- package/esm/RecurrenceForm/RecurrenceForm.d.ts +3 -1
- package/esm/RecurrenceForm/RecurrenceForm.d.ts.map +1 -1
- package/esm/RecurrenceForm/RecurrenceForm.js +9 -6
- package/esm/RecurrenceForm/RecurrenceForm.js.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.d.ts +1 -0
- package/esm/RecurrenceForm/RepeatTypeSelect.d.ts.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.js +18 -9
- package/esm/RecurrenceForm/RepeatTypeSelect.js.map +1 -1
- package/esm/RecurrenceForm/constants.d.ts +1 -6
- package/esm/RecurrenceForm/constants.d.ts.map +1 -1
- package/esm/RecurrenceForm/constants.js +2 -7
- package/esm/RecurrenceForm/constants.js.map +1 -1
- package/esm/RecurrenceForm/locales.d.ts.map +1 -1
- package/esm/RecurrenceForm/locales.js +2 -1
- package/esm/RecurrenceForm/locales.js.map +1 -1
- package/esm/RecurrenceForm/utils.d.ts +3 -2
- package/esm/RecurrenceForm/utils.d.ts.map +1 -1
- package/esm/RecurrenceForm/utils.js +7 -2
- package/esm/RecurrenceForm/utils.js.map +1 -1
- package/esm/RecurrenceForm/utils.test.js +75 -65
- package/esm/RecurrenceForm/utils.test.js.map +1 -1
- package/esm/RichText/RichText.d.ts +4 -0
- package/esm/RichText/RichText.d.ts.map +1 -1
- package/esm/RichText/RichText.js +4 -3
- package/esm/RichText/RichText.js.map +1 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts +1 -0
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts.map +1 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js +7 -4
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js.map +1 -1
- package/esm/RichText/hooks/useEvaluatedReferences.d.ts +1 -0
- package/esm/RichText/hooks/useEvaluatedReferences.d.ts.map +1 -1
- package/esm/RichText/hooks/useEvaluatedReferences.js.map +1 -1
- package/esm/Typography/Typography.d.ts +1 -0
- package/esm/Typography/Typography.d.ts.map +1 -1
- package/esm/Typography/Typography.js +3 -3
- package/esm/Typography/Typography.js.map +1 -1
- package/esm/responsive/interfaces.d.ts +4 -0
- package/esm/responsive/interfaces.d.ts.map +1 -1
- package/esm/responsive/interfaces.js +1 -1
- package/esm/responsive/useMediaQuery.d.ts.map +1 -1
- package/esm/responsive/useMediaQuery.js +3 -1
- package/esm/responsive/useMediaQuery.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +97 -68
- package/esm/typings/utilities.d.ts +1 -0
- package/esm/typings/utilities.d.ts.map +1 -1
- package/esm/typings/utilities.js +2 -1
- package/esm/typings/utilities.js.map +1 -1
- package/package.json +8 -8
- package/src/@ui/UiChip/UiChip.scss +2 -0
- package/styles/css/aria.css +13 -0
- package/styles/css/aria.css.map +1 -0
- package/styles/css/main.css +15 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/aria.scss +13 -0
- package/styles/scss/main.scss +1 -0
package/esm/sdk-ui-kit.d.ts
CHANGED
@@ -475,10 +475,7 @@ export declare class ConfirmDialog extends PureComponent<IConfirmDialogBaseProps
|
|
475
475
|
/**
|
476
476
|
* @internal
|
477
477
|
*/
|
478
|
-
export declare
|
479
|
-
static defaultProps: IConfirmDialogBaseProps;
|
480
|
-
render(): JSX.Element;
|
481
|
-
}
|
478
|
+
export declare const ConfirmDialogBase: React_2.NamedExoticComponent<IConfirmDialogBaseProps>;
|
482
479
|
|
483
480
|
/**
|
484
481
|
* @internal
|
@@ -591,20 +588,12 @@ export declare const DescriptionPanelContent: React_2.FC<IDescriptionPanelProps>
|
|
591
588
|
/**
|
592
589
|
* @internal
|
593
590
|
*/
|
594
|
-
export declare
|
595
|
-
render(): JSX.Element;
|
596
|
-
}
|
591
|
+
export declare const Dialog: React_2.NamedExoticComponent<IDialogProps>;
|
597
592
|
|
598
593
|
/**
|
599
594
|
* @internal
|
600
595
|
*/
|
601
|
-
export declare
|
602
|
-
static defaultProps: Partial<IDialogBaseProps>;
|
603
|
-
protected onKeyDown: (event: React_2.KeyboardEvent<HTMLDivElement>) => void | undefined;
|
604
|
-
protected getDialogClasses(additionalClassName?: string): string;
|
605
|
-
protected renderCloseButton(): JSX.Element;
|
606
|
-
render(): JSX.Element;
|
607
|
-
}
|
596
|
+
export declare const DialogBase: React_2.NamedExoticComponent<IDialogBaseProps>;
|
608
597
|
|
609
598
|
/**
|
610
599
|
* @internal
|
@@ -700,6 +689,7 @@ export declare type EmbedOptionsType = IReactOptions | IWebComponentsOptions;
|
|
700
689
|
export declare type EmbedType = "react" | "webComponents";
|
701
690
|
|
702
691
|
/**
|
692
|
+
* @deprecated use `event.key` or `event.code`. See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
|
703
693
|
* @internal
|
704
694
|
*/
|
705
695
|
export declare enum ENUM_KEY_CODE {
|
@@ -717,19 +707,12 @@ export declare class ErrorOverlay extends React_2.PureComponent<IErrorOverlayPro
|
|
717
707
|
/**
|
718
708
|
* @internal
|
719
709
|
*/
|
720
|
-
export declare const ExportDialog:
|
710
|
+
export declare const ExportDialog: React_2.NamedExoticComponent<IExportDialogProps>;
|
721
711
|
|
722
712
|
/**
|
723
713
|
* @internal
|
724
714
|
*/
|
725
|
-
export declare
|
726
|
-
static defaultProps: IExportDialogBaseProps;
|
727
|
-
state: IExportDialogBaseState;
|
728
|
-
render(): JSX.Element;
|
729
|
-
private onFilterContextChange;
|
730
|
-
private onMergeHeadersChange;
|
731
|
-
private onSubmit;
|
732
|
-
}
|
715
|
+
export declare const ExportDialogBase: React_2.NamedExoticComponent<IExportDialogBaseProps>;
|
733
716
|
|
734
717
|
/**
|
735
718
|
* @internal
|
@@ -1497,11 +1480,10 @@ export declare const Icon: Record<string, React_2.FC<IIconProps>>;
|
|
1497
1480
|
/**
|
1498
1481
|
* @internal
|
1499
1482
|
*/
|
1500
|
-
export declare interface IConfirmDialogBaseProps extends IDialogBaseProps {
|
1483
|
+
export declare interface IConfirmDialogBaseProps extends Omit<IDialogBaseProps, "accessibilityConfig"> {
|
1501
1484
|
isSubmitDisabled?: boolean;
|
1502
1485
|
isCancelDisabled?: boolean;
|
1503
1486
|
isPositive?: boolean;
|
1504
|
-
headline?: string;
|
1505
1487
|
cancelButtonText?: string;
|
1506
1488
|
submitButtonText?: string;
|
1507
1489
|
submitButtonTooltipText?: string;
|
@@ -1513,11 +1495,12 @@ export declare interface IConfirmDialogBaseProps extends IDialogBaseProps {
|
|
1513
1495
|
footerLeftRenderer?: () => JSX.Element;
|
1514
1496
|
dialogHeaderClassName?: string;
|
1515
1497
|
titleRightIconRenderer?: () => JSX.Element;
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1498
|
+
headline?: string;
|
1499
|
+
accessibilityConfig?: {
|
1500
|
+
closeButton?: IButtonAccessibilityConfig;
|
1501
|
+
titleElementId?: string;
|
1502
|
+
descriptionElementId?: string;
|
1503
|
+
};
|
1521
1504
|
}
|
1522
1505
|
|
1523
1506
|
/**
|
@@ -1634,6 +1617,8 @@ export declare interface IDialogBaseProps {
|
|
1634
1617
|
displayCloseButton?: boolean;
|
1635
1618
|
accessibilityConfig?: {
|
1636
1619
|
closeButton?: IButtonAccessibilityConfig;
|
1620
|
+
titleElementId?: string;
|
1621
|
+
descriptionElementId?: string;
|
1637
1622
|
};
|
1638
1623
|
submitOnEnterKey?: boolean;
|
1639
1624
|
onCancel?: (data?: any) => void;
|
@@ -1647,8 +1632,19 @@ export declare interface IDialogBaseProps {
|
|
1647
1632
|
onClick?: (e: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
1648
1633
|
onMouseOver?: (e: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
1649
1634
|
onMouseUp?: (e: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
1635
|
+
/**
|
1636
|
+
* If true, the dialog will autofocus on the first focusable element when it is opened.
|
1637
|
+
* Default is true.
|
1638
|
+
*/
|
1639
|
+
autofocusOnOpen?: boolean;
|
1640
|
+
CloseButton?: React_2.ComponentType<IDialogCloseButtonProps>;
|
1650
1641
|
}
|
1651
1642
|
|
1643
|
+
/**
|
1644
|
+
* @internal
|
1645
|
+
*/
|
1646
|
+
export declare type IDialogCloseButtonProps = Pick<IDialogBaseProps, "onClose" | "accessibilityConfig">;
|
1647
|
+
|
1652
1648
|
/**
|
1653
1649
|
* @internal
|
1654
1650
|
*/
|
@@ -1706,6 +1702,20 @@ export declare interface IDialogListProps<T extends IDialogListItem = IDialogLis
|
|
1706
1702
|
onItemDelete?: (item: T) => void;
|
1707
1703
|
}
|
1708
1704
|
|
1705
|
+
/**
|
1706
|
+
* @internal
|
1707
|
+
*/
|
1708
|
+
export declare interface IDialogProps extends IDialogBaseProps {
|
1709
|
+
/**
|
1710
|
+
* These properties will be placed to the container, which wraps overlay background and dialog content elements
|
1711
|
+
*/
|
1712
|
+
containerClassName?: string;
|
1713
|
+
shouldCloseOnClick?: (e: Event) => boolean;
|
1714
|
+
onClick?: (e: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
1715
|
+
onMouseOver?: (e: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
1716
|
+
onMouseUp?: (e: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
1717
|
+
}
|
1718
|
+
|
1709
1719
|
/**
|
1710
1720
|
* @internal
|
1711
1721
|
*/
|
@@ -1978,12 +1988,7 @@ export declare interface IErrorOverlayProps {
|
|
1978
1988
|
/**
|
1979
1989
|
* @internal
|
1980
1990
|
*/
|
1981
|
-
export declare interface IExportDialogBaseProps extends
|
1982
|
-
isSubmitDisabled?: boolean;
|
1983
|
-
isPositive?: boolean;
|
1984
|
-
headline?: string;
|
1985
|
-
cancelButtonText?: string;
|
1986
|
-
submitButtonText?: string;
|
1991
|
+
export declare interface IExportDialogBaseProps extends Pick<IConfirmDialogBaseProps, "className" | "displayCloseButton" | "isPositive" | "isSubmitDisabled" | "headline" | "cancelButtonText" | "submitButtonText" | "onCancel" | "onSubmit"> {
|
1987
1992
|
filterContextText?: string;
|
1988
1993
|
filterContextTitle?: string;
|
1989
1994
|
filterContextVisible?: boolean;
|
@@ -1997,17 +2002,8 @@ export declare interface IExportDialogBaseProps extends IDialogBaseProps {
|
|
1997
2002
|
/**
|
1998
2003
|
* @internal
|
1999
2004
|
*/
|
2000
|
-
export declare interface
|
2001
|
-
|
2002
|
-
mergeHeaders: boolean;
|
2003
|
-
}
|
2004
|
-
|
2005
|
-
/**
|
2006
|
-
* @internal
|
2007
|
-
*/
|
2008
|
-
export declare interface IExportDialogData {
|
2009
|
-
includeFilterContext: boolean;
|
2010
|
-
mergeHeaders: boolean;
|
2005
|
+
export declare interface IExportDialogProps extends IExportDialogBaseProps {
|
2006
|
+
containerClassName?: string;
|
2011
2007
|
}
|
2012
2008
|
|
2013
2009
|
/**
|
@@ -2338,6 +2334,12 @@ export declare interface IHubspotConversionTouchPointDialogBaseProps {
|
|
2338
2334
|
* Form submitted callback function
|
2339
2335
|
*/
|
2340
2336
|
onFormSubmitted?: () => void;
|
2337
|
+
/**
|
2338
|
+
* Properties enabling proper accessibility
|
2339
|
+
*/
|
2340
|
+
accessibilityConfig?: {
|
2341
|
+
titleElementId: string;
|
2342
|
+
};
|
2341
2343
|
}
|
2342
2344
|
|
2343
2345
|
/**
|
@@ -2415,6 +2417,7 @@ export declare interface IInsightListItemProps {
|
|
2415
2417
|
useRichText?: boolean;
|
2416
2418
|
useReferences?: boolean;
|
2417
2419
|
metadataTimeZone?: string;
|
2420
|
+
richTextExecConfig?: IExecutionConfig;
|
2418
2421
|
LoadingComponent?: React_2.ComponentType;
|
2419
2422
|
}
|
2420
2423
|
|
@@ -2892,6 +2895,10 @@ export declare interface IMediaQueries {
|
|
2892
2895
|
* Is screen classified as 'md' or larger?
|
2893
2896
|
*/
|
2894
2897
|
">=md": string;
|
2898
|
+
/**
|
2899
|
+
* Is screen classified as 'md' or smaller?
|
2900
|
+
*/
|
2901
|
+
"<=md": string;
|
2895
2902
|
/**
|
2896
2903
|
* Is screen classified as 'md'?
|
2897
2904
|
*/
|
@@ -3498,7 +3505,8 @@ export declare interface IReactOptions {
|
|
3498
3505
|
*/
|
3499
3506
|
export declare interface IRecurrenceFormProps {
|
3500
3507
|
startDate?: Date | null;
|
3501
|
-
cronExpression
|
3508
|
+
cronExpression?: string;
|
3509
|
+
placeholder?: string;
|
3502
3510
|
onChange: (cronExpression: string, startDate: Date | null, isValid: boolean) => void;
|
3503
3511
|
locale?: string;
|
3504
3512
|
dateFormat?: string;
|
@@ -3511,6 +3519,7 @@ export declare interface IRecurrenceFormProps {
|
|
3511
3519
|
allowHourlyRecurrence?: boolean;
|
3512
3520
|
showRepeatTypeDescription?: boolean;
|
3513
3521
|
showTimezoneInOccurrence?: boolean;
|
3522
|
+
showInheritValue?: boolean;
|
3514
3523
|
onRecurrenceDropdownOpen?: () => void;
|
3515
3524
|
}
|
3516
3525
|
|
@@ -3520,10 +3529,13 @@ export declare interface IRecurrenceFormProps {
|
|
3520
3529
|
export declare interface IRecurrenceProps {
|
3521
3530
|
label: string;
|
3522
3531
|
showRepeatTypeDescription?: boolean;
|
3532
|
+
showInheritValue?: boolean;
|
3523
3533
|
recurrenceType: RecurrenceType;
|
3534
|
+
inheritRecurrenceType?: RecurrenceType;
|
3524
3535
|
startDate?: Date | null;
|
3525
3536
|
timezone?: string;
|
3526
3537
|
cronValue: string;
|
3538
|
+
cronPlaceholder?: string;
|
3527
3539
|
weekStart?: WeekStart;
|
3528
3540
|
onRepeatTypeChange: (repeatType: string) => void;
|
3529
3541
|
onCronValueChange: (cronValue: string, isValid: boolean) => void;
|
@@ -3612,6 +3624,10 @@ export declare interface IRichTextProps {
|
|
3612
3624
|
* Filters to be used for rendering references.
|
3613
3625
|
*/
|
3614
3626
|
filters?: IFilter[];
|
3627
|
+
/**
|
3628
|
+
* If true, the filters are loading.
|
3629
|
+
*/
|
3630
|
+
isFiltersLoading?: boolean;
|
3615
3631
|
/**
|
3616
3632
|
* Separators to be used for rendering references.
|
3617
3633
|
*/
|
@@ -4014,21 +4030,7 @@ export declare const isSpaceKey: (event: KeyboardEvent_2) => boolean;
|
|
4014
4030
|
/**
|
4015
4031
|
* @internal
|
4016
4032
|
*/
|
4017
|
-
export declare interface
|
4018
|
-
link: {
|
4019
|
-
text: string;
|
4020
|
-
url: string;
|
4021
|
-
};
|
4022
|
-
disableSubmit?: boolean;
|
4023
|
-
showProgressIndicator?: boolean;
|
4024
|
-
errorMessage?: string;
|
4025
|
-
onHelpClick?: () => void;
|
4026
|
-
}
|
4027
|
-
|
4028
|
-
/**
|
4029
|
-
* @internal
|
4030
|
-
*/
|
4031
|
-
export declare interface IStylingEditorDialogProps<T extends StylingPickerItemContent> extends IStylingEditorDialogFooterProps {
|
4033
|
+
export declare interface IStylingEditorDialogProps<T extends StylingPickerItemContent> extends TStylingEditorDialogFooterProps, Pick<IDialogBaseProps, "onClose" | "className"> {
|
4032
4034
|
title: string;
|
4033
4035
|
tooltip?: string;
|
4034
4036
|
stylingItem?: IStylingPickerItem<T>;
|
@@ -4210,6 +4212,7 @@ export declare interface ITypographyProps {
|
|
4210
4212
|
className?: string;
|
4211
4213
|
onClick?: (e: React_2.MouseEvent) => void;
|
4212
4214
|
title?: string;
|
4215
|
+
id?: string;
|
4213
4216
|
}
|
4214
4217
|
|
4215
4218
|
/**
|
@@ -4695,6 +4698,7 @@ export declare const Recurrence: React_2.FC<IRecurrenceProps>;
|
|
4695
4698
|
* @internal
|
4696
4699
|
*/
|
4697
4700
|
export declare const RECURRENCE_TYPES: {
|
4701
|
+
INHERIT: string;
|
4698
4702
|
HOURLY: string;
|
4699
4703
|
DAILY: string;
|
4700
4704
|
WEEKLY: string;
|
@@ -4992,7 +4996,7 @@ export declare const StylingEditorDialog: <T extends StylingPickerItemContent>(p
|
|
4992
4996
|
/**
|
4993
4997
|
* @internal
|
4994
4998
|
*/
|
4995
|
-
export declare const StylingEditorDialogFooter: (props:
|
4999
|
+
export declare const StylingEditorDialogFooter: (props: TStylingEditorDialogFooterProps) => React_2.JSX.Element;
|
4996
5000
|
|
4997
5001
|
/**
|
4998
5002
|
* @internal
|
@@ -5135,9 +5139,24 @@ export declare function transform2Dropdown<T extends IDateDataset>(dateDatasets:
|
|
5135
5139
|
* @param date - date to compare with cron expression
|
5136
5140
|
* @param cronExpression - cron expression to transform
|
5137
5141
|
* @param allowHourlyRecurrence - whether hourly recurrence is allowed
|
5142
|
+
* @param allowInheritValue - whether inherit value is allowed
|
5138
5143
|
* @param weekStart - Week start day
|
5139
5144
|
*/
|
5140
|
-
export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string, allowHourlyRecurrence: boolean, weekStart: WeekStart) => RecurrenceType;
|
5145
|
+
export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string | undefined, allowHourlyRecurrence: boolean, allowInheritValue: boolean, weekStart: WeekStart) => RecurrenceType;
|
5146
|
+
|
5147
|
+
/**
|
5148
|
+
* @internal
|
5149
|
+
*/
|
5150
|
+
export declare type TStylingEditorDialogFooterProps = {
|
5151
|
+
link: {
|
5152
|
+
text: string;
|
5153
|
+
url: string;
|
5154
|
+
};
|
5155
|
+
disableSubmit?: boolean;
|
5156
|
+
showProgressIndicator?: boolean;
|
5157
|
+
errorMessage?: string;
|
5158
|
+
onHelpClick?: () => void;
|
5159
|
+
} & Pick<IDialogBaseProps, "onCancel" | "onSubmit">;
|
5141
5160
|
|
5142
5161
|
/**
|
5143
5162
|
* @internal
|
@@ -5207,13 +5226,18 @@ export declare interface UiFocusTrapProps {
|
|
5207
5226
|
children: React_2.ReactNode;
|
5208
5227
|
autofocusOnOpen?: boolean;
|
5209
5228
|
onDeactivate?: () => void;
|
5210
|
-
|
5229
|
+
/**
|
5230
|
+
* Specify the element to return focus to when the trap is deactivated/closed.
|
5231
|
+
* If a string is provided, the focus will be returned to the element with the given id.
|
5232
|
+
* If a ref is provided, the focus will be returned to the element referenced by the ref.
|
5233
|
+
*/
|
5234
|
+
returnFocusTo?: React_2.RefObject<HTMLElement> | string;
|
5211
5235
|
}
|
5212
5236
|
|
5213
5237
|
/**
|
5214
5238
|
* @internal
|
5215
5239
|
*/
|
5216
|
-
export declare const UiIcon: ({ type, label, color, size }: UiIconProps) => React_2.JSX.Element;
|
5240
|
+
export declare const UiIcon: ({ type, label, color, ariaHidden, size }: UiIconProps) => React_2.JSX.Element;
|
5217
5241
|
|
5218
5242
|
/**
|
5219
5243
|
* @internal
|
@@ -5223,6 +5247,7 @@ export declare interface UiIconProps {
|
|
5223
5247
|
color?: ThemeColor;
|
5224
5248
|
label?: string;
|
5225
5249
|
size?: number;
|
5250
|
+
ariaHidden?: boolean;
|
5226
5251
|
}
|
5227
5252
|
|
5228
5253
|
/**
|
@@ -5257,7 +5282,7 @@ export declare interface UiPagedVirtualListSkeletonItemProps {
|
|
5257
5282
|
/**
|
5258
5283
|
* @internal
|
5259
5284
|
*/
|
5260
|
-
export declare function UiSkeleton({ itemsCount, itemHeight, itemWidth, itemsGap, direction, }: UiSkeletonProps): React_2.JSX.Element;
|
5285
|
+
export declare function UiSkeleton({ itemsCount, itemHeight, itemWidth, itemsGap, direction, itemBorderRadius, }: UiSkeletonProps): React_2.JSX.Element;
|
5261
5286
|
|
5262
5287
|
/**
|
5263
5288
|
* @internal
|
@@ -5283,6 +5308,10 @@ export declare interface UiSkeletonProps {
|
|
5283
5308
|
* Whether to render the skeleton in a row or column.
|
5284
5309
|
*/
|
5285
5310
|
direction?: "row" | "column";
|
5311
|
+
/**
|
5312
|
+
* Border radius of the item.
|
5313
|
+
*/
|
5314
|
+
itemBorderRadius?: number;
|
5286
5315
|
}
|
5287
5316
|
|
5288
5317
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/typings/utilities.ts"],"names":[],"mappings":"AAEA
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/typings/utilities.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,oBAAY,aAAa;IACrB,cAAc,KAAK;IACnB,eAAe,KAAK;CACvB"}
|
package/esm/typings/utilities.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../../src/typings/utilities.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../../src/typings/utilities.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC;;;GAGG;AACH,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,sEAAmB,CAAA;IACnB,wEAAoB,CAAA;AACxB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
3
|
-
"version": "10.25.0-alpha.
|
3
|
+
"version": "10.25.0-alpha.41",
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -68,11 +68,11 @@
|
|
68
68
|
"tslib": "^2.5.0",
|
69
69
|
"uuid": "^8.3.2",
|
70
70
|
"unified": "^11.0.5",
|
71
|
-
"@gooddata/sdk-backend-spi": "10.25.0-alpha.
|
72
|
-
"@gooddata/sdk-ui": "10.25.0-alpha.
|
73
|
-
"@gooddata/
|
74
|
-
"@gooddata/
|
75
|
-
"@gooddata/sdk-
|
71
|
+
"@gooddata/sdk-backend-spi": "10.25.0-alpha.41",
|
72
|
+
"@gooddata/sdk-ui": "10.25.0-alpha.41",
|
73
|
+
"@gooddata/util": "10.25.0-alpha.41",
|
74
|
+
"@gooddata/sdk-ui-theme-provider": "10.25.0-alpha.41",
|
75
|
+
"@gooddata/sdk-model": "10.25.0-alpha.41"
|
76
76
|
},
|
77
77
|
"peerDependencies": {
|
78
78
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
@@ -131,8 +131,8 @@
|
|
131
131
|
"typescript": "5.3.3",
|
132
132
|
"vitest": "3.0.8",
|
133
133
|
"vitest-dom": "0.1.1",
|
134
|
-
"@gooddata/reference-workspace": "10.25.0-alpha.
|
135
|
-
"@gooddata/sdk-backend-mockingbird": "10.25.0-alpha.
|
134
|
+
"@gooddata/reference-workspace": "10.25.0-alpha.41",
|
135
|
+
"@gooddata/sdk-backend-mockingbird": "10.25.0-alpha.41"
|
136
136
|
},
|
137
137
|
"scripts": {
|
138
138
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/aria.scss"],"names":[],"mappings":"AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA","file":"aria.css"}
|
package/styles/css/main.css
CHANGED
@@ -784,6 +784,9 @@
|
|
784
784
|
overflow: hidden;
|
785
785
|
text-overflow: ellipsis;
|
786
786
|
}
|
787
|
+
.gd-ui-kit-chip__tag {
|
788
|
+
margin-left: 2px;
|
789
|
+
}
|
787
790
|
.gd-ui-kit-chip__icon-before {
|
788
791
|
margin-right: 5px;
|
789
792
|
}
|
@@ -800,6 +803,18 @@
|
|
800
803
|
.gd-ui-kit-chip__icon-lock {
|
801
804
|
margin-left: 5px;
|
802
805
|
}
|
806
|
+
.sr-only {
|
807
|
+
position: absolute;
|
808
|
+
width: 1px;
|
809
|
+
height: 1px;
|
810
|
+
padding: 0;
|
811
|
+
margin: -1px;
|
812
|
+
overflow: hidden;
|
813
|
+
clip: rect(0, 0, 0, 0);
|
814
|
+
white-space: nowrap;
|
815
|
+
border-width: 0;
|
816
|
+
}
|
817
|
+
|
803
818
|
.gd-heading-1 {
|
804
819
|
color: var(--gd-palette-complementary-8, #464e56);
|
805
820
|
font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
|