colibri-ui 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src/components/Accordion/Accordion.module.scss → Accordion/Accordion.module.css} +7 -9
- package/Accordion/index.d.ts +9 -0
- package/Accordion/index.js +67 -0
- package/Accordion/package.json +6 -0
- package/{src/components/Avatar/Avatar.module.scss → Avatar/Avatar.module.css} +3 -4
- package/Avatar/assets/org-circle.svg.js +64 -0
- package/Avatar/assets/user-circle.svg.js +43 -0
- package/Avatar/constants.d.ts +7 -0
- package/Avatar/constants.js +10 -0
- package/Avatar/index.d.ts +4 -0
- package/Avatar/index.js +49 -0
- package/Avatar/index.props.d.ts +15 -0
- package/Avatar/index.props.js +7 -0
- package/Avatar/package.json +6 -0
- package/{src/components/Badge/Badge.module.scss → Badge/Badge.module.css} +13 -16
- package/{src/components/Badge/Control/Control.module.scss → Badge/Control/Control.module.css} +1 -1
- package/Badge/Control/index.d.ts +3 -0
- package/Badge/Control/index.js +23 -0
- package/{src/components/Badge/Control/index.props.ts → Badge/Control/index.props.d.ts} +1 -1
- package/Badge/index.d.ts +4 -0
- package/Badge/index.js +48 -0
- package/Badge/index.props.d.ts +11 -0
- package/Badge/package.json +6 -0
- package/Button/Button.module.css +225 -0
- package/Button/index.d.ts +4 -0
- package/Button/index.js +56 -0
- package/Button/index.props.d.ts +14 -0
- package/Button/package.json +6 -0
- package/Calendar/components/ContinueButton/index.d.ts +10 -0
- package/Calendar/components/ContinueButton/index.js +45 -0
- package/Calendar/components/ContinueButton/index.module.css +4 -0
- package/Calendar/components/Month/Month.d.ts +17 -0
- package/Calendar/components/Month/Month.js +144 -0
- package/{src/components/Calendar/components/Month/index.module.scss → Calendar/components/Month/index.module.css} +48 -62
- package/Calendar/components/Presets/index.d.ts +19 -0
- package/Calendar/components/Presets/index.js +68 -0
- package/{src/components/Calendar/components/Presets/index.module.scss → Calendar/components/Presets/index.module.css} +11 -14
- package/Calendar/index.d.ts +4 -0
- package/Calendar/index.js +222 -0
- package/{src/components/Calendar/index.module.scss → Calendar/index.module.css} +37 -51
- package/Calendar/index.props.d.ts +21 -0
- package/Calendar/package.json +6 -0
- package/Calendar/utils/getMonthWeeks.d.ts +20 -0
- package/Calendar/utils/getMonthWeeks.js +81 -0
- package/Calendar/utils/getNumberOfMonthsBetweenDates.d.ts +4 -0
- package/Calendar/utils/getNumberOfMonthsBetweenDates.js +21 -0
- package/Calendar/utils/getPresets.d.ts +10 -0
- package/Calendar/utils/getStartMonth.d.ts +6 -0
- package/Calendar/utils/getStartMonth.js +15 -0
- package/Checkbox/Checkbox.module.css +89 -0
- package/Checkbox/index.d.ts +4 -0
- package/Checkbox/index.js +59 -0
- package/Checkbox/index.props.d.ts +17 -0
- package/Checkbox/package.json +6 -0
- package/Chip/Chip.module.css +83 -0
- package/Chip/index.d.ts +4 -0
- package/Chip/index.js +56 -0
- package/Chip/index.props.d.ts +10 -0
- package/Chip/package.json +6 -0
- package/ClickOutside/index.d.ts +5 -0
- package/ClickOutside/index.js +36 -0
- package/ClickOutside/package.json +6 -0
- package/{src/components/Counter/Counter.module.scss → Counter/Counter.module.css} +7 -9
- package/Counter/index.d.ts +4 -0
- package/Counter/index.js +71 -0
- package/Counter/index.props.d.ts +9 -0
- package/Counter/package.json +6 -0
- package/{src/components/Datepicker/Datepicker.module.scss → Datepicker/Datepicker.module.css} +1 -1
- package/Datepicker/components/DatePicker/index.d.ts +4 -0
- package/Datepicker/components/DatePicker/index.js +74 -0
- package/{src/components/Datepicker/components/DatePicker/index.module.scss → Datepicker/components/DatePicker/index.module.css} +0 -2
- package/Datepicker/components/DatePicker/index.props.d.ts +5 -0
- package/Datepicker/components/TimePicker/Label/index.d.ts +8 -0
- package/Datepicker/components/TimePicker/Label/index.js +27 -0
- package/Datepicker/components/TimePicker/helpers.d.ts +12 -0
- package/Datepicker/components/TimePicker/helpers.js +41 -0
- package/Datepicker/components/TimePicker/index.d.ts +4 -0
- package/Datepicker/components/TimePicker/index.js +67 -0
- package/{src/components/Datepicker/components/TimePicker/index.module.scss → Datepicker/components/TimePicker/index.module.css} +1 -1
- package/Datepicker/components/TimePicker/index.props.d.ts +8 -0
- package/Datepicker/index.d.ts +4 -0
- package/Datepicker/index.js +35 -0
- package/Datepicker/index.props.d.ts +7 -0
- package/Datepicker/package.json +6 -0
- package/{src/components/DotsLoader/DotsLoader.module.scss → DotsLoader/DotsLoader.module.css} +12 -19
- package/DotsLoader/index.d.ts +5 -0
- package/DotsLoader/index.js +55 -0
- package/DotsLoader/package.json +6 -0
- package/{src/components/Dropdown/Dropdown.module.scss → Dropdown/Dropdown.module.css} +1 -1
- package/Dropdown/index.d.ts +4 -0
- package/Dropdown/index.js +165 -0
- package/Dropdown/index.props.d.ts +20 -0
- package/Dropdown/package.json +6 -0
- package/{src/components/Grid/Grid.module.scss → Grid/Grid.module.css} +1 -2
- package/{src/components/Grid/Item/Grid-Item.module.scss → Grid/Item/Grid-Item.module.css} +2 -2
- package/Grid/Item/index.d.ts +4 -0
- package/Grid/Item/index.js +28 -0
- package/{src/components/Grid/Item/index.props.ts → Grid/Item/index.props.d.ts} +3 -4
- package/Grid/index.d.ts +4 -0
- package/Grid/index.js +34 -0
- package/Grid/index.props.d.ts +6 -0
- package/Grid/package.json +6 -0
- package/Icons/ArrowNext.d.ts +4 -0
- package/Icons/ArrowNext.js +36 -0
- package/Icons/Cart.d.ts +4 -0
- package/Icons/Cart.js +34 -0
- package/Icons/Check.d.ts +4 -0
- package/Icons/Check.js +42 -0
- package/Icons/Chevron.d.ts +4 -0
- package/Icons/Chevron.js +37 -0
- package/Icons/Close.d.ts +4 -0
- package/Icons/Close.js +35 -0
- package/Icons/CrossFill.d.ts +4 -0
- package/Icons/CrossFill.js +33 -0
- package/Icons/Edit.d.ts +4 -0
- package/Icons/Edit.js +35 -0
- package/Icons/Exit.d.ts +4 -0
- package/Icons/Exit.js +36 -0
- package/Icons/EyeClosed.d.ts +4 -0
- package/Icons/EyeClosed.js +34 -0
- package/Icons/EyeOpen.d.ts +4 -0
- package/Icons/EyeOpen.js +41 -0
- package/Icons/Help.d.ts +4 -0
- package/Icons/Help.js +34 -0
- package/Icons/Info.d.ts +4 -0
- package/Icons/Info.js +35 -0
- package/Icons/Minus.d.ts +4 -0
- package/Icons/Minus.js +35 -0
- package/Icons/More.d.ts +4 -0
- package/Icons/More.js +44 -0
- package/Icons/Plus.d.ts +4 -0
- package/Icons/Plus.js +34 -0
- package/Icons/Setting.d.ts +4 -0
- package/Icons/Setting.js +43 -0
- package/Icons/Trash.d.ts +4 -0
- package/Icons/Trash.js +37 -0
- package/Icons/User.d.ts +4 -0
- package/Icons/User.js +42 -0
- package/Icons/index.js +39 -0
- package/{src/components/Icons/index.props.ts → Icons/index.props.d.ts} +4 -5
- package/Icons/package.json +6 -0
- package/Image/Image.module.css +14 -0
- package/Image/index.d.ts +4 -0
- package/Image/index.js +72 -0
- package/Image/index.props.d.ts +10 -0
- package/Image/package.json +6 -0
- package/Input/index.d.ts +4 -0
- package/Input/index.js +55 -0
- package/Input/index.props.d.ts +16 -0
- package/Input/package.json +6 -0
- package/InputRadio/InputRadio.module.css +95 -0
- package/InputRadio/index.d.ts +23 -0
- package/InputRadio/index.js +80 -0
- package/InputRadio/package.json +6 -0
- package/{src/components/Menu/Menu.module.scss → Menu/Menu.module.css} +1 -1
- package/Menu/components/MenuItem/MenuItem.module.css +35 -0
- package/Menu/components/MenuItem/index.d.ts +5 -0
- package/Menu/components/MenuItem/index.js +43 -0
- package/Menu/components/MenuItem/index.props.d.ts +10 -0
- package/Menu/index.d.ts +4 -0
- package/Menu/index.js +48 -0
- package/Menu/index.props.d.ts +11 -0
- package/Menu/package.json +6 -0
- package/{src/components/Modal/Modal.module.scss → Modal/Modal.module.css} +12 -14
- package/{src/components/Modal/components/Close/Close.module.scss → Modal/components/Close/Close.module.css} +1 -1
- package/Modal/components/Close/index.d.ts +5 -0
- package/Modal/components/Close/index.js +29 -0
- package/{src/components/Modal/components/Content/Content.module.scss → Modal/components/Content/Content.module.css} +1 -1
- package/Modal/components/Content/index.d.ts +3 -0
- package/Modal/components/Content/index.js +23 -0
- package/{src/components/Modal/components/Title/Title.module.scss → Modal/components/Title/Title.module.css} +1 -1
- package/Modal/components/Title/index.d.ts +3 -0
- package/Modal/components/Title/index.js +29 -0
- package/Modal/index.d.ts +4 -0
- package/Modal/index.js +71 -0
- package/Modal/index.props.d.ts +5 -0
- package/Modal/package.json +6 -0
- package/MultiSelect/components/MenuOverlay/index.d.ts +19 -0
- package/MultiSelect/components/MenuOverlay/index.js +103 -0
- package/{src/components/MultiSelect/components/MenuOverlay/index.module.scss → MultiSelect/components/MenuOverlay/index.module.css} +1 -1
- package/MultiSelect/components/MenuOverlayItem/index.d.ts +13 -0
- package/MultiSelect/components/MenuOverlayItem/index.js +28 -0
- package/MultiSelect/index.d.ts +4 -0
- package/MultiSelect/index.js +169 -0
- package/{src/components/MultiSelect/index.module.scss → MultiSelect/index.module.css} +6 -9
- package/MultiSelect/index.props.d.ts +32 -0
- package/MultiSelect/package.json +6 -0
- package/MultiSelect/utils/index.d.ts +1 -0
- package/MultiSelect/utils/index.js +7 -0
- package/Portal/index.d.ts +5 -0
- package/Portal/index.js +24 -0
- package/Portal/package.json +6 -0
- package/RadioGroup/Radio.d.ts +19 -0
- package/RadioGroup/Radio.js +45 -0
- package/RadioGroup/RadioGroup.module.css +31 -0
- package/RadioGroup/index.d.ts +26 -0
- package/RadioGroup/index.js +65 -0
- package/RadioGroup/package.json +6 -0
- package/Select/components/MenuOverlay/index.d.ts +11 -0
- package/Select/components/MenuOverlay/index.js +65 -0
- package/{src/components/Select/components/MenuOverlay/index.module.scss → Select/components/MenuOverlay/index.module.css} +1 -1
- package/Select/components/MenuOverlayItem/index.d.ts +14 -0
- package/Select/components/MenuOverlayItem/index.js +47 -0
- package/Select/index.d.ts +4 -0
- package/Select/index.js +108 -0
- package/{src/components/Select/index.module.scss → Select/index.module.css} +11 -15
- package/Select/index.props.d.ts +28 -0
- package/Select/package.json +6 -0
- package/{src/components/Separator/Separator.module.scss → Separator/Separator.module.css} +1 -1
- package/Separator/index.d.ts +6 -0
- package/Separator/index.js +22 -0
- package/Separator/package.json +6 -0
- package/Skeleton/Skeleton.module.css +33 -0
- package/Skeleton/index.d.ts +4 -0
- package/Skeleton/index.js +41 -0
- package/Skeleton/index.props.d.ts +11 -0
- package/Skeleton/package.json +6 -0
- package/Status/index.d.ts +5 -0
- package/Status/index.js +28 -0
- package/Status/index.module.css +45 -0
- package/Status/index.props.d.ts +12 -0
- package/Status/package.json +6 -0
- package/{src/components/Switch/Switch.module.scss → Switch/Switch.module.css} +15 -21
- package/Switch/index.d.ts +4 -0
- package/Switch/index.js +40 -0
- package/Switch/index.props.d.ts +6 -0
- package/Switch/package.json +6 -0
- package/TabsMenu/Tab/Tab.d.ts +4 -0
- package/TabsMenu/Tab/Tab.js +39 -0
- package/TabsMenu/Tab/Tab.module.css +66 -0
- package/TabsMenu/Tab/Tab.props.d.ts +14 -0
- package/{src/components/TabsMenu/TabsMenu.module.scss → TabsMenu/TabsMenu.module.css} +1 -1
- package/TabsMenu/index.d.ts +4 -0
- package/TabsMenu/index.js +93 -0
- package/TabsMenu/index.props.d.ts +11 -0
- package/TabsMenu/package.json +6 -0
- package/TabsPanes/Pane/Pane.d.ts +3 -0
- package/TabsPanes/Pane/Pane.js +22 -0
- package/TabsPanes/Pane/index.props.d.ts +7 -0
- package/TabsPanes/index.d.ts +4 -0
- package/TabsPanes/index.js +35 -0
- package/{src/components/TabsPanes/index.props.ts → TabsPanes/index.props.d.ts} +4 -5
- package/TabsPanes/package.json +6 -0
- package/{src/components/TextArea/TextArea.module.scss → TextArea/TextArea.module.css} +3 -4
- package/TextArea/index.d.ts +4 -0
- package/TextArea/index.js +62 -0
- package/TextArea/index.props.d.ts +13 -0
- package/TextArea/package.json +6 -0
- package/Theme/breakpoints.d.ts +18 -0
- package/Theme/breakpoints.js +38 -0
- package/Theme/colors/common.d.ts +39 -0
- package/Theme/colors/common.js +34 -0
- package/Theme/colors/index.d.ts +64 -0
- package/Theme/colors/index.js +12 -0
- package/Theme/colors/theme_buenos_aires.d.ts +69 -0
- package/Theme/colors/theme_buenos_aires.js +53 -0
- package/Theme/colors/theme_default.d.ts +47 -0
- package/Theme/colors/theme_default.js +40 -0
- package/Theme/global.css +50 -0
- package/Theme/index.d.ts +296 -0
- package/Theme/index.js +11 -0
- package/Theme/package.json +6 -0
- package/Theme/themes/buenos_aires.d.ts +152 -0
- package/Theme/themes/buenos_aires.js +159 -0
- package/Theme/themes/default.d.ts +144 -0
- package/Theme/themes/default.js +151 -0
- package/TimeSelect/Label/index.d.ts +8 -0
- package/TimeSelect/Label/index.js +27 -0
- package/TimeSelect/helpers.d.ts +9 -0
- package/TimeSelect/helpers.js +41 -0
- package/TimeSelect/index.d.ts +11 -0
- package/TimeSelect/index.js +53 -0
- package/TimeSelect/index.props.d.ts +4 -0
- package/TimeSelect/package.json +6 -0
- package/Tooltip/Tooltip.module.css +122 -0
- package/Tooltip/index.d.ts +4 -0
- package/Tooltip/index.js +116 -0
- package/Tooltip/index.props.d.ts +11 -0
- package/Tooltip/package.json +6 -0
- package/Typography/Typography.module.css +64 -0
- package/Typography/index.d.ts +4 -0
- package/Typography/index.js +34 -0
- package/Typography/index.props.d.ts +13 -0
- package/Typography/package.json +6 -0
- package/{src/components/base/BaseInput/BaseInput.module.scss → base/BaseInput/BaseInput.module.css} +3 -4
- package/base/BaseInput/index.d.ts +4 -0
- package/base/BaseInput/index.js +31 -0
- package/base/BaseInput/index.props.d.ts +5 -0
- package/base/FormField/FormField.module.css +11 -0
- package/base/FormField/index.d.ts +4 -0
- package/base/FormField/index.js +37 -0
- package/base/FormField/index.props.d.ts +10 -0
- package/base/InputRoot/InputRoot.module.css +76 -0
- package/base/InputRoot/index.d.ts +4 -0
- package/base/InputRoot/index.js +41 -0
- package/base/InputRoot/index.props.d.ts +15 -0
- package/esm/Accordion/Accordion.module.css +51 -0
- package/esm/Accordion/index.d.ts +9 -0
- package/esm/Accordion/index.js +57 -0
- package/esm/Avatar/Avatar.module.css +15 -0
- package/esm/Avatar/assets/org-circle.svg.js +39 -0
- package/esm/Avatar/assets/user-circle.svg.js +18 -0
- package/esm/Avatar/constants.d.ts +7 -0
- package/esm/Avatar/constants.js +10 -0
- package/esm/Avatar/index.d.ts +4 -0
- package/esm/Avatar/index.js +39 -0
- package/esm/Avatar/index.props.d.ts +15 -0
- package/esm/Avatar/index.props.js +7 -0
- package/esm/Badge/Badge.module.css +30 -0
- package/esm/Badge/Control/Control.module.css +6 -0
- package/esm/Badge/Control/index.d.ts +3 -0
- package/esm/Badge/Control/index.js +15 -0
- package/esm/Badge/Control/index.props.d.ts +3 -0
- package/esm/Badge/index.d.ts +4 -0
- package/esm/Badge/index.js +38 -0
- package/esm/Badge/index.props.d.ts +11 -0
- package/esm/Button/Button.module.css +225 -0
- package/esm/Button/index.d.ts +4 -0
- package/esm/Button/index.js +46 -0
- package/esm/Button/index.props.d.ts +14 -0
- package/esm/Calendar/components/ContinueButton/index.d.ts +10 -0
- package/esm/Calendar/components/ContinueButton/index.js +37 -0
- package/esm/Calendar/components/ContinueButton/index.module.css +4 -0
- package/esm/Calendar/components/Month/Month.d.ts +17 -0
- package/esm/Calendar/components/Month/Month.js +118 -0
- package/esm/Calendar/components/Month/index.module.css +143 -0
- package/esm/Calendar/components/Presets/index.d.ts +19 -0
- package/esm/Calendar/components/Presets/index.js +42 -0
- package/esm/Calendar/components/Presets/index.module.css +28 -0
- package/esm/Calendar/index.d.ts +4 -0
- package/esm/Calendar/index.js +212 -0
- package/esm/Calendar/index.module.css +92 -0
- package/esm/Calendar/index.props.d.ts +21 -0
- package/esm/Calendar/utils/getMonthWeeks.d.ts +20 -0
- package/esm/Calendar/utils/getMonthWeeks.js +79 -0
- package/esm/Calendar/utils/getNumberOfMonthsBetweenDates.d.ts +4 -0
- package/esm/Calendar/utils/getNumberOfMonthsBetweenDates.js +19 -0
- package/esm/Calendar/utils/getPresets.d.ts +10 -0
- package/esm/Calendar/utils/getStartMonth.d.ts +6 -0
- package/esm/Calendar/utils/getStartMonth.js +13 -0
- package/esm/Checkbox/Checkbox.module.css +89 -0
- package/esm/Checkbox/index.d.ts +4 -0
- package/esm/Checkbox/index.js +49 -0
- package/esm/Checkbox/index.props.d.ts +17 -0
- package/esm/Chip/Chip.module.css +83 -0
- package/esm/Chip/index.d.ts +4 -0
- package/esm/Chip/index.js +46 -0
- package/esm/Chip/index.props.d.ts +10 -0
- package/esm/ClickOutside/index.d.ts +5 -0
- package/esm/ClickOutside/index.js +27 -0
- package/esm/Counter/Counter.module.css +34 -0
- package/esm/Counter/index.d.ts +4 -0
- package/esm/Counter/index.js +61 -0
- package/esm/Counter/index.props.d.ts +9 -0
- package/esm/Datepicker/Datepicker.module.css +4 -0
- package/esm/Datepicker/components/DatePicker/index.d.ts +4 -0
- package/esm/Datepicker/components/DatePicker/index.js +64 -0
- package/esm/Datepicker/components/DatePicker/index.module.css +56 -0
- package/esm/Datepicker/components/DatePicker/index.props.d.ts +5 -0
- package/esm/Datepicker/components/TimePicker/Label/index.d.ts +8 -0
- package/esm/Datepicker/components/TimePicker/Label/index.js +19 -0
- package/esm/Datepicker/components/TimePicker/helpers.d.ts +12 -0
- package/esm/Datepicker/components/TimePicker/helpers.js +35 -0
- package/esm/Datepicker/components/TimePicker/index.d.ts +4 -0
- package/esm/Datepicker/components/TimePicker/index.js +57 -0
- package/esm/Datepicker/components/TimePicker/index.module.css +58 -0
- package/esm/Datepicker/components/TimePicker/index.props.d.ts +8 -0
- package/esm/Datepicker/index.d.ts +4 -0
- package/esm/Datepicker/index.js +25 -0
- package/esm/Datepicker/index.props.d.ts +7 -0
- package/esm/DotsLoader/DotsLoader.module.css +39 -0
- package/esm/DotsLoader/index.d.ts +5 -0
- package/esm/DotsLoader/index.js +45 -0
- package/esm/Dropdown/Dropdown.module.css +14 -0
- package/esm/Dropdown/index.d.ts +4 -0
- package/esm/Dropdown/index.js +155 -0
- package/esm/Dropdown/index.props.d.ts +20 -0
- package/esm/Grid/Grid.module.css +15 -0
- package/esm/Grid/Item/Grid-Item.module.css +9 -0
- package/esm/Grid/Item/index.d.ts +4 -0
- package/esm/Grid/Item/index.js +18 -0
- package/esm/Grid/Item/index.props.d.ts +6 -0
- package/esm/Grid/index.d.ts +4 -0
- package/esm/Grid/index.js +24 -0
- package/esm/Grid/index.props.d.ts +6 -0
- package/esm/Icons/ArrowNext.d.ts +4 -0
- package/esm/Icons/ArrowNext.js +28 -0
- package/esm/Icons/Cart.d.ts +4 -0
- package/esm/Icons/Cart.js +26 -0
- package/esm/Icons/Check.d.ts +4 -0
- package/esm/Icons/Check.js +34 -0
- package/esm/Icons/Chevron.d.ts +4 -0
- package/esm/Icons/Chevron.js +29 -0
- package/esm/Icons/Close.d.ts +4 -0
- package/esm/Icons/Close.js +27 -0
- package/esm/Icons/CrossFill.d.ts +4 -0
- package/esm/Icons/CrossFill.js +25 -0
- package/esm/Icons/Edit.d.ts +4 -0
- package/esm/Icons/Edit.js +27 -0
- package/esm/Icons/Exit.d.ts +4 -0
- package/esm/Icons/Exit.js +28 -0
- package/esm/Icons/EyeClosed.d.ts +4 -0
- package/esm/Icons/EyeClosed.js +26 -0
- package/esm/Icons/EyeOpen.d.ts +4 -0
- package/esm/Icons/EyeOpen.js +33 -0
- package/esm/Icons/Help.d.ts +4 -0
- package/esm/Icons/Help.js +26 -0
- package/esm/Icons/Info.d.ts +4 -0
- package/esm/Icons/Info.js +27 -0
- package/esm/Icons/Minus.d.ts +4 -0
- package/esm/Icons/Minus.js +27 -0
- package/esm/Icons/More.d.ts +4 -0
- package/esm/Icons/More.js +36 -0
- package/esm/Icons/Plus.d.ts +4 -0
- package/esm/Icons/Plus.js +26 -0
- package/esm/Icons/Setting.d.ts +4 -0
- package/esm/Icons/Setting.js +35 -0
- package/esm/Icons/Trash.d.ts +4 -0
- package/esm/Icons/Trash.js +29 -0
- package/esm/Icons/User.d.ts +4 -0
- package/esm/Icons/User.js +34 -0
- package/esm/Icons/index.d.ts +17 -0
- package/esm/Icons/index.js +17 -0
- package/esm/Icons/index.props.d.ts +7 -0
- package/esm/Image/Image.module.css +14 -0
- package/esm/Image/index.d.ts +4 -0
- package/esm/Image/index.js +62 -0
- package/esm/Image/index.props.d.ts +10 -0
- package/esm/Input/index.d.ts +4 -0
- package/esm/Input/index.js +46 -0
- package/esm/Input/index.props.d.ts +16 -0
- package/esm/InputRadio/InputRadio.module.css +95 -0
- package/esm/InputRadio/index.d.ts +23 -0
- package/esm/InputRadio/index.js +70 -0
- package/esm/Menu/Menu.module.css +8 -0
- package/esm/Menu/components/MenuItem/MenuItem.module.css +35 -0
- package/esm/Menu/components/MenuItem/index.d.ts +5 -0
- package/esm/Menu/components/MenuItem/index.js +33 -0
- package/esm/Menu/components/MenuItem/index.props.d.ts +10 -0
- package/esm/Menu/index.d.ts +4 -0
- package/esm/Menu/index.js +38 -0
- package/esm/Menu/index.props.d.ts +11 -0
- package/esm/Modal/Modal.module.css +51 -0
- package/esm/Modal/components/Close/Close.module.css +4 -0
- package/esm/Modal/components/Close/index.d.ts +5 -0
- package/esm/Modal/components/Close/index.js +19 -0
- package/esm/Modal/components/Content/Content.module.css +6 -0
- package/esm/Modal/components/Content/index.d.ts +3 -0
- package/esm/Modal/components/Content/index.js +13 -0
- package/esm/Modal/components/Title/Title.module.css +9 -0
- package/esm/Modal/components/Title/index.d.ts +3 -0
- package/esm/Modal/components/Title/index.js +19 -0
- package/esm/Modal/index.d.ts +4 -0
- package/esm/Modal/index.js +61 -0
- package/esm/Modal/index.props.d.ts +5 -0
- package/esm/MultiSelect/components/MenuOverlay/index.d.ts +19 -0
- package/esm/MultiSelect/components/MenuOverlay/index.js +93 -0
- package/esm/MultiSelect/components/MenuOverlay/index.module.css +9 -0
- package/esm/MultiSelect/components/MenuOverlayItem/index.d.ts +13 -0
- package/esm/MultiSelect/components/MenuOverlayItem/index.js +20 -0
- package/esm/MultiSelect/index.d.ts +4 -0
- package/esm/MultiSelect/index.js +159 -0
- package/esm/MultiSelect/index.module.css +49 -0
- package/esm/MultiSelect/index.props.d.ts +32 -0
- package/esm/MultiSelect/utils/index.d.ts +1 -0
- package/esm/MultiSelect/utils/index.js +5 -0
- package/esm/Portal/index.d.ts +5 -0
- package/esm/Portal/index.js +16 -0
- package/esm/RadioGroup/Radio.d.ts +19 -0
- package/esm/RadioGroup/Radio.js +37 -0
- package/esm/RadioGroup/RadioGroup.module.css +31 -0
- package/esm/RadioGroup/index.d.ts +26 -0
- package/esm/RadioGroup/index.js +55 -0
- package/esm/Select/components/MenuOverlay/index.d.ts +11 -0
- package/esm/Select/components/MenuOverlay/index.js +55 -0
- package/esm/Select/components/MenuOverlay/index.module.css +4 -0
- package/esm/Select/components/MenuOverlayItem/index.d.ts +14 -0
- package/esm/Select/components/MenuOverlayItem/index.js +39 -0
- package/esm/Select/index.d.ts +4 -0
- package/esm/Select/index.js +98 -0
- package/esm/Select/index.module.css +37 -0
- package/esm/Select/index.props.d.ts +28 -0
- package/esm/Separator/Separator.module.css +5 -0
- package/esm/Separator/index.d.ts +6 -0
- package/esm/Separator/index.js +12 -0
- package/esm/Skeleton/Skeleton.module.css +33 -0
- package/esm/Skeleton/index.d.ts +4 -0
- package/esm/Skeleton/index.js +32 -0
- package/esm/Skeleton/index.props.d.ts +11 -0
- package/esm/Status/index.d.ts +5 -0
- package/esm/Status/index.js +18 -0
- package/esm/Status/index.module.css +45 -0
- package/esm/Status/index.props.d.ts +12 -0
- package/esm/Switch/Switch.module.css +56 -0
- package/esm/Switch/index.d.ts +4 -0
- package/esm/Switch/index.js +30 -0
- package/esm/Switch/index.props.d.ts +6 -0
- package/esm/TabsMenu/Tab/Tab.d.ts +4 -0
- package/esm/TabsMenu/Tab/Tab.js +29 -0
- package/esm/TabsMenu/Tab/Tab.module.css +66 -0
- package/esm/TabsMenu/Tab/Tab.props.d.ts +14 -0
- package/esm/TabsMenu/TabsMenu.module.css +8 -0
- package/esm/TabsMenu/index.d.ts +4 -0
- package/esm/TabsMenu/index.js +83 -0
- package/esm/TabsMenu/index.props.d.ts +11 -0
- package/esm/TabsPanes/Pane/Pane.d.ts +3 -0
- package/esm/TabsPanes/Pane/Pane.js +15 -0
- package/esm/TabsPanes/Pane/index.props.d.ts +7 -0
- package/esm/TabsPanes/index.d.ts +4 -0
- package/esm/TabsPanes/index.js +26 -0
- package/esm/TabsPanes/index.props.d.ts +8 -0
- package/esm/TextArea/TextArea.module.css +16 -0
- package/esm/TextArea/index.d.ts +4 -0
- package/esm/TextArea/index.js +51 -0
- package/esm/TextArea/index.props.d.ts +13 -0
- package/esm/Theme/breakpoints.d.ts +18 -0
- package/esm/Theme/breakpoints.js +34 -0
- package/esm/Theme/colors/common.d.ts +39 -0
- package/esm/Theme/colors/common.js +26 -0
- package/esm/Theme/colors/index.d.ts +64 -0
- package/esm/Theme/colors/index.js +8 -0
- package/esm/Theme/colors/theme_buenos_aires.d.ts +69 -0
- package/{src/components/Theme/colors/theme_buenos_aires.ts → esm/Theme/colors/theme_buenos_aires.js} +14 -23
- package/esm/Theme/colors/theme_default.d.ts +47 -0
- package/{src/components/Theme/colors/theme_default.ts → esm/Theme/colors/theme_default.js} +12 -19
- package/esm/Theme/global.css +50 -0
- package/esm/Theme/index.d.ts +296 -0
- package/esm/Theme/index.js +9 -0
- package/esm/Theme/themes/buenos_aires.d.ts +152 -0
- package/{src/components/Theme/themes/buenos_aires.ts → esm/Theme/themes/buenos_aires.js} +5 -18
- package/esm/Theme/themes/default.d.ts +144 -0
- package/{src/components/Theme/themes/default.ts → esm/Theme/themes/default.js} +5 -17
- package/esm/TimeSelect/Label/index.d.ts +8 -0
- package/esm/TimeSelect/Label/index.js +19 -0
- package/esm/TimeSelect/helpers.d.ts +9 -0
- package/esm/TimeSelect/helpers.js +35 -0
- package/esm/TimeSelect/index.d.ts +11 -0
- package/esm/TimeSelect/index.js +45 -0
- package/esm/TimeSelect/index.props.d.ts +4 -0
- package/esm/Tooltip/Tooltip.module.css +122 -0
- package/esm/Tooltip/index.d.ts +4 -0
- package/esm/Tooltip/index.js +106 -0
- package/esm/Tooltip/index.props.d.ts +11 -0
- package/esm/Typography/Typography.module.css +64 -0
- package/esm/Typography/index.d.ts +4 -0
- package/esm/Typography/index.js +24 -0
- package/esm/Typography/index.props.d.ts +13 -0
- package/esm/base/BaseInput/BaseInput.module.css +13 -0
- package/esm/base/BaseInput/index.d.ts +4 -0
- package/esm/base/BaseInput/index.js +21 -0
- package/esm/base/BaseInput/index.props.d.ts +5 -0
- package/esm/base/FormField/FormField.module.css +11 -0
- package/esm/base/FormField/index.d.ts +4 -0
- package/esm/base/FormField/index.js +27 -0
- package/esm/base/FormField/index.props.d.ts +10 -0
- package/esm/base/InputRoot/InputRoot.module.css +76 -0
- package/esm/base/InputRoot/index.d.ts +4 -0
- package/esm/base/InputRoot/index.js +31 -0
- package/esm/base/InputRoot/index.props.d.ts +15 -0
- package/esm/helpers/date/index.d.ts +12 -0
- package/esm/helpers/date/index.js +73 -0
- package/esm/helpers/generateUniqID.d.ts +2 -0
- package/esm/helpers/on.d.ts +1 -0
- package/esm/helpers/on.js +10 -0
- package/esm/hooks/useMediaSizes/index.d.ts +5 -0
- package/esm/hooks/useMediaSizes/index.js +36 -0
- package/esm/hooks/useOnClickOutside/index.d.ts +3 -0
- package/esm/hooks/useOnClickOutside/index.js +28 -0
- package/esm/hooks/useScrollLock/index.d.ts +2 -0
- package/esm/hooks/useScrollLock/index.js +22 -0
- package/esm/hooks/useTrapFocus/index.d.ts +3 -0
- package/esm/hooks/useTrapFocus/index.js +30 -0
- package/esm/index.js +54 -0
- package/esm/lib/keyboard.d.ts +4 -0
- package/esm/lib/keyboard.js +25 -0
- package/esm/libs/numbers/leadingZeros.d.ts +4 -0
- package/{src/components/libs/numbers/leadingZeros.ts → esm/libs/numbers/leadingZeros.js} +4 -4
- package/esm/libs/requestIdleCallback/index.d.ts +5 -0
- package/{src/components/libs/requestIdleCallback/index.ts → esm/libs/requestIdleCallback/index.js} +3 -5
- package/esm/theme_ba_variables.css +151 -0
- package/esm/theme_default_variables.css +143 -0
- package/helpers/date/index.d.ts +12 -0
- package/helpers/date/index.js +84 -0
- package/helpers/generateUniqID.d.ts +2 -0
- package/helpers/on.d.ts +1 -0
- package/helpers/on.js +12 -0
- package/hooks/useMediaSizes/index.d.ts +5 -0
- package/hooks/useMediaSizes/index.js +40 -0
- package/hooks/useOnClickOutside/index.d.ts +3 -0
- package/hooks/useOnClickOutside/index.js +32 -0
- package/hooks/useScrollLock/index.d.ts +2 -0
- package/hooks/useScrollLock/index.js +26 -0
- package/hooks/useTrapFocus/index.d.ts +3 -0
- package/hooks/useTrapFocus/index.js +34 -0
- package/index.d.ts +37 -0
- package/index.js +113 -0
- package/lib/keyboard.d.ts +4 -0
- package/lib/keyboard.js +28 -0
- package/libs/numbers/leadingZeros.d.ts +4 -0
- package/libs/numbers/leadingZeros.js +14 -0
- package/libs/requestIdleCallback/index.d.ts +5 -0
- package/libs/requestIdleCallback/index.js +13 -0
- package/package.json +4 -86
- package/theme_ba_variables.css +151 -0
- package/theme_default_variables.css +143 -0
- package/.babelrc +0 -7
- package/.config/jest/__mocks__/noop.js +0 -1
- package/.config/jest/jest.config.ts +0 -207
- package/.config/jest/jest.setup.ts +0 -4
- package/.prettierignore +0 -5
- package/.prettierrc +0 -8
- package/.storybook/AddonThemesSwitcher/constants.ts +0 -7
- package/.storybook/AddonThemesSwitcher/index.ts +0 -45
- package/.storybook/AddonThemesSwitcher/register.tsx +0 -79
- package/.storybook/main.ts +0 -18
- package/.storybook/manager.tsx +0 -1
- package/.storybook/preview-head.html +0 -19
- package/.storybook/preview.tsx +0 -14
- package/.stylelintrc.json +0 -17
- package/@types/image.d.ts +0 -5
- package/@types/typings.d.ts +0 -2
- package/eslint.config.mjs +0 -83
- package/rollup.config.js +0 -81
- package/scripts/buildSass.js +0 -23
- package/scripts/copyFiles.js +0 -32
- package/scripts/postbuild.js +0 -52
- package/scripts/transformCSS.js +0 -35
- package/scripts/updateImports.js +0 -16
- package/scripts/variables.ts +0 -29
- package/src/components/Accordion/Accordion.stories.tsx +0 -47
- package/src/components/Accordion/index.tsx +0 -71
- package/src/components/Avatar/assets/org-circle.svg +0 -1
- package/src/components/Avatar/assets/user-circle.svg +0 -1
- package/src/components/Avatar/constants.ts +0 -7
- package/src/components/Avatar/index.props.ts +0 -17
- package/src/components/Avatar/index.stories.tsx +0 -36
- package/src/components/Avatar/index.tsx +0 -49
- package/src/components/Badge/Control/index.tsx +0 -16
- package/src/components/Badge/__tests__/Badge.test.tsx +0 -27
- package/src/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +0 -28
- package/src/components/Badge/index.props.ts +0 -12
- package/src/components/Badge/index.stories.tsx +0 -68
- package/src/components/Badge/index.tsx +0 -60
- package/src/components/Button/Button.module.scss +0 -265
- package/src/components/Button/index.props.ts +0 -23
- package/src/components/Button/index.stories.tsx +0 -109
- package/src/components/Button/index.tsx +0 -50
- package/src/components/Calendar/components/ContinueButton/index.module.scss +0 -6
- package/src/components/Calendar/components/ContinueButton/index.tsx +0 -45
- package/src/components/Calendar/components/Month/Month.tsx +0 -172
- package/src/components/Calendar/components/Presets/index.tsx +0 -48
- package/src/components/Calendar/index.props.ts +0 -34
- package/src/components/Calendar/index.stories.tsx +0 -45
- package/src/components/Calendar/index.tsx +0 -251
- package/src/components/Calendar/utils/__tests__/getNumberOfMonthsBetweenDates.test.ts +0 -27
- package/src/components/Calendar/utils/getMonthWeeks.ts +0 -135
- package/src/components/Calendar/utils/getNumberOfMonthsBetweenDates.ts +0 -28
- package/src/components/Calendar/utils/getPresets.ts +0 -114
- package/src/components/Calendar/utils/getStartMonth.ts +0 -19
- package/src/components/Checkbox/Checkbox.module.scss +0 -106
- package/src/components/Checkbox/index.props.ts +0 -18
- package/src/components/Checkbox/index.stories.tsx +0 -76
- package/src/components/Checkbox/index.tsx +0 -61
- package/src/components/Chip/Chip.module.scss +0 -93
- package/src/components/Chip/index.props.ts +0 -10
- package/src/components/Chip/index.stories.tsx +0 -97
- package/src/components/Chip/index.tsx +0 -52
- package/src/components/ClickOutside/index.tsx +0 -36
- package/src/components/Counter/index.props.ts +0 -9
- package/src/components/Counter/index.stories.tsx +0 -40
- package/src/components/Counter/index.tsx +0 -67
- package/src/components/Datepicker/components/DatePicker/index.props.ts +0 -5
- package/src/components/Datepicker/components/DatePicker/index.tsx +0 -75
- package/src/components/Datepicker/components/TimePicker/Label/index.tsx +0 -20
- package/src/components/Datepicker/components/TimePicker/helpers.ts +0 -42
- package/src/components/Datepicker/components/TimePicker/index.props.ts +0 -8
- package/src/components/Datepicker/components/TimePicker/index.tsx +0 -60
- package/src/components/Datepicker/index.props.ts +0 -7
- package/src/components/Datepicker/index.stories.tsx +0 -29
- package/src/components/Datepicker/index.tsx +0 -23
- package/src/components/DotsLoader/index.stories.tsx +0 -26
- package/src/components/DotsLoader/index.tsx +0 -29
- package/src/components/Dropdown/__tests__/Dropdown.test.tsx +0 -75
- package/src/components/Dropdown/index.props.ts +0 -27
- package/src/components/Dropdown/index.stories.tsx +0 -40
- package/src/components/Dropdown/index.tsx +0 -210
- package/src/components/Grid/Item/index.tsx +0 -21
- package/src/components/Grid/index.props.ts +0 -6
- package/src/components/Grid/index.stories.tsx +0 -56
- package/src/components/Grid/index.tsx +0 -26
- package/src/components/Icons/ArrowNext.tsx +0 -27
- package/src/components/Icons/Cart.tsx +0 -23
- package/src/components/Icons/Check.tsx +0 -32
- package/src/components/Icons/Chevron.tsx +0 -27
- package/src/components/Icons/Close.tsx +0 -21
- package/src/components/Icons/CrossFill.tsx +0 -22
- package/src/components/Icons/Edit.tsx +0 -25
- package/src/components/Icons/Exit.tsx +0 -26
- package/src/components/Icons/EyeClosed.tsx +0 -22
- package/src/components/Icons/EyeOpen.tsx +0 -30
- package/src/components/Icons/Help.tsx +0 -20
- package/src/components/Icons/Info.tsx +0 -25
- package/src/components/Icons/Minus.tsx +0 -26
- package/src/components/Icons/More.tsx +0 -24
- package/src/components/Icons/Plus.tsx +0 -25
- package/src/components/Icons/Setting.tsx +0 -28
- package/src/components/Icons/Trash.tsx +0 -27
- package/src/components/Icons/User.tsx +0 -33
- package/src/components/Icons/index.stories.tsx +0 -71
- package/src/components/Image/Image.module.scss +0 -16
- package/src/components/Image/index.props.ts +0 -14
- package/src/components/Image/index.stories.tsx +0 -23
- package/src/components/Image/index.tsx +0 -67
- package/src/components/Input/index.props.ts +0 -25
- package/src/components/Input/index.stories.tsx +0 -70
- package/src/components/Input/index.tsx +0 -49
- package/src/components/InputRadio/InputRadio.module.scss +0 -117
- package/src/components/InputRadio/index.tsx +0 -108
- package/src/components/Menu/__tests__/Menu.test.tsx +0 -46
- package/src/components/Menu/components/MenuItem/MenuItem.module.scss +0 -44
- package/src/components/Menu/components/MenuItem/index.props.ts +0 -11
- package/src/components/Menu/components/MenuItem/index.tsx +0 -41
- package/src/components/Menu/index.props.ts +0 -13
- package/src/components/Menu/index.stories.tsx +0 -36
- package/src/components/Menu/index.tsx +0 -49
- package/src/components/Modal/components/Close/index.tsx +0 -12
- package/src/components/Modal/components/Content/index.tsx +0 -10
- package/src/components/Modal/components/Title/index.tsx +0 -15
- package/src/components/Modal/index.props.ts +0 -5
- package/src/components/Modal/index.stories.tsx +0 -32
- package/src/components/Modal/index.tsx +0 -76
- package/src/components/MultiSelect/components/MenuOverlay/index.tsx +0 -120
- package/src/components/MultiSelect/components/MenuOverlayItem/index.tsx +0 -28
- package/src/components/MultiSelect/index.props.ts +0 -37
- package/src/components/MultiSelect/index.stories.tsx +0 -62
- package/src/components/MultiSelect/index.tsx +0 -171
- package/src/components/MultiSelect/utils/index.ts +0 -6
- package/src/components/Portal/index.tsx +0 -18
- package/src/components/RadioGroup/Radio.tsx +0 -56
- package/src/components/RadioGroup/RadioGroup.module.scss +0 -37
- package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -101
- package/src/components/RadioGroup/index.tsx +0 -92
- package/src/components/Select/__tests__/Select.test.tsx +0 -37
- package/src/components/Select/components/MenuOverlay/index.tsx +0 -66
- package/src/components/Select/components/MenuOverlayItem/index.tsx +0 -53
- package/src/components/Select/index.props.ts +0 -32
- package/src/components/Select/index.stories.tsx +0 -52
- package/src/components/Select/index.tsx +0 -106
- package/src/components/Separator/Separator.stories.tsx +0 -12
- package/src/components/Separator/index.tsx +0 -14
- package/src/components/Skeleton/Skeleton.module.scss +0 -39
- package/src/components/Skeleton/index.props.ts +0 -12
- package/src/components/Skeleton/index.stories.tsx +0 -45
- package/src/components/Skeleton/index.tsx +0 -24
- package/src/components/Status/index.module.scss +0 -54
- package/src/components/Status/index.props.ts +0 -14
- package/src/components/Status/index.stories.tsx +0 -42
- package/src/components/Status/index.tsx +0 -22
- package/src/components/Switch/index.props.ts +0 -8
- package/src/components/Switch/index.stories.tsx +0 -27
- package/src/components/Switch/index.tsx +0 -40
- package/src/components/TabsMenu/Tab/Tab.module.scss +0 -78
- package/src/components/TabsMenu/Tab/Tab.props.ts +0 -20
- package/src/components/TabsMenu/Tab/Tab.tsx +0 -40
- package/src/components/TabsMenu/index.props.ts +0 -13
- package/src/components/TabsMenu/index.stories.tsx +0 -40
- package/src/components/TabsMenu/index.tsx +0 -110
- package/src/components/TabsPanes/Pane/Pane.tsx +0 -14
- package/src/components/TabsPanes/Pane/index.props.ts +0 -8
- package/src/components/TabsPanes/__tests__/TabsPanes.test.tsx +0 -39
- package/src/components/TabsPanes/__tests__/__snapshots__/TabsPanes.test.tsx.snap +0 -189
- package/src/components/TabsPanes/index.stories.tsx +0 -29
- package/src/components/TabsPanes/index.tsx +0 -37
- package/src/components/TextArea/index.props.ts +0 -23
- package/src/components/TextArea/index.stories.tsx +0 -33
- package/src/components/TextArea/index.tsx +0 -56
- package/src/components/Theme/breakpoints.ts +0 -52
- package/src/components/Theme/colors/common.ts +0 -31
- package/src/components/Theme/colors/index.ts +0 -9
- package/src/components/Theme/global.scss +0 -59
- package/src/components/Theme/index.stories.tsx +0 -70
- package/src/components/Theme/index.tsx +0 -7
- package/src/components/TimeSelect/Label/index.tsx +0 -20
- package/src/components/TimeSelect/helpers.ts +0 -37
- package/src/components/TimeSelect/index.props.ts +0 -4
- package/src/components/TimeSelect/index.stories.tsx +0 -64
- package/src/components/TimeSelect/index.tsx +0 -66
- package/src/components/Tooltip/Tooltip.module.scss +0 -148
- package/src/components/Tooltip/__tests__/Tooltip.test.tsx +0 -55
- package/src/components/Tooltip/index.props.ts +0 -27
- package/src/components/Tooltip/index.stories.tsx +0 -50
- package/src/components/Tooltip/index.tsx +0 -151
- package/src/components/Typography/Typography.module.scss +0 -83
- package/src/components/Typography/index.props.ts +0 -37
- package/src/components/Typography/index.stories.tsx +0 -70
- package/src/components/Typography/index.tsx +0 -35
- package/src/components/base/BaseInput/index.props.ts +0 -7
- package/src/components/base/BaseInput/index.tsx +0 -21
- package/src/components/base/FormField/FormField.module.scss +0 -12
- package/src/components/base/FormField/index.props.ts +0 -11
- package/src/components/base/FormField/index.tsx +0 -36
- package/src/components/base/InputRoot/InputRoot.module.scss +0 -93
- package/src/components/base/InputRoot/index.props.ts +0 -18
- package/src/components/base/InputRoot/index.tsx +0 -39
- package/src/components/helpers/__tests__/generateUniqID.test.ts +0 -7
- package/src/components/helpers/date/index.ts +0 -76
- package/src/components/helpers/generateUniqID.ts +0 -6
- package/src/components/helpers/on.ts +0 -13
- package/src/components/hooks/useMediaSizes/index.ts +0 -50
- package/src/components/hooks/useOnClickOutside/index.ts +0 -39
- package/src/components/hooks/useScrollLock/index.ts +0 -26
- package/src/components/hooks/useTrapFocus/index.ts +0 -49
- package/src/components/lib/keyboard.ts +0 -46
- package/src/components/libs/numbers/__tests__/leadingZeros.test.ts +0 -10
- package/tsconfig.json +0 -49
- /package/{src/components/Icons/index.tsx → Icons/index.d.ts} +0 -0
- /package/{src/components/index.ts → esm/index.d.ts} +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { __rest, __assign } from 'tslib';
|
|
2
|
+
import React__default, { useMemo, createRef, useCallback } from 'react';
|
|
3
|
+
import classNames from 'classnames/bind';
|
|
4
|
+
import { isKey, Keys } from '../lib/keyboard.js';
|
|
5
|
+
import Tab from './Tab/Tab.js';
|
|
6
|
+
import styles from './TabsMenu.module.css';
|
|
7
|
+
|
|
8
|
+
var clx = classNames.bind(styles);
|
|
9
|
+
var TabsMenu = function TabsMenu(_a) {
|
|
10
|
+
var activeTab = _a.activeTab,
|
|
11
|
+
onChange = _a.onChange,
|
|
12
|
+
className = _a.className,
|
|
13
|
+
innerRef = _a.innerRef,
|
|
14
|
+
tabs = _a.tabs,
|
|
15
|
+
_b = _a.size,
|
|
16
|
+
size = _b === void 0 ? "m" : _b,
|
|
17
|
+
props = __rest(_a, ["activeTab", "onChange", "className", "innerRef", "tabs", "size"]);
|
|
18
|
+
var tabsRefs = useMemo(function () {
|
|
19
|
+
return tabs.map(function () {
|
|
20
|
+
return /*#__PURE__*/createRef();
|
|
21
|
+
});
|
|
22
|
+
}, [tabs]);
|
|
23
|
+
var onKeyDown = useCallback(function (event) {
|
|
24
|
+
if (isKey(event.key, [Keys.LEFT, Keys.DOWN, Keys.RIGHT, Keys.UP])) {
|
|
25
|
+
event.preventDefault();
|
|
26
|
+
var nextTabMenuIndex = 0;
|
|
27
|
+
var direction = isKey(event.key, [Keys.LEFT, Keys.UP]) ? -1 : 1;
|
|
28
|
+
for (var i = 0; i < tabs.length; i++) {
|
|
29
|
+
if (tabs[i].id === activeTab) {
|
|
30
|
+
nextTabMenuIndex = i;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
for (var i = nextTabMenuIndex; i < tabs.length; i += direction) {
|
|
35
|
+
nextTabMenuIndex += direction;
|
|
36
|
+
var isEdge = nextTabMenuIndex >= tabs.length || nextTabMenuIndex < 0;
|
|
37
|
+
var isTabNonDisabled = tabs[nextTabMenuIndex] && !tabs[nextTabMenuIndex].disabled;
|
|
38
|
+
if (isEdge || isTabNonDisabled) {
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
var nextTabMenu = tabs[nextTabMenuIndex];
|
|
43
|
+
var nextTabMenuRef = tabsRefs[nextTabMenuIndex];
|
|
44
|
+
if (nextTabMenu !== undefined && nextTabMenuRef !== undefined && nextTabMenuRef.current !== null && (nextTabMenu.onClick !== undefined || onChange !== undefined)) {
|
|
45
|
+
nextTabMenuRef.current.focus();
|
|
46
|
+
if (nextTabMenu.onClick !== undefined) {
|
|
47
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
48
|
+
nextTabMenu.onClick(event);
|
|
49
|
+
}
|
|
50
|
+
if (onChange !== undefined) {
|
|
51
|
+
onChange(nextTabMenuIndex.toString());
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}, [activeTab, tabsRefs, tabs, onChange]);
|
|
56
|
+
return /*#__PURE__*/React__default.createElement("ul", __assign({}, props, {
|
|
57
|
+
className: clx(styles.root, className),
|
|
58
|
+
ref: innerRef,
|
|
59
|
+
role: "tablist"
|
|
60
|
+
}), tabs.map(function (_a, index) {
|
|
61
|
+
var id = _a.id,
|
|
62
|
+
disabled = _a.disabled,
|
|
63
|
+
tabProps = __rest(_a, ["id", "disabled"]);
|
|
64
|
+
return /*#__PURE__*/React__default.createElement(Tab, __assign({}, tabProps, {
|
|
65
|
+
innerRef: tabsRefs[index],
|
|
66
|
+
disabled: disabled,
|
|
67
|
+
size: size,
|
|
68
|
+
onClick: disabled || !onChange && !tabProps.onClick ? undefined : function (event) {
|
|
69
|
+
if (tabProps.onClick !== undefined) {
|
|
70
|
+
tabProps.onClick(event);
|
|
71
|
+
}
|
|
72
|
+
if (onChange !== undefined) {
|
|
73
|
+
onChange(id);
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
active: id === activeTab,
|
|
77
|
+
key: id,
|
|
78
|
+
onKeyDown: onKeyDown
|
|
79
|
+
}));
|
|
80
|
+
}));
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export { TabsMenu as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RefObject } from "react";
|
|
2
|
+
import type { TabProps } from "./Tab/Tab.props";
|
|
3
|
+
export type Size = "xs" | "s" | "m" | "l";
|
|
4
|
+
export type TabsMenuProps = {
|
|
5
|
+
activeTab?: string;
|
|
6
|
+
onChange?: (tabId: string) => void;
|
|
7
|
+
tabs: TabProps[];
|
|
8
|
+
innerRef?: RefObject<HTMLUListElement>;
|
|
9
|
+
className?: string;
|
|
10
|
+
size?: Size;
|
|
11
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __rest, __assign } from 'tslib';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
|
|
5
|
+
var TabsPanesPane = function TabsPanesPane(_a) {
|
|
6
|
+
var content = _a.content,
|
|
7
|
+
className = _a.className,
|
|
8
|
+
props = __rest(_a, ["content", "className"]);
|
|
9
|
+
return /*#__PURE__*/React__default.createElement("div", __assign({}, props, {
|
|
10
|
+
role: "tabpanel",
|
|
11
|
+
className: classNames(null, className)
|
|
12
|
+
}), content);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { TabsPanesPane };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __rest, __assign } from 'tslib';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import { TabsPanesPane } from './Pane/Pane.js';
|
|
5
|
+
|
|
6
|
+
var TabsPanes = function TabsPanes(_a) {
|
|
7
|
+
var activePane = _a.activePane,
|
|
8
|
+
className = _a.className,
|
|
9
|
+
innerRef = _a.innerRef,
|
|
10
|
+
panes = _a.panes,
|
|
11
|
+
props = __rest(_a, ["activePane", "className", "innerRef", "panes"]);
|
|
12
|
+
var currentPane = panes.reduce(function (acc, pane) {
|
|
13
|
+
if (acc !== null) {
|
|
14
|
+
return acc;
|
|
15
|
+
}
|
|
16
|
+
return pane.id === activePane ? pane : null;
|
|
17
|
+
}, null);
|
|
18
|
+
var paneProps = __rest(currentPane || {}, []);
|
|
19
|
+
return /*#__PURE__*/React__default.createElement("div", __assign({}, props, {
|
|
20
|
+
ref: innerRef,
|
|
21
|
+
role: "menutabpanes",
|
|
22
|
+
className: classNames(null, [className])
|
|
23
|
+
}), currentPane && /*#__PURE__*/React__default.createElement(TabsPanesPane, __assign({}, paneProps)));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { TabsPanes as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.textarea {
|
|
2
|
+
background: transparent;
|
|
3
|
+
border: none;
|
|
4
|
+
flex: 1;
|
|
5
|
+
font: inherit;
|
|
6
|
+
outline: none;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
padding: 7px 0;
|
|
10
|
+
resize: none;
|
|
11
|
+
text-overflow: unset;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
}
|
|
14
|
+
.textarea::placeholder {
|
|
15
|
+
color: var(--palette-bg-3);
|
|
16
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ITextAreaProps } from "./index.props";
|
|
3
|
+
declare const TextArea: ({ className, value, minRows, maxRows, onChange, label, required, hasError, hint, disabled, inputRef, ref, ...props }: ITextAreaProps) => React.JSX.Element;
|
|
4
|
+
export default TextArea;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { __rest, __assign } from 'tslib';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import TextareaAutosize from 'react-textarea-autosize';
|
|
4
|
+
import classNames from 'classnames/bind';
|
|
5
|
+
import FormField from '../base/FormField/index.js';
|
|
6
|
+
import InputRoot from '../base/InputRoot/index.js';
|
|
7
|
+
import styles from './TextArea.module.css';
|
|
8
|
+
|
|
9
|
+
var clx = classNames.bind(styles);
|
|
10
|
+
var TextArea = function TextArea(_a) {
|
|
11
|
+
var className = _a.className,
|
|
12
|
+
_b = _a.value,
|
|
13
|
+
value = _b === void 0 ? "" : _b,
|
|
14
|
+
_c = _a.minRows,
|
|
15
|
+
minRows = _c === void 0 ? 3 : _c,
|
|
16
|
+
_d = _a.maxRows,
|
|
17
|
+
maxRows = _d === void 0 ? 6 : _d,
|
|
18
|
+
onChange = _a.onChange,
|
|
19
|
+
label = _a.label,
|
|
20
|
+
required = _a.required,
|
|
21
|
+
hasError = _a.hasError,
|
|
22
|
+
hint = _a.hint,
|
|
23
|
+
disabled = _a.disabled,
|
|
24
|
+
inputRef = _a.inputRef,
|
|
25
|
+
ref = _a.ref,
|
|
26
|
+
props = __rest(_a, ["className", "value", "minRows", "maxRows", "onChange", "label", "required", "hasError", "hint", "disabled", "inputRef", "ref"]);
|
|
27
|
+
var onChangeHandler = function onChangeHandler(event) {
|
|
28
|
+
if (onChange) onChange(event.target.value, event);
|
|
29
|
+
};
|
|
30
|
+
return /*#__PURE__*/React__default.createElement(FormField, {
|
|
31
|
+
ref: ref,
|
|
32
|
+
className: clx(null, className),
|
|
33
|
+
required: required,
|
|
34
|
+
label: label,
|
|
35
|
+
hint: hint,
|
|
36
|
+
hasError: hasError
|
|
37
|
+
}, /*#__PURE__*/React__default.createElement(InputRoot, {
|
|
38
|
+
disabled: !!disabled,
|
|
39
|
+
hasError: hasError
|
|
40
|
+
}, /*#__PURE__*/React__default.createElement(TextareaAutosize, __assign({
|
|
41
|
+
ref: inputRef,
|
|
42
|
+
"data-testid": "textarea",
|
|
43
|
+
minRows: minRows,
|
|
44
|
+
maxRows: maxRows,
|
|
45
|
+
value: value,
|
|
46
|
+
className: clx(styles.textarea, className),
|
|
47
|
+
onChange: onChangeHandler
|
|
48
|
+
}, props))));
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export { TextArea as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ChangeEvent, ForwardedRef, ReactNode, TextareaHTMLAttributes } from "react";
|
|
2
|
+
export interface ITextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "style"> {
|
|
3
|
+
minRows?: number;
|
|
4
|
+
maxRows?: number;
|
|
5
|
+
value?: string;
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
hint?: ReactNode;
|
|
8
|
+
hasError?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
onChange?: (value: string, e: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
11
|
+
inputRef?: ForwardedRef<HTMLTextAreaElement>;
|
|
12
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type Breakpoints = {
|
|
2
|
+
hd: number;
|
|
3
|
+
xl: number;
|
|
4
|
+
lg: number;
|
|
5
|
+
md: number;
|
|
6
|
+
sm: number;
|
|
7
|
+
xs: number;
|
|
8
|
+
};
|
|
9
|
+
export type BreakpointName = keyof Breakpoints;
|
|
10
|
+
export type BreakpointsTheme = {
|
|
11
|
+
values: Breakpoints;
|
|
12
|
+
up: (breakpoint: BreakpointName, isMedial?: boolean) => string;
|
|
13
|
+
under: (breakpoint: BreakpointName, isMedial?: boolean) => string;
|
|
14
|
+
between: ([from, to]: [BreakpointName, BreakpointName], isMedial?: boolean) => string;
|
|
15
|
+
};
|
|
16
|
+
export type BreakpointMap<T = number> = Map<BreakpointName, T>;
|
|
17
|
+
declare const Breakpoints: BreakpointsTheme;
|
|
18
|
+
export default Breakpoints;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var Breakpoints = {
|
|
2
|
+
values: {
|
|
3
|
+
hd: 2560,
|
|
4
|
+
xl: 1920,
|
|
5
|
+
lg: 1450,
|
|
6
|
+
md: 1075,
|
|
7
|
+
sm: 680,
|
|
8
|
+
xs: 320
|
|
9
|
+
},
|
|
10
|
+
up: function up(breakpoint, isMedia) {
|
|
11
|
+
if (isMedia === void 0) {
|
|
12
|
+
isMedia = true;
|
|
13
|
+
}
|
|
14
|
+
return "".concat(isMedia ? "@media " : "", "(min-width: ").concat(this.values[breakpoint], "px)");
|
|
15
|
+
},
|
|
16
|
+
under: function under(breakpoint, isMedia) {
|
|
17
|
+
if (isMedia === void 0) {
|
|
18
|
+
isMedia = true;
|
|
19
|
+
}
|
|
20
|
+
return "".concat(isMedia ? "@media " : "", "(max-width: ").concat(this.values[breakpoint] - 1, "px)");
|
|
21
|
+
},
|
|
22
|
+
between: function between(_a, isMedia) {
|
|
23
|
+
var min = _a[0],
|
|
24
|
+
max = _a[1];
|
|
25
|
+
if (isMedia === void 0) {
|
|
26
|
+
isMedia = true;
|
|
27
|
+
}
|
|
28
|
+
var from = this.values[min];
|
|
29
|
+
var to = this.values[max] - 1;
|
|
30
|
+
return "".concat(isMedia ? "@media " : "", "(min-width: ").concat(from, "px) and (max-width: ").concat(to, "px)");
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { Breakpoints as default };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const Common: {
|
|
2
|
+
WHITE: string;
|
|
3
|
+
BLACK: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const Backgrounds: {
|
|
6
|
+
BG_1: string;
|
|
7
|
+
BG_2: string;
|
|
8
|
+
BG_3: string;
|
|
9
|
+
BG_4: string;
|
|
10
|
+
BG_5: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const Accents: {
|
|
13
|
+
ALERT: string;
|
|
14
|
+
ALERT_HOVER: string;
|
|
15
|
+
ALERT_ACTIVE: string;
|
|
16
|
+
ALERT_LIGHT: string;
|
|
17
|
+
SUCCESS: string;
|
|
18
|
+
SUCCESS_HOVER: string;
|
|
19
|
+
SUCCESS_ACTIVE: string;
|
|
20
|
+
SUCCESS_LIGHT: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const Color: {
|
|
23
|
+
BG_1: string;
|
|
24
|
+
BG_2: string;
|
|
25
|
+
BG_3: string;
|
|
26
|
+
BG_4: string;
|
|
27
|
+
BG_5: string;
|
|
28
|
+
ALERT: string;
|
|
29
|
+
ALERT_HOVER: string;
|
|
30
|
+
ALERT_ACTIVE: string;
|
|
31
|
+
ALERT_LIGHT: string;
|
|
32
|
+
SUCCESS: string;
|
|
33
|
+
SUCCESS_HOVER: string;
|
|
34
|
+
SUCCESS_ACTIVE: string;
|
|
35
|
+
SUCCESS_LIGHT: string;
|
|
36
|
+
WHITE: string;
|
|
37
|
+
BLACK: string;
|
|
38
|
+
};
|
|
39
|
+
export default Color;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __assign } from 'tslib';
|
|
2
|
+
|
|
3
|
+
var Common = {
|
|
4
|
+
WHITE: "#FFF",
|
|
5
|
+
BLACK: "#000"
|
|
6
|
+
};
|
|
7
|
+
var Backgrounds = {
|
|
8
|
+
BG_1: "#ECEEF2",
|
|
9
|
+
BG_2: "#E4E6EA",
|
|
10
|
+
BG_3: "#D6D9E0",
|
|
11
|
+
BG_4: "#C9CDD6",
|
|
12
|
+
BG_5: "#BCC1CC"
|
|
13
|
+
};
|
|
14
|
+
var Accents = {
|
|
15
|
+
ALERT: "#FF564E",
|
|
16
|
+
ALERT_HOVER: "#e72d24",
|
|
17
|
+
ALERT_ACTIVE: "#af2d26",
|
|
18
|
+
ALERT_LIGHT: "#ffeeed",
|
|
19
|
+
SUCCESS: "#4AC99B",
|
|
20
|
+
SUCCESS_HOVER: "#42b48b",
|
|
21
|
+
SUCCESS_ACTIVE: "#3ba07c",
|
|
22
|
+
SUCCESS_LIGHT: "#ecf9f5"
|
|
23
|
+
};
|
|
24
|
+
var Color = __assign(__assign(__assign({}, Common), Accents), Backgrounds);
|
|
25
|
+
|
|
26
|
+
export { Accents, Backgrounds, Color, Common, Color as default };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
TRETIARY_DEFAULT_1: string;
|
|
3
|
+
TRETIARY_DEFAULT_2: string;
|
|
4
|
+
TRETIARY_DEFAULT_3: string;
|
|
5
|
+
TRETIARY_DEFAULT_4: string;
|
|
6
|
+
TRETIARY_DEFAULT_5: string;
|
|
7
|
+
SECONDARY_DEFAULT_1: string;
|
|
8
|
+
SECONDARY_DEFAULT_2: string;
|
|
9
|
+
SECONDARY_DEFAULT_3: string;
|
|
10
|
+
SECONDARY_DEFAULT_4: string;
|
|
11
|
+
SECONDARY_DEFAULT_5: string;
|
|
12
|
+
PRIMARY_DEFAULT_1: string;
|
|
13
|
+
PRIMARY_DEFAULT_2: string;
|
|
14
|
+
PRIMARY_DEFAULT_3: string;
|
|
15
|
+
PRIMARY_DEFAULT_4: string;
|
|
16
|
+
PRIMARY_DEFAULT_5: string;
|
|
17
|
+
BRAND_DEFAULT_1: string;
|
|
18
|
+
BRAND_DEFAULT_2: string;
|
|
19
|
+
BRAND_DEFAULT_3: string;
|
|
20
|
+
PROMO_SILVER: string;
|
|
21
|
+
PROMO_GOLD: string;
|
|
22
|
+
PROMO_ASPHALT: string;
|
|
23
|
+
PROMO_TOMATO: string;
|
|
24
|
+
PROMO_COPPER: string;
|
|
25
|
+
PROMO_MINT: string;
|
|
26
|
+
PROMO_SKY: string;
|
|
27
|
+
PROMO_NEON: string;
|
|
28
|
+
TRETIARY_BA_1: string;
|
|
29
|
+
TRETIARY_BA_2: string;
|
|
30
|
+
TRETIARY_BA_3: string;
|
|
31
|
+
TRETIARY_BA_4: string;
|
|
32
|
+
TRETIARY_BA_5: string;
|
|
33
|
+
SECONDARY_BA_1: string;
|
|
34
|
+
SECONDARY_BA_2: string;
|
|
35
|
+
SECONDARY_BA_3: string;
|
|
36
|
+
SECONDARY_BA_4: string;
|
|
37
|
+
SECONDARY_BA_5: string;
|
|
38
|
+
PRIMARY_BA_1: string;
|
|
39
|
+
PRIMARY_BA_2: string;
|
|
40
|
+
PRIMARY_BA_3: string;
|
|
41
|
+
PRIMARY_BA_4: string;
|
|
42
|
+
PRIMARY_BA_5: string;
|
|
43
|
+
BRAND_BA_1: string;
|
|
44
|
+
BRAND_BA_2: string;
|
|
45
|
+
BRAND_BA_3: string;
|
|
46
|
+
BRAND_BA_4: string;
|
|
47
|
+
BRAND_BA_5: string;
|
|
48
|
+
BG_1: string;
|
|
49
|
+
BG_2: string;
|
|
50
|
+
BG_3: string;
|
|
51
|
+
BG_4: string;
|
|
52
|
+
BG_5: string;
|
|
53
|
+
ALERT: string;
|
|
54
|
+
ALERT_HOVER: string;
|
|
55
|
+
ALERT_ACTIVE: string;
|
|
56
|
+
ALERT_LIGHT: string;
|
|
57
|
+
SUCCESS: string;
|
|
58
|
+
SUCCESS_HOVER: string;
|
|
59
|
+
SUCCESS_ACTIVE: string;
|
|
60
|
+
SUCCESS_LIGHT: string;
|
|
61
|
+
WHITE: string;
|
|
62
|
+
BLACK: string;
|
|
63
|
+
};
|
|
64
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __assign } from 'tslib';
|
|
2
|
+
import { Color as Color$3 } from './theme_default.js';
|
|
3
|
+
import { Color as Color$2 } from './theme_buenos_aires.js';
|
|
4
|
+
import { Color as Color$1 } from './common.js';
|
|
5
|
+
|
|
6
|
+
var Color = __assign(__assign(__assign({}, Color$1), Color$2), Color$3);
|
|
7
|
+
|
|
8
|
+
export { Color as default };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const PrimaryBA: {
|
|
2
|
+
PRIMARY_BA_1: string;
|
|
3
|
+
PRIMARY_BA_2: string;
|
|
4
|
+
PRIMARY_BA_3: string;
|
|
5
|
+
PRIMARY_BA_4: string;
|
|
6
|
+
PRIMARY_BA_5: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const SecondaryBA: {
|
|
9
|
+
SECONDARY_BA_1: string;
|
|
10
|
+
SECONDARY_BA_2: string;
|
|
11
|
+
SECONDARY_BA_3: string;
|
|
12
|
+
SECONDARY_BA_4: string;
|
|
13
|
+
SECONDARY_BA_5: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const TretiaryBA: {
|
|
16
|
+
TRETIARY_BA_1: string;
|
|
17
|
+
TRETIARY_BA_2: string;
|
|
18
|
+
TRETIARY_BA_3: string;
|
|
19
|
+
TRETIARY_BA_4: string;
|
|
20
|
+
TRETIARY_BA_5: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const BrandBA: {
|
|
23
|
+
BRAND_BA_1: string;
|
|
24
|
+
BRAND_BA_2: string;
|
|
25
|
+
BRAND_BA_3: string;
|
|
26
|
+
BRAND_BA_4: string;
|
|
27
|
+
BRAND_BA_5: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const PromoBA: {
|
|
30
|
+
PROMO_SILVER: string;
|
|
31
|
+
PROMO_GOLD: string;
|
|
32
|
+
PROMO_ASPHALT: string;
|
|
33
|
+
PROMO_TOMATO: string;
|
|
34
|
+
PROMO_COPPER: string;
|
|
35
|
+
PROMO_MINT: string;
|
|
36
|
+
PROMO_SKY: string;
|
|
37
|
+
PROMO_NEON: string;
|
|
38
|
+
};
|
|
39
|
+
export declare const Color: {
|
|
40
|
+
PROMO_SILVER: string;
|
|
41
|
+
PROMO_GOLD: string;
|
|
42
|
+
PROMO_ASPHALT: string;
|
|
43
|
+
PROMO_TOMATO: string;
|
|
44
|
+
PROMO_COPPER: string;
|
|
45
|
+
PROMO_MINT: string;
|
|
46
|
+
PROMO_SKY: string;
|
|
47
|
+
PROMO_NEON: string;
|
|
48
|
+
TRETIARY_BA_1: string;
|
|
49
|
+
TRETIARY_BA_2: string;
|
|
50
|
+
TRETIARY_BA_3: string;
|
|
51
|
+
TRETIARY_BA_4: string;
|
|
52
|
+
TRETIARY_BA_5: string;
|
|
53
|
+
SECONDARY_BA_1: string;
|
|
54
|
+
SECONDARY_BA_2: string;
|
|
55
|
+
SECONDARY_BA_3: string;
|
|
56
|
+
SECONDARY_BA_4: string;
|
|
57
|
+
SECONDARY_BA_5: string;
|
|
58
|
+
PRIMARY_BA_1: string;
|
|
59
|
+
PRIMARY_BA_2: string;
|
|
60
|
+
PRIMARY_BA_3: string;
|
|
61
|
+
PRIMARY_BA_4: string;
|
|
62
|
+
PRIMARY_BA_5: string;
|
|
63
|
+
BRAND_BA_1: string;
|
|
64
|
+
BRAND_BA_2: string;
|
|
65
|
+
BRAND_BA_3: string;
|
|
66
|
+
BRAND_BA_4: string;
|
|
67
|
+
BRAND_BA_5: string;
|
|
68
|
+
};
|
|
69
|
+
export default Color;
|
package/{src/components/Theme/colors/theme_buenos_aires.ts → esm/Theme/colors/theme_buenos_aires.js}
RENAMED
|
@@ -1,36 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
import { __assign } from 'tslib';
|
|
2
|
+
|
|
3
|
+
var PrimaryBA = {
|
|
2
4
|
PRIMARY_BA_1: "#FFE695",
|
|
3
5
|
PRIMARY_BA_2: "#FFE07B",
|
|
4
6
|
PRIMARY_BA_3: "#FFD85A",
|
|
5
7
|
PRIMARY_BA_4: "#FFCE31",
|
|
6
|
-
PRIMARY_BA_5: "#FFC818"
|
|
8
|
+
PRIMARY_BA_5: "#FFC818"
|
|
7
9
|
};
|
|
8
|
-
|
|
9
|
-
export const SecondaryBA = {
|
|
10
|
+
var SecondaryBA = {
|
|
10
11
|
SECONDARY_BA_1: "#818b98",
|
|
11
12
|
SECONDARY_BA_2: "#59636e",
|
|
12
13
|
SECONDARY_BA_3: "#393f46",
|
|
13
14
|
SECONDARY_BA_4: "#25292e",
|
|
14
|
-
SECONDARY_BA_5: "#1f2328"
|
|
15
|
+
SECONDARY_BA_5: "#1f2328"
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
-
export const TretiaryBA = {
|
|
17
|
+
var TretiaryBA = {
|
|
18
18
|
TRETIARY_BA_1: "#DFE7FA",
|
|
19
19
|
TRETIARY_BA_2: "#C0CFF8",
|
|
20
20
|
TRETIARY_BA_3: "#AFC3F5",
|
|
21
21
|
TRETIARY_BA_4: "#80A0ED",
|
|
22
|
-
TRETIARY_BA_5: "#6088EA"
|
|
22
|
+
TRETIARY_BA_5: "#6088EA"
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
export const BrandBA = {
|
|
24
|
+
var BrandBA = {
|
|
26
25
|
BRAND_BA_1: "#FCDFE2",
|
|
27
26
|
BRAND_BA_2: "#FACDD2",
|
|
28
27
|
BRAND_BA_3: "#F59FA7",
|
|
29
28
|
BRAND_BA_4: "#EF6975",
|
|
30
|
-
BRAND_BA_5: "#E61428"
|
|
29
|
+
BRAND_BA_5: "#E61428"
|
|
31
30
|
};
|
|
32
|
-
|
|
33
|
-
export const PromoBA = {
|
|
31
|
+
var PromoBA = {
|
|
34
32
|
PROMO_SILVER: "#EDF2F7",
|
|
35
33
|
PROMO_GOLD: "#FFF1B8",
|
|
36
34
|
PROMO_ASPHALT: "#EAEBEB",
|
|
@@ -38,15 +36,8 @@ export const PromoBA = {
|
|
|
38
36
|
PROMO_COPPER: "#FFE6C4",
|
|
39
37
|
PROMO_MINT: "#CCF0D2",
|
|
40
38
|
PROMO_SKY: "#D6E9FD",
|
|
41
|
-
PROMO_NEON: "#ECE2FC"
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export const Color = {
|
|
45
|
-
...BrandBA,
|
|
46
|
-
...PrimaryBA,
|
|
47
|
-
...SecondaryBA,
|
|
48
|
-
...TretiaryBA,
|
|
49
|
-
...PromoBA,
|
|
39
|
+
PROMO_NEON: "#ECE2FC"
|
|
50
40
|
};
|
|
41
|
+
var Color = __assign(__assign(__assign(__assign(__assign({}, BrandBA), PrimaryBA), SecondaryBA), TretiaryBA), PromoBA);
|
|
51
42
|
|
|
52
|
-
export default
|
|
43
|
+
export { BrandBA, Color, PrimaryBA, PromoBA, SecondaryBA, TretiaryBA, Color as default };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const Primary: {
|
|
2
|
+
PRIMARY_DEFAULT_1: string;
|
|
3
|
+
PRIMARY_DEFAULT_2: string;
|
|
4
|
+
PRIMARY_DEFAULT_3: string;
|
|
5
|
+
PRIMARY_DEFAULT_4: string;
|
|
6
|
+
PRIMARY_DEFAULT_5: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const Secondary: {
|
|
9
|
+
SECONDARY_DEFAULT_1: string;
|
|
10
|
+
SECONDARY_DEFAULT_2: string;
|
|
11
|
+
SECONDARY_DEFAULT_3: string;
|
|
12
|
+
SECONDARY_DEFAULT_4: string;
|
|
13
|
+
SECONDARY_DEFAULT_5: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const Tretiary: {
|
|
16
|
+
TRETIARY_DEFAULT_1: string;
|
|
17
|
+
TRETIARY_DEFAULT_2: string;
|
|
18
|
+
TRETIARY_DEFAULT_3: string;
|
|
19
|
+
TRETIARY_DEFAULT_4: string;
|
|
20
|
+
TRETIARY_DEFAULT_5: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const Brand: {
|
|
23
|
+
BRAND_DEFAULT_1: string;
|
|
24
|
+
BRAND_DEFAULT_2: string;
|
|
25
|
+
BRAND_DEFAULT_3: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const Color: {
|
|
28
|
+
TRETIARY_DEFAULT_1: string;
|
|
29
|
+
TRETIARY_DEFAULT_2: string;
|
|
30
|
+
TRETIARY_DEFAULT_3: string;
|
|
31
|
+
TRETIARY_DEFAULT_4: string;
|
|
32
|
+
TRETIARY_DEFAULT_5: string;
|
|
33
|
+
SECONDARY_DEFAULT_1: string;
|
|
34
|
+
SECONDARY_DEFAULT_2: string;
|
|
35
|
+
SECONDARY_DEFAULT_3: string;
|
|
36
|
+
SECONDARY_DEFAULT_4: string;
|
|
37
|
+
SECONDARY_DEFAULT_5: string;
|
|
38
|
+
PRIMARY_DEFAULT_1: string;
|
|
39
|
+
PRIMARY_DEFAULT_2: string;
|
|
40
|
+
PRIMARY_DEFAULT_3: string;
|
|
41
|
+
PRIMARY_DEFAULT_4: string;
|
|
42
|
+
PRIMARY_DEFAULT_5: string;
|
|
43
|
+
BRAND_DEFAULT_1: string;
|
|
44
|
+
BRAND_DEFAULT_2: string;
|
|
45
|
+
BRAND_DEFAULT_3: string;
|
|
46
|
+
};
|
|
47
|
+
export default Color;
|