@decisiv/ui-components 2.0.1-alpha.17 → 2.0.1-alpha.174
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/lib/atoms/BaseButton/index.d.ts.map +1 -1
- package/lib/atoms/BaseButton/index.js +1 -1
- package/lib/atoms/BooleanInput/elements.d.ts.map +1 -1
- package/lib/atoms/BooleanInput/elements.js +8 -3
- package/lib/atoms/BooleanInput/index.d.ts.map +1 -1
- package/lib/atoms/BooleanInput/index.js +26 -5
- package/lib/atoms/BooleanInput/index.test.js +17 -6
- package/lib/atoms/BooleanInput/types.d.ts +4 -0
- package/lib/atoms/BooleanInput/types.d.ts.map +1 -1
- package/lib/atoms/BooleanInput/types.js +5 -1
- package/lib/atoms/Calendar/hooks/useCalendar/index.d.ts.map +1 -1
- package/lib/atoms/Calendar/hooks/useCalendar/index.js +2 -1
- package/lib/atoms/Calendar/hooks/useCalendar/index.test.js +5 -6
- package/lib/atoms/Calendar/index.d.ts.map +1 -1
- package/lib/atoms/Calendar/index.js +46 -6
- package/lib/atoms/Calendar/index.test.js +68 -38
- package/lib/atoms/Calendar/types.d.ts +1 -1
- package/lib/atoms/Calendar/types.d.ts.map +1 -1
- package/lib/atoms/Calendar/types.js +5 -1
- package/lib/atoms/InputField/Containers.d.ts +12 -6
- package/lib/atoms/InputField/Containers.d.ts.map +1 -1
- package/lib/atoms/InputField/Containers.js +8 -6
- package/lib/atoms/InputField/InputLabel.d.ts +1 -0
- package/lib/atoms/InputField/InputLabel.d.ts.map +1 -1
- package/lib/atoms/InputField/InputLabel.js +2 -1
- package/lib/atoms/InputField/index.d.ts +6 -0
- package/lib/atoms/InputField/index.d.ts.map +1 -1
- package/lib/atoms/InputField/index.js +25 -8
- package/lib/atoms/InputField/index.test.js +91 -0
- package/lib/atoms/InputField/schema.d.ts.map +1 -1
- package/lib/atoms/InputField/schema.js +3 -2
- package/lib/atoms/OptionsList/Category.d.ts +1 -1
- package/lib/atoms/OptionsList/Category.d.ts.map +1 -1
- package/lib/atoms/OptionsList/Category.js +4 -2
- package/lib/atoms/OptionsList/Footer.d.ts +8 -0
- package/lib/atoms/OptionsList/Footer.d.ts.map +1 -0
- package/lib/atoms/OptionsList/Footer.js +72 -0
- package/lib/atoms/OptionsList/Option.d.ts.map +1 -1
- package/lib/atoms/OptionsList/Option.js +24 -9
- package/lib/atoms/OptionsList/index.d.ts.map +1 -1
- package/lib/atoms/OptionsList/index.js +44 -17
- package/lib/atoms/OptionsList/index.test.js +127 -17
- package/lib/atoms/OptionsList/schema.d.ts.map +1 -1
- package/lib/atoms/OptionsList/schema.js +5 -0
- package/lib/atoms/OptionsList/types.d.ts +15 -0
- package/lib/atoms/OptionsList/types.d.ts.map +1 -1
- package/lib/atoms/OptionsList/types.js +5 -1
- package/lib/atoms/RequiredIcon.d.ts +9 -0
- package/lib/atoms/RequiredIcon.d.ts.map +1 -0
- package/lib/atoms/{InputField/RequiredIcon.js → RequiredIcon.js} +7 -3
- package/lib/components/Accordion/types.js +5 -1
- package/lib/components/Accordion/useAccordion/types.js +5 -1
- package/lib/components/Alert/Container.d.ts +201 -0
- package/lib/components/Alert/Container.d.ts.map +1 -0
- package/lib/components/Alert/Container.js +26 -0
- package/lib/components/Alert/StyledButton.d.ts +5 -0
- package/lib/components/Alert/StyledButton.d.ts.map +1 -0
- package/lib/components/Alert/StyledButton.js +23 -0
- package/lib/components/Alert/index.d.ts +27 -0
- package/lib/components/Alert/index.d.ts.map +1 -0
- package/lib/components/Alert/index.js +112 -0
- package/lib/components/Alert/index.test.js +79 -0
- package/lib/components/Alert/intents.d.ts +13 -0
- package/lib/components/Alert/intents.d.ts.map +1 -0
- package/lib/components/Alert/intents.js +72 -0
- package/lib/components/{Tabs/schema.tab.d.ts → Alert/schema.d.ts} +1 -1
- package/lib/components/Alert/schema.d.ts.map +1 -0
- package/lib/components/Alert/schema.js +25 -0
- package/lib/components/Alert/types.d.ts +36 -0
- package/lib/components/Alert/types.d.ts.map +1 -0
- package/lib/components/Alert/types.js +32 -0
- package/lib/components/Avatar/types.js +5 -1
- package/lib/components/Badge/constants.d.ts +2 -0
- package/lib/components/Badge/constants.d.ts.map +1 -0
- package/lib/components/Badge/constants.js +29 -0
- package/lib/components/Badge/index.d.ts.map +1 -1
- package/lib/components/Badge/index.js +12 -23
- package/lib/components/Badge/index.test.js +51 -8
- package/lib/components/Badge/schema.js +1 -1
- package/lib/components/Badge/types.d.ts +1 -1
- package/lib/components/Badge/types.d.ts.map +1 -1
- package/lib/components/Badge/types.js +7 -3
- package/lib/components/Breadcrumbs/types.js +5 -1
- package/lib/components/Button/StyledButton.d.ts +4 -2
- package/lib/components/Button/StyledButton.d.ts.map +1 -1
- package/lib/components/Button/StyledButton.js +37 -10
- package/lib/components/Button/index.d.ts.map +1 -1
- package/lib/components/Button/index.js +51 -12
- package/lib/components/Button/index.test.js +43 -8
- package/lib/components/Button/schema.d.ts +6 -1
- package/lib/components/Button/schema.d.ts.map +1 -1
- package/lib/components/Button/schema.js +13 -5
- package/lib/components/Button/types.d.ts +4 -1
- package/lib/components/Button/types.d.ts.map +1 -1
- package/lib/components/Button/types.js +5 -1
- package/lib/components/Checkbox/index.d.ts.map +1 -1
- package/lib/components/Checkbox/index.js +3 -1
- package/lib/components/Checkbox/schema.d.ts.map +1 -1
- package/lib/components/Checkbox/schema.js +2 -0
- package/lib/components/Combobox/Target.d.ts.map +1 -1
- package/lib/components/Combobox/Target.js +52 -14
- package/lib/components/Combobox/index.d.ts.map +1 -1
- package/lib/components/Combobox/index.js +196 -66
- package/lib/components/Combobox/index.test.js +369 -146
- package/lib/components/Combobox/schema.d.ts.map +1 -1
- package/lib/components/Combobox/schema.js +10 -2
- package/lib/components/Combobox/types.d.ts +12 -3
- package/lib/components/Combobox/types.d.ts.map +1 -1
- package/lib/components/Combobox/types.js +5 -1
- package/lib/components/Drawer/index.d.ts +22 -0
- package/lib/components/Drawer/index.d.ts.map +1 -0
- package/lib/components/Drawer/index.js +105 -0
- package/lib/components/Drawer/index.test.js +122 -0
- package/lib/components/Drawer/schema.d.ts +3 -0
- package/lib/components/Drawer/schema.d.ts.map +1 -0
- package/lib/components/Drawer/schema.js +32 -0
- package/lib/components/Drawer/styles.d.ts +11 -0
- package/lib/components/Drawer/styles.d.ts.map +1 -0
- package/lib/components/Drawer/styles.js +79 -0
- package/lib/components/DropdownList/index.d.ts +4 -0
- package/lib/components/DropdownList/index.d.ts.map +1 -1
- package/lib/components/DropdownList/index.js +76 -11
- package/lib/components/DropdownList/propTypes.d.ts +4 -0
- package/lib/components/DropdownList/propTypes.d.ts.map +1 -0
- package/lib/components/DropdownList/propTypes.js +42 -0
- package/lib/components/DropdownList/schema.d.ts.map +1 -1
- package/lib/components/DropdownList/schema.js +6 -1
- package/lib/components/DropdownList/types.d.ts +4 -1
- package/lib/components/DropdownList/types.d.ts.map +1 -1
- package/lib/components/Filter/IconWrapper/index.d.ts +197 -0
- package/lib/components/Filter/IconWrapper/index.d.ts.map +1 -0
- package/lib/components/Filter/IconWrapper/index.js +35 -0
- package/lib/components/Filter/SimplePrimary/index.d.ts +31 -0
- package/lib/components/Filter/SimplePrimary/index.d.ts.map +1 -0
- package/lib/components/Filter/SimplePrimary/index.js +58 -0
- package/lib/components/Filter/SimplePrimary/index.test.js +34 -0
- package/lib/components/Filter/StyledFilter.d.ts +4 -0
- package/lib/components/Filter/StyledFilter.d.ts.map +1 -0
- package/lib/components/Filter/StyledFilter.js +41 -0
- package/lib/components/Filter/StyledLabel/index.d.ts +8 -0
- package/lib/components/Filter/StyledLabel/index.d.ts.map +1 -0
- package/lib/components/Filter/StyledLabel/index.js +30 -0
- package/lib/components/Filter/index.d.ts +5 -0
- package/lib/components/Filter/index.d.ts.map +1 -0
- package/lib/components/Filter/index.js +107 -0
- package/lib/components/Filter/index.test.js +60 -0
- package/lib/components/Filter/kind.d.ts +6 -0
- package/lib/components/Filter/kind.d.ts.map +1 -0
- package/lib/components/Filter/kind.js +45 -0
- package/lib/components/Filter/schema.d.ts +9 -0
- package/lib/components/Filter/schema.d.ts.map +1 -0
- package/lib/components/Filter/schema.js +33 -0
- package/lib/components/Filter/types.d.ts +18 -0
- package/lib/components/Filter/types.d.ts.map +1 -0
- package/lib/components/Filter/types.js +5 -0
- package/lib/components/JumpTo/JumpToMenu.d.ts +2 -2
- package/lib/components/JumpTo/JumpToMenu.d.ts.map +1 -1
- package/lib/components/JumpTo/JumpToMenu.js +3 -3
- package/lib/components/JumpTo/types.js +5 -1
- package/lib/components/JumpTo/utils.d.ts.map +1 -1
- package/lib/components/JumpTo/utils.js +3 -7
- package/lib/components/LeftNav/Item/ClickArea.js +1 -1
- package/lib/components/LeftNav/Item/ItemWrapper.d.ts.map +1 -1
- package/lib/components/LeftNav/Item/ItemWrapper.js +3 -3
- package/lib/components/LeftNav/Item/MenuItemWrapper.d.ts +7 -0
- package/lib/components/LeftNav/Item/MenuItemWrapper.d.ts.map +1 -0
- package/lib/components/LeftNav/Item/MenuItemWrapper.js +20 -0
- package/lib/components/LeftNav/Item/NavCollapsedXItem/index.d.ts.map +1 -1
- package/lib/components/LeftNav/Item/NavCollapsedXItem/index.js +7 -5
- package/lib/components/LeftNav/Item/NavExpandedItem/index.d.ts.map +1 -1
- package/lib/components/LeftNav/Item/NavExpandedItem/index.js +24 -13
- package/lib/components/LeftNav/Item/types.d.ts +1 -1
- package/lib/components/LeftNav/Item/types.d.ts.map +1 -1
- package/lib/components/LeftNav/Item/types.js +5 -1
- package/lib/components/LeftNav/index.test.js +13 -3
- package/lib/components/LeftNav/schema.d.ts.map +1 -1
- package/lib/components/LeftNav/schema.js +2 -0
- package/lib/components/LeftNav/types.d.ts +1 -0
- package/lib/components/LeftNav/types.d.ts.map +1 -1
- package/lib/components/LeftNav/types.js +5 -1
- package/lib/components/Link/DisabledLink.d.ts +7 -0
- package/lib/components/Link/DisabledLink.d.ts.map +1 -0
- package/lib/components/Link/DisabledLink.js +46 -0
- package/lib/components/Link/Link.d.ts +4 -0
- package/lib/components/Link/Link.d.ts.map +1 -0
- package/lib/components/Link/Link.js +67 -0
- package/lib/components/Link/index.d.ts +4 -23
- package/lib/components/Link/index.d.ts.map +1 -1
- package/lib/components/Link/index.js +20 -158
- package/lib/components/Link/index.test.js +63 -42
- package/lib/components/Link/schema.d.ts.map +1 -1
- package/lib/components/Link/schema.js +2 -1
- package/lib/components/Link/styles.d.ts +20 -0
- package/lib/components/Link/styles.d.ts.map +1 -0
- package/lib/components/Link/styles.js +131 -0
- package/lib/components/Link/types.d.ts +28 -0
- package/lib/components/Link/types.d.ts.map +1 -0
- package/lib/components/Link/types.js +5 -0
- package/lib/components/Loading/Loading.d.ts +12 -0
- package/lib/components/Loading/Loading.d.ts.map +1 -0
- package/lib/components/Loading/Loading.js +70 -0
- package/lib/components/Loading/index.d.ts +4 -0
- package/lib/components/Loading/index.d.ts.map +1 -0
- package/lib/components/Loading/index.js +33 -0
- package/lib/components/Loading/index.test.js +55 -0
- package/lib/components/Loading/schema.d.ts +4 -0
- package/lib/components/Loading/schema.d.ts.map +1 -0
- package/lib/components/Loading/schema.js +31 -0
- package/lib/components/Loading/styles.d.ts +211 -0
- package/lib/components/Loading/styles.d.ts.map +1 -0
- package/lib/components/Loading/styles.js +77 -0
- package/lib/components/Loading/types.d.ts +10 -0
- package/lib/components/Loading/types.d.ts.map +1 -0
- package/lib/components/Loading/types.js +5 -0
- package/lib/components/Menu/index.d.ts.map +1 -1
- package/lib/components/Menu/index.js +3 -1
- package/lib/components/Menu/types.d.ts +2 -0
- package/lib/components/Menu/types.d.ts.map +1 -1
- package/lib/components/Menu/types.js +5 -1
- package/lib/components/Modal/components.d.ts +2 -2
- package/lib/components/Modal/types.js +5 -1
- package/lib/components/Notifications/Notification/components.d.ts +3 -3
- package/lib/components/Notifications/Notification/components.d.ts.map +1 -1
- package/lib/components/Notifications/Notification/components.js +12 -6
- package/lib/components/Notifications/Notification/index.d.ts +3 -6
- package/lib/components/Notifications/Notification/index.d.ts.map +1 -1
- package/lib/components/Notifications/Notification/index.js +19 -12
- package/lib/components/Notifications/Notification/index.test.js +38 -19
- package/lib/components/Notifications/NotificationsPanel/index.d.ts +2 -1
- package/lib/components/Notifications/NotificationsPanel/index.d.ts.map +1 -1
- package/lib/components/Notifications/NotificationsPanel/index.js +41 -22
- package/lib/components/Notifications/NotificationsPanel/schema.js +1 -1
- package/lib/components/Notifications/Notifier.test.js +79 -10
- package/lib/components/Notifications/constants.d.ts +2 -0
- package/lib/components/Notifications/constants.d.ts.map +1 -0
- package/lib/components/Notifications/constants.js +16 -0
- package/lib/components/Notifications/schema.d.ts.map +1 -1
- package/lib/components/Notifications/schema.js +2 -1
- package/lib/components/Notifications/useNotifications.d.ts +1 -0
- package/lib/components/Notifications/useNotifications.d.ts.map +1 -1
- package/lib/components/Notifications/useNotifications.test.js +7 -4
- package/lib/components/Pagination/Pagination.d.ts +1 -1
- package/lib/components/Pagination/Pagination.d.ts.map +1 -1
- package/lib/components/Pagination/Pagination.js +1 -0
- package/lib/components/Pagination/Pagination.test.js +9 -0
- package/lib/components/Pagination/types.js +5 -1
- package/lib/components/PasswordField/IconWrapper.d.ts +198 -0
- package/lib/components/PasswordField/IconWrapper.d.ts.map +1 -0
- package/lib/components/PasswordField/IconWrapper.js +32 -0
- package/lib/components/PasswordField/Input.d.ts +6 -0
- package/lib/components/PasswordField/Input.d.ts.map +1 -0
- package/lib/components/PasswordField/Input.js +28 -0
- package/lib/components/PasswordField/ShowPasswordButton.d.ts +8 -0
- package/lib/components/PasswordField/ShowPasswordButton.d.ts.map +1 -0
- package/lib/components/PasswordField/ShowPasswordButton.js +48 -0
- package/lib/components/PasswordField/index.d.ts +14 -0
- package/lib/components/PasswordField/index.d.ts.map +1 -0
- package/lib/components/PasswordField/index.js +113 -0
- package/lib/components/PasswordField/index.test.js +217 -0
- package/lib/components/PasswordField/schema.d.ts +3 -0
- package/lib/components/PasswordField/schema.d.ts.map +1 -0
- package/lib/components/PasswordField/schema.js +27 -0
- package/lib/components/Popover/index.d.ts.map +1 -1
- package/lib/components/Popover/index.js +6 -3
- package/lib/components/Popover/schema.d.ts.map +1 -1
- package/lib/components/Popover/schema.js +27 -20
- package/lib/components/Popover/types.d.ts +1 -0
- package/lib/components/Popover/types.d.ts.map +1 -1
- package/lib/components/Popover/utils.d.ts +1 -1
- package/lib/components/SearchInput/index.d.ts +11 -0
- package/lib/components/SearchInput/index.d.ts.map +1 -0
- package/lib/components/SearchInput/index.js +190 -0
- package/lib/components/SearchInput/index.test.js +417 -0
- package/lib/components/SearchInput/schema.d.ts +3 -0
- package/lib/components/SearchInput/schema.d.ts.map +1 -0
- package/lib/components/SearchInput/schema.js +24 -0
- package/lib/components/SearchInput/types.d.ts +28 -0
- package/lib/components/SearchInput/types.d.ts.map +1 -0
- package/lib/components/SearchInput/types.js +5 -0
- package/lib/components/Select/Target.d.ts.map +1 -1
- package/lib/components/Select/Target.js +6 -2
- package/lib/components/Select/index.d.ts.map +1 -1
- package/lib/components/Select/index.js +44 -4
- package/lib/components/Select/index.test.js +106 -23
- package/lib/components/Select/schema.d.ts.map +1 -1
- package/lib/components/Select/schema.js +9 -0
- package/lib/components/Select/types.d.ts +6 -1
- package/lib/components/Select/types.d.ts.map +1 -1
- package/lib/components/Select/types.js +5 -1
- package/lib/components/SelectDate/Target.d.ts.map +1 -1
- package/lib/components/SelectDate/Target.js +6 -2
- package/lib/components/SelectDate/index.d.ts.map +1 -1
- package/lib/components/SelectDate/index.js +32 -3
- package/lib/components/SelectDate/index.test.js +108 -51
- package/lib/components/SelectDate/schema.d.ts.map +1 -1
- package/lib/components/SelectDate/schema.js +3 -0
- package/lib/components/SelectDate/types.d.ts +3 -0
- package/lib/components/SelectDate/types.d.ts.map +1 -1
- package/lib/components/SelectDate/types.js +5 -1
- package/lib/components/SelectDateRange/index.d.ts.map +1 -1
- package/lib/components/SelectDateRange/index.js +31 -2
- package/lib/components/SelectDateRange/index.test.js +115 -58
- package/lib/components/SelectDateRange/schema.d.ts.map +1 -1
- package/lib/components/SelectDateRange/schema.js +3 -0
- package/lib/components/SelectDateRange/types.js +5 -1
- package/lib/components/SelectMenu/index.d.ts +5 -0
- package/lib/components/SelectMenu/index.d.ts.map +1 -1
- package/lib/components/SelectMenu/index.js +27 -3
- package/lib/components/SelectMenu/schema.d.ts.map +1 -1
- package/lib/components/SelectMenu/schema.js +4 -0
- package/lib/components/Table/Body.d.ts.map +1 -1
- package/lib/components/Table/Body.js +28 -17
- package/lib/components/Table/Container.d.ts.map +1 -1
- package/lib/components/Table/Container.js +6 -1
- package/lib/components/Table/DataRow.d.ts.map +1 -1
- package/lib/components/Table/DataRow.js +26 -18
- package/lib/components/Table/Head.d.ts +1 -1
- package/lib/components/Table/Head.d.ts.map +1 -1
- package/lib/components/Table/Head.js +10 -5
- package/lib/components/Table/HeaderCell/index.d.ts.map +1 -1
- package/lib/components/Table/HeaderCell/index.js +19 -6
- package/lib/components/Table/HeaderCell/types.d.ts +6 -1
- package/lib/components/Table/HeaderCell/types.d.ts.map +1 -1
- package/lib/components/Table/HeaderCell/types.js +5 -1
- package/lib/components/Table/Provider.d.ts +5 -5
- package/lib/components/Table/Provider.d.ts.map +1 -1
- package/lib/components/Table/Provider.js +10 -11
- package/lib/components/Table/index.d.ts.map +1 -1
- package/lib/components/Table/index.js +110 -20
- package/lib/components/Table/index.test.js +80 -33
- package/lib/components/Table/schema.columns.d.ts.map +1 -1
- package/lib/components/Table/schema.columns.js +6 -4
- package/lib/components/Table/schema.d.ts.map +1 -1
- package/lib/components/Table/schema.js +7 -6
- package/lib/components/Table/types.d.ts +19 -4
- package/lib/components/Table/types.d.ts.map +1 -1
- package/lib/components/Table/utils.d.ts +2 -8
- package/lib/components/Table/utils.d.ts.map +1 -1
- package/lib/components/Table/utils.js +21 -20
- package/lib/components/Tabs/Tab/index.d.ts +13 -0
- package/lib/components/Tabs/Tab/index.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/index.js +94 -0
- package/lib/components/Tabs/Tab/schema.d.ts +3 -0
- package/lib/components/Tabs/Tab/schema.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/styles.d.ts +7 -0
- package/lib/components/Tabs/Tab/styles.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/styles.js +37 -0
- package/lib/components/Tabs/context.d.ts +2 -2
- package/lib/components/Tabs/context.d.ts.map +1 -1
- package/lib/components/Tabs/context.js +1 -1
- package/lib/components/Tabs/index.d.ts +17 -6
- package/lib/components/Tabs/index.d.ts.map +1 -1
- package/lib/components/Tabs/index.js +104 -163
- package/lib/components/Tabs/index.test.js +54 -2
- package/lib/components/Tabs/styles.d.ts +4 -0
- package/lib/components/Tabs/styles.d.ts.map +1 -0
- package/lib/components/Tabs/styles.js +35 -0
- package/lib/components/Tag/Action.d.ts +4 -0
- package/lib/components/Tag/Action.d.ts.map +1 -0
- package/lib/components/Tag/Action.js +39 -0
- package/lib/components/Tag/constants.d.ts +2 -2
- package/lib/components/Tag/constants.d.ts.map +1 -1
- package/lib/components/Tag/constants.js +4 -4
- package/lib/components/Tag/index.d.ts +1 -3
- package/lib/components/Tag/index.d.ts.map +1 -1
- package/lib/components/Tag/index.js +40 -97
- package/lib/components/Tag/index.test.js +239 -2
- package/lib/components/Tag/propTypes.d.ts +3 -0
- package/lib/components/Tag/propTypes.d.ts.map +1 -1
- package/lib/components/Tag/propTypes.js +5 -2
- package/lib/components/Tag/schema.d.ts.map +1 -1
- package/lib/components/Tag/schema.js +2 -0
- package/lib/components/Tag/styles.d.ts +13 -0
- package/lib/components/Tag/styles.d.ts.map +1 -0
- package/lib/components/Tag/styles.js +167 -0
- package/lib/components/Tag/types.d.ts +9 -10
- package/lib/components/Tag/types.d.ts.map +1 -1
- package/lib/components/Tag/types.js +5 -1
- package/lib/components/TextArea/TextArea.d.ts.map +1 -1
- package/lib/components/TextArea/TextArea.js +1 -1
- package/lib/components/TextArea/index.js +1 -0
- package/lib/components/TextArea/index.test.js +5 -0
- package/lib/components/TextField/Input.js +1 -1
- package/lib/components/TextField/index.test.js +5 -0
- package/lib/components/Toggle/Fieldset.d.ts.map +1 -1
- package/lib/components/Toggle/Fieldset.js +20 -11
- package/lib/components/Toggle/Option.d.ts.map +1 -1
- package/lib/components/Toggle/Option.js +1 -1
- package/lib/components/Toggle/Slider.d.ts +1 -3
- package/lib/components/Toggle/Slider.d.ts.map +1 -1
- package/lib/components/Toggle/Slider.js +29 -24
- package/lib/components/Toggle/index.d.ts.map +1 -1
- package/lib/components/Toggle/index.js +6 -1
- package/lib/components/Toggle/index.test.js +39 -10
- package/lib/components/Toggle/propTypes.js +1 -1
- package/lib/components/Toggle/schema.js +1 -1
- package/lib/components/Toggle/types.d.ts +3 -2
- package/lib/components/Toggle/types.d.ts.map +1 -1
- package/lib/components/Toggle/types.js +5 -1
- package/lib/components/ToggleView/ToggleView.d.ts +5 -0
- package/lib/components/ToggleView/ToggleView.d.ts.map +1 -0
- package/lib/components/ToggleView/ToggleView.js +80 -0
- package/lib/components/ToggleView/index.d.ts +4 -0
- package/lib/components/ToggleView/index.d.ts.map +1 -0
- package/lib/components/ToggleView/index.js +33 -0
- package/lib/components/ToggleView/index.test.js +61 -0
- package/lib/components/ToggleView/schema.d.ts +3 -0
- package/lib/components/ToggleView/schema.d.ts.map +1 -0
- package/lib/components/ToggleView/schema.js +24 -0
- package/lib/components/ToggleView/styles.d.ts +6 -0
- package/lib/components/ToggleView/styles.d.ts.map +1 -0
- package/lib/components/ToggleView/styles.js +23 -0
- package/lib/components/ToggleView/types.d.ts +23 -0
- package/lib/components/ToggleView/types.d.ts.map +1 -0
- package/lib/components/ToggleView/types.js +12 -0
- package/lib/components/Tooltip/index.d.ts.map +1 -1
- package/lib/components/Tooltip/index.js +3 -13
- package/lib/components/Tooltip/schema.d.ts +3 -0
- package/lib/components/Tooltip/schema.d.ts.map +1 -0
- package/lib/components/Tooltip/schema.js +29 -0
- package/lib/components/Typography/withColors.d.ts +1 -1
- package/lib/components/Typography/withColors.d.ts.map +1 -1
- package/lib/components/Typography/withColors.js +1 -1
- package/lib/components/index.d.ts +8 -1
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +126 -0
- package/lib/modifiers/spacingSchema.d.ts.map +1 -1
- package/lib/modifiers/spacingSchema.js +29 -16
- package/lib/providers/ConfigProvider/index.d.ts.map +1 -1
- package/lib/providers/ConfigProvider/index.js +5 -1
- package/lib/providers/ConfigProvider/utils/context.d.ts +1 -1
- package/lib/providers/ConfigProvider/utils/context.d.ts.map +1 -1
- package/lib/providers/ConfigProvider/utils/normalizer.d.ts.map +1 -1
- package/lib/providers/ConfigProvider/utils/normalizer.js +1 -1
- package/lib/providers/ConfigProvider/utils/translations.d.ts +27 -0
- package/lib/providers/ConfigProvider/utils/translations.d.ts.map +1 -1
- package/lib/providers/ConfigProvider/utils/translations.js +27 -0
- package/lib/providers/NotificationsProvider/index.d.ts +6 -5
- package/lib/providers/NotificationsProvider/index.d.ts.map +1 -1
- package/lib/providers/NotificationsProvider/index.js +47 -28
- package/lib/providers/NotificationsProvider/types.d.ts +4 -1
- package/lib/providers/NotificationsProvider/types.d.ts.map +1 -1
- package/lib/utils/commonUIColors.d.ts +349 -1
- package/lib/utils/commonUIColors.d.ts.map +1 -1
- package/lib/utils/commonUIColors.js +6 -2
- package/lib/utils/joinClassnames.d.ts +3 -0
- package/lib/utils/joinClassnames.d.ts.map +1 -0
- package/lib/utils/joinClassnames.js +26 -0
- package/lib/utils/useFirstMount.d.ts +2 -0
- package/lib/utils/useFirstMount.d.ts.map +1 -0
- package/lib/utils/useFirstMount.js +19 -0
- package/lib/utils/useUpdateEffect.d.ts +4 -0
- package/lib/utils/useUpdateEffect.d.ts.map +1 -0
- package/lib/utils/useUpdateEffect.js +28 -0
- package/package.json +2 -2
- package/CHANGELOG.md +0 -796
- package/lib/atoms/InputField/RequiredIcon.d.ts +0 -4
- package/lib/atoms/InputField/RequiredIcon.d.ts.map +0 -1
- package/lib/components/Tabs/Tab.d.ts +0 -5
- package/lib/components/Tabs/Tab.d.ts.map +0 -1
- package/lib/components/Tabs/Tab.js +0 -109
- package/lib/components/Tabs/schema.tab.d.ts.map +0 -1
- package/lib/components/Tabs/types.d.ts +0 -27
- package/lib/components/Tabs/types.d.ts.map +0 -1
- package/lib/components/Tabs/types.js +0 -1
- package/lib/components/Tag/ActionButton.d.ts +0 -5
- package/lib/components/Tag/ActionButton.d.ts.map +0 -1
- package/lib/components/Tag/ActionButton.js +0 -56
- /package/lib/components/Tabs/{schema.tab.js → Tab/schema.js} +0 -0
package/lib/components/index.js
CHANGED
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
Accordion: true,
|
|
8
|
+
Alert: true,
|
|
9
|
+
AlertProps: true,
|
|
8
10
|
AvatarProps: true,
|
|
9
11
|
AvatarRef: true,
|
|
10
12
|
Avatar: true,
|
|
@@ -17,11 +19,13 @@ var _exportNames = {
|
|
|
17
19
|
Checkbox: true,
|
|
18
20
|
CheckboxGroup: true,
|
|
19
21
|
Combobox: true,
|
|
22
|
+
Drawer: true,
|
|
20
23
|
DropdownList: true,
|
|
21
24
|
DropdownListCategory: true,
|
|
22
25
|
DropdownListItem: true,
|
|
23
26
|
DropdownListOption: true,
|
|
24
27
|
DropdownListProps: true,
|
|
28
|
+
Filter: true,
|
|
25
29
|
Flex: true,
|
|
26
30
|
Column: true,
|
|
27
31
|
Container: true,
|
|
@@ -32,6 +36,10 @@ var _exportNames = {
|
|
|
32
36
|
LeftNav: true,
|
|
33
37
|
useStickyLeftNav: true,
|
|
34
38
|
Link: true,
|
|
39
|
+
Loading: true,
|
|
40
|
+
LoadingProps: true,
|
|
41
|
+
LoadingSize: true,
|
|
42
|
+
LoadingVariant: true,
|
|
35
43
|
Menu: true,
|
|
36
44
|
Message: true,
|
|
37
45
|
Modal: true,
|
|
@@ -41,9 +49,12 @@ var _exportNames = {
|
|
|
41
49
|
Notifier: true,
|
|
42
50
|
useNotifications: true,
|
|
43
51
|
Pagination: true,
|
|
52
|
+
PasswordField: true,
|
|
44
53
|
Popover: true,
|
|
45
54
|
RadioGroup: true,
|
|
46
55
|
Select: true,
|
|
56
|
+
SearchInput: true,
|
|
57
|
+
SearchItem: true,
|
|
47
58
|
SelectDate: true,
|
|
48
59
|
DisabledDateRuleName: true,
|
|
49
60
|
DayOfWeek: true,
|
|
@@ -53,12 +64,17 @@ var _exportNames = {
|
|
|
53
64
|
TableProps: true,
|
|
54
65
|
Tabs: true,
|
|
55
66
|
Tab: true,
|
|
67
|
+
TabsProps: true,
|
|
68
|
+
TabData: true,
|
|
69
|
+
TabIcon: true,
|
|
70
|
+
TabProps: true,
|
|
56
71
|
Tag: true,
|
|
57
72
|
TagActionButtonRef: true,
|
|
58
73
|
TagRef: true,
|
|
59
74
|
TextArea: true,
|
|
60
75
|
TextField: true,
|
|
61
76
|
Toggle: true,
|
|
77
|
+
ToggleView: true,
|
|
62
78
|
TopNav: true,
|
|
63
79
|
Tooltip: true
|
|
64
80
|
};
|
|
@@ -68,6 +84,18 @@ Object.defineProperty(exports, "Accordion", {
|
|
|
68
84
|
return _Accordion.default;
|
|
69
85
|
}
|
|
70
86
|
});
|
|
87
|
+
Object.defineProperty(exports, "Alert", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function get() {
|
|
90
|
+
return _Alert.default;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "AlertProps", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function get() {
|
|
96
|
+
return _Alert.AlertProps;
|
|
97
|
+
}
|
|
98
|
+
});
|
|
71
99
|
Object.defineProperty(exports, "AvatarProps", {
|
|
72
100
|
enumerable: true,
|
|
73
101
|
get: function get() {
|
|
@@ -140,6 +168,12 @@ Object.defineProperty(exports, "Combobox", {
|
|
|
140
168
|
return _Combobox.default;
|
|
141
169
|
}
|
|
142
170
|
});
|
|
171
|
+
Object.defineProperty(exports, "Drawer", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function get() {
|
|
174
|
+
return _Drawer.default;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
143
177
|
Object.defineProperty(exports, "DropdownList", {
|
|
144
178
|
enumerable: true,
|
|
145
179
|
get: function get() {
|
|
@@ -170,6 +204,12 @@ Object.defineProperty(exports, "DropdownListProps", {
|
|
|
170
204
|
return _DropdownList.DropdownListProps;
|
|
171
205
|
}
|
|
172
206
|
});
|
|
207
|
+
Object.defineProperty(exports, "Filter", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function get() {
|
|
210
|
+
return _Filter.default;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
173
213
|
Object.defineProperty(exports, "Flex", {
|
|
174
214
|
enumerable: true,
|
|
175
215
|
get: function get() {
|
|
@@ -230,6 +270,30 @@ Object.defineProperty(exports, "Link", {
|
|
|
230
270
|
return _Link.default;
|
|
231
271
|
}
|
|
232
272
|
});
|
|
273
|
+
Object.defineProperty(exports, "Loading", {
|
|
274
|
+
enumerable: true,
|
|
275
|
+
get: function get() {
|
|
276
|
+
return _Loading.default;
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
Object.defineProperty(exports, "LoadingProps", {
|
|
280
|
+
enumerable: true,
|
|
281
|
+
get: function get() {
|
|
282
|
+
return _Loading.LoadingProps;
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
Object.defineProperty(exports, "LoadingSize", {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function get() {
|
|
288
|
+
return _Loading.LoadingSize;
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
Object.defineProperty(exports, "LoadingVariant", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function get() {
|
|
294
|
+
return _Loading.LoadingVariant;
|
|
295
|
+
}
|
|
296
|
+
});
|
|
233
297
|
Object.defineProperty(exports, "Menu", {
|
|
234
298
|
enumerable: true,
|
|
235
299
|
get: function get() {
|
|
@@ -284,6 +348,12 @@ Object.defineProperty(exports, "Pagination", {
|
|
|
284
348
|
return _Pagination.default;
|
|
285
349
|
}
|
|
286
350
|
});
|
|
351
|
+
Object.defineProperty(exports, "PasswordField", {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function get() {
|
|
354
|
+
return _PasswordField.default;
|
|
355
|
+
}
|
|
356
|
+
});
|
|
287
357
|
Object.defineProperty(exports, "Popover", {
|
|
288
358
|
enumerable: true,
|
|
289
359
|
get: function get() {
|
|
@@ -302,6 +372,18 @@ Object.defineProperty(exports, "Select", {
|
|
|
302
372
|
return _Select.default;
|
|
303
373
|
}
|
|
304
374
|
});
|
|
375
|
+
Object.defineProperty(exports, "SearchInput", {
|
|
376
|
+
enumerable: true,
|
|
377
|
+
get: function get() {
|
|
378
|
+
return _SearchInput.default;
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
Object.defineProperty(exports, "SearchItem", {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function get() {
|
|
384
|
+
return _SearchInput.SearchItem;
|
|
385
|
+
}
|
|
386
|
+
});
|
|
305
387
|
Object.defineProperty(exports, "SelectDate", {
|
|
306
388
|
enumerable: true,
|
|
307
389
|
get: function get() {
|
|
@@ -356,6 +438,30 @@ Object.defineProperty(exports, "Tab", {
|
|
|
356
438
|
return _Tabs.Tab;
|
|
357
439
|
}
|
|
358
440
|
});
|
|
441
|
+
Object.defineProperty(exports, "TabsProps", {
|
|
442
|
+
enumerable: true,
|
|
443
|
+
get: function get() {
|
|
444
|
+
return _Tabs.TabsProps;
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
Object.defineProperty(exports, "TabData", {
|
|
448
|
+
enumerable: true,
|
|
449
|
+
get: function get() {
|
|
450
|
+
return _Tabs.TabData;
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
Object.defineProperty(exports, "TabIcon", {
|
|
454
|
+
enumerable: true,
|
|
455
|
+
get: function get() {
|
|
456
|
+
return _Tabs.TabIcon;
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
Object.defineProperty(exports, "TabProps", {
|
|
460
|
+
enumerable: true,
|
|
461
|
+
get: function get() {
|
|
462
|
+
return _Tabs.TabProps;
|
|
463
|
+
}
|
|
464
|
+
});
|
|
359
465
|
Object.defineProperty(exports, "Tag", {
|
|
360
466
|
enumerable: true,
|
|
361
467
|
get: function get() {
|
|
@@ -392,6 +498,12 @@ Object.defineProperty(exports, "Toggle", {
|
|
|
392
498
|
return _Toggle.default;
|
|
393
499
|
}
|
|
394
500
|
});
|
|
501
|
+
Object.defineProperty(exports, "ToggleView", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function get() {
|
|
504
|
+
return _ToggleView.default;
|
|
505
|
+
}
|
|
506
|
+
});
|
|
395
507
|
Object.defineProperty(exports, "TopNav", {
|
|
396
508
|
enumerable: true,
|
|
397
509
|
get: function get() {
|
|
@@ -407,6 +519,8 @@ Object.defineProperty(exports, "Tooltip", {
|
|
|
407
519
|
|
|
408
520
|
var _Accordion = _interopRequireDefault(require("./Accordion"));
|
|
409
521
|
|
|
522
|
+
var _Alert = _interopRequireWildcard(require("./Alert"));
|
|
523
|
+
|
|
410
524
|
var _Avatar = _interopRequireWildcard(require("./Avatar"));
|
|
411
525
|
|
|
412
526
|
var _Badge = _interopRequireWildcard(require("./Badge"));
|
|
@@ -421,8 +535,12 @@ var _CheckboxGroup = _interopRequireDefault(require("./CheckboxGroup"));
|
|
|
421
535
|
|
|
422
536
|
var _Combobox = _interopRequireDefault(require("./Combobox"));
|
|
423
537
|
|
|
538
|
+
var _Drawer = _interopRequireDefault(require("./Drawer"));
|
|
539
|
+
|
|
424
540
|
var _DropdownList = _interopRequireWildcard(require("./DropdownList"));
|
|
425
541
|
|
|
542
|
+
var _Filter = _interopRequireDefault(require("./Filter"));
|
|
543
|
+
|
|
426
544
|
var _Flex = _interopRequireDefault(require("./Flex"));
|
|
427
545
|
|
|
428
546
|
var _Grid = _interopRequireWildcard(require("./Grid"));
|
|
@@ -433,6 +551,8 @@ var _LeftNav = _interopRequireWildcard(require("./LeftNav"));
|
|
|
433
551
|
|
|
434
552
|
var _Link = _interopRequireDefault(require("./Link"));
|
|
435
553
|
|
|
554
|
+
var _Loading = _interopRequireWildcard(require("./Loading"));
|
|
555
|
+
|
|
436
556
|
var _Menu = _interopRequireDefault(require("./Menu"));
|
|
437
557
|
|
|
438
558
|
var _Message = _interopRequireDefault(require("./Message"));
|
|
@@ -445,12 +565,16 @@ var _Notifications = require("./Notifications");
|
|
|
445
565
|
|
|
446
566
|
var _Pagination = _interopRequireDefault(require("./Pagination"));
|
|
447
567
|
|
|
568
|
+
var _PasswordField = _interopRequireDefault(require("./PasswordField"));
|
|
569
|
+
|
|
448
570
|
var _Popover = _interopRequireDefault(require("./Popover"));
|
|
449
571
|
|
|
450
572
|
var _RadioGroup = _interopRequireDefault(require("./RadioGroup"));
|
|
451
573
|
|
|
452
574
|
var _Select = _interopRequireDefault(require("./Select"));
|
|
453
575
|
|
|
576
|
+
var _SearchInput = _interopRequireWildcard(require("./SearchInput"));
|
|
577
|
+
|
|
454
578
|
var _SelectDate = _interopRequireWildcard(require("./SelectDate"));
|
|
455
579
|
|
|
456
580
|
var _SelectDateRange = _interopRequireDefault(require("./SelectDateRange"));
|
|
@@ -469,6 +593,8 @@ var _TextField = _interopRequireDefault(require("./TextField"));
|
|
|
469
593
|
|
|
470
594
|
var _Toggle = _interopRequireDefault(require("./Toggle"));
|
|
471
595
|
|
|
596
|
+
var _ToggleView = _interopRequireDefault(require("./ToggleView"));
|
|
597
|
+
|
|
472
598
|
var _TopNav = _interopRequireDefault(require("./TopNav"));
|
|
473
599
|
|
|
474
600
|
var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacingSchema.d.ts","sourceRoot":"","sources":["../../src/modifiers/spacingSchema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spacingSchema.d.ts","sourceRoot":"","sources":["../../src/modifiers/spacingSchema.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,0BAA0B,cA2CrC,CAAC"}
|
|
@@ -7,24 +7,37 @@ exports.makeSpacingSchemaPropTypes = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _reactDesc = require("react-desc");
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
var _breakpointObserver = require("@decisiv/breakpoint-observer");
|
|
11
|
+
|
|
12
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
|
+
|
|
14
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
|
|
15
|
+
|
|
16
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
|
|
17
|
+
|
|
18
|
+
function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
|
|
19
|
+
|
|
20
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
|
|
21
|
+
|
|
22
|
+
var numberOrDynamicModifierProp = _reactDesc.PropTypes.oneOfType([_reactDesc.PropTypes.number, _reactDesc.PropTypes.shape(_defineProperty({}, _reactDesc.PropTypes.oneOf(['_'].concat(_toConsumableArray(Object.keys(_breakpointObserver.sizes)))), _reactDesc.PropTypes.number))]); // eslint-disable-next-line import/prefer-default-export
|
|
23
|
+
|
|
24
|
+
|
|
12
25
|
var makeSpacingSchemaPropTypes = function makeSpacingSchemaPropTypes() {
|
|
13
26
|
return {
|
|
14
|
-
margin:
|
|
15
|
-
marginBottom:
|
|
16
|
-
marginLeft:
|
|
17
|
-
marginRight:
|
|
18
|
-
marginTop:
|
|
19
|
-
marginX:
|
|
20
|
-
marginY:
|
|
21
|
-
padding:
|
|
22
|
-
paddingBottom:
|
|
23
|
-
paddingLeft:
|
|
24
|
-
paddingRight:
|
|
25
|
-
paddingTop:
|
|
26
|
-
paddingX:
|
|
27
|
-
paddingY:
|
|
27
|
+
margin: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on all axis margin.'),
|
|
28
|
+
marginBottom: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the bottom margin.'),
|
|
29
|
+
marginLeft: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the left margin.'),
|
|
30
|
+
marginRight: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the right margin.'),
|
|
31
|
+
marginTop: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the top margin.'),
|
|
32
|
+
marginX: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the X axis margin.'),
|
|
33
|
+
marginY: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the Y axis margin.'),
|
|
34
|
+
padding: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on all axis padding.'),
|
|
35
|
+
paddingBottom: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the bottom padding.'),
|
|
36
|
+
paddingLeft: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the left padding.'),
|
|
37
|
+
paddingRight: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the right padding.'),
|
|
38
|
+
paddingTop: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the top padding.'),
|
|
39
|
+
paddingX: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the X axis padding.'),
|
|
40
|
+
paddingY: numberOrDynamicModifierProp.description('Defines the spacing multiplier for use on the Y axis padding.')
|
|
28
41
|
};
|
|
29
42
|
};
|
|
30
43
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/ConfigProvider/index.tsx"],"names":[],"mappings":"AACA,OAAc,EACZ,iBAAiB,EAMlB,MAAM,OAAO,CAAC;AAUf,OAAO,EAGL,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAQzB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,QAAA,MAAM,cAAc,EAAE,iBAAiB,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/ConfigProvider/index.tsx"],"names":[],"mappings":"AACA,OAAc,EACZ,iBAAiB,EAMlB,MAAM,OAAO,CAAC;AAUf,OAAO,EAGL,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAQzB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,QAAA,MAAM,cAAc,EAAE,iBAAiB,CAAC,aAAa,CAwGpD,CAAC;AAQF,QAAA,MAAM,SAAS,qBACkB,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -166,7 +166,11 @@ var ConfigProvider = function ConfigProvider(props) {
|
|
|
166
166
|
var managerProps = {};
|
|
167
167
|
|
|
168
168
|
if (extraScope) {
|
|
169
|
-
|
|
169
|
+
var extraScopePlugin = (0, _stylisPluginExtraScope.default)(extraScope);
|
|
170
|
+
Object.defineProperty(extraScopePlugin, 'name', {
|
|
171
|
+
value: 'extraScopePlugin'
|
|
172
|
+
});
|
|
173
|
+
managerProps.stylisPlugins = [extraScopePlugin];
|
|
170
174
|
}
|
|
171
175
|
|
|
172
176
|
return managerProps;
|
|
@@ -17,7 +17,7 @@ export interface DefaultConfig {
|
|
|
17
17
|
export declare const defaultConfig: DefaultConfig;
|
|
18
18
|
export declare const ConfigContext: React.Context<DefaultConfig>;
|
|
19
19
|
export interface ProviderProps {
|
|
20
|
-
children
|
|
20
|
+
children?: React.ReactChild;
|
|
21
21
|
extraScope?: string;
|
|
22
22
|
linkRenderer?: LinkRenderer;
|
|
23
23
|
portalsRoot?: HTMLElement | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/providers/ConfigProvider/utils/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,mBAAmB,MAAM,gBAAgB,CAAC;AACjD,OAAqB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9C,OAA4B,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnE,oBAAY,YAAY,GAAG,OAAO,mBAAmB,CAAC;AAEtD,oBAAY,wBAAwB,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;AAE7E,aAAK,aAAa,GAAG,CACnB,QAAQ,EAAE,SAAS,EACnB,kBAAkB,CAAC,EAAE,MAAM,KACxB,WAAW,GAAG,IAAI,CAAC;AAExB,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,qBAAqB,EAAE,wBAAwB,CAAC;IACzD,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAAC;IAC3C,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,aAoB3B,CAAC;AAEF,eAAO,MAAM,aAAa,8BAA+B,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/providers/ConfigProvider/utils/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,mBAAmB,MAAM,gBAAgB,CAAC;AACjD,OAAqB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9C,OAA4B,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnE,oBAAY,YAAY,GAAG,OAAO,mBAAmB,CAAC;AAEtD,oBAAY,wBAAwB,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;AAE7E,aAAK,aAAa,GAAG,CACnB,QAAQ,EAAE,SAAS,EACnB,kBAAkB,CAAC,EAAE,MAAM,KACxB,WAAW,GAAG,IAAI,CAAC;AAExB,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,qBAAqB,EAAE,wBAAwB,CAAC;IACzD,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAAC;IAC3C,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,aAoB3B,CAAC;AAEF,eAAO,MAAM,aAAa,8BAA+B,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CACtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizer.d.ts","sourceRoot":"","sources":["../../../../src/providers/ConfigProvider/utils/normalizer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"normalizer.d.ts","sourceRoot":"","sources":["../../../../src/providers/ConfigProvider/utils/normalizer.tsx"],"names":[],"mappings":"AA8IA,QAAA,MAAM,UAAU,oEAIf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -38,7 +38,7 @@ var cssReset = (0, _styledComponents.css)(["*,*::before,*::after{box-sizing:bord
|
|
|
38
38
|
* Basic typography styling that should be applied globally.
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
|
-
var typographyBase = (0, _styledComponents.css)(["font-family:", ";font-size:", ";font-weight:", ";color:", ";letter-spacing:normal;"], _designTokens.typography.typeface.default, (0, _rem.default)(_designTokens.typography.size.alias.default), _designTokens.typography.weight.alias.default, (0, _toColorString.default)(_designTokens.color.base.charcoal));
|
|
41
|
+
var typographyBase = (0, _styledComponents.css)(["font-family:", ";font-size:", ";font-weight:", ";color:", ";letter-spacing:normal;font-feature-settings:normal;font-variant-numeric:normal;"], _designTokens.typography.typeface.default, (0, _rem.default)(_designTokens.typography.size.alias.default), _designTokens.typography.weight.alias.default, (0, _toColorString.default)(_designTokens.color.base.charcoal));
|
|
42
42
|
|
|
43
43
|
var Normalizer = _styledComponents.default.div.withConfig({
|
|
44
44
|
displayName: "normalizer__Normalizer",
|
|
@@ -5,6 +5,10 @@ declare const translations: {
|
|
|
5
5
|
readonly expand: "Expand";
|
|
6
6
|
readonly expandAll: "Expand All";
|
|
7
7
|
};
|
|
8
|
+
alert: {
|
|
9
|
+
readonly closeAlert: "Close Alert";
|
|
10
|
+
readonly close: "Close";
|
|
11
|
+
};
|
|
8
12
|
avatar: {
|
|
9
13
|
aria: {
|
|
10
14
|
readonly label: "{descriptor} avatar";
|
|
@@ -15,6 +19,9 @@ declare const translations: {
|
|
|
15
19
|
readonly label: "Breadcrumbs";
|
|
16
20
|
};
|
|
17
21
|
};
|
|
22
|
+
button: {
|
|
23
|
+
readonly loading: "Loading...";
|
|
24
|
+
};
|
|
18
25
|
combobox: {
|
|
19
26
|
readonly clearButtonLabel: "Clear {label} value";
|
|
20
27
|
readonly loading: "Loading...";
|
|
@@ -49,6 +56,10 @@ declare const translations: {
|
|
|
49
56
|
readonly viewNextMonth: "View next month";
|
|
50
57
|
readonly viewPrevMonth: "View previous month";
|
|
51
58
|
};
|
|
59
|
+
drawer: {
|
|
60
|
+
readonly closeBtnTooltip: "Close";
|
|
61
|
+
readonly closeBtn: "Close Drawer";
|
|
62
|
+
};
|
|
52
63
|
jumpTo: {
|
|
53
64
|
readonly menuLabel: "Jump To";
|
|
54
65
|
readonly navLabel: "Jump To:";
|
|
@@ -118,6 +129,22 @@ declare const translations: {
|
|
|
118
129
|
textField: {
|
|
119
130
|
readonly requiredMessage: "Required";
|
|
120
131
|
};
|
|
132
|
+
toggleView: {
|
|
133
|
+
aria: {
|
|
134
|
+
readonly label: "Toggle View";
|
|
135
|
+
readonly element: "View element {id}";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
passwordField: {
|
|
139
|
+
readonly showPassword: "Show Password";
|
|
140
|
+
readonly hidePassword: "Hide Password";
|
|
141
|
+
readonly password: "Password";
|
|
142
|
+
};
|
|
143
|
+
searchInput: {
|
|
144
|
+
readonly clear: "Clear";
|
|
145
|
+
readonly search: "Search";
|
|
146
|
+
readonly clearSearch: "Clear search";
|
|
147
|
+
};
|
|
121
148
|
};
|
|
122
149
|
export declare type Translations = typeof translations;
|
|
123
150
|
export default translations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/providers/ConfigProvider/utils/translations.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/providers/ConfigProvider/utils/translations.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4IR,CAAC;AAEX,oBAAY,YAAY,GAAG,OAAO,YAAY,CAAC;AAE/C,eAAe,YAAY,CAAC"}
|
|
@@ -11,6 +11,10 @@ var translations = {
|
|
|
11
11
|
expand: 'Expand',
|
|
12
12
|
expandAll: 'Expand All'
|
|
13
13
|
},
|
|
14
|
+
alert: {
|
|
15
|
+
closeAlert: 'Close Alert',
|
|
16
|
+
close: 'Close'
|
|
17
|
+
},
|
|
14
18
|
avatar: {
|
|
15
19
|
aria: {
|
|
16
20
|
label: '{descriptor} avatar'
|
|
@@ -21,6 +25,9 @@ var translations = {
|
|
|
21
25
|
label: 'Breadcrumbs'
|
|
22
26
|
}
|
|
23
27
|
},
|
|
28
|
+
button: {
|
|
29
|
+
loading: 'Loading...'
|
|
30
|
+
},
|
|
24
31
|
combobox: {
|
|
25
32
|
clearButtonLabel: 'Clear {label} value',
|
|
26
33
|
loading: 'Loading...',
|
|
@@ -55,6 +62,10 @@ var translations = {
|
|
|
55
62
|
viewNextMonth: 'View next month',
|
|
56
63
|
viewPrevMonth: 'View previous month'
|
|
57
64
|
},
|
|
65
|
+
drawer: {
|
|
66
|
+
closeBtnTooltip: 'Close',
|
|
67
|
+
closeBtn: 'Close Drawer'
|
|
68
|
+
},
|
|
58
69
|
jumpTo: {
|
|
59
70
|
menuLabel: 'Jump To',
|
|
60
71
|
navLabel: 'Jump To:'
|
|
@@ -123,6 +134,22 @@ var translations = {
|
|
|
123
134
|
},
|
|
124
135
|
textField: {
|
|
125
136
|
requiredMessage: 'Required'
|
|
137
|
+
},
|
|
138
|
+
toggleView: {
|
|
139
|
+
aria: {
|
|
140
|
+
label: 'Toggle View',
|
|
141
|
+
element: 'View element {id}'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
passwordField: {
|
|
145
|
+
showPassword: 'Show Password',
|
|
146
|
+
hidePassword: 'Hide Password',
|
|
147
|
+
password: 'Password'
|
|
148
|
+
},
|
|
149
|
+
searchInput: {
|
|
150
|
+
clear: 'Clear',
|
|
151
|
+
search: 'Search',
|
|
152
|
+
clearSearch: 'Clear search'
|
|
126
153
|
}
|
|
127
154
|
};
|
|
128
155
|
var _default = translations;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { NotificationState, TNotificationProps, TNotifications } from './types';
|
|
3
3
|
declare type TNotifierOptions = Omit<TNotificationProps, 'onClose'> & {
|
|
4
4
|
onClose?: React.MouseEventHandler;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
6
|
+
declare type TNotifyHandlerCallbackFn = (oldNotifications: TNotifications) => void | [TNotifierOptions] | [TNotifierOptions, JSX.Element];
|
|
7
|
+
declare type TNotifyHandlerFn = (...args: [TNotifyHandlerCallbackFn] | [TNotifierOptions] | [TNotifierOptions, JSX.Element]) => void;
|
|
8
8
|
export interface TNotificationsContext {
|
|
9
9
|
dismissAll: () => void;
|
|
10
|
+
isDismissingAll: boolean;
|
|
10
11
|
notifications: TNotifications;
|
|
11
|
-
notify:
|
|
12
|
+
notify: TNotifyHandlerFn;
|
|
12
13
|
}
|
|
13
14
|
export declare const NotificationsContext: React.Context<TNotificationsContext>;
|
|
14
15
|
interface TNotificationsProviderProps {
|
|
15
|
-
children
|
|
16
|
+
children?: React.ReactChild | React.ReactChildren;
|
|
16
17
|
}
|
|
17
18
|
export declare const transitions: {
|
|
18
19
|
ENTERING: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/NotificationsProvider/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/NotificationsProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,iBAAiB,EAGjB,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,aAAK,gBAAgB,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG;IAC5D,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC;CACnC,CAAC;AAEF,aAAK,wBAAwB,GAAG,CAC9B,gBAAgB,EAAE,cAAc,KAC7B,IAAI,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;AAEjE,aAAK,gBAAgB,GAAG,CACtB,GAAG,IAAI,EACH,CAAC,wBAAwB,CAAC,GAC1B,CAAC,gBAAgB,CAAC,GAClB,CAAC,gBAAgB,EAAE,GAAG,CAAC,OAAO,CAAC,KAChC,IAAI,CAAC;AAEV,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,cAAc,CAAC;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,oBAAoB,sCAK/B,CAAC;AAEH,UAAU,2BAA2B;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC;CACnD;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAiBd,CAAC;AAEX,iBAAS,qBAAqB,CAAC,EAC7B,QAAQ,GACT,EAAE,2BAA2B,GAAG,GAAG,CAAC,OAAO,CA8K3C;AAED,eAAe,qBAAqB,CAAC"}
|