aefis-core-ui 3.0.0-rc21 → 3.0.0-rc23

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.d.ts CHANGED
@@ -127,7 +127,8 @@ import UnstableAvatarTitle from "./components/AvatarTitle/UnstableAvatarTitle";
127
127
  import Widget from "./components/Widget/Widget";
128
128
  import TextTransition from "./components/TextTransition/TextTransition";
129
129
  import SurveyComments from "./components/SurveyComments/SurveyComments";
130
+ import IconButton from "./components/IconButton/IconButton";
130
131
  import { useSelectFormState } from "./components/DynamicForm/store";
131
132
  import { useSetFormState } from "./components/DynamicForm/store";
132
133
  import useReadOnly from "./components/DynamicForm/hooks/useReadOnly/useReadOnly";
133
- export { UnstableDataTable, UnstableRichDataTable, Actions, Alert, AppToolbar, AssessmentPerformanceChart, AvatarBox, ActionMenuButton, AvatarTitle, Breadcrumbs, BusinessObjectHeader, BusinessObject, businessObjectColor, businessObjectConfiguration, businessObjectIcon, businessObjectIconName, BusinessObjectCard, BusinessObjectCardSectionTitle, BusinessObjectCardEmptySection, BusinessObjectCardSection, BusinessObjectPanel, BusinessObjectPanelHeader, BusinessObjectPanelSection, BusinessObjectPanelSectionTitle, BusinessObjectPicker, BusinessObjectStatus, BusinessObjectStatusButton, Collapsible, CollapsibleProvider, useCollapsibleState, CollapsibleContent, CollapsibleContentContainer, CollapsibleContentButton, CollapsibleContentButtonContainer, withStatusButtonDataSource, BusinessObjectTable, Button, Footer, Chip, ChipList, ContactForm, ContentBox, ContentBoxHeader, CoreProvider, createEvent, createStore, CurriculumChart, dataSourceManager, getConfiguration, setDataSourceConfiguration, registerDataSource, registerDataSources, useDataSourceQuery, useDataSourceInfiniteQuery, useDataSourceMutation, filterSortData, getBaseUrl, getDataSourceUrl, DataTable, DateTitle, DynamicForm, DatePicker, DisplayInFrame, DocViewer, Drawer, EditableText, FilterPanel, FilterPanelFilterChips, FilterPanelMapFilters, FullPageViewer, http, Icon, Image, IsometricImage, List, ListItem, ListItemGroup, MenuButton, ModalDialog, Navigation, NavigationDrawer, Notification, OutcomeSpace, outcomeSpaceColor, outcomeSpaceTypeFromSource, PanelDrawer, ProgressChart, RichDataTable, RubricDistributionChart, RubricScoreSlider, RubricLegend, SaveModal, ScrollToTopButton, ScrollingContainer, SentimentScale, SkeletonContent, StatBoxes, StatRow, StatusMessage, SvgImage, SwipeableTabPanel, SwipeableTabPanelContent, TabPanels, template, TextBuilder, TextBuilderStore, Timeline, TitleAndActionHeader, TitleAndDescription, useComponentWillMount, useDataSourceUrl, useDebounceCallback, useNotify, UserAvatar, WizardPanel, WizardCompletedItemList, useRefDimensions, createComponentEvent, DynamicFormBusinessObjectPickerField, UnstableScrollingContainer, UnstableAvatarTitle, Widget, TextTransition, SurveyComments };
134
+ export { UnstableDataTable, UnstableRichDataTable, Actions, Alert, AppToolbar, AssessmentPerformanceChart, AvatarBox, ActionMenuButton, AvatarTitle, Breadcrumbs, BusinessObjectHeader, BusinessObject, businessObjectColor, businessObjectConfiguration, businessObjectIcon, businessObjectIconName, BusinessObjectCard, BusinessObjectCardSectionTitle, BusinessObjectCardEmptySection, BusinessObjectCardSection, BusinessObjectPanel, BusinessObjectPanelHeader, BusinessObjectPanelSection, BusinessObjectPanelSectionTitle, BusinessObjectPicker, BusinessObjectStatus, BusinessObjectStatusButton, Collapsible, CollapsibleProvider, useCollapsibleState, CollapsibleContent, CollapsibleContentContainer, CollapsibleContentButton, CollapsibleContentButtonContainer, withStatusButtonDataSource, BusinessObjectTable, Button, Footer, Chip, ChipList, ContactForm, ContentBox, ContentBoxHeader, CoreProvider, createEvent, createStore, CurriculumChart, dataSourceManager, getConfiguration, setDataSourceConfiguration, registerDataSource, registerDataSources, useDataSourceQuery, useDataSourceInfiniteQuery, useDataSourceMutation, filterSortData, getBaseUrl, getDataSourceUrl, DataTable, DateTitle, DynamicForm, DatePicker, DisplayInFrame, DocViewer, Drawer, EditableText, FilterPanel, FilterPanelFilterChips, FilterPanelMapFilters, FullPageViewer, http, Icon, Image, IsometricImage, List, ListItem, ListItemGroup, MenuButton, ModalDialog, Navigation, NavigationDrawer, Notification, OutcomeSpace, outcomeSpaceColor, outcomeSpaceTypeFromSource, PanelDrawer, ProgressChart, RichDataTable, RubricDistributionChart, RubricScoreSlider, RubricLegend, SaveModal, ScrollToTopButton, ScrollingContainer, SentimentScale, SkeletonContent, StatBoxes, StatRow, StatusMessage, SvgImage, SwipeableTabPanel, SwipeableTabPanelContent, TabPanels, template, TextBuilder, TextBuilderStore, Timeline, TitleAndActionHeader, TitleAndDescription, useComponentWillMount, useDataSourceUrl, useDebounceCallback, useNotify, UserAvatar, WizardPanel, WizardCompletedItemList, useRefDimensions, createComponentEvent, DynamicFormBusinessObjectPickerField, UnstableScrollingContainer, UnstableAvatarTitle, Widget, TextTransition, SurveyComments, IconButton };
@@ -10545,12 +10545,16 @@ const ModalDialog = props => {
10545
10545
  titleComponent: props.titleComponent,
10546
10546
  showCloseIconButton: props.showCloseIconButton,
10547
10547
  children: props.title
10548
- }), props.formatContent && /*#__PURE__*/jsx(DialogContent$1, _extends({
10548
+ }), props.formatContent && /*#__PURE__*/jsxs(DialogContent$1, _extends({
10549
10549
  id: `modal-content-${id}`
10550
10550
  }, props.dialogContentProps, {
10551
- children: props.children
10552
- })), !props.formatContent && /*#__PURE__*/jsx(UnformattedDialogContent$1, _extends({}, props.dialogContentProps, {
10553
- children: props.children
10551
+ children: [props.text && /*#__PURE__*/jsx(DialogContentText, {
10552
+ children: props.text
10553
+ }), props.children]
10554
+ })), !props.formatContent && /*#__PURE__*/jsxs(UnformattedDialogContent$1, _extends({}, props.dialogContentProps, {
10555
+ children: [props.text && /*#__PURE__*/jsx(DialogContentText, {
10556
+ children: props.text
10557
+ }), props.children]
10554
10558
  })), props.size !== "fullscreen" && !props.hideFooter && /*#__PURE__*/jsxs(DialogActions, {
10555
10559
  children: [/*#__PURE__*/jsx(Button, {
10556
10560
  name: props.cancelButtonText,
@@ -10591,6 +10595,8 @@ ModalDialog.propTypes = {
10591
10595
  id: PropTypes.string,
10592
10596
  /** The content of the modal dialog. */
10593
10597
  children: PropTypes.any,
10598
+ /** Text to display as part of the dialog. */
10599
+ text: PropTypes.string,
10594
10600
  /** The function executed when the confirm button is clicked. */
10595
10601
  onConfirm: PropTypes.func,
10596
10602
  /** The function to handle the close of the dialog. In general, the function must pass a boolean value and is usually handled by state. */
@@ -31027,5 +31033,5 @@ const DynamicFormHooks = {
31027
31033
  useReadOnly
31028
31034
  };
31029
31035
 
31030
- export { ActionMenuButton, Actions$1 as Actions, Alert, AppToolbar, AssessmentPerformanceChart, AvatarBox, AvatarTitle$1 as AvatarTitle, Breadcrumbs$1 as Breadcrumbs, BusinessObject, BusinessObjectCard, EmptyCardSection as BusinessObjectCardEmptySection, CardSection as BusinessObjectCardSection, CardSectionTitle as BusinessObjectCardSectionTitle, BusinessObjectHeader, BusinessObjectPanel, Header$1 as BusinessObjectPanelHeader, Section as BusinessObjectPanelSection, SectionTitle as BusinessObjectPanelSectionTitle, BusinessObjectPicker$1 as BusinessObjectPicker, BusinessObjectStatus, BusinessObjectStatusButton, BusinessObjectTable, Button, Chip, ChipList, Collapsible, CollapsibleContent, CollapsibleContentButton, CollapsibleContentButtonContainer, CollapsibleContentContainer, CollapsibleProvider, ContactForm, ContentBox, ContentBoxHeader, CoreProvider, CurriculumChart, DataTable$1 as DataTable, DatePickerBase as DatePicker, DateTitle, DisplayInFrame, DocViewer, Drawer$1 as Drawer, DynamicForm$1 as DynamicForm, BusinessObjectPickerField$1 as DynamicFormBusinessObjectPickerField, DynamicFormHooks, EditableText, FilterPanel, FilterChips$1 as FilterPanelFilterChips, mapFilters as FilterPanelMapFilters, Footer, FullPageViewer, Icon$1 as Icon, Image$1 as Image, IsometricImage, List, ListItem, ListItemGroup, MenuButton, ModalDialog, Navigation, NavigationDrawer, Notification, OutcomeSpace, PanelDrawer, ProgressChart, RichDataTable$1 as RichDataTable, RubricDistributionChart, RubricLegend, RubricScoreSlider, SaveModal, ScrollToTopButton, ScrollingContainer$1 as ScrollingContainer, SentimentScale, SkeletonContent, StatBoxes, StatRow, StatusMessage, SurveyComments, SvgImage, SwipeableTabPanel, Content as SwipeableTabPanelContent, TabPanels, TextBuilder$1 as TextBuilder, store as TextBuilderStore, TextTransition, Timeline, TitleAndActionHeader, TitleAndDescription, AvatarTitle as UnstableAvatarTitle, DataTable as UnstableDataTable, RichDataTable as UnstableRichDataTable, ScrollingContainer as UnstableScrollingContainer, UserAvatar, Widget, CompletedItemList as WizardCompletedItemList, WizardPanel, businessObjectColor, businessObjectConfiguration, businessObjectIcon, businessObjectIconName, createComponentEvent, createEvent, createComponentStore as createStore, dataSourceManager, filterSortData, getBaseUrl, getConfiguration, getDataSourceUrl, http, outcomeSpaceColor, outcomeSpaceTypeFromSource, registerDataSource, registerDataSources, setDataSourceConfiguration, template, useCollapsibleState, useComponentWillMount, useDataSourceInfiniteQuery, useDataSourceMutation, useDataSourceQuery, useDataSourceUrl, useDebounceCallback, useNotify, useRefDimensions, withStatusButtonDataSource };
31036
+ export { ActionMenuButton, Actions$1 as Actions, Alert, AppToolbar, AssessmentPerformanceChart, AvatarBox, AvatarTitle$1 as AvatarTitle, Breadcrumbs$1 as Breadcrumbs, BusinessObject, BusinessObjectCard, EmptyCardSection as BusinessObjectCardEmptySection, CardSection as BusinessObjectCardSection, CardSectionTitle as BusinessObjectCardSectionTitle, BusinessObjectHeader, BusinessObjectPanel, Header$1 as BusinessObjectPanelHeader, Section as BusinessObjectPanelSection, SectionTitle as BusinessObjectPanelSectionTitle, BusinessObjectPicker$1 as BusinessObjectPicker, BusinessObjectStatus, BusinessObjectStatusButton, BusinessObjectTable, Button, Chip, ChipList, Collapsible, CollapsibleContent, CollapsibleContentButton, CollapsibleContentButtonContainer, CollapsibleContentContainer, CollapsibleProvider, ContactForm, ContentBox, ContentBoxHeader, CoreProvider, CurriculumChart, DataTable$1 as DataTable, DatePickerBase as DatePicker, DateTitle, DisplayInFrame, DocViewer, Drawer$1 as Drawer, DynamicForm$1 as DynamicForm, BusinessObjectPickerField$1 as DynamicFormBusinessObjectPickerField, DynamicFormHooks, EditableText, FilterPanel, FilterChips$1 as FilterPanelFilterChips, mapFilters as FilterPanelMapFilters, Footer, FullPageViewer, Icon$1 as Icon, IconButton, Image$1 as Image, IsometricImage, List, ListItem, ListItemGroup, MenuButton, ModalDialog, Navigation, NavigationDrawer, Notification, OutcomeSpace, PanelDrawer, ProgressChart, RichDataTable$1 as RichDataTable, RubricDistributionChart, RubricLegend, RubricScoreSlider, SaveModal, ScrollToTopButton, ScrollingContainer$1 as ScrollingContainer, SentimentScale, SkeletonContent, StatBoxes, StatRow, StatusMessage, SurveyComments, SvgImage, SwipeableTabPanel, Content as SwipeableTabPanelContent, TabPanels, TextBuilder$1 as TextBuilder, store as TextBuilderStore, TextTransition, Timeline, TitleAndActionHeader, TitleAndDescription, AvatarTitle as UnstableAvatarTitle, DataTable as UnstableDataTable, RichDataTable as UnstableRichDataTable, ScrollingContainer as UnstableScrollingContainer, UserAvatar, Widget, CompletedItemList as WizardCompletedItemList, WizardPanel, businessObjectColor, businessObjectConfiguration, businessObjectIcon, businessObjectIconName, createComponentEvent, createEvent, createComponentStore as createStore, dataSourceManager, filterSortData, getBaseUrl, getConfiguration, getDataSourceUrl, http, outcomeSpaceColor, outcomeSpaceTypeFromSource, registerDataSource, registerDataSources, setDataSourceConfiguration, template, useCollapsibleState, useComponentWillMount, useDataSourceInfiniteQuery, useDataSourceMutation, useDataSourceQuery, useDataSourceUrl, useDebounceCallback, useNotify, useRefDimensions, withStatusButtonDataSource };
31031
31037
  //# sourceMappingURL=index.modern.js.map