@hipay/hipay-material-ui 2.3.0-rc.PSYCHE-2530-4 → 2.3.0-rcstyleguide
Sign up to get free protection for your applications and to get access to all the features.
- package/App.js +36 -0
- package/README.md +37 -267
- package/{HiAlertModal → components/HiAlertModal}/HiAlertModal.js +10 -10
- package/{es → components}/HiAlertModal/index.js +1 -1
- package/{HiAppBar → components/HiAppBar}/HiAppBar.js +8 -8
- package/{es → components}/HiAppBar/index.js +1 -1
- package/{HiBadge → components/HiBadge}/HiBadge.js +2 -2
- package/{HiBadge → components/HiBadge}/index.js +1 -1
- package/{es → components}/HiBreadcrumb/HiBreadcrumb.js +8 -8
- package/{HiBreadcrumb → components/HiBreadcrumb}/HiStep.js +9 -9
- package/{es → components}/HiBreadcrumb/HiStepConnector.js +10 -10
- package/{HiBreadcrumb → components/HiBreadcrumb}/HiStepContent.js +7 -7
- package/{HiBreadcrumb → components/HiBreadcrumb}/HiStepIcon.js +7 -7
- package/{es → components}/HiBreadcrumb/HiStepLabel.js +10 -10
- package/{es → components}/HiBreadcrumb/HiStepper.js +8 -8
- package/{es → components}/HiBreadcrumb/index.js +1 -1
- package/{es → components}/HiButton/HiButton.js +2 -2
- package/{HiButton → components/HiButton}/index.js +1 -1
- package/{es → components}/HiCell/CellAddress.js +7 -7
- package/{es → components}/HiCell/CellDate.js +8 -8
- package/{es → components}/HiCell/CellIcon.js +7 -7
- package/{es → components}/HiCell/CellImage.js +7 -7
- package/{HiCell → components/HiCell}/CellNumeric.js +7 -7
- package/{es → components}/HiCell/CellPinToAction.js +6 -6
- package/{es → components}/HiCell/CellRate.js +7 -7
- package/{es → components}/HiCell/CellSentinel.js +7 -7
- package/{es → components}/HiCell/CellSentinelScore.js +7 -7
- package/{es → components}/HiCell/CellText.js +9 -9
- package/{HiCell → components/HiCell}/CellTextStyled.js +1 -1
- package/{es → components}/HiCell/index.js +1 -1
- package/{HiCheckbox → components/HiCheckbox}/HiCheckbox.js +11 -11
- package/{es → components}/HiCheckbox/index.js +1 -1
- package/{HiChip → components/HiChip}/HiChip.js +3 -3
- package/{es → components}/HiChip/HiChipSwitch.js +10 -10
- package/{HiChip → components/HiChip}/index.js +1 -1
- package/{HiColoredLabel → components/HiColoredLabel}/HiColoredLabel.js +5 -5
- package/{HiColoredLabel → components/HiColoredLabel}/index.js +1 -1
- package/{HiDatePicker → components/HiDatePicker}/Caption.js +2 -2
- package/{es → components}/HiDatePicker/HiDatePicker.js +12 -12
- package/{es → components}/HiDatePicker/HiDatePickerMobile.js +9 -9
- package/{HiDatePicker → components/HiDatePicker}/HiDateRangePicker.js +11 -11
- package/{es → components}/HiDatePicker/HiDateRangeSelector.js +14 -34
- package/{HiDatePicker → components/HiDatePicker}/ListPicker.js +8 -8
- package/{es → components}/HiDatePicker/NavBar.js +1 -1
- package/{es → components}/HiDatePicker/Overlays/CustomOverlayLayout.js +4 -4
- package/{es → components}/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -4
- package/{HiDatePicker → components/HiDatePicker}/Overlays/MonthPickerOverlay.js +10 -10
- package/{HiDatePicker → components/HiDatePicker}/Overlays/Overlay.js +4 -4
- package/{HiDatePicker → components/HiDatePicker}/Overlays/TimePickerOverlay.js +11 -11
- package/{es → components}/HiDatePicker/Overlays/YearPickerOverlay.js +10 -10
- package/{es → components}/HiDatePicker/Overlays/index.js +1 -1
- package/{es → components}/HiDatePicker/Weekday.js +1 -1
- package/{es → components}/HiDatePicker/index.js +1 -1
- package/{HiDatePicker → components/HiDatePicker}/stylesheet.js +2 -2
- package/{es → components}/HiDotsStepper/HiDot.js +9 -9
- package/{es → components}/HiDotsStepper/HiDotsStepper.js +8 -8
- package/{es → components}/HiExpansionPanel/HiExpansionPanel.js +14 -38
- package/{es → components}/HiExpansionPanel/index.js +1 -1
- package/{HiForm → components/HiForm}/HiAddressField.js +10 -10
- package/{es → components}/HiForm/HiEmailField.js +10 -10
- package/{HiForm → components/HiForm}/HiFormControl.js +11 -11
- package/{es → components}/HiForm/HiFormLabel.js +10 -10
- package/{HiForm → components/HiForm}/HiInput.js +9 -9
- package/{HiForm → components/HiForm}/HiPasswordField.js +11 -11
- package/{HiForm → components/HiForm}/HiSearchField.js +10 -10
- package/{es → components}/HiForm/HiSlider.js +9 -9
- package/{HiForm → components/HiForm}/HiTextField.js +9 -9
- package/{es → components}/HiForm/HiUpload.js +10 -10
- package/{es → components}/HiForm/HiUploadField.js +9 -9
- package/{es → components}/HiForm/HiUploadInput.js +9 -9
- package/{HiForm → components/HiForm}/index.js +1 -1
- package/{HiIcon → components/HiIcon}/HiIcon.js +6 -5
- package/{es → components}/HiIcon/index.js +1 -1
- package/{es → components}/HiIconButton/HiIconButton.js +4 -4
- package/{HiIconButton → components/HiIconButton}/index.js +1 -1
- package/{HiLoader → components/HiLoader}/HiLoader.js +2 -2
- package/{es → components}/HiLoader/index.js +1 -1
- package/{es → components}/HiMap/HiMap.js +8 -8
- package/{HiMap → components/HiMap}/HiMapExpand.js +9 -9
- package/{es → components}/HiMap/index.js +1 -1
- package/{es → components}/HiNotice/HiKPI.js +13 -14
- package/{HiNotice → components/HiNotice}/HiKPINotice.js +1 -1
- package/{es → components}/HiNotice/index.js +1 -1
- package/{es → components}/HiPaymentMeans/HiPaymentMeans.js +8 -8
- package/{HiPaymentMeans → components/HiPaymentMeans}/index.js +1 -1
- package/{es → components}/HiPdfReader/HiPdfReader.js +10 -10
- package/{HiPdfReader → components/HiPdfReader}/index.js +1 -1
- package/{es → components}/HiPin/HiPin.js +3 -3
- package/{HiPin → components/HiPin}/index.js +1 -1
- package/{es → components}/HiRadio/HiRadio.js +1 -1
- package/{es → components}/HiRadio/index.js +1 -1
- package/{es → components}/HiSelect/HiDynamicSelect.js +12 -12
- package/{es → components}/HiSelect/HiDynamicSelectField.js +8 -8
- package/{HiSelect → components/HiSelect}/HiNestedSelect.js +12 -12
- package/{HiSelect → components/HiSelect}/HiNestedSelectContent.js +12 -12
- package/{es → components}/HiSelect/HiNestedSelectField.js +8 -8
- package/{HiSelect → components/HiSelect}/HiSelect.js +11 -11
- package/{HiSelect → components/HiSelect}/HiSelectContent.js +11 -11
- package/{HiSelect → components/HiSelect}/HiSelectField.js +8 -8
- package/{HiSelect → components/HiSelect}/HiSelectInput.js +9 -9
- package/{es → components}/HiSelect/HiSelectMobile.js +11 -11
- package/{es → components}/HiSelect/HiSuggestSelect.js +10 -10
- package/{HiSelect → components/HiSelect}/HiSuggestSelectField.js +8 -8
- package/{HiSelect → components/HiSelect}/index.js +2 -2
- package/{es → components}/HiSelectableList/HiSelectableList.js +11 -11
- package/{HiSelectableList → components/HiSelectableList}/HiSelectableListHierarchic.js +10 -10
- package/{es → components}/HiSelectableList/HiSelectableListItem.js +10 -10
- package/{es → components}/HiSelectableList/index.js +1 -1
- package/{HiSwitch → components/HiSwitch}/HiSwitch.js +4 -4
- package/{HiSwitch → components/HiSwitch}/HiSwitchState.js +2 -2
- package/{es → components}/HiSwitch/index.js +1 -1
- package/{es → components}/HiTable/HiCellBuilder.js +9 -9
- package/{HiTable → components/HiTable}/HiTable.js +8 -8
- package/{HiTable → components/HiTable}/HiTableBody.js +6 -6
- package/{es → components}/HiTable/HiTableHeader.js +9 -9
- package/{HiTable → components/HiTable}/HiTableRow.js +10 -11
- package/{es → components}/HiTable/constants.js +2 -2
- package/{HiTable → components/HiTable}/index.js +1 -1
- package/{es → components}/hi-svg-icons/HiAccount.js +9 -21
- package/{hi-svg-icons → components/hi-svg-icons}/HiActivity.js +9 -21
- package/{hi-svg-icons → components/hi-svg-icons}/HiAll.js +9 -21
- package/{hi-svg-icons → components/hi-svg-icons}/HiBilling.js +9 -21
- package/components/hi-svg-icons/HiBriefcaseRescue.js +27 -0
- package/{hi-svg-icons → components/hi-svg-icons}/HiCatalog.js +7 -22
- package/{hi-svg-icons → components/hi-svg-icons}/HiCustomer.js +7 -22
- package/components/hi-svg-icons/HiDownload.js +28 -0
- package/{hi-svg-icons → components/hi-svg-icons}/HiFinance.js +7 -22
- package/{es → components}/hi-svg-icons/HiPermission.js +7 -22
- package/{hi-svg-icons → components/hi-svg-icons}/HiRoute.js +7 -22
- package/{hi-svg-icons → components/hi-svg-icons}/HiSettlement.js +7 -22
- package/{hi-svg-icons → components/hi-svg-icons}/HiSizeLarge.js +3 -5
- package/{hi-svg-icons → components/hi-svg-icons}/HiSizeMedium.js +3 -3
- package/{hi-svg-icons → components/hi-svg-icons}/HiSizeSmall.js +3 -3
- package/{hi-svg-icons → components/hi-svg-icons}/HiTransaction.js +7 -22
- package/{hi-svg-icons → components/hi-svg-icons}/HiUser.js +7 -22
- package/{hi-svg-icons → components/hi-svg-icons}/HiWidget.js +7 -22
- package/{es → components}/hi-svg-icons/index.js +1 -1
- package/{es → components}/styles/MuiThemeProvider.js +10 -10
- package/{styles → components/styles}/colorManipulator.js +1 -1
- package/{styles → components/styles}/createBreakpoints.js +3 -3
- package/{styles → components/styles}/createGenerateClassName.js +1 -1
- package/{es → components}/styles/createMixins.js +3 -3
- package/{styles → components/styles}/createMuiTheme.js +3 -3
- package/{es → components}/styles/createPalette.js +3 -3
- package/{styles → components/styles}/createTypography.js +3 -3
- package/{es → components}/styles/getStylesCreator.js +3 -3
- package/{es → components}/styles/index.js +18 -2
- package/{es → components}/styles/jssPreset.js +1 -1
- package/{styles → components/styles}/mergeClasses.js +2 -2
- package/{styles → components/styles}/themeListener.js +2 -2
- package/{es → components}/styles/transitions.js +2 -2
- package/components/styles/withStyles.js +373 -0
- package/components/styles/withTheme.js +122 -0
- package/{test-utils → components/test-utils}/createMount.js +3 -3
- package/{es → components}/test-utils/createRender.js +3 -3
- package/{test-utils → components/test-utils}/createShallow.js +3 -3
- package/{test-utils → components/test-utils}/index.js +1 -1
- package/{test-utils → components/test-utils}/until.js +3 -3
- package/{utils → components/utils}/helpers.js +3 -3
- package/{es → components}/withMobileDialog/index.js +1 -1
- package/{withMobileDialog → components/withMobileDialog}/withMobileDialog.js +3 -3
- package/es/App.js +36 -0
- package/es/{HiAlertModal → components/HiAlertModal}/HiAlertModal.js +10 -10
- package/{HiAlertModal → es/components/HiAlertModal}/index.js +1 -1
- package/es/{HiAppBar → components/HiAppBar}/HiAppBar.js +8 -8
- package/{HiAppBar → es/components/HiAppBar}/index.js +1 -1
- package/es/{HiBadge → components/HiBadge}/HiBadge.js +2 -2
- package/es/{HiBadge → components/HiBadge}/index.js +1 -1
- package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiBreadcrumb.js +8 -8
- package/es/{HiBreadcrumb → components/HiBreadcrumb}/HiStep.js +9 -9
- package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiStepConnector.js +10 -10
- package/es/{HiBreadcrumb → components/HiBreadcrumb}/HiStepContent.js +7 -7
- package/es/{HiBreadcrumb → components/HiBreadcrumb}/HiStepIcon.js +7 -7
- package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiStepLabel.js +10 -10
- package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiStepper.js +8 -8
- package/{HiBreadcrumb → es/components/HiBreadcrumb}/index.js +1 -1
- package/{HiButton → es/components/HiButton}/HiButton.js +2 -2
- package/es/{HiButton → components/HiButton}/index.js +1 -1
- package/{HiCell → es/components/HiCell}/CellAddress.js +7 -7
- package/{HiCell → es/components/HiCell}/CellDate.js +8 -8
- package/{HiCell → es/components/HiCell}/CellIcon.js +7 -7
- package/{HiCell → es/components/HiCell}/CellImage.js +7 -7
- package/es/{HiCell → components/HiCell}/CellNumeric.js +7 -7
- package/{HiCell → es/components/HiCell}/CellPinToAction.js +6 -6
- package/{HiCell → es/components/HiCell}/CellRate.js +7 -7
- package/{HiCell → es/components/HiCell}/CellSentinel.js +7 -7
- package/{HiCell → es/components/HiCell}/CellSentinelScore.js +7 -7
- package/{HiCell → es/components/HiCell}/CellText.js +9 -9
- package/es/{HiCell → components/HiCell}/CellTextStyled.js +1 -1
- package/{HiCell → es/components/HiCell}/index.js +1 -1
- package/es/{HiCheckbox → components/HiCheckbox}/HiCheckbox.js +11 -11
- package/{HiCheckbox → es/components/HiCheckbox}/index.js +1 -1
- package/es/{HiChip → components/HiChip}/HiChip.js +3 -3
- package/{HiChip → es/components/HiChip}/HiChipSwitch.js +10 -10
- package/es/{HiChip → components/HiChip}/index.js +1 -1
- package/es/{HiColoredLabel → components/HiColoredLabel}/HiColoredLabel.js +5 -5
- package/es/{HiColoredLabel → components/HiColoredLabel}/index.js +1 -1
- package/es/{HiDatePicker → components/HiDatePicker}/Caption.js +2 -2
- package/{HiDatePicker → es/components/HiDatePicker}/HiDatePicker.js +12 -12
- package/{HiDatePicker → es/components/HiDatePicker}/HiDatePickerMobile.js +9 -9
- package/es/{HiDatePicker → components/HiDatePicker}/HiDateRangePicker.js +11 -11
- package/{HiDatePicker → es/components/HiDatePicker}/HiDateRangeSelector.js +14 -34
- package/es/{HiDatePicker → components/HiDatePicker}/ListPicker.js +8 -8
- package/{HiDatePicker → es/components/HiDatePicker}/NavBar.js +1 -1
- package/{HiDatePicker → es/components/HiDatePicker}/Overlays/CustomOverlayLayout.js +4 -4
- package/{HiDatePicker → es/components/HiDatePicker}/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -4
- package/es/{HiDatePicker → components/HiDatePicker}/Overlays/MonthPickerOverlay.js +10 -10
- package/es/{HiDatePicker → components/HiDatePicker}/Overlays/Overlay.js +4 -4
- package/es/{HiDatePicker → components/HiDatePicker}/Overlays/TimePickerOverlay.js +11 -11
- package/{HiDatePicker → es/components/HiDatePicker}/Overlays/YearPickerOverlay.js +10 -10
- package/{HiDatePicker → es/components/HiDatePicker}/Overlays/index.js +1 -1
- package/{HiDatePicker → es/components/HiDatePicker}/Weekday.js +1 -1
- package/{HiDatePicker → es/components/HiDatePicker}/index.js +1 -1
- package/es/{HiDatePicker → components/HiDatePicker}/stylesheet.js +2 -2
- package/{HiDotsStepper → es/components/HiDotsStepper}/HiDot.js +9 -9
- package/{HiDotsStepper → es/components/HiDotsStepper}/HiDotsStepper.js +8 -8
- package/{HiExpansionPanel → es/components/HiExpansionPanel}/HiExpansionPanel.js +14 -38
- package/{HiExpansionPanel → es/components/HiExpansionPanel}/index.js +1 -1
- package/es/{HiForm → components/HiForm}/HiAddressField.js +10 -10
- package/{HiForm → es/components/HiForm}/HiEmailField.js +10 -10
- package/es/{HiForm → components/HiForm}/HiFormControl.js +11 -11
- package/{HiForm → es/components/HiForm}/HiFormLabel.js +10 -10
- package/es/{HiForm → components/HiForm}/HiInput.js +9 -9
- package/es/{HiForm → components/HiForm}/HiPasswordField.js +11 -11
- package/es/{HiForm → components/HiForm}/HiSearchField.js +10 -10
- package/{HiForm → es/components/HiForm}/HiSlider.js +9 -9
- package/es/{HiForm → components/HiForm}/HiTextField.js +9 -9
- package/{HiForm → es/components/HiForm}/HiUpload.js +10 -10
- package/{HiForm → es/components/HiForm}/HiUploadField.js +9 -9
- package/{HiForm → es/components/HiForm}/HiUploadInput.js +9 -9
- package/es/{HiForm → components/HiForm}/index.js +1 -1
- package/es/{HiIcon → components/HiIcon}/HiIcon.js +6 -5
- package/{HiIcon → es/components/HiIcon}/index.js +1 -1
- package/{HiIconButton → es/components/HiIconButton}/HiIconButton.js +4 -4
- package/es/{HiIconButton → components/HiIconButton}/index.js +1 -1
- package/es/{HiLoader → components/HiLoader}/HiLoader.js +2 -2
- package/{HiLoader → es/components/HiLoader}/index.js +1 -1
- package/{HiMap → es/components/HiMap}/HiMap.js +8 -8
- package/es/{HiMap → components/HiMap}/HiMapExpand.js +9 -9
- package/{HiMap → es/components/HiMap}/index.js +1 -1
- package/{HiNotice → es/components/HiNotice}/HiKPI.js +13 -14
- package/es/{HiNotice → components/HiNotice}/HiKPINotice.js +1 -1
- package/{HiNotice → es/components/HiNotice}/index.js +1 -1
- package/{HiPaymentMeans → es/components/HiPaymentMeans}/HiPaymentMeans.js +8 -8
- package/es/{HiPaymentMeans → components/HiPaymentMeans}/index.js +1 -1
- package/{HiPdfReader → es/components/HiPdfReader}/HiPdfReader.js +10 -10
- package/es/{HiPdfReader → components/HiPdfReader}/index.js +1 -1
- package/{HiPin → es/components/HiPin}/HiPin.js +3 -3
- package/es/{HiPin → components/HiPin}/index.js +1 -1
- package/{HiRadio → es/components/HiRadio}/HiRadio.js +1 -1
- package/{HiRadio → es/components/HiRadio}/index.js +1 -1
- package/{HiSelect → es/components/HiSelect}/HiDynamicSelect.js +12 -12
- package/{HiSelect → es/components/HiSelect}/HiDynamicSelectField.js +8 -8
- package/es/{HiSelect → components/HiSelect}/HiNestedSelect.js +12 -12
- package/es/{HiSelect → components/HiSelect}/HiNestedSelectContent.js +12 -12
- package/{HiSelect → es/components/HiSelect}/HiNestedSelectField.js +8 -8
- package/es/{HiSelect → components/HiSelect}/HiSelect.js +11 -11
- package/es/{HiSelect → components/HiSelect}/HiSelectContent.js +11 -11
- package/es/{HiSelect → components/HiSelect}/HiSelectField.js +8 -8
- package/es/{HiSelect → components/HiSelect}/HiSelectInput.js +9 -9
- package/{HiSelect → es/components/HiSelect}/HiSelectMobile.js +11 -11
- package/{HiSelect → es/components/HiSelect}/HiSuggestSelect.js +10 -10
- package/es/{HiSelect → components/HiSelect}/HiSuggestSelectField.js +8 -8
- package/es/{HiSelect → components/HiSelect}/index.js +2 -2
- package/{HiSelectableList → es/components/HiSelectableList}/HiSelectableList.js +11 -11
- package/es/{HiSelectableList → components/HiSelectableList}/HiSelectableListHierarchic.js +10 -10
- package/{HiSelectableList → es/components/HiSelectableList}/HiSelectableListItem.js +10 -10
- package/{HiSelectableList → es/components/HiSelectableList}/index.js +1 -1
- package/es/{HiSwitch → components/HiSwitch}/HiSwitch.js +4 -4
- package/es/{HiSwitch → components/HiSwitch}/HiSwitchState.js +2 -2
- package/{HiSwitch → es/components/HiSwitch}/index.js +1 -1
- package/{HiTable → es/components/HiTable}/HiCellBuilder.js +9 -9
- package/es/{HiTable → components/HiTable}/HiTable.js +8 -8
- package/es/{HiTable → components/HiTable}/HiTableBody.js +6 -6
- package/{HiTable → es/components/HiTable}/HiTableHeader.js +9 -9
- package/es/{HiTable → components/HiTable}/HiTableRow.js +10 -11
- package/{HiTable → es/components/HiTable}/constants.js +2 -2
- package/es/{HiTable → components/HiTable}/index.js +1 -1
- package/{hi-svg-icons → es/components/hi-svg-icons}/HiAccount.js +9 -21
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiActivity.js +9 -21
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiAll.js +9 -21
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiBilling.js +9 -21
- package/es/components/hi-svg-icons/HiBriefcaseRescue.js +27 -0
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiCatalog.js +7 -22
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiCustomer.js +7 -22
- package/es/components/hi-svg-icons/HiDownload.js +28 -0
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiFinance.js +7 -22
- package/{hi-svg-icons → es/components/hi-svg-icons}/HiPermission.js +7 -22
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiRoute.js +7 -22
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiSettlement.js +7 -22
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiSizeLarge.js +3 -5
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiSizeMedium.js +3 -3
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiSizeSmall.js +3 -3
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiTransaction.js +7 -22
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiUser.js +7 -22
- package/es/{hi-svg-icons → components/hi-svg-icons}/HiWidget.js +7 -22
- package/{hi-svg-icons → es/components/hi-svg-icons}/index.js +1 -1
- package/{styles → es/components/styles}/MuiThemeProvider.js +10 -10
- package/es/{styles → components/styles}/colorManipulator.js +1 -1
- package/es/{styles → components/styles}/createBreakpoints.js +3 -3
- package/es/{styles → components/styles}/createGenerateClassName.js +1 -1
- package/{styles → es/components/styles}/createMixins.js +3 -3
- package/es/{styles → components/styles}/createMuiTheme.js +3 -3
- package/{styles → es/components/styles}/createPalette.js +3 -3
- package/es/{styles → components/styles}/createTypography.js +3 -3
- package/{styles → es/components/styles}/getStylesCreator.js +3 -3
- package/{styles → es/components/styles}/index.js +18 -2
- package/{styles → es/components/styles}/jssPreset.js +1 -1
- package/es/{styles → components/styles}/mergeClasses.js +2 -2
- package/es/{styles → components/styles}/themeListener.js +2 -2
- package/{styles → es/components/styles}/transitions.js +2 -2
- package/es/components/styles/withStyles.js +373 -0
- package/es/components/styles/withTheme.js +122 -0
- package/es/{test-utils → components/test-utils}/createMount.js +3 -3
- package/{test-utils → es/components/test-utils}/createRender.js +3 -3
- package/es/{test-utils → components/test-utils}/createShallow.js +3 -3
- package/es/{test-utils → components/test-utils}/index.js +1 -1
- package/es/{test-utils → components/test-utils}/until.js +3 -3
- package/es/{utils → components/utils}/helpers.js +3 -3
- package/{withMobileDialog → es/components/withMobileDialog}/index.js +1 -1
- package/es/{withMobileDialog → components/withMobileDialog}/withMobileDialog.js +3 -3
- package/es/index.js +22 -0
- package/es/serviceWorker.js +118 -0
- package/es/styleguide/Wrapper.js +7 -7
- package/index.es.js +22 -0
- package/index.js +32 -0
- package/package.json +14 -6
- package/serviceWorker.js +118 -0
- package/styleguide/Wrapper.js +7 -7
- package/HiDotsStepper/index.js +0 -23
- package/es/HiDotsStepper/index.js +0 -23
- package/es/hi-svg-icons/HiBriefcaseRescue.js +0 -39
- package/es/hi-svg-icons/HiDownload.js +0 -36
- package/es/hi-svg-icons/index.text.js +0 -51
- package/hi-svg-icons/HiBriefcaseRescue.js +0 -39
- package/hi-svg-icons/HiDownload.js +0 -36
- package/hi-svg-icons/index.text.js +0 -51
- /package/{HiDatePicker → components/HiDatePicker}/hiLocaleUtils.js +0 -0
- /package/{es → components}/styles/createStyles.js +0 -0
- /package/{es → components}/styles/getThemeProps.js +0 -0
- /package/{es → components}/styles/shadows.js +0 -0
- /package/{es → components}/styles/shape.js +0 -0
- /package/{es → components}/styles/spacing.js +0 -0
- /package/{es → components}/styles/zIndex.js +0 -0
- /package/{es → components}/test-utils/getClasses.js +0 -0
- /package/{es → components}/test-utils/unwrap.js +0 -0
- /package/{es → components}/transitions/utils.js +0 -0
- /package/es/{HiDatePicker → components/HiDatePicker}/hiLocaleUtils.js +0 -0
- /package/{styles → es/components/styles}/createStyles.js +0 -0
- /package/{styles → es/components/styles}/getThemeProps.js +0 -0
- /package/{styles → es/components/styles}/shadows.js +0 -0
- /package/{styles → es/components/styles}/shape.js +0 -0
- /package/{styles → es/components/styles}/spacing.js +0 -0
- /package/{styles → es/components/styles}/zIndex.js +0 -0
- /package/{test-utils → es/components/test-utils}/getClasses.js +0 -0
- /package/{test-utils → es/components/test-utils}/unwrap.js +0 -0
- /package/{transitions → es/components/transitions}/utils.js +0 -0
@@ -0,0 +1,118 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.register = register;
|
7
|
+
exports.unregister = unregister;
|
8
|
+
// This optional code is used to register a service worker.
|
9
|
+
// register() is not called by default.
|
10
|
+
// This lets the app load faster on subsequent visits in production, and gives
|
11
|
+
// it offline capabilities. However, it also means that developers (and users)
|
12
|
+
// will only see deployed updates on subsequent visits to a page, after all the
|
13
|
+
// existing tabs open on the page have been closed, since previously cached
|
14
|
+
// resources are updated in the background.
|
15
|
+
// To learn more about the benefits of this model and instructions on how to
|
16
|
+
// opt-in, read https://bit.ly/CRA-PWA
|
17
|
+
var isLocalhost = Boolean(window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address.
|
18
|
+
window.location.hostname === '[::1]' || // 127.0.0.1/8 is considered localhost for IPv4.
|
19
|
+
window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
|
20
|
+
|
21
|
+
function register(config) {
|
22
|
+
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
|
23
|
+
// The URL constructor is available in all browsers that support SW.
|
24
|
+
var publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
|
25
|
+
|
26
|
+
if (publicUrl.origin !== window.location.origin) {
|
27
|
+
// Our service worker won't work if PUBLIC_URL is on a different origin
|
28
|
+
// from what our page is served on. This might happen if a CDN is used to
|
29
|
+
// serve assets; see https://github.com/facebook/create-react-app/issues/2374
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
|
33
|
+
window.addEventListener('load', function () {
|
34
|
+
var swUrl = "".concat(process.env.PUBLIC_URL, "/service-worker.js");
|
35
|
+
|
36
|
+
if (isLocalhost) {
|
37
|
+
// This is running on localhost. Let's check if a service worker still exists or not.
|
38
|
+
checkValidServiceWorker(swUrl, config); // Add some additional logging to localhost, pointing developers to the
|
39
|
+
// service worker/PWA documentation.
|
40
|
+
|
41
|
+
navigator.serviceWorker.ready.then(function () {
|
42
|
+
console.log('This web app is being served cache-first by a service ' + 'worker. To learn more, visit https://bit.ly/CRA-PWA');
|
43
|
+
});
|
44
|
+
} else {
|
45
|
+
// Is not localhost. Just register service worker
|
46
|
+
registerValidSW(swUrl, config);
|
47
|
+
}
|
48
|
+
});
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
function registerValidSW(swUrl, config) {
|
53
|
+
navigator.serviceWorker.register(swUrl).then(function (registration) {
|
54
|
+
registration.onupdatefound = function () {
|
55
|
+
var installingWorker = registration.installing;
|
56
|
+
|
57
|
+
if (installingWorker == null) {
|
58
|
+
return;
|
59
|
+
}
|
60
|
+
|
61
|
+
installingWorker.onstatechange = function () {
|
62
|
+
if (installingWorker.state === 'installed') {
|
63
|
+
if (navigator.serviceWorker.controller) {
|
64
|
+
// At this point, the updated precached content has been fetched,
|
65
|
+
// but the previous service worker will still serve the older
|
66
|
+
// content until all client tabs are closed.
|
67
|
+
console.log('New content is available and will be used when all ' + 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'); // Execute callback
|
68
|
+
|
69
|
+
if (config && config.onUpdate) {
|
70
|
+
config.onUpdate(registration);
|
71
|
+
}
|
72
|
+
} else {
|
73
|
+
// At this point, everything has been precached.
|
74
|
+
// It's the perfect time to display a
|
75
|
+
// "Content is cached for offline use." message.
|
76
|
+
console.log('Content is cached for offline use.'); // Execute callback
|
77
|
+
|
78
|
+
if (config && config.onSuccess) {
|
79
|
+
config.onSuccess(registration);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
};
|
84
|
+
};
|
85
|
+
}).catch(function (error) {
|
86
|
+
console.error('Error during service worker registration:', error);
|
87
|
+
});
|
88
|
+
}
|
89
|
+
|
90
|
+
function checkValidServiceWorker(swUrl, config) {
|
91
|
+
// Check if the service worker can be found. If it can't reload the page.
|
92
|
+
fetch(swUrl).then(function (response) {
|
93
|
+
// Ensure service worker exists, and that we really are getting a JS file.
|
94
|
+
var contentType = response.headers.get('content-type');
|
95
|
+
|
96
|
+
if (response.status === 404 || contentType != null && contentType.indexOf('javascript') === -1) {
|
97
|
+
// No service worker found. Probably a different app. Reload the page.
|
98
|
+
navigator.serviceWorker.ready.then(function (registration) {
|
99
|
+
registration.unregister().then(function () {
|
100
|
+
window.location.reload();
|
101
|
+
});
|
102
|
+
});
|
103
|
+
} else {
|
104
|
+
// Service worker found. Proceed as normal.
|
105
|
+
registerValidSW(swUrl, config);
|
106
|
+
}
|
107
|
+
}).catch(function () {
|
108
|
+
console.log('No internet connection found. App is running in offline mode.');
|
109
|
+
});
|
110
|
+
}
|
111
|
+
|
112
|
+
function unregister() {
|
113
|
+
if ('serviceWorker' in navigator) {
|
114
|
+
navigator.serviceWorker.ready.then(function (registration) {
|
115
|
+
registration.unregister();
|
116
|
+
});
|
117
|
+
}
|
118
|
+
}
|
package/es/styleguide/Wrapper.js
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireWildcard = require("/home/mfazio/dev/projects/
|
3
|
+
var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
|
4
4
|
|
5
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/
|
5
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
6
6
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
8
8
|
value: true
|
9
9
|
});
|
10
10
|
exports.default = void 0;
|
11
11
|
|
12
|
-
var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
12
|
+
var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
|
13
13
|
|
14
|
-
var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
14
|
+
var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
|
15
15
|
|
16
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
16
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
|
17
17
|
|
18
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
18
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
20
|
+
var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
|
21
21
|
|
22
22
|
var _react = _interopRequireWildcard(require("react"));
|
23
23
|
|
package/index.es.js
ADDED
@@ -0,0 +1,22 @@
|
|
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
|
+
var _react = _interopRequireDefault(require("react"));
|
8
|
+
|
9
|
+
var _reactDom = _interopRequireDefault(require("react-dom"));
|
10
|
+
|
11
|
+
require("./index.css");
|
12
|
+
|
13
|
+
var _App = _interopRequireDefault(require("./App"));
|
14
|
+
|
15
|
+
var serviceWorker = _interopRequireWildcard(require("./serviceWorker"));
|
16
|
+
|
17
|
+
_reactDom.default.render(_react.default.createElement(_App.default, null), document.getElementById('root')); // If you want your app to work offline and load faster, you can change
|
18
|
+
// unregister() to register() below. Note this comes with some pitfalls.
|
19
|
+
// Learn more about service workers: https://bit.ly/CRA-PWA
|
20
|
+
|
21
|
+
|
22
|
+
serviceWorker.unregister();
|
package/index.js
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
/** @license Material-UI v2.3.0-rcstyleguide
|
2
|
+
*
|
3
|
+
* This source code is licensed under the MIT license found in the
|
4
|
+
* LICENSE file in the root directory of this source tree.
|
5
|
+
*/
|
6
|
+
/** @license Material-UI v0.1.0
|
7
|
+
*
|
8
|
+
* This source code is licensed under the MIT license found in the
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
10
|
+
*/
|
11
|
+
"use strict";
|
12
|
+
|
13
|
+
var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
|
14
|
+
|
15
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
16
|
+
|
17
|
+
var _react = _interopRequireDefault(require("react"));
|
18
|
+
|
19
|
+
var _reactDom = _interopRequireDefault(require("react-dom"));
|
20
|
+
|
21
|
+
require("./index.css");
|
22
|
+
|
23
|
+
var _App = _interopRequireDefault(require("./App"));
|
24
|
+
|
25
|
+
var serviceWorker = _interopRequireWildcard(require("./serviceWorker"));
|
26
|
+
|
27
|
+
_reactDom.default.render(_react.default.createElement(_App.default, null), document.getElementById('root')); // If you want your app to work offline and load faster, you can change
|
28
|
+
// unregister() to register() below. Note this comes with some pitfalls.
|
29
|
+
// Learn more about service workers: https://bit.ly/CRA-PWA
|
30
|
+
|
31
|
+
|
32
|
+
serviceWorker.unregister();
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hipay/hipay-material-ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "2.3.0-
|
4
|
+
"version": "2.3.0-rcstyleguide",
|
5
5
|
"description": "React components that implement Google's Material Design.",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -12,11 +12,14 @@
|
|
12
12
|
"url": "https://gitlab.hipay.org/backend/hipay-material-ui/issues"
|
13
13
|
},
|
14
14
|
"homepage": "http://materialui.hipay.dev.local/",
|
15
|
-
"
|
15
|
+
"peerDependencies": {
|
16
16
|
"react": "16.9.0",
|
17
|
-
"react-dom": "16.9.0"
|
18
|
-
|
19
|
-
|
17
|
+
"react-dom": "16.9.0"
|
18
|
+
},
|
19
|
+
"dependencies": {
|
20
|
+
"@material-ui/core": "4.5.1",
|
21
|
+
"@material-ui/icons": "4.5.1",
|
22
|
+
"@material-ui/styles": "4.5.0",
|
20
23
|
"classnames": "2.2.6",
|
21
24
|
"cross-env": "^6.0.3",
|
22
25
|
"keycode": "2.2.0",
|
@@ -32,10 +35,14 @@
|
|
32
35
|
"react-lazyload": "2.6.2",
|
33
36
|
"react-leaflet": "2.5.0",
|
34
37
|
"react-pdf": "4.1.0",
|
38
|
+
"react-scripts": "3.0.1",
|
35
39
|
"react-spinners": "0.6.1",
|
36
40
|
"recompose": "0.30.0",
|
37
41
|
"validator": "10.7.1"
|
38
42
|
},
|
43
|
+
"eslintConfig": {
|
44
|
+
"extends": "react-app"
|
45
|
+
},
|
39
46
|
"browserslist": {
|
40
47
|
"production": [
|
41
48
|
">0.2%",
|
@@ -53,5 +60,6 @@
|
|
53
60
|
"node": ">=6.0.0"
|
54
61
|
},
|
55
62
|
"main": "./index.js",
|
56
|
-
"module": "./esm/index.js"
|
63
|
+
"module": "./esm/index.js",
|
64
|
+
"typings": "./index.d.ts"
|
57
65
|
}
|
package/serviceWorker.js
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.register = register;
|
7
|
+
exports.unregister = unregister;
|
8
|
+
// This optional code is used to register a service worker.
|
9
|
+
// register() is not called by default.
|
10
|
+
// This lets the app load faster on subsequent visits in production, and gives
|
11
|
+
// it offline capabilities. However, it also means that developers (and users)
|
12
|
+
// will only see deployed updates on subsequent visits to a page, after all the
|
13
|
+
// existing tabs open on the page have been closed, since previously cached
|
14
|
+
// resources are updated in the background.
|
15
|
+
// To learn more about the benefits of this model and instructions on how to
|
16
|
+
// opt-in, read https://bit.ly/CRA-PWA
|
17
|
+
var isLocalhost = Boolean(window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address.
|
18
|
+
window.location.hostname === '[::1]' || // 127.0.0.1/8 is considered localhost for IPv4.
|
19
|
+
window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
|
20
|
+
|
21
|
+
function register(config) {
|
22
|
+
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
|
23
|
+
// The URL constructor is available in all browsers that support SW.
|
24
|
+
var publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
|
25
|
+
|
26
|
+
if (publicUrl.origin !== window.location.origin) {
|
27
|
+
// Our service worker won't work if PUBLIC_URL is on a different origin
|
28
|
+
// from what our page is served on. This might happen if a CDN is used to
|
29
|
+
// serve assets; see https://github.com/facebook/create-react-app/issues/2374
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
|
33
|
+
window.addEventListener('load', function () {
|
34
|
+
var swUrl = "".concat(process.env.PUBLIC_URL, "/service-worker.js");
|
35
|
+
|
36
|
+
if (isLocalhost) {
|
37
|
+
// This is running on localhost. Let's check if a service worker still exists or not.
|
38
|
+
checkValidServiceWorker(swUrl, config); // Add some additional logging to localhost, pointing developers to the
|
39
|
+
// service worker/PWA documentation.
|
40
|
+
|
41
|
+
navigator.serviceWorker.ready.then(function () {
|
42
|
+
console.log('This web app is being served cache-first by a service ' + 'worker. To learn more, visit https://bit.ly/CRA-PWA');
|
43
|
+
});
|
44
|
+
} else {
|
45
|
+
// Is not localhost. Just register service worker
|
46
|
+
registerValidSW(swUrl, config);
|
47
|
+
}
|
48
|
+
});
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
function registerValidSW(swUrl, config) {
|
53
|
+
navigator.serviceWorker.register(swUrl).then(function (registration) {
|
54
|
+
registration.onupdatefound = function () {
|
55
|
+
var installingWorker = registration.installing;
|
56
|
+
|
57
|
+
if (installingWorker == null) {
|
58
|
+
return;
|
59
|
+
}
|
60
|
+
|
61
|
+
installingWorker.onstatechange = function () {
|
62
|
+
if (installingWorker.state === 'installed') {
|
63
|
+
if (navigator.serviceWorker.controller) {
|
64
|
+
// At this point, the updated precached content has been fetched,
|
65
|
+
// but the previous service worker will still serve the older
|
66
|
+
// content until all client tabs are closed.
|
67
|
+
console.log('New content is available and will be used when all ' + 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'); // Execute callback
|
68
|
+
|
69
|
+
if (config && config.onUpdate) {
|
70
|
+
config.onUpdate(registration);
|
71
|
+
}
|
72
|
+
} else {
|
73
|
+
// At this point, everything has been precached.
|
74
|
+
// It's the perfect time to display a
|
75
|
+
// "Content is cached for offline use." message.
|
76
|
+
console.log('Content is cached for offline use.'); // Execute callback
|
77
|
+
|
78
|
+
if (config && config.onSuccess) {
|
79
|
+
config.onSuccess(registration);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
};
|
84
|
+
};
|
85
|
+
}).catch(function (error) {
|
86
|
+
console.error('Error during service worker registration:', error);
|
87
|
+
});
|
88
|
+
}
|
89
|
+
|
90
|
+
function checkValidServiceWorker(swUrl, config) {
|
91
|
+
// Check if the service worker can be found. If it can't reload the page.
|
92
|
+
fetch(swUrl).then(function (response) {
|
93
|
+
// Ensure service worker exists, and that we really are getting a JS file.
|
94
|
+
var contentType = response.headers.get('content-type');
|
95
|
+
|
96
|
+
if (response.status === 404 || contentType != null && contentType.indexOf('javascript') === -1) {
|
97
|
+
// No service worker found. Probably a different app. Reload the page.
|
98
|
+
navigator.serviceWorker.ready.then(function (registration) {
|
99
|
+
registration.unregister().then(function () {
|
100
|
+
window.location.reload();
|
101
|
+
});
|
102
|
+
});
|
103
|
+
} else {
|
104
|
+
// Service worker found. Proceed as normal.
|
105
|
+
registerValidSW(swUrl, config);
|
106
|
+
}
|
107
|
+
}).catch(function () {
|
108
|
+
console.log('No internet connection found. App is running in offline mode.');
|
109
|
+
});
|
110
|
+
}
|
111
|
+
|
112
|
+
function unregister() {
|
113
|
+
if ('serviceWorker' in navigator) {
|
114
|
+
navigator.serviceWorker.ready.then(function (registration) {
|
115
|
+
registration.unregister();
|
116
|
+
});
|
117
|
+
}
|
118
|
+
}
|
package/styleguide/Wrapper.js
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireWildcard = require("/home/mfazio/dev/projects/
|
3
|
+
var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
|
4
4
|
|
5
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/
|
5
|
+
var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
6
6
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
8
8
|
value: true
|
9
9
|
});
|
10
10
|
exports.default = void 0;
|
11
11
|
|
12
|
-
var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
12
|
+
var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
|
13
13
|
|
14
|
-
var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
14
|
+
var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
|
15
15
|
|
16
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
16
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
|
17
17
|
|
18
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
18
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/
|
20
|
+
var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
|
21
21
|
|
22
22
|
var _react = _interopRequireWildcard(require("react"));
|
23
23
|
|
package/HiDotsStepper/index.js
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/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, "HiDot", {
|
9
|
-
enumerable: true,
|
10
|
-
get: function get() {
|
11
|
-
return _HiDot.default;
|
12
|
-
}
|
13
|
-
});
|
14
|
-
Object.defineProperty(exports, "HiDotsStepper", {
|
15
|
-
enumerable: true,
|
16
|
-
get: function get() {
|
17
|
-
return _HiDotsStepper.default;
|
18
|
-
}
|
19
|
-
});
|
20
|
-
|
21
|
-
var _HiDot = _interopRequireDefault(require("./HiDot"));
|
22
|
-
|
23
|
-
var _HiDotsStepper = _interopRequireDefault(require("./HiDotsStepper"));
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/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, "HiDot", {
|
9
|
-
enumerable: true,
|
10
|
-
get: function get() {
|
11
|
-
return _HiDot.default;
|
12
|
-
}
|
13
|
-
});
|
14
|
-
Object.defineProperty(exports, "HiDotsStepper", {
|
15
|
-
enumerable: true,
|
16
|
-
get: function get() {
|
17
|
-
return _HiDotsStepper.default;
|
18
|
-
}
|
19
|
-
});
|
20
|
-
|
21
|
-
var _HiDot = _interopRequireDefault(require("./HiDot"));
|
22
|
-
|
23
|
-
var _HiDotsStepper = _interopRequireDefault(require("./HiDotsStepper"));
|
@@ -1,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/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 = void 0;
|
9
|
-
|
10
|
-
var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
|
11
|
-
|
12
|
-
var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
|
13
|
-
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
15
|
-
|
16
|
-
var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
|
17
|
-
|
18
|
-
var _index = require("@material-ui/core/styles/index");
|
19
|
-
|
20
|
-
var HiBriefcaseRescue = function HiBriefcaseRescue(props) {
|
21
|
-
return _react.default.createElement(_Icon.default, {
|
22
|
-
style: (0, _objectSpread2.default)({}, props.style, {
|
23
|
-
fontSize: props.size || 24
|
24
|
-
})
|
25
|
-
}, _react.default.createElement("svg", (0, _extends2.default)({
|
26
|
-
viewBox: "0 0 540 486"
|
27
|
-
}, props), _react.default.createElement("path", {
|
28
|
-
// eslint-disable-next-line max-len
|
29
|
-
d: "M486 108H378V27a27 27 0 0 0-27-27H189a27 27 0 0 0-27 27v81H54a54.06 54.06 0 0 0-54 54v270a54.06 54.06 0 0 0 54 54h432a54.06 54.06 0 0 0 54-54V162a54.06 54.06 0 0 0-54-54zM216 54h108v54H216zm162 270h-81v81h-54v-81h-81v-54h81v-81h54v81h81z",
|
30
|
-
fill: props.color || props.theme.palette.neutral.main
|
31
|
-
})));
|
32
|
-
};
|
33
|
-
|
34
|
-
var _default = (0, _index.withStyles)({}, {
|
35
|
-
hiComponent: true,
|
36
|
-
withTheme: true
|
37
|
-
})(HiBriefcaseRescue);
|
38
|
-
|
39
|
-
exports.default = _default;
|
@@ -1,36 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/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 = void 0;
|
9
|
-
|
10
|
-
var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
|
11
|
-
|
12
|
-
var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
|
13
|
-
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
|
15
|
-
|
16
|
-
var _react = _interopRequireDefault(require("react"));
|
17
|
-
|
18
|
-
var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
|
19
|
-
|
20
|
-
var HiDownload = function HiDownload(props) {
|
21
|
-
var color = props.color,
|
22
|
-
other = (0, _objectWithoutProperties2.default)(props, ["color"]);
|
23
|
-
return _react.default.createElement(_Icon.default, {
|
24
|
-
style: (0, _objectSpread2.default)({}, props.style, {
|
25
|
-
fontSize: props.size || 24
|
26
|
-
})
|
27
|
-
}, _react.default.createElement("svg", (0, _extends2.default)({
|
28
|
-
viewBox: "0 0 500 500"
|
29
|
-
}, other), _react.default.createElement("path", {
|
30
|
-
fill: color,
|
31
|
-
d: "M250 0C111.94 0 0 111.94 0 250s111.92 250 250 250 250-111.92 250-250S388.06 0 250 0zm-44.18 210.14V114.8h88.37v95.34h58.68L250 321.14l-102.87-111zM352.87 385.2H147.13v-32h205.74z"
|
32
|
-
})));
|
33
|
-
};
|
34
|
-
|
35
|
-
var _default = HiDownload;
|
36
|
-
exports.default = _default;
|
@@ -1,51 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
|
4
|
-
|
5
|
-
var _fs = _interopRequireDefault(require("fs"));
|
6
|
-
|
7
|
-
var _path = _interopRequireDefault(require("path"));
|
8
|
-
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
10
|
-
|
11
|
-
var _chai = require("chai");
|
12
|
-
|
13
|
-
var _testUtils = require("../test-utils");
|
14
|
-
|
15
|
-
describe('hi-svg-icons', function () {
|
16
|
-
var shallow;
|
17
|
-
before(function () {
|
18
|
-
shallow = (0, _testUtils.createShallow)();
|
19
|
-
});
|
20
|
-
it('should be able to render all of them', function (done) {
|
21
|
-
// This test can only be run on the node env
|
22
|
-
if (!_fs.default.readdir) {
|
23
|
-
done();
|
24
|
-
return;
|
25
|
-
}
|
26
|
-
|
27
|
-
_fs.default.readdir(__dirname, function (err, files) {
|
28
|
-
files.forEach(function (file) {
|
29
|
-
// Ignore no js files and tests
|
30
|
-
if (file.indexOf('.js') === -1 || file.indexOf('text.js') > -1) {
|
31
|
-
return;
|
32
|
-
} // eslint-disable-next-line global-require, import/no-dynamic-require
|
33
|
-
|
34
|
-
|
35
|
-
var fileLoaded = require(_path.default.join(__dirname, file));
|
36
|
-
|
37
|
-
if (!fileLoaded.default) {
|
38
|
-
return;
|
39
|
-
}
|
40
|
-
|
41
|
-
var Icon = fileLoaded.default;
|
42
|
-
var wrapper = shallow(_react.default.createElement(Icon, {
|
43
|
-
className: "foo"
|
44
|
-
}));
|
45
|
-
|
46
|
-
_chai.assert.strictEqual(wrapper.hasClass('foo'), true);
|
47
|
-
});
|
48
|
-
done();
|
49
|
-
});
|
50
|
-
});
|
51
|
-
});
|
@@ -1,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/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 = void 0;
|
9
|
-
|
10
|
-
var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
|
11
|
-
|
12
|
-
var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
|
13
|
-
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
15
|
-
|
16
|
-
var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
|
17
|
-
|
18
|
-
var _index = require("@material-ui/core/styles/index");
|
19
|
-
|
20
|
-
var HiBriefcaseRescue = function HiBriefcaseRescue(props) {
|
21
|
-
return _react.default.createElement(_Icon.default, {
|
22
|
-
style: (0, _objectSpread2.default)({}, props.style, {
|
23
|
-
fontSize: props.size || 24
|
24
|
-
})
|
25
|
-
}, _react.default.createElement("svg", (0, _extends2.default)({
|
26
|
-
viewBox: "0 0 540 486"
|
27
|
-
}, props), _react.default.createElement("path", {
|
28
|
-
// eslint-disable-next-line max-len
|
29
|
-
d: "M486 108H378V27a27 27 0 0 0-27-27H189a27 27 0 0 0-27 27v81H54a54.06 54.06 0 0 0-54 54v270a54.06 54.06 0 0 0 54 54h432a54.06 54.06 0 0 0 54-54V162a54.06 54.06 0 0 0-54-54zM216 54h108v54H216zm162 270h-81v81h-54v-81h-81v-54h81v-81h54v81h81z",
|
30
|
-
fill: props.color || props.theme.palette.neutral.main
|
31
|
-
})));
|
32
|
-
};
|
33
|
-
|
34
|
-
var _default = (0, _index.withStyles)({}, {
|
35
|
-
hiComponent: true,
|
36
|
-
withTheme: true
|
37
|
-
})(HiBriefcaseRescue);
|
38
|
-
|
39
|
-
exports.default = _default;
|