@arkyn/components 3.0.1-beta.99 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +184 -1
- package/README.md +198 -22
- package/dist/components/alert/alertContainer/index.d.ts +30 -46
- package/dist/components/alert/alertContainer/index.d.ts.map +1 -1
- package/dist/components/alert/alertContent/index.d.ts +12 -37
- package/dist/components/alert/alertContent/index.d.ts.map +1 -1
- package/dist/components/alert/alertDescription/index.d.ts +11 -39
- package/dist/components/alert/alertDescription/index.d.ts.map +1 -1
- package/dist/components/alert/alertIcon/index.d.ts +16 -40
- package/dist/components/alert/alertIcon/index.d.ts.map +1 -1
- package/dist/components/alert/alertTitle/index.d.ts +13 -36
- package/dist/components/alert/alertTitle/index.d.ts.map +1 -1
- package/dist/components/audioPlayer/index.d.ts +25 -33
- package/dist/components/audioPlayer/index.d.ts.map +1 -1
- package/dist/components/audioUpload/hasFileContent/index.d.ts +1 -1
- package/dist/components/audioUpload/hasFileContent/index.d.ts.map +1 -1
- package/dist/components/audioUpload/index.d.ts +38 -49
- package/dist/components/audioUpload/index.d.ts.map +1 -1
- package/dist/components/audioUpload/noFileContent/index.d.ts +1 -1
- package/dist/components/audioUpload/noFileContent/index.d.ts.map +1 -1
- package/dist/components/badge/index.d.ts +34 -25
- package/dist/components/badge/index.d.ts.map +1 -1
- package/dist/components/button/index.d.ts +42 -32
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/calendar/_calendarProvider.d.ts +52 -0
- package/dist/components/calendar/_calendarProvider.d.ts.map +1 -0
- package/dist/components/calendar/_viewService.d.ts +32 -0
- package/dist/components/calendar/_viewService.d.ts.map +1 -0
- package/dist/components/calendar/calendarContainer/index.d.ts +8 -0
- package/dist/components/calendar/calendarContainer/index.d.ts.map +1 -0
- package/dist/components/calendar/calendarHeader/index.d.ts +7 -0
- package/dist/components/calendar/calendarHeader/index.d.ts.map +1 -0
- package/dist/components/calendar/calendarTableBody/index.d.ts +4 -0
- package/dist/components/calendar/calendarTableBody/index.d.ts.map +1 -0
- package/dist/components/calendar/calendarTableContainer/index.d.ts +8 -0
- package/dist/components/calendar/calendarTableContainer/index.d.ts.map +1 -0
- package/dist/components/calendar/calendarTableHeader/index.d.ts +4 -0
- package/dist/components/calendar/calendarTableHeader/index.d.ts.map +1 -0
- package/dist/components/calendar/calendarTableTd/index.d.ts +11 -0
- package/dist/components/calendar/calendarTableTd/index.d.ts.map +1 -0
- package/dist/components/calendar/index.d.ts +100 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/cardTab/cardTabButton/index.d.ts +16 -54
- package/dist/components/cardTab/cardTabButton/index.d.ts.map +1 -1
- package/dist/components/cardTab/cardTabContainer/index.d.ts +18 -60
- package/dist/components/cardTab/cardTabContainer/index.d.ts.map +1 -1
- package/dist/components/cardTab/cardTabContext.d.ts +4 -4
- package/dist/components/cardTab/cardTabContext.d.ts.map +1 -1
- package/dist/components/checkbox/index.d.ts +42 -37
- package/dist/components/checkbox/index.d.ts.map +1 -1
- package/dist/components/clientOnly.d.ts +14 -67
- package/dist/components/clientOnly.d.ts.map +1 -1
- package/dist/components/currencyInput/index.d.ts +75 -53
- package/dist/components/currencyInput/index.d.ts.map +1 -1
- package/dist/components/datePicker/datePickerCalendarContainer/index.d.ts +9 -0
- package/dist/components/datePicker/datePickerCalendarContainer/index.d.ts.map +1 -0
- package/dist/components/datePicker/datePickerChevron/index.d.ts +11 -0
- package/dist/components/datePicker/datePickerChevron/index.d.ts.map +1 -0
- package/dist/components/datePicker/datePickerContainer/index.d.ts +19 -0
- package/dist/components/datePicker/datePickerContainer/index.d.ts.map +1 -0
- package/dist/components/datePicker/datePickerContent/index.d.ts +9 -0
- package/dist/components/datePicker/datePickerContent/index.d.ts.map +1 -0
- package/dist/components/datePicker/datePickerOverlay/index.d.ts +8 -0
- package/dist/components/datePicker/datePickerOverlay/index.d.ts.map +1 -0
- package/dist/components/datePicker/datePickerSpinner/index.d.ts +8 -0
- package/dist/components/datePicker/datePickerSpinner/index.d.ts.map +1 -0
- package/dist/components/datePicker/index.d.ts +155 -0
- package/dist/components/datePicker/index.d.ts.map +1 -0
- package/dist/components/divider/index.d.ts +14 -27
- package/dist/components/divider/index.d.ts.map +1 -1
- package/dist/components/drawer/drawerContainer/index.d.ts +18 -52
- package/dist/components/drawer/drawerContainer/index.d.ts.map +1 -1
- package/dist/components/drawer/drawerContext.d.ts +2 -2
- package/dist/components/drawer/drawerContext.d.ts.map +1 -1
- package/dist/components/drawer/drawerHeader/index.d.ts +11 -35
- package/dist/components/drawer/drawerHeader/index.d.ts.map +1 -1
- package/dist/components/facebookPixel/facebookPixel.client.d.ts +4 -0
- package/dist/components/facebookPixel/facebookPixel.client.d.ts.map +1 -0
- package/dist/components/facebookPixel/index.d.ts +65 -0
- package/dist/components/facebookPixel/index.d.ts.map +1 -0
- package/dist/components/facebookPixel/pixel.d.ts +21 -0
- package/dist/components/facebookPixel/pixel.d.ts.map +1 -0
- package/dist/components/fieldError/index.d.ts +6 -13
- package/dist/components/fieldError/index.d.ts.map +1 -1
- package/dist/components/fieldLabel/index.d.ts +8 -23
- package/dist/components/fieldLabel/index.d.ts.map +1 -1
- package/dist/components/fieldWrapper/index.d.ts +14 -24
- package/dist/components/fieldWrapper/index.d.ts.map +1 -1
- package/dist/components/fileUpload/hasFileContent/index.d.ts +1 -1
- package/dist/components/fileUpload/hasFileContent/index.d.ts.map +1 -1
- package/dist/components/fileUpload/index.d.ts +37 -62
- package/dist/components/fileUpload/index.d.ts.map +1 -1
- package/dist/components/fileUpload/noFileContent/index.d.ts +1 -1
- package/dist/components/fileUpload/noFileContent/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/_fullCalendarProvider.d.ts +44 -0
- package/dist/components/fullCalendar/_fullCalendarProvider.d.ts.map +1 -0
- package/dist/components/fullCalendar/_viewService.d.ts +28 -0
- package/dist/components/fullCalendar/_viewService.d.ts.map +1 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarContainer/index.d.ts +8 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarContainer/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarEvent/index.d.ts +7 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarEvent/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarRow/index.d.ts +8 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarRow/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/dayCalendar/index.d.ts +3 -0
- package/dist/components/fullCalendar/dayCalendar/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/fullCalendarContainer/index.d.ts +8 -0
- package/dist/components/fullCalendar/fullCalendarContainer/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/fullCalendarHeader/index.d.ts +8 -0
- package/dist/components/fullCalendar/fullCalendarHeader/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/index.d.ts +94 -0
- package/dist/components/fullCalendar/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/monthlyCalendar/index.d.ts +3 -0
- package/dist/components/fullCalendar/monthlyCalendar/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.d.ts +9 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableBody/index.d.ts +4 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableBody/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableContainer/index.d.ts +8 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableContainer/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableHeader/index.d.ts +4 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableHeader/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.d.ts +10 -0
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/weekCalendar/index.d.ts +3 -0
- package/dist/components/fullCalendar/weekCalendar/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarEvent/index.d.ts +10 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarEvent/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableBody/index.d.ts +4 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableBody/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableContainer/index.d.ts +8 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableContainer/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableHeader/index.d.ts +4 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableHeader/index.d.ts.map +1 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.d.ts +11 -0
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.d.ts.map +1 -0
- package/dist/components/googleAnalytics/googleAnalytics.client.d.ts +6 -0
- package/dist/components/googleAnalytics/googleAnalytics.client.d.ts.map +1 -0
- package/dist/components/googleAnalytics/googleAnalytics.d.ts +10 -0
- package/dist/components/googleAnalytics/googleAnalytics.d.ts.map +1 -0
- package/dist/components/googleAnalytics/index.d.ts +30 -0
- package/dist/components/googleAnalytics/index.d.ts.map +1 -0
- package/dist/components/googleAnalytics/snippets/generateGAElements.d.ts +9 -0
- package/dist/components/googleAnalytics/snippets/generateGAElements.d.ts.map +1 -0
- package/dist/components/googleTagManager/googleTagManager.client.d.ts +11 -0
- package/dist/components/googleTagManager/googleTagManager.client.d.ts.map +1 -0
- package/dist/components/googleTagManager/googleTagManager.d.ts +20 -0
- package/dist/components/googleTagManager/googleTagManager.d.ts.map +1 -0
- package/dist/components/googleTagManager/index.d.ts +55 -0
- package/dist/components/googleTagManager/index.d.ts.map +1 -0
- package/dist/components/googleTagManager/snippets/appendToDataLayer.d.ts +7 -0
- package/dist/components/googleTagManager/snippets/appendToDataLayer.d.ts.map +1 -0
- package/dist/components/googleTagManager/snippets/generateGTMElements.d.ts +15 -0
- package/dist/components/googleTagManager/snippets/generateGTMElements.d.ts.map +1 -0
- package/dist/components/iconButton/index.d.ts +35 -19
- package/dist/components/iconButton/index.d.ts.map +1 -1
- package/dist/components/imageUpload/hasFileContent/index.d.ts +1 -1
- package/dist/components/imageUpload/hasFileContent/index.d.ts.map +1 -1
- package/dist/components/imageUpload/index.d.ts +51 -75
- package/dist/components/imageUpload/index.d.ts.map +1 -1
- package/dist/components/imageUpload/noFileContent/index.d.ts +1 -1
- package/dist/components/imageUpload/noFileContent/index.d.ts.map +1 -1
- package/dist/components/input/index.d.ts +58 -47
- package/dist/components/input/index.d.ts.map +1 -1
- package/dist/components/mapView/index.d.ts +55 -7
- package/dist/components/mapView/index.d.ts.map +1 -1
- package/dist/components/mapView/mapView.client.d.ts +17 -0
- package/dist/components/mapView/mapView.client.d.ts.map +1 -0
- package/dist/components/maskedInput/index.d.ts +71 -56
- package/dist/components/maskedInput/index.d.ts.map +1 -1
- package/dist/components/modal/modalContainer/index.d.ts +19 -59
- package/dist/components/modal/modalContainer/index.d.ts.map +1 -1
- package/dist/components/modal/modalContext.d.ts +2 -2
- package/dist/components/modal/modalContext.d.ts.map +1 -1
- package/dist/components/modal/modalFooter/index.d.ts +19 -52
- package/dist/components/modal/modalFooter/index.d.ts.map +1 -1
- package/dist/components/modal/modalHeader/index.d.ts +15 -49
- package/dist/components/modal/modalHeader/index.d.ts.map +1 -1
- package/dist/components/multiSelect/index.d.ts +72 -63
- package/dist/components/multiSelect/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectChevron/index.d.ts +1 -1
- package/dist/components/multiSelect/multiSelectChevron/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectContainer/index.d.ts +2 -2
- package/dist/components/multiSelect/multiSelectContainer/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectContent/index.d.ts +2 -2
- package/dist/components/multiSelect/multiSelectContent/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectMark/index.d.ts +1 -1
- package/dist/components/multiSelect/multiSelectMark/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectOption/index.d.ts +1 -1
- package/dist/components/multiSelect/multiSelectOption/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectOptionsContainer/index.d.ts +2 -2
- package/dist/components/multiSelect/multiSelectOptionsContainer/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectOverlay/index.d.ts +1 -1
- package/dist/components/multiSelect/multiSelectOverlay/index.d.ts.map +1 -1
- package/dist/components/multiSelect/multiSelectSpinner/index.d.ts +1 -1
- package/dist/components/multiSelect/multiSelectSpinner/index.d.ts.map +1 -1
- package/dist/components/pagination/chevronButton/index.d.ts +1 -1
- package/dist/components/pagination/chevronButton/index.d.ts.map +1 -1
- package/dist/components/pagination/currentButton/index.d.ts +1 -1
- package/dist/components/pagination/currentButton/index.d.ts.map +1 -1
- package/dist/components/pagination/index.d.ts +20 -11
- package/dist/components/pagination/index.d.ts.map +1 -1
- package/dist/components/pagination/pageButton/index.d.ts +1 -1
- package/dist/components/pagination/pageButton/index.d.ts.map +1 -1
- package/dist/components/pagination/paginationService.d.ts.map +1 -1
- package/dist/components/pagination/spread/index.d.ts +1 -1
- package/dist/components/pagination/spread/index.d.ts.map +1 -1
- package/dist/components/phoneInput/index.d.ts +68 -89
- package/dist/components/phoneInput/index.d.ts.map +1 -1
- package/dist/components/phoneInput/phoneInputContainer/index.d.ts +2 -2
- package/dist/components/phoneInput/phoneInputContainer/index.d.ts.map +1 -1
- package/dist/components/phoneInput/phoneInputCountriesOverlay/index.d.ts +1 -1
- package/dist/components/phoneInput/phoneInputCountriesOverlay/index.d.ts.map +1 -1
- package/dist/components/phoneInput/phoneInputCountryOption/index.d.ts +2 -3
- package/dist/components/phoneInput/phoneInputCountryOption/index.d.ts.map +1 -1
- package/dist/components/phoneInput/phoneInputCountryOptionsContainer/index.d.ts +2 -2
- package/dist/components/phoneInput/phoneInputCountryOptionsContainer/index.d.ts.map +1 -1
- package/dist/components/phoneInput/phoneInputCountrySelector/index.d.ts +2 -3
- package/dist/components/phoneInput/phoneInputCountrySelector/index.d.ts.map +1 -1
- package/dist/components/phoneInput/phoneInputMask/index.d.ts +1 -2
- package/dist/components/phoneInput/phoneInputMask/index.d.ts.map +1 -1
- package/dist/components/popover/index.d.ts +36 -116
- package/dist/components/popover/index.d.ts.map +1 -1
- package/dist/components/radio/radioBox/index.d.ts +19 -67
- package/dist/components/radio/radioBox/index.d.ts.map +1 -1
- package/dist/components/radio/radioContext.d.ts +2 -2
- package/dist/components/radio/radioContext.d.ts.map +1 -1
- package/dist/components/radio/radioGroup/index.d.ts +40 -67
- package/dist/components/radio/radioGroup/index.d.ts.map +1 -1
- package/dist/components/richText/blockButton/index.d.ts +3 -3
- package/dist/components/richText/blockButton/index.d.ts.map +1 -1
- package/dist/components/richText/element/index.d.ts +2 -2
- package/dist/components/richText/element/index.d.ts.map +1 -1
- package/dist/components/richText/index.d.ts +35 -47
- package/dist/components/richText/index.d.ts.map +1 -1
- package/dist/components/richText/insertImage/index.d.ts +2 -2
- package/dist/components/richText/insertImage/index.d.ts.map +1 -1
- package/dist/components/richText/insertVideo/index.d.ts +5 -0
- package/dist/components/richText/insertVideo/index.d.ts.map +1 -0
- package/dist/components/richText/leaf/index.d.ts +2 -2
- package/dist/components/richText/leaf/index.d.ts.map +1 -1
- package/dist/components/richText/markButton/index.d.ts +3 -3
- package/dist/components/richText/markButton/index.d.ts.map +1 -1
- package/dist/components/richText/toolbar/index.d.ts +2 -2
- package/dist/components/richText/toolbar/index.d.ts.map +1 -1
- package/dist/components/searchPlaces.d.ts +55 -52
- package/dist/components/searchPlaces.d.ts.map +1 -1
- package/dist/components/select/index.d.ts +73 -64
- package/dist/components/select/index.d.ts.map +1 -1
- package/dist/components/select/selectChevron/index.d.ts +1 -1
- package/dist/components/select/selectChevron/index.d.ts.map +1 -1
- package/dist/components/select/selectContainer/index.d.ts +2 -2
- package/dist/components/select/selectContainer/index.d.ts.map +1 -1
- package/dist/components/select/selectContent/index.d.ts +2 -2
- package/dist/components/select/selectContent/index.d.ts.map +1 -1
- package/dist/components/select/selectOption/index.d.ts +1 -1
- package/dist/components/select/selectOption/index.d.ts.map +1 -1
- package/dist/components/select/selectOptionsContainer/index.d.ts +2 -2
- package/dist/components/select/selectOptionsContainer/index.d.ts.map +1 -1
- package/dist/components/select/selectOverlay/index.d.ts +1 -1
- package/dist/components/select/selectOverlay/index.d.ts.map +1 -1
- package/dist/components/select/selectSpinner/index.d.ts +1 -1
- package/dist/components/select/selectSpinner/index.d.ts.map +1 -1
- package/dist/components/slider/index.d.ts +22 -36
- package/dist/components/slider/index.d.ts.map +1 -1
- package/dist/components/switch/index.d.ts +46 -58
- package/dist/components/switch/index.d.ts.map +1 -1
- package/dist/components/tab/tabButton/index.d.ts +16 -54
- package/dist/components/tab/tabButton/index.d.ts.map +1 -1
- package/dist/components/tab/tabContainer/index.d.ts +18 -60
- package/dist/components/tab/tabContainer/index.d.ts.map +1 -1
- package/dist/components/tab/tabContext.d.ts +2 -2
- package/dist/components/tab/tabContext.d.ts.map +1 -1
- package/dist/components/table/tableBody/index.d.ts +15 -49
- package/dist/components/table/tableBody/index.d.ts.map +1 -1
- package/dist/components/table/tableCaption/index.d.ts +8 -48
- package/dist/components/table/tableCaption/index.d.ts.map +1 -1
- package/dist/components/table/tableContainer/index.d.ts +14 -43
- package/dist/components/table/tableContainer/index.d.ts.map +1 -1
- package/dist/components/table/tableFooter/index.d.ts +7 -31
- package/dist/components/table/tableFooter/index.d.ts.map +1 -1
- package/dist/components/table/tableHeader/index.d.ts +6 -27
- package/dist/components/table/tableHeader/index.d.ts.map +1 -1
- package/dist/components/textarea/index.d.ts +36 -68
- package/dist/components/textarea/index.d.ts.map +1 -1
- package/dist/components/tooltip/index.d.ts +29 -57
- package/dist/components/tooltip/index.d.ts.map +1 -1
- package/dist/hooks/useAutomation.d.ts +22 -25
- package/dist/hooks/useAutomation.d.ts.map +1 -1
- package/dist/hooks/useDrawer.d.ts +20 -65
- package/dist/hooks/useDrawer.d.ts.map +1 -1
- package/dist/hooks/useForm.d.ts +12 -29
- package/dist/hooks/useForm.d.ts.map +1 -1
- package/dist/hooks/useHydrated.d.ts +8 -63
- package/dist/hooks/useHydrated.d.ts.map +1 -1
- package/dist/hooks/useModal.d.ts +20 -60
- package/dist/hooks/useModal.d.ts.map +1 -1
- package/dist/hooks/useScopedParams.d.ts +18 -70
- package/dist/hooks/useScopedParams.d.ts.map +1 -1
- package/dist/hooks/useScrollLock.d.ts +11 -27
- package/dist/hooks/useScrollLock.d.ts.map +1 -1
- package/dist/hooks/useSearchAutomation.d.ts +31 -0
- package/dist/hooks/useSearchAutomation.d.ts.map +1 -0
- package/dist/hooks/useSlider.d.ts +5 -19
- package/dist/hooks/useSlider.d.ts.map +1 -1
- package/dist/hooks/useToast.d.ts +8 -52
- package/dist/hooks/useToast.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4644 -69
- package/dist/index.js.map +1 -0
- package/dist/modules/components/alert/alertContainer/index.js +29 -0
- package/dist/modules/components/alert/alertContainer/index.js.map +1 -0
- package/dist/modules/components/alert/alertContainer/styles.css +3 -0
- package/dist/modules/components/alert/alertContent/index.js +14 -0
- package/dist/modules/components/alert/alertContent/index.js.map +1 -0
- package/dist/modules/components/alert/alertContent/styles.css +1 -0
- package/dist/modules/components/alert/alertDescription/index.js +14 -0
- package/dist/modules/components/alert/alertDescription/index.js.map +1 -0
- package/dist/modules/components/alert/alertDescription/styles.css +1 -0
- package/dist/modules/components/alert/alertIcon/index.js +30 -0
- package/dist/modules/components/alert/alertIcon/index.js.map +1 -0
- package/dist/modules/components/alert/alertIcon/styles.css +7 -0
- package/dist/modules/components/alert/alertTitle/index.js +14 -0
- package/dist/modules/components/alert/alertTitle/index.js.map +1 -0
- package/dist/modules/components/alert/alertTitle/styles.css +1 -0
- package/dist/modules/components/audioPlayer/index.js +77 -0
- package/dist/modules/components/audioPlayer/index.js.map +1 -0
- package/dist/modules/components/audioPlayer/styles.css +3 -0
- package/dist/modules/components/audioUpload/hasFileContent/index.js +57 -0
- package/dist/modules/components/audioUpload/hasFileContent/index.js.map +1 -0
- package/dist/modules/components/audioUpload/hasFileContent/styles.css +1 -0
- package/dist/modules/components/audioUpload/index.js +74 -0
- package/dist/modules/components/audioUpload/index.js.map +1 -0
- package/dist/modules/components/audioUpload/noFileContent/index.js +38 -0
- package/dist/modules/components/audioUpload/noFileContent/index.js.map +1 -0
- package/dist/modules/components/audioUpload/noFileContent/styles.css +1 -0
- package/dist/modules/components/audioUpload/styles.css +25 -0
- package/dist/modules/components/badge/index.js +29 -0
- package/dist/modules/components/badge/index.js.map +1 -0
- package/dist/modules/components/badge/styles.css +1 -0
- package/dist/modules/components/button/index.js +42 -0
- package/dist/modules/components/button/index.js.map +1 -0
- package/dist/modules/components/button/styles.css +1 -0
- package/dist/modules/components/calendar/_calendarProvider.js +42 -0
- package/dist/modules/components/calendar/_calendarProvider.js.map +1 -0
- package/dist/modules/components/calendar/_viewService.js +135 -0
- package/dist/modules/components/calendar/_viewService.js.map +1 -0
- package/dist/modules/components/calendar/calendarContainer/index.js +13 -0
- package/dist/modules/components/calendar/calendarContainer/index.js.map +1 -0
- package/dist/modules/components/calendar/calendarContainer/styles.css +1 -0
- package/dist/modules/components/calendar/calendarHeader/index.js +58 -0
- package/dist/modules/components/calendar/calendarHeader/index.js.map +1 -0
- package/dist/modules/components/calendar/calendarHeader/styles.css +1 -0
- package/dist/modules/components/calendar/calendarTableBody/index.js +15 -0
- package/dist/modules/components/calendar/calendarTableBody/index.js.map +1 -0
- package/dist/modules/components/calendar/calendarTableBody/styles.css +1 -0
- package/dist/modules/components/calendar/calendarTableContainer/index.js +13 -0
- package/dist/modules/components/calendar/calendarTableContainer/index.js.map +1 -0
- package/dist/modules/components/calendar/calendarTableContainer/styles.css +1 -0
- package/dist/modules/components/calendar/calendarTableHeader/index.js +16 -0
- package/dist/modules/components/calendar/calendarTableHeader/index.js.map +1 -0
- package/dist/modules/components/calendar/calendarTableHeader/styles.css +1 -0
- package/dist/modules/components/calendar/calendarTableTd/index.js +23 -0
- package/dist/modules/components/calendar/calendarTableTd/index.js.map +1 -0
- package/dist/modules/components/calendar/calendarTableTd/styles.css +1 -0
- package/dist/modules/components/calendar/index.js +34 -0
- package/dist/modules/components/calendar/index.js.map +1 -0
- package/dist/modules/components/calendar/styles.css +33 -0
- package/dist/modules/components/cardTab/cardTabButton/index.js +22 -0
- package/dist/modules/components/cardTab/cardTabButton/index.js.map +1 -0
- package/dist/modules/components/cardTab/cardTabButton/styles.css +1 -0
- package/dist/modules/components/cardTab/cardTabContainer/index.js +25 -0
- package/dist/modules/components/cardTab/cardTabContainer/index.js.map +1 -0
- package/dist/modules/components/cardTab/cardTabContainer/styles.css +1 -0
- package/dist/modules/components/cardTab/cardTabContext.js +26 -0
- package/dist/modules/components/cardTab/cardTabContext.js.map +1 -0
- package/dist/modules/components/checkbox/index.js +40 -0
- package/dist/modules/components/checkbox/index.js.map +1 -0
- package/dist/modules/components/checkbox/styles.css +7 -0
- package/dist/modules/components/clientOnly.js +10 -0
- package/dist/modules/components/clientOnly.js.map +1 -0
- package/dist/modules/components/currencyInput/index.js +114 -0
- package/dist/modules/components/currencyInput/index.js.map +1 -0
- package/dist/modules/components/currencyInput/style.css +1 -0
- package/dist/modules/components/currencyInput/styles.css +7 -0
- package/dist/modules/components/datePicker/datePickerCalendarContainer/index.js +25 -0
- package/dist/modules/components/datePicker/datePickerCalendarContainer/index.js.map +1 -0
- package/dist/modules/components/datePicker/datePickerCalendarContainer/styles.css +1 -0
- package/dist/modules/components/datePicker/datePickerChevron/index.js +21 -0
- package/dist/modules/components/datePicker/datePickerChevron/index.js.map +1 -0
- package/dist/modules/components/datePicker/datePickerChevron/styles.css +1 -0
- package/dist/modules/components/datePicker/datePickerContainer/index.js +16 -0
- package/dist/modules/components/datePicker/datePickerContainer/index.js.map +1 -0
- package/dist/modules/components/datePicker/datePickerContainer/styles.css +1 -0
- package/dist/modules/components/datePicker/datePickerContent/index.js +14 -0
- package/dist/modules/components/datePicker/datePickerContent/index.js.map +1 -0
- package/dist/modules/components/datePicker/datePickerContent/styles.css +1 -0
- package/dist/modules/components/datePicker/datePickerOverlay/index.js +14 -0
- package/dist/modules/components/datePicker/datePickerOverlay/index.js.map +1 -0
- package/dist/modules/components/datePicker/datePickerOverlay/styles.css +1 -0
- package/dist/modules/components/datePicker/datePickerSpinner/index.js +16 -0
- package/dist/modules/components/datePicker/datePickerSpinner/index.js.map +1 -0
- package/dist/modules/components/datePicker/datePickerSpinner/styles.css +1 -0
- package/dist/modules/components/datePicker/index.js +194 -0
- package/dist/modules/components/datePicker/index.js.map +1 -0
- package/dist/modules/components/datePicker/styles.css +79 -0
- package/dist/modules/components/divider/index.js +14 -0
- package/dist/modules/components/divider/index.js.map +1 -0
- package/dist/modules/components/divider/styles.css +1 -0
- package/dist/modules/components/drawer/drawerContainer/index.js +39 -0
- package/dist/modules/components/drawer/drawerContainer/index.js.map +1 -0
- package/dist/modules/components/drawer/drawerContainer/styles.css +1 -0
- package/dist/modules/components/drawer/drawerContext.js +18 -0
- package/dist/modules/components/drawer/drawerContext.js.map +1 -0
- package/dist/modules/components/drawer/drawerHeader/index.js +23 -0
- package/dist/modules/components/drawer/drawerHeader/index.js.map +1 -0
- package/dist/modules/components/drawer/drawerHeader/styles.css +1 -0
- package/dist/modules/components/facebookPixel/facebookPixel.client.js +10 -0
- package/dist/modules/components/facebookPixel/facebookPixel.client.js.map +1 -0
- package/dist/modules/components/facebookPixel/index.js +11 -0
- package/dist/modules/components/facebookPixel/index.js.map +1 -0
- package/dist/modules/components/facebookPixel/pixel.js +50 -0
- package/dist/modules/components/facebookPixel/pixel.js.map +1 -0
- package/dist/modules/components/fieldError/index.js +15 -0
- package/dist/modules/components/fieldError/index.js.map +1 -0
- package/dist/modules/components/fieldError/styles.css +1 -0
- package/dist/modules/components/fieldLabel/index.js +14 -0
- package/dist/modules/components/fieldLabel/index.js.map +1 -0
- package/dist/modules/components/fieldLabel/styles.css +1 -0
- package/dist/modules/components/fieldWrapper/index.js +15 -0
- package/dist/modules/components/fieldWrapper/index.js.map +1 -0
- package/dist/modules/components/fieldWrapper/styles.css +1 -0
- package/dist/modules/components/fileUpload/hasFileContent/index.js +62 -0
- package/dist/modules/components/fileUpload/hasFileContent/index.js.map +1 -0
- package/dist/modules/components/fileUpload/hasFileContent/styles.css +1 -0
- package/dist/modules/components/fileUpload/index.js +68 -0
- package/dist/modules/components/fileUpload/index.js.map +1 -0
- package/dist/modules/components/fileUpload/noFileContent/index.js +38 -0
- package/dist/modules/components/fileUpload/noFileContent/index.js.map +1 -0
- package/dist/modules/components/fileUpload/noFileContent/styles.css +1 -0
- package/dist/modules/components/fileUpload/styles.css +19 -0
- package/dist/modules/components/fullCalendar/_fullCalendarProvider.js +37 -0
- package/dist/modules/components/fullCalendar/_fullCalendarProvider.js.map +1 -0
- package/dist/modules/components/fullCalendar/_viewService.js +103 -0
- package/dist/modules/components/fullCalendar/_viewService.js.map +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarContainer/index.js +13 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarContainer/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarContainer/styles.css +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarEvent/index.js +73 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarEvent/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarEvent/styles.css +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarRow/index.js +31 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarRow/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarRow/styles.css +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/index.js +16 -0
- package/dist/modules/components/fullCalendar/dayCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/fullCalendarContainer/index.js +13 -0
- package/dist/modules/components/fullCalendar/fullCalendarContainer/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/fullCalendarContainer/styles.css +1 -0
- package/dist/modules/components/fullCalendar/fullCalendarHeader/index.js +71 -0
- package/dist/modules/components/fullCalendar/fullCalendarHeader/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/fullCalendarHeader/styles.css +1 -0
- package/dist/modules/components/fullCalendar/index.js +33 -0
- package/dist/modules/components/fullCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/index.js +12 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.js +31 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/styles.css +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableBody/index.js +15 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableBody/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableBody/styles.css +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableContainer/index.js +13 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableContainer/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableContainer/styles.css +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableHeader/index.js +16 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableHeader/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableHeader/styles.css +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.js +38 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/styles.css +1 -0
- package/dist/modules/components/fullCalendar/styles.css +35 -0
- package/dist/modules/components/fullCalendar/weekCalendar/index.js +12 -0
- package/dist/modules/components/fullCalendar/weekCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarEvent/index.js +73 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarEvent/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarEvent/styles.css +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableBody/index.js +20 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableBody/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableBody/styles.css +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableContainer/index.js +13 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableContainer/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableContainer/styles.css +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableHeader/index.js +19 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableHeader/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableHeader/styles.css +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.js +37 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarTableTd/styles.css +1 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.client.js +9 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.client.js.map +1 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.js +20 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.js.map +1 -0
- package/dist/modules/components/googleAnalytics/index.js +12 -0
- package/dist/modules/components/googleAnalytics/index.js.map +1 -0
- package/dist/modules/components/googleAnalytics/snippets/generateGAElements.js +16 -0
- package/dist/modules/components/googleAnalytics/snippets/generateGAElements.js.map +1 -0
- package/dist/modules/components/googleTagManager/googleTagManager.client.js +9 -0
- package/dist/modules/components/googleTagManager/googleTagManager.client.js.map +1 -0
- package/dist/modules/components/googleTagManager/googleTagManager.js +47 -0
- package/dist/modules/components/googleTagManager/googleTagManager.js.map +1 -0
- package/dist/modules/components/googleTagManager/index.js +19 -0
- package/dist/modules/components/googleTagManager/index.js.map +1 -0
- package/dist/modules/components/googleTagManager/snippets/appendToDataLayer.js +11 -0
- package/dist/modules/components/googleTagManager/snippets/appendToDataLayer.js.map +1 -0
- package/dist/modules/components/googleTagManager/snippets/generateGTMElements.js +25 -0
- package/dist/modules/components/googleTagManager/snippets/generateGTMElements.js.map +1 -0
- package/dist/modules/components/iconButton/index.js +34 -0
- package/dist/modules/components/iconButton/index.js.map +1 -0
- package/dist/modules/components/iconButton/styles.css +1 -0
- package/dist/modules/components/imageUpload/hasFileContent/index.js +49 -0
- package/dist/modules/components/imageUpload/hasFileContent/index.js.map +1 -0
- package/dist/modules/components/imageUpload/hasFileContent/styles.css +1 -0
- package/dist/modules/components/imageUpload/index.js +68 -0
- package/dist/modules/components/imageUpload/index.js.map +1 -0
- package/dist/modules/components/imageUpload/noFileContent/index.js +38 -0
- package/dist/modules/components/imageUpload/noFileContent/index.js.map +1 -0
- package/dist/modules/components/imageUpload/noFileContent/styles.css +1 -0
- package/dist/modules/components/imageUpload/styles.css +17 -0
- package/dist/modules/components/input/index.js +95 -0
- package/dist/modules/components/input/index.js.map +1 -0
- package/dist/modules/components/input/style.css +1 -0
- package/dist/modules/components/input/styles.css +7 -0
- package/dist/modules/components/mapView/index.js +31 -0
- package/dist/modules/components/mapView/index.js.map +1 -0
- package/dist/modules/components/mapView/mapView.client.js +58 -0
- package/dist/modules/components/mapView/mapView.client.js.map +1 -0
- package/dist/modules/components/mapView/mapbox.css +1 -0
- package/dist/modules/components/mapView/styles.css +1 -0
- package/dist/modules/components/maskedInput/index.js +104 -0
- package/dist/modules/components/maskedInput/index.js.map +1 -0
- package/dist/modules/components/maskedInput/style.css +1 -0
- package/dist/modules/components/maskedInput/styles.css +7 -0
- package/dist/modules/components/modal/modalContainer/index.js +38 -0
- package/dist/modules/components/modal/modalContainer/index.js.map +1 -0
- package/dist/modules/components/modal/modalContainer/styles.css +1 -0
- package/dist/modules/components/modal/modalContext.js +18 -0
- package/dist/modules/components/modal/modalContext.js.map +1 -0
- package/dist/modules/components/modal/modalFooter/index.js +14 -0
- package/dist/modules/components/modal/modalFooter/index.js.map +1 -0
- package/dist/modules/components/modal/modalFooter/styles.css +1 -0
- package/dist/modules/components/modal/modalHeader/index.js +23 -0
- package/dist/modules/components/modal/modalHeader/index.js.map +1 -0
- package/dist/modules/components/modal/modalHeader/styles.css +1 -0
- package/dist/modules/components/multiSelect/index.js +118 -0
- package/dist/modules/components/multiSelect/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectChevron/index.js +21 -0
- package/dist/modules/components/multiSelect/multiSelectChevron/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectChevron/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectContainer/index.js +16 -0
- package/dist/modules/components/multiSelect/multiSelectContainer/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectContainer/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectContent/index.js +14 -0
- package/dist/modules/components/multiSelect/multiSelectContent/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectContent/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectMark/index.js +22 -0
- package/dist/modules/components/multiSelect/multiSelectMark/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectMark/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectOption/index.js +20 -0
- package/dist/modules/components/multiSelect/multiSelectOption/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectOption/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectOptionsContainer/index.js +38 -0
- package/dist/modules/components/multiSelect/multiSelectOptionsContainer/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectOptionsContainer/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectOverlay/index.js +14 -0
- package/dist/modules/components/multiSelect/multiSelectOverlay/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectOverlay/styles.css +1 -0
- package/dist/modules/components/multiSelect/multiSelectSpinner/index.js +16 -0
- package/dist/modules/components/multiSelect/multiSelectSpinner/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectSpinner/styles.css +1 -0
- package/dist/modules/components/multiSelect/styles.css +31 -0
- package/dist/modules/components/pagination/chevronButton/index.js +21 -0
- package/dist/modules/components/pagination/chevronButton/index.js.map +1 -0
- package/dist/modules/components/pagination/chevronButton/styles.css +1 -0
- package/dist/modules/components/pagination/currentButton/index.js +15 -0
- package/dist/modules/components/pagination/currentButton/index.js.map +1 -0
- package/dist/modules/components/pagination/currentButton/styles.css +1 -0
- package/dist/modules/components/pagination/index.js +54 -0
- package/dist/modules/components/pagination/index.js.map +1 -0
- package/dist/modules/components/pagination/pageButton/index.js +16 -0
- package/dist/modules/components/pagination/pageButton/index.js.map +1 -0
- package/dist/modules/components/pagination/pageButton/styles.css +1 -0
- package/dist/modules/components/pagination/paginationService.js +36 -0
- package/dist/modules/components/pagination/paginationService.js.map +1 -0
- package/dist/modules/components/pagination/spread/index.js +14 -0
- package/dist/modules/components/pagination/spread/index.js.map +1 -0
- package/dist/modules/components/pagination/spread/styles.css +1 -0
- package/dist/modules/components/pagination/styles.css +9 -0
- package/dist/modules/components/phoneInput/index.js +111 -0
- package/dist/modules/components/phoneInput/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputContainer/index.js +15 -0
- package/dist/modules/components/phoneInput/phoneInputContainer/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputContainer/styles.css +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountriesOverlay/index.js +14 -0
- package/dist/modules/components/phoneInput/phoneInputCountriesOverlay/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountriesOverlay/styles.css +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountryOption/index.js +26 -0
- package/dist/modules/components/phoneInput/phoneInputCountryOption/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountryOption/styles.css +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountryOptionsContainer/index.js +36 -0
- package/dist/modules/components/phoneInput/phoneInputCountryOptionsContainer/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountryOptionsContainer/styles.css +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountrySelector/index.js +28 -0
- package/dist/modules/components/phoneInput/phoneInputCountrySelector/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputCountrySelector/styles.css +1 -0
- package/dist/modules/components/phoneInput/phoneInputMask/index.js +55 -0
- package/dist/modules/components/phoneInput/phoneInputMask/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputMask/style.css +1 -0
- package/dist/modules/components/phoneInput/styles.css +19 -0
- package/dist/modules/components/popover/index.js +32 -0
- package/dist/modules/components/popover/index.js.map +1 -0
- package/dist/modules/components/popover/styles.css +1 -0
- package/dist/modules/components/radio/radioBox/index.js +27 -0
- package/dist/modules/components/radio/radioBox/index.js.map +1 -0
- package/dist/modules/components/radio/radioBox/styles.css +1 -0
- package/dist/modules/components/radio/radioContext.js +24 -0
- package/dist/modules/components/radio/radioContext.js.map +1 -0
- package/dist/modules/components/radio/radioGroup/index.js +44 -0
- package/dist/modules/components/radio/radioGroup/index.js.map +1 -0
- package/dist/modules/components/radio/radioGroup/styles.css +7 -0
- package/dist/modules/components/richText/blockButton/index.js +23 -0
- package/dist/modules/components/richText/blockButton/index.js.map +1 -0
- package/dist/modules/components/richText/blockButton/styles.css +1 -0
- package/dist/modules/components/richText/element/index.js +75 -0
- package/dist/modules/components/richText/element/index.js.map +1 -0
- package/dist/modules/components/richText/element/styles.css +1 -0
- package/dist/modules/components/richText/index.js +144 -0
- package/dist/modules/components/richText/index.js.map +1 -0
- package/dist/modules/components/richText/insertImage/index.js +97 -0
- package/dist/modules/components/richText/insertImage/index.js.map +1 -0
- package/dist/modules/components/richText/insertImage/styles.css +1 -0
- package/dist/modules/components/richText/insertVideo/index.js +88 -0
- package/dist/modules/components/richText/insertVideo/index.js.map +1 -0
- package/dist/modules/components/richText/insertVideo/styles.css +1 -0
- package/dist/modules/components/richText/leaf/index.js +12 -0
- package/dist/modules/components/richText/leaf/index.js.map +1 -0
- package/dist/modules/components/richText/markButton/index.js +22 -0
- package/dist/modules/components/richText/markButton/index.js.map +1 -0
- package/dist/modules/components/richText/markButton/styles.css +1 -0
- package/dist/modules/components/richText/styles.css +67 -0
- package/dist/modules/components/richText/toolbar/index.js +13 -0
- package/dist/modules/components/richText/toolbar/index.js.map +1 -0
- package/dist/modules/components/richText/toolbar/styles.css +1 -0
- package/dist/modules/components/searchPlaces.js +60 -0
- package/dist/modules/components/searchPlaces.js.map +1 -0
- package/dist/modules/components/select/index.js +115 -0
- package/dist/modules/components/select/index.js.map +1 -0
- package/dist/modules/components/select/selectChevron/index.js +21 -0
- package/dist/modules/components/select/selectChevron/index.js.map +1 -0
- package/dist/modules/components/select/selectChevron/styles.css +1 -0
- package/dist/modules/components/select/selectContainer/index.js +16 -0
- package/dist/modules/components/select/selectContainer/index.js.map +1 -0
- package/dist/modules/components/select/selectContainer/styles.css +1 -0
- package/dist/modules/components/select/selectContent/index.js +14 -0
- package/dist/modules/components/select/selectContent/index.js.map +1 -0
- package/dist/modules/components/select/selectContent/styles.css +1 -0
- package/dist/modules/components/select/selectOption/index.js +21 -0
- package/dist/modules/components/select/selectOption/index.js.map +1 -0
- package/dist/modules/components/select/selectOption/styles.css +1 -0
- package/dist/modules/components/select/selectOptionsContainer/index.js +38 -0
- package/dist/modules/components/select/selectOptionsContainer/index.js.map +1 -0
- package/dist/modules/components/select/selectOptionsContainer/styles.css +1 -0
- package/dist/modules/components/select/selectOverlay/index.js +14 -0
- package/dist/modules/components/select/selectOverlay/index.js.map +1 -0
- package/dist/modules/components/select/selectOverlay/styles.css +1 -0
- package/dist/modules/components/select/selectSpinner/index.js +16 -0
- package/dist/modules/components/select/selectSpinner/index.js.map +1 -0
- package/dist/modules/components/select/selectSpinner/styles.css +1 -0
- package/dist/modules/components/select/styles.css +29 -0
- package/dist/modules/components/slider/index.js +46 -0
- package/dist/modules/components/slider/index.js.map +1 -0
- package/dist/modules/components/slider/styles.css +1 -0
- package/dist/modules/components/switch/index.js +38 -0
- package/dist/modules/components/switch/index.js.map +1 -0
- package/dist/modules/components/switch/styles.css +7 -0
- package/dist/modules/components/tab/tabButton/index.js +22 -0
- package/dist/modules/components/tab/tabButton/index.js.map +1 -0
- package/dist/modules/components/tab/tabButton/styles.css +1 -0
- package/dist/modules/components/tab/tabContainer/index.js +25 -0
- package/dist/modules/components/tab/tabContainer/index.js.map +1 -0
- package/dist/modules/components/tab/tabContainer/styles.css +1 -0
- package/dist/modules/components/tab/tabContext.js +26 -0
- package/dist/modules/components/tab/tabContext.js.map +1 -0
- package/dist/modules/components/table/tableBody/index.js +22 -0
- package/dist/modules/components/table/tableBody/index.js.map +1 -0
- package/dist/modules/components/table/tableBody/styles.css +1 -0
- package/dist/modules/components/table/tableCaption/index.js +18 -0
- package/dist/modules/components/table/tableCaption/index.js.map +1 -0
- package/dist/modules/components/table/tableCaption/styles.css +1 -0
- package/dist/modules/components/table/tableContainer/index.js +15 -0
- package/dist/modules/components/table/tableContainer/index.js.map +1 -0
- package/dist/modules/components/table/tableContainer/styles.css +1 -0
- package/dist/modules/components/table/tableFooter/index.js +21 -0
- package/dist/modules/components/table/tableFooter/index.js.map +1 -0
- package/dist/modules/components/table/tableFooter/styles.css +1 -0
- package/dist/modules/components/table/tableHeader/index.js +15 -0
- package/dist/modules/components/table/tableHeader/index.js.map +1 -0
- package/dist/modules/components/table/tableHeader/styles.css +1 -0
- package/dist/modules/components/textarea/index.js +54 -0
- package/dist/modules/components/textarea/index.js.map +1 -0
- package/dist/modules/components/textarea/styles.css +7 -0
- package/dist/modules/components/tooltip/index.js +37 -0
- package/dist/modules/components/tooltip/index.js.map +1 -0
- package/dist/modules/components/tooltip/styles.css +1 -0
- package/dist/modules/hooks/useAutomation.js +47 -0
- package/dist/modules/hooks/useAutomation.js.map +1 -0
- package/dist/modules/hooks/useDrawer.js +20 -0
- package/dist/modules/hooks/useDrawer.js.map +1 -0
- package/dist/modules/hooks/useForm.js +10 -0
- package/dist/modules/hooks/useForm.js.map +1 -0
- package/dist/modules/hooks/useHydrated.js +12 -0
- package/dist/modules/hooks/useHydrated.js.map +1 -0
- package/dist/modules/hooks/useModal.js +20 -0
- package/dist/modules/hooks/useModal.js.map +1 -0
- package/dist/modules/hooks/useScopedParams.js +20 -0
- package/dist/modules/hooks/useScopedParams.js.map +1 -0
- package/dist/modules/hooks/useScrollLock.js +23 -0
- package/dist/modules/hooks/useScrollLock.js.map +1 -0
- package/dist/modules/hooks/useSearchAutomation.js +36 -0
- package/dist/modules/hooks/useSearchAutomation.js.map +1 -0
- package/dist/modules/hooks/useSlider.js +16 -0
- package/dist/modules/hooks/useSlider.js.map +1 -0
- package/dist/modules/hooks/useToast.js +12 -0
- package/dist/modules/hooks/useToast.js.map +1 -0
- package/dist/modules/providers/drawerProvider.js +38 -0
- package/dist/modules/providers/drawerProvider.js.map +1 -0
- package/dist/modules/providers/formProvider.js +15 -0
- package/dist/modules/providers/formProvider.js.map +1 -0
- package/dist/modules/providers/modalProvider.js +36 -0
- package/dist/modules/providers/modalProvider.js.map +1 -0
- package/dist/modules/providers/placesProvider.js +20 -0
- package/dist/modules/providers/placesProvider.js.map +1 -0
- package/dist/modules/providers/toastProvider.js +49 -0
- package/dist/modules/providers/toastProvider.js.map +1 -0
- package/dist/modules/services/extractTextFromNode.js +9 -0
- package/dist/modules/services/extractTextFromNode.js.map +1 -0
- package/dist/modules/services/fieldTemplate.js +26 -0
- package/dist/modules/services/fieldTemplate.js.map +1 -0
- package/dist/modules/services/iconRenderer.js +17 -0
- package/dist/modules/services/iconRenderer.js.map +1 -0
- package/dist/modules/services/isBlockActive.js +15 -0
- package/dist/modules/services/isBlockActive.js.map +1 -0
- package/dist/modules/services/isMarkActive.js +10 -0
- package/dist/modules/services/isMarkActive.js.map +1 -0
- package/dist/modules/services/maskCurrencyValues.js +15 -0
- package/dist/modules/services/maskCurrencyValues.js.map +1 -0
- package/dist/modules/services/toHtml.js +9 -0
- package/dist/modules/services/toHtml.js.map +1 -0
- package/dist/modules/services/toRichTextValue.js +11 -0
- package/dist/modules/services/toRichTextValue.js.map +1 -0
- package/dist/modules/services/toggleBlock.js +23 -0
- package/dist/modules/services/toggleBlock.js.map +1 -0
- package/dist/modules/services/toggleMark.js +10 -0
- package/dist/modules/services/toggleMark.js.map +1 -0
- package/dist/modules/templates/badResponses.js +16 -0
- package/dist/modules/templates/badResponses.js.map +1 -0
- package/dist/modules/templates/richTextTemplates.js +19 -0
- package/dist/modules/templates/richTextTemplates.js.map +1 -0
- package/dist/modules/templates/successResponses.js +11 -0
- package/dist/modules/templates/successResponses.js.map +1 -0
- package/dist/modules/utils/phoneInputUtilities.js +24 -0
- package/dist/modules/utils/phoneInputUtilities.js.map +1 -0
- package/dist/modules/utils/richTextUtilities.js +92 -0
- package/dist/modules/utils/richTextUtilities.js.map +1 -0
- package/dist/providers/drawerProvider.d.ts +18 -84
- package/dist/providers/drawerProvider.d.ts.map +1 -1
- package/dist/providers/formProvider.d.ts +20 -56
- package/dist/providers/formProvider.d.ts.map +1 -1
- package/dist/providers/modalProvider.d.ts +19 -80
- package/dist/providers/modalProvider.d.ts.map +1 -1
- package/dist/providers/placesProvider.d.ts +18 -13
- package/dist/providers/placesProvider.d.ts.map +1 -1
- package/dist/providers/toastProvider.d.ts +13 -24
- package/dist/providers/toastProvider.d.ts.map +1 -1
- package/dist/services/extractTextFromNode.d.ts +1 -1
- package/dist/services/extractTextFromNode.d.ts.map +1 -1
- package/dist/services/fieldTemplate.d.ts +14 -0
- package/dist/services/fieldTemplate.d.ts.map +1 -0
- package/dist/services/iconRenderer.d.ts +2 -2
- package/dist/services/iconRenderer.d.ts.map +1 -1
- package/dist/services/isBlockActive.d.ts +1 -1
- package/dist/services/isBlockActive.d.ts.map +1 -1
- package/dist/services/isMarkActive.d.ts +1 -1
- package/dist/services/isMarkActive.d.ts.map +1 -1
- package/dist/services/maskCurrencyValues.d.ts.map +1 -1
- package/dist/services/toHtml.d.ts +12 -11
- package/dist/services/toHtml.d.ts.map +1 -1
- package/dist/services/toRichTextValue.d.ts +12 -18
- package/dist/services/toRichTextValue.d.ts.map +1 -1
- package/dist/services/toggleBlock.d.ts +1 -1
- package/dist/services/toggleBlock.d.ts.map +1 -1
- package/dist/services/toggleMark.d.ts +1 -1
- package/dist/services/toggleMark.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/templates/richTextTemplates.d.ts +1 -1
- package/dist/templates/richTextTemplates.d.ts.map +1 -1
- package/dist/types/richTextTypes.d.ts +14 -3
- package/dist/types/richTextTypes.d.ts.map +1 -1
- package/dist/utils/phoneInputUtilities.d.ts +2 -1714
- package/dist/utils/phoneInputUtilities.d.ts.map +1 -1
- package/dist/utils/richTextUtilities.d.ts +1 -1
- package/dist/utils/richTextUtilities.d.ts.map +1 -1
- package/package.json +1100 -27
- package/styles.d.ts +3 -0
- package/dist/bundle.js +0 -18048
- package/dist/bundle.umd.cjs +0 -219
- package/dist/components/alert/alertContainer/index.js +0 -91
- package/dist/components/alert/alertContent/index.js +0 -46
- package/dist/components/alert/alertDescription/index.js +0 -48
- package/dist/components/alert/alertIcon/index.js +0 -61
- package/dist/components/alert/alertTitle/index.js +0 -42
- package/dist/components/audioPlayer/index.js +0 -115
- package/dist/components/audioUpload/hasFileContent/index.js +0 -26
- package/dist/components/audioUpload/index.js +0 -120
- package/dist/components/audioUpload/noFileContent/index.js +0 -29
- package/dist/components/badge/index.js +0 -49
- package/dist/components/button/index.js +0 -61
- package/dist/components/cardTab/cardTabButton/index.js +0 -80
- package/dist/components/cardTab/cardTabContainer/index.js +0 -88
- package/dist/components/cardTab/cardTabContext.js +0 -10
- package/dist/components/checkbox/index.js +0 -87
- package/dist/components/clientOnly.js +0 -86
- package/dist/components/currencyInput/index.js +0 -141
- package/dist/components/divider/index.js +0 -45
- package/dist/components/drawer/drawerContainer/index.js +0 -75
- package/dist/components/drawer/drawerContext.js +0 -10
- package/dist/components/drawer/drawerHeader/index.js +0 -58
- package/dist/components/fieldError/index.js +0 -33
- package/dist/components/fieldLabel/index.js +0 -39
- package/dist/components/fieldWrapper/index.js +0 -42
- package/dist/components/fileUpload/hasFileContent/index.js +0 -34
- package/dist/components/fileUpload/index.js +0 -127
- package/dist/components/fileUpload/noFileContent/index.js +0 -29
- package/dist/components/iconButton/index.js +0 -41
- package/dist/components/imageUpload/hasFileContent/index.js +0 -24
- package/dist/components/imageUpload/index.js +0 -149
- package/dist/components/imageUpload/noFileContent/index.js +0 -29
- package/dist/components/input/index.js +0 -114
- package/dist/components/mapView/index.js +0 -16
- package/dist/components/maskedInput/index.js +0 -131
- package/dist/components/modal/modalContainer/index.js +0 -82
- package/dist/components/modal/modalContext.js +0 -10
- package/dist/components/modal/modalFooter/index.js +0 -72
- package/dist/components/modal/modalHeader/index.js +0 -69
- package/dist/components/multiSelect/index.js +0 -169
- package/dist/components/multiSelect/multiSelectChevron/index.js +0 -18
- package/dist/components/multiSelect/multiSelectContainer/index.js +0 -11
- package/dist/components/multiSelect/multiSelectContent/index.js +0 -8
- package/dist/components/multiSelect/multiSelectMark/index.js +0 -11
- package/dist/components/multiSelect/multiSelectOption/index.js +0 -10
- package/dist/components/multiSelect/multiSelectOptionsContainer/index.js +0 -44
- package/dist/components/multiSelect/multiSelectOverlay/index.js +0 -9
- package/dist/components/multiSelect/multiSelectSpinner/index.js +0 -10
- package/dist/components/pagination/chevronButton/index.js +0 -9
- package/dist/components/pagination/currentButton/index.js +0 -6
- package/dist/components/pagination/index.js +0 -37
- package/dist/components/pagination/pageButton/index.js +0 -7
- package/dist/components/pagination/paginationService.js +0 -62
- package/dist/components/pagination/spread/index.js +0 -7
- package/dist/components/phoneInput/index.js +0 -205
- package/dist/components/phoneInput/phoneInputContainer/index.js +0 -11
- package/dist/components/phoneInput/phoneInputCountriesOverlay/index.js +0 -9
- package/dist/components/phoneInput/phoneInputCountryOption/index.js +0 -10
- package/dist/components/phoneInput/phoneInputCountryOptionsContainer/index.js +0 -40
- package/dist/components/phoneInput/phoneInputCountrySelector/index.js +0 -9
- package/dist/components/phoneInput/phoneInputMask/index.js +0 -34
- package/dist/components/popover/index.js +0 -151
- package/dist/components/radio/radioBox/index.js +0 -99
- package/dist/components/radio/radioContext.js +0 -11
- package/dist/components/radio/radioGroup/index.js +0 -100
- package/dist/components/richText/blockButton/index.js +0 -18
- package/dist/components/richText/element/index.js +0 -24
- package/dist/components/richText/index.js +0 -149
- package/dist/components/richText/insertImage/index.js +0 -33
- package/dist/components/richText/leaf/index.js +0 -13
- package/dist/components/richText/markButton/index.js +0 -16
- package/dist/components/richText/toolbar/index.js +0 -6
- package/dist/components/searchPlaces.js +0 -91
- package/dist/components/select/index.js +0 -168
- package/dist/components/select/selectChevron/index.js +0 -18
- package/dist/components/select/selectContainer/index.js +0 -11
- package/dist/components/select/selectContent/index.js +0 -8
- package/dist/components/select/selectOption/index.js +0 -10
- package/dist/components/select/selectOptionsContainer/index.js +0 -44
- package/dist/components/select/selectOverlay/index.js +0 -9
- package/dist/components/select/selectSpinner/index.js +0 -10
- package/dist/components/slider/index.js +0 -97
- package/dist/components/switch/index.js +0 -100
- package/dist/components/tab/tabButton/index.js +0 -80
- package/dist/components/tab/tabContainer/index.js +0 -88
- package/dist/components/tab/tabContext.js +0 -10
- package/dist/components/table/tableBody/index.js +0 -69
- package/dist/components/table/tableCaption/index.js +0 -64
- package/dist/components/table/tableContainer/index.js +0 -66
- package/dist/components/table/tableFooter/index.js +0 -47
- package/dist/components/table/tableHeader/index.js +0 -46
- package/dist/components/textarea/index.js +0 -128
- package/dist/components/tooltip/index.js +0 -135
- package/dist/hooks/useAutomation.js +0 -67
- package/dist/hooks/useDrawer.js +0 -20
- package/dist/hooks/useForm.js +0 -52
- package/dist/hooks/useHydrated.js +0 -81
- package/dist/hooks/useModal.js +0 -20
- package/dist/hooks/useScopedParams.js +0 -107
- package/dist/hooks/useScrollLock.js +0 -68
- package/dist/hooks/useSlider.js +0 -49
- package/dist/hooks/useToast.js +0 -72
- package/dist/providers/drawerProvider.js +0 -120
- package/dist/providers/formProvider.js +0 -69
- package/dist/providers/modalProvider.js +0 -119
- package/dist/providers/placesProvider.js +0 -35
- package/dist/providers/toastProvider.js +0 -73
- package/dist/services/extractTextFromNode.js +0 -5
- package/dist/services/iconRenderer.js +0 -13
- package/dist/services/isBlockActive.js +0 -14
- package/dist/services/isMarkActive.js +0 -6
- package/dist/services/maskCurrencyValues.js +0 -23
- package/dist/services/toHtml.js +0 -21
- package/dist/services/toRichTextValue.js +0 -40
- package/dist/services/toggleBlock.js +0 -32
- package/dist/services/toggleMark.js +0 -10
- package/dist/templates/badResponses.js +0 -12
- package/dist/templates/richTextTemplates.js +0 -12
- package/dist/templates/successResponses.js +0 -2
- package/dist/types/richTextTypes.js +0 -1
- package/dist/utils/phoneInputUtilities.js +0 -99
- package/dist/utils/richTextUtilities.js +0 -87
package/LICENSE.txt
CHANGED
|
@@ -1,10 +1,193 @@
|
|
|
1
|
+
|
|
1
2
|
Apache License
|
|
2
3
|
Version 2.0, January 2004
|
|
3
4
|
http://www.apache.org/licenses/
|
|
4
5
|
|
|
5
6
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 - Arkyn | Lucas Eduardo Gonçalves
|
|
8
191
|
|
|
9
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
193
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -1,41 +1,217 @@
|
|
|
1
1
|
# @arkyn/components
|
|
2
2
|
|
|
3
|
-
A modern
|
|
3
|
+
A modern React component library featuring 40+ UI components, smooth animations, custom hooks, and TypeScript support.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@arkyn/components)
|
|
6
6
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
7
7
|
[](https://www.typescriptlang.org/)
|
|
8
8
|
|
|
9
|
-
## ✨
|
|
9
|
+
## ✨ What it solves
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
11
|
+
Every React/Remix/React Router/Next app ends up rebuilding the same UI primitives — buttons, inputs, modals, drawers, tables, tabs, alerts — with slightly different accessibility, validation, and animation behavior each time. `@arkyn/components` packages a complete, accessible, TypeScript-first set of these primitives (40+ components, plus supporting hooks and providers) so teams can compose screens instead of rebuilding foundations. Components integrate with a shared form-validation context (`FormProvider`/`useForm`), share consistent styling and motion, and cover everything from basic inputs to rich text editing, calendars, maps, and third-party tracking scripts.
|
|
12
|
+
|
|
13
|
+
## 🧩 Features
|
|
14
|
+
|
|
15
|
+
- 🧱 **Forms & inputs** — `Input`, `Textarea`, `Checkbox`, `Switch`, `Select`, `MultiSelect`, `RadioGroup`/`RadioBox`, `CurrencyInput`, `MaskedInput`, `PhoneInput`, `Slider`, `FieldWrapper`/`FieldLabel`/`FieldError` for labeled, validated fields with consistent layout
|
|
16
|
+
- 📁 **Uploads** — `FileUpload`, `ImageUpload`, and `AudioUpload` with drag-and-drop, server upload, and preview built in
|
|
17
|
+
- 🧭 **Layout & navigation** — `TabContainer`/`TabButton`, `CardTabContainer`/`CardTabButton`, `Pagination`, `Divider`, `Badge`
|
|
18
|
+
- 🪟 **Overlays** — `ModalContainer`/`ModalHeader`/`ModalFooter` + `ModalProvider`/`useModal`, `DrawerContainer`/`DrawerHeader` + `DrawerProvider`/`useDrawer`, `Popover`, `Tooltip`
|
|
19
|
+
- 🔔 **Feedback** — `AlertContainer`/`AlertTitle`/`AlertDescription`/`AlertIcon`/`AlertContent`, `ToastProvider`/`useToast`
|
|
20
|
+
- 📊 **Data display** — `TableContainer`/`TableHeader`/`TableBody`/`TableFooter`/`TableCaption`
|
|
21
|
+
- 📅 **Calendars & media** — `Calendar` (single/range date picking), `FullCalendar` (day/week/month views with events), `AudioPlayer`
|
|
22
|
+
- 🗺️ **Google Places & Maps** — `SearchPlaces`, `PlacesProvider`, and Mapbox-powered `MapView`
|
|
23
|
+
- 📈 **Tracking integrations** — `GoogleAnalytics`, `GoogleTagManager`, `FacebookPixel`, all dev-mode aware
|
|
24
|
+
- ✍️ **Rich text editing** — `RichText` (Slate.js-based WYSIWYG editor) with `toHtml`/`toRichTextValue` conversion services
|
|
25
|
+
- 🪝 **Hooks** — `useForm`, `useModal`, `useDrawer`, `useToast`, `useSlider`, `useHydrated`, `useScopedParams`, `useScrollLock`, `useAutomation`, `useSearchAutomation`
|
|
26
|
+
- 🧑💻 **SSR-safe** — `ClientOnly` and `useHydrated` guard against hydration mismatches for browser-only UI
|
|
27
|
+
|
|
28
|
+
## 📋 Prerequisites
|
|
29
|
+
|
|
30
|
+
- **Node.js** `>=18.0.0` or **Bun** `>=1.0.0`
|
|
31
|
+
- Always-required peer dependencies:
|
|
32
|
+
- `react >=18.0.0`
|
|
33
|
+
- `react-dom >=18.0.0`
|
|
34
|
+
- `lucide-react >=1.14.0` — used for icons across most components
|
|
35
|
+
|
|
36
|
+
### Optional peer dependencies
|
|
37
|
+
|
|
38
|
+
Only install these if you use the specific component/hook that needs them:
|
|
39
|
+
|
|
40
|
+
- `mapbox-gl >=3.0.0` — required by `MapView`
|
|
41
|
+
- `is-hotkey >=0.2.0` — required by `RichText`
|
|
42
|
+
- `slate >=0.100.0`, `slate-history >=0.100.0`, `slate-react >=0.100.0` — required by `RichText`
|
|
43
|
+
- `@react-google-maps/api >=2.0.0` — required by `PlacesProvider` and `SearchPlaces`
|
|
44
|
+
- `react-scroll >=1.8.0` — required by `useAutomation`
|
|
45
|
+
- `@react-input/mask >=2.0.0` — required by `MaskedInput` and `PhoneInput`
|
|
46
|
+
- `html-react-parser >=5.0.0` — required by the `toRichTextValue` service
|
|
47
|
+
- `react-hot-toast >=2.0.0` — required by `ToastProvider` / `useToast`
|
|
19
48
|
|
|
20
49
|
## 📦 Installation
|
|
21
50
|
|
|
51
|
+
> **ESM only.** This package ships as native ES modules with no CommonJS build — use `import`, not `require()`.
|
|
52
|
+
|
|
22
53
|
```bash
|
|
23
|
-
npm install @arkyn/components
|
|
54
|
+
npm install @arkyn/components react react-dom lucide-react
|
|
24
55
|
```
|
|
25
56
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Make sure you have these peer dependencies installed:
|
|
57
|
+
Then install any optional peer dependencies your app actually uses. For example:
|
|
29
58
|
|
|
30
59
|
```bash
|
|
31
|
-
|
|
60
|
+
# Using RichText
|
|
61
|
+
npm install slate slate-react slate-history is-hotkey
|
|
62
|
+
|
|
63
|
+
# Using MaskedInput or PhoneInput
|
|
64
|
+
npm install @react-input/mask
|
|
65
|
+
|
|
66
|
+
# Using ToastProvider / useToast
|
|
67
|
+
npm install react-hot-toast
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## 🎨 Styles
|
|
71
|
+
|
|
72
|
+
This package ships its own stylesheet, which must be imported once (e.g. in your app's root/entry file) for components to render correctly:
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
import "@arkyn/components/styles";
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Per-component styles
|
|
79
|
+
|
|
80
|
+
If you only use a handful of components, importing the full stylesheet above pulls in CSS for all 40+ components. Every component subpath also exports a matching `.css` file containing just that component's styles (and those of any component it renders internally), so you can import only what you use instead:
|
|
81
|
+
|
|
82
|
+
```tsx
|
|
83
|
+
import { Button } from "@arkyn/components/button";
|
|
84
|
+
import "@arkyn/components/button.css";
|
|
32
85
|
```
|
|
33
86
|
|
|
34
|
-
|
|
87
|
+
Each `<name>.css` file is self-contained — safe to import on its own without the aggregate `@arkyn/components/styles`. If you use several components, importing the aggregate stylesheet once is usually simpler and avoids any duplicate CSS between per-component files that share internals (e.g. `FileUpload` and `Button`).
|
|
88
|
+
|
|
89
|
+
## 🚀 Quick Start
|
|
90
|
+
|
|
91
|
+
```tsx
|
|
92
|
+
import {
|
|
93
|
+
Button,
|
|
94
|
+
FieldError,
|
|
95
|
+
FieldLabel,
|
|
96
|
+
FieldWrapper,
|
|
97
|
+
Input,
|
|
98
|
+
} from "@arkyn/components";
|
|
99
|
+
import "@arkyn/components/styles";
|
|
100
|
+
|
|
101
|
+
export function LoginForm() {
|
|
102
|
+
return (
|
|
103
|
+
<form>
|
|
104
|
+
<FieldWrapper>
|
|
105
|
+
<FieldLabel showAsterisk>Email</FieldLabel>
|
|
106
|
+
<Input name="email" type="email" placeholder="you@example.com" />
|
|
107
|
+
<FieldError>Invalid email address</FieldError>
|
|
108
|
+
</FieldWrapper>
|
|
109
|
+
|
|
110
|
+
<Button type="submit" scheme="primary">
|
|
111
|
+
Sign in
|
|
112
|
+
</Button>
|
|
113
|
+
</form>
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## 📖 API Reference
|
|
119
|
+
|
|
120
|
+
### Components
|
|
121
|
+
|
|
122
|
+
| Export | Description |
|
|
123
|
+
| --- | --- |
|
|
124
|
+
| `AlertContainer` | Root wrapper for the Alert component set that provides scheme context to its children and switches between centered and left-aligned layout depending on whether an `AlertTitle` is present. |
|
|
125
|
+
| `AlertContent` | Text/content area inside an `AlertContainer` that wraps `AlertTitle` and `AlertDescription`. |
|
|
126
|
+
| `AlertDescription` | Body text for an alert, meant to be placed inside `AlertContent`. |
|
|
127
|
+
| `AlertIcon` | Renders a scheme-appropriate Lucide icon (check, X, warning, or info) based on the `AlertContainer` context it is placed inside. |
|
|
128
|
+
| `AlertTitle` | Bold heading for an alert, placed inside `AlertContent`; its presence is detected by `AlertContainer` to switch layout. |
|
|
129
|
+
| `AudioPlayer` | Provides play/pause controls, a scrubable progress bar, and elapsed/total time display for an audio source. |
|
|
130
|
+
| `AudioUpload` | Drag-and-drop audio file uploader that uploads to a server as multipart/form-data and shows a playback preview, integrating with `useForm` for validation errors. |
|
|
131
|
+
| `Badge` | Displays labels, statuses, and categorization tags. |
|
|
132
|
+
| `Button` | Used for user interactions and form submissions. |
|
|
133
|
+
| `Calendar` | Calendar component supporting single-date and range selection modes. |
|
|
134
|
+
| `CardTabButton` | Individual tab button inside a `CardTabContainer` that reads active/disabled state from the container's context. |
|
|
135
|
+
| `CardTabContainer` | Wrapper (rendered as `<nav>`) that manages active state for a group of `CardTabButton` components. |
|
|
136
|
+
| `Checkbox` | Interactive checkbox input with label, validation, and form integration. |
|
|
137
|
+
| `ClientOnly` | Renders its children only after client-side hydration to prevent hydration mismatches for browser-only UI. |
|
|
138
|
+
| `CurrencyInput` | Numeric input that formats its displayed value according to a currency locale, storing the raw numeric value for form submission. |
|
|
139
|
+
| `Divider` | Visually separates content sections. |
|
|
140
|
+
| `DrawerContainer` | Animated slide-in panel over an overlay backdrop that locks body scroll while open and closes on overlay click. |
|
|
141
|
+
| `DrawerHeader` | Header section for a `DrawerContainer` with an optional close button. |
|
|
142
|
+
| `FacebookPixel` | Injects the Facebook Pixel tracking script client-side; renders nothing in development mode unless `showInDevMode` is set. |
|
|
143
|
+
| `FieldError` | Displays a validation error message below a form field; renders nothing when empty. |
|
|
144
|
+
| `FieldLabel` | Label for form fields, with an optional required-field asterisk. |
|
|
145
|
+
| `FieldWrapper` | `<section>` container that groups a form field with its label and error message. |
|
|
146
|
+
| `FileUpload` | Drag-and-drop file uploader with server upload and file-name preview, integrating with `useForm`. |
|
|
147
|
+
| `FullCalendar` | Full-featured calendar with day, week, and month views, supporting event display, blocked time ranges, and date navigation. |
|
|
148
|
+
| `GoogleAnalytics` | Injects the Google Analytics 4 script client-side; renders nothing in development mode unless `showInDevMode` is set. |
|
|
149
|
+
| `GoogleTagManager` | Injects the Google Tag Manager script and noscript snippets client-side; renders nothing in development mode unless `showInDevMode` is set. |
|
|
150
|
+
| `IconButton` | Compact button that renders a single icon without a text label, requiring an `aria-label` for accessibility. |
|
|
151
|
+
| `ImageUpload` | Drag-and-drop image uploader with server upload and image preview. |
|
|
152
|
+
| `Input` | Text input field with label, validation, icons, prefix/suffix, and loading state. |
|
|
153
|
+
| `MapView` | Interactive Mapbox map with optional clickable markers, rendered client-side only. |
|
|
154
|
+
| `MaskedInput` | Text input with a configurable mask for structured values such as phone numbers, CPF, or credit cards. |
|
|
155
|
+
| `ModalContainer` | Animated centered modal over a backdrop overlay that locks body scroll while open and closes on overlay click. |
|
|
156
|
+
| `ModalFooter` | Action bar at the bottom of a modal dialog. |
|
|
157
|
+
| `ModalHeader` | Header section for a `ModalContainer`, with an optional close button. |
|
|
158
|
+
| `MultiSelect` | Multi-option dropdown with optional search, label, validation, and form integration. |
|
|
159
|
+
| `Pagination` | Navigation control for paginated data sets, rendering page buttons, prev/next arrows, and spread indicators. |
|
|
160
|
+
| `PhoneInput` | Phone number field with an integrated country selector and automatic mask formatting. |
|
|
161
|
+
| `Popover` | Floating panel that appears relative to a trigger element and dismisses on outside click. |
|
|
162
|
+
| `RadioBox` | Individual option inside a `RadioGroup`, rendered as a label/hidden-button pair. |
|
|
163
|
+
| `RadioGroup` | Managed group of `RadioBox` options with form integration. |
|
|
164
|
+
| `RichText` | WYSIWYG rich-text editor built on Slate.js with a configurable toolbar (bold, italic, underline, code, headings, quote, alignment, image/video insertion). |
|
|
165
|
+
| `SearchPlaces` | Text input with Google Places autocomplete that returns structured address data. |
|
|
166
|
+
| `Select` | Single-option dropdown with optional search, label, validation, and form integration. |
|
|
167
|
+
| `Slider` | Interactive track for selecting a numeric value between 0 and 100. |
|
|
168
|
+
| `Switch` | Toggle input for binary on/off states with form integration. |
|
|
169
|
+
| `TabButton` | Individual tab button inside a `TabContainer`. |
|
|
170
|
+
| `TabContainer` | Wrapper that manages active state for a group of `TabButton` components. |
|
|
171
|
+
| `TableBody` | `<tbody>` section with built-in empty state handling. |
|
|
172
|
+
| `TableCaption` | Title/description placed above a table, rendered as a `<caption>` element. |
|
|
173
|
+
| `TableContainer` | Root wrapper for the Table component set, rendering a responsive scrollable container around a `<table>`. |
|
|
174
|
+
| `TableFooter` | `<tfoot>` section with an automatic spacing row above the content, commonly used for pagination. |
|
|
175
|
+
| `TableHeader` | `<thead>` section with an automatic spacing row below the header row. |
|
|
176
|
+
| `Textarea` | Multi-line text input with label, validation, and form integration. |
|
|
177
|
+
| `Tooltip` | Contextual text bubble shown on hover with smart viewport-aware positioning that flips sides to avoid overflow. |
|
|
178
|
+
|
|
179
|
+
### Hooks
|
|
180
|
+
|
|
181
|
+
| Export | Description |
|
|
182
|
+
| --- | --- |
|
|
183
|
+
| `useAutomation` | Runs UI side-effects (closing modals, scrolling to an element, showing a toast) in response to a server action response payload. |
|
|
184
|
+
| `useDrawer` | Accesses the nearest `DrawerProvider` context, returning either the full context or a scoped open/close/data API for one named drawer. |
|
|
185
|
+
| `useForm` | Reads the nearest `FormProvider` context to access field-level validation errors. |
|
|
186
|
+
| `useHydrated` | Returns `true` once the component has hydrated on the client and `false` during SSR, to safely defer client-only rendering. |
|
|
187
|
+
| `useModal` | Accesses the nearest `ModalProvider` context, returning either the full context or a scoped open/close/data API for one named modal. |
|
|
188
|
+
| `useScopedParams` | Reads and writes URL search parameters, optionally namespaced with a scope prefix to avoid collisions between features. |
|
|
189
|
+
| `useScrollLock` | Locks document body scroll while an overlay is open, compensating for scrollbar width to prevent layout shift. |
|
|
190
|
+
| `useSearchAutomation` | URL-driven version of `useAutomation` that reads automation parameters from a URL search string. |
|
|
191
|
+
| `useSlider` | State manager for the `Slider` component that clamps its value to the 0–100 range. |
|
|
192
|
+
| `useToast` | Reads `ToastProvider` context to display toast notifications via `showToast`. |
|
|
193
|
+
|
|
194
|
+
### Providers
|
|
195
|
+
|
|
196
|
+
| Export | Description |
|
|
197
|
+
| --- | --- |
|
|
198
|
+
| `DrawerProvider` | Context provider that manages open/close state and data for named drawers, exposed to descendants via `useDrawer`. |
|
|
199
|
+
| `FormProvider` | Distributes field-level validation errors to all form input components in its subtree so they can display errors automatically. |
|
|
200
|
+
| `ModalProvider` | Context provider that manages open/close state and data for named modals, exposed to descendants via `useModal`. |
|
|
201
|
+
| `PlacesProvider` | Loads the Google Maps JS API (places, marker, and maps libraries) and renders children via a render-prop that reports load status. |
|
|
202
|
+
| `ToastProvider` | Mounts a react-hot-toast `Toaster` and exposes a `showToast` function via context for success/danger notifications. |
|
|
203
|
+
|
|
204
|
+
### Services
|
|
205
|
+
|
|
206
|
+
| Export | Description |
|
|
207
|
+
| --- | --- |
|
|
208
|
+
| `toHtml` | Converts a `RichTextValue` (Slate.js `Descendant` array) to an HTML string. |
|
|
209
|
+
| `toRichTextValue` | Converts an HTML string to a `RichTextValue` (Slate.js `Descendant` array) for use as a `RichText` editor's default value. |
|
|
210
|
+
|
|
211
|
+
## 📚 Documentation
|
|
212
|
+
|
|
213
|
+
Full component docs, live previews, and prop tables: [https://docs.arkyn.dev](https://docs.arkyn.dev)
|
|
214
|
+
|
|
215
|
+
## 📄 License
|
|
35
216
|
|
|
36
|
-
-
|
|
37
|
-
- **AlertContent**
|
|
38
|
-
- **AlertDescription**
|
|
39
|
-
- **AlertIcon**
|
|
40
|
-
- **AlertTitle**
|
|
41
|
-
- **AudioPlayer**
|
|
217
|
+
This project is licensed under the Apache 2.0 License - see the [LICENSE](./LICENSE.txt) file for details.
|
|
@@ -1,63 +1,47 @@
|
|
|
1
|
-
import { HTMLAttributes, JSX } from "react";
|
|
1
|
+
import { type HTMLAttributes, type JSX } from "react";
|
|
2
2
|
import "./styles.css";
|
|
3
|
-
/**
|
|
4
|
-
* @typedef {Object} AlertContainerProps
|
|
5
|
-
* @property {"success" | "danger" | "warning" | "info"} schema - The visual style schema for the alert (success: green, danger: red, warning: yellow, info: blue)
|
|
6
|
-
* @property {ReactNode} children - The content to be displayed inside the alert container
|
|
7
|
-
* @property {string} [className] - Optional additional CSS classes to apply to the container
|
|
8
|
-
* @extends {HTMLAttributes<HTMLDivElement>}
|
|
9
|
-
*/
|
|
10
3
|
type AlertContainerProps = {
|
|
11
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Visual style and semantic meaning.
|
|
6
|
+
* - `success`: green — operation completed.
|
|
7
|
+
* - `danger`: red — error or destructive action.
|
|
8
|
+
* - `warning`: yellow — caution required.
|
|
9
|
+
* - `info`: blue — informational message.
|
|
10
|
+
*/
|
|
11
|
+
scheme: "success" | "danger" | "warning" | "info";
|
|
12
12
|
} & HTMLAttributes<HTMLDivElement>;
|
|
13
|
-
/**
|
|
14
|
-
* Custom hook to access the AlertContainer context
|
|
15
|
-
*
|
|
16
|
-
* @returns {AlertContainerProps} The current alert container properties including schema and HTML attributes
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* function CustomAlertContent() {
|
|
20
|
-
* const { schema } = useAlertContainer();
|
|
21
|
-
* return <div>Current schema: {schema}</div>;
|
|
22
|
-
* }
|
|
23
|
-
*/
|
|
13
|
+
/** @internal Accesses the schema and HTML props of the enclosing `AlertContainer`. */
|
|
24
14
|
declare function useAlertContainer(): AlertContainerProps;
|
|
25
15
|
/**
|
|
26
|
-
* AlertContainer
|
|
16
|
+
* AlertContainer — root wrapper for the Alert component set. Provides schema context to child components.
|
|
27
17
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* otherwise, it's centered.
|
|
18
|
+
* Automatically detects whether an `AlertTitle` is present among children and adjusts layout:
|
|
19
|
+
* centered when no title, left-aligned when a title is present.
|
|
31
20
|
*
|
|
32
|
-
* @
|
|
33
|
-
* @
|
|
21
|
+
* @param props.scheme - Visual style variant. Required.
|
|
22
|
+
* @param props.children - Alert sub-components: `AlertIcon`, `AlertContent`, `AlertTitle`, `AlertDescription`.
|
|
34
23
|
*
|
|
35
|
-
*
|
|
36
|
-
* @param {"success" | "danger" | "warning" | "info"} props.schema - Determines the visual styling and semantic meaning of the alert
|
|
37
|
-
* @param {ReactNode} props.children - Content to be rendered inside the alert, can include AlertTitle and other components
|
|
38
|
-
* @param {string} [props.className] - Additional CSS classes to customize the alert appearance
|
|
24
|
+
* **...Other valid HTML properties for `<div>`**
|
|
39
25
|
*
|
|
40
|
-
* @returns
|
|
41
|
-
*
|
|
42
|
-
* @requires react - For createContext, useContext, ReactNode
|
|
26
|
+
* @returns AlertContainer JSX element.
|
|
43
27
|
*
|
|
44
28
|
* @example
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
29
|
+
* ```tsx
|
|
30
|
+
* // Inline alert — no title, centered layout
|
|
31
|
+
* <AlertContainer scheme="success">
|
|
32
|
+
* <AlertIcon />
|
|
33
|
+
* <AlertContent>Your subscription has been activated.</AlertContent>
|
|
48
34
|
* </AlertContainer>
|
|
49
35
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* You are premium user now!
|
|
58
|
-
* </AlertDescription>
|
|
59
|
-
* </AlertContent>
|
|
36
|
+
* // Full alert with title and description — left-aligned layout
|
|
37
|
+
* <AlertContainer scheme="danger">
|
|
38
|
+
* <AlertIcon />
|
|
39
|
+
* <AlertContent>
|
|
40
|
+
* <AlertTitle>Payment failed</AlertTitle>
|
|
41
|
+
* <AlertDescription>Please check your card details and try again.</AlertDescription>
|
|
42
|
+
* </AlertContent>
|
|
60
43
|
* </AlertContainer>
|
|
44
|
+
* ```
|
|
61
45
|
*/
|
|
62
46
|
declare function AlertContainer(props: AlertContainerProps): JSX.Element;
|
|
63
47
|
export { AlertContainer, useAlertContainer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/alertContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/alertContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,cAAc,EACnB,KAAK,GAAG,EAIR,MAAM,OAAO,CAAC;AAEf,OAAO,cAAc,CAAC;AAEtB,KAAK,mBAAmB,GAAG;IAC1B;;;;;;OAMG;IACH,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;CAClD,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAInC,sFAAsF;AACtF,iBAAS,iBAAiB,IAAI,mBAAmB,CAEhD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CA0C/D;AAED,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
import { HTMLAttributes, JSX } from "react";
|
|
1
|
+
import type { HTMLAttributes, JSX } from "react";
|
|
2
2
|
import "./styles.css";
|
|
3
|
-
/**
|
|
4
|
-
* @typedef {Object} AlertContentProps
|
|
5
|
-
* @extends {HTMLAttributes<HTMLDivElement>}
|
|
6
|
-
* @description Props for the AlertContent component, extending standard HTML div attributes.
|
|
7
|
-
*/
|
|
8
3
|
type AlertContentProps = HTMLAttributes<HTMLDivElement>;
|
|
9
4
|
/**
|
|
10
|
-
* AlertContent
|
|
11
|
-
*
|
|
12
|
-
* @component
|
|
13
|
-
* @memberof Alert
|
|
14
|
-
*
|
|
15
|
-
* @description
|
|
16
|
-
* This component serves as a container for the main content within an Alert component.
|
|
17
|
-
* Supports all standard HTML div attributes for maximum flexibility.
|
|
5
|
+
* AlertContent — text/content area inside an `AlertContainer`. Wraps `AlertTitle` and `AlertDescription`.
|
|
18
6
|
*
|
|
19
|
-
*
|
|
20
|
-
* @param {string} [props.className] - Additional CSS classes to apply to the content container
|
|
21
|
-
* @param {React.ReactNode} [props.children] - Content to be displayed inside the alert
|
|
7
|
+
* Accepts all standard `<div>` HTML attributes.
|
|
22
8
|
*
|
|
23
|
-
* @returns
|
|
24
|
-
*
|
|
25
|
-
* @requires react
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* // Basic usage
|
|
29
|
-
* <AlertContainer schema="success">
|
|
30
|
-
* <AlertContent>
|
|
31
|
-
* {children}
|
|
32
|
-
* </AlertContent>
|
|
33
|
-
* </AlertContainer>
|
|
9
|
+
* @returns AlertContent JSX element.
|
|
34
10
|
*
|
|
35
11
|
* @example
|
|
36
|
-
*
|
|
37
|
-
* <AlertContainer
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* </AlertDescription>
|
|
44
|
-
* </AlertContent>
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <AlertContainer scheme="warning">
|
|
14
|
+
* <AlertIcon />
|
|
15
|
+
* <AlertContent>
|
|
16
|
+
* <AlertTitle>Session expiring</AlertTitle>
|
|
17
|
+
* <AlertDescription>You will be logged out in 5 minutes.</AlertDescription>
|
|
18
|
+
* </AlertContent>
|
|
45
19
|
* </AlertContainer>
|
|
20
|
+
* ```
|
|
46
21
|
*/
|
|
47
22
|
declare function AlertContent(props: AlertContentProps): JSX.Element;
|
|
48
23
|
export { AlertContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/alertContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/alertContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,cAAc,CAAC;AAEtB,KAAK,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAExD;;;;;;;;;;;;;;;;;GAiBG;AAEH,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAK3D;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|