@redhat-cloud-services/frontend-components 3.5.1 → 3.6.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/Ansible/Ansible.d.ts +13 -0
- package/Ansible/Ansible.js +56 -91
- package/Ansible/Ansible.js.map +1 -0
- package/Ansible/index.d.ts +1 -0
- package/Ansible/index.js +10 -20
- package/Ansible/index.js.map +1 -0
- package/Ansible/package.json +1 -1
- package/AsyncComponent/index.d.ts +12 -0
- package/AsyncComponent/index.js +36 -89
- package/AsyncComponent/index.js.map +1 -0
- package/AsyncComponent/package.json +1 -1
- package/Battery/Battery.d.ts +11 -0
- package/Battery/Battery.js +83 -125
- package/Battery/Battery.js.map +1 -0
- package/Battery/CriticalBattery.d.ts +3 -0
- package/Battery/CriticalBattery.js +7 -22
- package/Battery/CriticalBattery.js.map +1 -0
- package/Battery/HighBattery.d.ts +3 -0
- package/Battery/HighBattery.js +7 -18
- package/Battery/HighBattery.js.map +1 -0
- package/Battery/LowBattery.d.ts +3 -0
- package/Battery/LowBattery.js +7 -18
- package/Battery/LowBattery.js.map +1 -0
- package/Battery/MediumBattery.d.ts +3 -0
- package/Battery/MediumBattery.js +7 -18
- package/Battery/MediumBattery.js.map +1 -0
- package/Battery/NullBattery.d.ts +3 -0
- package/Battery/NullBattery.js +7 -18
- package/Battery/NullBattery.js.map +1 -0
- package/Battery/index.d.ts +7 -0
- package/Battery/index.js +20 -60
- package/Battery/index.js.map +1 -0
- package/Battery/package.json +1 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +28 -0
- package/Breadcrumbs/Breadcrumbs.js +53 -67
- package/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/Breadcrumbs/ConnectedBreadcrumbs.d.ts +2 -0
- package/Breadcrumbs/ConnectedBreadcrumbs.js +52 -73
- package/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
- package/Breadcrumbs/index.d.ts +2 -0
- package/Breadcrumbs/index.js +12 -28
- package/Breadcrumbs/index.js.map +1 -0
- package/Breadcrumbs/package.json +1 -1
- package/BulkSelect/BulkSelect.d.ts +23 -0
- package/BulkSelect/BulkSelect.js +75 -191
- package/BulkSelect/BulkSelect.js.map +1 -0
- package/BulkSelect/index.d.ts +2 -0
- package/BulkSelect/index.js +10 -20
- package/BulkSelect/index.js.map +1 -0
- package/BulkSelect/package.json +1 -1
- package/ConditionalFilter/CheckboxFilter.d.ts +38 -0
- package/ConditionalFilter/CheckboxFilter.js +145 -208
- package/ConditionalFilter/CheckboxFilter.js.map +1 -0
- package/ConditionalFilter/ConditionalFilter.d.ts +58 -0
- package/ConditionalFilter/ConditionalFilter.js +184 -262
- package/ConditionalFilter/ConditionalFilter.js.map +1 -0
- package/ConditionalFilter/GroupFilter.d.ts +47 -0
- package/ConditionalFilter/GroupFilter.js +151 -262
- package/ConditionalFilter/GroupFilter.js.map +1 -0
- package/ConditionalFilter/RadioFilter.d.ts +37 -0
- package/ConditionalFilter/RadioFilter.js +125 -167
- package/ConditionalFilter/RadioFilter.js.map +1 -0
- package/ConditionalFilter/TextFilter.d.ts +27 -0
- package/ConditionalFilter/TextFilter.js +102 -124
- package/ConditionalFilter/TextFilter.js.map +1 -0
- package/ConditionalFilter/conditionalFilterConstants.d.ts +19 -0
- package/ConditionalFilter/conditionalFilterConstants.js +22 -31
- package/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
- package/ConditionalFilter/groupFilterConstants.d.ts +7 -0
- package/ConditionalFilter/groupFilterConstants.js +149 -198
- package/ConditionalFilter/groupFilterConstants.js.map +1 -0
- package/ConditionalFilter/groupType.d.ts +8 -0
- package/ConditionalFilter/groupType.js +8 -12
- package/ConditionalFilter/groupType.js.map +1 -0
- package/ConditionalFilter/index.d.ts +7 -0
- package/ConditionalFilter/index.js +30 -81
- package/ConditionalFilter/index.js.map +1 -0
- package/ConditionalFilter/package.json +1 -1
- package/CullingInfo/CullingInformation.d.ts +31 -0
- package/CullingInfo/CullingInformation.js +85 -102
- package/CullingInfo/CullingInformation.js.map +1 -0
- package/CullingInfo/index.d.ts +1 -0
- package/CullingInfo/index.js +10 -20
- package/CullingInfo/index.js.map +1 -0
- package/CullingInfo/package.json +1 -1
- package/Dark/Dark.d.ts +3 -0
- package/Dark/Dark.js +35 -0
- package/Dark/Dark.js.map +1 -0
- package/Dark/DarkContext.d.ts +4 -0
- package/Dark/DarkContext.js +7 -30
- package/Dark/DarkContext.js.map +1 -0
- package/Dark/index.d.ts +3 -3
- package/Dark/index.js +12 -28
- package/Dark/index.js.map +1 -0
- package/DateFormat/DateFormat.d.ts +16 -0
- package/DateFormat/DateFormat.js +20 -48
- package/DateFormat/DateFormat.js.map +1 -0
- package/DateFormat/helper.d.ts +3 -0
- package/DateFormat/helper.js +51 -99
- package/DateFormat/helper.js.map +1 -0
- package/DateFormat/index.d.ts +2 -0
- package/DateFormat/index.js +20 -36
- package/DateFormat/index.js.map +1 -0
- package/DateFormat/package.json +1 -1
- package/DownloadButton/DownloadButton.d.ts +10 -0
- package/DownloadButton/DownloadButton.js +66 -145
- package/DownloadButton/DownloadButton.js.map +1 -0
- package/DownloadButton/index.d.ts +2 -0
- package/DownloadButton/index.js +10 -20
- package/DownloadButton/index.js.map +1 -0
- package/DownloadButton/package.json +1 -1
- package/EmptyTable/EmptyTable.d.ts +15 -0
- package/EmptyTable/EmptyTable.js +42 -37
- package/EmptyTable/EmptyTable.js.map +1 -0
- package/EmptyTable/index.d.ts +2 -0
- package/EmptyTable/index.js +10 -22
- package/EmptyTable/index.js.map +1 -0
- package/EmptyTable/package.json +1 -1
- package/ErrorState/DefaultErrorMessage.d.ts +2 -0
- package/ErrorState/DefaultErrorMessage.js +16 -21
- package/ErrorState/DefaultErrorMessage.js.map +1 -0
- package/ErrorState/ErrorState.d.ts +9 -0
- package/ErrorState/ErrorState.js +41 -69
- package/ErrorState/ErrorState.js.map +1 -0
- package/ErrorState/index.d.ts +3 -0
- package/ErrorState/index.js +12 -28
- package/ErrorState/index.js.map +1 -0
- package/ErrorState/package.json +1 -1
- package/FilterChips/FilterChips.d.ts +39 -0
- package/FilterChips/FilterChips.js +71 -117
- package/FilterChips/FilterChips.js.map +1 -0
- package/FilterChips/index.d.ts +1 -0
- package/FilterChips/index.js +10 -20
- package/FilterChips/index.js.map +1 -0
- package/FilterChips/package.json +1 -1
- package/FilterHooks/constants.d.ts +68 -0
- package/FilterHooks/constants.js +110 -129
- package/FilterHooks/constants.js.map +1 -0
- package/FilterHooks/index.d.ts +3 -0
- package/FilterHooks/index.js +17 -39
- package/FilterHooks/index.js.map +1 -0
- package/FilterHooks/package.json +1 -1
- package/FilterHooks/tagFilterHook.d.ts +20 -0
- package/FilterHooks/tagFilterHook.js +118 -146
- package/FilterHooks/tagFilterHook.js.map +1 -0
- package/Filters/FilterDropdown.d.ts +43 -0
- package/Filters/FilterDropdown.js +105 -159
- package/Filters/FilterDropdown.js.map +1 -0
- package/Filters/FilterInput.d.ts +37 -0
- package/Filters/FilterInput.js +109 -164
- package/Filters/FilterInput.js.map +1 -0
- package/Filters/index.d.ts +2 -0
- package/Filters/index.js +10 -22
- package/Filters/index.js.map +1 -0
- package/Filters/package.json +1 -1
- package/Input/Input.d.ts +23 -0
- package/Input/Input.js +44 -50
- package/Input/Input.js.map +1 -0
- package/Input/LabeledInput.d.ts +17 -0
- package/Input/LabeledInput.js +43 -44
- package/Input/LabeledInput.js.map +1 -0
- package/Input/index.d.ts +2 -0
- package/Input/index.js +12 -28
- package/Input/index.js.map +1 -0
- package/Input/package.json +1 -1
- package/InsightsLabel/CriticalIcon.d.ts +3 -0
- package/InsightsLabel/CriticalIcon.js +9 -22
- package/InsightsLabel/CriticalIcon.js.map +1 -0
- package/InsightsLabel/InsightsLabel.d.ts +14 -0
- package/InsightsLabel/InsightsLabel.js +42 -67
- package/InsightsLabel/InsightsLabel.js.map +1 -0
- package/InsightsLabel/index.d.ts +3 -0
- package/InsightsLabel/index.js +12 -28
- package/InsightsLabel/index.js.map +1 -0
- package/InsightsLabel/package.json +1 -1
- package/InvalidObject/InvalidObject.d.ts +4 -0
- package/InvalidObject/InvalidObject.js +40 -42
- package/InvalidObject/InvalidObject.js.map +1 -0
- package/InvalidObject/icon-404.d.ts +4 -0
- package/InvalidObject/icon-404.js +50 -202
- package/InvalidObject/icon-404.js.map +1 -0
- package/InvalidObject/index.d.ts +3 -0
- package/InvalidObject/index.js +12 -28
- package/InvalidObject/index.js.map +1 -0
- package/InvalidObject/package.json +1 -1
- package/Inventory/AppInfo.d.ts +3 -0
- package/Inventory/AppInfo.js +61 -73
- package/Inventory/AppInfo.js.map +1 -0
- package/Inventory/DetailWrapper.d.ts +3 -0
- package/Inventory/DetailWrapper.js +61 -73
- package/Inventory/DetailWrapper.js.map +1 -0
- package/Inventory/InventoryDetail.d.ts +3 -0
- package/Inventory/InventoryDetail.js +61 -73
- package/Inventory/InventoryDetail.js.map +1 -0
- package/Inventory/InventoryDetailHead.d.ts +3 -0
- package/Inventory/InventoryDetailHead.js +61 -73
- package/Inventory/InventoryDetailHead.js.map +1 -0
- package/Inventory/InventoryLoadError.d.ts +6 -0
- package/Inventory/InventoryLoadError.js +43 -31
- package/Inventory/InventoryLoadError.js.map +1 -0
- package/Inventory/InventoryTable.d.ts +3 -0
- package/Inventory/InventoryTable.js +61 -73
- package/Inventory/InventoryTable.js.map +1 -0
- package/Inventory/TagWithDialog.d.ts +3 -0
- package/Inventory/TagWithDialog.js +61 -78
- package/Inventory/TagWithDialog.js.map +1 -0
- package/Inventory/index.d.ts +7 -0
- package/Inventory/index.js +20 -62
- package/Inventory/index.js.map +1 -0
- package/Inventory/package.json +1 -1
- package/LongTextTooltip/LongTextTooltip.d.ts +25 -0
- package/LongTextTooltip/LongTextTooltip.js +68 -75
- package/LongTextTooltip/LongTextTooltip.js.map +1 -0
- package/LongTextTooltip/index.d.ts +2 -0
- package/LongTextTooltip/index.js +10 -22
- package/LongTextTooltip/index.js.map +1 -0
- package/LongTextTooltip/package.json +1 -1
- package/Main/Main.d.ts +25 -0
- package/Main/Main.js +86 -150
- package/Main/Main.js.map +1 -0
- package/Main/index.js +10 -20
- package/Main/index.js.map +1 -0
- package/Maintenance/Maintenance.d.ts +15 -0
- package/Maintenance/Maintenance.js +55 -77
- package/Maintenance/Maintenance.js.map +1 -0
- package/Maintenance/index.d.ts +2 -0
- package/Maintenance/index.js +10 -20
- package/Maintenance/index.js.map +1 -0
- package/Maintenance/package.json +1 -1
- package/NotAuthorized/NotAuthorized.d.ts +16 -0
- package/NotAuthorized/NotAuthorized.js +43 -97
- package/NotAuthorized/NotAuthorized.js.map +1 -0
- package/NotAuthorized/index.d.ts +2 -0
- package/NotAuthorized/index.js +10 -20
- package/NotAuthorized/index.js.map +1 -0
- package/NotAuthorized/package.json +1 -1
- package/NotConnected/NotConnected.d.ts +22 -0
- package/NotConnected/NotConnected.js +23 -50
- package/NotConnected/NotConnected.js.map +1 -0
- package/NotConnected/index.d.ts +1 -0
- package/NotConnected/index.js +10 -20
- package/NotConnected/index.js.map +1 -0
- package/NotConnected/package.json +1 -1
- package/PageHeader/PageHeader.d.ts +7 -0
- package/PageHeader/PageHeader.js +40 -46
- package/PageHeader/PageHeader.js.map +1 -0
- package/PageHeader/PageHeaderTitle.d.ts +7 -0
- package/PageHeader/PageHeaderTitle.js +13 -36
- package/PageHeader/PageHeaderTitle.js.map +1 -0
- package/PageHeader/index.js +12 -28
- package/PageHeader/index.js.map +1 -0
- package/Pagination/Pagination.d.ts +32 -0
- package/Pagination/Pagination.js +109 -139
- package/Pagination/Pagination.js.map +1 -0
- package/Pagination/PaginationMenu.d.ts +34 -0
- package/Pagination/PaginationMenu.js +125 -154
- package/Pagination/PaginationMenu.js.map +1 -0
- package/Pagination/PaginationNav.d.ts +39 -0
- package/Pagination/PaginationNav.js +78 -125
- package/Pagination/PaginationNav.js.map +1 -0
- package/Pagination/PaginationNext.d.ts +31 -0
- package/Pagination/PaginationNext.js +97 -118
- package/Pagination/PaginationNext.js.map +1 -0
- package/Pagination/index.d.ts +5 -0
- package/Pagination/index.js +26 -68
- package/Pagination/index.js.map +1 -0
- package/Pagination/package.json +1 -1
- package/PrimaryToolbar/Actions.d.ts +31 -0
- package/PrimaryToolbar/Actions.js +128 -187
- package/PrimaryToolbar/Actions.js.map +1 -0
- package/PrimaryToolbar/PrimaryToolbar.d.ts +78 -0
- package/PrimaryToolbar/PrimaryToolbar.js +146 -188
- package/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
- package/PrimaryToolbar/SortBy.d.ts +20 -0
- package/PrimaryToolbar/SortBy.js +21 -45
- package/PrimaryToolbar/SortBy.js.map +1 -0
- package/PrimaryToolbar/index.d.ts +4 -0
- package/PrimaryToolbar/index.js +24 -58
- package/PrimaryToolbar/index.js.map +1 -0
- package/PrimaryToolbar/package.json +1 -1
- package/Reboot/Reboot.d.ts +13 -0
- package/Reboot/Reboot.js +42 -37
- package/Reboot/Reboot.js.map +1 -0
- package/Reboot/index.d.ts +1 -0
- package/Reboot/index.js +10 -20
- package/Reboot/index.js.map +1 -0
- package/Reboot/package.json +1 -1
- package/Section/Section.d.ts +8 -0
- package/Section/Section.js +38 -38
- package/Section/Section.js.map +1 -0
- package/Section/index.js +10 -20
- package/Section/index.js.map +1 -0
- package/Shield/Shield.d.ts +11 -0
- package/Shield/Shield.js +35 -57
- package/Shield/Shield.js.map +1 -0
- package/Shield/consts.d.ts +70 -0
- package/Shield/consts.js +70 -82
- package/Shield/consts.js.map +1 -0
- package/Shield/index.d.ts +3 -0
- package/Shield/index.js +20 -36
- package/Shield/index.js.map +1 -0
- package/Shield/package.json +1 -1
- package/SimpleTableFilter/SimpleTableFilter.d.ts +47 -0
- package/SimpleTableFilter/SimpleTableFilter.js +135 -188
- package/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
- package/SimpleTableFilter/index.d.ts +1 -0
- package/SimpleTableFilter/index.js +10 -20
- package/SimpleTableFilter/index.js.map +1 -0
- package/SimpleTableFilter/package.json +1 -1
- package/Skeleton/Skeleton.d.ts +15 -0
- package/Skeleton/Skeleton.js +36 -50
- package/Skeleton/Skeleton.js.map +1 -0
- package/Skeleton/index.js +11 -30
- package/Skeleton/index.js.map +1 -0
- package/SkeletonTable/SkeletonTable.d.ts +51 -0
- package/SkeletonTable/SkeletonTable.js +93 -155
- package/SkeletonTable/SkeletonTable.js.map +1 -0
- package/SkeletonTable/index.d.ts +1 -0
- package/SkeletonTable/index.js +10 -20
- package/SkeletonTable/index.js.map +1 -0
- package/SkeletonTable/package.json +1 -1
- package/Spinner/Spinner.d.ts +8 -0
- package/Spinner/Spinner.js +36 -39
- package/Spinner/Spinner.js.map +1 -0
- package/Spinner/index.js +10 -20
- package/Spinner/index.js.map +1 -0
- package/TabLayout/TabLayout.d.ts +28 -0
- package/TabLayout/TabLayout.js +46 -61
- package/TabLayout/TabLayout.js.map +1 -0
- package/TabLayout/index.d.ts +1 -0
- package/TabLayout/index.js +10 -20
- package/TabLayout/index.js.map +1 -0
- package/TabLayout/package.json +1 -1
- package/TableToolbar/TableToolbar.d.ts +27 -0
- package/TableToolbar/TableToolbar.js +83 -73
- package/TableToolbar/TableToolbar.js.map +1 -0
- package/TableToolbar/index.d.ts +2 -0
- package/TableToolbar/index.js +10 -22
- package/TableToolbar/index.js.map +1 -0
- package/TableToolbar/package.json +1 -1
- package/TagCount/TagCount.d.ts +10 -0
- package/TagCount/TagCount.js +36 -50
- package/TagCount/TagCount.js.map +1 -0
- package/TagCount/index.d.ts +2 -0
- package/TagCount/index.js +10 -20
- package/TagCount/index.js.map +1 -0
- package/TagCount/package.json +1 -1
- package/TagModal/TableWithFilter.d.ts +45 -0
- package/TagModal/TableWithFilter.js +148 -201
- package/TagModal/TableWithFilter.js.map +1 -0
- package/TagModal/TagModal.d.ts +54 -0
- package/TagModal/TagModal.js +153 -228
- package/TagModal/TagModal.js.map +1 -0
- package/TagModal/index.d.ts +2 -0
- package/TagModal/index.js +12 -28
- package/TagModal/index.js.map +1 -0
- package/TagModal/package.json +1 -1
- package/TreeTable/decorator.d.ts +14 -0
- package/TreeTable/decorator.js +44 -55
- package/TreeTable/decorator.js.map +1 -0
- package/TreeTable/helpers.d.ts +16 -0
- package/TreeTable/helpers.js +43 -55
- package/TreeTable/helpers.js.map +1 -0
- package/TreeTable/index.d.ts +4 -0
- package/TreeTable/index.js +22 -45
- package/TreeTable/index.js.map +1 -0
- package/TreeTable/package.json +1 -1
- package/TreeTable/rowWrapper.d.ts +18 -0
- package/TreeTable/rowWrapper.js +27 -51
- package/TreeTable/rowWrapper.js.map +1 -0
- package/Truncate/Truncate.d.ts +26 -0
- package/Truncate/Truncate.js +75 -116
- package/Truncate/Truncate.js.map +1 -0
- package/Truncate/index.d.ts +2 -0
- package/Truncate/index.js +10 -22
- package/Truncate/index.js.map +1 -0
- package/Truncate/package.json +1 -1
- package/Unavailable/Unavailable.d.ts +2 -0
- package/Unavailable/Unavailable.js +20 -38
- package/Unavailable/Unavailable.js.map +1 -0
- package/Unavailable/index.d.ts +1 -0
- package/Unavailable/index.js +10 -20
- package/Unavailable/index.js.map +1 -0
- package/Unavailable/package.json +1 -1
- package/Wizard/Wizard.d.ts +31 -0
- package/Wizard/Wizard.js +126 -170
- package/Wizard/Wizard.js.map +1 -0
- package/Wizard/index.d.ts +1 -0
- package/Wizard/index.js +10 -20
- package/Wizard/index.js.map +1 -0
- package/Wizard/package.json +1 -1
- package/esm/Ansible/Ansible.js +49 -74
- package/esm/Ansible/Ansible.js.map +1 -0
- package/esm/Ansible/ansible.css +19 -0
- package/esm/Ansible/ansible.scss +14 -0
- package/esm/Ansible/index.js +2 -1
- package/esm/Ansible/index.js.map +1 -0
- package/esm/AsyncComponent/index.js +31 -72
- package/esm/AsyncComponent/index.js.map +1 -0
- package/esm/Battery/Battery.js +72 -99
- package/esm/Battery/Battery.js.map +1 -0
- package/esm/Battery/CriticalBattery.js +3 -12
- package/esm/Battery/CriticalBattery.js.map +1 -0
- package/esm/Battery/HighBattery.js +3 -9
- package/esm/Battery/HighBattery.js.map +1 -0
- package/esm/Battery/LowBattery.js +3 -9
- package/esm/Battery/LowBattery.js.map +1 -0
- package/esm/Battery/MediumBattery.js +3 -9
- package/esm/Battery/MediumBattery.js.map +1 -0
- package/esm/Battery/NullBattery.js +3 -9
- package/esm/Battery/NullBattery.js.map +1 -0
- package/esm/Battery/battery.css +35 -0
- package/esm/Battery/battery.scss +47 -0
- package/esm/Battery/index.js +2 -1
- package/esm/Battery/index.js.map +1 -0
- package/esm/Breadcrumbs/Breadcrumbs.js +46 -50
- package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/esm/Breadcrumbs/ConnectedBreadcrumbs.js +45 -52
- package/esm/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
- package/esm/Breadcrumbs/index.js +2 -1
- package/esm/Breadcrumbs/index.js.map +1 -0
- package/esm/BulkSelect/BulkSelect.js +53 -166
- package/esm/BulkSelect/BulkSelect.js.map +1 -0
- package/esm/BulkSelect/bulk-select.css +15 -0
- package/esm/BulkSelect/bulk-select.scss +19 -0
- package/esm/BulkSelect/index.js +2 -1
- package/esm/BulkSelect/index.js.map +1 -0
- package/esm/ConditionalFilter/CheckboxFilter.js +120 -183
- package/esm/ConditionalFilter/CheckboxFilter.js.map +1 -0
- package/esm/ConditionalFilter/ConditionalFilter.js +154 -225
- package/esm/ConditionalFilter/ConditionalFilter.js.map +1 -0
- package/esm/ConditionalFilter/GroupFilter.js +124 -223
- package/esm/ConditionalFilter/GroupFilter.js.map +1 -0
- package/esm/ConditionalFilter/RadioFilter.js +100 -143
- package/esm/ConditionalFilter/RadioFilter.js.map +1 -0
- package/esm/ConditionalFilter/TextFilter.js +79 -102
- package/esm/ConditionalFilter/TextFilter.js.map +1 -0
- package/esm/ConditionalFilter/conditional-filter.css +93 -0
- package/esm/ConditionalFilter/conditional-filter.scss +110 -0
- package/esm/ConditionalFilter/conditionalFilterConstants.js +12 -11
- package/esm/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
- package/esm/ConditionalFilter/group-filter.css +19 -0
- package/esm/ConditionalFilter/group-filter.scss +23 -0
- package/esm/ConditionalFilter/groupFilterConstants.js +143 -175
- package/esm/ConditionalFilter/groupFilterConstants.js.map +1 -0
- package/esm/ConditionalFilter/groupType.js +7 -6
- package/esm/ConditionalFilter/groupType.js.map +1 -0
- package/esm/ConditionalFilter/index.js +2 -1
- package/esm/ConditionalFilter/index.js.map +1 -0
- package/esm/CullingInfo/CullingInformation.css +14 -0
- package/esm/CullingInfo/CullingInformation.js +79 -82
- package/esm/CullingInfo/CullingInformation.js.map +1 -0
- package/esm/CullingInfo/CullingInformation.scss +10 -0
- package/esm/CullingInfo/index.js +2 -1
- package/esm/CullingInfo/index.js.map +1 -0
- package/esm/Dark/Dark.js +30 -0
- package/esm/Dark/Dark.js.map +1 -0
- package/esm/Dark/DarkContext.js +3 -18
- package/esm/Dark/DarkContext.js.map +1 -0
- package/esm/Dark/index.js +4 -3
- package/esm/Dark/index.js.map +1 -0
- package/esm/DateFormat/DateFormat.js +12 -34
- package/esm/DateFormat/DateFormat.js.map +1 -0
- package/esm/DateFormat/helper.js +45 -82
- package/esm/DateFormat/helper.js.map +1 -0
- package/esm/DateFormat/index.js +2 -1
- package/esm/DateFormat/index.js.map +1 -0
- package/esm/DownloadButton/DownloadButton.js +47 -124
- package/esm/DownloadButton/DownloadButton.js.map +1 -0
- package/esm/DownloadButton/index.js +2 -1
- package/esm/DownloadButton/index.js.map +1 -0
- package/esm/EmptyTable/EmptyTable.css +14 -0
- package/esm/EmptyTable/EmptyTable.js +35 -20
- package/esm/EmptyTable/EmptyTable.js.map +1 -0
- package/esm/EmptyTable/EmptyTable.scss +11 -0
- package/esm/EmptyTable/index.js +2 -1
- package/esm/EmptyTable/index.js.map +1 -0
- package/esm/ErrorState/DefaultErrorMessage.js +11 -11
- package/esm/ErrorState/DefaultErrorMessage.js.map +1 -0
- package/esm/ErrorState/ErrorState.js +36 -48
- package/esm/ErrorState/ErrorState.js.map +1 -0
- package/esm/ErrorState/error-state.css +3 -0
- package/esm/ErrorState/error-state.scss +5 -0
- package/esm/ErrorState/index.js +2 -1
- package/esm/ErrorState/index.js.map +1 -0
- package/esm/FilterChips/FilterChips.js +65 -98
- package/esm/FilterChips/FilterChips.js.map +1 -0
- package/esm/FilterChips/filter-chips.css +12 -0
- package/esm/FilterChips/filter-chips.scss +15 -0
- package/esm/FilterChips/index.js +2 -1
- package/esm/FilterChips/index.js.map +1 -0
- package/esm/FilterHooks/constants.js +102 -112
- package/esm/FilterHooks/constants.js.map +1 -0
- package/esm/FilterHooks/index.js +2 -1
- package/esm/FilterHooks/index.js.map +1 -0
- package/esm/FilterHooks/tagFilterHook.css +22 -0
- package/esm/FilterHooks/tagFilterHook.js +97 -120
- package/esm/FilterHooks/tagFilterHook.js.map +1 -0
- package/esm/FilterHooks/tagFilterHook.scss +21 -0
- package/esm/Filters/FilterDropdown.js +80 -134
- package/esm/Filters/FilterDropdown.js.map +1 -0
- package/esm/Filters/FilterInput.js +85 -143
- package/esm/Filters/FilterInput.js.map +1 -0
- package/esm/Filters/filter-dropdown.css +8 -0
- package/esm/Filters/filter-dropdown.scss +10 -0
- package/esm/Filters/index.js +2 -1
- package/esm/Filters/index.js.map +1 -0
- package/esm/Input/Input.js +36 -32
- package/esm/Input/Input.js.map +1 -0
- package/esm/Input/LabeledInput.js +35 -27
- package/esm/Input/LabeledInput.js.map +1 -0
- package/esm/Input/index.js +2 -1
- package/esm/Input/index.js.map +1 -0
- package/esm/InsightsLabel/CriticalIcon.js +5 -12
- package/esm/InsightsLabel/CriticalIcon.js.map +1 -0
- package/esm/InsightsLabel/InsightsLabel.js +36 -46
- package/esm/InsightsLabel/InsightsLabel.js.map +1 -0
- package/esm/InsightsLabel/critical-icon.css +8 -0
- package/esm/InsightsLabel/critical-icon.scss +8 -0
- package/esm/InsightsLabel/index.js +2 -1
- package/esm/InsightsLabel/index.js.map +1 -0
- package/esm/InsightsLabel/labels.css +54 -0
- package/esm/InsightsLabel/labels.scss +54 -0
- package/esm/InvalidObject/InvalidObject.js +35 -27
- package/esm/InvalidObject/InvalidObject.js.map +1 -0
- package/esm/InvalidObject/icon-404.css +15 -0
- package/esm/InvalidObject/icon-404.js +46 -192
- package/esm/InvalidObject/icon-404.js.map +1 -0
- package/esm/InvalidObject/icon-404.scss +11 -0
- package/esm/InvalidObject/index.js +2 -1
- package/esm/InvalidObject/index.js.map +1 -0
- package/esm/InvalidObject/invalidObject.css +22 -0
- package/esm/InvalidObject/invalidObject.scss +15 -0
- package/esm/Inventory/AppInfo.js +33 -44
- package/esm/Inventory/AppInfo.js.map +1 -0
- package/esm/Inventory/DetailWrapper.js +33 -44
- package/esm/Inventory/DetailWrapper.js.map +1 -0
- package/esm/Inventory/InventoryDetail.js +33 -44
- package/esm/Inventory/InventoryDetail.js.map +1 -0
- package/esm/Inventory/InventoryDetailHead.js +33 -44
- package/esm/Inventory/InventoryDetailHead.js.map +1 -0
- package/esm/Inventory/InventoryLoadError.js +24 -16
- package/esm/Inventory/InventoryLoadError.js.map +1 -0
- package/esm/Inventory/InventoryTable.js +33 -44
- package/esm/Inventory/InventoryTable.js.map +1 -0
- package/esm/Inventory/TagWithDialog.js +33 -49
- package/esm/Inventory/TagWithDialog.js.map +1 -0
- package/esm/Inventory/index.js +2 -1
- package/esm/Inventory/index.js.map +1 -0
- package/esm/LongTextTooltip/LongTextTooltip.js +62 -59
- package/esm/LongTextTooltip/LongTextTooltip.js.map +1 -0
- package/esm/LongTextTooltip/index.js +2 -1
- package/esm/LongTextTooltip/index.js.map +1 -0
- package/esm/Main/Main.js +79 -119
- package/esm/Main/Main.js.map +1 -0
- package/esm/Main/index.js +2 -1
- package/esm/Main/index.js.map +1 -0
- package/esm/Main/main.css +3 -0
- package/esm/Main/main.scss +3 -0
- package/esm/Maintenance/Maintenance.js +51 -57
- package/esm/Maintenance/Maintenance.js.map +1 -0
- package/esm/Maintenance/index.js +2 -1
- package/esm/Maintenance/index.js.map +1 -0
- package/esm/Maintenance/maintenance.css +9 -0
- package/esm/Maintenance/maintenance.scss +7 -0
- package/esm/NotAuthorized/NotAuthorized.css +5 -0
- package/esm/NotAuthorized/NotAuthorized.js +40 -81
- package/esm/NotAuthorized/NotAuthorized.js.map +1 -0
- package/esm/NotAuthorized/NotAuthorized.scss +7 -0
- package/esm/NotAuthorized/index.js +2 -1
- package/esm/NotAuthorized/index.js.map +1 -0
- package/esm/NotConnected/NotConnected.js +17 -32
- package/esm/NotConnected/NotConnected.js.map +1 -0
- package/esm/NotConnected/index.js +2 -1
- package/esm/NotConnected/index.js.map +1 -0
- package/esm/PageHeader/PageHeader.js +34 -29
- package/esm/PageHeader/PageHeader.js.map +1 -0
- package/esm/PageHeader/PageHeaderTitle.js +6 -21
- package/esm/PageHeader/PageHeaderTitle.js.map +1 -0
- package/esm/PageHeader/index.js +2 -1
- package/esm/PageHeader/index.js.map +1 -0
- package/esm/PageHeader/page-header.css +13 -0
- package/esm/PageHeader/page-header.scss +12 -0
- package/esm/Pagination/Pagination.js +82 -113
- package/esm/Pagination/Pagination.js.map +1 -0
- package/esm/Pagination/PaginationMenu.js +101 -129
- package/esm/Pagination/PaginationMenu.js.map +1 -0
- package/esm/Pagination/PaginationNav.js +72 -107
- package/esm/Pagination/PaginationNav.js.map +1 -0
- package/esm/Pagination/PaginationNext.js +71 -94
- package/esm/Pagination/PaginationNext.js.map +1 -0
- package/esm/Pagination/index.js +2 -1
- package/esm/Pagination/index.js.map +1 -0
- package/esm/Pagination/pagination.css +580 -0
- package/esm/Pagination/pagination.scss +15 -0
- package/esm/PrimaryToolbar/Actions.js +104 -154
- package/esm/PrimaryToolbar/Actions.js.map +1 -0
- package/esm/PrimaryToolbar/PrimaryToolbar.js +117 -146
- package/esm/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
- package/esm/PrimaryToolbar/SortBy.js +12 -26
- package/esm/PrimaryToolbar/SortBy.js.map +1 -0
- package/esm/PrimaryToolbar/index.js +2 -1
- package/esm/PrimaryToolbar/index.js.map +1 -0
- package/esm/PrimaryToolbar/primary-toolbar.css +49 -0
- package/esm/PrimaryToolbar/primary-toolbar.scss +64 -0
- package/esm/Reboot/Reboot.js +35 -19
- package/esm/Reboot/Reboot.js.map +1 -0
- package/esm/Reboot/index.js +2 -1
- package/esm/Reboot/index.js.map +1 -0
- package/esm/Reboot/reboot.css +11 -0
- package/esm/Reboot/reboot.scss +12 -0
- package/esm/Section/Section.js +32 -22
- package/esm/Section/Section.js.map +1 -0
- package/esm/Section/index.js +2 -1
- package/esm/Section/index.js.map +1 -0
- package/esm/Section/section.css +35 -0
- package/esm/Section/section.scss +27 -0
- package/esm/Shield/Shield.js +31 -41
- package/esm/Shield/Shield.js.map +1 -0
- package/esm/Shield/consts.js +67 -73
- package/esm/Shield/consts.js.map +1 -0
- package/esm/Shield/index.js +2 -1
- package/esm/Shield/index.js.map +1 -0
- package/esm/SimpleTableFilter/SimpleTableFilter.js +111 -166
- package/esm/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
- package/esm/SimpleTableFilter/index.js +2 -1
- package/esm/SimpleTableFilter/index.js.map +1 -0
- package/esm/SimpleTableFilter/simple-table-filter.css +356 -0
- package/esm/SimpleTableFilter/simple-table-filter.scss +18 -0
- package/esm/Skeleton/Skeleton.js +30 -32
- package/esm/Skeleton/Skeleton.js.map +1 -0
- package/esm/Skeleton/index.js +2 -1
- package/esm/Skeleton/index.js.map +1 -0
- package/esm/Skeleton/skeleton.css +24 -0
- package/esm/Skeleton/skeleton.scss +18 -0
- package/esm/SkeletonTable/SkeletonTable.css +3 -0
- package/esm/SkeletonTable/SkeletonTable.js +85 -137
- package/esm/SkeletonTable/SkeletonTable.js.map +1 -0
- package/esm/SkeletonTable/SkeletonTable.scss +3 -0
- package/esm/SkeletonTable/index.js +2 -1
- package/esm/SkeletonTable/index.js.map +1 -0
- package/esm/Spinner/Spinner.js +31 -24
- package/esm/Spinner/Spinner.js.map +1 -0
- package/esm/Spinner/index.js +2 -1
- package/esm/Spinner/index.js.map +1 -0
- package/esm/Spinner/spinner.css +27 -0
- package/esm/Spinner/spinner.scss +24 -0
- package/esm/TabLayout/TabLayout.js +40 -46
- package/esm/TabLayout/TabLayout.js.map +1 -0
- package/esm/TabLayout/index.js +2 -1
- package/esm/TabLayout/index.js.map +1 -0
- package/esm/TabLayout/tab-layout.css +14 -0
- package/esm/TabLayout/tab-layout.scss +21 -0
- package/esm/TableToolbar/TableToolbar.css +36 -0
- package/esm/TableToolbar/TableToolbar.js +57 -48
- package/esm/TableToolbar/TableToolbar.js.map +1 -0
- package/esm/TableToolbar/TableToolbar.scss +28 -0
- package/esm/TableToolbar/index.js +2 -1
- package/esm/TableToolbar/index.js.map +1 -0
- package/esm/TagCount/TagCount.js +32 -36
- package/esm/TagCount/TagCount.js.map +1 -0
- package/esm/TagCount/index.js +2 -1
- package/esm/TagCount/index.js.map +1 -0
- package/esm/TagCount/tagCount.css +9 -0
- package/esm/TagCount/tagCount.scss +9 -0
- package/esm/TagModal/TableWithFilter.js +123 -168
- package/esm/TagModal/TableWithFilter.js.map +1 -0
- package/esm/TagModal/TagModal.js +128 -200
- package/esm/TagModal/TagModal.js.map +1 -0
- package/esm/TagModal/index.js +2 -1
- package/esm/TagModal/index.js.map +1 -0
- package/esm/TagModal/tagModal.css +3 -0
- package/esm/TagModal/tagModal.scss +3 -0
- package/esm/TreeTable/decorator.js +41 -42
- package/esm/TreeTable/decorator.js.map +1 -0
- package/esm/TreeTable/helpers.js +40 -42
- package/esm/TreeTable/helpers.js.map +1 -0
- package/esm/TreeTable/index.js +2 -1
- package/esm/TreeTable/index.js.map +1 -0
- package/esm/TreeTable/rowWrapper.js +21 -36
- package/esm/TreeTable/rowWrapper.js.map +1 -0
- package/esm/TreeTable/styles.css +338 -0
- package/esm/TreeTable/styles.scss +278 -0
- package/esm/Truncate/Truncate.js +50 -87
- package/esm/Truncate/Truncate.js.map +1 -0
- package/esm/Truncate/index.js +2 -1
- package/esm/Truncate/index.js.map +1 -0
- package/esm/Truncate/truncate.css +12 -0
- package/esm/Truncate/truncate.scss +5 -0
- package/esm/Unavailable/Unavailable.css +3 -0
- package/esm/Unavailable/Unavailable.js +16 -24
- package/esm/Unavailable/Unavailable.js.map +1 -0
- package/esm/Unavailable/Unavailable.scss +3 -0
- package/esm/Unavailable/index.js +2 -1
- package/esm/Unavailable/index.js.map +1 -0
- package/esm/Wizard/Wizard.js +102 -149
- package/esm/Wizard/Wizard.js.map +1 -0
- package/esm/Wizard/index.js +2 -1
- package/esm/Wizard/index.js.map +1 -0
- package/esm/Wizard/wizard.css +7 -0
- package/esm/Wizard/wizard.scss +7 -0
- package/esm/index.css +1902 -0
- package/esm/index.js +2 -1
- package/esm/index.js.map +1 -0
- package/esm/index.scss +32 -0
- package/esm/useChrome/index.js +2 -1
- package/esm/useChrome/index.js.map +1 -0
- package/esm/useChrome/useChrome.js +22 -23
- package/esm/useChrome/useChrome.js.map +1 -0
- package/esm/usePendoFeedback/index.js +2 -1
- package/esm/usePendoFeedback/index.js.map +1 -0
- package/esm/usePendoFeedback/usePendoFeedback.js +14 -18
- package/esm/usePendoFeedback/usePendoFeedback.js.map +1 -0
- package/esm/useScreenSize/breakpoints.js +8 -7
- package/esm/useScreenSize/breakpoints.js.map +1 -0
- package/esm/useScreenSize/getVariant.js +12 -20
- package/esm/useScreenSize/getVariant.js.map +1 -0
- package/esm/useScreenSize/index.js +2 -1
- package/esm/useScreenSize/index.js.map +1 -0
- package/esm/useScreenSize/isSmallScreen.js +3 -6
- package/esm/useScreenSize/isSmallScreen.js.map +1 -0
- package/esm/useScreenSize/useScreenSize.js +17 -29
- package/esm/useScreenSize/useScreenSize.js.map +1 -0
- package/index.d.ts +39 -0
- package/index.js +51 -511
- package/index.js.map +1 -0
- package/package.json +7 -6
- package/tsconfig.cjs.json +8 -0
- package/useChrome/index.d.ts +2 -0
- package/useChrome/index.js +10 -20
- package/useChrome/index.js.map +1 -0
- package/useChrome/package.json +1 -1
- package/useChrome/useChrome.d.ts +130 -0
- package/useChrome/useChrome.js +24 -33
- package/useChrome/useChrome.js.map +1 -0
- package/usePendoFeedback/index.d.ts +2 -0
- package/usePendoFeedback/index.js +10 -20
- package/usePendoFeedback/index.js.map +1 -0
- package/usePendoFeedback/package.json +1 -1
- package/usePendoFeedback/usePendoFeedback.d.ts +2 -0
- package/usePendoFeedback/usePendoFeedback.js +18 -27
- package/usePendoFeedback/usePendoFeedback.js.map +1 -0
- package/useScreenSize/breakpoints.d.ts +9 -0
- package/useScreenSize/breakpoints.js +18 -28
- package/useScreenSize/breakpoints.js.map +1 -0
- package/useScreenSize/getVariant.d.ts +2 -0
- package/useScreenSize/getVariant.js +17 -31
- package/useScreenSize/getVariant.js.map +1 -0
- package/useScreenSize/index.d.ts +5 -0
- package/useScreenSize/index.js +16 -44
- package/useScreenSize/index.js.map +1 -0
- package/useScreenSize/isSmallScreen.d.ts +3 -0
- package/useScreenSize/isSmallScreen.js +7 -15
- package/useScreenSize/isSmallScreen.js.map +1 -0
- package/useScreenSize/package.json +1 -1
- package/useScreenSize/useScreenSize.d.ts +2 -0
- package/useScreenSize/useScreenSize.js +23 -42
- package/useScreenSize/useScreenSize.js.map +1 -0
- package/Dark/configContext.js +0 -15
- package/esm/Dark/configContext.js +0 -3
package/Skeleton/index.js
CHANGED
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "Skeleton", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _Skeleton["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "SkeletonSize", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function get() {
|
|
23
|
-
return _Skeleton.SkeletonSize;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _Skeleton = _interopRequireWildcard(require("./Skeleton"));
|
|
28
|
-
|
|
29
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
30
|
-
|
|
31
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SkeletonSize = exports.Skeleton = exports.default = void 0;
|
|
7
|
+
var Skeleton_1 = require("./Skeleton");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Skeleton_1).default; } });
|
|
9
|
+
var Skeleton_2 = require("./Skeleton");
|
|
10
|
+
Object.defineProperty(exports, "Skeleton", { enumerable: true, get: function () { return __importDefault(Skeleton_2).default; } });
|
|
11
|
+
Object.defineProperty(exports, "SkeletonSize", { enumerable: true, get: function () { return Skeleton_2.SkeletonSize; } });
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/Skeleton/index.ts"],"names":[],"mappings":";;;;;;AAAA,uCAAqC;AAA5B,oHAAA,OAAO,OAAA;AAChB,uCAA+D;AAAtD,qHAAA,OAAO,OAAY;AAAE,wGAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export default SkeletonTable;
|
|
2
|
+
declare class SkeletonTable extends React.Component<any, any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
constructor(props: any, context: any);
|
|
5
|
+
createColumns: () => {
|
|
6
|
+
title: JSX.Element;
|
|
7
|
+
}[];
|
|
8
|
+
getColumns: () => string[];
|
|
9
|
+
createRows: () => {
|
|
10
|
+
disableSelection: boolean;
|
|
11
|
+
cells: string[];
|
|
12
|
+
}[];
|
|
13
|
+
selectVariant: () => RowSelectVariant;
|
|
14
|
+
newArray: (size: any) => any[];
|
|
15
|
+
}
|
|
16
|
+
declare namespace SkeletonTable {
|
|
17
|
+
namespace propTypes {
|
|
18
|
+
const colSize: PropTypes.Requireable<number>;
|
|
19
|
+
const rowSize: PropTypes.Requireable<number>;
|
|
20
|
+
const columns: PropTypes.Requireable<any[]>;
|
|
21
|
+
const paddingColumnSize: PropTypes.Requireable<number>;
|
|
22
|
+
const sortBy: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
+
index: PropTypes.Requireable<number>;
|
|
24
|
+
direction: PropTypes.Requireable<string>;
|
|
25
|
+
}>>;
|
|
26
|
+
const isSelectable: PropTypes.Requireable<boolean>;
|
|
27
|
+
const canSelectAll: PropTypes.Requireable<boolean>;
|
|
28
|
+
const hasRadio: PropTypes.Requireable<boolean>;
|
|
29
|
+
const variant: PropTypes.Requireable<string>;
|
|
30
|
+
const isDark: PropTypes.Requireable<boolean>;
|
|
31
|
+
}
|
|
32
|
+
namespace defaultProps {
|
|
33
|
+
const rowSize_1: number;
|
|
34
|
+
export { rowSize_1 as rowSize };
|
|
35
|
+
const paddingColumnSize_1: number;
|
|
36
|
+
export { paddingColumnSize_1 as paddingColumnSize };
|
|
37
|
+
const canSelectAll_1: boolean;
|
|
38
|
+
export { canSelectAll_1 as canSelectAll };
|
|
39
|
+
const isSelectable_1: boolean;
|
|
40
|
+
export { isSelectable_1 as isSelectable };
|
|
41
|
+
const hasRadio_1: boolean;
|
|
42
|
+
export { hasRadio_1 as hasRadio };
|
|
43
|
+
const variant_1: null;
|
|
44
|
+
export { variant_1 as variant };
|
|
45
|
+
const isDark_1: boolean;
|
|
46
|
+
export { isDark_1 as isDark };
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
import React from "react";
|
|
50
|
+
import { RowSelectVariant } from "@patternfly/react-table/dist/js/components/Table/SelectColumn";
|
|
51
|
+
import PropTypes from "prop-types";
|
|
@@ -1,164 +1,102 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
25
|
-
|
|
26
|
-
var _react = _interopRequireDefault(require("react"));
|
|
27
|
-
|
|
28
|
-
var _reactTable = require("@patternfly/react-table");
|
|
29
|
-
|
|
30
|
-
var _Skeleton = require("../Skeleton");
|
|
31
|
-
|
|
32
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
33
|
-
|
|
34
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
35
|
-
|
|
36
|
-
require("./SkeletonTable.css");
|
|
37
|
-
|
|
38
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
39
|
-
|
|
40
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
|
-
|
|
42
|
-
var SkeletonTable = /*#__PURE__*/function (_React$Component) {
|
|
43
|
-
(0, _inherits2["default"])(SkeletonTable, _React$Component);
|
|
44
|
-
|
|
45
|
-
var _super = _createSuper(SkeletonTable);
|
|
46
|
-
|
|
47
|
-
function SkeletonTable() {
|
|
48
|
-
var _this;
|
|
49
|
-
|
|
50
|
-
(0, _classCallCheck2["default"])(this, SkeletonTable);
|
|
51
|
-
|
|
52
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
53
|
-
args[_key] = arguments[_key];
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
18
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
19
|
+
if (ar || !(i in from)) {
|
|
20
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
21
|
+
ar[i] = from[i];
|
|
22
|
+
}
|
|
54
23
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
24
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
25
|
+
};
|
|
26
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
var react_1 = __importDefault(require("react"));
|
|
31
|
+
var react_table_1 = require("@patternfly/react-table");
|
|
32
|
+
var Skeleton_1 = require("../Skeleton");
|
|
33
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
34
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
35
|
+
require("./SkeletonTable.css");
|
|
36
|
+
var SkeletonTable = (function (_super) {
|
|
37
|
+
__extends(SkeletonTable, _super);
|
|
38
|
+
function SkeletonTable() {
|
|
39
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
40
|
+
_this.createColumns = function () {
|
|
41
|
+
var _a = _this.props, colSize = _a.colSize, isDark = _a.isDark;
|
|
42
|
+
return __spreadArray([], Array(colSize), true).map(function () { return ({ title: react_1.default.createElement(Skeleton_1.Skeleton, { isDark: isDark, size: Skeleton_1.SkeletonSize.sm }) }); });
|
|
43
|
+
};
|
|
44
|
+
_this.getColumns = function () {
|
|
45
|
+
var _a = _this.props, paddingColumnSize = _a.paddingColumnSize, columns = _a.columns;
|
|
46
|
+
return _this.newArray(paddingColumnSize)
|
|
47
|
+
.map(function () { return ''; })
|
|
48
|
+
.concat(columns || _this.createColumns());
|
|
49
|
+
};
|
|
50
|
+
_this.createRows = function () {
|
|
51
|
+
var _a = _this.props, colSize = _a.colSize, rowSize = _a.rowSize, columns = _a.columns, paddingColumnSize = _a.paddingColumnSize, isDark = _a.isDark;
|
|
52
|
+
var numberOfCols = columns ? columns.length : colSize;
|
|
53
|
+
return _this.newArray(rowSize).map(function () { return ({
|
|
54
|
+
disableSelection: true,
|
|
55
|
+
cells: _this.newArray(paddingColumnSize)
|
|
56
|
+
.map(function () { return ''; })
|
|
57
|
+
.concat(_this.newArray(numberOfCols).map(function () { return ({ title: react_1.default.createElement(Skeleton_1.Skeleton, { isDark: isDark, size: Skeleton_1.SkeletonSize.md }) }); })),
|
|
58
|
+
}); });
|
|
67
59
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
var _this$props2 = _this.props,
|
|
72
|
-
paddingColumnSize = _this$props2.paddingColumnSize,
|
|
73
|
-
columns = _this$props2.columns;
|
|
74
|
-
return _this.newArray(paddingColumnSize).map(function () {
|
|
75
|
-
return '';
|
|
76
|
-
}).concat(columns || _this.createColumns());
|
|
77
|
-
});
|
|
78
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "createRows", function () {
|
|
79
|
-
var _this$props3 = _this.props,
|
|
80
|
-
colSize = _this$props3.colSize,
|
|
81
|
-
rowSize = _this$props3.rowSize,
|
|
82
|
-
columns = _this$props3.columns,
|
|
83
|
-
paddingColumnSize = _this$props3.paddingColumnSize,
|
|
84
|
-
isDark = _this$props3.isDark;
|
|
85
|
-
var numberOfCols = columns ? columns.length : colSize;
|
|
86
|
-
return _this.newArray(rowSize).map(function () {
|
|
87
|
-
return {
|
|
88
|
-
disableSelection: true,
|
|
89
|
-
cells: _this.newArray(paddingColumnSize).map(function () {
|
|
90
|
-
return '';
|
|
91
|
-
}).concat(_this.newArray(numberOfCols).map(function () {
|
|
92
|
-
return {
|
|
93
|
-
title: /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, {
|
|
94
|
-
isDark: isDark,
|
|
95
|
-
size: _Skeleton.SkeletonSize.md
|
|
96
|
-
})
|
|
97
|
-
};
|
|
98
|
-
}))
|
|
60
|
+
_this.selectVariant = function () {
|
|
61
|
+
var hasRadio = _this.props.hasRadio;
|
|
62
|
+
return hasRadio ? (react_table_1.RowSelectVariant === null || react_table_1.RowSelectVariant === void 0 ? void 0 : react_table_1.RowSelectVariant.radio) || 'radio' : (react_table_1.RowSelectVariant === null || react_table_1.RowSelectVariant === void 0 ? void 0 : react_table_1.RowSelectVariant.checkbox) || 'checkbox';
|
|
99
63
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "selectVariant", function () {
|
|
103
|
-
var hasRadio = _this.props.hasRadio;
|
|
104
|
-
return hasRadio ? (_reactTable.RowSelectVariant === null || _reactTable.RowSelectVariant === void 0 ? void 0 : _reactTable.RowSelectVariant.radio) || 'radio' : (_reactTable.RowSelectVariant === null || _reactTable.RowSelectVariant === void 0 ? void 0 : _reactTable.RowSelectVariant.checkbox) || 'checkbox';
|
|
105
|
-
});
|
|
106
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "newArray", function (size) {
|
|
107
|
-
return (0, _toConsumableArray2["default"])(Array(size));
|
|
108
|
-
});
|
|
109
|
-
return _this;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
(0, _createClass2["default"])(SkeletonTable, [{
|
|
113
|
-
key: "render",
|
|
114
|
-
value: function render() {
|
|
115
|
-
var _this$props4 = this.props,
|
|
116
|
-
canSelectAll = _this$props4.canSelectAll,
|
|
117
|
-
isSelectable = _this$props4.isSelectable,
|
|
118
|
-
sortBy = _this$props4.sortBy,
|
|
119
|
-
variant = _this$props4.variant,
|
|
120
|
-
isDark = _this$props4.isDark;
|
|
121
|
-
return /*#__PURE__*/_react["default"].createElement(_reactTable.Table, {
|
|
122
|
-
className: (0, _classnames["default"])({
|
|
123
|
-
'ins-c-skeleton-table__dark': isDark
|
|
124
|
-
}),
|
|
125
|
-
cells: this.getColumns(),
|
|
126
|
-
rows: this.createRows(),
|
|
127
|
-
sortBy: sortBy,
|
|
128
|
-
"aria-label": "Loading",
|
|
129
|
-
onSelect: isSelectable,
|
|
130
|
-
selectVariant: isSelectable ? this.selectVariant() : null,
|
|
131
|
-
canSelectAll: canSelectAll,
|
|
132
|
-
variant: variant
|
|
133
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactTable.TableHeader, null), /*#__PURE__*/_react["default"].createElement(_reactTable.TableBody, null));
|
|
64
|
+
_this.newArray = function (size) { return __spreadArray([], Array(size), true); };
|
|
65
|
+
return _this;
|
|
134
66
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
67
|
+
SkeletonTable.prototype.render = function () {
|
|
68
|
+
var _a = this.props, canSelectAll = _a.canSelectAll, isSelectable = _a.isSelectable, sortBy = _a.sortBy, variant = _a.variant, isDark = _a.isDark;
|
|
69
|
+
return (react_1.default.createElement(react_table_1.Table, { className: (0, classnames_1.default)({
|
|
70
|
+
'ins-c-skeleton-table__dark': isDark,
|
|
71
|
+
}), cells: this.getColumns(), rows: this.createRows(), sortBy: sortBy, "aria-label": "Loading", onSelect: isSelectable, selectVariant: isSelectable ? this.selectVariant() : null, canSelectAll: canSelectAll, variant: variant },
|
|
72
|
+
react_1.default.createElement(react_table_1.TableHeader, null),
|
|
73
|
+
react_1.default.createElement(react_table_1.TableBody, null)));
|
|
74
|
+
};
|
|
75
|
+
return SkeletonTable;
|
|
76
|
+
}(react_1.default.Component));
|
|
139
77
|
SkeletonTable.propTypes = {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
78
|
+
colSize: prop_types_1.default.number,
|
|
79
|
+
rowSize: prop_types_1.default.number,
|
|
80
|
+
columns: prop_types_1.default.array,
|
|
81
|
+
paddingColumnSize: prop_types_1.default.number,
|
|
82
|
+
sortBy: prop_types_1.default.shape({
|
|
83
|
+
index: prop_types_1.default.number,
|
|
84
|
+
direction: prop_types_1.default.oneOf(['asc', 'desc']),
|
|
85
|
+
}),
|
|
86
|
+
isSelectable: prop_types_1.default.bool,
|
|
87
|
+
canSelectAll: prop_types_1.default.bool,
|
|
88
|
+
hasRadio: prop_types_1.default.bool,
|
|
89
|
+
variant: prop_types_1.default.string,
|
|
90
|
+
isDark: prop_types_1.default.bool,
|
|
153
91
|
};
|
|
154
92
|
SkeletonTable.defaultProps = {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
93
|
+
rowSize: 0,
|
|
94
|
+
paddingColumnSize: 0,
|
|
95
|
+
canSelectAll: false,
|
|
96
|
+
isSelectable: false,
|
|
97
|
+
hasRadio: false,
|
|
98
|
+
variant: null,
|
|
99
|
+
isDark: false,
|
|
162
100
|
};
|
|
163
|
-
|
|
164
|
-
|
|
101
|
+
exports.default = SkeletonTable;
|
|
102
|
+
//# sourceMappingURL=SkeletonTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkeletonTable.js","sourceRoot":"","sources":["../src/SkeletonTable/SkeletonTable.js"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, default as SkeletonTable } from "./SkeletonTable";
|
package/SkeletonTable/index.js
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "SkeletonTable", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _SkeletonTable["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _SkeletonTable = _interopRequireDefault(require("./SkeletonTable"));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SkeletonTable = exports.default = void 0;
|
|
7
|
+
var SkeletonTable_1 = require("./SkeletonTable");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(SkeletonTable_1).default; } });
|
|
9
|
+
var SkeletonTable_2 = require("./SkeletonTable");
|
|
10
|
+
Object.defineProperty(exports, "SkeletonTable", { enumerable: true, get: function () { return __importDefault(SkeletonTable_2).default; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/SkeletonTable/index.js"],"names":[],"mappings":";;;;;;AAAA,iDAA0C;AAAjC,yHAAA,OAAO,OAAA;AAChB,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"main":"index.js","module":"../esm/SkeletonTable/index.js"}
|
|
1
|
+
{"main":"index.js","module":"../esm/SkeletonTable/index.js","typings":"index.d.ts"}
|
package/Spinner/Spinner.js
CHANGED
|
@@ -1,42 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var Spinner = function Spinner(_ref) {
|
|
25
|
-
var centered = _ref.centered,
|
|
26
|
-
className = _ref.className,
|
|
27
|
-
props = (0, _objectWithoutProperties2["default"])(_ref, ["centered", "className"]);
|
|
28
|
-
var spinnerClasses = (0, _classnames["default"])('ins-c-spinner', (0, _defineProperty2["default"])({}, "ins-m-center", centered), className);
|
|
29
|
-
return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({
|
|
30
|
-
role: "status",
|
|
31
|
-
className: spinnerClasses
|
|
32
|
-
}, props), /*#__PURE__*/_react["default"].createElement("span", {
|
|
33
|
-
className: "pf-u-screen-reader"
|
|
34
|
-
}, "Loading..."));
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
35
23
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
30
|
+
require("./spinner.css");
|
|
31
|
+
var Spinner = function (_a) {
|
|
32
|
+
var _b;
|
|
33
|
+
var centered = _a.centered, className = _a.className, props = __rest(_a, ["centered", "className"]);
|
|
34
|
+
var spinnerClasses = (0, classnames_1.default)('ins-c-spinner', (_b = {}, _b["ins-m-center"] = centered, _b), className);
|
|
35
|
+
return (react_1.default.createElement("div", __assign({ role: "status", className: spinnerClasses }, props),
|
|
36
|
+
react_1.default.createElement("span", { className: "pf-u-screen-reader" }, "Loading...")));
|
|
40
37
|
};
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
exports.default = Spinner;
|
|
39
|
+
//# sourceMappingURL=Spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../src/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,0DAAoC;AAEpC,0BAAwB;AAOxB,IAAM,OAAO,GAA0C,UAAC,EAAiC;;IAA/B,IAAA,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAK,KAAK,cAA/B,yBAAiC,CAAF;IACrF,IAAM,cAAc,GAAG,IAAA,oBAAU,EAAC,eAAe,YAAI,GAAC,cAAc,IAAG,QAAQ,OAAI,SAAS,CAAC,CAAC;IAE9F,OAAO,CACL,gDAAK,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,cAAc,IAAM,KAAK;QACrD,wCAAM,SAAS,EAAC,oBAAoB,iBAAkB,CAClD,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
package/Spinner/index.js
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "Spinner", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _Spinner["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _Spinner = _interopRequireDefault(require("./Spinner"));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Spinner = exports.default = void 0;
|
|
7
|
+
var Spinner_1 = require("./Spinner");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Spinner_1).default; } });
|
|
9
|
+
var Spinner_2 = require("./Spinner");
|
|
10
|
+
Object.defineProperty(exports, "Spinner", { enumerable: true, get: function () { return __importDefault(Spinner_2).default; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/Spinner/index.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAoC;AAA3B,mHAAA,OAAO,OAAA;AAChB,qCAA+C;AAAtC,mHAAA,OAAO,OAAW"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default TabLayout;
|
|
2
|
+
declare function TabLayout({ children, items, classNames, active, onTabClick, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children: any;
|
|
5
|
+
items: any;
|
|
6
|
+
classNames: any;
|
|
7
|
+
active: any;
|
|
8
|
+
onTabClick: any;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
declare namespace TabLayout {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
13
|
+
name: PropTypes.Requireable<string>;
|
|
14
|
+
title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
+
}> | null | undefined)[]>;
|
|
16
|
+
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
+
const classNames: PropTypes.Requireable<string>;
|
|
18
|
+
const active: PropTypes.Requireable<string>;
|
|
19
|
+
const onTabClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
}
|
|
21
|
+
namespace defaultProps {
|
|
22
|
+
const items_1: never[];
|
|
23
|
+
export { items_1 as items };
|
|
24
|
+
export function onTabClick_1(): undefined;
|
|
25
|
+
export { onTabClick_1 as onTabClick };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
import PropTypes from "prop-types";
|