guestbell-forms 3.0.38 → 3.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.bat +1 -0
- package/.eslintrc.json +21 -14
- package/build/components/base/input/BaseInput.d.ts +99 -99
- package/build/components/base/input/BaseInput.js +4 -0
- package/build/components/base/input/BaseInput.js.map +1 -1
- package/build/components/base/input/index.d.ts +1 -1
- package/build/components/bookingCalendar/BookingCalendar.d.ts +45 -46
- package/build/components/bookingCalendar/BookingCalendar.js +4 -5
- package/build/components/bookingCalendar/BookingCalendar.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarControls/BookingCalendarControls.d.ts +17 -17
- package/build/components/bookingCalendar/bookingCalendarControls/BookingCalendarControls.js +12 -12
- package/build/components/bookingCalendar/bookingCalendarControls/BookingCalendarControls.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarControls/classes.d.ts +9 -9
- package/build/components/bookingCalendar/bookingCalendarControls/index.d.ts +2 -2
- package/build/components/bookingCalendar/bookingCalendarDatePicker/BookingCalendarDatePicker.d.ts +13 -13
- package/build/components/bookingCalendar/bookingCalendarDatePicker/BookingCalendarDatePicker.js +3 -3
- package/build/components/bookingCalendar/bookingCalendarDatePicker/BookingCalendarDatePicker.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarDatePicker/classes.d.ts +5 -5
- package/build/components/bookingCalendar/bookingCalendarDatePicker/index.d.ts +2 -2
- package/build/components/bookingCalendar/bookingCalendarGrid/BookingCalendarGrid.d.ts +10 -10
- package/build/components/bookingCalendar/bookingCalendarGrid/classes.d.ts +5 -5
- package/build/components/bookingCalendar/bookingCalendarItem/BookingCalendarItem.d.ts +57 -57
- package/build/components/bookingCalendar/bookingCalendarItem/classes.d.ts +4 -4
- package/build/components/bookingCalendar/bookingCalendarItem/index.d.ts +2 -2
- package/build/components/bookingCalendar/bookingCalendarLane/BookingCalendarLane.d.ts +16 -16
- package/build/components/bookingCalendar/bookingCalendarLane/classes.d.ts +4 -4
- package/build/components/bookingCalendar/bookingCalendarLane/index.d.ts +2 -2
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.d.ts +7 -7
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/classes.d.ts +4 -4
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/index.d.ts +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.d.ts +11 -11
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.js +3 -3
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeaderRenderItem.d.ts +4 -5
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeaderRenderItem.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/classes.d.ts +5 -5
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/index.d.ts +2 -2
- package/build/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.d.ts +9 -9
- package/build/components/bookingCalendar/bookingCalendarRenderItem/classes.d.ts +6 -6
- package/build/components/bookingCalendar/bookingCalendarRenderItem/index.d.ts +1 -1
- package/build/components/bookingCalendar/bookingCalendarSelection/BookingCalendarSelection.d.ts +38 -37
- package/build/components/bookingCalendar/bookingCalendarSelection/BookingCalendarSelection.js +2 -0
- package/build/components/bookingCalendar/bookingCalendarSelection/BookingCalendarSelection.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarTimeAxis/BookingCalendarTimeAxis.d.ts +11 -11
- package/build/components/bookingCalendar/bookingCalendarTimeAxis/classes.d.ts +5 -5
- package/build/components/bookingCalendar/classes.d.ts +11 -11
- package/build/components/bookingCalendar/common.d.ts +23 -23
- package/build/components/bookingCalendar/common.js +3 -4
- package/build/components/bookingCalendar/common.js.map +1 -1
- package/build/components/bookingCalendar/index.d.ts +3 -3
- package/build/components/bookingCalendar/utils.d.ts +52 -50
- package/build/components/bookingCalendar/utils.js.map +1 -1
- package/build/components/button/Button.d.ts +81 -81
- package/build/components/button/Button.js +1 -0
- package/build/components/button/Button.js.map +1 -1
- package/build/components/button/index.d.ts +2 -2
- package/build/components/checkbox/Checkbox.d.ts +23 -23
- package/build/components/checkbox/index.d.ts +2 -2
- package/build/components/dropdown/Dropdown.d.ts +44 -44
- package/build/components/dropdown/index.d.ts +2 -2
- package/build/components/dynamicSubmit/DynamicSubmit.d.ts +54 -54
- package/build/components/dynamicSubmit/DynamicSubmit.js.map +1 -1
- package/build/components/dynamicSubmit/index.d.ts +2 -2
- package/build/components/externalValidationComponent/ExternalValidationComponent.d.ts +15 -15
- package/build/components/externalValidationComponent/index.d.ts +2 -2
- package/build/components/form/Form.d.ts +47 -47
- package/build/components/form/FormContext.d.ts +30 -30
- package/build/components/form/FormValidationSummary.d.ts +38 -38
- package/build/components/form/FormValidationSummary.js.map +1 -1
- package/build/components/form/index.d.ts +5 -5
- package/build/components/form/withFormContext.d.ts +3 -3
- package/build/components/inputGroup/InputGroup.d.ts +15 -17
- package/build/components/inputGroup/index.d.ts +2 -2
- package/build/components/inputHeader/InputHeader.d.ts +97 -97
- package/build/components/inputHeader/InputHeader.js.map +1 -1
- package/build/components/inputHeader/InputHeaderContext.d.ts +24 -24
- package/build/components/inputHeader/index.d.ts +2 -2
- package/build/components/inputHeader/withInputHeaderContext.d.ts +3 -3
- package/build/components/money/Money.d.ts +78 -78
- package/build/components/money/Money.js.map +1 -1
- package/build/components/money/index.d.ts +2 -2
- package/build/components/numberInput/NumberInput.d.ts +28 -28
- package/build/components/numberInput/index.d.ts +2 -2
- package/build/components/openingHours/openingHoursDay/OpeningHoursDay.d.ts +84 -84
- package/build/components/openingHours/openingHoursDay/OpeningHoursDay.js +3 -3
- package/build/components/openingHours/openingHoursDay/OpeningHoursDay.js.map +1 -1
- package/build/components/openingHours/openingHoursDay/index.d.ts +2 -2
- package/build/components/openingHours/openingHoursSpecial/OpeningHoursSpecial.d.ts +92 -90
- package/build/components/openingHours/openingHoursSpecial/OpeningHoursSpecial.js.map +1 -1
- package/build/components/openingHours/openingHoursSpecial/index.d.ts +2 -2
- package/build/components/openingHours/openingHoursWeek/OpeningHoursWeek.d.ts +109 -109
- package/build/components/openingHours/openingHoursWeek/index.d.ts +2 -2
- package/build/components/openingHours/utils/OpeningHoursUtil.d.ts +21 -21
- package/build/components/radio/Radio.d.ts +20 -20
- package/build/components/radio/index.d.ts +2 -2
- package/build/components/radioContainer/RadioContainer.d.ts +17 -16
- package/build/components/radioContainer/RadioContainer.js.map +1 -1
- package/build/components/radioContainer/index.d.ts +2 -2
- package/build/components/select/Select.d.ts +79 -79
- package/build/components/select/index.d.ts +2 -2
- package/build/components/submit/Submit.d.ts +137 -137
- package/build/components/submit/index.d.ts +2 -2
- package/build/components/submit/subComponents/SubmitValidationSummary.d.ts +5 -5
- package/build/components/tags/Tags.d.ts +92 -92
- package/build/components/tags/Tags.js +2 -0
- package/build/components/tags/Tags.js.map +1 -1
- package/build/components/tags/index.d.ts +2 -2
- package/build/components/tags/subComponents/TagsSuggestions.d.ts +34 -34
- package/build/components/tags/subComponents/TagsSuggestions.js +2 -2
- package/build/components/tags/subComponents/TagsSuggestions.js.map +1 -1
- package/build/components/text/Text.d.ts +31 -31
- package/build/components/text/index.d.ts +2 -2
- package/build/components/textArea/TextArea.d.ts +28 -28
- package/build/components/textArea/TextArea.js +1 -0
- package/build/components/textArea/TextArea.js.map +1 -1
- package/build/components/textArea/index.d.ts +2 -2
- package/build/components/themeProvider/ThemeContext.d.ts +9 -9
- package/build/components/themeProvider/ThemeProvider.d.ts +8 -7
- package/build/components/themeProvider/ThemeProvider.js.map +1 -1
- package/build/components/themeProvider/index.d.ts +4 -4
- package/build/components/themeProvider/withThemeContext.d.ts +4 -4
- package/build/components/time/Time.d.ts +32 -32
- package/build/components/time/Time.js +3 -3
- package/build/components/time/Time.js.map +1 -1
- package/build/components/time/index.d.ts +2 -2
- package/build/components/timeSpan/TimeSpan.d.ts +46 -46
- package/build/components/timeSpan/TimeSpan.js +6 -6
- package/build/components/timeSpan/TimeSpan.js.map +1 -1
- package/build/components/timeSpan/index.d.ts +2 -2
- package/build/components/utils/Guid.d.ts +2 -2
- package/build/components/utils/ShallowEqual.d.ts +16 -16
- package/build/components/utils/TimeUtil.d.ts +6 -6
- package/build/components/utils/Typescript.d.ts +5 -5
- package/build/dist/guestbell-forms.css +157 -171
- package/build/dist/guestbell-forms.css.map +1 -1
- package/build/dist/guestbell-forms.js +15 -24
- package/build/dist/guestbell-forms.js.map +1 -1
- package/build/dist/guestbell-forms.min.css +1 -1
- package/build/dist/guestbell-forms.min.js +1 -1
- package/build/dist/guestbell-forms.min.js.map +1 -1
- package/build/dist/report.html +3 -3
- package/build/index.d.ts +24 -24
- package/build/scss/components/bookingCalendar/bookingCalendar.scss +30 -7
- package/build/scss/components/inputHeader/inputHeader.scss +7 -1
- package/build/types/ElementOverrideProp.d.ts +3 -3
- package/build/types/Theme.d.ts +4 -4
- package/build/types/ThemeOverrides.d.ts +45 -45
- package/build/validators/EmailValidator.d.ts +4 -4
- package/build/validators/LatitudeValidator.d.ts +4 -4
- package/build/validators/LongitudeValidator.d.ts +4 -4
- package/build/validators/NumberValidator.d.ts +12 -12
- package/build/validators/NumberValidator.js +1 -0
- package/build/validators/NumberValidator.js.map +1 -1
- package/build/validators/UrlValidator.d.ts +4 -4
- package/build/validators/base.d.ts +4 -4
- package/build/validators/index.d.ts +6 -6
- package/package.json +130 -136
- package/src/lib/components/base/input/BaseInput.tsx +526 -0
- package/src/lib/components/base/input/index.tsx +1 -0
- package/src/lib/components/bookingCalendar/BookingCalendar.tsx +327 -0
- package/src/lib/components/bookingCalendar/bookingCalendarControls/BookingCalendarControls.tsx +249 -0
- package/src/lib/components/bookingCalendar/bookingCalendarControls/classes.ts +20 -0
- package/src/lib/components/bookingCalendar/bookingCalendarControls/index.ts +2 -0
- package/src/lib/components/bookingCalendar/bookingCalendarDatePicker/BookingCalendarDatePicker.tsx +104 -0
- package/src/lib/components/bookingCalendar/bookingCalendarDatePicker/classes.ts +9 -0
- package/src/lib/components/bookingCalendar/bookingCalendarDatePicker/index.ts +2 -0
- package/src/lib/components/bookingCalendar/bookingCalendarGrid/BookingCalendarGrid.tsx +56 -0
- package/src/lib/components/bookingCalendar/bookingCalendarGrid/classes.ts +9 -0
- package/src/lib/components/bookingCalendar/bookingCalendarItem/BookingCalendarItem.tsx +97 -0
- package/src/lib/components/bookingCalendar/bookingCalendarItem/classes.ts +7 -0
- package/src/lib/components/bookingCalendar/bookingCalendarItem/index.ts +2 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLane/BookingCalendarLane.tsx +69 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLane/classes.ts +7 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLane/index.ts +2 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.tsx +28 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLaneHeader/classes.ts +7 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLaneHeader/index.ts +1 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.tsx +57 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeaderRenderItem.tsx +53 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLanesHeader/classes.ts +9 -0
- package/src/lib/components/bookingCalendar/bookingCalendarLanesHeader/index.ts +2 -0
- package/src/lib/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.tsx +57 -0
- package/src/lib/components/bookingCalendar/bookingCalendarRenderItem/classes.ts +11 -0
- package/src/lib/components/bookingCalendar/bookingCalendarRenderItem/index.ts +1 -0
- package/src/lib/components/bookingCalendar/bookingCalendarSelection/BookingCalendarSelection.tsx +217 -0
- package/src/lib/components/bookingCalendar/bookingCalendarTimeAxis/BookingCalendarTimeAxis.tsx +53 -0
- package/src/lib/components/bookingCalendar/bookingCalendarTimeAxis/classes.ts +9 -0
- package/src/lib/components/bookingCalendar/classes.ts +21 -0
- package/src/lib/components/bookingCalendar/common.ts +61 -0
- package/src/lib/components/bookingCalendar/index.ts +3 -0
- package/src/lib/components/bookingCalendar/utils.ts +348 -0
- package/src/lib/components/button/Button.tsx +193 -0
- package/src/lib/components/button/index.tsx +2 -0
- package/src/lib/components/checkbox/Checkbox.tsx +178 -0
- package/src/lib/components/checkbox/index.tsx +2 -0
- package/src/lib/components/dropdown/Dropdown.tsx +135 -0
- package/src/lib/components/dropdown/index.tsx +2 -0
- package/src/lib/components/dynamicSubmit/DynamicSubmit.tsx +153 -0
- package/src/lib/components/dynamicSubmit/index.tsx +2 -0
- package/src/lib/components/externalValidationComponent/ExternalValidationComponent.tsx +78 -0
- package/src/lib/components/externalValidationComponent/index.tsx +2 -0
- package/src/lib/components/form/Form.tsx +276 -0
- package/src/lib/components/form/FormContext.ts +49 -0
- package/src/lib/components/form/FormValidationSummary.tsx +122 -0
- package/src/lib/components/form/index.tsx +5 -0
- package/src/lib/components/form/withFormContext.tsx +20 -0
- package/src/lib/components/inputGroup/InputGroup.tsx +60 -0
- package/src/lib/components/inputGroup/index.tsx +2 -0
- package/src/lib/components/inputHeader/InputHeader.tsx +448 -0
- package/src/lib/components/inputHeader/InputHeaderContext.ts +42 -0
- package/src/lib/components/inputHeader/index.tsx +2 -0
- package/src/lib/components/inputHeader/withInputHeaderContext.tsx +24 -0
- package/src/lib/components/money/Money.tsx +298 -0
- package/src/lib/components/money/index.tsx +2 -0
- package/src/lib/components/numberInput/NumberInput.tsx +186 -0
- package/src/lib/components/numberInput/index.tsx +2 -0
- package/src/lib/components/openingHours/openingHoursDay/OpeningHoursDay.tsx +394 -0
- package/src/lib/components/openingHours/openingHoursDay/index.tsx +2 -0
- package/src/lib/components/openingHours/openingHoursSpecial/OpeningHoursSpecial.tsx +227 -0
- package/src/lib/components/openingHours/openingHoursSpecial/index.tsx +2 -0
- package/src/lib/components/openingHours/openingHoursWeek/OpeningHoursWeek.tsx +283 -0
- package/src/lib/components/openingHours/openingHoursWeek/index.tsx +2 -0
- package/src/lib/components/openingHours/utils/OpeningHoursUtil.tsx +111 -0
- package/src/lib/components/radio/Radio.tsx +87 -0
- package/src/lib/components/radio/index.tsx +2 -0
- package/src/lib/components/radioContainer/RadioContainer.tsx +50 -0
- package/src/lib/components/radioContainer/index.tsx +2 -0
- package/src/lib/components/select/Select.tsx +335 -0
- package/src/lib/components/select/index.tsx +2 -0
- package/src/lib/components/submit/Submit.tsx +117 -0
- package/src/lib/components/submit/index.tsx +2 -0
- package/src/lib/components/submit/subComponents/SubmitValidationSummary.tsx +55 -0
- package/src/lib/components/tags/Tags.tsx +702 -0
- package/src/lib/components/tags/index.tsx +2 -0
- package/src/lib/components/tags/subComponents/TagsSuggestions.tsx +150 -0
- package/src/lib/components/text/Text.tsx +200 -0
- package/src/lib/components/text/index.tsx +2 -0
- package/src/lib/components/textArea/TextArea.tsx +109 -0
- package/src/lib/components/textArea/index.tsx +2 -0
- package/src/lib/components/themeProvider/ThemeContext.ts +16 -0
- package/src/lib/components/themeProvider/ThemeProvider.tsx +21 -0
- package/src/lib/components/themeProvider/index.tsx +4 -0
- package/src/lib/components/themeProvider/withThemeContext.tsx +30 -0
- package/src/lib/components/time/Time.tsx +296 -0
- package/src/lib/components/time/index.tsx +2 -0
- package/src/lib/components/timeSpan/TimeSpan.tsx +378 -0
- package/src/lib/components/timeSpan/index.tsx +2 -0
- package/src/lib/components/utils/Guid.ts +9 -0
- package/src/lib/components/utils/ShallowEqual.ts +75 -0
- package/src/lib/components/utils/TimeUtil.ts +22 -0
- package/src/lib/components/utils/Typescript.ts +11 -0
- package/src/lib/declarations/import.d.ts +1 -0
- package/src/lib/index.ts +24 -0
- package/src/lib/scss/components/base/index.scss +1 -0
- package/src/lib/scss/components/base/input/index.scss +1 -0
- package/src/lib/scss/components/base/input/input.scss +237 -0
- package/src/lib/scss/components/bookingCalendar/bookingCalendar.scss +272 -0
- package/src/lib/scss/components/bookingCalendar/index.scss +1 -0
- package/src/lib/scss/components/button/buttons.scss +161 -0
- package/src/lib/scss/components/button/index.scss +1 -0
- package/src/lib/scss/components/checkbox/checkbox.scss +115 -0
- package/src/lib/scss/components/checkbox/index.scss +1 -0
- package/src/lib/scss/components/dropdown/dropdown.scss +111 -0
- package/src/lib/scss/components/dropdown/index.scss +1 -0
- package/src/lib/scss/components/dynamicSubmit/dynamicSubmit.scss +1 -0
- package/src/lib/scss/components/dynamicSubmit/index.scss +1 -0
- package/src/lib/scss/components/form/form.scss +1 -0
- package/src/lib/scss/components/form/formValidationSummary.scss +55 -0
- package/src/lib/scss/components/form/index.scss +2 -0
- package/src/lib/scss/components/index.scss +21 -0
- package/src/lib/scss/components/inputGroup/index.scss +1 -0
- package/src/lib/scss/components/inputGroup/inputGroup.scss +67 -0
- package/src/lib/scss/components/inputHeader/index.scss +1 -0
- package/src/lib/scss/components/inputHeader/inputHeader.scss +132 -0
- package/src/lib/scss/components/money/index.scss +1 -0
- package/src/lib/scss/components/money/money.scss +51 -0
- package/src/lib/scss/components/numberInput/index.scss +1 -0
- package/src/lib/scss/components/numberInput/numberInput.scss +116 -0
- package/src/lib/scss/components/openingHours/index.scss +3 -0
- package/src/lib/scss/components/openingHours/openingHoursDay/index.scss +1 -0
- package/src/lib/scss/components/openingHours/openingHoursDay/openingHoursDay.scss +127 -0
- package/src/lib/scss/components/openingHours/openingHoursSpecial/index.scss +1 -0
- package/src/lib/scss/components/openingHours/openingHoursSpecial/openingHoursSpecial.scss +93 -0
- package/src/lib/scss/components/openingHours/openingHoursWeek/index.scss +1 -0
- package/src/lib/scss/components/openingHours/openingHoursWeek/openingHoursWeek.scss +23 -0
- package/src/lib/scss/components/radio/index.scss +1 -0
- package/src/lib/scss/components/radio/radio.scss +68 -0
- package/src/lib/scss/components/radioContainer/index.scss +1 -0
- package/src/lib/scss/components/radioContainer/radioContainer.scss +15 -0
- package/src/lib/scss/components/select/index.scss +1 -0
- package/src/lib/scss/components/select/select.scss +64 -0
- package/src/lib/scss/components/submit/index.scss +1 -0
- package/src/lib/scss/components/submit/submitValidationSummary.scss +35 -0
- package/src/lib/scss/components/tags/index.scss +1 -0
- package/src/lib/scss/components/tags/tags.scss +128 -0
- package/src/lib/scss/components/text/index.scss +1 -0
- package/src/lib/scss/components/text/text.scss +42 -0
- package/src/lib/scss/components/textArea/index.scss +1 -0
- package/src/lib/scss/components/textArea/textArea.scss +32 -0
- package/src/lib/scss/components/time/index.scss +1 -0
- package/src/lib/scss/components/time/time.scss +111 -0
- package/src/lib/scss/components/timeSpan/index.scss +1 -0
- package/src/lib/scss/components/timeSpan/timeSpan.scss +115 -0
- package/src/lib/scss/index.scss +8 -0
- package/src/lib/scss/styles/base.scss +7 -0
- package/src/lib/scss/styles/index.scss +2 -0
- package/src/lib/scss/styles/react-tippy.scss +4 -0
- package/src/lib/scss/variables/_buttons.scss +6 -0
- package/src/lib/scss/variables/_colors.scss +1 -0
- package/src/lib/scss/variables/_common.scss +12 -0
- package/src/lib/tsconfig.json +19 -0
- package/src/lib/types/ElementOverrideProp.ts +3 -0
- package/src/lib/types/Theme.ts +5 -0
- package/src/lib/types/ThemeOverrides.ts +46 -0
- package/src/lib/validators/EmailValidator.ts +15 -0
- package/src/lib/validators/LatitudeValidator.ts +25 -0
- package/src/lib/validators/LongitudeValidator.ts +25 -0
- package/src/lib/validators/NumberValidator.ts +50 -0
- package/src/lib/validators/UrlValidator.ts +20 -0
- package/src/lib/validators/base.ts +15 -0
- package/src/lib/validators/index.ts +6 -0
- package/src/stories/Basic.stories.ts +17 -0
- package/src/stories/Basic.tsx +1065 -0
- package/src/stories/Schedule.stories.ts +16 -0
- package/src/stories/Schedule.tsx +73 -0
- package/src/stories/ValidationPage.tsx +417 -0
- package/tsconfig.json +9 -22
- package/typedoc.json +6 -0
- package/webpack/webpack.config.base.js +139 -0
- package/webpack/webpack.config.dev.js +78 -0
- package/webpack/webpack.config.gh-pages.js +78 -0
- package/webpack/webpack.config.js +21 -0
- package/webpack/webpack.config.min.js +100 -0
- package/.vscode/launch.json +0 -15
- package/.vscode/settings.json +0 -27
- package/.vscode/tasks.json +0 -12
@@ -0,0 +1,51 @@
|
|
1
|
+
.input__base.money-input {
|
2
|
+
display: flex;
|
3
|
+
flex-wrap: wrap;
|
4
|
+
flex-direction: column;
|
5
|
+
position: relative; // border-bottom: none !important;
|
6
|
+
max-width: 37.5rem;
|
7
|
+
min-height: 40px;
|
8
|
+
input,
|
9
|
+
select {
|
10
|
+
padding: 10px 10px 5px 5px !important;
|
11
|
+
color: $input-text-color;
|
12
|
+
outline: 0;
|
13
|
+
border: none;
|
14
|
+
}
|
15
|
+
.select-input {
|
16
|
+
.bar {
|
17
|
+
display: none;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
.text-input {
|
21
|
+
.bar {
|
22
|
+
display: none;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
.money-input__select {
|
26
|
+
border: none !important;
|
27
|
+
display: inline-block;
|
28
|
+
text-align: center;
|
29
|
+
width: initial;
|
30
|
+
select {
|
31
|
+
padding-right: 20px;
|
32
|
+
min-width: 4rem;
|
33
|
+
width: initial !important;
|
34
|
+
}
|
35
|
+
.select-input__select__wrapper::after {
|
36
|
+
right: 4px;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
.money-input__text {
|
40
|
+
border: none;
|
41
|
+
display: inline-block;
|
42
|
+
width: initial;
|
43
|
+
input {
|
44
|
+
min-width: 40px;
|
45
|
+
width: 100px;
|
46
|
+
&::placeholder {
|
47
|
+
color: $input-label-color;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './numberInput.scss';
|
@@ -0,0 +1,116 @@
|
|
1
|
+
.number-input {
|
2
|
+
padding-top: 0.5rem;
|
3
|
+
padding-bottom: 0.5rem;
|
4
|
+
margin-right: 0.5rem;
|
5
|
+
> div,
|
6
|
+
> span {
|
7
|
+
display: inline-block;
|
8
|
+
position: relative;
|
9
|
+
align-self: baseline;
|
10
|
+
}
|
11
|
+
display: flex !important;
|
12
|
+
align-items: center;
|
13
|
+
justify-content: center;
|
14
|
+
border-bottom: none !important;
|
15
|
+
width: initial !important;
|
16
|
+
.input-padding {
|
17
|
+
margin: 10px 5px 10px 5px;
|
18
|
+
position: relative;
|
19
|
+
}
|
20
|
+
input {
|
21
|
+
padding: 0;
|
22
|
+
color: $input-text-color;
|
23
|
+
outline: 0;
|
24
|
+
border: none;
|
25
|
+
width: 100%;
|
26
|
+
text-align: center;
|
27
|
+
border: 1px solid $input-border-color;
|
28
|
+
height: 26px;
|
29
|
+
line-height: 0;
|
30
|
+
background-color: transparent;
|
31
|
+
}
|
32
|
+
.highlight {
|
33
|
+
position: absolute;
|
34
|
+
left: 3px;
|
35
|
+
right: 3px;
|
36
|
+
top: 3px;
|
37
|
+
bottom: 3px;
|
38
|
+
width: initial;
|
39
|
+
height: initial;
|
40
|
+
pointer-events: none;
|
41
|
+
opacity: 0.5;
|
42
|
+
}
|
43
|
+
input[type='number'] {
|
44
|
+
-webkit-appearance: textfield;
|
45
|
+
-moz-appearance: textfield;
|
46
|
+
appearance: textfield;
|
47
|
+
}
|
48
|
+
input[type='number']::-webkit-inner-spin-button,
|
49
|
+
input[type='number']::-webkit-outer-spin-button {
|
50
|
+
-webkit-appearance: none;
|
51
|
+
}
|
52
|
+
.number-input__arrows__container {
|
53
|
+
position: relative;
|
54
|
+
display: inline-block;
|
55
|
+
}
|
56
|
+
input:focus ~ label,
|
57
|
+
input.filled ~ label,
|
58
|
+
select:focus ~ label,
|
59
|
+
select.filled ~ label,
|
60
|
+
label.label--focused {
|
61
|
+
top: -17px;
|
62
|
+
font-size: 14px;
|
63
|
+
color: $primary-color;
|
64
|
+
}
|
65
|
+
button {
|
66
|
+
&.plus {
|
67
|
+
top: -12px;
|
68
|
+
svg {
|
69
|
+
transform: rotate(180deg);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
&.minus {
|
73
|
+
bottom: -12px;
|
74
|
+
}
|
75
|
+
padding: 0 5px;
|
76
|
+
line-height: 0;
|
77
|
+
overflow: hidden;
|
78
|
+
border: none;
|
79
|
+
background: transparent;
|
80
|
+
position: absolute;
|
81
|
+
left: 50%;
|
82
|
+
transform: translateX(-50%);
|
83
|
+
/* Styling the down arrow */
|
84
|
+
border: none;
|
85
|
+
cursor: pointer;
|
86
|
+
&:focus {
|
87
|
+
outline: 0;
|
88
|
+
}
|
89
|
+
&:focus-visible {
|
90
|
+
outline: 1px dotted;
|
91
|
+
outline: 5px auto -webkit-focus-ring-color;
|
92
|
+
}
|
93
|
+
svg {
|
94
|
+
transition: 0.2s all;
|
95
|
+
fill: $input-label-color;
|
96
|
+
}
|
97
|
+
&:hover,
|
98
|
+
&:active,
|
99
|
+
&:focus {
|
100
|
+
svg {
|
101
|
+
fill: $primary-color;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
.number-input__time {
|
106
|
+
width: 26px;
|
107
|
+
display: inline-block;
|
108
|
+
}
|
109
|
+
.number-input__time--ms {
|
110
|
+
width: 40px;
|
111
|
+
display: inline-block;
|
112
|
+
}
|
113
|
+
.number-input__am-pm {
|
114
|
+
color: $input-label-color;
|
115
|
+
}
|
116
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './openingHoursDay.scss';
|
@@ -0,0 +1,127 @@
|
|
1
|
+
.input__group__openingHoursDay {
|
2
|
+
/*.inputGroup__header {
|
3
|
+
}*/
|
4
|
+
&:hover {
|
5
|
+
background-color: $hover-color;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.openingHoursDay-input {
|
10
|
+
padding-top: 2.5rem;
|
11
|
+
position: relative;
|
12
|
+
min-height: 77px;
|
13
|
+
border-bottom: none !important;
|
14
|
+
width: 100%;
|
15
|
+
.openingHoursDay-input__container {
|
16
|
+
flex-direction: column;
|
17
|
+
display: flex;
|
18
|
+
flex-wrap: wrap;
|
19
|
+
height: 100%;
|
20
|
+
}
|
21
|
+
.time-input {
|
22
|
+
.bar {
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
display: inline-block;
|
26
|
+
position: relative;
|
27
|
+
border: none;
|
28
|
+
border-width: 0px;
|
29
|
+
width: auto;
|
30
|
+
}
|
31
|
+
.openingHoursDay-input__time__container {
|
32
|
+
display: flex;
|
33
|
+
align-items: center;
|
34
|
+
margin-bottom: 1rem;
|
35
|
+
margin-top: 0.5rem;
|
36
|
+
> * {
|
37
|
+
margin-right: 1rem;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
input:focus ~ label,
|
41
|
+
input.filled ~ label,
|
42
|
+
select:focus ~ label,
|
43
|
+
span.filled ~ label,
|
44
|
+
span.label-classname.label--focused {
|
45
|
+
top: 0;
|
46
|
+
}
|
47
|
+
.openingHoursDay-input__button--remove {
|
48
|
+
flex-shrink: 0;
|
49
|
+
svg {
|
50
|
+
transform: rotate(45deg);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
.label-classname.label--focused.label--closed {
|
54
|
+
color: $input-label-color;
|
55
|
+
}
|
56
|
+
.openingHoursDay-input__label {
|
57
|
+
color: $input-label-color;
|
58
|
+
}
|
59
|
+
&.input__base > input:focus ~ label,
|
60
|
+
&.input__base > .filled ~ label,
|
61
|
+
&.input__base > select:focus ~ label,
|
62
|
+
&.input__base > textarea:focus ~ label,
|
63
|
+
&.input__base > label.label--focused,
|
64
|
+
&.input__base > span.label-classname.label--focused {
|
65
|
+
font-size: 18px;
|
66
|
+
left: 0;
|
67
|
+
}
|
68
|
+
/*&.input__base input:focus ~ label,
|
69
|
+
&.input__base .filled ~ label,
|
70
|
+
&.input__base select:focus ~ label,
|
71
|
+
&.input__base textarea:focus ~ label,
|
72
|
+
&.input__base label.label--focused,
|
73
|
+
&.input__base span.label-classname.label--focused {
|
74
|
+
left: 0;
|
75
|
+
}*/
|
76
|
+
&.openingHoursDay-input--closed {
|
77
|
+
&.input__base input:focus ~ label,
|
78
|
+
&.input__base .filled ~ label,
|
79
|
+
&.input__base select:focus ~ label,
|
80
|
+
&.input__base textarea:focus ~ label,
|
81
|
+
&.input__base label.label--focused,
|
82
|
+
&.input__base span.label-classname.label--focused {
|
83
|
+
color: $error-color;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.openingHoursDay-input__bottom-border {
|
89
|
+
display: inline-block;
|
90
|
+
height: 0px;
|
91
|
+
width: 0;
|
92
|
+
transition: 0.5s all;
|
93
|
+
}
|
94
|
+
|
95
|
+
.openingHoursDay-input__bottom-border__container {
|
96
|
+
position: absolute;
|
97
|
+
bottom: 0;
|
98
|
+
left: 0;
|
99
|
+
right: 0;
|
100
|
+
margin-top: -1px;
|
101
|
+
height: 2px;
|
102
|
+
line-height: 0;
|
103
|
+
display: flex;
|
104
|
+
}
|
105
|
+
|
106
|
+
.openingHoursDay-input__bottom-border--open {
|
107
|
+
height: 2px;
|
108
|
+
background-color: $primary-color;
|
109
|
+
}
|
110
|
+
|
111
|
+
.openingHoursDay-input__bottom-border--closed {
|
112
|
+
background-color: $input-border-color;
|
113
|
+
}
|
114
|
+
|
115
|
+
.openingHoursDay-input__bottom-border--midnight {
|
116
|
+
position: absolute;
|
117
|
+
width: 2px;
|
118
|
+
height: 4px;
|
119
|
+
bottom: 0;
|
120
|
+
background-color: $primary-color;
|
121
|
+
transform: translateX(-50%);
|
122
|
+
transition: 0.5s all;
|
123
|
+
}
|
124
|
+
|
125
|
+
.openingHoursDay-input__button-open-close {
|
126
|
+
align-self: flex-start;
|
127
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './openingHoursSpecial.scss';
|
@@ -0,0 +1,93 @@
|
|
1
|
+
.inputGroup {
|
2
|
+
.inputGroup__header {
|
3
|
+
.DayPickerInput > input {
|
4
|
+
text-align: right;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.input__base.openingHoursSpecial-input {
|
10
|
+
/*.input__group__openingHoursDay {
|
11
|
+
.inputGroup__header {
|
12
|
+
margin-top: 3.10rem;
|
13
|
+
}
|
14
|
+
}*/
|
15
|
+
/* VALIDATION ======================================= */
|
16
|
+
.validation__container {
|
17
|
+
bottom: 0;
|
18
|
+
top: initial;
|
19
|
+
right: 0.25rem;
|
20
|
+
}
|
21
|
+
.validation__ul {
|
22
|
+
transform: translateY(100%);
|
23
|
+
transition: 0.5s;
|
24
|
+
margin-bottom: 0;
|
25
|
+
}
|
26
|
+
&.validation__error {
|
27
|
+
.validation__ul {
|
28
|
+
transform: translateY(0);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
> .input__group__border:first-child {
|
32
|
+
border-top: none;
|
33
|
+
}
|
34
|
+
border: none !important;
|
35
|
+
position: relative;
|
36
|
+
margin: 0;
|
37
|
+
.label__checkbox {
|
38
|
+
display: inline-block;
|
39
|
+
top: 3px;
|
40
|
+
}
|
41
|
+
.label-classname.label--focused {
|
42
|
+
pointer-events: auto;
|
43
|
+
width: 100%;
|
44
|
+
}
|
45
|
+
.openingHoursSpecial-input__button {
|
46
|
+
padding: 0;
|
47
|
+
line-height: 0;
|
48
|
+
margin: auto;
|
49
|
+
position: relative;
|
50
|
+
display: table;
|
51
|
+
opacity: 0.5;
|
52
|
+
transition: 0.2s all;
|
53
|
+
img {
|
54
|
+
vertical-align: top;
|
55
|
+
}
|
56
|
+
&:hover {
|
57
|
+
opacity: 1;
|
58
|
+
}
|
59
|
+
&.openingHoursSpecial-input__button--remove {
|
60
|
+
svg {
|
61
|
+
transform: rotate(45deg);
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
.react-datepicker__input-container {
|
66
|
+
width: 100%;
|
67
|
+
> input {
|
68
|
+
width: 100%;
|
69
|
+
padding: 0;
|
70
|
+
border: none;
|
71
|
+
color: $input-label-color;
|
72
|
+
text-align: right;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
input:focus ~ label,
|
76
|
+
input.filled ~ label,
|
77
|
+
select:focus ~ label,
|
78
|
+
select.filled ~ label,
|
79
|
+
.label-classname.label--focused {
|
80
|
+
top: 0;
|
81
|
+
font-size: 14px;
|
82
|
+
.DayPickerInput > input {
|
83
|
+
width: 70px;
|
84
|
+
color: $primary-color;
|
85
|
+
background-color: transparent;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
.label-classname.label--focused.label--closed {
|
89
|
+
.DayPickerInput > input {
|
90
|
+
color: $input-label-color;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './openingHoursWeek.scss';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.openingHoursWeek-input {
|
2
|
+
border: none;
|
3
|
+
position: relative;
|
4
|
+
.label__checkbox {
|
5
|
+
display: inline-block !important;
|
6
|
+
border-bottom: none !important;
|
7
|
+
margin: 0 0 0 0.5rem !important;
|
8
|
+
width: initial !important;
|
9
|
+
}
|
10
|
+
.label-classname.label--focused {
|
11
|
+
pointer-events: auto;
|
12
|
+
width: 100%;
|
13
|
+
}
|
14
|
+
.openingHoursWeek__is-standard-day {
|
15
|
+
color: $primary-color;
|
16
|
+
position: absolute;
|
17
|
+
right: 0;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.openingHoursWeek__standard-day {
|
22
|
+
background-color: $hover-color;
|
23
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './radio.scss';
|
@@ -0,0 +1,68 @@
|
|
1
|
+
$baseFontSize: 16;
|
2
|
+
@function rem($val) {
|
3
|
+
@return #{$val / $baseFontSize}rem;
|
4
|
+
}
|
5
|
+
|
6
|
+
.radio-input {
|
7
|
+
display: inline-block;
|
8
|
+
border: none;
|
9
|
+
&:last-child {
|
10
|
+
margin-right: 0;
|
11
|
+
}
|
12
|
+
&.validation__error {
|
13
|
+
border: none;
|
14
|
+
}
|
15
|
+
input {
|
16
|
+
position: relative;
|
17
|
+
padding: 10px 10px 10px 5px;
|
18
|
+
color: $input-text-color;
|
19
|
+
&:focus {
|
20
|
+
outline: 0;
|
21
|
+
}
|
22
|
+
&:focus-visible {
|
23
|
+
outline: 1px dotted;
|
24
|
+
outline: 5px auto -webkit-focus-ring-color;
|
25
|
+
}
|
26
|
+
border: none;
|
27
|
+
width: auto;
|
28
|
+
margin-right: 10px;
|
29
|
+
top: 0;
|
30
|
+
&:before {
|
31
|
+
transition: transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
|
32
|
+
transform: scale(0, 0);
|
33
|
+
content: '';
|
34
|
+
position: absolute;
|
35
|
+
top: 1px;
|
36
|
+
left: 1px;
|
37
|
+
z-index: 1;
|
38
|
+
width: 10px;
|
39
|
+
height: 10px;
|
40
|
+
background: $primary-color;
|
41
|
+
border-radius: 50%;
|
42
|
+
}
|
43
|
+
&:checked {
|
44
|
+
&:before {
|
45
|
+
transform: scale(1, 1);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
&:after {
|
49
|
+
content: '';
|
50
|
+
position: absolute;
|
51
|
+
top: -2px;
|
52
|
+
left: -2px;
|
53
|
+
width: 16px;
|
54
|
+
height: 16px;
|
55
|
+
background: #fff;
|
56
|
+
border: 2px solid $input-border-color;
|
57
|
+
border-radius: 50%;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
label {
|
61
|
+
top: 0;
|
62
|
+
user-select: none;
|
63
|
+
pointer-events: auto;
|
64
|
+
position: relative;
|
65
|
+
display: inline-block;
|
66
|
+
cursor: pointer;
|
67
|
+
}
|
68
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './radioContainer.scss';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
.radio-input__container {
|
2
|
+
border-bottom: none !important;
|
3
|
+
display: inline-flex;
|
4
|
+
flex-direction: column;
|
5
|
+
.radio-input {
|
6
|
+
margin: 0;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.radio-input__container--horizontal {
|
11
|
+
flex-direction: row !important;
|
12
|
+
> div {
|
13
|
+
margin-right: 1rem !important;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './select.scss';
|
@@ -0,0 +1,64 @@
|
|
1
|
+
.select-input {
|
2
|
+
display: inline-block;
|
3
|
+
border: none;
|
4
|
+
max-width: 37.5rem;
|
5
|
+
border-bottom: 1px solid transparent;
|
6
|
+
.select-input__select__wrapper {
|
7
|
+
.select-input__select {
|
8
|
+
color: $input-text-color;
|
9
|
+
display: inline-block;
|
10
|
+
outline: 0;
|
11
|
+
border: none;
|
12
|
+
width: 100%;
|
13
|
+
max-height: 100px;
|
14
|
+
appearance: none;
|
15
|
+
padding: 7px 10px 5px 5px;
|
16
|
+
background-color: transparent;
|
17
|
+
}
|
18
|
+
span.select-input__select {
|
19
|
+
min-height: calc(1rem + 13px);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
&.input__base.multiple {
|
23
|
+
select:focus ~ label,
|
24
|
+
.filled ~ label {
|
25
|
+
bottom: 4px;
|
26
|
+
top: initial;
|
27
|
+
font-size: 18px;
|
28
|
+
}
|
29
|
+
select.filled:focus ~ label {
|
30
|
+
color: $primary-color !important;
|
31
|
+
}
|
32
|
+
.filled ~ label {
|
33
|
+
color: $input-label-color !important;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
&:not(.readonly) {
|
37
|
+
border-bottom: 1px solid $input-border-color;
|
38
|
+
.select-input__select__wrapper {
|
39
|
+
&::after {
|
40
|
+
position: absolute;
|
41
|
+
bottom: 15px;
|
42
|
+
right: 10px;
|
43
|
+
/* Styling the down arrow */
|
44
|
+
width: 0;
|
45
|
+
height: 0;
|
46
|
+
padding: 0;
|
47
|
+
content: '';
|
48
|
+
border-left: 6px solid transparent;
|
49
|
+
border-right: 6px solid transparent;
|
50
|
+
border-top: 6px solid $input-text-color;
|
51
|
+
pointer-events: none;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
.select-input__selectedValue {
|
56
|
+
display: inline-flex;
|
57
|
+
align-items: center;
|
58
|
+
padding: 7px 10px 5px 5px;
|
59
|
+
}
|
60
|
+
.select-input__selectedValue__wrapper {
|
61
|
+
display: flex;
|
62
|
+
flex-wrap: wrap;
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './submitValidationSummary.scss';
|
@@ -0,0 +1,35 @@
|
|
1
|
+
.tippy-tooltip.validation-theme {
|
2
|
+
/*background-color: $background-color;
|
3
|
+
border-top: 2px solid $input-validation-color;
|
4
|
+
color: $input-validation-color;*/
|
5
|
+
/*background-color: $input-validation-color;
|
6
|
+
color: $input-text-color--white;*/
|
7
|
+
min-width: 14rem;
|
8
|
+
}
|
9
|
+
|
10
|
+
.submitValidationSummary__header {
|
11
|
+
text-align: center;
|
12
|
+
font-size: 110%;
|
13
|
+
margin-bottom: 0.5rem;
|
14
|
+
}
|
15
|
+
|
16
|
+
.submitValidationSummary__footer {
|
17
|
+
text-align: right;
|
18
|
+
font-size: 110%;
|
19
|
+
margin-top: 0.5rem;
|
20
|
+
}
|
21
|
+
|
22
|
+
.submitValidationSummary__item {
|
23
|
+
display: flex;
|
24
|
+
align-items: center;
|
25
|
+
flex-wrap: nowrap; // padding-right: 1.5rem;
|
26
|
+
// padding-left: 1.5rem;
|
27
|
+
}
|
28
|
+
|
29
|
+
.submitValidationSummary__item__locate-button {
|
30
|
+
margin-left: 0.5rem;
|
31
|
+
svg {
|
32
|
+
width: 1.25rem;
|
33
|
+
height: 1.25rem;
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './tags.scss';
|