@gooddata/sdk-ui-kit 10.25.0-alpha.5 → 10.25.0-alpha.50

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.
Files changed (149) hide show
  1. package/esm/@ui/UiButton/UiButton.js +1 -1
  2. package/esm/@ui/UiButton/UiButton.js.map +1 -1
  3. package/esm/@ui/UiChip/UiChip.d.ts.map +1 -1
  4. package/esm/@ui/UiChip/UiChip.js +9 -2
  5. package/esm/@ui/UiChip/UiChip.js.map +1 -1
  6. package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts +6 -1
  7. package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts.map +1 -1
  8. package/esm/@ui/UiFocusTrap/UiFocusTrap.js +16 -5
  9. package/esm/@ui/UiFocusTrap/UiFocusTrap.js.map +1 -1
  10. package/esm/@ui/UiSkeleton/UiSkeleton.d.ts +5 -1
  11. package/esm/@ui/UiSkeleton/UiSkeleton.d.ts.map +1 -1
  12. package/esm/@ui/UiSkeleton/UiSkeleton.js +2 -2
  13. package/esm/@ui/UiSkeleton/UiSkeleton.js.map +1 -1
  14. package/esm/Dialog/CommunityEditionDialog.d.ts.map +1 -1
  15. package/esm/Dialog/CommunityEditionDialog.js +5 -3
  16. package/esm/Dialog/CommunityEditionDialog.js.map +1 -1
  17. package/esm/Dialog/ConfirmDialogBase.d.ts +2 -6
  18. package/esm/Dialog/ConfirmDialogBase.d.ts.map +1 -1
  19. package/esm/Dialog/ConfirmDialogBase.js +32 -41
  20. package/esm/Dialog/ConfirmDialogBase.js.map +1 -1
  21. package/esm/Dialog/Dialog.d.ts +3 -5
  22. package/esm/Dialog/Dialog.d.ts.map +1 -1
  23. package/esm/Dialog/Dialog.js +10 -13
  24. package/esm/Dialog/Dialog.js.map +1 -1
  25. package/esm/Dialog/DialogBase.d.ts +2 -8
  26. package/esm/Dialog/DialogBase.d.ts.map +1 -1
  27. package/esm/Dialog/DialogBase.js +22 -39
  28. package/esm/Dialog/DialogBase.js.map +1 -1
  29. package/esm/Dialog/DialogCloseButton.d.ts +4 -0
  30. package/esm/Dialog/DialogCloseButton.d.ts.map +1 -0
  31. package/esm/Dialog/DialogCloseButton.js +8 -0
  32. package/esm/Dialog/DialogCloseButton.js.map +1 -0
  33. package/esm/Dialog/ExportDialog.d.ts +3 -3
  34. package/esm/Dialog/ExportDialog.d.ts.map +1 -1
  35. package/esm/Dialog/ExportDialog.js +3 -4
  36. package/esm/Dialog/ExportDialog.js.map +1 -1
  37. package/esm/Dialog/ExportDialogBase.d.ts +3 -11
  38. package/esm/Dialog/ExportDialogBase.d.ts.map +1 -1
  39. package/esm/Dialog/ExportDialogBase.js +14 -50
  40. package/esm/Dialog/ExportDialogBase.js.map +1 -1
  41. package/esm/Dialog/HubspotConversionTouchPointDialog.d.ts.map +1 -1
  42. package/esm/Dialog/HubspotConversionTouchPointDialog.js +5 -3
  43. package/esm/Dialog/HubspotConversionTouchPointDialog.js.map +1 -1
  44. package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts +6 -0
  45. package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts.map +1 -1
  46. package/esm/Dialog/HubspotConversionTouchPointDialogBase.js +3 -2
  47. package/esm/Dialog/HubspotConversionTouchPointDialogBase.js.map +1 -1
  48. package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.d.ts +3 -2
  49. package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.d.ts.map +1 -1
  50. package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js +5 -3
  51. package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js.map +1 -1
  52. package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.d.ts +3 -3
  53. package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.d.ts.map +1 -1
  54. package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js +1 -1
  55. package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js.map +1 -1
  56. package/esm/Dialog/StylingEditorDialog/index.d.ts +1 -1
  57. package/esm/Dialog/typings.d.ts +38 -21
  58. package/esm/Dialog/typings.d.ts.map +1 -1
  59. package/esm/Form/InputPure.d.ts.map +1 -1
  60. package/esm/Form/InputPure.js +1 -0
  61. package/esm/Form/InputPure.js.map +1 -1
  62. package/esm/List/InsightListItem.d.ts +2 -1
  63. package/esm/List/InsightListItem.d.ts.map +1 -1
  64. package/esm/List/InsightListItem.js +2 -2
  65. package/esm/List/InsightListItem.js.map +1 -1
  66. package/esm/RecurrenceForm/CronExpression.d.ts +1 -0
  67. package/esm/RecurrenceForm/CronExpression.d.ts.map +1 -1
  68. package/esm/RecurrenceForm/CronExpression.js +5 -5
  69. package/esm/RecurrenceForm/CronExpression.js.map +1 -1
  70. package/esm/RecurrenceForm/Recurrence.d.ts +3 -0
  71. package/esm/RecurrenceForm/Recurrence.d.ts.map +1 -1
  72. package/esm/RecurrenceForm/Recurrence.js +9 -4
  73. package/esm/RecurrenceForm/Recurrence.js.map +1 -1
  74. package/esm/RecurrenceForm/RecurrenceForm.d.ts +3 -1
  75. package/esm/RecurrenceForm/RecurrenceForm.d.ts.map +1 -1
  76. package/esm/RecurrenceForm/RecurrenceForm.js +9 -6
  77. package/esm/RecurrenceForm/RecurrenceForm.js.map +1 -1
  78. package/esm/RecurrenceForm/RepeatTypeSelect.d.ts +1 -0
  79. package/esm/RecurrenceForm/RepeatTypeSelect.d.ts.map +1 -1
  80. package/esm/RecurrenceForm/RepeatTypeSelect.js +18 -9
  81. package/esm/RecurrenceForm/RepeatTypeSelect.js.map +1 -1
  82. package/esm/RecurrenceForm/constants.d.ts +1 -6
  83. package/esm/RecurrenceForm/constants.d.ts.map +1 -1
  84. package/esm/RecurrenceForm/constants.js +2 -7
  85. package/esm/RecurrenceForm/constants.js.map +1 -1
  86. package/esm/RecurrenceForm/locales.d.ts.map +1 -1
  87. package/esm/RecurrenceForm/locales.js +2 -1
  88. package/esm/RecurrenceForm/locales.js.map +1 -1
  89. package/esm/RecurrenceForm/utils.d.ts +3 -2
  90. package/esm/RecurrenceForm/utils.d.ts.map +1 -1
  91. package/esm/RecurrenceForm/utils.js +7 -2
  92. package/esm/RecurrenceForm/utils.js.map +1 -1
  93. package/esm/RecurrenceForm/utils.test.js +75 -65
  94. package/esm/RecurrenceForm/utils.test.js.map +1 -1
  95. package/esm/RichText/RichText.d.ts +4 -0
  96. package/esm/RichText/RichText.d.ts.map +1 -1
  97. package/esm/RichText/RichText.js +4 -3
  98. package/esm/RichText/RichText.js.map +1 -1
  99. package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts +1 -0
  100. package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts.map +1 -1
  101. package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js +7 -4
  102. package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js.map +1 -1
  103. package/esm/RichText/hooks/useEvaluatedReferences.d.ts +1 -0
  104. package/esm/RichText/hooks/useEvaluatedReferences.d.ts.map +1 -1
  105. package/esm/RichText/hooks/useEvaluatedReferences.js.map +1 -1
  106. package/esm/Typography/Typography.d.ts +1 -0
  107. package/esm/Typography/Typography.d.ts.map +1 -1
  108. package/esm/Typography/Typography.js +3 -3
  109. package/esm/Typography/Typography.js.map +1 -1
  110. package/esm/responsive/interfaces.d.ts +4 -0
  111. package/esm/responsive/interfaces.d.ts.map +1 -1
  112. package/esm/responsive/interfaces.js +1 -1
  113. package/esm/responsive/useMediaQuery.d.ts.map +1 -1
  114. package/esm/responsive/useMediaQuery.js +3 -1
  115. package/esm/responsive/useMediaQuery.js.map +1 -1
  116. package/esm/sdk-ui-kit.d.ts +97 -63
  117. package/esm/typings/utilities.d.ts +1 -0
  118. package/esm/typings/utilities.d.ts.map +1 -1
  119. package/esm/typings/utilities.js +2 -1
  120. package/esm/typings/utilities.js.map +1 -1
  121. package/package.json +8 -8
  122. package/src/@ui/UiChip/UiChip.scss +2 -0
  123. package/styles/css/aria.css +13 -0
  124. package/styles/css/aria.css.map +1 -0
  125. package/styles/css/bubble.css +1 -1
  126. package/styles/css/button.css +2 -2
  127. package/styles/css/datepicker.css +6 -6
  128. package/styles/css/descriptionPanel.css +1 -1
  129. package/styles/css/dialog.css +3 -3
  130. package/styles/css/dialogList.css +2 -2
  131. package/styles/css/form.css +2 -2
  132. package/styles/css/header.css +9 -9
  133. package/styles/css/hyperlink.css +1 -1
  134. package/styles/css/invertableSelect.css +1 -1
  135. package/styles/css/list.css +4 -4
  136. package/styles/css/main.css +72 -57
  137. package/styles/css/main.css.map +1 -1
  138. package/styles/css/menu.css +4 -4
  139. package/styles/css/messages.css +1 -1
  140. package/styles/css/overlay.css +3 -3
  141. package/styles/css/settingWidget.css +1 -1
  142. package/styles/css/shareDialog.css +4 -4
  143. package/styles/css/shareDialogSelectControl.css +3 -3
  144. package/styles/css/stylingEditorDialog.css +1 -1
  145. package/styles/css/tabs.css +1 -1
  146. package/styles/css/typo.css +11 -11
  147. package/styles/scss/aria.scss +13 -0
  148. package/styles/scss/main.scss +1 -0
  149. package/styles/scss/variables.scss +1 -1
