@hellobetterdigitalnz/betterui 0.0.3-21 → 0.0.3-210
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/dist/Components/BetterUIProvider/BetterUIContext.d.ts +3 -4
- package/dist/Components/DataDisplay/Accordion/AccordionItemProps.d.ts +2 -0
- package/dist/Components/DataDisplay/Badge/Badge.d.ts +1 -1
- package/dist/Components/DataDisplay/Badge/BadgeProps.d.ts +2 -1
- package/dist/Components/DataDisplay/Cards/BannerCard/BannerCard.d.ts +1 -0
- package/dist/Components/DataDisplay/Cards/PathwayCard/PathwayCard.d.ts +1 -0
- package/dist/Components/DataDisplay/Modal/ModalHeaderProps.d.ts +1 -1
- package/dist/Components/DataDisplay/NotificationsPanel/NotificationProps.d.ts +1 -1
- package/dist/Components/DataDisplay/Tab/TabNavItemProps.d.ts +1 -0
- package/dist/Components/DataDisplay/Table/TableFooter.d.ts +2 -1
- package/dist/Components/DataDisplay/Table/TableFooterProps.d.ts +6 -0
- package/dist/Components/DataDisplay/Table/TableHeaderCellProps.d.ts +1 -0
- package/dist/Components/DataDisplay/index.d.ts +3 -3
- package/dist/Components/Form/Button/ButtonProps.d.ts +2 -0
- package/dist/Components/Form/Checkbox/CheckboxProps.d.ts +3 -2
- package/dist/Components/Form/CurrencyField/CurrencyFieldProps.d.ts +1 -0
- package/dist/Components/Form/DropdownBadge/DropdownBadgeItemProps.d.ts +1 -1
- package/dist/Components/Form/DropdownBadge/DropdownBadgeProps.d.ts +5 -3
- package/dist/Components/Form/DropdownBadge/DropdownBadgeSelectorProps.d.ts +3 -0
- package/dist/Components/Form/DropdownField/DropdownFieldItemProps.d.ts +2 -2
- package/dist/Components/Form/DropdownField/DropdownFieldProps.d.ts +4 -2
- package/dist/Components/Form/DropdownField/DropdownFieldSelectorProps.d.ts +2 -0
- package/dist/Components/Form/FormFieldHolder/FormFieldHolderProps.d.ts +3 -1
- package/dist/Components/Form/IconButton/IconButtonProps.d.ts +1 -0
- package/dist/Components/Form/InputProps.d.ts +3 -1
- package/dist/Components/Form/MultiSelectField/MultiSelectField.d.ts +3 -8
- package/dist/Components/Form/MultiSelectField/MultiSelectFieldItem.d.ts +2 -10
- package/dist/Components/Form/MultiSelectField/MultiSelectFieldItemProps.d.ts +11 -0
- package/dist/Components/Form/MultiSelectField/MultiSelectFieldProps.d.ts +32 -0
- package/dist/Components/Form/MultiSelectField/MultiSelectFieldTag.d.ts +2 -9
- package/dist/Components/Form/MultiSelectField/MultiSelectFieldTagProps.d.ts +5 -0
- package/dist/Components/Form/NumberField/NumberField.d.ts +3 -0
- package/dist/Components/Form/NumberField/NumberField.stories.d.ts +13 -0
- package/dist/Components/Form/NumberField/NumberFieldProps.d.ts +7 -0
- package/dist/Components/Form/PhoneField/PhoneField.d.ts +3 -0
- package/dist/Components/Form/PhoneField/PhoneField.stories.d.ts +13 -0
- package/dist/Components/Form/RichTextEditor/RichTextEditor.d.ts +3 -0
- package/dist/Components/Form/RichTextEditor/RichTextEditor.stories.d.ts +18 -0
- package/dist/Components/Form/RichTextEditor/RichTextEditorProps.d.ts +22 -0
- package/dist/Components/Form/TypableDropdownField/TypableDropdownField.d.ts +3 -0
- package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldItem.d.ts +3 -0
- package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldItemProps.d.ts +7 -0
- package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldProps.d.ts +33 -0
- package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldSelector.d.ts +3 -0
- package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldSelectorProps.d.ts +7 -0
- package/dist/Components/Form/UnitInput/UnitFieldProps.d.ts +1 -1
- package/dist/Components/Form/index.d.ts +14 -0
- package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +3 -0
- package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +3 -0
- package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +3 -0
- package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +3 -0
- package/dist/Components/Icons/Communication/Export/Export.d.ts +3 -0
- package/dist/Components/Icons/Communication/Phone/Phone.d.ts +3 -0
- package/dist/Components/Icons/Communication/Translate/Translate.d.ts +3 -0
- package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +3 -0
- package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +3 -0
- package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Globe/Globe.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/House/House.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartBar/ChartBar.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +3 -0
- package/dist/Components/Icons/Media/Camera/Camera.d.ts +3 -0
- package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +3 -0
- package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +3 -0
- package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Folder/Folder.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +3 -0
- package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +3 -0
- package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +3 -0
- package/dist/Components/Icons/People/User/User.d.ts +3 -0
- package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +3 -0
- package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Gear/Gear.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +3 -0
- package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +3 -0
- package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +3 -0
- package/dist/Components/Icons/index.d.ts +62 -0
- package/dist/Components/Layout/CalloutPopup/CalloutPopupActionHolderProps.d.ts +4 -1
- package/dist/Components/Layout/Header/HeaderLeftProps.d.ts +2 -0
- package/dist/Components/Layout/Header/HeaderRightProps.d.ts +1 -0
- package/dist/Components/Layout/ProfileDropdown/ProfileNavigationItemProps.d.ts +1 -1
- package/dist/Components/Layout/Sidebar/SidebarChevronProps.d.ts +2 -1
- package/dist/Components/Layout/Sidebar/SidebarNavigationItemProps.d.ts +1 -0
- package/dist/Components/Layout/Sidebar/SidebarSubNavigation.d.ts +2 -2
- package/dist/Components/Layout/Sidebar/SidebarSubNavigationItemProps.d.ts +1 -0
- package/dist/Components/Layout/Sidebar/SidebarSubNavigationProps.d.ts +3 -0
- package/dist/image/logo-small.svg +4 -4
- package/dist/image/logo.svg +26 -26
- package/dist/index.cjs.js +21 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6808 -2251
- package/dist/index.es.js.map +1 -1
- package/dist/lib/tinymce/icons/default/icons.min.js +1 -0
- package/dist/lib/tinymce/langs/README.md +3 -0
- package/dist/lib/tinymce/license.md +6 -0
- package/dist/lib/tinymce/models/dom/model.min.js +4 -0
- package/dist/lib/tinymce/plugins/accordion/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/advlist/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/anchor/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/autolink/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/autoresize/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/autosave/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/charmap/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/code/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/codesample/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/directionality/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
- package/dist/lib/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/dist/lib/tinymce/plugins/emoticons/js/emojis.js +1 -0
- package/dist/lib/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
- package/dist/lib/tinymce/plugins/emoticons/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/fullscreen/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/dist/lib/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/dist/lib/tinymce/plugins/help/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/image/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/importcss/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/insertdatetime/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/link/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/lists/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/media/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/nonbreaking/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/pagebreak/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/preview/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/quickbars/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/save/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/searchreplace/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/table/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/visualblocks/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/visualchars/plugin.min.js +4 -0
- package/dist/lib/tinymce/plugins/wordcount/plugin.min.js +4 -0
- package/dist/lib/tinymce/skins/content/dark/content.js +2 -0
- package/dist/lib/tinymce/skins/content/dark/content.min.css +1 -0
- package/dist/lib/tinymce/skins/content/default/content.js +2 -0
- package/dist/lib/tinymce/skins/content/default/content.min.css +1 -0
- package/dist/lib/tinymce/skins/content/document/content.js +2 -0
- package/dist/lib/tinymce/skins/content/document/content.min.css +1 -0
- package/dist/lib/tinymce/skins/content/tinymce-5/content.js +2 -0
- package/dist/lib/tinymce/skins/content/tinymce-5/content.min.css +1 -0
- package/dist/lib/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
- package/dist/lib/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
- package/dist/lib/tinymce/skins/content/writer/content.js +2 -0
- package/dist/lib/tinymce/skins/content/writer/content.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide/content.inline.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide/content.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide/content.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide/skin.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/content.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/content.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/skin.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/dist/lib/tinymce/themes/silver/theme.min.js +4 -0
- package/dist/lib/tinymce/tinymce.d.ts +3250 -0
- package/dist/lib/tinymce/tinymce.min.js +4 -0
- package/dist/style.css +1 -1
- package/package.json +13 -12
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
2
|
interface BetterUIContextType {
|
|
3
|
-
|
|
4
|
-
modal?: React.ReactNode;
|
|
3
|
+
modalStack: ReactNode[];
|
|
5
4
|
openModal: (modal: React.ReactNode) => void;
|
|
6
5
|
closeModal: () => void;
|
|
7
|
-
|
|
6
|
+
closeAllModals: () => void;
|
|
8
7
|
}
|
|
9
8
|
declare const BetterUIContext: import("react").Context<BetterUIContextType>;
|
|
10
9
|
export default BetterUIContext;
|
|
@@ -32,10 +32,10 @@ export type { default as NotificationsBellProps } from './NotificationsBell/Noti
|
|
|
32
32
|
export { default as Notification } from './NotificationsPanel/Notification';
|
|
33
33
|
export { default as NotificationsGroup } from './NotificationsPanel/NotificationsGroup';
|
|
34
34
|
export { default as NotificationsGroups } from './NotificationsPanel/NotificationsGroups';
|
|
35
|
+
export { default as NotificationsPanel } from './NotificationsPanel/NotificationsPanel';
|
|
36
|
+
export { default as NotificationsHeader } from './NotificationsPanel/NotificationsHeader';
|
|
37
|
+
export { default as NotificationsNone } from './NotificationsPanel/NotificationsNone';
|
|
35
38
|
export type { default as NotificationProps } from './NotificationsPanel/NotificationProps';
|
|
36
|
-
export type { default as NotificationsHeader } from './NotificationsPanel/NotificationsHeader';
|
|
37
|
-
export type { default as NotificationsNone } from './NotificationsPanel/NotificationsNone';
|
|
38
|
-
export type { default as NotificationsPanel } from './NotificationsPanel/NotificationsPanel';
|
|
39
39
|
export type { default as NotificationsGroupProps } from './NotificationsPanel/NotificationsGroupProps';
|
|
40
40
|
export type { default as NotificationsGroupsProps } from './NotificationsPanel/NotificationsGroupsProps';
|
|
41
41
|
export type { default as NotificationsHeaderProps } from './NotificationsPanel/NotificationsHeaderProps';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FocusEvent, MouseEvent } from "react";
|
|
1
|
+
import { ChangeEvent, FocusEvent, MouseEvent } from "react";
|
|
2
2
|
interface CheckboxProps {
|
|
3
3
|
label?: string;
|
|
4
4
|
name?: string;
|
|
@@ -14,7 +14,8 @@ interface CheckboxProps {
|
|
|
14
14
|
ariaLabel?: string;
|
|
15
15
|
ariaLabeledby?: string;
|
|
16
16
|
ariaDescribedby?: string;
|
|
17
|
-
|
|
17
|
+
onClick?: (e: MouseEvent, checked?: boolean) => void;
|
|
18
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
18
19
|
onFocus?: (e: FocusEvent) => void;
|
|
19
20
|
onBlur?: (e: FocusEvent) => void;
|
|
20
21
|
}
|
|
@@ -2,7 +2,7 @@ import { MouseEvent } from "react";
|
|
|
2
2
|
interface DropdownBadgeItemProps {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string | number;
|
|
5
|
-
status?: "pending" | "inProgress" | "complete";
|
|
5
|
+
status?: "draft" | "pending" | "inProgress" | "complete" | "custom";
|
|
6
6
|
handleSelect: (e: MouseEvent, value: string | number) => void;
|
|
7
7
|
}
|
|
8
8
|
export default DropdownBadgeItemProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent, FocusEvent } from "react";
|
|
2
2
|
interface BadgeNameValueInterface {
|
|
3
3
|
label: string;
|
|
4
|
-
status?: "pending" | "inProgress" | "complete" | undefined;
|
|
4
|
+
status?: "draft" | "pending" | "inProgress" | "complete" | "custom" | undefined;
|
|
5
5
|
value: string | number;
|
|
6
6
|
}
|
|
7
7
|
interface DropdownBadgeProps {
|
|
@@ -9,8 +9,10 @@ interface DropdownBadgeProps {
|
|
|
9
9
|
id?: string;
|
|
10
10
|
value?: string;
|
|
11
11
|
options: (BadgeNameValueInterface | string)[];
|
|
12
|
-
status?: "pending" | "inProgress" | "complete" | undefined;
|
|
12
|
+
status?: "draft" | "pending" | "inProgress" | "complete" | "custom" | undefined;
|
|
13
|
+
lock?: boolean;
|
|
13
14
|
extraClass?: string;
|
|
15
|
+
extraClassDropdown?: string;
|
|
14
16
|
disabled?: boolean;
|
|
15
17
|
readonly?: boolean;
|
|
16
18
|
autoComplete?: boolean;
|
|
@@ -19,7 +21,7 @@ interface DropdownBadgeProps {
|
|
|
19
21
|
ariaLabeledby?: string;
|
|
20
22
|
ariaDescribedby?: string;
|
|
21
23
|
onClick?: (e: MouseEvent) => void;
|
|
22
|
-
onChange?: (e: MouseEvent) => void;
|
|
24
|
+
onChange?: (e: React.MouseEvent, value: string | number) => void;
|
|
23
25
|
onFocus?: (e: FocusEvent) => void;
|
|
24
26
|
onBlur?: (e: FocusEvent) => void;
|
|
25
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent } from "react";
|
|
2
2
|
interface DropdownFieldItemProps {
|
|
3
3
|
label: string;
|
|
4
|
-
value: string | number;
|
|
5
|
-
handleSelect: (e: MouseEvent, value: string | number) => void;
|
|
4
|
+
value: string | number | undefined | null | boolean;
|
|
5
|
+
handleSelect: (e: MouseEvent, value: string | number | undefined | null | boolean) => void;
|
|
6
6
|
}
|
|
7
7
|
export default DropdownFieldItemProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent, FocusEvent } from "react";
|
|
2
2
|
interface NameValueInterface {
|
|
3
3
|
label: string;
|
|
4
|
-
value: string | number;
|
|
4
|
+
value: string | number | undefined | null | boolean;
|
|
5
5
|
}
|
|
6
6
|
interface DropdownFieldProps {
|
|
7
7
|
name?: string;
|
|
@@ -10,6 +10,8 @@ interface DropdownFieldProps {
|
|
|
10
10
|
options: NameValueInterface[] | string[];
|
|
11
11
|
extraClass?: string;
|
|
12
12
|
placeholder?: string;
|
|
13
|
+
emptyString?: string;
|
|
14
|
+
commentInDropdown?: string;
|
|
13
15
|
error?: boolean;
|
|
14
16
|
disabled?: boolean;
|
|
15
17
|
readonly?: boolean;
|
|
@@ -21,7 +23,7 @@ interface DropdownFieldProps {
|
|
|
21
23
|
ariaLabeledby?: string;
|
|
22
24
|
ariaDescribedby?: string;
|
|
23
25
|
onClick?: (e: MouseEvent) => void;
|
|
24
|
-
onChange?: (e: MouseEvent) => void;
|
|
26
|
+
onChange?: (e: React.MouseEvent, value: string | number | undefined | null | boolean) => void;
|
|
25
27
|
onFocus?: (e: FocusEvent) => void;
|
|
26
28
|
onBlur?: (e: FocusEvent) => void;
|
|
27
29
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
interface FormFieldHolderProps {
|
|
3
|
-
label?: string;
|
|
3
|
+
label?: string | any;
|
|
4
|
+
bilingualLabel?: string;
|
|
4
5
|
description?: string | ReactNode;
|
|
5
6
|
extraClass?: string;
|
|
6
7
|
error?: boolean;
|
|
7
8
|
children: ReactNode;
|
|
8
9
|
icon?: ReactNode;
|
|
10
|
+
require?: boolean;
|
|
9
11
|
}
|
|
10
12
|
export default FormFieldHolderProps;
|
|
@@ -2,7 +2,7 @@ import { FocusEvent, ChangeEvent, MouseEvent } from "react";
|
|
|
2
2
|
interface InputProps {
|
|
3
3
|
name?: string;
|
|
4
4
|
id?: string;
|
|
5
|
-
value?: string;
|
|
5
|
+
value?: string | number | bigint | any;
|
|
6
6
|
extraClass?: string;
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
error?: boolean;
|
|
@@ -11,6 +11,8 @@ interface InputProps {
|
|
|
11
11
|
autoComplete?: boolean;
|
|
12
12
|
required?: boolean;
|
|
13
13
|
ariaLabel?: string;
|
|
14
|
+
min?: string;
|
|
15
|
+
max?: string;
|
|
14
16
|
minLength?: number;
|
|
15
17
|
maxLength?: number;
|
|
16
18
|
ariaLabeledby?: string;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
label: string;
|
|
5
|
-
}
|
|
6
|
-
declare const MultiSelectField: React.FC<{
|
|
7
|
-
options: Item[];
|
|
8
|
-
}>;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MultiSelectFieldProps from "./MultiSelectFieldProps";
|
|
3
|
+
declare const MultiSelectField: React.FC<MultiSelectFieldProps>;
|
|
9
4
|
export default MultiSelectField;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
item: {
|
|
4
|
-
id: number;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
isSelected: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const MultiSelectFieldItem: React.FC<MultiSelectFieldItemProps>;
|
|
1
|
+
import MultiSelectFieldItemProps from "./MultiSelectFieldItemProps.tsx";
|
|
2
|
+
declare const MultiSelectFieldItem: (props: MultiSelectFieldItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
3
|
export default MultiSelectFieldItem;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface MultiSelectFieldItemProps {
|
|
3
|
+
id?: number | string | undefined;
|
|
4
|
+
label?: string;
|
|
5
|
+
value?: string | number;
|
|
6
|
+
handleSelect: (e: React.MouseEvent, value: string | number | undefined) => void;
|
|
7
|
+
onMouseEnter?: () => void;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
isHighlighted?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export default MultiSelectFieldItemProps;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { MouseEvent, FocusEvent } from "react";
|
|
2
|
+
interface SelectOption {
|
|
3
|
+
label: string | any;
|
|
4
|
+
value: string | number | any;
|
|
5
|
+
}
|
|
6
|
+
interface MultiSelectFieldProps {
|
|
7
|
+
name?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
value?: SelectOption[];
|
|
10
|
+
options: SelectOption[];
|
|
11
|
+
extraClass?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
error?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
autoComplete?: boolean;
|
|
17
|
+
minLength?: number;
|
|
18
|
+
maxLength?: number;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
ariaLabel?: string;
|
|
21
|
+
ariaLabeledby?: string;
|
|
22
|
+
creatable?: boolean;
|
|
23
|
+
onCreateNew?: (option: string | number, e: any) => void;
|
|
24
|
+
ariaDescribedby?: string;
|
|
25
|
+
onClick?: (e: MouseEvent) => void;
|
|
26
|
+
onChange: (value: SelectOption[]) => void;
|
|
27
|
+
onFocus?: (e: FocusEvent) => void;
|
|
28
|
+
onBlur?: (e: FocusEvent) => void;
|
|
29
|
+
onSearch?: (keywords: any) => void;
|
|
30
|
+
}
|
|
31
|
+
export type { SelectOption };
|
|
32
|
+
export default MultiSelectFieldProps;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
item: {
|
|
4
|
-
id: number;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
onRemove: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const MultiSelectFieldTag: React.FC<MultiSelectFieldTagProps>;
|
|
1
|
+
import MultiSelectFieldTagProps from "./MultiSelectFieldTagProps.tsx";
|
|
2
|
+
declare const MultiSelectFieldTag: (props: MultiSelectFieldTagProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
3
|
export default MultiSelectFieldTag;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import NumberField from "././NumberField.tsx";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: import("./NumberFieldProps.tsx").default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof NumberField>;
|
|
13
|
+
export declare const Example: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import PhoneField from "./PhoneField.tsx";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: import("../InputProps.tsx").default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof PhoneField>;
|
|
13
|
+
export declare const Example: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import RichTextEditor from "./RichTextEditor";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: import("./RichTextEditorProps").default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
docs: {
|
|
9
|
+
description: {
|
|
10
|
+
component: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
tags: string[];
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof RichTextEditor>;
|
|
18
|
+
export declare const Example: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface RichTextEditorProps {
|
|
2
|
+
name?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
extraClass?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
autoComplete?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
ariaLabeledby?: string;
|
|
14
|
+
ariaDescribedby?: string;
|
|
15
|
+
rows?: number;
|
|
16
|
+
displayChars?: boolean;
|
|
17
|
+
onClick?: (e: any) => void;
|
|
18
|
+
onChange?: (value: string) => void;
|
|
19
|
+
onFocus?: (e: any) => void;
|
|
20
|
+
onBlur?: (e: any) => void;
|
|
21
|
+
}
|
|
22
|
+
export default RichTextEditorProps;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { MouseEvent, FocusEvent, ReactNode } from "react";
|
|
2
|
+
interface TypableNameValueInterface {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
}
|
|
6
|
+
interface TypableDropdownFieldProps {
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
name?: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
value?: string | number | undefined;
|
|
11
|
+
options: TypableNameValueInterface[] | string[];
|
|
12
|
+
extraClass?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
autoComplete?: boolean;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
minLength?: number;
|
|
21
|
+
maxLength?: number;
|
|
22
|
+
ariaLabeledby?: string;
|
|
23
|
+
creatable?: boolean;
|
|
24
|
+
onCreateNew?: (option: string | number, e: any) => void;
|
|
25
|
+
onClick?: (e: MouseEvent) => void;
|
|
26
|
+
onChange?: (e: MouseEvent, value: string | number) => void;
|
|
27
|
+
onFocus?: (e: FocusEvent) => void;
|
|
28
|
+
onBlur?: (e: FocusEvent) => void;
|
|
29
|
+
onSearch?: (keywords: any) => void;
|
|
30
|
+
isLoading?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export type { TypableNameValueInterface };
|
|
33
|
+
export default TypableDropdownFieldProps;
|
|
@@ -32,17 +32,31 @@ export type { default as IconButtonProps } from './IconButton/IconButtonProps';
|
|
|
32
32
|
export { default as MultiSelectField } from './MultiSelectField/MultiSelectField';
|
|
33
33
|
export { default as MultiSelectFieldItem } from './MultiSelectField/MultiSelectFieldItem';
|
|
34
34
|
export { default as MultiSelectFieldTag } from './MultiSelectField/MultiSelectFieldTag';
|
|
35
|
+
export type { default as MultiSelectFieldTagProps } from './MultiSelectField/MultiSelectFieldTagProps.tsx';
|
|
36
|
+
export type { default as MultiSelectFieldProps } from './MultiSelectField/MultiSelectFieldProps.tsx';
|
|
37
|
+
export type { default as MultiSelectFieldItemProps } from './MultiSelectField/MultiSelectFieldItemProps.tsx';
|
|
38
|
+
export { default as TypableDropdownField } from './TypableDropdownField/TypableDropdownField.tsx';
|
|
39
|
+
export { default as TypableDropdownFieldItem } from './TypableDropdownField/TypableDropdownFieldItem.tsx';
|
|
40
|
+
export { default as TypableDropdownFieldSelector } from './TypableDropdownField/TypableDropdownFieldSelector.tsx';
|
|
41
|
+
export type { default as TypableDropdownFieldProps } from './TypableDropdownField/TypableDropdownFieldProps.tsx';
|
|
42
|
+
export type { default as TypableDropdownFieldItemProps } from './TypableDropdownField/TypableDropdownFieldItemProps.tsx';
|
|
43
|
+
export type { default as TypableDropdownFieldSelectorProps } from './TypableDropdownField/TypableDropdownFieldSelectorProps.tsx';
|
|
35
44
|
export { default as PasswordField } from './PasswordField/PasswordField';
|
|
36
45
|
export { default as RadioButton } from './RadioButtons/RadioButton';
|
|
37
46
|
export { default as RadioButtons } from './RadioButtons/RadioButtons';
|
|
38
47
|
export type { default as RadioButtonProps } from './RadioButtons/RadioButtonProps';
|
|
39
48
|
export type { default as RadioButtonsProps } from './RadioButtons/RadioButtonsProps';
|
|
49
|
+
export { default as RichTextEditor } from './RichTextEditor/RichTextEditor';
|
|
50
|
+
export type { default as RichTextEditorProps } from './RichTextEditor/RichTextEditorProps';
|
|
40
51
|
export { default as Textarea } from './Textarea/Textarea';
|
|
41
52
|
export type { default as TextareaProps } from './Textarea/TextareaProps';
|
|
42
53
|
export { default as TextField } from './TextField/TextField';
|
|
43
54
|
export type { default as TextFieldProps } from './TextField/TextFieldProps';
|
|
55
|
+
export { default as NumberField } from './NumberField/NumberField.tsx';
|
|
56
|
+
export type { default as NumberFieldProps } from './NumberField/NumberFieldProps.tsx';
|
|
44
57
|
export { default as UnitField } from './UnitInput/UnitField.tsx';
|
|
45
58
|
export type { default as UnitFieldProps } from './UnitInput/UnitField.tsx';
|
|
46
59
|
export { default as TimeField } from './TimeField/TimeField';
|
|
60
|
+
export { default as PhoneField } from './PhoneField/PhoneField.tsx';
|
|
47
61
|
export { default as ToggleSwitch } from './ToggleSwitch/ToggleSwitch';
|
|
48
62
|
export type { default as ToggleSwitchProps } from './ToggleSwitch/ToggleSwitchProps';
|