@arkyn/components 3.0.1-beta.200 → 3.0.1-beta.204
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 +14 -1
- package/dist/components/alert/alertContainer/index.d.ts.map +1 -1
- package/dist/components/cardTab/cardTabContext.d.ts.map +1 -1
- package/dist/components/drawer/drawerContext.d.ts.map +1 -1
- package/dist/components/modal/modalContext.d.ts.map +1 -1
- package/dist/components/tab/tabContext.d.ts.map +1 -1
- package/dist/index.js +85 -62
- package/dist/index.js.map +1 -0
- package/dist/modules/components/alert/alertContainer/index.js +17 -15
- 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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/audioUpload/index.js.map +1 -0
- package/dist/modules/components/audioUpload/noFileContent/index.js +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/calendar/_calendarProvider.js.map +1 -0
- package/dist/modules/components/calendar/_viewService.js +2 -0
- package/dist/modules/components/calendar/_viewService.js.map +1 -0
- package/dist/modules/components/calendar/calendarContainer/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +20 -9
- package/dist/modules/components/cardTab/cardTabContext.js.map +1 -0
- package/dist/modules/components/checkbox/index.js +2 -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 +2 -0
- package/dist/modules/components/clientOnly.js.map +1 -0
- package/dist/modules/components/currencyInput/index.js +2 -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/divider/index.js +2 -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 +2 -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 +12 -9
- package/dist/modules/components/drawer/drawerContext.js.map +1 -0
- package/dist/modules/components/drawer/drawerHeader/index.js +2 -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 +2 -0
- package/dist/modules/components/facebookPixel/facebookPixel.client.js.map +1 -0
- package/dist/modules/components/facebookPixel/index.js +2 -0
- package/dist/modules/components/facebookPixel/index.js.map +1 -0
- package/dist/modules/components/facebookPixel/pixel.js +2 -0
- package/dist/modules/components/facebookPixel/pixel.js.map +1 -0
- package/dist/modules/components/fieldError/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/fileUpload/index.js.map +1 -0
- package/dist/modules/components/fileUpload/noFileContent/index.js +2 -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 +2 -0
- package/dist/modules/components/fullCalendar/_fullCalendarProvider.js.map +1 -0
- package/dist/modules/components/fullCalendar/_viewService.js +2 -0
- package/dist/modules/components/fullCalendar/_viewService.js.map +1 -0
- package/dist/modules/components/fullCalendar/dayCalendar/dayCalendarContainer/index.js +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/fullCalendar/dayCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/fullCalendarContainer/index.js +2 -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 +2 -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 +2 -0
- package/dist/modules/components/fullCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/index.js +2 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/fullCalendar/weekCalendar/index.js.map +1 -0
- package/dist/modules/components/fullCalendar/weekCalendar/weekCalendarEvent/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.client.js.map +1 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.js +2 -0
- package/dist/modules/components/googleAnalytics/googleAnalytics.js.map +1 -0
- package/dist/modules/components/googleAnalytics/index.js +2 -0
- package/dist/modules/components/googleAnalytics/index.js.map +1 -0
- package/dist/modules/components/googleAnalytics/snippets/generateGAElements.js +2 -0
- package/dist/modules/components/googleAnalytics/snippets/generateGAElements.js.map +1 -0
- package/dist/modules/components/googleTagManager/googleTagManager.client.js +2 -0
- package/dist/modules/components/googleTagManager/googleTagManager.client.js.map +1 -0
- package/dist/modules/components/googleTagManager/googleTagManager.js +2 -0
- package/dist/modules/components/googleTagManager/googleTagManager.js.map +1 -0
- package/dist/modules/components/googleTagManager/index.js +2 -0
- package/dist/modules/components/googleTagManager/index.js.map +1 -0
- package/dist/modules/components/googleTagManager/snippets/appendToDataLayer.js +2 -0
- package/dist/modules/components/googleTagManager/snippets/appendToDataLayer.js.map +1 -0
- package/dist/modules/components/googleTagManager/snippets/generateGTMElements.js +2 -0
- package/dist/modules/components/googleTagManager/snippets/generateGTMElements.js.map +1 -0
- package/dist/modules/components/iconButton/index.js +2 -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 +2 -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 +2 -0
- package/dist/modules/components/imageUpload/index.js.map +1 -0
- package/dist/modules/components/imageUpload/noFileContent/index.js +2 -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 +2 -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 +2 -0
- package/dist/modules/components/mapView/index.js.map +1 -0
- package/dist/modules/components/mapView/mapView.client.js +2 -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 +2 -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 +2 -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 +12 -9
- package/dist/modules/components/modal/modalContext.js.map +1 -0
- package/dist/modules/components/modal/modalFooter/index.js +2 -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 +2 -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 +2 -0
- package/dist/modules/components/multiSelect/index.js.map +1 -0
- package/dist/modules/components/multiSelect/multiSelectChevron/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/pagination/index.js.map +1 -0
- package/dist/modules/components/pagination/pageButton/index.js +2 -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 +2 -0
- package/dist/modules/components/pagination/paginationService.js.map +1 -0
- package/dist/modules/components/pagination/spread/index.js +2 -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 +2 -0
- package/dist/modules/components/phoneInput/index.js.map +1 -0
- package/dist/modules/components/phoneInput/phoneInputContainer/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/radio/radioContext.js.map +1 -0
- package/dist/modules/components/radio/radioGroup/index.js +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/components/richText/index.js.map +1 -0
- package/dist/modules/components/richText/insertImage/index.js +2 -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 +2 -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 +2 -0
- package/dist/modules/components/richText/leaf/index.js.map +1 -0
- package/dist/modules/components/richText/markButton/index.js +2 -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 +2 -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 +2 -0
- package/dist/modules/components/searchPlaces.js.map +1 -0
- package/dist/modules/components/select/index.js +2 -0
- package/dist/modules/components/select/index.js.map +1 -0
- package/dist/modules/components/select/selectChevron/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +20 -9
- package/dist/modules/components/tab/tabContext.js.map +1 -0
- package/dist/modules/components/table/tableBody/index.js +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -0
- package/dist/modules/hooks/useAutomation.js.map +1 -0
- package/dist/modules/hooks/useDrawer.js +2 -0
- package/dist/modules/hooks/useDrawer.js.map +1 -0
- package/dist/modules/hooks/useForm.js +2 -0
- package/dist/modules/hooks/useForm.js.map +1 -0
- package/dist/modules/hooks/useHydrated.js +2 -0
- package/dist/modules/hooks/useHydrated.js.map +1 -0
- package/dist/modules/hooks/useModal.js +2 -0
- package/dist/modules/hooks/useModal.js.map +1 -0
- package/dist/modules/hooks/useScopedParams.js +2 -0
- package/dist/modules/hooks/useScopedParams.js.map +1 -0
- package/dist/modules/hooks/useScrollLock.js +2 -0
- package/dist/modules/hooks/useScrollLock.js.map +1 -0
- package/dist/modules/hooks/useSearchAutomation.js +2 -0
- package/dist/modules/hooks/useSearchAutomation.js.map +1 -0
- package/dist/modules/hooks/useSlider.js +2 -0
- package/dist/modules/hooks/useSlider.js.map +1 -0
- package/dist/modules/hooks/useToast.js +2 -0
- package/dist/modules/hooks/useToast.js.map +1 -0
- package/dist/modules/providers/drawerProvider.js +2 -0
- package/dist/modules/providers/drawerProvider.js.map +1 -0
- package/dist/modules/providers/formProvider.js +11 -9
- package/dist/modules/providers/formProvider.js.map +1 -0
- package/dist/modules/providers/modalProvider.js +2 -0
- package/dist/modules/providers/modalProvider.js.map +1 -0
- package/dist/modules/providers/placesProvider.js +2 -0
- package/dist/modules/providers/placesProvider.js.map +1 -0
- package/dist/modules/providers/toastProvider.js +41 -38
- package/dist/modules/providers/toastProvider.js.map +1 -0
- package/dist/modules/services/extractTextFromNode.js +2 -0
- package/dist/modules/services/extractTextFromNode.js.map +1 -0
- package/dist/modules/services/fieldTemplate.js +2 -0
- package/dist/modules/services/fieldTemplate.js.map +1 -0
- package/dist/modules/services/iconRenderer.js +2 -0
- package/dist/modules/services/iconRenderer.js.map +1 -0
- package/dist/modules/services/isBlockActive.js +2 -0
- package/dist/modules/services/isBlockActive.js.map +1 -0
- package/dist/modules/services/isMarkActive.js +2 -0
- package/dist/modules/services/isMarkActive.js.map +1 -0
- package/dist/modules/services/maskCurrencyValues.js +2 -0
- package/dist/modules/services/maskCurrencyValues.js.map +1 -0
- package/dist/modules/services/toHtml.js +2 -0
- package/dist/modules/services/toHtml.js.map +1 -0
- package/dist/modules/services/toRichTextValue.js +2 -0
- package/dist/modules/services/toRichTextValue.js.map +1 -0
- package/dist/modules/services/toggleBlock.js +2 -0
- package/dist/modules/services/toggleBlock.js.map +1 -0
- package/dist/modules/services/toggleMark.js +2 -0
- package/dist/modules/services/toggleMark.js.map +1 -0
- package/dist/modules/templates/badResponses.js +2 -0
- package/dist/modules/templates/badResponses.js.map +1 -0
- package/dist/modules/templates/richTextTemplates.js +2 -0
- package/dist/modules/templates/richTextTemplates.js.map +1 -0
- package/dist/modules/templates/successResponses.js +2 -0
- package/dist/modules/templates/successResponses.js.map +1 -0
- package/dist/modules/utils/phoneInputUtilities.js +2 -0
- package/dist/modules/utils/phoneInputUtilities.js.map +1 -0
- package/dist/modules/utils/richTextUtilities.js +2 -0
- package/dist/modules/utils/richTextUtilities.js.map +1 -0
- package/dist/providers/formProvider.d.ts.map +1 -1
- package/dist/providers/toastProvider.d.ts.map +1 -1
- package/dist/style.css +0 -1
- package/package.json +638 -10
- package/dist/components/__test__/alertContainer.spec.d.ts +0 -2
- package/dist/components/__test__/alertContainer.spec.d.ts.map +0 -1
- package/dist/components/__test__/alertContent.spec.d.ts +0 -2
- package/dist/components/__test__/alertContent.spec.d.ts.map +0 -1
- package/dist/components/__test__/alertDescription.spec.d.ts +0 -2
- package/dist/components/__test__/alertDescription.spec.d.ts.map +0 -1
- package/dist/components/__test__/alertIcon.spec.d.ts +0 -2
- package/dist/components/__test__/alertIcon.spec.d.ts.map +0 -1
- package/dist/components/__test__/alertTitle.spec.d.ts +0 -2
- package/dist/components/__test__/alertTitle.spec.d.ts.map +0 -1
- package/dist/components/__test__/audioPlayer.spec.d.ts +0 -2
- package/dist/components/__test__/audioPlayer.spec.d.ts.map +0 -1
- package/dist/components/__test__/audioUpload.spec.d.ts +0 -2
- package/dist/components/__test__/audioUpload.spec.d.ts.map +0 -1
- package/dist/components/__test__/badge.spec.d.ts +0 -2
- package/dist/components/__test__/badge.spec.d.ts.map +0 -1
- package/dist/components/__test__/button.spec.d.ts +0 -2
- package/dist/components/__test__/button.spec.d.ts.map +0 -1
- package/dist/components/__test__/calendar.spec.d.ts +0 -2
- package/dist/components/__test__/calendar.spec.d.ts.map +0 -1
- package/dist/components/__test__/cardTabButton.spec.d.ts +0 -2
- package/dist/components/__test__/cardTabButton.spec.d.ts.map +0 -1
- package/dist/components/__test__/cardTabContainer.spec.d.ts +0 -2
- package/dist/components/__test__/cardTabContainer.spec.d.ts.map +0 -1
- package/dist/components/__test__/checkbox.spec.d.ts +0 -2
- package/dist/components/__test__/checkbox.spec.d.ts.map +0 -1
- package/dist/components/__test__/clientOnly.spec.d.ts +0 -2
- package/dist/components/__test__/clientOnly.spec.d.ts.map +0 -1
- package/dist/components/__test__/currencyInput.spec.d.ts +0 -2
- package/dist/components/__test__/currencyInput.spec.d.ts.map +0 -1
- package/dist/components/__test__/divider.spec.d.ts +0 -2
- package/dist/components/__test__/divider.spec.d.ts.map +0 -1
- package/dist/components/__test__/drawerContainer.spec.d.ts +0 -2
- package/dist/components/__test__/drawerContainer.spec.d.ts.map +0 -1
- package/dist/components/__test__/drawerHeader.spec.d.ts +0 -2
- package/dist/components/__test__/drawerHeader.spec.d.ts.map +0 -1
- package/dist/components/__test__/facebookPixel.spec.d.ts +0 -2
- package/dist/components/__test__/facebookPixel.spec.d.ts.map +0 -1
- package/dist/components/__test__/fieldError.spec.d.ts +0 -2
- package/dist/components/__test__/fieldError.spec.d.ts.map +0 -1
- package/dist/components/__test__/fieldLabel.spec.d.ts +0 -2
- package/dist/components/__test__/fieldLabel.spec.d.ts.map +0 -1
- package/dist/components/__test__/fieldWrapper.spec.d.ts +0 -2
- package/dist/components/__test__/fieldWrapper.spec.d.ts.map +0 -1
- package/dist/components/__test__/fileUpload.spec.d.ts +0 -2
- package/dist/components/__test__/fileUpload.spec.d.ts.map +0 -1
- package/dist/components/__test__/fullCalendar.spec.d.ts +0 -2
- package/dist/components/__test__/fullCalendar.spec.d.ts.map +0 -1
- package/dist/components/__test__/googleAnalytics.spec.d.ts +0 -2
- package/dist/components/__test__/googleAnalytics.spec.d.ts.map +0 -1
- package/dist/components/__test__/googleTagManager.spec.d.ts +0 -2
- package/dist/components/__test__/googleTagManager.spec.d.ts.map +0 -1
- package/dist/components/__test__/iconButton.spec.d.ts +0 -2
- package/dist/components/__test__/iconButton.spec.d.ts.map +0 -1
- package/dist/components/__test__/imageUpload.spec.d.ts +0 -2
- package/dist/components/__test__/imageUpload.spec.d.ts.map +0 -1
- package/dist/components/__test__/input.spec.d.ts +0 -2
- package/dist/components/__test__/input.spec.d.ts.map +0 -1
- package/dist/components/__test__/mapView.spec.d.ts +0 -2
- package/dist/components/__test__/mapView.spec.d.ts.map +0 -1
- package/dist/components/__test__/maskedInput.spec.d.ts +0 -2
- package/dist/components/__test__/maskedInput.spec.d.ts.map +0 -1
- package/dist/components/__test__/modalContainer.spec.d.ts +0 -2
- package/dist/components/__test__/modalContainer.spec.d.ts.map +0 -1
- package/dist/components/__test__/modalFooter.spec.d.ts +0 -2
- package/dist/components/__test__/modalFooter.spec.d.ts.map +0 -1
- package/dist/components/__test__/modalHeader.spec.d.ts +0 -2
- package/dist/components/__test__/modalHeader.spec.d.ts.map +0 -1
- package/dist/components/__test__/multiSelect.spec.d.ts +0 -2
- package/dist/components/__test__/multiSelect.spec.d.ts.map +0 -1
- package/dist/components/__test__/pagination.spec.d.ts +0 -2
- package/dist/components/__test__/pagination.spec.d.ts.map +0 -1
- package/dist/components/__test__/phoneInput.spec.d.ts +0 -2
- package/dist/components/__test__/phoneInput.spec.d.ts.map +0 -1
- package/dist/components/__test__/popover.spec.d.ts +0 -2
- package/dist/components/__test__/popover.spec.d.ts.map +0 -1
- package/dist/components/__test__/radioBox.spec.d.ts +0 -2
- package/dist/components/__test__/radioBox.spec.d.ts.map +0 -1
- package/dist/components/__test__/radioGroup.spec.d.ts +0 -2
- package/dist/components/__test__/radioGroup.spec.d.ts.map +0 -1
- package/dist/components/__test__/richText.spec.d.ts +0 -2
- package/dist/components/__test__/richText.spec.d.ts.map +0 -1
- package/dist/components/__test__/select.spec.d.ts +0 -2
- package/dist/components/__test__/select.spec.d.ts.map +0 -1
- package/dist/components/__test__/slider.spec.d.ts +0 -2
- package/dist/components/__test__/slider.spec.d.ts.map +0 -1
- package/dist/components/__test__/switch.spec.d.ts +0 -2
- package/dist/components/__test__/switch.spec.d.ts.map +0 -1
- package/dist/components/__test__/tabButton.spec.d.ts +0 -2
- package/dist/components/__test__/tabButton.spec.d.ts.map +0 -1
- package/dist/components/__test__/tabContainer.spec.d.ts +0 -2
- package/dist/components/__test__/tabContainer.spec.d.ts.map +0 -1
- package/dist/components/__test__/tableBody.spec.d.ts +0 -2
- package/dist/components/__test__/tableBody.spec.d.ts.map +0 -1
- package/dist/components/__test__/tableCaption.spec.d.ts +0 -2
- package/dist/components/__test__/tableCaption.spec.d.ts.map +0 -1
- package/dist/components/__test__/tableContainer.spec.d.ts +0 -2
- package/dist/components/__test__/tableContainer.spec.d.ts.map +0 -1
- package/dist/components/__test__/tableFooter.spec.d.ts +0 -2
- package/dist/components/__test__/tableFooter.spec.d.ts.map +0 -1
- package/dist/components/__test__/tableHeader.spec.d.ts +0 -2
- package/dist/components/__test__/tableHeader.spec.d.ts.map +0 -1
- package/dist/components/__test__/textarea.spec.d.ts +0 -2
- package/dist/components/__test__/textarea.spec.d.ts.map +0 -1
- package/dist/components/__test__/tooltip.spec.d.ts +0 -2
- package/dist/components/__test__/tooltip.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useAutomation.spec.d.ts +0 -2
- package/dist/hooks/__test__/useAutomation.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useDrawer.spec.d.ts +0 -2
- package/dist/hooks/__test__/useDrawer.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useForm.spec.d.ts +0 -2
- package/dist/hooks/__test__/useForm.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useHydrated.spec.d.ts +0 -2
- package/dist/hooks/__test__/useHydrated.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useModal.spec.d.ts +0 -2
- package/dist/hooks/__test__/useModal.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useScopedParams.spec.d.ts +0 -2
- package/dist/hooks/__test__/useScopedParams.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useScrollLock.spec.d.ts +0 -2
- package/dist/hooks/__test__/useScrollLock.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useSearchAutomation.spec.d.ts +0 -2
- package/dist/hooks/__test__/useSearchAutomation.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useSlider.spec.d.ts +0 -2
- package/dist/hooks/__test__/useSlider.spec.d.ts.map +0 -1
- package/dist/hooks/__test__/useToast.spec.d.ts +0 -2
- package/dist/hooks/__test__/useToast.spec.d.ts.map +0 -1
- package/dist/modules/index.js +0 -72
- package/dist/modules/style.css +0 -2
- package/dist/providers/__test__/drawerProvider.spec.d.ts +0 -2
- package/dist/providers/__test__/drawerProvider.spec.d.ts.map +0 -1
- package/dist/providers/__test__/formProvider.spec.d.ts +0 -2
- package/dist/providers/__test__/formProvider.spec.d.ts.map +0 -1
- package/dist/providers/__test__/modalProvider.spec.d.ts +0 -2
- package/dist/providers/__test__/modalProvider.spec.d.ts.map +0 -1
- package/dist/providers/__test__/placesProvider.spec.d.ts +0 -2
- package/dist/providers/__test__/placesProvider.spec.d.ts.map +0 -1
- package/dist/providers/__test__/toastProvider.spec.d.ts +0 -2
- package/dist/providers/__test__/toastProvider.spec.d.ts.map +0 -1
- package/dist/services/__test__/extractTextFromNode.spec.d.ts +0 -2
- package/dist/services/__test__/extractTextFromNode.spec.d.ts.map +0 -1
- package/dist/services/__test__/isBlockActive.spec.d.ts +0 -2
- package/dist/services/__test__/isBlockActive.spec.d.ts.map +0 -1
- package/dist/services/__test__/isMarkActive.spec.d.ts +0 -2
- package/dist/services/__test__/isMarkActive.spec.d.ts.map +0 -1
- package/dist/services/__test__/maskCurrencyValues.spec.d.ts +0 -2
- package/dist/services/__test__/maskCurrencyValues.spec.d.ts.map +0 -1
- package/dist/services/__test__/toHtml.spec.d.ts +0 -2
- package/dist/services/__test__/toHtml.spec.d.ts.map +0 -1
- package/dist/services/__test__/toRichTextValue.spec.d.ts +0 -2
- package/dist/services/__test__/toRichTextValue.spec.d.ts.map +0 -1
- package/dist/services/__test__/toggleBlock.spec.d.ts +0 -2
- package/dist/services/__test__/toggleBlock.spec.d.ts.map +0 -1
- package/dist/services/__test__/toggleMark.spec.d.ts +0 -2
- package/dist/services/__test__/toggleMark.spec.d.ts.map +0 -1
- package/dist/templates/__test__/badResponses.spec.d.ts +0 -2
- package/dist/templates/__test__/badResponses.spec.d.ts.map +0 -1
- package/dist/templates/__test__/richTextTemplates.spec.d.ts +0 -2
- package/dist/templates/__test__/richTextTemplates.spec.d.ts.map +0 -1
- package/dist/templates/__test__/successResponses.spec.d.ts +0 -2
- package/dist/templates/__test__/successResponses.spec.d.ts.map +0 -1
- package/dist/utils/__test__/phoneInputUtilities.spec.d.ts +0 -2
- package/dist/utils/__test__/phoneInputUtilities.spec.d.ts.map +0 -1
- package/dist/utils/__test__/richTextUtilities.spec.d.ts +0 -2
- package/dist/utils/__test__/richTextUtilities.spec.d.ts.map +0 -1
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
|
@@ -27,7 +27,7 @@ Every React/Remix/React Router/Next app ends up rebuilding the same UI primitive
|
|
|
27
27
|
|
|
28
28
|
## 📋 Prerequisites
|
|
29
29
|
|
|
30
|
-
- **Node.js** `>=
|
|
30
|
+
- **Node.js** `>=18.0.0` or **Bun** `>=1.0.0`
|
|
31
31
|
- Always-required peer dependencies:
|
|
32
32
|
- `react >=18.0.0`
|
|
33
33
|
- `react-dom >=18.0.0`
|
|
@@ -48,6 +48,8 @@ Only install these if you use the specific component/hook that needs them:
|
|
|
48
48
|
|
|
49
49
|
## 📦 Installation
|
|
50
50
|
|
|
51
|
+
> **ESM only.** This package ships as native ES modules with no CommonJS build — use `import`, not `require()`.
|
|
52
|
+
|
|
51
53
|
```bash
|
|
52
54
|
npm install @arkyn/components react react-dom lucide-react
|
|
53
55
|
```
|
|
@@ -73,6 +75,17 @@ This package ships its own stylesheet, which must be imported once (e.g. in your
|
|
|
73
75
|
import "@arkyn/components/styles";
|
|
74
76
|
```
|
|
75
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";
|
|
85
|
+
```
|
|
86
|
+
|
|
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
|
+
|
|
76
89
|
## 🚀 Quick Start
|
|
77
90
|
|
|
78
91
|
```tsx
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cardTabContext.d.ts","sourceRoot":"","sources":["../../../src/components/cardTab/cardTabContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"cardTabContext.d.ts","sourceRoot":"","sources":["../../../src/components/cardTab/cardTabContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE3E,KAAK,mBAAmB,GAAG;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAIF,iBAAS,UAAU,wBAElB;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,+BAanD;AAED,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawerContext.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"drawerContext.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE3E,KAAK,kBAAkB,GAAG;IACzB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,KAAK,mBAAmB,GAAG;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAIF,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAWjD;AAED,iBAAS,SAAS,uBAEjB;AAED,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modalContext.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modalContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"modalContext.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modalContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE3E,KAAK,iBAAiB,GAAG;IACxB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAIF,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAW/C;AAED,iBAAS,QAAQ,sBAEhB;AAED,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabContext.d.ts","sourceRoot":"","sources":["../../../src/components/tab/tabContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"tabContext.d.ts","sourceRoot":"","sources":["../../../src/components/tab/tabContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE3E,KAAK,eAAe,GAAG;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAIF,iBAAS,MAAM,oBAEd;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAW3C;AAED,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -34,9 +34,9 @@ function Oe(e) {
|
|
|
34
34
|
Array.isArray(e) ? e.forEach(n) : e && typeof e == "object" && "type" in e && (e.type === Te ? t = !0 : e.props && typeof e.props == "object" && e.props !== null && "children" in e.props && n(e.props.children));
|
|
35
35
|
};
|
|
36
36
|
return n(e), t;
|
|
37
|
-
})(n) ? "existsAlertTitle" : "nonExistsAlertTitle"} ${r}
|
|
37
|
+
})(n) ? "existsAlertTitle" : "nonExistsAlertTitle"} ${r}`, o = c(() => ({ scheme: t }), [t]);
|
|
38
38
|
return /* @__PURE__ */ p(Ee.Provider, {
|
|
39
|
-
value:
|
|
39
|
+
value: o,
|
|
40
40
|
children: /* @__PURE__ */ p("div", {
|
|
41
41
|
className: a.trim(),
|
|
42
42
|
...i,
|
|
@@ -209,9 +209,9 @@ function Pe(e) {
|
|
|
209
209
|
//#region src/providers/formProvider.tsx
|
|
210
210
|
var Fe = n({});
|
|
211
211
|
function Ie(e) {
|
|
212
|
-
let { children: n, fieldErrors: r, form: i } = e;
|
|
212
|
+
let { children: n, fieldErrors: r, form: i } = e, a = c(() => ({ fieldErrors: r }), [r]);
|
|
213
213
|
return /* @__PURE__ */ m(Fe.Provider, {
|
|
214
|
-
value:
|
|
214
|
+
value: a,
|
|
215
215
|
children: [!i && n, i && t(i, i.props, n)]
|
|
216
216
|
});
|
|
217
217
|
}
|
|
@@ -1142,8 +1142,17 @@ function _t() {
|
|
|
1142
1142
|
return a(gt);
|
|
1143
1143
|
}
|
|
1144
1144
|
function vt(e) {
|
|
1145
|
+
let { disabled: t, currentTab: n, changeCurrentTab: r } = e, i = c(() => ({
|
|
1146
|
+
disabled: t,
|
|
1147
|
+
currentTab: n,
|
|
1148
|
+
changeCurrentTab: r
|
|
1149
|
+
}), [
|
|
1150
|
+
t,
|
|
1151
|
+
n,
|
|
1152
|
+
r
|
|
1153
|
+
]);
|
|
1145
1154
|
return /* @__PURE__ */ p(gt.Provider, {
|
|
1146
|
-
value:
|
|
1155
|
+
value: i,
|
|
1147
1156
|
children: e.children
|
|
1148
1157
|
});
|
|
1149
1158
|
}
|
|
@@ -1344,8 +1353,9 @@ function Dt(e) {
|
|
|
1344
1353
|
//#region src/components/drawer/drawerContext.tsx
|
|
1345
1354
|
var Ot = n({});
|
|
1346
1355
|
function kt(e) {
|
|
1356
|
+
let t = c(() => ({ makeInvisible: e.makeInvisible }), [e.makeInvisible]);
|
|
1347
1357
|
return /* @__PURE__ */ p(Ot.Provider, {
|
|
1348
|
-
value:
|
|
1358
|
+
value: t,
|
|
1349
1359
|
children: e.children
|
|
1350
1360
|
});
|
|
1351
1361
|
}
|
|
@@ -2569,8 +2579,9 @@ function On(e) {
|
|
|
2569
2579
|
//#region src/components/modal/modalContext.tsx
|
|
2570
2580
|
var kn = n({});
|
|
2571
2581
|
function An(e) {
|
|
2582
|
+
let t = c(() => ({ makeInvisible: e.makeInvisible }), [e.makeInvisible]);
|
|
2572
2583
|
return /* @__PURE__ */ p(kn.Provider, {
|
|
2573
|
-
value:
|
|
2584
|
+
value: t,
|
|
2574
2585
|
children: e.children
|
|
2575
2586
|
});
|
|
2576
2587
|
}
|
|
@@ -3464,8 +3475,17 @@ function Dr() {
|
|
|
3464
3475
|
return a(Er);
|
|
3465
3476
|
}
|
|
3466
3477
|
function Or(e) {
|
|
3478
|
+
let { disabled: t, currentTab: n, changeCurrentTab: r } = e, i = c(() => ({
|
|
3479
|
+
disabled: t,
|
|
3480
|
+
currentTab: n,
|
|
3481
|
+
changeCurrentTab: r
|
|
3482
|
+
}), [
|
|
3483
|
+
t,
|
|
3484
|
+
n,
|
|
3485
|
+
r
|
|
3486
|
+
]);
|
|
3467
3487
|
return /* @__PURE__ */ p(Er.Provider, {
|
|
3468
|
-
value:
|
|
3488
|
+
value: i,
|
|
3469
3489
|
children: e.children
|
|
3470
3490
|
});
|
|
3471
3491
|
}
|
|
@@ -4073,39 +4093,40 @@ function Yr(e) {
|
|
|
4073
4093
|
//#endregion
|
|
4074
4094
|
//#region src/providers/toastProvider.tsx
|
|
4075
4095
|
var Xr = n({});
|
|
4076
|
-
function Zr(
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
});
|
|
4105
|
-
}
|
|
4096
|
+
function Zr(e) {
|
|
4097
|
+
switch (e.type) {
|
|
4098
|
+
case "success": return Se.success(e.message, {
|
|
4099
|
+
style: {
|
|
4100
|
+
background: "#10B981",
|
|
4101
|
+
color: "#ffffff",
|
|
4102
|
+
padding: "12px 16px",
|
|
4103
|
+
fontSize: "14px",
|
|
4104
|
+
fontWeight: 600
|
|
4105
|
+
},
|
|
4106
|
+
iconTheme: {
|
|
4107
|
+
primary: "#059669",
|
|
4108
|
+
secondary: "#ffffff"
|
|
4109
|
+
}
|
|
4110
|
+
});
|
|
4111
|
+
case "danger": return Se.error(e.message, {
|
|
4112
|
+
style: {
|
|
4113
|
+
background: "#E11D48",
|
|
4114
|
+
color: "#ffffff",
|
|
4115
|
+
padding: "12px 16px",
|
|
4116
|
+
fontSize: "14px",
|
|
4117
|
+
fontWeight: 600
|
|
4118
|
+
},
|
|
4119
|
+
iconTheme: {
|
|
4120
|
+
primary: "#BE123C",
|
|
4121
|
+
secondary: "#ffffff"
|
|
4122
|
+
}
|
|
4123
|
+
});
|
|
4106
4124
|
}
|
|
4125
|
+
}
|
|
4126
|
+
function Qr({ children: e }) {
|
|
4127
|
+
let t = c(() => ({ showToast: Zr }), []);
|
|
4107
4128
|
return /* @__PURE__ */ m(Xr.Provider, {
|
|
4108
|
-
value:
|
|
4129
|
+
value: t,
|
|
4109
4130
|
children: [/* @__PURE__ */ p(Ce, {
|
|
4110
4131
|
position: "top-right",
|
|
4111
4132
|
containerStyle: { zIndex: 999999999999999 }
|
|
@@ -4114,15 +4135,15 @@ function Zr({ children: e }) {
|
|
|
4114
4135
|
}
|
|
4115
4136
|
//#endregion
|
|
4116
4137
|
//#region src/hooks/useToast.ts
|
|
4117
|
-
function
|
|
4138
|
+
function $r() {
|
|
4118
4139
|
let e = a(Xr);
|
|
4119
4140
|
if (Object.entries(e).length === 0) throw Error("useToast must be used within a Provider");
|
|
4120
4141
|
return e;
|
|
4121
4142
|
}
|
|
4122
4143
|
//#endregion
|
|
4123
4144
|
//#region src/hooks/useAutomation.ts
|
|
4124
|
-
function
|
|
4125
|
-
let { closeAll: t } = Yr(), { showToast: n } =
|
|
4145
|
+
function ei(e) {
|
|
4146
|
+
let { closeAll: t } = Yr(), { showToast: n } = $r(), r = e?.closeModal, a = e?.message, s = e?.name, c = e?.cause?.data?.scrollTo, l = e?.cause?.fieldErrors ? Object.values(e?.cause?.fieldErrors)[0] : null, u = i(() => {
|
|
4126
4147
|
if (!(!a && !l)) {
|
|
4127
4148
|
if (Kr.includes(s)) return n({
|
|
4128
4149
|
message: a,
|
|
@@ -4159,8 +4180,8 @@ function $r(e) {
|
|
|
4159
4180
|
}
|
|
4160
4181
|
//#endregion
|
|
4161
4182
|
//#region src/providers/drawerProvider.tsx
|
|
4162
|
-
var
|
|
4163
|
-
function
|
|
4183
|
+
var ti = n({});
|
|
4184
|
+
function ni(e) {
|
|
4164
4185
|
let { children: t = !1 } = e, [n, r] = u([]);
|
|
4165
4186
|
function i(e) {
|
|
4166
4187
|
return !!n.some((t) => t.key === e);
|
|
@@ -4180,7 +4201,7 @@ function ti(e) {
|
|
|
4180
4201
|
function s(e) {
|
|
4181
4202
|
r(n.filter((t) => t.key !== e));
|
|
4182
4203
|
}
|
|
4183
|
-
return /* @__PURE__ */ p(
|
|
4204
|
+
return /* @__PURE__ */ p(ti.Provider, {
|
|
4184
4205
|
value: {
|
|
4185
4206
|
drawerIsOpen: i,
|
|
4186
4207
|
drawerData: a,
|
|
@@ -4192,8 +4213,8 @@ function ti(e) {
|
|
|
4192
4213
|
}
|
|
4193
4214
|
//#endregion
|
|
4194
4215
|
//#region src/hooks/useDrawer.ts
|
|
4195
|
-
function
|
|
4196
|
-
let t = a(
|
|
4216
|
+
function ri(e) {
|
|
4217
|
+
let t = a(ti);
|
|
4197
4218
|
if (Object.entries(t).length === 0) throw Error("useDrawer must be used within a Provider");
|
|
4198
4219
|
if (e) {
|
|
4199
4220
|
let { drawerData: n, drawerIsOpen: r, openDrawer: i, closeDrawer: a } = t;
|
|
@@ -4207,7 +4228,7 @@ function ni(e) {
|
|
|
4207
4228
|
}
|
|
4208
4229
|
//#endregion
|
|
4209
4230
|
//#region src/hooks/useScopedParams.ts
|
|
4210
|
-
function
|
|
4231
|
+
function ii(e, t = "") {
|
|
4211
4232
|
let n = new URLSearchParams(e), r = t ? `${t}:` : "", i = (e) => {
|
|
4212
4233
|
Object.entries(e).forEach(([e, t]) => {
|
|
4213
4234
|
t === void 0 ? n.delete(`${r}${e}`) : n.set(`${r}${e}`, String(t));
|
|
@@ -4224,8 +4245,8 @@ function ri(e, t = "") {
|
|
|
4224
4245
|
}
|
|
4225
4246
|
//#endregion
|
|
4226
4247
|
//#region src/hooks/useSearchAutomation.ts
|
|
4227
|
-
function
|
|
4228
|
-
let { closeAll: n } = Yr(), { showToast: r } =
|
|
4248
|
+
function ai(e, t = "") {
|
|
4249
|
+
let { closeAll: n } = Yr(), { showToast: r } = $r(), { getParam: i } = ii(e, t), a = i("closeModal") === "true", s = i("message"), c = i("name"), l = i("type");
|
|
4229
4250
|
o(() => {
|
|
4230
4251
|
a && n(), s && (l === "success" && r({
|
|
4231
4252
|
message: s,
|
|
@@ -4251,28 +4272,28 @@ function ii(e, t = "") {
|
|
|
4251
4272
|
}
|
|
4252
4273
|
//#endregion
|
|
4253
4274
|
//#region src/providers/placesProvider.tsx
|
|
4254
|
-
var
|
|
4275
|
+
var oi = [
|
|
4255
4276
|
"places",
|
|
4256
4277
|
"marker",
|
|
4257
4278
|
"maps"
|
|
4258
4279
|
];
|
|
4259
|
-
function
|
|
4280
|
+
function si(e) {
|
|
4260
4281
|
let { apiKey: t, children: n, preventFontsLoading: r = !0 } = e, { isLoaded: i } = be({
|
|
4261
4282
|
googleMapsApiKey: t,
|
|
4262
|
-
libraries:
|
|
4283
|
+
libraries: oi,
|
|
4263
4284
|
preventGoogleFontsLoading: r
|
|
4264
4285
|
});
|
|
4265
4286
|
return /* @__PURE__ */ p(f, { children: n(i) });
|
|
4266
4287
|
}
|
|
4267
4288
|
//#endregion
|
|
4268
4289
|
//#region src/utils/richTextUtilities.ts
|
|
4269
|
-
function
|
|
4290
|
+
function ci(e) {
|
|
4270
4291
|
if (de.isText(e)) {
|
|
4271
4292
|
let t = e?.text;
|
|
4272
4293
|
return e?.bold && (t = `<strong>${t}</strong>`), e?.code && (t = `<code>${t}</code>`), e?.italic && (t = `<em>${t}</em>`), e?.underline && (t = `<u>${t}</u>`), t;
|
|
4273
4294
|
}
|
|
4274
4295
|
if (le.isElement(e)) {
|
|
4275
|
-
let t = e.children?.map((e) =>
|
|
4296
|
+
let t = e.children?.map((e) => ci(e)).join(""), n = e.align || "left";
|
|
4276
4297
|
switch (e.type) {
|
|
4277
4298
|
case "video": return `<iframe src="${e.src}" class="align_${n}" />`;
|
|
4278
4299
|
case "image": return `<img src="${e.src}" class="align_${n}" />`;
|
|
@@ -4288,9 +4309,9 @@ function si(e) {
|
|
|
4288
4309
|
}
|
|
4289
4310
|
return "";
|
|
4290
4311
|
}
|
|
4291
|
-
function
|
|
4312
|
+
function li(e) {
|
|
4292
4313
|
if (typeof e == "string") return { text: e };
|
|
4293
|
-
let t = Array.isArray(e.props.children) ? e.props.children.map((e) =>
|
|
4314
|
+
let t = Array.isArray(e.props.children) ? e.props.children.map((e) => li(e)) : [{ text: e.props.children || "" }], n = e.props.className?.replace("align_", "");
|
|
4294
4315
|
switch (e.type) {
|
|
4295
4316
|
case "img": return {
|
|
4296
4317
|
type: "image",
|
|
@@ -4354,14 +4375,16 @@ function ci(e) {
|
|
|
4354
4375
|
}
|
|
4355
4376
|
//#endregion
|
|
4356
4377
|
//#region src/services/toHtml.ts
|
|
4357
|
-
function
|
|
4358
|
-
return e.map((e) =>
|
|
4378
|
+
function ui(e) {
|
|
4379
|
+
return e.map((e) => ci(e)).join("");
|
|
4359
4380
|
}
|
|
4360
4381
|
//#endregion
|
|
4361
4382
|
//#region src/services/toRichTextValue.ts
|
|
4362
|
-
function
|
|
4383
|
+
function di(e) {
|
|
4363
4384
|
let t = we(e);
|
|
4364
|
-
return Array.isArray(t) ? t.map((e) => typeof e == "string" ? { text: e } :
|
|
4385
|
+
return Array.isArray(t) ? t.map((e) => typeof e == "string" ? { text: e } : li(e)) : typeof t == "string" ? [{ text: t }] : [li(t)];
|
|
4365
4386
|
}
|
|
4366
4387
|
//#endregion
|
|
4367
|
-
export { Oe as AlertContainer, ke as AlertContent, Ae as AlertDescription, je as AlertIcon, Te as AlertTitle, Pe as AudioPlayer, Ge as AudioUpload, Ke as Badge, Q as Button, ht as Calendar, yt as CardTabButton, bt as CardTabContainer, xt as Checkbox, wt as ClientOnly, Dt as CurrencyInput, Be as Divider, jt as DrawerContainer, Mt as DrawerHeader,
|
|
4388
|
+
export { Oe as AlertContainer, ke as AlertContent, Ae as AlertDescription, je as AlertIcon, Te as AlertTitle, Pe as AudioPlayer, Ge as AudioUpload, Ke as Badge, Q as Button, ht as Calendar, yt as CardTabButton, bt as CardTabContainer, xt as Checkbox, wt as ClientOnly, Dt as CurrencyInput, Be as Divider, jt as DrawerContainer, Mt as DrawerHeader, ni as DrawerProvider, Ft as FacebookPixel, Le as FieldError, Re as FieldLabel, ze as FieldWrapper, Rt as FileUpload, Ie as FormProvider, dn as FullCalendar, hn as GoogleAnalytics, bn as GoogleTagManager, Ve as IconButton, Cn as ImageUpload, at as Input, En as MapView, On as MaskedInput, Mn as ModalContainer, Nn as ModalFooter, Pn as ModalHeader, Jr as ModalProvider, Un as MultiSelect, Yn as Pagination, cr as PhoneInput, si as PlacesProvider, lr as Popover, pr as RadioBox, mr as RadioGroup, Ir as RichText, Lr as SearchPlaces, lt as Select, Ne as Slider, Rr as Switch, kr as TabButton, Ar as TabContainer, zr as TableBody, Br as TableCaption, Vr as TableContainer, Hr as TableFooter, Ur as TableHeader, Wr as Textarea, Qr as ToastProvider, He as Tooltip, ui as toHtml, di as toRichTextValue, ei as useAutomation, ri as useDrawer, X as useForm, Ct as useHydrated, Yr as useModal, ii as useScopedParams, it as useScrollLock, ai as useSearchAutomation, Me as useSlider, $r as useToast };
|
|
4389
|
+
|
|
4390
|
+
//# sourceMappingURL=index.js.map
|