@@ -475,10 +475,7 @@ export declare class ConfirmDialog extends PureComponent<IConfirmDialogBaseProps
475
475
  /**
476
476
  * @internal
477
477
  */
478
- export declare class ConfirmDialogBase extends DialogBase<IConfirmDialogBaseProps> {
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 class Dialog extends Component<IDialogBaseProps> {
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 class DialogBase<P extends IDialogBaseProps> extends PureComponent<P> {
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: (props: IExportDialogBaseProps) => JSX.Element;
710
+ export declare const ExportDialog: React_2.NamedExoticComponent<IExportDialogProps>;
721
711
 
722
712
  /**
723
713
  * @internal
724
714
  */
725
- export declare class ExportDialogBase extends DialogBase<IExportDialogBaseProps> {
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
- * If true, the dialog will autofocus on the first focusable element when it is opened.
1518
- * Default is true.
1519
- */
1520
- autofocusOnOpen?: boolean;
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 IDialogBaseProps {
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"> {
1987
1992
  filterContextText?: string;
1988
1993
  filterContextTitle?: string;
1989
1994
  filterContextVisible?: boolean;
@@ -1992,22 +1997,19 @@ export declare interface IExportDialogBaseProps extends IDialogBaseProps {
1992
1997
  mergeHeadersDisabled?: boolean;
1993
1998
  mergeHeadersText?: string;
1994
1999
  mergeHeadersTitle?: string;
2000
+ onSubmit?: (data: IExportDialogData) => void;
1995
2001
  }
1996
2002
 
1997
2003
  /**
1998
2004
  * @internal
1999
2005
  */
2000
- export declare interface IExportDialogBaseState {
2001
- includeFilterContext: boolean;
2002
- mergeHeaders: boolean;
2003
- }
2006
+ export declare type IExportDialogData = Pick<IExportDialogBaseProps, "includeFilterContext" | "mergeHeaders">;
2004
2007
 
2005
2008
  /**
2006
2009
  * @internal
2007
2010
  */
2008
- export declare interface IExportDialogData {
2009
- includeFilterContext: boolean;
2010
- mergeHeaders: boolean;
2011
+ export declare interface IExportDialogProps extends IExportDialogBaseProps {
2012
+ containerClassName?: string;
2011
2013
  }
2012
2014
 
2013
2015
  /**
@@ -2338,6 +2340,12 @@ export declare interface IHubspotConversionTouchPointDialogBaseProps {
2338
2340
  * Form submitted callback function
2339
2341
  */
2340
2342
  onFormSubmitted?: () => void;
2343
+ /**
2344
+ * Properties enabling proper accessibility
2345
+ */
2346
+ accessibilityConfig?: {
2347
+ titleElementId: string;
2348
+ };
2341
2349
  }
2342
2350
 
2343
2351
  /**
@@ -2415,6 +2423,7 @@ export declare interface IInsightListItemProps {
2415
2423
  useRichText?: boolean;
2416
2424
  useReferences?: boolean;
2417
2425
  metadataTimeZone?: string;
2426
+ richTextExecConfig?: IExecutionConfig;
2418
2427
  LoadingComponent?: React_2.ComponentType;
2419
2428
  }
2420
2429
 
@@ -2892,6 +2901,10 @@ export declare interface IMediaQueries {
2892
2901
  * Is screen classified as 'md' or larger?
2893
2902
  */
2894
2903
  ">=md": string;
2904
+ /**
2905
+ * Is screen classified as 'md' or smaller?
2906
+ */
2907
+ "<=md": string;
2895
2908
  /**
2896
2909
  * Is screen classified as 'md'?
2897
2910
  */
@@ -3498,7 +3511,8 @@ export declare interface IReactOptions {
3498
3511
  */
3499
3512
  export declare interface IRecurrenceFormProps {
3500
3513
  startDate?: Date | null;
3501
- cronExpression: string;
3514
+ cronExpression?: string;
3515
+ placeholder?: string;
3502
3516
  onChange: (cronExpression: string, startDate: Date | null, isValid: boolean) => void;
3503
3517
  locale?: string;
3504
3518
  dateFormat?: string;
@@ -3511,6 +3525,7 @@ export declare interface IRecurrenceFormProps {
3511
3525
  allowHourlyRecurrence?: boolean;
3512
3526
  showRepeatTypeDescription?: boolean;
3513
3527
  showTimezoneInOccurrence?: boolean;
3528
+ showInheritValue?: boolean;
3514
3529
  onRecurrenceDropdownOpen?: () => void;
3515
3530
  }
3516
3531
 
@@ -3520,10 +3535,13 @@ export declare interface IRecurrenceFormProps {
3520
3535
  export declare interface IRecurrenceProps {
3521
3536
  label: string;
3522
3537
  showRepeatTypeDescription?: boolean;
3538
+ showInheritValue?: boolean;
3523
3539
  recurrenceType: RecurrenceType;
3540
+ inheritRecurrenceType?: RecurrenceType;
3524
3541
  startDate?: Date | null;
3525
3542
  timezone?: string;
3526
3543
  cronValue: string;
3544
+ cronPlaceholder?: string;
3527
3545
  weekStart?: WeekStart;
3528
3546
  onRepeatTypeChange: (repeatType: string) => void;
3529
3547
  onCronValueChange: (cronValue: string, isValid: boolean) => void;
@@ -3612,6 +3630,10 @@ export declare interface IRichTextProps {
3612
3630
  * Filters to be used for rendering references.
3613
3631
  */
3614
3632
  filters?: IFilter[];
3633
+ /**
3634
+ * If true, the filters are loading.
3635
+ */
3636
+ isFiltersLoading?: boolean;
3615
3637
  /**
3616
3638
  * Separators to be used for rendering references.
3617
3639
  */
@@ -4014,21 +4036,7 @@ export declare const isSpaceKey: (event: KeyboardEvent_2) => boolean;
4014
4036
  /**
4015
4037
  * @internal
4016
4038
  */
4017
- export declare interface IStylingEditorDialogFooterProps extends IDialogBaseProps {
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 {
4039
+ export declare interface IStylingEditorDialogProps<T extends StylingPickerItemContent> extends TStylingEditorDialogFooterProps, Pick<IDialogBaseProps, "onClose" | "className"> {
4032
4040
  title: string;
4033
4041
  tooltip?: string;
4034
4042
  stylingItem?: IStylingPickerItem<T>;
@@ -4210,6 +4218,7 @@ export declare interface ITypographyProps {
4210
4218
  className?: string;
4211
4219
  onClick?: (e: React_2.MouseEvent) => void;
4212
4220
  title?: string;
4221
+ id?: string;
4213
4222
  }
4214
4223
 
4215
4224
  /**
@@ -4695,6 +4704,7 @@ export declare const Recurrence: React_2.FC<IRecurrenceProps>;
4695
4704
  * @internal
4696
4705
  */
4697
4706
  export declare const RECURRENCE_TYPES: {
4707
+ INHERIT: string;
4698
4708
  HOURLY: string;
4699
4709
  DAILY: string;
4700
4710
  WEEKLY: string;
@@ -4992,7 +5002,7 @@ export declare const StylingEditorDialog: <T extends StylingPickerItemContent>(p
4992
5002
  /**
4993
5003
  * @internal
4994
5004
  */
4995
- export declare const StylingEditorDialogFooter: (props: IStylingEditorDialogFooterProps) => React_2.JSX.Element;
5005
+ export declare const StylingEditorDialogFooter: (props: TStylingEditorDialogFooterProps) => React_2.JSX.Element;
4996
5006
 
4997
5007
  /**
4998
5008
  * @internal
@@ -5135,9 +5145,24 @@ export declare function transform2Dropdown<T extends IDateDataset>(dateDatasets:
5135
5145
  * @param date - date to compare with cron expression
5136
5146
  * @param cronExpression - cron expression to transform
5137
5147
  * @param allowHourlyRecurrence - whether hourly recurrence is allowed
5148
+ * @param allowInheritValue - whether inherit value is allowed
5138
5149
  * @param weekStart - Week start day
5139
5150
  */
5140
- export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string, allowHourlyRecurrence: boolean, weekStart: WeekStart) => RecurrenceType;
5151
+ export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string | undefined, allowHourlyRecurrence: boolean, allowInheritValue: boolean, weekStart: WeekStart) => RecurrenceType;
5152
+
5153
+ /**
5154
+ * @internal
5155
+ */
5156
+ export declare type TStylingEditorDialogFooterProps = {
5157
+ link: {
5158
+ text: string;
5159
+ url: string;
5160
+ };
5161
+ disableSubmit?: boolean;
5162
+ showProgressIndicator?: boolean;
5163
+ errorMessage?: string;
5164
+ onHelpClick?: () => void;
5165
+ } & Pick<IDialogBaseProps, "onCancel" | "onSubmit">;
5141
5166
 
5142
5167
  /**
5143
5168
  * @internal
@@ -5207,7 +5232,12 @@ export declare interface UiFocusTrapProps {
5207
5232
  children: React_2.ReactNode;
5208
5233
  autofocusOnOpen?: boolean;
5209
5234
  onDeactivate?: () => void;
5210
- returnFocusTo?: React_2.RefObject<HTMLElement>;
5235
+ /**
5236
+ * Specify the element to return focus to when the trap is deactivated/closed.
5237
+ * If a string is provided, the focus will be returned to the element with the given id.
5238
+ * If a ref is provided, the focus will be returned to the element referenced by the ref.
5239
+ */
5240
+ returnFocusTo?: React_2.RefObject<HTMLElement> | string;
5211
5241
  }
5212
5242
 
5213
5243
  /**
@@ -5258,7 +5288,7 @@ export declare interface UiPagedVirtualListSkeletonItemProps {
5258
5288
  /**
5259
5289
  * @internal
5260
5290
  */
5261
- export declare function UiSkeleton({ itemsCount, itemHeight, itemWidth, itemsGap, direction, }: UiSkeletonProps): React_2.JSX.Element;
5291
+ export declare function UiSkeleton({ itemsCount, itemHeight, itemWidth, itemsGap, direction, itemBorderRadius, }: UiSkeletonProps): React_2.JSX.Element;
5262
5292
 
5263
5293
  /**
5264
5294
  * @internal
@@ -5284,6 +5314,10 @@ export declare interface UiSkeletonProps {
5284
5314
  * Whether to render the skeleton in a row or column.
5285
5315
  */
5286
5316
  direction?: "row" | "column";
5317
+ /**
5318
+ * Border radius of the item.
5319
+ */
5320
+ itemBorderRadius?: number;
5287
5321
  }
5288
5322
 
5289
5323
  /**
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * @deprecated use `event.key` or `event.code`. See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
2
3
  * @internal
3
4
  */
4
5
  export declare enum ENUM_KEY_CODE {
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/typings/utilities.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,aAAa;IACrB,cAAc,KAAK;IACnB,eAAe,KAAK;CACvB"}
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"}
@@ -1,5 +1,6 @@
1
- // (C) 2020 GoodData Corporation
1
+ // (C) 2020-2025 GoodData Corporation
2
2
  /**
3
+ * @deprecated use `event.key` or `event.code`. See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
3
4
  * @internal
4
5
  */
5
6
  export var ENUM_KEY_CODE;
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../../src/typings/utilities.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC;;GAEG;AACH,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,sEAAmB,CAAA;IACnB,wEAAoB,CAAA;AACxB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB"}
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.5",
3
+ "version": "10.25.0-alpha.50",
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.5",
72
- "@gooddata/sdk-ui": "10.25.0-alpha.5",
73
- "@gooddata/sdk-model": "10.25.0-alpha.5",
74
- "@gooddata/util": "10.25.0-alpha.5",
75
- "@gooddata/sdk-ui-theme-provider": "10.25.0-alpha.5"
71
+ "@gooddata/sdk-backend-spi": "10.25.0-alpha.50",
72
+ "@gooddata/sdk-ui": "10.25.0-alpha.50",
73
+ "@gooddata/sdk-model": "10.25.0-alpha.50",
74
+ "@gooddata/util": "10.25.0-alpha.50",
75
+ "@gooddata/sdk-ui-theme-provider": "10.25.0-alpha.50"
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.5",
135
- "@gooddata/sdk-backend-mockingbird": "10.25.0-alpha.5"
134
+ "@gooddata/reference-workspace": "10.25.0-alpha.50",
135
+ "@gooddata/sdk-backend-mockingbird": "10.25.0-alpha.50"
136
136
  },
137
137
  "scripts": {
138
138
  "clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
@@ -154,6 +154,8 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
154
154
 
155
155
  &__tag {
156
156
  @extend %ui-button__text;
157
+
158
+ margin-left: 2px;
157
159
  }
158
160
 
159
161
  &__icon-before {
@@ -0,0 +1,13 @@
1
+ .sr-only {
2
+ position: absolute;
3
+ width: 1px;
4
+ height: 1px;
5
+ padding: 0;
6
+ margin: -1px;
7
+ overflow: hidden;
8
+ clip: rect(0, 0, 0, 0);
9
+ white-space: nowrap;
10
+ border-width: 0;
11
+ }
12
+
13
+ /*# sourceMappingURL=aria.css.map */
@@ -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"}
@@ -90,7 +90,7 @@
90
90
  .bubble .bubble-content .content,
91
91
  .bubble .bubble-content .content p,
92
92
  .bubble .bubble-content .content a {
93
- font: 400 12px/18px gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
93
+ font: 400 12px/18px var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
94
94
  }
95
95
  .bubble .bubble-content .content p {
96
96
  margin: 0;
@@ -14,7 +14,7 @@
14
14
  align-items: center;
15
15
  padding: 5px 14px;
16
16
  border: 1px solid transparent;
17
- font: 400 14px/20px gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
17
+ font: 400 14px/20px var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
18
18
  white-space: nowrap;
19
19
  vertical-align: middle;
20
20
  cursor: pointer;
@@ -359,7 +359,7 @@
359
359
  display: inline-flex;
360
360
  padding: 0 6px;
361
361
  border: 1px solid transparent;
362
- font: 400 14px/30px gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
362
+ font: 400 14px/30px var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
363
363
  vertical-align: middle;
364
364
  color: var(--gd-palette-primary-base, #14b2e2);
365
365
  background: none;
@@ -443,7 +443,7 @@
443
443
  margin-bottom: 0.6em;
444
444
  }
445
445
  .gd-datepicker-picker .rdp-caption_label {
446
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
446
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
447
447
  font-size: 17px;
448
448
  text-align: center;
449
449
  font-weight: normal;
@@ -456,7 +456,7 @@
456
456
  display: table-cell;
457
457
  color: var(--gd-palette-complementary-8-from-theme, #94a1ad);
458
458
  cursor: help;
459
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
459
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
460
460
  font-weight: 400;
461
461
  font-size: 13px;
462
462
  text-transform: none;
@@ -469,7 +469,7 @@
469
469
  .gd-datepicker-picker .rdp-day {
470
470
  padding: 0.3125em 0.55em;
471
471
  color: var(--gd-palette-complementary-8, #464e56);
472
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
472
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
473
473
  font-size: 14px;
474
474
  font-weight: 700;
475
475
  text-align: center;
@@ -566,7 +566,7 @@
566
566
  margin-left: 0.25em;
567
567
  margin-right: 0.25em;
568
568
  margin-bottom: 1em;
569
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
569
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
570
570
  font-size: 17px;
571
571
  text-align: center;
572
572
  }
@@ -581,7 +581,7 @@
581
581
  color: var(--gd-palette-complementary-8-from-theme, #94a1ad);
582
582
  cursor: help;
583
583
  padding-bottom: 0.5em;
584
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
584
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
585
585
  font-weight: 400;
586
586
  font-size: 13px;
587
587
  text-align: center;
@@ -600,7 +600,7 @@
600
600
  display: table-cell;
601
601
  padding: 0.3125em 0.55em;
602
602
  color: var(--gd-palette-complementary-8, #464e56);
603
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
603
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
604
604
  font-size: 14px;
605
605
  font-weight: 700;
606
606
  text-align: center;
@@ -31,7 +31,7 @@
31
31
  flex-direction: column;
32
32
  gap: 10px;
33
33
  background-color: var(--gd-palette-complementary-0, #fff);
34
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
34
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
35
35
  max-height: 510px;
36
36
  overflow: hidden;
37
37
  padding: 15px 0;
@@ -121,7 +121,7 @@
121
121
  }
122
122
  .gd-dialog-header h2 {
123
123
  color: var(--gd-palette-complementary-8, #464e56);
124
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
124
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
125
125
  font-weight: 400;
126
126
  font-weight: 700;
127
127
  line-height: 26px;
@@ -129,7 +129,7 @@
129
129
  }
130
130
  .gd-dialog-header h3 {
131
131
  color: var(--gd-palette-complementary-8, #464e56);
132
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
132
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
133
133
  font-weight: 400;
134
134
  font-weight: 700;
135
135
  line-height: 23px;
@@ -142,7 +142,7 @@
142
142
 
143
143
  .gd-dialog-icon {
144
144
  color: var(--gd-palette-complementary-8, #464e56);
145
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
145
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
146
146
  font-weight: 400;
147
147
  font-weight: 700;
148
148
  line-height: 30px;
@@ -6,7 +6,7 @@
6
6
  min-height: 50px;
7
7
  padding-bottom: 5px;
8
8
  font-weight: normal;
9
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
9
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
10
10
  font-size: 14px;
11
11
  line-height: 20px;
12
12
  color: var(--gd-palette-complementary-6, #94a1ad);
@@ -20,7 +20,7 @@
20
20
  padding-top: 10px;
21
21
  text-align: center;
22
22
  font-weight: normal;
23
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
23
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  color: var(--gd-palette-complementary-6, #94a1ad);
@@ -33,7 +33,7 @@
33
33
  color: var(--gd-palette-complementary-8, #464e56);
34
34
  background: var(--gd-palette-complementary-0, #fff);
35
35
  font-size: 14px;
36
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
36
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
37
37
  font-weight: 200;
38
38
  border-radius: 3px;
39
39
  box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
@@ -413,7 +413,7 @@ textarea.gd-input, textarea.input-text {
413
413
  color: var(--gd-palette-complementary-8, #464e56);
414
414
  background: var(--gd-palette-complementary-0, #fff);
415
415
  font-size: 14px;
416
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
416
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
417
417
  font-weight: 200;
418
418
  color: var(--gd-palette-complementary-6-from-theme, #b0beca);
419
419
  min-width: 30px;