@kubit-ui-web/react-components 1.8.1 → 1.8.3
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/cjs/components/carousel/carouselStandAlone.js +1 -1
- package/dist/cjs/components/carousel/carouselStandAlone.js.map +1 -1
- package/dist/cjs/components/checkboxWithLabel/checkboxWithLabelControlled.js +3 -0
- package/dist/cjs/components/checkboxWithLabel/checkboxWithLabelControlled.js.map +1 -1
- package/dist/cjs/components/checkboxWithLabel/checkboxWithLabelUncontrolled.js +3 -0
- package/dist/cjs/components/checkboxWithLabel/checkboxWithLabelUncontrolled.js.map +1 -1
- package/dist/cjs/components/confirmationMessage/confirmationMessage.js +3 -0
- package/dist/cjs/components/confirmationMessage/confirmationMessage.js.map +1 -1
- package/dist/cjs/components/cssAnimation/cssAnimation.js +2 -1
- package/dist/cjs/components/cssAnimation/cssAnimation.js.map +1 -1
- package/dist/cjs/components/dataTable/dataTable.js +6 -2
- package/dist/cjs/components/dataTable/dataTable.js.map +1 -1
- package/dist/cjs/components/dataTable/dataTableStandAlone.js +2 -2
- package/dist/cjs/components/dataTable/dataTableStandAlone.js.map +1 -1
- package/dist/cjs/components/dataTable/hooks/index.js +3 -1
- package/dist/cjs/components/dataTable/hooks/index.js.map +1 -1
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyDividers.js +91 -0
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyDividers.js.map +1 -0
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyLeftColumns.js +74 -0
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyLeftColumns.js.map +1 -0
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyRightColumns.js +82 -0
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyRightColumns.js.map +1 -0
- package/dist/cjs/components/elementOrIcon/elementOrIcon.js +2 -3
- package/dist/cjs/components/elementOrIcon/elementOrIcon.js.map +1 -1
- package/dist/cjs/components/elementOrIllustration/elementOrIllustration.js +0 -1
- package/dist/cjs/components/elementOrIllustration/elementOrIllustration.js.map +1 -1
- package/dist/cjs/components/emptyState/emptyState.js +3 -0
- package/dist/cjs/components/emptyState/emptyState.js.map +1 -1
- package/dist/cjs/components/footer/components/footerSection.js +3 -3
- package/dist/cjs/components/footer/components/footerSection.js.map +1 -1
- package/dist/cjs/components/footer/footer.js +3 -0
- package/dist/cjs/components/footer/footer.js.map +1 -1
- package/dist/cjs/components/footer/footer.styled.js +31 -32
- package/dist/cjs/components/footer/footer.styled.js.map +1 -1
- package/dist/cjs/components/footer/footerStandAlone.js +42 -23
- package/dist/cjs/components/footer/footerStandAlone.js.map +1 -1
- package/dist/cjs/components/footer/utils/getOrderConfiguration.js +22 -0
- package/dist/cjs/components/footer/utils/getOrderConfiguration.js.map +1 -0
- package/dist/cjs/components/header/header.js +3 -0
- package/dist/cjs/components/header/header.js.map +1 -1
- package/dist/cjs/components/headerStructure/headerStructure.js +3 -0
- package/dist/cjs/components/headerStructure/headerStructure.js.map +1 -1
- package/dist/cjs/components/icon/icon.js +1 -1
- package/dist/cjs/components/icon/icon.js.map +1 -1
- package/dist/cjs/components/icon/iconHost.js +7 -0
- package/dist/cjs/components/icon/iconHost.js.map +1 -1
- package/dist/cjs/components/icon/iconStandAlone.js +5 -6
- package/dist/cjs/components/icon/iconStandAlone.js.map +1 -1
- package/dist/cjs/components/index.js +25 -19
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/inputDate/hooks/useInputDate.js +0 -6
- package/dist/cjs/components/inputDate/hooks/useInputDate.js.map +1 -1
- package/dist/cjs/components/inputDate/inputDate.js +9 -3
- package/dist/cjs/components/inputDate/inputDate.js.map +1 -1
- package/dist/cjs/components/inputDate/inputDateStandAlone.js +1 -1
- package/dist/cjs/components/inputDate/inputDateStandAlone.js.map +1 -1
- package/dist/cjs/components/inputDropdown/hooks/useInputDropdown.js.map +1 -1
- package/dist/cjs/components/inputSearch/hooks/useInputSearch.js.map +1 -1
- package/dist/cjs/components/lineSeparator/lineSeparator.js.map +1 -1
- package/dist/cjs/components/listOptions/listOptionsStandAlone.js +3 -1
- package/dist/cjs/components/listOptions/listOptionsStandAlone.js.map +1 -1
- package/dist/cjs/components/loader/loader.js +10 -0
- package/dist/cjs/components/loader/loader.js.map +1 -1
- package/dist/cjs/components/loadingState/loadingState.js +3 -0
- package/dist/cjs/components/loadingState/loadingState.js.map +1 -1
- package/dist/cjs/components/mediaProgressBar/mediaProgressBar.styled.js +2 -0
- package/dist/cjs/components/mediaProgressBar/mediaProgressBar.styled.js.map +1 -1
- package/dist/cjs/components/oliveMenu/oliveMenuStandAlone.js +2 -2
- package/dist/cjs/components/oliveMenu/oliveMenuStandAlone.js.map +1 -1
- package/dist/cjs/components/oliveMenu/utils/getAriaControls.js +1 -1
- package/dist/cjs/components/oliveMenu/utils/getAriaControls.js.map +1 -1
- package/dist/cjs/components/operativeLayout/operativeLayout.js +3 -0
- package/dist/cjs/components/operativeLayout/operativeLayout.js.map +1 -1
- package/dist/cjs/components/pill/pill.styled.js +7 -1
- package/dist/cjs/components/pill/pill.styled.js.map +1 -1
- package/dist/cjs/components/pill/pillStandAlone.js +2 -1
- package/dist/cjs/components/pill/pillStandAlone.js.map +1 -1
- package/dist/cjs/components/pillSelector/pillSelectorStandAlone.js +4 -2
- package/dist/cjs/components/pillSelector/pillSelectorStandAlone.js.map +1 -1
- package/dist/cjs/components/portal/portal.js +1 -0
- package/dist/cjs/components/portal/portal.js.map +1 -1
- package/dist/cjs/components/snackbar/snackbarStandAlone.js +5 -2
- package/dist/cjs/components/snackbar/snackbarStandAlone.js.map +1 -1
- package/dist/cjs/components/table/component/table.js +3 -1
- package/dist/cjs/components/table/component/table.js.map +1 -1
- package/dist/cjs/components/table/table.styled.js +9 -1
- package/dist/cjs/components/table/table.styled.js.map +1 -1
- package/dist/cjs/components/tableCell/tableCell.styled.js +1 -1
- package/dist/cjs/components/tableV2/hooks/index.js +2 -1
- package/dist/cjs/components/tableV2/hooks/index.js.map +1 -1
- package/dist/cjs/components/tableV2/hooks/useTableStickyLeftColumns.js +72 -0
- package/dist/cjs/components/tableV2/hooks/useTableStickyLeftColumns.js.map +1 -0
- package/dist/cjs/components/tableV2/hooks/useTableStickyRightColumns.js +80 -0
- package/dist/cjs/components/tableV2/hooks/useTableStickyRightColumns.js.map +1 -0
- package/dist/cjs/components/tableV2/table.js +5 -3
- package/dist/cjs/components/tableV2/table.js.map +1 -1
- package/dist/cjs/components/text/textStandAlone.js +1 -1
- package/dist/cjs/components/text/textStandAlone.js.map +1 -1
- package/dist/cjs/components/textCount/textCount.js +1 -0
- package/dist/cjs/components/textCount/textCount.js.map +1 -1
- package/dist/cjs/components/thirdPartyAnimation/thirdPartyAnimation.js +7 -0
- package/dist/cjs/components/thirdPartyAnimation/thirdPartyAnimation.js.map +1 -1
- package/dist/cjs/components/toggleWithLabel/toggleWithLabelControlled.js +3 -0
- package/dist/cjs/components/toggleWithLabel/toggleWithLabelControlled.js.map +1 -1
- package/dist/cjs/components/toggleWithLabel/toggleWithLabelUncontrolled.js +3 -0
- package/dist/cjs/components/toggleWithLabel/toggleWithLabelUncontrolled.js.map +1 -1
- package/dist/cjs/designSystem/kubit/components/table/styles.js +4 -4
- package/dist/esm/components/carousel/carouselStandAlone.js +1 -1
- package/dist/esm/components/carousel/carouselStandAlone.js.map +1 -1
- package/dist/esm/components/carousel/types/carousel.d.ts +3 -2
- package/dist/esm/components/checkboxWithLabel/checkboxWithLabelControlled.d.ts +3 -0
- package/dist/esm/components/checkboxWithLabel/checkboxWithLabelControlled.js +3 -0
- package/dist/esm/components/checkboxWithLabel/checkboxWithLabelControlled.js.map +1 -1
- package/dist/esm/components/checkboxWithLabel/checkboxWithLabelUncontrolled.d.ts +3 -0
- package/dist/esm/components/checkboxWithLabel/checkboxWithLabelUncontrolled.js +3 -0
- package/dist/esm/components/checkboxWithLabel/checkboxWithLabelUncontrolled.js.map +1 -1
- package/dist/esm/components/confirmationMessage/confirmationMessage.d.ts +3 -0
- package/dist/esm/components/confirmationMessage/confirmationMessage.js +3 -0
- package/dist/esm/components/confirmationMessage/confirmationMessage.js.map +1 -1
- package/dist/esm/components/cssAnimation/cssAnimation.d.ts +2 -1
- package/dist/esm/components/cssAnimation/cssAnimation.js +2 -1
- package/dist/esm/components/cssAnimation/cssAnimation.js.map +1 -1
- package/dist/esm/components/dataTable/dataTable.js +7 -3
- package/dist/esm/components/dataTable/dataTable.js.map +1 -1
- package/dist/esm/components/dataTable/dataTableStandAlone.js +2 -2
- package/dist/esm/components/dataTable/dataTableStandAlone.js.map +1 -1
- package/dist/esm/components/dataTable/hooks/index.d.ts +3 -1
- package/dist/esm/components/dataTable/hooks/index.js +3 -1
- package/dist/esm/components/dataTable/hooks/index.js.map +1 -1
- package/dist/esm/components/dataTable/hooks/useDataTableStickyDividers.d.ts +7 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyDividers.js +64 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyDividers.js.map +1 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyLeftColumns.d.ts +7 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyLeftColumns.js +47 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyLeftColumns.js.map +1 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyRightColumns.d.ts +7 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyRightColumns.js +55 -0
- package/dist/esm/components/dataTable/hooks/useDataTableStickyRightColumns.js.map +1 -0
- package/dist/esm/components/dataTable/types/dataTable.d.ts +4 -1
- package/dist/esm/components/elementOrIcon/elementOrIcon.d.ts +2 -3
- package/dist/esm/components/elementOrIcon/elementOrIcon.js +2 -3
- package/dist/esm/components/elementOrIcon/elementOrIcon.js.map +1 -1
- package/dist/esm/components/elementOrIllustration/elementOrIllustration.d.ts +0 -1
- package/dist/esm/components/elementOrIllustration/elementOrIllustration.js +0 -1
- package/dist/esm/components/elementOrIllustration/elementOrIllustration.js.map +1 -1
- package/dist/esm/components/emptyState/emptyState.d.ts +3 -0
- package/dist/esm/components/emptyState/emptyState.js +3 -0
- package/dist/esm/components/emptyState/emptyState.js.map +1 -1
- package/dist/esm/components/footer/components/footerSection.d.ts +9 -2
- package/dist/esm/components/footer/components/footerSection.js +3 -3
- package/dist/esm/components/footer/components/footerSection.js.map +1 -1
- package/dist/esm/components/footer/footer.d.ts +3 -0
- package/dist/esm/components/footer/footer.js +3 -0
- package/dist/esm/components/footer/footer.js.map +1 -1
- package/dist/esm/components/footer/footer.styled.d.ts +7 -3
- package/dist/esm/components/footer/footer.styled.js +30 -31
- package/dist/esm/components/footer/footer.styled.js.map +1 -1
- package/dist/esm/components/footer/footerStandAlone.js +36 -17
- package/dist/esm/components/footer/footerStandAlone.js.map +1 -1
- package/dist/esm/components/footer/types/footer.d.ts +4 -3
- package/dist/esm/components/footer/utils/getOrderConfiguration.d.ts +9 -0
- package/dist/esm/components/footer/utils/getOrderConfiguration.js +18 -0
- package/dist/esm/components/footer/utils/getOrderConfiguration.js.map +1 -0
- package/dist/esm/components/header/header.d.ts +3 -0
- package/dist/esm/components/header/header.js +3 -0
- package/dist/esm/components/header/header.js.map +1 -1
- package/dist/esm/components/headerStructure/headerStructure.d.ts +3 -0
- package/dist/esm/components/headerStructure/headerStructure.js +3 -0
- package/dist/esm/components/headerStructure/headerStructure.js.map +1 -1
- package/dist/esm/components/icon/icon.js +1 -1
- package/dist/esm/components/icon/icon.js.map +1 -1
- package/dist/esm/components/icon/iconHost.d.ts +7 -0
- package/dist/esm/components/icon/iconHost.js +7 -0
- package/dist/esm/components/icon/iconHost.js.map +1 -1
- package/dist/esm/components/icon/iconStandAlone.js +5 -6
- package/dist/esm/components/icon/iconStandAlone.js.map +1 -1
- package/dist/esm/components/icon/types/icon.d.ts +2 -0
- package/dist/esm/components/index.d.ts +25 -19
- package/dist/esm/components/index.js +25 -19
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/components/inputDate/hooks/useInputDate.d.ts +0 -1
- package/dist/esm/components/inputDate/hooks/useInputDate.js +0 -6
- package/dist/esm/components/inputDate/hooks/useInputDate.js.map +1 -1
- package/dist/esm/components/inputDate/inputDate.js +9 -3
- package/dist/esm/components/inputDate/inputDate.js.map +1 -1
- package/dist/esm/components/inputDate/inputDateStandAlone.js +1 -1
- package/dist/esm/components/inputDate/inputDateStandAlone.js.map +1 -1
- package/dist/esm/components/inputDropdown/hooks/useInputDropdown.d.ts +4 -0
- package/dist/esm/components/inputDropdown/hooks/useInputDropdown.js.map +1 -1
- package/dist/esm/components/inputDropdown/types/inputDropdown.d.ts +4 -0
- package/dist/esm/components/inputSearch/hooks/useInputSearch.d.ts +4 -0
- package/dist/esm/components/inputSearch/hooks/useInputSearch.js.map +1 -1
- package/dist/esm/components/inputSearch/types/inputSearch.d.ts +4 -0
- package/dist/esm/components/lineSeparator/lineSeparator.d.ts +2 -1
- package/dist/esm/components/lineSeparator/lineSeparator.js +2 -1
- package/dist/esm/components/lineSeparator/lineSeparator.js.map +1 -1
- package/dist/esm/components/listOptions/listOptionsStandAlone.js +3 -1
- package/dist/esm/components/listOptions/listOptionsStandAlone.js.map +1 -1
- package/dist/esm/components/loader/loader.d.ts +5 -4
- package/dist/esm/components/loader/loader.js +3 -2
- package/dist/esm/components/loader/loader.js.map +1 -1
- package/dist/esm/components/loadingState/loadingState.d.ts +3 -0
- package/dist/esm/components/loadingState/loadingState.js +3 -0
- package/dist/esm/components/loadingState/loadingState.js.map +1 -1
- package/dist/esm/components/mediaProgressBar/mediaProgressBar.styled.js +2 -0
- package/dist/esm/components/mediaProgressBar/mediaProgressBar.styled.js.map +1 -1
- package/dist/esm/components/oliveMenu/oliveMenuStandAlone.js +2 -2
- package/dist/esm/components/oliveMenu/oliveMenuStandAlone.js.map +1 -1
- package/dist/esm/components/oliveMenu/utils/getAriaControls.js +1 -1
- package/dist/esm/components/oliveMenu/utils/getAriaControls.js.map +1 -1
- package/dist/esm/components/operativeLayout/operativeLayout.d.ts +3 -0
- package/dist/esm/components/operativeLayout/operativeLayout.js +3 -0
- package/dist/esm/components/operativeLayout/operativeLayout.js.map +1 -1
- package/dist/esm/components/pill/pill.styled.d.ts +2 -0
- package/dist/esm/components/pill/pill.styled.js +6 -0
- package/dist/esm/components/pill/pill.styled.js.map +1 -1
- package/dist/esm/components/pill/pillStandAlone.js +3 -2
- package/dist/esm/components/pill/pillStandAlone.js.map +1 -1
- package/dist/esm/components/pill/types/pill.d.ts +6 -1
- package/dist/esm/components/pill/types/pillTheme.d.ts +3 -0
- package/dist/esm/components/pillSelector/pillSelectorStandAlone.js +4 -2
- package/dist/esm/components/pillSelector/pillSelectorStandAlone.js.map +1 -1
- package/dist/esm/components/pillSelector/types/pillSelector.d.ts +8 -1
- package/dist/esm/components/portal/portal.d.ts +1 -0
- package/dist/esm/components/portal/portal.js +1 -0
- package/dist/esm/components/portal/portal.js.map +1 -1
- package/dist/esm/components/snackbar/snackbarStandAlone.js +5 -2
- package/dist/esm/components/snackbar/snackbarStandAlone.js.map +1 -1
- package/dist/esm/components/table/component/table.js +3 -1
- package/dist/esm/components/table/component/table.js.map +1 -1
- package/dist/esm/components/table/table.styled.d.ts +2 -0
- package/dist/esm/components/table/table.styled.js +9 -1
- package/dist/esm/components/table/table.styled.js.map +1 -1
- package/dist/esm/components/table/types/table.d.ts +8 -0
- package/dist/esm/components/tableCell/tableCell.styled.js +1 -1
- package/dist/esm/components/tableCell/types/tableCell.d.ts +4 -1
- package/dist/esm/components/tableV2/hooks/index.d.ts +2 -1
- package/dist/esm/components/tableV2/hooks/index.js +2 -1
- package/dist/esm/components/tableV2/hooks/index.js.map +1 -1
- package/dist/esm/components/tableV2/hooks/useTableStickyLeftColumns.d.ts +8 -0
- package/dist/esm/components/tableV2/hooks/useTableStickyLeftColumns.js +45 -0
- package/dist/esm/components/tableV2/hooks/useTableStickyLeftColumns.js.map +1 -0
- package/dist/esm/components/tableV2/hooks/useTableStickyRightColumns.d.ts +8 -0
- package/dist/esm/components/tableV2/hooks/useTableStickyRightColumns.js +53 -0
- package/dist/esm/components/tableV2/hooks/useTableStickyRightColumns.js.map +1 -0
- package/dist/esm/components/tableV2/table.js +6 -4
- package/dist/esm/components/tableV2/table.js.map +1 -1
- package/dist/esm/components/tableV2/types/table.d.ts +1 -0
- package/dist/esm/components/text/textStandAlone.js +1 -1
- package/dist/esm/components/text/textStandAlone.js.map +1 -1
- package/dist/esm/components/textCount/textCount.d.ts +1 -0
- package/dist/esm/components/textCount/textCount.js +1 -0
- package/dist/esm/components/textCount/textCount.js.map +1 -1
- package/dist/esm/components/thirdPartyAnimation/thirdPartyAnimation.d.ts +6 -5
- package/dist/esm/components/thirdPartyAnimation/thirdPartyAnimation.js +4 -3
- package/dist/esm/components/thirdPartyAnimation/thirdPartyAnimation.js.map +1 -1
- package/dist/esm/components/toggleWithLabel/toggleWithLabelControlled.d.ts +3 -0
- package/dist/esm/components/toggleWithLabel/toggleWithLabelControlled.js +3 -0
- package/dist/esm/components/toggleWithLabel/toggleWithLabelControlled.js.map +1 -1
- package/dist/esm/components/toggleWithLabel/toggleWithLabelUncontrolled.d.ts +3 -0
- package/dist/esm/components/toggleWithLabel/toggleWithLabelUncontrolled.js +3 -0
- package/dist/esm/components/toggleWithLabel/toggleWithLabelUncontrolled.js.map +1 -1
- package/dist/esm/designSystem/kubit/components/table/styles.js +4 -4
- package/package.json +5 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.styled.js","sourceRoot":"","sources":["../../../../src/components/footer/footer.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,EAAoC,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"footer.styled.js","sourceRoot":"","sources":["../../../../src/components/footer/footer.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAA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AAY,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ;;;MAG5D,gBAAgB;wBACE,YAAY;IAC5B,CAAC,CAAC,YAAY;QACZ,CAAC,CAAC,gBAAgB;QAClB,CAAC,CAAC,QAAQ;IACZ,CAAC,CAAC,YAAY;QACZ,CAAC,CAAC,aAAa;QACf,CAAC,CAAC,KAAK;;GAEd;CACF,CAAC"}
|
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { DeviceBreakpointsType } from '../../types';
|
|
3
4
|
import { pickAriaProps } from '../../utils/aria/aria';
|
|
4
5
|
// inner components
|
|
5
6
|
import { FooterSection } from './components';
|
|
6
7
|
import { FooterStyled } from './footer.styled';
|
|
7
8
|
import { ContentDirectionType, FooterMobileColumnFlow, FooterPositionType, } from './types';
|
|
9
|
+
import { getOrderConfiguration } from './utils/getOrderConfiguration';
|
|
8
10
|
// simple container tag
|
|
9
11
|
const FOOTER = 'footer';
|
|
10
|
-
const
|
|
12
|
+
const DEFAULT_SORT = {
|
|
13
|
+
column: FooterMobileColumnFlow.DEFAULT,
|
|
14
|
+
firstContent: FooterPositionType.LEFT,
|
|
15
|
+
secondContent: FooterPositionType.CENTER,
|
|
16
|
+
thirdContent: FooterPositionType.RIGHT,
|
|
17
|
+
};
|
|
18
|
+
const FooterStandAloneComponent = ({ orderInverse = [], footerMobileSortConfig = DEFAULT_SORT, ...props }, ref) => {
|
|
11
19
|
if (!props.children) {
|
|
12
20
|
return null;
|
|
13
21
|
}
|
|
14
22
|
const ariaProps = pickAriaProps(props);
|
|
15
23
|
const asFooter = props.simpleContainer ? undefined : FOOTER;
|
|
24
|
+
// START CONTENT: Remove when footerMobileSortConfig is removed
|
|
25
|
+
if (footerMobileSortConfig?.column === FooterMobileColumnFlow.REVERSE) {
|
|
26
|
+
orderInverse.push(DeviceBreakpointsType.MOBILE);
|
|
27
|
+
}
|
|
28
|
+
// END CONTENT
|
|
29
|
+
const setVertical = props.contentDirection === ContentDirectionType.VERTICAL ||
|
|
30
|
+
// START CONTENT: Remove when forceVertical is removed
|
|
31
|
+
props.forceVertical;
|
|
32
|
+
// END CONTENT
|
|
33
|
+
const orderConfiguration = getOrderConfiguration(props.tabInverse || [], orderInverse);
|
|
16
34
|
const renderChildren = (children) => {
|
|
17
35
|
const childrenArray = React.Children.toArray(children);
|
|
18
36
|
const positions = {
|
|
@@ -24,15 +42,19 @@ const FooterStandAloneComponent = ({ ...props }, ref) => {
|
|
|
24
42
|
childrenArray.forEach((child) => {
|
|
25
43
|
let position = child?.props?.['data-position'];
|
|
26
44
|
// START CONTENT: Remove when footerMobileSortConfig is removed
|
|
27
|
-
if (props.
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
if (footerMobileSortConfig && props.device === DeviceBreakpointsType.MOBILE) {
|
|
46
|
+
const { firstContent, secondContent, thirdContent } = footerMobileSortConfig;
|
|
47
|
+
if (position === firstContent) {
|
|
48
|
+
positions[FooterPositionType.LEFT].push(child);
|
|
49
|
+
return;
|
|
30
50
|
}
|
|
31
|
-
else if (
|
|
32
|
-
|
|
51
|
+
else if (position === secondContent) {
|
|
52
|
+
positions[FooterPositionType.CENTER].push(child);
|
|
53
|
+
return;
|
|
33
54
|
}
|
|
34
|
-
else if (
|
|
35
|
-
|
|
55
|
+
else if (position === thirdContent) {
|
|
56
|
+
positions[FooterPositionType.RIGHT].push(child);
|
|
57
|
+
return;
|
|
36
58
|
}
|
|
37
59
|
}
|
|
38
60
|
// END CONTENT
|
|
@@ -49,16 +71,13 @@ const FooterStandAloneComponent = ({ ...props }, ref) => {
|
|
|
49
71
|
positions[position].push(child);
|
|
50
72
|
}
|
|
51
73
|
});
|
|
52
|
-
const sections = Object.entries(positions).map(([position, children]) => (_jsx(FooterSection, {
|
|
53
|
-
|
|
74
|
+
const sections = Object.entries(positions).map(([position, children]) => (_jsx(FooterSection, { alignItems: props.alignItems, orderConfiguration: {
|
|
75
|
+
flexReverse: orderConfiguration[props.device].flexReverse,
|
|
76
|
+
reverse: orderConfiguration[props.device].reverse,
|
|
77
|
+
}, position: position, setVertical: setVertical, styles: props.styles, children: children }, position)));
|
|
78
|
+
return _jsx(_Fragment, { children: orderConfiguration[props.device].reverse ? sections.reverse() : sections });
|
|
54
79
|
};
|
|
55
|
-
|
|
56
|
-
const forceVertical = props.forceVertical || props.contentDirection === ContentDirectionType.VERTICAL;
|
|
57
|
-
// END CONTENT
|
|
58
|
-
// START CONTENT: Remove when footerMobileSortConfig is removed
|
|
59
|
-
const tabInverse = props.tabInverse || props.footerMobileSortConfig?.column === FooterMobileColumnFlow.REVERSE;
|
|
60
|
-
// END CONTENT
|
|
61
|
-
return (_jsx(FooterStyled, { ...ariaProps, ...props, ref: ref, "$forceVertical": forceVertical, "$tabInverse": tabInverse, as: asFooter, "data-testid": props.dataTestId, lineSeparatorLineStyles: props.lineSeparatorLineStyles, role: props.role, styles: props.styles, children: renderChildren(props.children) }));
|
|
80
|
+
return (_jsx(FooterStyled, { ...ariaProps, ...props, ref: ref, "$flexReverse": orderConfiguration[props.device].flexReverse, "$setVertical": setVertical, as: asFooter, "data-testid": props.dataTestId, lineSeparatorLineStyles: props.lineSeparatorLineStyles, role: props.role, styles: props.styles, children: renderChildren(props.children) }));
|
|
62
81
|
};
|
|
63
82
|
export const FooterStandAlone = React.forwardRef(FooterStandAloneComponent);
|
|
64
83
|
//# sourceMappingURL=footerStandAlone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footerStandAlone.js","sourceRoot":"","sources":["../../../../src/components/footer/footerStandAlone.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,mBAAmB;AACnB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"footerStandAlone.js","sourceRoot":"","sources":["../../../../src/components/footer/footerStandAlone.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,mBAAmB;AACnB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,GAGnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,uBAAuB;AACvB,MAAM,MAAM,GAAG,QAAQ,CAAC;AAExB,MAAM,YAAY,GAAe;IAC/B,MAAM,EAAE,sBAAsB,CAAC,OAAO;IACtC,YAAY,EAAE,kBAAkB,CAAC,IAAI;IACrC,aAAa,EAAE,kBAAkB,CAAC,MAAM;IACxC,YAAY,EAAE,kBAAkB,CAAC,KAAK;CACvC,CAAC;AAEF,MAAM,yBAAyB,GAAG,CAChC,EAAE,YAAY,GAAG,EAAE,EAAE,sBAAsB,GAAG,YAAY,EAAE,GAAG,KAAK,EAAqB,EACzF,GAAuD,EACnC,EAAE;IACtB,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,SAAS,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IACvC,MAAM,QAAQ,GAAG,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;IAE5D,+DAA+D;IAC/D,IAAI,sBAAsB,EAAE,MAA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B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAI,CAAC;IACzF,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,OACP,SAAS,KACT,KAAK,EACT,GAAG,EAAE,GAAG,kBACM,kBAAkB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,WAAW,kBAC5C,WAAW,EACzB,EAAE,EAAE,QAAQ,iBACC,KAAK,CAAC,UAAU,EAC7B,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,EACtD,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,MAAM,EAAE,KAAK,CAAC,MAAM,YAEnB,cAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,GAClB,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -25,13 +25,14 @@ export interface IFooterStandAlone extends FooterAriaAttributes {
|
|
|
25
25
|
role?: ROLES;
|
|
26
26
|
children: IPositionedElement[] | IPositionedElement;
|
|
27
27
|
dataTestId?: string;
|
|
28
|
+
contentDirection?: ContentDirectionType;
|
|
29
|
+
simpleContainer?: boolean;
|
|
28
30
|
/**
|
|
29
31
|
* @deprecated
|
|
30
32
|
*/
|
|
31
|
-
contentDirection?: ContentDirectionType;
|
|
32
|
-
simpleContainer?: boolean;
|
|
33
33
|
forceVertical?: boolean;
|
|
34
|
-
tabInverse?:
|
|
34
|
+
tabInverse?: DeviceBreakpointsType[];
|
|
35
|
+
orderInverse?: DeviceBreakpointsType[];
|
|
35
36
|
/**
|
|
36
37
|
* @deprecated
|
|
37
38
|
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeviceBreakpointsType } from '../../../types';
|
|
2
|
+
interface Configuration {
|
|
3
|
+
[key: string]: {
|
|
4
|
+
flexReverse: boolean;
|
|
5
|
+
reverse: boolean;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare const getOrderConfiguration: (tabInverse: DeviceBreakpointsType[], orderInverse: DeviceBreakpointsType[]) => Configuration;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DeviceBreakpointsType } from '../../../types';
|
|
2
|
+
export const getOrderConfiguration = (tabInverse, orderInverse) => {
|
|
3
|
+
const breakpoints = [
|
|
4
|
+
DeviceBreakpointsType.MOBILE,
|
|
5
|
+
DeviceBreakpointsType.TABLET,
|
|
6
|
+
DeviceBreakpointsType.DESKTOP,
|
|
7
|
+
];
|
|
8
|
+
const configuration = {};
|
|
9
|
+
breakpoints.forEach(breakpoint => {
|
|
10
|
+
configuration[breakpoint] = {
|
|
11
|
+
flexReverse: tabInverse.includes(breakpoint),
|
|
12
|
+
reverse: (tabInverse.includes(breakpoint) && !orderInverse.includes(breakpoint)) ||
|
|
13
|
+
(orderInverse.includes(breakpoint) && !tabInverse.includes(breakpoint)),
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
return configuration;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=getOrderConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrderConfiguration.js","sourceRoot":"","sources":["../../../../../src/components/footer/utils/getOrderConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAShD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,UAAmC,EACnC,YAAqC,EACtB,EAAE;IACjB,MAAM,WAAW,GAAG;QAClB,qBAAqB,CAAC,MAAM;QAC5B,qBAAqB,CAAC,MAAM;QAC5B,qBAAqB,CAAC,OAAO;KAC9B,CAAC;IAEF,MAAM,aAAa,GAAkB,EAAE,CAAC;IAExC,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;QAC/B,aAAa,CAAC,UAAU,CAAC,GAAG;YAC1B,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC;YAC5C,OAAO,EACL,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;gBACvE,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;SAC1E,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IHeader } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated This component has been deprecated and will be removed in the next MAJOR release. Will include all this on the NavBar component
|
|
5
|
+
*/
|
|
3
6
|
declare const Header: <V extends string | unknown>(props: IHeader<V> & {
|
|
4
7
|
ref?: React.ForwardedRef<HTMLDivElement> | undefined | null;
|
|
5
8
|
}) => JSX.Element;
|
|
@@ -18,6 +18,9 @@ const HeaderComponent = React.forwardRef(({ variant, ctv, showShadowFrom, ...pro
|
|
|
18
18
|
});
|
|
19
19
|
HeaderComponent.displayName = 'HeaderComponent';
|
|
20
20
|
const HeaderBoundary = (props, ref) => (_jsx(ErrorBoundary, { fallBackComponent: _jsx(FallbackComponent, { children: _jsx(HeaderStandAlone, { ...props, ref: ref }) }), children: _jsx(HeaderComponent, { ...props, ref: ref }) }));
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated This component has been deprecated and will be removed in the next MAJOR release. Will include all this on the NavBar component
|
|
23
|
+
*/
|
|
21
24
|
const Header = React.forwardRef(HeaderBoundary);
|
|
22
25
|
export { Header };
|
|
23
26
|
//# sourceMappingURL=header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../../../src/components/header/header.tsx"],"names":[],"mapp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AAE,MAAM,GAAI,CAAC;AACzF,CAAC,CACF,CAAC;AACF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,MAAM,cAAc,GAAG,CACrB,KAAiB,EACjB,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,gBAAgB,OAAM,KAAsC,EAAE,GAAG,EAAE,GAAG,GAAI,GACzD,YAGtB,KAAC,eAAe,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GAC1B,CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,cAAc,CAI9B,CAAC;AAEjB,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IHeaderStructure } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated This component has been deprecated and will be removed in the next MAJOR release. Will include all this on the NavBar component
|
|
5
|
+
*/
|
|
3
6
|
declare const HeaderStructure: <V extends string | unknown>(props: IHeaderStructure<V> & {
|
|
4
7
|
ref?: React.ForwardedRef<HTMLDivElement> | undefined | null;
|
|
5
8
|
}) => React.JSX.Element;
|
|
@@ -13,6 +13,9 @@ const HeaderStructureComponent = React.forwardRef(({ variant, ctv, ...props }, r
|
|
|
13
13
|
});
|
|
14
14
|
HeaderStructureComponent.displayName = 'HeaderStructureComponent';
|
|
15
15
|
const HeaderStructureBoundary = (props, ref) => (_jsx(ErrorBoundary, { fallBackComponent: _jsx(FallbackComponent, { children: _jsx(HeaderStandAlone, { scrolling: false, ...props, ref: ref }) }), children: _jsx(HeaderStructureComponent, { ...props, ref: ref }) }));
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated This component has been deprecated and will be removed in the next MAJOR release. Will include all this on the NavBar component
|
|
18
|
+
*/
|
|
16
19
|
const HeaderStructure = React.forwardRef(HeaderStructureBoundary);
|
|
17
20
|
export { HeaderStructure };
|
|
18
21
|
//# sourceMappingURL=headerStructure.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerStructure.js","sourceRoot":"","sources":["../../../../src/components/headerStructure/headerStructure.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,MAAM,wBAAwB,GAAG,KAAK,CAAC,UAAU,CAC/C,CACE,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,KAAK,EAAuB,EAC/C,GAA0D,EACvC,EAAE;IACrB,MAAM,MAAM,GAAG,SAAS,CACtB,WAAW,CAAC,gBAAgB,EAC5B,OAAO,EACP,GAAG,CACJ,CAAC;IACF,MAAM,MAAM,GAAG,cAAc,EAAE,CAAC;IAChC,MAAM,MAAM,GAAG,iBAAiB,EAAE,CAAC;IAEnC,OAAO,CACL,KAAC,gBAAgB,OACX,KAAK,EACT,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAAG,CAAC,EACrB,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC;AAElE,MAAM,uBAAuB,GAAG,CAC9B,KAA0B,EAC1B,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,gBAAgB,IACf,SAAS,EAAE,KAAK,KACX,KAAsC,EAC3C,GAAG,EAAE,GAAG,GACR,GACgB,YAGtB,KAAC,wBAAwB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GACnC,CACjB,CAAC;AAEF,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAI1C,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"headerStructure.js","sourceRoot":"","sources":["../../../../src/components/headerStructure/headerStructure.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,MAAM,wBAAwB,GAAG,KAAK,CAAC,UAAU,CAC/C,CACE,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,KAAK,EAAuB,EAC/C,GAA0D,EACvC,EAAE;IACrB,MAAM,MAAM,GAAG,SAAS,CACtB,WAAW,CAAC,gBAAgB,EAC5B,OAAO,EACP,GAAG,CACJ,CAAC;IACF,MAAM,MAAM,GAAG,cAAc,EAAE,CAAC;IAChC,MAAM,MAAM,GAAG,iBAAiB,EAAE,CAAC;IAEnC,OAAO,CACL,KAAC,gBAAgB,OACX,KAAK,EACT,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAAG,CAAC,EACrB,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC;AAElE,MAAM,uBAAuB,GAAG,CAC9B,KAA0B,EAC1B,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,gBAAgB,IACf,SAAS,EAAE,KAAK,KACX,KAAsC,EAC3C,GAAG,EAAE,GAAG,GACR,GACgB,YAGtB,KAAC,wBAAwB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GACnC,CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAI1C,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -15,7 +15,7 @@ const IconBasicComponent = ({ tabIndex = 0, ...props }, ref) => {
|
|
|
15
15
|
return _jsx(_Fragment, {});
|
|
16
16
|
}
|
|
17
17
|
if (props.onClick) {
|
|
18
|
-
return (_jsxs(IconButtonStyled, { ...ariaProps, "$customIconStyles": props.customIconStyles, "$height": props.height, "$width": props.width, "aria-disabled": disabled, "aria-label": props['aria-label'] || altText, "data-testid": iconProps.dataTestId, disabled: disabled, tabIndex: tabIndex, type: ButtonType.BUTTON, onClick: onClick, children: [_jsx(ScreenReaderOnly, { children: screenReaderText }), _jsx(IconStandAlone, { ...iconProps, ref: ref, dataTestId: undefined, linearIcon: isLinearIcon })] }));
|
|
18
|
+
return (_jsxs(IconButtonStyled, { ...ariaProps, "$customIconStyles": props.customIconStyles, "$height": props.height, "$width": props.width, "aria-disabled": disabled, "aria-label": props['aria-label'] || altText, "data-testid": iconProps.dataTestId, disabled: disabled, id: props.id, tabIndex: tabIndex, type: ButtonType.BUTTON, onClick: onClick, children: [_jsx(ScreenReaderOnly, { children: screenReaderText }), _jsx(IconStandAlone, { ...iconProps, ref: ref, dataTestId: undefined, id: undefined, linearIcon: isLinearIcon })] }));
|
|
19
19
|
}
|
|
20
20
|
return _jsx(IconStandAlone, { ...iconProps, ref: ref, altText: altText, linearIcon: isLinearIcon });
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|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EAAE,CAAC;QAClB,OAAO,CACL,MAAC,gBAAgB,OACX,SAAS,uBACM,KAAK,CAAC,gBAAgB,aAChC,KAAK,CAAC,MAAM,YACb,KAAK,CAAC,KAAK,mBACJ,QAAQ,gBACX,KAAK,CAAC,YAAY,CAAC,IAAI,OAAO,iBAC7B,SAAS,CAAC,UAAU,EACjC,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,CAAC,MAAM,EACvB,OAAO,EAAE,OAAO,aAEhB,KAAC,gBAAgB,cAAE,gBAAgB,GAAoB,EACvD,KAAC,cAAc,OACT,SAAS,EACb,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,SAAS,EACrB,EAAE,EAAE,SAAS,EACb,UAAU,EAAE,YAAY,GACxB,IACe,CACpB,CAAC;IACJ,CAAC;IAED,OAAO,KAAC,cAAc,OAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,GAAI,CAAC;AACjG,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated This component has been deprecated and will be removed in the next MAJOR release.
|
|
4
|
+
*
|
|
5
|
+
* IconHost is a component that serves as a host for icons.
|
|
6
|
+
* @param {React.PropsWithChildren<IIconHost>} props
|
|
7
|
+
* @returns {JSX.Element}
|
|
8
|
+
*/
|
|
2
9
|
export declare const IconHost: React.ForwardRefExoticComponent<Omit<import("./types").IIconStandAlone, "onKeyDown"> & {
|
|
3
10
|
screenReaderText?: string;
|
|
4
11
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -30,5 +30,12 @@ const IconHostComponent = ({ ...props }, ref) => {
|
|
|
30
30
|
}
|
|
31
31
|
return (_jsx(ErrorBoundary, { fallBackComponent: _jsx(_Fragment, {}), resetCondition: props.icon, children: _jsx(IconWithProvider, { ...props, ref: ref }) }));
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated This component has been deprecated and will be removed in the next MAJOR release.
|
|
35
|
+
*
|
|
36
|
+
* IconHost is a component that serves as a host for icons.
|
|
37
|
+
* @param {React.PropsWithChildren<IIconHost>} props
|
|
38
|
+
* @returns {JSX.Element}
|
|
39
|
+
*/
|
|
33
40
|
export const IconHost = React.forwardRef(IconHostComponent);
|
|
34
41
|
//# sourceMappingURL=iconHost.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconHost.js","sourceRoot":"","sources":["../../../../src/components/icon/iconHost.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAOnC,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAsB,EAAE;IAC5E,MAAM,EAAE,YAAY,EAAE,GAAG,QAAQ,EAAE,CAAC;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAEtC,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACzC,IAAI,QAAQ,CAAC;IAEb,IAAI,OAAO,GAAG,EAAE,CAAC;IAEjB,IAAI,YAAY,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QAC/B,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AAG,EAAE,GAAG,GAAI,CAAC;IAC5C,CAAC;IAED,OAAO,CACL,KAAC,aAAa,IAAC,iBAAiB,EAAE,mBAAK,EAAE,cAAc,EAAE,KAAK,CAAC,IAAI,YACjE,KAAC,gBAAgB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GAC3B,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -4,11 +4,10 @@ import * as React from 'react';
|
|
|
4
4
|
import { ROLES } from '../../types/index';
|
|
5
5
|
// styles
|
|
6
6
|
import { IconComplexStyled, IconSVGStyled, IconStyled } from './icon.styled';
|
|
7
|
-
const IconComplexComponent = ({ color, height, width, emptyAltText, altText, icon, dataTestId, rotate, transitionDuration, twistAnimationTransformValue, customIconStyles, }, ref) => {
|
|
7
|
+
const IconComplexComponent = ({ id, color, height, width, emptyAltText, altText, icon, dataTestId, rotate, transitionDuration, twistAnimationTransformValue, customIconStyles, }, ref) => {
|
|
8
8
|
const [svgContent, setSvgContent] = React.useState('');
|
|
9
9
|
React.useEffect(() => {
|
|
10
10
|
(async () => {
|
|
11
|
-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
|
|
12
11
|
const res = await fetch(icon);
|
|
13
12
|
let response = '';
|
|
14
13
|
if (res) {
|
|
@@ -17,15 +16,15 @@ const IconComplexComponent = ({ color, height, width, emptyAltText, altText, ico
|
|
|
17
16
|
setSvgContent(response);
|
|
18
17
|
})();
|
|
19
18
|
}, [icon]);
|
|
20
|
-
return (_jsx(IconComplexStyled, { ref: ref, "$color": color, "$customIconStyles": customIconStyles, "$height": height, "$moveRound": rotate, "$srcImage": icon, "$transitionDuration": transitionDuration, "$width": width, "aria-hidden": emptyAltText, "aria-label": altText, dangerouslySetInnerHTML: { __html: svgContent }, "data-testid": dataTestId, role: emptyAltText ? ROLES.NONE : ROLES.IMG, twistAnimationTransformValue: twistAnimationTransformValue }));
|
|
19
|
+
return (_jsx(IconComplexStyled, { ref: ref, "$color": color, "$customIconStyles": customIconStyles, "$height": height, "$moveRound": rotate, "$srcImage": icon, "$transitionDuration": transitionDuration, "$width": width, "aria-hidden": emptyAltText, "aria-label": altText, dangerouslySetInnerHTML: { __html: svgContent }, "data-testid": dataTestId, id: id, role: emptyAltText ? ROLES.NONE : ROLES.IMG, twistAnimationTransformValue: twistAnimationTransformValue }));
|
|
21
20
|
};
|
|
22
21
|
export const IconComplex = React.forwardRef(IconComplexComponent);
|
|
23
|
-
const IconStandAloneComponent = ({ linearIcon, icon, altText, width, height, color, rotate = '0deg', transitionDuration = '0.2s', dataTestId, twistAnimationTransformValue, complex = false, customIconStyles, }, ref) => {
|
|
22
|
+
const IconStandAloneComponent = ({ id, linearIcon, icon, altText, width, height, color, rotate = '0deg', transitionDuration = '0.2s', dataTestId, twistAnimationTransformValue, complex = false, customIconStyles, }, ref) => {
|
|
24
23
|
const isEmptyAltText = !altText;
|
|
25
24
|
if (complex) {
|
|
26
|
-
return (_jsx(IconComplex, { ref: ref, altText: altText, color: color, customIconStyles: customIconStyles, dataTestId: dataTestId, emptyAltText: isEmptyAltText, height: height, icon: icon, moveRound: rotate, transitionDuration: transitionDuration, twistAnimationTransformValue: twistAnimationTransformValue, width: width }));
|
|
25
|
+
return (_jsx(IconComplex, { ref: ref, altText: altText, color: color, customIconStyles: customIconStyles, dataTestId: dataTestId, emptyAltText: isEmptyAltText, height: height, icon: icon, id: id, moveRound: rotate, transitionDuration: transitionDuration, twistAnimationTransformValue: twistAnimationTransformValue, width: width }));
|
|
27
26
|
}
|
|
28
|
-
return !linearIcon ? (_jsx(IconStyled, { ref: ref, "$customIconStyles": customIconStyles, "$height": height, "$moveRound": rotate, "$transitionDuration": transitionDuration, "$width": width, alt: altText, "aria-hidden": isEmptyAltText, "data-testid": dataTestId, loading: "lazy", src: icon })) : (_jsx(IconSVGStyled, { ref: ref, "$color": color, "$customIconStyles": customIconStyles, "$height": height, "$moveRound": rotate, "$srcImage": icon, "$transitionDuration": transitionDuration, "$width": width, "aria-hidden": isEmptyAltText, "aria-label": altText, "data-testid": dataTestId, role: isEmptyAltText ? ROLES.NONE : ROLES.IMG, twistAnimationTransformValue: twistAnimationTransformValue }));
|
|
27
|
+
return !linearIcon ? (_jsx(IconStyled, { ref: ref, "$customIconStyles": customIconStyles, "$height": height, "$moveRound": rotate, "$transitionDuration": transitionDuration, "$width": width, alt: altText, "aria-hidden": isEmptyAltText, "data-testid": dataTestId, id: id, loading: "lazy", src: icon })) : (_jsx(IconSVGStyled, { ref: ref, "$color": color, "$customIconStyles": customIconStyles, "$height": height, "$moveRound": rotate, "$srcImage": icon, "$transitionDuration": transitionDuration, "$width": width, "aria-hidden": isEmptyAltText, "aria-label": altText, "data-testid": dataTestId, id: id, role: isEmptyAltText ? ROLES.NONE : ROLES.IMG, twistAnimationTransformValue: twistAnimationTransformValue }));
|
|
29
28
|
};
|
|
30
29
|
export const IconStandAlone = React.forwardRef(IconStandAloneComponent);
|
|
31
30
|
//# sourceMappingURL=iconStandAlone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconStandAlone.js","sourceRoot":"","sources":["../../../../src/components/icon/iconStandAlone.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO;AACP,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,SAAS;AACT,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG7E,MAAM,oBAAoB,GAAG,CAC3B,EACE,KAAK,EACL,MAAM,EACN,KAAK,EACL,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,UAAU,EACV,MAAM,EACN,kBAAkB,EAClB,4BAA4B,EAC5B,gBAAgB,GACH,EACf,GAAwC,EACxC,EAAE;IACF,MAAM,CAAC,UAAU,EAAE,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KAAK,EACb,GAAG,EAAE,OAAO,iBACC,cAAc,iBACd,UAAU,EACvB,EAAE,EAAE,EAAE,EACN,OAAO,EAAC,MAAM,EACd,GAAG,EAAE,IAAI,GACT,CACH,CAAC,CAAC,CAAC,CACF,KAAC,aAAa,IACZ,GAAG,EAAE,GAAwC,YACrC,KAAK,uBACM,gBAAgB,aAC1B,MAAM,gBACH,MAAM,eACP,IAAI,yBACM,kBAAkB,YAC/B,KAAK,iBACA,cAAc,gBACf,OAAO,iBACN,UAAU,EACvB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAC7C,4BAA4B,EAAE,4BAA4B,GAC1D,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IconTypes } from '../../../types/index';
|
|
2
2
|
export interface IIconComplex {
|
|
3
|
+
id?: string;
|
|
3
4
|
color?: string;
|
|
4
5
|
height?: string;
|
|
5
6
|
width?: string;
|
|
@@ -15,6 +16,7 @@ export interface IIconComplex {
|
|
|
15
16
|
}
|
|
16
17
|
type IconAriaAttributes = Pick<React.AriaAttributes, 'aria-label' | 'aria-controls' | 'aria-checked'>;
|
|
17
18
|
export interface IIconStandAlone extends IconAriaAttributes {
|
|
19
|
+
id?: string;
|
|
18
20
|
altText?: string;
|
|
19
21
|
color?: string;
|
|
20
22
|
height?: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './container';
|
|
2
|
-
export * from './thirdPartyAnimation';
|
|
3
2
|
export * from './button';
|
|
4
3
|
export * from './checkbox';
|
|
5
4
|
export * from './decorativeElement';
|
|
@@ -10,26 +9,19 @@ export * from './label';
|
|
|
10
9
|
export * from './link';
|
|
11
10
|
export * from './pill';
|
|
12
11
|
export * from './popover';
|
|
13
|
-
export * from './tag';
|
|
14
12
|
export * from './tagV2';
|
|
15
13
|
export * from './text';
|
|
16
14
|
export * from './toggle';
|
|
17
15
|
export * from './icon';
|
|
18
|
-
export * from './loader';
|
|
19
|
-
export * from './cssAnimation';
|
|
20
|
-
export * from './elementOrIcon';
|
|
21
|
-
export * from './table';
|
|
22
16
|
export * from './tooltip';
|
|
23
17
|
export * from './itemRove';
|
|
24
18
|
export * from './divider';
|
|
25
19
|
export * from './quickButton';
|
|
26
20
|
export * from './skeleton';
|
|
27
21
|
export * from './overlay';
|
|
28
|
-
export * from './lineSeparator';
|
|
29
22
|
export * from './option';
|
|
30
23
|
export * from './slider';
|
|
31
24
|
export * from './illustration';
|
|
32
|
-
export * from './elementOrIllustration';
|
|
33
25
|
export * from './mediaProgressBar';
|
|
34
26
|
export * from './mediaButton';
|
|
35
27
|
export * from './inputStructure';
|
|
@@ -38,10 +30,7 @@ export * from './avatar';
|
|
|
38
30
|
export * from './backToTop';
|
|
39
31
|
export * from './badge';
|
|
40
32
|
export * from './breadcrumbs';
|
|
41
|
-
export * from './checkboxWithLabel';
|
|
42
33
|
export * from './drawer';
|
|
43
|
-
export * from './emptyState';
|
|
44
|
-
export * from './loadingState';
|
|
45
34
|
export * from './message';
|
|
46
35
|
export * from './modal';
|
|
47
36
|
export * from './oliveMenu';
|
|
@@ -51,7 +40,6 @@ export * from './snackbar';
|
|
|
51
40
|
export * from './stepperNumber';
|
|
52
41
|
export * from './stepperProgress';
|
|
53
42
|
export * from './textArea';
|
|
54
|
-
export * from './toggleWithLabel';
|
|
55
43
|
export * from './summaryDetails';
|
|
56
44
|
export * from './listOptions';
|
|
57
45
|
export * from './cardImage';
|
|
@@ -67,27 +55,20 @@ export * from './validationStatus';
|
|
|
67
55
|
export * from './navigationCard';
|
|
68
56
|
export * from './pageControl';
|
|
69
57
|
export * from './pageControlAutomate';
|
|
70
|
-
export * from './confirmationMessage';
|
|
71
58
|
export * from './calendar';
|
|
72
59
|
export * from './actionBottomSheet';
|
|
73
60
|
export * from './navigationRow';
|
|
74
61
|
export * from './carousel';
|
|
75
62
|
export * from './selectorBoxFile';
|
|
76
|
-
export * from './header';
|
|
77
63
|
export * from './iconHighlighted';
|
|
78
64
|
export * from './pagination';
|
|
79
|
-
export * from './headerStructure';
|
|
80
65
|
export * from './radioButtonGroup';
|
|
81
66
|
export * from './functionalitiesModule';
|
|
82
|
-
export * from './footer';
|
|
83
67
|
export * from './inputDigitSequence';
|
|
84
68
|
export * from './layout';
|
|
85
|
-
export * from './operativeLayout';
|
|
86
69
|
export * from './grid';
|
|
87
70
|
export * from './screenReaderOnly';
|
|
88
|
-
export * from './textCount';
|
|
89
71
|
export * from './dropdownSelected';
|
|
90
|
-
export * from './portal';
|
|
91
72
|
export * from './inputSignature';
|
|
92
73
|
export * from './tableCell';
|
|
93
74
|
export * from './tableRow';
|
|
@@ -98,3 +79,28 @@ export * from './tableCaption';
|
|
|
98
79
|
export * from './tableDivider';
|
|
99
80
|
export * from './tableV2';
|
|
100
81
|
export * from './dataTable';
|
|
82
|
+
/**
|
|
83
|
+
* Assets components.
|
|
84
|
+
*/
|
|
85
|
+
export * from './elementOrIcon';
|
|
86
|
+
export * from './elementOrIllustration';
|
|
87
|
+
/**
|
|
88
|
+
* Components that will be deprecated in the next MAJOR release.
|
|
89
|
+
*/
|
|
90
|
+
export * from './thirdPartyAnimation';
|
|
91
|
+
export * from './tag';
|
|
92
|
+
export * from './loader';
|
|
93
|
+
export * from './cssAnimation';
|
|
94
|
+
export * from './table';
|
|
95
|
+
export * from './lineSeparator';
|
|
96
|
+
export * from './checkboxWithLabel';
|
|
97
|
+
export * from './confirmationMessage';
|
|
98
|
+
export * from './toggleWithLabel';
|
|
99
|
+
export * from './header';
|
|
100
|
+
export * from './headerStructure';
|
|
101
|
+
export * from './footer';
|
|
102
|
+
export * from './portal';
|
|
103
|
+
export * from './textCount';
|
|
104
|
+
export * from './operativeLayout';
|
|
105
|
+
export * from './emptyState';
|
|
106
|
+
export * from './loadingState';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './container';
|
|
2
|
-
export * from './thirdPartyAnimation';
|
|
3
2
|
export * from './button';
|
|
4
3
|
export * from './checkbox';
|
|
5
4
|
export * from './decorativeElement';
|
|
@@ -10,26 +9,19 @@ export * from './label';
|
|
|
10
9
|
export * from './link';
|
|
11
10
|
export * from './pill';
|
|
12
11
|
export * from './popover';
|
|
13
|
-
export * from './tag';
|
|
14
12
|
export * from './tagV2';
|
|
15
13
|
export * from './text';
|
|
16
14
|
export * from './toggle';
|
|
17
15
|
export * from './icon';
|
|
18
|
-
export * from './loader';
|
|
19
|
-
export * from './cssAnimation';
|
|
20
|
-
export * from './elementOrIcon';
|
|
21
|
-
export * from './table';
|
|
22
16
|
export * from './tooltip';
|
|
23
17
|
export * from './itemRove';
|
|
24
18
|
export * from './divider';
|
|
25
19
|
export * from './quickButton';
|
|
26
20
|
export * from './skeleton';
|
|
27
21
|
export * from './overlay';
|
|
28
|
-
export * from './lineSeparator';
|
|
29
22
|
export * from './option';
|
|
30
23
|
export * from './slider';
|
|
31
24
|
export * from './illustration';
|
|
32
|
-
export * from './elementOrIllustration';
|
|
33
25
|
export * from './mediaProgressBar';
|
|
34
26
|
export * from './mediaButton';
|
|
35
27
|
export * from './inputStructure';
|
|
@@ -38,10 +30,7 @@ export * from './avatar';
|
|
|
38
30
|
export * from './backToTop';
|
|
39
31
|
export * from './badge';
|
|
40
32
|
export * from './breadcrumbs';
|
|
41
|
-
export * from './checkboxWithLabel';
|
|
42
33
|
export * from './drawer';
|
|
43
|
-
export * from './emptyState';
|
|
44
|
-
export * from './loadingState';
|
|
45
34
|
export * from './message';
|
|
46
35
|
export * from './modal';
|
|
47
36
|
export * from './oliveMenu';
|
|
@@ -51,7 +40,6 @@ export * from './snackbar';
|
|
|
51
40
|
export * from './stepperNumber';
|
|
52
41
|
export * from './stepperProgress';
|
|
53
42
|
export * from './textArea';
|
|
54
|
-
export * from './toggleWithLabel';
|
|
55
43
|
export * from './summaryDetails';
|
|
56
44
|
export * from './listOptions';
|
|
57
45
|
export * from './cardImage';
|
|
@@ -67,27 +55,20 @@ export * from './validationStatus';
|
|
|
67
55
|
export * from './navigationCard';
|
|
68
56
|
export * from './pageControl';
|
|
69
57
|
export * from './pageControlAutomate';
|
|
70
|
-
export * from './confirmationMessage';
|
|
71
58
|
export * from './calendar';
|
|
72
59
|
export * from './actionBottomSheet';
|
|
73
60
|
export * from './navigationRow';
|
|
74
61
|
export * from './carousel';
|
|
75
62
|
export * from './selectorBoxFile';
|
|
76
|
-
export * from './header';
|
|
77
63
|
export * from './iconHighlighted';
|
|
78
64
|
export * from './pagination';
|
|
79
|
-
export * from './headerStructure';
|
|
80
65
|
export * from './radioButtonGroup';
|
|
81
66
|
export * from './functionalitiesModule';
|
|
82
|
-
export * from './footer';
|
|
83
67
|
export * from './inputDigitSequence';
|
|
84
68
|
export * from './layout';
|
|
85
|
-
export * from './operativeLayout';
|
|
86
69
|
export * from './grid';
|
|
87
70
|
export * from './screenReaderOnly';
|
|
88
|
-
export * from './textCount';
|
|
89
71
|
export * from './dropdownSelected';
|
|
90
|
-
export * from './portal';
|
|
91
72
|
export * from './inputSignature';
|
|
92
73
|
export * from './tableCell';
|
|
93
74
|
export * from './tableRow';
|
|
@@ -98,4 +79,29 @@ export * from './tableCaption';
|
|
|
98
79
|
export * from './tableDivider';
|
|
99
80
|
export * from './tableV2';
|
|
100
81
|
export * from './dataTable';
|
|
82
|
+
/**
|
|
83
|
+
* Assets components.
|
|
84
|
+
*/
|
|
85
|
+
export * from './elementOrIcon';
|
|
86
|
+
export * from './elementOrIllustration';
|
|
87
|
+
/**
|
|
88
|
+
* Components that will be deprecated in the next MAJOR release.
|
|
89
|
+
*/
|
|
90
|
+
export * from './thirdPartyAnimation';
|
|
91
|
+
export * from './tag';
|
|
92
|
+
export * from './loader';
|
|
93
|
+
export * from './cssAnimation';
|
|
94
|
+
export * from './table';
|
|
95
|
+
export * from './lineSeparator';
|
|
96
|
+
export * from './checkboxWithLabel';
|
|
97
|
+
export * from './confirmationMessage';
|
|
98
|
+
export * from './toggleWithLabel';
|
|
99
|
+
export * from './header';
|
|
100
|
+
export * from './headerStructure';
|
|
101
|
+
export * from './footer';
|
|
102
|
+
export * from './portal';
|
|
103
|
+
export * from './textCount';
|
|
104
|
+
export * from './operativeLayout';
|
|
105
|
+
export * from './emptyState';
|
|
106
|
+
export * from './loadingState';
|
|
101
107
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CA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AAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AAExC;;GAEG;AACH,cAAc,uBAAuB,CAAC;AACtC,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -22,7 +22,6 @@ type ReturnType = ReturnTypeInputHook & {
|
|
|
22
22
|
calendarOpen: boolean;
|
|
23
23
|
handleClickInput: React.MouseEventHandler<HTMLInputElement>;
|
|
24
24
|
handlePickCalendarDate: (newDate: Date[]) => void;
|
|
25
|
-
handleShowCalendar: () => void;
|
|
26
25
|
handleOpenCalendar: (open: boolean) => void;
|
|
27
26
|
handleChangeInternalValidate: ChangeEventHandler<HTMLInputElement>;
|
|
28
27
|
handleWrapperBlur: FocusEventHandler<HTMLDivElement>;
|