@hipay/hipay-material-ui 2.3.0-rcstyleguide-beta2 → 2.3.0-rcstyleguide-beta4
Sign up to get free protection for your applications and to get access to all the features.
- package/es/old_components/HiAlertModal/HiAlertModal.js +231 -0
- package/es/old_components/HiAlertModal/index.js +15 -0
- package/es/old_components/HiAppBar/HiAppBar.js +136 -0
- package/es/old_components/HiAppBar/index.js +15 -0
- package/es/old_components/HiBadge/HiBadge.js +103 -0
- package/es/old_components/HiBadge/index.js +15 -0
- package/es/old_components/HiBreadcrumb/HiBreadcrumb.js +105 -0
- package/es/old_components/HiBreadcrumb/HiStep.js +128 -0
- package/es/old_components/HiBreadcrumb/HiStepConnector.js +164 -0
- package/es/old_components/HiBreadcrumb/HiStepContent.js +97 -0
- package/es/old_components/HiBreadcrumb/HiStepIcon.js +154 -0
- package/es/old_components/HiBreadcrumb/HiStepLabel.js +173 -0
- package/es/old_components/HiBreadcrumb/HiStepper.js +81 -0
- package/es/old_components/HiBreadcrumb/index.js +15 -0
- package/es/old_components/HiButton/HiButton.js +92 -0
- package/es/old_components/HiButton/index.js +13 -0
- package/es/old_components/HiCell/CellAddress.js +98 -0
- package/es/old_components/HiCell/CellDate.js +110 -0
- package/es/old_components/HiCell/CellIcon.js +129 -0
- package/es/old_components/HiCell/CellImage.js +115 -0
- package/es/old_components/HiCell/CellNumeric.js +91 -0
- package/es/old_components/HiCell/CellPinToAction.js +73 -0
- package/es/old_components/HiCell/CellRate.js +150 -0
- package/es/old_components/HiCell/CellSentinel.js +91 -0
- package/es/old_components/HiCell/CellSentinelScore.js +94 -0
- package/es/old_components/HiCell/CellText.js +228 -0
- package/es/old_components/HiCell/CellTextStyled.js +92 -0
- package/es/old_components/HiCell/index.js +79 -0
- package/es/old_components/HiCheckbox/HiCheckbox.js +175 -0
- package/es/old_components/HiCheckbox/index.js +15 -0
- package/es/old_components/HiChip/HiChip.js +227 -0
- package/es/old_components/HiChip/HiChipSwitch.js +249 -0
- package/es/old_components/HiChip/index.js +23 -0
- package/es/old_components/HiColoredLabel/HiColoredLabel.js +179 -0
- package/es/old_components/HiColoredLabel/index.js +15 -0
- package/es/old_components/HiDatePicker/Caption.js +57 -0
- package/es/old_components/HiDatePicker/HiDatePicker.js +357 -0
- package/es/old_components/HiDatePicker/HiDatePickerMobile.js +106 -0
- package/es/old_components/HiDatePicker/HiDateRangePicker.js +641 -0
- package/es/old_components/HiDatePicker/HiDateRangeSelector.js +464 -0
- package/es/old_components/HiDatePicker/ListPicker.js +136 -0
- package/es/old_components/HiDatePicker/NavBar.js +106 -0
- package/es/old_components/HiDatePicker/Overlays/CustomOverlayLayout.js +111 -0
- package/es/old_components/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +103 -0
- package/es/old_components/HiDatePicker/Overlays/MonthPickerOverlay.js +89 -0
- package/es/old_components/HiDatePicker/Overlays/Overlay.js +77 -0
- package/es/old_components/HiDatePicker/Overlays/TimePickerOverlay.js +217 -0
- package/es/old_components/HiDatePicker/Overlays/YearPickerOverlay.js +110 -0
- package/es/old_components/HiDatePicker/Overlays/index.js +47 -0
- package/es/old_components/HiDatePicker/Weekday.js +25 -0
- package/es/old_components/HiDatePicker/hiLocaleUtils.js +144 -0
- package/es/old_components/HiDatePicker/index.js +15 -0
- package/es/old_components/HiDatePicker/stylesheet.js +266 -0
- package/es/old_components/HiDotsStepper/HiDot.js +102 -0
- package/es/old_components/HiDotsStepper/HiDotsStepper.js +111 -0
- package/es/old_components/HiExpansionPanel/HiExpansionPanel.js +194 -0
- package/es/old_components/HiExpansionPanel/index.js +13 -0
- package/es/old_components/HiForm/HiAddressField.js +153 -0
- package/es/old_components/HiForm/HiEmailField.js +81 -0
- package/es/old_components/HiForm/HiFormControl.js +306 -0
- package/es/old_components/HiForm/HiFormLabel.js +125 -0
- package/es/old_components/HiForm/HiInput.js +459 -0
- package/es/old_components/HiForm/HiPasswordField.js +113 -0
- package/es/old_components/HiForm/HiSearchField.js +157 -0
- package/es/old_components/HiForm/HiSlider.js +281 -0
- package/es/old_components/HiForm/HiTextField.js +170 -0
- package/es/old_components/HiForm/HiUpload.js +385 -0
- package/es/old_components/HiForm/HiUploadField.js +90 -0
- package/es/old_components/HiForm/HiUploadInput.js +390 -0
- package/es/old_components/HiForm/index.js +95 -0
- package/es/old_components/HiIcon/HiIcon.js +114 -0
- package/es/old_components/HiIcon/index.js +15 -0
- package/es/old_components/HiIconButton/HiIconButton.js +104 -0
- package/es/old_components/HiIconButton/index.js +15 -0
- package/es/old_components/HiLoader/HiLoader.js +49 -0
- package/es/old_components/HiLoader/index.js +15 -0
- package/es/old_components/HiMap/HiMap.js +317 -0
- package/es/old_components/HiMap/HiMapExpand.js +200 -0
- package/es/old_components/HiMap/index.js +23 -0
- package/es/old_components/HiNotice/HiKPI.js +186 -0
- package/es/old_components/HiNotice/HiKPINotice.js +69 -0
- package/es/old_components/HiNotice/index.js +23 -0
- package/es/old_components/HiPaymentMeans/HiPaymentMeans.js +576 -0
- package/es/old_components/HiPaymentMeans/index.js +15 -0
- package/es/old_components/HiPdfReader/HiPdfReader.js +245 -0
- package/es/old_components/HiPdfReader/index.js +15 -0
- package/es/old_components/HiPin/HiPin.js +104 -0
- package/es/old_components/HiPin/index.js +15 -0
- package/es/old_components/HiRadio/HiRadio.js +67 -0
- package/es/old_components/HiRadio/index.js +15 -0
- package/es/old_components/HiSelect/HiDynamicSelect.js +165 -0
- package/es/old_components/HiSelect/HiDynamicSelectField.js +98 -0
- package/es/old_components/HiSelect/HiNestedSelect.js +445 -0
- package/es/old_components/HiSelect/HiNestedSelectContent.js +350 -0
- package/es/old_components/HiSelect/HiNestedSelectField.js +98 -0
- package/es/old_components/HiSelect/HiSelect.js +808 -0
- package/es/old_components/HiSelect/HiSelectContent.js +404 -0
- package/es/old_components/HiSelect/HiSelectField.js +100 -0
- package/es/old_components/HiSelect/HiSelectInput.js +323 -0
- package/es/old_components/HiSelect/HiSelectMobile.js +167 -0
- package/es/old_components/HiSelect/HiSuggestSelect.js +313 -0
- package/es/old_components/HiSelect/HiSuggestSelectField.js +87 -0
- package/es/old_components/HiSelect/index.js +85 -0
- package/es/old_components/HiSelectableList/HiSelectableList.js +292 -0
- package/es/old_components/HiSelectableList/HiSelectableListHierarchic.js +173 -0
- package/es/old_components/HiSelectableList/HiSelectableListItem.js +427 -0
- package/es/old_components/HiSelectableList/index.js +31 -0
- package/es/old_components/HiSwitch/HiSwitch.js +201 -0
- package/es/old_components/HiSwitch/HiSwitchState.js +163 -0
- package/es/old_components/HiSwitch/index.js +23 -0
- package/es/old_components/HiTable/HiCellBuilder.js +231 -0
- package/es/old_components/HiTable/HiTable.js +101 -0
- package/es/old_components/HiTable/HiTableBody.js +62 -0
- package/es/old_components/HiTable/HiTableHeader.js +141 -0
- package/es/old_components/HiTable/HiTableRow.js +136 -0
- package/es/old_components/HiTable/constants.js +149 -0
- package/es/old_components/HiTable/index.js +15 -0
- package/hi-svg-icons/HiAccount.js +46 -0
- package/hi-svg-icons/HiActivity.js +44 -0
- package/hi-svg-icons/HiAll.js +51 -0
- package/hi-svg-icons/HiBilling.js +46 -0
- package/hi-svg-icons/HiBriefcaseRescue.js +27 -0
- package/hi-svg-icons/HiCatalog.js +43 -0
- package/hi-svg-icons/HiCustomer.js +43 -0
- package/hi-svg-icons/HiDownload.js +28 -0
- package/hi-svg-icons/HiFinance.js +43 -0
- package/hi-svg-icons/HiPermission.js +41 -0
- package/hi-svg-icons/HiRoute.js +43 -0
- package/hi-svg-icons/HiSettlement.js +43 -0
- package/hi-svg-icons/HiSizeLarge.js +36 -0
- package/hi-svg-icons/HiSizeMedium.js +36 -0
- package/hi-svg-icons/HiSizeSmall.js +36 -0
- package/hi-svg-icons/HiTransaction.js +43 -0
- package/hi-svg-icons/HiUser.js +43 -0
- package/hi-svg-icons/HiWidget.js +48 -0
- package/hi-svg-icons/index.js +151 -0
- package/old_components/HiAlertModal/HiAlertModal.js +231 -0
- package/old_components/HiAlertModal/index.js +15 -0
- package/old_components/HiAppBar/HiAppBar.js +136 -0
- package/old_components/HiAppBar/index.js +15 -0
- package/old_components/HiBadge/HiBadge.js +103 -0
- package/old_components/HiBadge/index.js +15 -0
- package/old_components/HiBreadcrumb/HiBreadcrumb.js +105 -0
- package/old_components/HiBreadcrumb/HiStep.js +128 -0
- package/old_components/HiBreadcrumb/HiStepConnector.js +164 -0
- package/old_components/HiBreadcrumb/HiStepContent.js +97 -0
- package/old_components/HiBreadcrumb/HiStepIcon.js +154 -0
- package/old_components/HiBreadcrumb/HiStepLabel.js +173 -0
- package/old_components/HiBreadcrumb/HiStepper.js +81 -0
- package/old_components/HiBreadcrumb/index.js +15 -0
- package/old_components/HiButton/HiButton.js +92 -0
- package/old_components/HiButton/index.js +13 -0
- package/old_components/HiCell/CellAddress.js +98 -0
- package/old_components/HiCell/CellDate.js +110 -0
- package/old_components/HiCell/CellIcon.js +129 -0
- package/old_components/HiCell/CellImage.js +115 -0
- package/old_components/HiCell/CellNumeric.js +91 -0
- package/old_components/HiCell/CellPinToAction.js +73 -0
- package/old_components/HiCell/CellRate.js +150 -0
- package/old_components/HiCell/CellSentinel.js +91 -0
- package/old_components/HiCell/CellSentinelScore.js +94 -0
- package/old_components/HiCell/CellText.js +228 -0
- package/old_components/HiCell/CellTextStyled.js +92 -0
- package/old_components/HiCell/index.js +79 -0
- package/old_components/HiCheckbox/HiCheckbox.js +175 -0
- package/old_components/HiCheckbox/index.js +15 -0
- package/old_components/HiChip/HiChip.js +227 -0
- package/old_components/HiChip/HiChipSwitch.js +249 -0
- package/old_components/HiChip/index.js +23 -0
- package/old_components/HiColoredLabel/HiColoredLabel.js +179 -0
- package/old_components/HiColoredLabel/index.js +15 -0
- package/old_components/HiDatePicker/Caption.js +57 -0
- package/old_components/HiDatePicker/HiDatePicker.js +357 -0
- package/old_components/HiDatePicker/HiDatePickerMobile.js +106 -0
- package/old_components/HiDatePicker/HiDateRangePicker.js +641 -0
- package/old_components/HiDatePicker/HiDateRangeSelector.js +464 -0
- package/old_components/HiDatePicker/ListPicker.js +136 -0
- package/old_components/HiDatePicker/NavBar.js +106 -0
- package/old_components/HiDatePicker/Overlays/CustomOverlayLayout.js +111 -0
- package/old_components/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +103 -0
- package/old_components/HiDatePicker/Overlays/MonthPickerOverlay.js +89 -0
- package/old_components/HiDatePicker/Overlays/Overlay.js +77 -0
- package/old_components/HiDatePicker/Overlays/TimePickerOverlay.js +217 -0
- package/old_components/HiDatePicker/Overlays/YearPickerOverlay.js +110 -0
- package/old_components/HiDatePicker/Overlays/index.js +47 -0
- package/old_components/HiDatePicker/Weekday.js +25 -0
- package/old_components/HiDatePicker/hiLocaleUtils.js +144 -0
- package/old_components/HiDatePicker/index.js +15 -0
- package/old_components/HiDatePicker/stylesheet.js +266 -0
- package/old_components/HiDotsStepper/HiDot.js +102 -0
- package/old_components/HiDotsStepper/HiDotsStepper.js +111 -0
- package/old_components/HiExpansionPanel/HiExpansionPanel.js +194 -0
- package/old_components/HiExpansionPanel/index.js +13 -0
- package/old_components/HiForm/HiAddressField.js +153 -0
- package/old_components/HiForm/HiEmailField.js +81 -0
- package/old_components/HiForm/HiFormControl.js +306 -0
- package/old_components/HiForm/HiFormLabel.js +125 -0
- package/old_components/HiForm/HiInput.js +459 -0
- package/old_components/HiForm/HiPasswordField.js +113 -0
- package/old_components/HiForm/HiSearchField.js +157 -0
- package/old_components/HiForm/HiSlider.js +281 -0
- package/old_components/HiForm/HiTextField.js +170 -0
- package/old_components/HiForm/HiUpload.js +385 -0
- package/old_components/HiForm/HiUploadField.js +90 -0
- package/old_components/HiForm/HiUploadInput.js +390 -0
- package/old_components/HiForm/index.js +95 -0
- package/old_components/HiIcon/HiIcon.js +114 -0
- package/old_components/HiIcon/index.js +15 -0
- package/old_components/HiIconButton/HiIconButton.js +104 -0
- package/old_components/HiIconButton/index.js +15 -0
- package/old_components/HiLoader/HiLoader.js +49 -0
- package/old_components/HiLoader/index.js +15 -0
- package/old_components/HiMap/HiMap.js +317 -0
- package/old_components/HiMap/HiMapExpand.js +200 -0
- package/old_components/HiMap/index.js +23 -0
- package/old_components/HiNotice/HiKPI.js +186 -0
- package/old_components/HiNotice/HiKPINotice.js +69 -0
- package/old_components/HiNotice/index.js +23 -0
- package/old_components/HiPaymentMeans/HiPaymentMeans.js +576 -0
- package/old_components/HiPaymentMeans/index.js +15 -0
- package/old_components/HiPdfReader/HiPdfReader.js +245 -0
- package/old_components/HiPdfReader/index.js +15 -0
- package/old_components/HiPin/HiPin.js +104 -0
- package/old_components/HiPin/index.js +15 -0
- package/old_components/HiRadio/HiRadio.js +67 -0
- package/old_components/HiRadio/index.js +15 -0
- package/old_components/HiSelect/HiDynamicSelect.js +165 -0
- package/old_components/HiSelect/HiDynamicSelectField.js +98 -0
- package/old_components/HiSelect/HiNestedSelect.js +445 -0
- package/old_components/HiSelect/HiNestedSelectContent.js +350 -0
- package/old_components/HiSelect/HiNestedSelectField.js +98 -0
- package/old_components/HiSelect/HiSelect.js +808 -0
- package/old_components/HiSelect/HiSelectContent.js +404 -0
- package/old_components/HiSelect/HiSelectField.js +100 -0
- package/old_components/HiSelect/HiSelectInput.js +323 -0
- package/old_components/HiSelect/HiSelectMobile.js +167 -0
- package/old_components/HiSelect/HiSuggestSelect.js +313 -0
- package/old_components/HiSelect/HiSuggestSelectField.js +87 -0
- package/old_components/HiSelect/index.js +85 -0
- package/old_components/HiSelectableList/HiSelectableList.js +292 -0
- package/old_components/HiSelectableList/HiSelectableListHierarchic.js +173 -0
- package/old_components/HiSelectableList/HiSelectableListItem.js +427 -0
- package/old_components/HiSelectableList/index.js +31 -0
- package/old_components/HiSwitch/HiSwitch.js +201 -0
- package/old_components/HiSwitch/HiSwitchState.js +163 -0
- package/old_components/HiSwitch/index.js +23 -0
- package/old_components/HiTable/HiCellBuilder.js +231 -0
- package/old_components/HiTable/HiTable.js +101 -0
- package/old_components/HiTable/HiTableBody.js +62 -0
- package/old_components/HiTable/HiTableHeader.js +141 -0
- package/old_components/HiTable/HiTableRow.js +136 -0
- package/old_components/HiTable/constants.js +149 -0
- package/old_components/HiTable/index.js +15 -0
- package/old_components/hi-svg-icons/HiAccount.js +46 -0
- package/old_components/hi-svg-icons/HiActivity.js +44 -0
- package/old_components/hi-svg-icons/HiAll.js +51 -0
- package/old_components/hi-svg-icons/HiBilling.js +46 -0
- package/old_components/hi-svg-icons/HiBriefcaseRescue.js +27 -0
- package/old_components/hi-svg-icons/HiCatalog.js +43 -0
- package/old_components/hi-svg-icons/HiCustomer.js +43 -0
- package/old_components/hi-svg-icons/HiDownload.js +28 -0
- package/old_components/hi-svg-icons/HiFinance.js +43 -0
- package/old_components/hi-svg-icons/HiPermission.js +41 -0
- package/old_components/hi-svg-icons/HiRoute.js +43 -0
- package/old_components/hi-svg-icons/HiSettlement.js +43 -0
- package/old_components/hi-svg-icons/HiSizeLarge.js +36 -0
- package/old_components/hi-svg-icons/HiSizeMedium.js +36 -0
- package/old_components/hi-svg-icons/HiSizeSmall.js +36 -0
- package/old_components/hi-svg-icons/HiTransaction.js +43 -0
- package/old_components/hi-svg-icons/HiUser.js +43 -0
- package/old_components/hi-svg-icons/HiWidget.js +48 -0
- package/old_components/hi-svg-icons/index.js +151 -0
- package/old_components/styles/MuiThemeProvider.js +155 -0
- package/old_components/styles/colorManipulator.js +286 -0
- package/old_components/styles/createBreakpoints.js +81 -0
- package/old_components/styles/createGenerateClassName.js +86 -0
- package/old_components/styles/createMixins.js +36 -0
- package/old_components/styles/createMuiTheme.js +77 -0
- package/old_components/styles/createPalette.js +287 -0
- package/old_components/styles/createStyles.js +10 -0
- package/old_components/styles/createTypography.js +185 -0
- package/old_components/styles/getStylesCreator.js +54 -0
- package/old_components/styles/getThemeProps.js +20 -0
- package/old_components/styles/index.js +63 -0
- package/old_components/styles/jssPreset.js +31 -0
- package/old_components/styles/mergeClasses.js +41 -0
- package/old_components/styles/shadows.js +17 -0
- package/old_components/styles/shape.js +11 -0
- package/old_components/styles/spacing.js +14 -0
- package/old_components/styles/themeListener.js +40 -0
- package/old_components/styles/transitions.js +106 -0
- package/old_components/styles/withStyles.js +373 -0
- package/old_components/styles/withTheme.js +122 -0
- package/old_components/styles/zIndex.js +18 -0
- package/old_components/test-utils/createMount.js +44 -0
- package/old_components/test-utils/createRender.js +29 -0
- package/old_components/test-utils/createShallow.js +48 -0
- package/old_components/test-utils/getClasses.js +12 -0
- package/old_components/test-utils/index.js +47 -0
- package/old_components/test-utils/until.js +49 -0
- package/old_components/test-utils/unwrap.js +10 -0
- package/old_components/transitions/utils.js +23 -0
- package/old_components/utils/helpers.js +335 -0
- package/old_components/withMobileDialog/index.js +15 -0
- package/old_components/withMobileDialog/withMobileDialog.js +40 -0
- package/package.json +2 -4
- package/styles/MuiThemeProvider.js +155 -0
- package/styles/colorManipulator.js +286 -0
- package/styles/createBreakpoints.js +81 -0
- package/styles/createGenerateClassName.js +86 -0
- package/styles/createMixins.js +36 -0
- package/styles/createMuiTheme.js +77 -0
- package/styles/createPalette.js +287 -0
- package/styles/createStyles.js +10 -0
- package/styles/createTypography.js +185 -0
- package/styles/getStylesCreator.js +54 -0
- package/styles/getThemeProps.js +20 -0
- package/styles/index.js +63 -0
- package/styles/jssPreset.js +31 -0
- package/styles/mergeClasses.js +41 -0
- package/styles/shadows.js +17 -0
- package/styles/shape.js +11 -0
- package/styles/spacing.js +14 -0
- package/styles/themeListener.js +40 -0
- package/styles/transitions.js +106 -0
- package/styles/withStyles.js +373 -0
- package/styles/withTheme.js +122 -0
- package/styles/zIndex.js +18 -0
- package/test-utils/createMount.js +44 -0
- package/test-utils/createRender.js +29 -0
- package/test-utils/createShallow.js +48 -0
- package/test-utils/getClasses.js +12 -0
- package/test-utils/index.js +47 -0
- package/test-utils/until.js +49 -0
- package/test-utils/unwrap.js +10 -0
- package/transitions/utils.js +23 -0
- package/utils/helpers.js +335 -0
- package/withMobileDialog/index.js +15 -0
- package/withMobileDialog/withMobileDialog.js +40 -0
- package/App.js +0 -36
- package/index.es.js +0 -22
- package/index.js +0 -27
- package/serviceWorker.js +0 -118
- /package/{components/HiAlertModal → HiAlertModal}/HiAlertModal.js +0 -0
- /package/{components/HiAlertModal → HiAlertModal}/index.js +0 -0
- /package/{components/HiAppBar → HiAppBar}/HiAppBar.js +0 -0
- /package/{components/HiAppBar → HiAppBar}/index.js +0 -0
- /package/{components/HiBadge → HiBadge}/HiBadge.js +0 -0
- /package/{components/HiBadge → HiBadge}/index.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiBreadcrumb.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStep.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepConnector.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepContent.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepIcon.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepLabel.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepper.js +0 -0
- /package/{components/HiBreadcrumb → HiBreadcrumb}/index.js +0 -0
- /package/{components/HiButton → HiButton}/HiButton.js +0 -0
- /package/{components/HiButton → HiButton}/index.js +0 -0
- /package/{components/HiCell → HiCell}/CellAddress.js +0 -0
- /package/{components/HiCell → HiCell}/CellDate.js +0 -0
- /package/{components/HiCell → HiCell}/CellIcon.js +0 -0
- /package/{components/HiCell → HiCell}/CellImage.js +0 -0
- /package/{components/HiCell → HiCell}/CellNumeric.js +0 -0
- /package/{components/HiCell → HiCell}/CellPinToAction.js +0 -0
- /package/{components/HiCell → HiCell}/CellRate.js +0 -0
- /package/{components/HiCell → HiCell}/CellSentinel.js +0 -0
- /package/{components/HiCell → HiCell}/CellSentinelScore.js +0 -0
- /package/{components/HiCell → HiCell}/CellText.js +0 -0
- /package/{components/HiCell → HiCell}/CellTextStyled.js +0 -0
- /package/{components/HiCell → HiCell}/index.js +0 -0
- /package/{components/HiCheckbox → HiCheckbox}/HiCheckbox.js +0 -0
- /package/{components/HiCheckbox → HiCheckbox}/index.js +0 -0
- /package/{components/HiChip → HiChip}/HiChip.js +0 -0
- /package/{components/HiChip → HiChip}/HiChipSwitch.js +0 -0
- /package/{components/HiChip → HiChip}/index.js +0 -0
- /package/{components/HiColoredLabel → HiColoredLabel}/HiColoredLabel.js +0 -0
- /package/{components/HiColoredLabel → HiColoredLabel}/index.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Caption.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/HiDatePicker.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/HiDatePickerMobile.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/HiDateRangePicker.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/HiDateRangeSelector.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/ListPicker.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/NavBar.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayout.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayoutWithoutFooter.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/MonthPickerOverlay.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/Overlay.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/TimePickerOverlay.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/YearPickerOverlay.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Overlays/index.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/Weekday.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/hiLocaleUtils.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/index.js +0 -0
- /package/{components/HiDatePicker → HiDatePicker}/stylesheet.js +0 -0
- /package/{components/HiDotsStepper → HiDotsStepper}/HiDot.js +0 -0
- /package/{components/HiDotsStepper → HiDotsStepper}/HiDotsStepper.js +0 -0
- /package/{components/HiExpansionPanel → HiExpansionPanel}/HiExpansionPanel.js +0 -0
- /package/{components/HiExpansionPanel → HiExpansionPanel}/index.js +0 -0
- /package/{components/HiForm → HiForm}/HiAddressField.js +0 -0
- /package/{components/HiForm → HiForm}/HiEmailField.js +0 -0
- /package/{components/HiForm → HiForm}/HiFormControl.js +0 -0
- /package/{components/HiForm → HiForm}/HiFormLabel.js +0 -0
- /package/{components/HiForm → HiForm}/HiInput.js +0 -0
- /package/{components/HiForm → HiForm}/HiPasswordField.js +0 -0
- /package/{components/HiForm → HiForm}/HiSearchField.js +0 -0
- /package/{components/HiForm → HiForm}/HiSlider.js +0 -0
- /package/{components/HiForm → HiForm}/HiTextField.js +0 -0
- /package/{components/HiForm → HiForm}/HiUpload.js +0 -0
- /package/{components/HiForm → HiForm}/HiUploadField.js +0 -0
- /package/{components/HiForm → HiForm}/HiUploadInput.js +0 -0
- /package/{components/HiForm → HiForm}/index.js +0 -0
- /package/{components/HiIcon → HiIcon}/HiIcon.js +0 -0
- /package/{components/HiIcon → HiIcon}/index.js +0 -0
- /package/{components/HiIconButton → HiIconButton}/HiIconButton.js +0 -0
- /package/{components/HiIconButton → HiIconButton}/index.js +0 -0
- /package/{components/HiLoader → HiLoader}/HiLoader.js +0 -0
- /package/{components/HiLoader → HiLoader}/index.js +0 -0
- /package/{components/HiMap → HiMap}/HiMap.js +0 -0
- /package/{components/HiMap → HiMap}/HiMapExpand.js +0 -0
- /package/{components/HiMap → HiMap}/index.js +0 -0
- /package/{components/HiNotice → HiNotice}/HiKPI.js +0 -0
- /package/{components/HiNotice → HiNotice}/HiKPINotice.js +0 -0
- /package/{components/HiNotice → HiNotice}/index.js +0 -0
- /package/{components/HiPaymentMeans → HiPaymentMeans}/HiPaymentMeans.js +0 -0
- /package/{components/HiPaymentMeans → HiPaymentMeans}/index.js +0 -0
- /package/{components/HiPdfReader → HiPdfReader}/HiPdfReader.js +0 -0
- /package/{components/HiPdfReader → HiPdfReader}/index.js +0 -0
- /package/{components/HiPin → HiPin}/HiPin.js +0 -0
- /package/{components/HiPin → HiPin}/index.js +0 -0
- /package/{components/HiRadio → HiRadio}/HiRadio.js +0 -0
- /package/{components/HiRadio → HiRadio}/index.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiDynamicSelect.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiDynamicSelectField.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiNestedSelect.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiNestedSelectContent.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiNestedSelectField.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSelect.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSelectContent.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSelectField.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSelectInput.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSelectMobile.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSuggestSelect.js +0 -0
- /package/{components/HiSelect → HiSelect}/HiSuggestSelectField.js +0 -0
- /package/{components/HiSelect → HiSelect}/index.js +0 -0
- /package/{components/HiSelectableList → HiSelectableList}/HiSelectableList.js +0 -0
- /package/{components/HiSelectableList → HiSelectableList}/HiSelectableListHierarchic.js +0 -0
- /package/{components/HiSelectableList → HiSelectableList}/HiSelectableListItem.js +0 -0
- /package/{components/HiSelectableList → HiSelectableList}/index.js +0 -0
- /package/{components/HiSwitch → HiSwitch}/HiSwitch.js +0 -0
- /package/{components/HiSwitch → HiSwitch}/HiSwitchState.js +0 -0
- /package/{components/HiSwitch → HiSwitch}/index.js +0 -0
- /package/{components/HiTable → HiTable}/HiCellBuilder.js +0 -0
- /package/{components/HiTable → HiTable}/HiTable.js +0 -0
- /package/{components/HiTable → HiTable}/HiTableBody.js +0 -0
- /package/{components/HiTable → HiTable}/HiTableHeader.js +0 -0
- /package/{components/HiTable → HiTable}/HiTableRow.js +0 -0
- /package/{components/HiTable → HiTable}/constants.js +0 -0
- /package/{components/HiTable → HiTable}/index.js +0 -0
- /package/es/{components/HiAlertModal → HiAlertModal}/HiAlertModal.js +0 -0
- /package/es/{components/HiAlertModal → HiAlertModal}/index.js +0 -0
- /package/es/{components/HiAppBar → HiAppBar}/HiAppBar.js +0 -0
- /package/es/{components/HiAppBar → HiAppBar}/index.js +0 -0
- /package/es/{components/HiBadge → HiBadge}/HiBadge.js +0 -0
- /package/es/{components/HiBadge → HiBadge}/index.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiBreadcrumb.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStep.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepConnector.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepContent.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepIcon.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepLabel.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepper.js +0 -0
- /package/es/{components/HiBreadcrumb → HiBreadcrumb}/index.js +0 -0
- /package/es/{components/HiButton → HiButton}/HiButton.js +0 -0
- /package/es/{components/HiButton → HiButton}/index.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellAddress.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellDate.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellIcon.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellImage.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellNumeric.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellPinToAction.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellRate.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellSentinel.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellSentinelScore.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellText.js +0 -0
- /package/es/{components/HiCell → HiCell}/CellTextStyled.js +0 -0
- /package/es/{components/HiCell → HiCell}/index.js +0 -0
- /package/es/{components/HiCheckbox → HiCheckbox}/HiCheckbox.js +0 -0
- /package/es/{components/HiCheckbox → HiCheckbox}/index.js +0 -0
- /package/es/{components/HiChip → HiChip}/HiChip.js +0 -0
- /package/es/{components/HiChip → HiChip}/HiChipSwitch.js +0 -0
- /package/es/{components/HiChip → HiChip}/index.js +0 -0
- /package/es/{components/HiColoredLabel → HiColoredLabel}/HiColoredLabel.js +0 -0
- /package/es/{components/HiColoredLabel → HiColoredLabel}/index.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Caption.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/HiDatePicker.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/HiDatePickerMobile.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/HiDateRangePicker.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/HiDateRangeSelector.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/ListPicker.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/NavBar.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayout.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayoutWithoutFooter.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/MonthPickerOverlay.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/Overlay.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/TimePickerOverlay.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/YearPickerOverlay.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/index.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/Weekday.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/hiLocaleUtils.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/index.js +0 -0
- /package/es/{components/HiDatePicker → HiDatePicker}/stylesheet.js +0 -0
- /package/es/{components/HiDotsStepper → HiDotsStepper}/HiDot.js +0 -0
- /package/es/{components/HiDotsStepper → HiDotsStepper}/HiDotsStepper.js +0 -0
- /package/es/{components/HiExpansionPanel → HiExpansionPanel}/HiExpansionPanel.js +0 -0
- /package/es/{components/HiExpansionPanel → HiExpansionPanel}/index.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiAddressField.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiEmailField.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiFormControl.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiFormLabel.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiInput.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiPasswordField.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiSearchField.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiSlider.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiTextField.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiUpload.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiUploadField.js +0 -0
- /package/es/{components/HiForm → HiForm}/HiUploadInput.js +0 -0
- /package/es/{components/HiForm → HiForm}/index.js +0 -0
- /package/es/{components/HiIcon → HiIcon}/HiIcon.js +0 -0
- /package/es/{components/HiIcon → HiIcon}/index.js +0 -0
- /package/es/{components/HiIconButton → HiIconButton}/HiIconButton.js +0 -0
- /package/es/{components/HiIconButton → HiIconButton}/index.js +0 -0
- /package/es/{components/HiLoader → HiLoader}/HiLoader.js +0 -0
- /package/es/{components/HiLoader → HiLoader}/index.js +0 -0
- /package/es/{components/HiMap → HiMap}/HiMap.js +0 -0
- /package/es/{components/HiMap → HiMap}/HiMapExpand.js +0 -0
- /package/es/{components/HiMap → HiMap}/index.js +0 -0
- /package/es/{components/HiNotice → HiNotice}/HiKPI.js +0 -0
- /package/es/{components/HiNotice → HiNotice}/HiKPINotice.js +0 -0
- /package/es/{components/HiNotice → HiNotice}/index.js +0 -0
- /package/es/{components/HiPaymentMeans → HiPaymentMeans}/HiPaymentMeans.js +0 -0
- /package/es/{components/HiPaymentMeans → HiPaymentMeans}/index.js +0 -0
- /package/es/{components/HiPdfReader → HiPdfReader}/HiPdfReader.js +0 -0
- /package/es/{components/HiPdfReader → HiPdfReader}/index.js +0 -0
- /package/es/{components/HiPin → HiPin}/HiPin.js +0 -0
- /package/es/{components/HiPin → HiPin}/index.js +0 -0
- /package/es/{components/HiRadio → HiRadio}/HiRadio.js +0 -0
- /package/es/{components/HiRadio → HiRadio}/index.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiDynamicSelect.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiDynamicSelectField.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiNestedSelect.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiNestedSelectContent.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiNestedSelectField.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSelect.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSelectContent.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSelectField.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSelectInput.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSelectMobile.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSuggestSelect.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/HiSuggestSelectField.js +0 -0
- /package/es/{components/HiSelect → HiSelect}/index.js +0 -0
- /package/es/{components/HiSelectableList → HiSelectableList}/HiSelectableList.js +0 -0
- /package/es/{components/HiSelectableList → HiSelectableList}/HiSelectableListHierarchic.js +0 -0
- /package/es/{components/HiSelectableList → HiSelectableList}/HiSelectableListItem.js +0 -0
- /package/es/{components/HiSelectableList → HiSelectableList}/index.js +0 -0
- /package/es/{components/HiSwitch → HiSwitch}/HiSwitch.js +0 -0
- /package/es/{components/HiSwitch → HiSwitch}/HiSwitchState.js +0 -0
- /package/es/{components/HiSwitch → HiSwitch}/index.js +0 -0
- /package/es/{components/HiTable → HiTable}/HiCellBuilder.js +0 -0
- /package/es/{components/HiTable → HiTable}/HiTable.js +0 -0
- /package/es/{components/HiTable → HiTable}/HiTableBody.js +0 -0
- /package/es/{components/HiTable → HiTable}/HiTableHeader.js +0 -0
- /package/es/{components/HiTable → HiTable}/HiTableRow.js +0 -0
- /package/es/{components/HiTable → HiTable}/constants.js +0 -0
- /package/es/{components/HiTable → HiTable}/index.js +0 -0
- /package/{components → es}/hi-svg-icons/HiAccount.js +0 -0
- /package/{components → es}/hi-svg-icons/HiActivity.js +0 -0
- /package/{components → es}/hi-svg-icons/HiAll.js +0 -0
- /package/{components → es}/hi-svg-icons/HiBilling.js +0 -0
- /package/{components → es}/hi-svg-icons/HiBriefcaseRescue.js +0 -0
- /package/{components → es}/hi-svg-icons/HiCatalog.js +0 -0
- /package/{components → es}/hi-svg-icons/HiCustomer.js +0 -0
- /package/{components → es}/hi-svg-icons/HiDownload.js +0 -0
- /package/{components → es}/hi-svg-icons/HiFinance.js +0 -0
- /package/{components → es}/hi-svg-icons/HiPermission.js +0 -0
- /package/{components → es}/hi-svg-icons/HiRoute.js +0 -0
- /package/{components → es}/hi-svg-icons/HiSettlement.js +0 -0
- /package/{components → es}/hi-svg-icons/HiSizeLarge.js +0 -0
- /package/{components → es}/hi-svg-icons/HiSizeMedium.js +0 -0
- /package/{components → es}/hi-svg-icons/HiSizeSmall.js +0 -0
- /package/{components → es}/hi-svg-icons/HiTransaction.js +0 -0
- /package/{components → es}/hi-svg-icons/HiUser.js +0 -0
- /package/{components → es}/hi-svg-icons/HiWidget.js +0 -0
- /package/{components → es}/hi-svg-icons/index.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiAccount.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiActivity.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiAll.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiBilling.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiBriefcaseRescue.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiCatalog.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiCustomer.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiDownload.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiFinance.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiPermission.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiRoute.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiSettlement.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiSizeLarge.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiSizeMedium.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiSizeSmall.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiTransaction.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiUser.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/HiWidget.js +0 -0
- /package/es/{components → old_components}/hi-svg-icons/index.js +0 -0
- /package/{components → es/old_components}/styles/MuiThemeProvider.js +0 -0
- /package/{components → es/old_components}/styles/colorManipulator.js +0 -0
- /package/{components → es/old_components}/styles/createBreakpoints.js +0 -0
- /package/{components → es/old_components}/styles/createGenerateClassName.js +0 -0
- /package/{components → es/old_components}/styles/createMixins.js +0 -0
- /package/{components → es/old_components}/styles/createMuiTheme.js +0 -0
- /package/{components → es/old_components}/styles/createPalette.js +0 -0
- /package/{components → es/old_components}/styles/createStyles.js +0 -0
- /package/{components → es/old_components}/styles/createTypography.js +0 -0
- /package/{components → es/old_components}/styles/getStylesCreator.js +0 -0
- /package/{components → es/old_components}/styles/getThemeProps.js +0 -0
- /package/{components → es/old_components}/styles/index.js +0 -0
- /package/{components → es/old_components}/styles/jssPreset.js +0 -0
- /package/{components → es/old_components}/styles/mergeClasses.js +0 -0
- /package/{components → es/old_components}/styles/shadows.js +0 -0
- /package/{components → es/old_components}/styles/shape.js +0 -0
- /package/{components → es/old_components}/styles/spacing.js +0 -0
- /package/{components → es/old_components}/styles/themeListener.js +0 -0
- /package/{components → es/old_components}/styles/transitions.js +0 -0
- /package/{components → es/old_components}/styles/withStyles.js +0 -0
- /package/{components → es/old_components}/styles/withTheme.js +0 -0
- /package/{components → es/old_components}/styles/zIndex.js +0 -0
- /package/{components → es/old_components}/test-utils/createMount.js +0 -0
- /package/{components → es/old_components}/test-utils/createRender.js +0 -0
- /package/{components → es/old_components}/test-utils/createShallow.js +0 -0
- /package/{components → es/old_components}/test-utils/getClasses.js +0 -0
- /package/{components → es/old_components}/test-utils/index.js +0 -0
- /package/{components → es/old_components}/test-utils/until.js +0 -0
- /package/{components → es/old_components}/test-utils/unwrap.js +0 -0
- /package/{components → es/old_components}/transitions/utils.js +0 -0
- /package/{components → es/old_components}/utils/helpers.js +0 -0
- /package/{components → es/old_components}/withMobileDialog/index.js +0 -0
- /package/{components → es/old_components}/withMobileDialog/withMobileDialog.js +0 -0
- /package/es/{components/styles → styles}/MuiThemeProvider.js +0 -0
- /package/es/{components/styles → styles}/colorManipulator.js +0 -0
- /package/es/{components/styles → styles}/createBreakpoints.js +0 -0
- /package/es/{components/styles → styles}/createGenerateClassName.js +0 -0
- /package/es/{components/styles → styles}/createMixins.js +0 -0
- /package/es/{components/styles → styles}/createMuiTheme.js +0 -0
- /package/es/{components/styles → styles}/createPalette.js +0 -0
- /package/es/{components/styles → styles}/createStyles.js +0 -0
- /package/es/{components/styles → styles}/createTypography.js +0 -0
- /package/es/{components/styles → styles}/getStylesCreator.js +0 -0
- /package/es/{components/styles → styles}/getThemeProps.js +0 -0
- /package/es/{components/styles → styles}/index.js +0 -0
- /package/es/{components/styles → styles}/jssPreset.js +0 -0
- /package/es/{components/styles → styles}/mergeClasses.js +0 -0
- /package/es/{components/styles → styles}/shadows.js +0 -0
- /package/es/{components/styles → styles}/shape.js +0 -0
- /package/es/{components/styles → styles}/spacing.js +0 -0
- /package/es/{components/styles → styles}/themeListener.js +0 -0
- /package/es/{components/styles → styles}/transitions.js +0 -0
- /package/es/{components/styles → styles}/withStyles.js +0 -0
- /package/es/{components/styles → styles}/withTheme.js +0 -0
- /package/es/{components/styles → styles}/zIndex.js +0 -0
- /package/es/{components/test-utils → test-utils}/createMount.js +0 -0
- /package/es/{components/test-utils → test-utils}/createRender.js +0 -0
- /package/es/{components/test-utils → test-utils}/createShallow.js +0 -0
- /package/es/{components/test-utils → test-utils}/getClasses.js +0 -0
- /package/es/{components/test-utils → test-utils}/index.js +0 -0
- /package/es/{components/test-utils → test-utils}/until.js +0 -0
- /package/es/{components/test-utils → test-utils}/unwrap.js +0 -0
- /package/es/{components/transitions → transitions}/utils.js +0 -0
- /package/es/{components/utils → utils}/helpers.js +0 -0
- /package/es/{components/withMobileDialog → withMobileDialog}/index.js +0 -0
- /package/es/{components/withMobileDialog → withMobileDialog}/withMobileDialog.js +0 -0
@@ -0,0 +1,151 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
Object.defineProperty(exports, "HiAccount", {
|
9
|
+
enumerable: true,
|
10
|
+
get: function get() {
|
11
|
+
return _HiAccount.default;
|
12
|
+
}
|
13
|
+
});
|
14
|
+
Object.defineProperty(exports, "HiAll", {
|
15
|
+
enumerable: true,
|
16
|
+
get: function get() {
|
17
|
+
return _HiAll.default;
|
18
|
+
}
|
19
|
+
});
|
20
|
+
Object.defineProperty(exports, "HiBilling", {
|
21
|
+
enumerable: true,
|
22
|
+
get: function get() {
|
23
|
+
return _HiBilling.default;
|
24
|
+
}
|
25
|
+
});
|
26
|
+
Object.defineProperty(exports, "HiBriefcaseRescue", {
|
27
|
+
enumerable: true,
|
28
|
+
get: function get() {
|
29
|
+
return _HiBriefcaseRescue.default;
|
30
|
+
}
|
31
|
+
});
|
32
|
+
Object.defineProperty(exports, "HiCatalog", {
|
33
|
+
enumerable: true,
|
34
|
+
get: function get() {
|
35
|
+
return _HiCatalog.default;
|
36
|
+
}
|
37
|
+
});
|
38
|
+
Object.defineProperty(exports, "HiCustomer", {
|
39
|
+
enumerable: true,
|
40
|
+
get: function get() {
|
41
|
+
return _HiCustomer.default;
|
42
|
+
}
|
43
|
+
});
|
44
|
+
Object.defineProperty(exports, "HiFinance", {
|
45
|
+
enumerable: true,
|
46
|
+
get: function get() {
|
47
|
+
return _HiFinance.default;
|
48
|
+
}
|
49
|
+
});
|
50
|
+
Object.defineProperty(exports, "HiRoute", {
|
51
|
+
enumerable: true,
|
52
|
+
get: function get() {
|
53
|
+
return _HiRoute.default;
|
54
|
+
}
|
55
|
+
});
|
56
|
+
Object.defineProperty(exports, "HiSettlement", {
|
57
|
+
enumerable: true,
|
58
|
+
get: function get() {
|
59
|
+
return _HiSettlement.default;
|
60
|
+
}
|
61
|
+
});
|
62
|
+
Object.defineProperty(exports, "HiSizeLarge", {
|
63
|
+
enumerable: true,
|
64
|
+
get: function get() {
|
65
|
+
return _HiSizeLarge.default;
|
66
|
+
}
|
67
|
+
});
|
68
|
+
Object.defineProperty(exports, "HiSizeMedium", {
|
69
|
+
enumerable: true,
|
70
|
+
get: function get() {
|
71
|
+
return _HiSizeMedium.default;
|
72
|
+
}
|
73
|
+
});
|
74
|
+
Object.defineProperty(exports, "HiSizeSmall", {
|
75
|
+
enumerable: true,
|
76
|
+
get: function get() {
|
77
|
+
return _HiSizeSmall.default;
|
78
|
+
}
|
79
|
+
});
|
80
|
+
Object.defineProperty(exports, "HiTransaction", {
|
81
|
+
enumerable: true,
|
82
|
+
get: function get() {
|
83
|
+
return _HiTransaction.default;
|
84
|
+
}
|
85
|
+
});
|
86
|
+
Object.defineProperty(exports, "HiUser", {
|
87
|
+
enumerable: true,
|
88
|
+
get: function get() {
|
89
|
+
return _HiUser.default;
|
90
|
+
}
|
91
|
+
});
|
92
|
+
Object.defineProperty(exports, "HiWidget", {
|
93
|
+
enumerable: true,
|
94
|
+
get: function get() {
|
95
|
+
return _HiWidget.default;
|
96
|
+
}
|
97
|
+
});
|
98
|
+
Object.defineProperty(exports, "HiActivity", {
|
99
|
+
enumerable: true,
|
100
|
+
get: function get() {
|
101
|
+
return _HiActivity.default;
|
102
|
+
}
|
103
|
+
});
|
104
|
+
Object.defineProperty(exports, "HiPermission", {
|
105
|
+
enumerable: true,
|
106
|
+
get: function get() {
|
107
|
+
return _HiPermission.default;
|
108
|
+
}
|
109
|
+
});
|
110
|
+
Object.defineProperty(exports, "HiDownload", {
|
111
|
+
enumerable: true,
|
112
|
+
get: function get() {
|
113
|
+
return _HiDownload.default;
|
114
|
+
}
|
115
|
+
});
|
116
|
+
|
117
|
+
var _HiAccount = _interopRequireDefault(require("./HiAccount"));
|
118
|
+
|
119
|
+
var _HiAll = _interopRequireDefault(require("./HiAll"));
|
120
|
+
|
121
|
+
var _HiBilling = _interopRequireDefault(require("./HiBilling"));
|
122
|
+
|
123
|
+
var _HiBriefcaseRescue = _interopRequireDefault(require("./HiBriefcaseRescue"));
|
124
|
+
|
125
|
+
var _HiCatalog = _interopRequireDefault(require("./HiCatalog"));
|
126
|
+
|
127
|
+
var _HiCustomer = _interopRequireDefault(require("./HiCustomer"));
|
128
|
+
|
129
|
+
var _HiFinance = _interopRequireDefault(require("./HiFinance"));
|
130
|
+
|
131
|
+
var _HiRoute = _interopRequireDefault(require("./HiRoute"));
|
132
|
+
|
133
|
+
var _HiSettlement = _interopRequireDefault(require("./HiSettlement"));
|
134
|
+
|
135
|
+
var _HiSizeLarge = _interopRequireDefault(require("./HiSizeLarge"));
|
136
|
+
|
137
|
+
var _HiSizeMedium = _interopRequireDefault(require("./HiSizeMedium"));
|
138
|
+
|
139
|
+
var _HiSizeSmall = _interopRequireDefault(require("./HiSizeSmall"));
|
140
|
+
|
141
|
+
var _HiTransaction = _interopRequireDefault(require("./HiTransaction"));
|
142
|
+
|
143
|
+
var _HiUser = _interopRequireDefault(require("./HiUser"));
|
144
|
+
|
145
|
+
var _HiWidget = _interopRequireDefault(require("./HiWidget"));
|
146
|
+
|
147
|
+
var _HiActivity = _interopRequireDefault(require("./HiActivity"));
|
148
|
+
|
149
|
+
var _HiPermission = _interopRequireDefault(require("./HiPermission"));
|
150
|
+
|
151
|
+
var _HiDownload = _interopRequireDefault(require("./HiDownload"));
|
@@ -0,0 +1,155 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
|
4
|
+
|
5
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
6
|
+
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
8
|
+
value: true
|
9
|
+
});
|
10
|
+
exports.default = void 0;
|
11
|
+
|
12
|
+
var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
|
13
|
+
|
14
|
+
var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
|
15
|
+
|
16
|
+
var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
|
17
|
+
|
18
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
|
19
|
+
|
20
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
|
21
|
+
|
22
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/assertThisInitialized"));
|
23
|
+
|
24
|
+
var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
|
25
|
+
|
26
|
+
var _defineProperty2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/defineProperty"));
|
27
|
+
|
28
|
+
var _react = _interopRequireDefault(require("react"));
|
29
|
+
|
30
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
31
|
+
|
32
|
+
var _warning = _interopRequireDefault(require("warning"));
|
33
|
+
|
34
|
+
var _brcast = _interopRequireDefault(require("brcast"));
|
35
|
+
|
36
|
+
var _themeListener = _interopRequireWildcard(require("./themeListener"));
|
37
|
+
|
38
|
+
var _exactProp = _interopRequireDefault(require("../utils/exactProp"));
|
39
|
+
|
40
|
+
/**
|
41
|
+
* This component takes a `theme` property.
|
42
|
+
* It makes the `theme` available down the React tree thanks to React context.
|
43
|
+
* This component should preferably be used at **the root of your component tree**.
|
44
|
+
*/
|
45
|
+
var MuiThemeProvider =
|
46
|
+
/*#__PURE__*/
|
47
|
+
function (_React$Component) {
|
48
|
+
(0, _inherits2.default)(MuiThemeProvider, _React$Component);
|
49
|
+
|
50
|
+
// We are not using the React state in order to avoid unnecessary rerender.
|
51
|
+
function MuiThemeProvider(props, context) {
|
52
|
+
var _this;
|
53
|
+
|
54
|
+
(0, _classCallCheck2.default)(this, MuiThemeProvider);
|
55
|
+
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(MuiThemeProvider).call(this)); // Get the outer theme from the context, can be null
|
56
|
+
|
57
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "broadcast", (0, _brcast.default)());
|
58
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "unsubscribeId", null);
|
59
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "outerTheme", null);
|
60
|
+
_this.outerTheme = _themeListener.default.initial(context); // Propagate the theme so it can be accessed by the children
|
61
|
+
|
62
|
+
_this.broadcast.setState(_this.mergeOuterLocalTheme(props.theme));
|
63
|
+
|
64
|
+
return _this;
|
65
|
+
}
|
66
|
+
|
67
|
+
(0, _createClass2.default)(MuiThemeProvider, [{
|
68
|
+
key: "getChildContext",
|
69
|
+
value: function getChildContext() {
|
70
|
+
var _ref;
|
71
|
+
|
72
|
+
var _this$props = this.props,
|
73
|
+
sheetsManager = _this$props.sheetsManager,
|
74
|
+
disableStylesGeneration = _this$props.disableStylesGeneration;
|
75
|
+
var muiThemeProviderOptions = this.context.muiThemeProviderOptions || {};
|
76
|
+
|
77
|
+
if (sheetsManager !== undefined) {
|
78
|
+
muiThemeProviderOptions.sheetsManager = sheetsManager;
|
79
|
+
}
|
80
|
+
|
81
|
+
if (disableStylesGeneration !== undefined) {
|
82
|
+
muiThemeProviderOptions.disableStylesGeneration = disableStylesGeneration;
|
83
|
+
}
|
84
|
+
|
85
|
+
return _ref = {}, (0, _defineProperty2.default)(_ref, _themeListener.CHANNEL, this.broadcast), (0, _defineProperty2.default)(_ref, "muiThemeProviderOptions", muiThemeProviderOptions), _ref;
|
86
|
+
}
|
87
|
+
}, {
|
88
|
+
key: "componentDidMount",
|
89
|
+
value: function componentDidMount() {
|
90
|
+
var _this2 = this;
|
91
|
+
|
92
|
+
// Subscribe on the outer theme, if present
|
93
|
+
this.unsubscribeId = _themeListener.default.subscribe(this.context, function (outerTheme) {
|
94
|
+
_this2.outerTheme = outerTheme; // Forward the parent theme update to the children
|
95
|
+
|
96
|
+
_this2.broadcast.setState(_this2.mergeOuterLocalTheme(_this2.props.theme));
|
97
|
+
});
|
98
|
+
}
|
99
|
+
}, {
|
100
|
+
key: "componentDidUpdate",
|
101
|
+
value: function componentDidUpdate(prevProps) {
|
102
|
+
// Propagate a local theme update
|
103
|
+
if (this.props.theme !== prevProps.theme) {
|
104
|
+
this.broadcast.setState(this.mergeOuterLocalTheme(this.props.theme));
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}, {
|
108
|
+
key: "componentWillUnmount",
|
109
|
+
value: function componentWillUnmount() {
|
110
|
+
if (this.unsubscribeId !== null) {
|
111
|
+
_themeListener.default.unsubscribe(this.context, this.unsubscribeId);
|
112
|
+
}
|
113
|
+
} // Simple merge between the outer theme and the local theme
|
114
|
+
|
115
|
+
}, {
|
116
|
+
key: "mergeOuterLocalTheme",
|
117
|
+
value: function mergeOuterLocalTheme(localTheme) {
|
118
|
+
// To support composition of theme.
|
119
|
+
if (typeof localTheme === 'function') {
|
120
|
+
process.env.NODE_ENV !== "production" ? (0, _warning.default)(this.outerTheme, ['Material-UI: you are providing a theme function property ' + 'to the MuiThemeProvider component:', '<MuiThemeProvider theme={outerTheme => outerTheme} />', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n')) : void 0;
|
121
|
+
return localTheme(this.outerTheme);
|
122
|
+
}
|
123
|
+
|
124
|
+
if (!this.outerTheme) {
|
125
|
+
return localTheme;
|
126
|
+
}
|
127
|
+
|
128
|
+
return (0, _objectSpread2.default)({}, this.outerTheme, {}, localTheme);
|
129
|
+
}
|
130
|
+
}, {
|
131
|
+
key: "render",
|
132
|
+
value: function render() {
|
133
|
+
// TODO move the sheetsManager property to a different component.
|
134
|
+
// warning(
|
135
|
+
// typeof window !== 'undefined' || this.props.sheetsManager,
|
136
|
+
// [
|
137
|
+
// 'Material-UI: you need to provide a sheetsManager to the MuiThemeProvider ' +
|
138
|
+
// 'when rendering on the server.',
|
139
|
+
// 'If you do not, you might experience a memory leak',
|
140
|
+
// ].join('\n'),
|
141
|
+
// );
|
142
|
+
return this.props.children;
|
143
|
+
}
|
144
|
+
}]);
|
145
|
+
return MuiThemeProvider;
|
146
|
+
}(_react.default.Component);
|
147
|
+
|
148
|
+
MuiThemeProvider.childContextTypes = (0, _objectSpread2.default)({}, _themeListener.default.contextTypes, {
|
149
|
+
muiThemeProviderOptions: _propTypes.default.object
|
150
|
+
});
|
151
|
+
MuiThemeProvider.contextTypes = (0, _objectSpread2.default)({}, _themeListener.default.contextTypes, {
|
152
|
+
muiThemeProviderOptions: _propTypes.default.object
|
153
|
+
});
|
154
|
+
var _default = MuiThemeProvider;
|
155
|
+
exports.default = _default;
|
@@ -0,0 +1,286 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.convertHexToRGB = convertHexToRGB;
|
9
|
+
exports.rgbToHex = rgbToHex;
|
10
|
+
exports.decomposeColor = decomposeColor;
|
11
|
+
exports.recomposeColor = recomposeColor;
|
12
|
+
exports.getContrastRatio = getContrastRatio;
|
13
|
+
exports.getLuminance = getLuminance;
|
14
|
+
exports.emphasize = emphasize;
|
15
|
+
exports.fade = fade;
|
16
|
+
exports.darken = darken;
|
17
|
+
exports.lighten = lighten;
|
18
|
+
|
19
|
+
var _warning = _interopRequireDefault(require("warning"));
|
20
|
+
|
21
|
+
/* eslint-disable no-use-before-define */
|
22
|
+
|
23
|
+
/**
|
24
|
+
* Returns a number whose value is limited to the given range.
|
25
|
+
*
|
26
|
+
* @param {number} value The value to be clamped
|
27
|
+
* @param {number} min The lower boundary of the output range
|
28
|
+
* @param {number} max The upper boundary of the output range
|
29
|
+
* @returns {number} A number in the range [min, max]
|
30
|
+
*/
|
31
|
+
function clamp(value) {
|
32
|
+
var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
33
|
+
var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
34
|
+
process.env.NODE_ENV !== "production" ? (0, _warning.default)(value >= min && value <= max, "Material-UI: the value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "].")) : void 0;
|
35
|
+
|
36
|
+
if (value < min) {
|
37
|
+
return min;
|
38
|
+
}
|
39
|
+
|
40
|
+
if (value > max) {
|
41
|
+
return max;
|
42
|
+
}
|
43
|
+
|
44
|
+
return value;
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* Converts a color from CSS hex format to CSS rgb format.
|
48
|
+
*
|
49
|
+
* @param {string} color - Hex color, i.e. #nnn or #nnnnnn
|
50
|
+
* @returns {string} A CSS rgb color string
|
51
|
+
*/
|
52
|
+
|
53
|
+
|
54
|
+
function convertHexToRGB(color) {
|
55
|
+
color = color.substr(1);
|
56
|
+
var re = new RegExp(".{1,".concat(color.length / 3, "}"), 'g');
|
57
|
+
var colors = color.match(re);
|
58
|
+
|
59
|
+
if (colors && colors[0].length === 1) {
|
60
|
+
colors = colors.map(function (n) {
|
61
|
+
return n + n;
|
62
|
+
});
|
63
|
+
}
|
64
|
+
|
65
|
+
return colors ? "rgb(".concat(colors.map(function (n) {
|
66
|
+
return parseInt(n, 16);
|
67
|
+
}).join(', '), ")") : '';
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Converts a color from CSS rgb format to CSS hex format.
|
71
|
+
*
|
72
|
+
* @param {string} color - RGB color, i.e. rgb(n, n, n)
|
73
|
+
* @returns {string} A CSS rgb color string, i.e. #nnnnnn
|
74
|
+
*/
|
75
|
+
|
76
|
+
|
77
|
+
function rgbToHex(color) {
|
78
|
+
// Pass hex straight through
|
79
|
+
if (color.indexOf('#') === 0) {
|
80
|
+
return color;
|
81
|
+
}
|
82
|
+
|
83
|
+
function intToHex(c) {
|
84
|
+
var hex = c.toString(16);
|
85
|
+
return hex.length === 1 ? "0".concat(hex) : hex;
|
86
|
+
}
|
87
|
+
|
88
|
+
var _decomposeColor = decomposeColor(color),
|
89
|
+
values = _decomposeColor.values;
|
90
|
+
|
91
|
+
values = values.map(function (n) {
|
92
|
+
return intToHex(n);
|
93
|
+
});
|
94
|
+
return "#".concat(values.join(''));
|
95
|
+
}
|
96
|
+
/**
|
97
|
+
* Returns an object with the type and values of a color.
|
98
|
+
*
|
99
|
+
* Note: Does not support rgb % values.
|
100
|
+
*
|
101
|
+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
102
|
+
* @returns {object} - A MUI color object: {type: string, values: number[]}
|
103
|
+
*/
|
104
|
+
|
105
|
+
|
106
|
+
function decomposeColor(color) {
|
107
|
+
if (color.charAt(0) === '#') {
|
108
|
+
return decomposeColor(convertHexToRGB(color));
|
109
|
+
}
|
110
|
+
|
111
|
+
var marker = color.indexOf('(');
|
112
|
+
var type = color.substring(0, marker);
|
113
|
+
var values = color.substring(marker + 1, color.length - 1).split(',');
|
114
|
+
values = values.map(function (value) {
|
115
|
+
return parseFloat(value);
|
116
|
+
});
|
117
|
+
|
118
|
+
if (process.env.NODE_ENV !== 'production') {
|
119
|
+
if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {
|
120
|
+
throw new Error(["Material-UI: unsupported `".concat(color, "` color."), 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().'].join('\n'));
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
return {
|
125
|
+
type: type,
|
126
|
+
values: values
|
127
|
+
};
|
128
|
+
}
|
129
|
+
/**
|
130
|
+
* Converts a color object with type and values to a string.
|
131
|
+
*
|
132
|
+
* @param {object} color - Decomposed color
|
133
|
+
* @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'
|
134
|
+
* @param {array} color.values - [n,n,n] or [n,n,n,n]
|
135
|
+
* @returns {string} A CSS color string
|
136
|
+
*/
|
137
|
+
|
138
|
+
|
139
|
+
function recomposeColor(color) {
|
140
|
+
var type = color.type;
|
141
|
+
var values = color.values;
|
142
|
+
|
143
|
+
if (type.indexOf('rgb') !== -1) {
|
144
|
+
// Only convert the first 3 values to int (i.e. not alpha)
|
145
|
+
values = values.map(function (n, i) {
|
146
|
+
return i < 3 ? parseInt(n, 10) : n;
|
147
|
+
});
|
148
|
+
}
|
149
|
+
|
150
|
+
if (type.indexOf('hsl') !== -1) {
|
151
|
+
values[1] = "".concat(values[1], "%");
|
152
|
+
values[2] = "".concat(values[2], "%");
|
153
|
+
}
|
154
|
+
|
155
|
+
return "".concat(color.type, "(").concat(values.join(', '), ")");
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* Calculates the contrast ratio between two colors.
|
159
|
+
*
|
160
|
+
* Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
161
|
+
*
|
162
|
+
* @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
163
|
+
* @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
164
|
+
* @returns {number} A contrast ratio value in the range 0 - 21.
|
165
|
+
*/
|
166
|
+
|
167
|
+
|
168
|
+
function getContrastRatio(foreground, background) {
|
169
|
+
var lumA = getLuminance(foreground);
|
170
|
+
var lumB = getLuminance(background);
|
171
|
+
return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
|
172
|
+
}
|
173
|
+
/**
|
174
|
+
* The relative brightness of any point in a color space,
|
175
|
+
* normalized to 0 for darkest black and 1 for lightest white.
|
176
|
+
*
|
177
|
+
* Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
178
|
+
*
|
179
|
+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
180
|
+
* @returns {number} The relative brightness of the color in the range 0 - 1
|
181
|
+
*/
|
182
|
+
|
183
|
+
|
184
|
+
function getLuminance(color) {
|
185
|
+
var decomposedColor = decomposeColor(color);
|
186
|
+
|
187
|
+
if (decomposedColor.type.indexOf('rgb') !== -1) {
|
188
|
+
var rgb = decomposedColor.values.map(function (val) {
|
189
|
+
val /= 255; // normalized
|
190
|
+
|
191
|
+
return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);
|
192
|
+
}); // Truncate at 3 digits
|
193
|
+
|
194
|
+
return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
|
195
|
+
} // else if (decomposedColor.type.indexOf('hsl') !== -1)
|
196
|
+
|
197
|
+
|
198
|
+
return decomposedColor.values[2] / 100;
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* Darken or lighten a colour, depending on its luminance.
|
202
|
+
* Light colors are darkened, dark colors are lightened.
|
203
|
+
*
|
204
|
+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
205
|
+
* @param {number} coefficient=0.15 - multiplier in the range 0 - 1
|
206
|
+
* @returns {string} A CSS color string. Hex input values are returned as rgb
|
207
|
+
*/
|
208
|
+
|
209
|
+
|
210
|
+
function emphasize(color) {
|
211
|
+
var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;
|
212
|
+
return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
|
213
|
+
}
|
214
|
+
/**
|
215
|
+
* Set the absolute transparency of a color.
|
216
|
+
* Any existing alpha values are overwritten.
|
217
|
+
*
|
218
|
+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
219
|
+
* @param {number} value - value to set the alpha channel to in the range 0 -1
|
220
|
+
* @returns {string} A CSS color string. Hex input values are returned as rgb
|
221
|
+
*/
|
222
|
+
|
223
|
+
|
224
|
+
function fade(color, value) {
|
225
|
+
process.env.NODE_ENV !== "production" ? (0, _warning.default)(color, "Material-UI: missing color argument in fade(".concat(color, ", ").concat(value, ").")) : void 0;
|
226
|
+
if (!color) return color;
|
227
|
+
color = decomposeColor(color);
|
228
|
+
value = clamp(value);
|
229
|
+
|
230
|
+
if (color.type === 'rgb' || color.type === 'hsl') {
|
231
|
+
color.type += 'a';
|
232
|
+
}
|
233
|
+
|
234
|
+
color.values[3] = value;
|
235
|
+
return recomposeColor(color);
|
236
|
+
}
|
237
|
+
/**
|
238
|
+
* Darkens a color.
|
239
|
+
*
|
240
|
+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
241
|
+
* @param {number} coefficient - multiplier in the range 0 - 1
|
242
|
+
* @returns {string} A CSS color string. Hex input values are returned as rgb
|
243
|
+
*/
|
244
|
+
|
245
|
+
|
246
|
+
function darken(color, coefficient) {
|
247
|
+
process.env.NODE_ENV !== "production" ? (0, _warning.default)(color, "Material-UI: missing color argument in darken(".concat(color, ", ").concat(coefficient, ").")) : void 0;
|
248
|
+
if (!color) return color;
|
249
|
+
color = decomposeColor(color);
|
250
|
+
coefficient = clamp(coefficient);
|
251
|
+
|
252
|
+
if (color.type.indexOf('hsl') !== -1) {
|
253
|
+
color.values[2] *= 1 - coefficient;
|
254
|
+
} else if (color.type.indexOf('rgb') !== -1) {
|
255
|
+
for (var i = 0; i < 3; i += 1) {
|
256
|
+
color.values[i] *= 1 - coefficient;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
return recomposeColor(color);
|
261
|
+
}
|
262
|
+
/**
|
263
|
+
* Lightens a color.
|
264
|
+
*
|
265
|
+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
266
|
+
* @param {number} coefficient - multiplier in the range 0 - 1
|
267
|
+
* @returns {string} A CSS color string. Hex input values are returned as rgb
|
268
|
+
*/
|
269
|
+
|
270
|
+
|
271
|
+
function lighten(color, coefficient) {
|
272
|
+
process.env.NODE_ENV !== "production" ? (0, _warning.default)(color, "Material-UI: missing color argument in lighten(".concat(color, ", ").concat(coefficient, ").")) : void 0;
|
273
|
+
if (!color) return color;
|
274
|
+
color = decomposeColor(color);
|
275
|
+
coefficient = clamp(coefficient);
|
276
|
+
|
277
|
+
if (color.type.indexOf('hsl') !== -1) {
|
278
|
+
color.values[2] += (100 - color.values[2]) * coefficient;
|
279
|
+
} else if (color.type.indexOf('rgb') !== -1) {
|
280
|
+
for (var i = 0; i < 3; i += 1) {
|
281
|
+
color.values[i] += (255 - color.values[i]) * coefficient;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
return recomposeColor(color);
|
286
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = createBreakpoints;
|
9
|
+
exports.keys = void 0;
|
10
|
+
|
11
|
+
var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
|
12
|
+
|
13
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
|
14
|
+
|
15
|
+
// Sorted ASC by size. That's important.
|
16
|
+
// It can't be configured as it's used statically for propTypes.
|
17
|
+
var keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.
|
18
|
+
|
19
|
+
exports.keys = keys;
|
20
|
+
|
21
|
+
function createBreakpoints(breakpoints) {
|
22
|
+
var _breakpoints$values = breakpoints.values,
|
23
|
+
values = _breakpoints$values === void 0 ? {
|
24
|
+
xs: 0,
|
25
|
+
sm: 600,
|
26
|
+
md: 960,
|
27
|
+
lg: 1280,
|
28
|
+
xl: 1920
|
29
|
+
} : _breakpoints$values,
|
30
|
+
_breakpoints$unit = breakpoints.unit,
|
31
|
+
unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,
|
32
|
+
_breakpoints$step = breakpoints.step,
|
33
|
+
step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,
|
34
|
+
other = (0, _objectWithoutProperties2.default)(breakpoints, ["values", "unit", "step"]);
|
35
|
+
|
36
|
+
function up(key) {
|
37
|
+
var value = typeof values[key] === 'number' ? values[key] : key;
|
38
|
+
return "@media (min-width:".concat(value).concat(unit, ")");
|
39
|
+
}
|
40
|
+
|
41
|
+
function down(key) {
|
42
|
+
var endIndex = keys.indexOf(key) + 1;
|
43
|
+
var upperbound = values[keys[endIndex]];
|
44
|
+
|
45
|
+
if (endIndex === keys.length) {
|
46
|
+
// xl down applies to all sizes
|
47
|
+
return up('xs');
|
48
|
+
}
|
49
|
+
|
50
|
+
var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;
|
51
|
+
return "@media (max-width:".concat(value - step / 100).concat(unit, ")");
|
52
|
+
}
|
53
|
+
|
54
|
+
function between(start, end) {
|
55
|
+
var endIndex = keys.indexOf(end) + 1;
|
56
|
+
|
57
|
+
if (endIndex === keys.length) {
|
58
|
+
return up(start);
|
59
|
+
}
|
60
|
+
|
61
|
+
return "@media (min-width:".concat(values[start]).concat(unit, ") and ") + "(max-width:".concat(values[keys[endIndex]] - step / 100).concat(unit, ")");
|
62
|
+
}
|
63
|
+
|
64
|
+
function only(key) {
|
65
|
+
return between(key, key);
|
66
|
+
}
|
67
|
+
|
68
|
+
function width(key) {
|
69
|
+
return values[key];
|
70
|
+
}
|
71
|
+
|
72
|
+
return (0, _objectSpread2.default)({
|
73
|
+
keys: keys,
|
74
|
+
values: values,
|
75
|
+
up: up,
|
76
|
+
down: down,
|
77
|
+
between: between,
|
78
|
+
only: only,
|
79
|
+
width: width
|
80
|
+
}, other);
|
81
|
+
}
|