infinity-forge 3.8.8 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/infinity-forge.css +0 -3
- package/dist/sites/fixed-components/header-link/versions/version-01/component.js +1 -1
- package/dist/sites/fixed-components/header-link/versions/version-01/component.js.map +1 -1
- package/dist/sites/hooks/use-social-links.js +4 -4
- package/dist/system/presentation/components/data/detail-card/component.js +1 -1
- package/dist/system/presentation/components/data/detail-card/component.js.map +1 -1
- package/dist/system/presentation/components/data/menu/components/menu-item/index.js +1 -1
- package/dist/system/presentation/components/data/menu/components/menu-item/index.js.map +1 -1
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +1 -1
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +7 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js.map +1 -1
- package/dist/test/index.js +43 -4
- package/dist/test/index.js.map +1 -1
- package/dist/ui/components/breadcrumb/component.js +1 -1
- package/dist/ui/components/breadcrumb/component.js.map +1 -1
- package/dist/ui/components/form/date-picker/index.d.ts +5 -0
- package/dist/ui/components/form/date-picker/index.js +58 -0
- package/dist/ui/components/form/date-picker/index.js.map +1 -0
- package/dist/ui/components/form/date-picker/styles.d.ts +4 -0
- package/dist/ui/components/form/date-picker/styles.js +14 -0
- package/dist/ui/components/form/date-picker/styles.js.map +1 -0
- package/dist/ui/components/form/handler/form-handler/index.js +2 -3
- package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
- package/dist/ui/components/form/handler/interfaces.d.ts +2 -5
- package/dist/ui/components/form/index.d.ts +3 -0
- package/dist/ui/components/form/index.js +3 -0
- package/dist/ui/components/form/index.js.map +1 -1
- package/dist/ui/components/form/input-color/index.d.ts +2 -0
- package/dist/ui/components/form/input-color/index.js +35 -0
- package/dist/ui/components/form/input-color/index.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.d.ts +5 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.js +45 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.d.ts +6 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.js +52 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.d.ts +10 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.js +45 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.d.ts +8 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.js +64 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.d.ts +13 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.js +109 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.d.ts +9 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.js +58 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/helper.d.ts +3 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/helper.js +55 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/helper.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.d.ts +7 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.js +45 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.style.d.ts +4 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.style.js +30 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.style.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.d.ts +16 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.js +53 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.style.d.ts +5 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.style.js +38 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.style.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/PresetList/PresetList.d.ts +8 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/PresetList/PresetList.js +57 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/PresetList/PresetList.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.d.ts +7 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.js +57 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.style.d.ts +5 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.style.js +35 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.style.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/hooks/usePosition.d.ts +13 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/hooks/usePosition.js +47 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/hooks/usePosition.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/index.d.ts +7 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/index.js +14 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/index.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/themes.d.ts +7 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/themes.js +24 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/themes.js.map +1 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/types.d.ts +39 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/types.js +3 -0
- package/dist/ui/components/form/input-color/react-input-color-lib/types.js.map +1 -0
- package/dist/ui/components/form/input-control/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/index.js +1 -1
- package/dist/ui/components/form/input-control/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +6 -4
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/use-file-elements.js +3 -3
- package/dist/ui/components/form/input-file/hooks/use-file-elements.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.js.map +1 -1
- package/dist/ui/components/form/input-password/index.js +1 -1
- package/dist/ui/components/form/input-password/index.js.map +1 -1
- package/dist/ui/components/form/input-seo/index.js +0 -3
- package/dist/ui/components/form/input-seo/index.js.map +1 -1
- package/dist/ui/components/form/input-seo/input-meta-image/index.js +1 -1
- package/dist/ui/components/form/input-seo/input-meta-image/index.js.map +1 -1
- package/dist/ui/components/form/input-svg/index.js +1 -1
- package/dist/ui/components/form/input-svg/index.js.map +1 -1
- package/dist/ui/components/form/range-date-picker/index.d.ts +5 -0
- package/dist/ui/components/form/range-date-picker/index.js +61 -0
- package/dist/ui/components/form/range-date-picker/index.js.map +1 -0
- package/dist/ui/components/form/range-date-picker/styles.d.ts +4 -0
- package/dist/ui/components/form/range-date-picker/styles.js +14 -0
- package/dist/ui/components/form/range-date-picker/styles.js.map +1 -0
- package/dist/ui/components/form/select-icon/index.js +1 -1
- package/dist/ui/components/form/select-icon/index.js.map +1 -1
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +2 -2
- package/dist/ui/components/menu-mobile/components/nav-links/index.js.map +1 -1
- package/dist/ui/components/modal/index.js +1 -1
- package/dist/ui/components/modal/index.js.map +1 -1
- package/dist/ui/components/pagination/index.d.ts +1 -1
- package/dist/ui/components/pagination/index.js +7 -3
- package/dist/ui/components/pagination/index.js.map +1 -1
- package/dist/ui/components/warning/index.js +1 -1
- package/dist/ui/components/warning/index.js.map +1 -1
- package/dist/ui/contexts/dynamic-sections/use-dynamic-section/edit-section.js +1 -1
- package/dist/ui/contexts/dynamic-sections/use-dynamic-section/edit-section.js.map +1 -1
- package/dist/ui/contexts/toast/toast-item/index.js +1 -1
- package/dist/ui/contexts/toast/toast-item/index.js.map +1 -1
- package/dist/ui/hooks/permitions/camera/use-camera.js +1 -1
- package/dist/ui/hooks/permitions/camera/use-camera.js.map +1 -1
- package/dist/ui/icons/index.d.ts +102 -111
- package/dist/ui/icons/index.js +102 -111
- package/dist/ui/icons/index.js.map +1 -1
- package/dist/ui/icons/interfaces.d.ts +1 -2
- package/dist/ui/icons/render/component.d.ts +3 -4
- package/dist/ui/icons/render/component.js +2 -2
- package/dist/ui/icons/render/component.js.map +1 -1
- package/dist/ui/icons/render/icon-Instagram.d.ts +3 -0
- package/dist/ui/icons/render/icon-Instagram.js +15 -0
- package/dist/ui/icons/render/icon-Instagram.js.map +1 -0
- package/dist/ui/icons/render/icon-Linkedin.d.ts +3 -0
- package/dist/ui/icons/render/icon-Linkedin.js +15 -0
- package/dist/ui/icons/render/icon-Linkedin.js.map +1 -0
- package/dist/ui/icons/render/{Close.d.ts → icon-Lupa.d.ts} +1 -1
- package/dist/ui/icons/render/icon-Lupa.js +10 -0
- package/dist/ui/icons/render/icon-Lupa.js.map +1 -0
- package/dist/ui/icons/render/{Lupa.d.ts → icon-Map.d.ts} +1 -1
- package/dist/ui/icons/render/{Map.js → icon-Map.js} +3 -3
- package/dist/ui/icons/render/icon-Map.js.map +1 -0
- package/dist/ui/icons/render/{send-message.d.ts → icon-Microphone.d.ts} +1 -1
- package/dist/ui/icons/render/{Microphone.js → icon-Microphone.js} +3 -3
- package/dist/ui/icons/render/icon-Microphone.js.map +1 -0
- package/dist/ui/icons/render/{Folder.d.ts → icon-Minus.d.ts} +1 -1
- package/dist/ui/icons/render/{Minus.js → icon-Minus.js} +3 -3
- package/dist/ui/icons/render/icon-Minus.js.map +1 -0
- package/dist/ui/icons/render/icon-Phone.d.ts +3 -0
- package/dist/ui/icons/render/icon-Phone.js +15 -0
- package/dist/ui/icons/render/icon-Phone.js.map +1 -0
- package/dist/ui/icons/render/icon-Pin.d.ts +4 -0
- package/dist/ui/icons/render/{Pin.js → icon-Pin.js} +7 -7
- package/dist/ui/icons/render/icon-Pin.js.map +1 -0
- package/dist/ui/icons/render/{Codie.d.ts → icon-Play.d.ts} +1 -1
- package/dist/ui/icons/render/icon-Play.js +10 -0
- package/dist/ui/icons/render/icon-Play.js.map +1 -0
- package/dist/ui/icons/render/{Checked.d.ts → icon-Plus.d.ts} +1 -1
- package/dist/ui/icons/render/icon-Plus.js +10 -0
- package/dist/ui/icons/render/icon-Plus.js.map +1 -0
- package/dist/ui/icons/render/{TikTok.d.ts → icon-Share.d.ts} +1 -1
- package/dist/ui/icons/render/icon-Share.js +10 -0
- package/dist/ui/icons/render/icon-Share.js.map +1 -0
- package/dist/ui/icons/render/{loading.d.ts → icon-TikTok.d.ts} +1 -1
- package/dist/ui/icons/render/icon-TikTok.js +10 -0
- package/dist/ui/icons/render/icon-TikTok.js.map +1 -0
- package/dist/ui/icons/render/{calendar.d.ts → icon-YouTube.d.ts} +1 -1
- package/dist/ui/icons/render/icon-YouTube.js +10 -0
- package/dist/ui/icons/render/icon-YouTube.js.map +1 -0
- package/dist/ui/icons/render/{chalet.d.ts → icon-block.d.ts} +1 -1
- package/dist/ui/icons/render/{block.js → icon-block.js} +3 -3
- package/dist/ui/icons/render/icon-block.js.map +1 -0
- package/dist/ui/icons/render/icon-bottom-chevron.d.ts +1 -0
- package/dist/ui/icons/render/icon-bottom-chevron.js +9 -0
- package/dist/ui/icons/render/icon-bottom-chevron.js.map +1 -0
- package/dist/ui/icons/render/{basic-right-arrow.d.ts → icon-bottom-navigation.d.ts} +1 -1
- package/dist/ui/icons/render/icon-bottom-navigation.js +10 -0
- package/dist/ui/icons/render/icon-bottom-navigation.js.map +1 -0
- package/dist/ui/icons/render/{Edit.d.ts → icon-box.d.ts} +1 -1
- package/dist/ui/icons/render/{box.js → icon-box.js} +3 -3
- package/dist/ui/icons/render/icon-box.js.map +1 -0
- package/dist/ui/icons/render/{arrow-bottom.d.ts → icon-calculator.d.ts} +1 -1
- package/dist/ui/icons/render/{calculator.js → icon-calculator.js} +3 -3
- package/dist/ui/icons/render/icon-calculator.js.map +1 -0
- package/dist/ui/icons/render/{arrow-foward-left.d.ts → icon-calendar-browse.d.ts} +1 -1
- package/dist/ui/icons/render/{calendar-browse.js → icon-calendar-browse.js} +3 -3
- package/dist/ui/icons/render/icon-calendar-browse.js.map +1 -0
- package/dist/ui/icons/render/{fullfield-bell.d.ts → icon-calendar-time.d.ts} +1 -1
- package/dist/ui/icons/render/icon-calendar-time.js +10 -0
- package/dist/ui/icons/render/icon-calendar-time.js.map +1 -0
- package/dist/ui/icons/render/icon-calendar.d.ts +1 -0
- package/dist/ui/icons/render/icon-calendar.js +9 -0
- package/dist/ui/icons/render/icon-calendar.js.map +1 -0
- package/dist/ui/icons/render/{File.d.ts → icon-cam.d.ts} +1 -1
- package/dist/ui/icons/render/icon-cam.js +10 -0
- package/dist/ui/icons/render/icon-cam.js.map +1 -0
- package/dist/ui/icons/render/{NavLeft.d.ts → icon-chalet.d.ts} +1 -1
- package/dist/ui/icons/render/{chalet.js → icon-chalet.js} +3 -3
- package/dist/ui/icons/render/icon-chalet.js.map +1 -0
- package/dist/ui/icons/render/{Globe.d.ts → icon-chat.d.ts} +1 -1
- package/dist/ui/icons/render/{chat.js → icon-chat.js} +3 -3
- package/dist/ui/icons/render/icon-chat.js.map +1 -0
- package/dist/ui/icons/render/{Microphone.d.ts → icon-check.d.ts} +1 -1
- package/dist/ui/icons/render/{Check.js → icon-check.js} +3 -3
- package/dist/ui/icons/render/icon-check.js.map +1 -0
- package/dist/ui/icons/render/{Home.d.ts → icon-checked.d.ts} +1 -1
- package/dist/ui/icons/render/{Checked.js → icon-checked.js} +3 -3
- package/dist/ui/icons/render/icon-checked.js.map +1 -0
- package/dist/ui/icons/render/{keyboard-right-arrow.d.ts → icon-circular-left-arrow.d.ts} +1 -1
- package/dist/ui/icons/render/{arrow-foward-left.js → icon-circular-left-arrow.js} +5 -5
- package/dist/ui/icons/render/icon-circular-left-arrow.js.map +1 -0
- package/dist/ui/icons/render/{interrogation-circle.d.ts → icon-circular-right-arrow.d.ts} +1 -1
- package/dist/ui/icons/render/{arrow-foward-right.js → icon-circular-right-arrow.js} +5 -5
- package/dist/ui/icons/render/icon-circular-right-arrow.js.map +1 -0
- package/dist/ui/icons/render/icon-clip.d.ts +2 -0
- package/dist/ui/icons/render/{clip.js → icon-clip.js} +3 -3
- package/dist/ui/icons/render/icon-clip.js.map +1 -0
- package/dist/ui/icons/render/icon-clock.d.ts +3 -0
- package/dist/ui/icons/render/{Clock.js → icon-clock.js} +5 -5
- package/dist/ui/icons/render/icon-clock.js.map +1 -0
- package/dist/ui/icons/render/{danger.d.ts → icon-close.d.ts} +1 -1
- package/dist/ui/icons/render/icon-close.js +10 -0
- package/dist/ui/icons/render/icon-close.js.map +1 -0
- package/dist/ui/icons/render/icon-codie.d.ts +2 -0
- package/dist/ui/icons/render/icon-codie.js +10 -0
- package/dist/ui/icons/render/icon-codie.js.map +1 -0
- package/dist/ui/icons/render/{Carousel-left-icon.d.ts → icon-computer.d.ts} +1 -1
- package/dist/ui/icons/render/{computer.js → icon-computer.js} +3 -3
- package/dist/ui/icons/render/icon-computer.js.map +1 -0
- package/dist/ui/icons/render/{YouTube.d.ts → icon-danger.d.ts} +1 -1
- package/dist/ui/icons/render/{danger.js → icon-danger.js} +3 -3
- package/dist/ui/icons/render/icon-danger.js.map +1 -0
- package/dist/ui/icons/render/icon-death.d.ts +2 -0
- package/dist/ui/icons/render/icon-death.js +10 -0
- package/dist/ui/icons/render/icon-death.js.map +1 -0
- package/dist/ui/icons/render/{diabets.d.ts → icon-delete.d.ts} +1 -1
- package/dist/ui/icons/render/{delete.js → icon-delete.js} +3 -3
- package/dist/ui/icons/render/icon-delete.js.map +1 -0
- package/dist/ui/icons/render/{computer.d.ts → icon-diabets.d.ts} +1 -1
- package/dist/ui/icons/render/icon-diabets.js +10 -0
- package/dist/ui/icons/render/icon-diabets.js.map +1 -0
- package/dist/ui/icons/render/icon-door.d.ts +2 -0
- package/dist/ui/icons/render/{door.js → icon-door.js} +3 -3
- package/dist/ui/icons/render/icon-door.js.map +1 -0
- package/dist/ui/icons/render/{Check.d.ts → icon-drop-file.d.ts} +1 -1
- package/dist/ui/icons/render/{drop-file.js → icon-drop-file.js} +3 -3
- package/dist/ui/icons/render/icon-drop-file.js.map +1 -0
- package/dist/ui/icons/render/icon-edit-image.d.ts +1 -0
- package/dist/ui/icons/render/icon-edit-image.js +9 -0
- package/dist/ui/icons/render/icon-edit-image.js.map +1 -0
- package/dist/ui/icons/render/icon-edit.d.ts +2 -0
- package/dist/ui/icons/render/{Edit.js → icon-edit.js} +3 -3
- package/dist/ui/icons/render/icon-edit.js.map +1 -0
- package/dist/ui/icons/render/icon-email.d.ts +3 -0
- package/dist/ui/icons/render/icon-email.js +15 -0
- package/dist/ui/icons/render/icon-email.js.map +1 -0
- package/dist/ui/icons/render/{calculator.d.ts → icon-empty-chat.d.ts} +1 -1
- package/dist/ui/icons/render/icon-empty-chat.js +10 -0
- package/dist/ui/icons/render/icon-empty-chat.js.map +1 -0
- package/dist/ui/icons/render/icon-equalizer.d.ts +3 -0
- package/dist/ui/icons/render/icon-equalizer.js +15 -0
- package/dist/ui/icons/render/icon-equalizer.js.map +1 -0
- package/dist/ui/icons/render/icon-excel.d.ts +2 -0
- package/dist/ui/icons/render/icon-excel.js +10 -0
- package/dist/ui/icons/render/icon-excel.js.map +1 -0
- package/dist/ui/icons/render/{arrow-to-right.d.ts → icon-exclamation.d.ts} +1 -1
- package/dist/ui/icons/render/{exclamation.js → icon-exclamation.js} +3 -3
- package/dist/ui/icons/render/icon-exclamation.js.map +1 -0
- package/dist/ui/icons/render/{Exit.js → icon-exit.js} +1 -1
- package/dist/ui/icons/render/icon-exit.js.map +1 -0
- package/dist/ui/icons/render/{empty-chat.d.ts → icon-eye-slash.d.ts} +1 -1
- package/dist/ui/icons/render/icon-eye-slash.js +10 -0
- package/dist/ui/icons/render/icon-eye-slash.js.map +1 -0
- package/dist/ui/icons/render/icon-eye.d.ts +2 -0
- package/dist/ui/icons/render/{Eye.js → icon-eye.js} +3 -3
- package/dist/ui/icons/render/icon-eye.js.map +1 -0
- package/dist/ui/icons/render/icon-facebook.d.ts +3 -0
- package/dist/ui/icons/render/icon-facebook.js +15 -0
- package/dist/ui/icons/render/icon-facebook.js.map +1 -0
- package/dist/ui/icons/render/icon-file.d.ts +2 -0
- package/dist/ui/icons/render/{File.js → icon-file.js} +3 -3
- package/dist/ui/icons/render/icon-file.js.map +1 -0
- package/dist/ui/icons/render/icon-folder.d.ts +2 -0
- package/dist/ui/icons/render/{Folder.js → icon-folder.js} +3 -3
- package/dist/ui/icons/render/icon-folder.js.map +1 -0
- package/dist/ui/icons/render/{calendar-browse.d.ts → icon-fullfield-bell.d.ts} +1 -1
- package/dist/ui/icons/render/{fullfield-bell.js → icon-fullfield-bell.js} +3 -3
- package/dist/ui/icons/render/icon-fullfield-bell.js.map +1 -0
- package/dist/ui/icons/render/icon-fullfield-chat.d.ts +2 -0
- package/dist/ui/icons/render/{fullfield-chat.js → icon-fullfield-chat.js} +3 -3
- package/dist/ui/icons/render/icon-fullfield-chat.js.map +1 -0
- package/dist/ui/icons/render/{Gear.js → icon-gear.js} +1 -1
- package/dist/ui/icons/render/icon-gear.js.map +1 -0
- package/dist/ui/icons/render/icon-gender.d.ts +2 -0
- package/dist/ui/icons/render/{gender.js → icon-gender.js} +3 -3
- package/dist/ui/icons/render/icon-gender.js.map +1 -0
- package/dist/ui/icons/render/icon-globe.d.ts +2 -0
- package/dist/ui/icons/render/{Globe.js → icon-globe.js} +3 -3
- package/dist/ui/icons/render/icon-globe.js.map +1 -0
- package/dist/ui/icons/render/icon-heart.d.ts +2 -0
- package/dist/ui/icons/render/{heart.js → icon-heart.js} +3 -3
- package/dist/ui/icons/render/icon-heart.js.map +1 -0
- package/dist/ui/icons/render/icon-home.d.ts +2 -0
- package/dist/ui/icons/render/icon-home.js +10 -0
- package/dist/ui/icons/render/icon-home.js.map +1 -0
- package/dist/ui/icons/render/{arrow-foward-right.d.ts → icon-hospitalization.d.ts} +1 -1
- package/dist/ui/icons/render/{hospitalization.js → icon-hospitalization.js} +3 -3
- package/dist/ui/icons/render/icon-hospitalization.js.map +1 -0
- package/dist/ui/icons/render/{fullfield-chat.d.ts → icon-hypertension.d.ts} +1 -1
- package/dist/ui/icons/render/{hypertension.js → icon-hypertension.js} +3 -3
- package/dist/ui/icons/render/icon-hypertension.js.map +1 -0
- package/dist/ui/icons/render/icon-info.d.ts +2 -0
- package/dist/ui/icons/render/{info.js → icon-info.js} +2 -2
- package/dist/ui/icons/render/icon-info.js.map +1 -0
- package/dist/ui/icons/render/icon-interrogation-circle.d.ts +2 -0
- package/dist/ui/icons/render/{interrogation-circle.js → icon-interrogation-circle.js} +3 -3
- package/dist/ui/icons/render/icon-interrogation-circle.js.map +1 -0
- package/dist/ui/icons/render/{edit-image.d.ts → icon-language.d.ts} +1 -1
- package/dist/ui/icons/render/icon-language.js +10 -0
- package/dist/ui/icons/render/icon-language.js.map +1 -0
- package/dist/ui/icons/render/icon-left-chevron.d.ts +1 -0
- package/dist/ui/icons/render/icon-left-chevron.js +9 -0
- package/dist/ui/icons/render/icon-left-chevron.js.map +1 -0
- package/dist/ui/icons/render/{transparent-mail.d.ts → icon-left-navigation.d.ts} +1 -1
- package/dist/ui/icons/render/icon-left-navigation.js +10 -0
- package/dist/ui/icons/render/icon-left-navigation.js.map +1 -0
- package/dist/ui/icons/render/icon-like.d.ts +2 -0
- package/dist/ui/icons/render/{like.js → icon-like.js} +3 -3
- package/dist/ui/icons/render/icon-like.js.map +1 -0
- package/dist/ui/icons/render/{NavRight.d.ts → icon-loading.d.ts} +1 -1
- package/dist/ui/icons/render/{loading.js → icon-loading.js} +3 -3
- package/dist/ui/icons/render/icon-loading.js.map +1 -0
- package/dist/ui/icons/render/icon-map-floor.d.ts +2 -0
- package/dist/ui/icons/render/icon-map-floor.js +10 -0
- package/dist/ui/icons/render/icon-map-floor.js.map +1 -0
- package/dist/ui/icons/render/{message-balloon.js → icon-message-balloon.js} +1 -1
- package/dist/ui/icons/render/icon-message-balloon.js.map +1 -0
- package/dist/ui/icons/render/icon-mobile.d.ts +2 -0
- package/dist/ui/icons/render/icon-mobile.js +10 -0
- package/dist/ui/icons/render/icon-mobile.js.map +1 -0
- package/dist/ui/icons/render/{keyboard-left-arrow.d.ts → icon-money-value-symbol.d.ts} +1 -1
- package/dist/ui/icons/render/{money-value-symbol.js → icon-money-value-symbol.js} +3 -3
- package/dist/ui/icons/render/icon-money-value-symbol.js.map +1 -0
- package/dist/ui/icons/render/icon-not-found.d.ts +2 -0
- package/dist/ui/icons/render/icon-not-found.js +10 -0
- package/dist/ui/icons/render/icon-not-found.js.map +1 -0
- package/dist/ui/icons/render/{arrow-top.d.ts → icon-not-like.d.ts} +1 -1
- package/dist/ui/icons/render/{not-like.js → icon-not-like.js} +3 -3
- package/dist/ui/icons/render/icon-not-like.js.map +1 -0
- package/dist/ui/icons/render/icon-padlock.d.ts +2 -0
- package/dist/ui/icons/render/{padlock.js → icon-padlock.js} +3 -3
- package/dist/ui/icons/render/icon-padlock.js.map +1 -0
- package/dist/ui/icons/render/icon-pdf.d.ts +2 -0
- package/dist/ui/icons/render/icon-pdf.js +10 -0
- package/dist/ui/icons/render/icon-pdf.js.map +1 -0
- package/dist/ui/icons/render/icon-person.d.ts +3 -0
- package/dist/ui/icons/render/{person.js → icon-person.js} +5 -5
- package/dist/ui/icons/render/icon-person.js.map +1 -0
- package/dist/ui/icons/render/icon-pet.d.ts +2 -0
- package/dist/ui/icons/render/icon-pet.js +10 -0
- package/dist/ui/icons/render/icon-pet.js.map +1 -0
- package/dist/ui/icons/render/icon-phone-message.d.ts +2 -0
- package/dist/ui/icons/render/icon-phone-message.js +10 -0
- package/dist/ui/icons/render/icon-phone-message.js.map +1 -0
- package/dist/ui/icons/render/{calendar-time.d.ts → icon-play-rounded.d.ts} +1 -1
- package/dist/ui/icons/render/{play-rounded.js → icon-play-rounded.js} +3 -3
- package/dist/ui/icons/render/icon-play-rounded.js.map +1 -0
- package/dist/ui/icons/render/{Carousel-right-icon.d.ts → icon-plus-sharp.d.ts} +1 -1
- package/dist/ui/icons/render/{plus-sharp.js → icon-plus-sharp.js} +3 -3
- package/dist/ui/icons/render/icon-plus-sharp.js.map +1 -0
- package/dist/ui/icons/render/icon-prev.d.ts +2 -0
- package/dist/ui/icons/render/{prev.js → icon-prev.js} +3 -3
- package/dist/ui/icons/render/icon-prev.js.map +1 -0
- package/dist/ui/icons/render/{print.js → icon-print.js} +1 -1
- package/dist/ui/icons/render/icon-print.js.map +1 -0
- package/dist/ui/icons/render/icon-right-chevron.d.ts +1 -0
- package/dist/ui/icons/render/icon-right-chevron.js +9 -0
- package/dist/ui/icons/render/icon-right-chevron.js.map +1 -0
- package/dist/ui/icons/render/{basic-bottom-arrow.d.ts → icon-right-navigation.d.ts} +1 -1
- package/dist/ui/icons/render/icon-right-navigation.js +10 -0
- package/dist/ui/icons/render/icon-right-navigation.js.map +1 -0
- package/dist/ui/icons/render/{hypertension.d.ts → icon-send-message.d.ts} +1 -1
- package/dist/ui/icons/render/{send-message.js → icon-send-message.js} +3 -3
- package/dist/ui/icons/render/icon-send-message.js.map +1 -0
- package/dist/ui/icons/render/icon-send.d.ts +2 -0
- package/dist/ui/icons/render/{arrow-forward.js → icon-send.js} +6 -6
- package/dist/ui/icons/render/icon-send.js.map +1 -0
- package/dist/ui/icons/render/icon-seo.d.ts +2 -0
- package/dist/ui/icons/render/icon-seo.js +10 -0
- package/dist/ui/icons/render/icon-seo.js.map +1 -0
- package/dist/ui/icons/render/icon-share-v2.d.ts +2 -0
- package/dist/ui/icons/render/{share-v2.js → icon-share-v2.js} +3 -3
- package/dist/ui/icons/render/icon-share-v2.js.map +1 -0
- package/dist/ui/icons/render/icon-shopping.d.ts +3 -0
- package/dist/ui/icons/render/{shopping.js → icon-shopping.js} +5 -5
- package/dist/ui/icons/render/icon-shopping.js.map +1 -0
- package/dist/ui/icons/render/icon-star.d.ts +2 -0
- package/dist/ui/icons/render/{star.js → icon-star.js} +3 -3
- package/dist/ui/icons/render/icon-star.js.map +1 -0
- package/dist/ui/icons/render/icon-starBg.d.ts +2 -0
- package/dist/ui/icons/render/{starBg.js → icon-starBg.js} +3 -3
- package/dist/ui/icons/render/icon-starBg.js.map +1 -0
- package/dist/ui/icons/render/icon-three-dots.d.ts +2 -0
- package/dist/ui/icons/render/icon-three-dots.js +10 -0
- package/dist/ui/icons/render/icon-three-dots.js.map +1 -0
- package/dist/ui/icons/render/icon-top-chevron.d.ts +1 -0
- package/dist/ui/icons/render/icon-top-chevron.js +9 -0
- package/dist/ui/icons/render/icon-top-chevron.js.map +1 -0
- package/dist/ui/icons/render/icon-top-navigation.d.ts +2 -0
- package/dist/ui/icons/render/icon-top-navigation.js +10 -0
- package/dist/ui/icons/render/icon-top-navigation.js.map +1 -0
- package/dist/ui/icons/render/{basic-left-arrow.d.ts → icon-transparent-mail.d.ts} +1 -1
- package/dist/ui/icons/render/{transparent-mail.js → icon-transparent-mail.js} +3 -3
- package/dist/ui/icons/render/icon-transparent-mail.js.map +1 -0
- package/dist/ui/icons/render/icon-transparent-phone.d.ts +2 -0
- package/dist/ui/icons/render/icon-transparent-phone.js +10 -0
- package/dist/ui/icons/render/icon-transparent-phone.js.map +1 -0
- package/dist/ui/icons/render/icon-twitter.d.ts +3 -0
- package/dist/ui/icons/render/icon-twitter.js +15 -0
- package/dist/ui/icons/render/icon-twitter.js.map +1 -0
- package/dist/ui/icons/render/icon-upload.d.ts +2 -0
- package/dist/ui/icons/render/{upload.js → icon-upload.js} +3 -3
- package/dist/ui/icons/render/icon-upload.js.map +1 -0
- package/dist/ui/icons/render/icon-user.d.ts +3 -0
- package/dist/ui/icons/render/{user.js → icon-user.js} +5 -5
- package/dist/ui/icons/render/icon-user.js.map +1 -0
- package/dist/ui/icons/render/icon-weight.d.ts +2 -0
- package/dist/ui/icons/render/icon-weight.js +10 -0
- package/dist/ui/icons/render/icon-weight.js.map +1 -0
- package/dist/ui/icons/render/icon-whats.d.ts +3 -0
- package/dist/ui/icons/render/icon-whats.js +15 -0
- package/dist/ui/icons/render/icon-whats.js.map +1 -0
- package/dist/ui/icons/render/{word.js → icon-word.js} +1 -1
- package/dist/ui/icons/render/icon-word.js.map +1 -0
- package/dist/ui/icons/render/image.d.ts +1 -1
- package/dist/ui/icons/render/image.js +2 -2
- package/dist/ui/icons/render/image.js.map +1 -1
- package/dist/ui/integrations/message-provider/send-message.d.ts +5 -1
- package/dist/ui/integrations/message-provider/send-message.js +12 -6
- package/dist/ui/integrations/message-provider/send-message.js.map +1 -1
- package/package.json +81 -77
- package/dist/ui/icons/render/Carousel-left-icon.js +0 -10
- package/dist/ui/icons/render/Carousel-left-icon.js.map +0 -1
- package/dist/ui/icons/render/Carousel-right-icon.js +0 -10
- package/dist/ui/icons/render/Carousel-right-icon.js.map +0 -1
- package/dist/ui/icons/render/Check.js.map +0 -1
- package/dist/ui/icons/render/Checked.js.map +0 -1
- package/dist/ui/icons/render/Clock.d.ts +0 -3
- package/dist/ui/icons/render/Clock.js.map +0 -1
- package/dist/ui/icons/render/Close.js +0 -10
- package/dist/ui/icons/render/Close.js.map +0 -1
- package/dist/ui/icons/render/Codie.js +0 -10
- package/dist/ui/icons/render/Codie.js.map +0 -1
- package/dist/ui/icons/render/Edit.js.map +0 -1
- package/dist/ui/icons/render/Email.d.ts +0 -3
- package/dist/ui/icons/render/Email.js +0 -15
- package/dist/ui/icons/render/Email.js.map +0 -1
- package/dist/ui/icons/render/Exit.js.map +0 -1
- package/dist/ui/icons/render/Eye.d.ts +0 -2
- package/dist/ui/icons/render/Eye.js.map +0 -1
- package/dist/ui/icons/render/Facebook.d.ts +0 -3
- package/dist/ui/icons/render/Facebook.js +0 -15
- package/dist/ui/icons/render/Facebook.js.map +0 -1
- package/dist/ui/icons/render/File.js.map +0 -1
- package/dist/ui/icons/render/Folder.js.map +0 -1
- package/dist/ui/icons/render/Gear.js.map +0 -1
- package/dist/ui/icons/render/Globe.js.map +0 -1
- package/dist/ui/icons/render/Home.js +0 -10
- package/dist/ui/icons/render/Home.js.map +0 -1
- package/dist/ui/icons/render/Insagram.d.ts +0 -3
- package/dist/ui/icons/render/Insagram.js +0 -15
- package/dist/ui/icons/render/Insagram.js.map +0 -1
- package/dist/ui/icons/render/Linkedin.d.ts +0 -3
- package/dist/ui/icons/render/Linkedin.js +0 -15
- package/dist/ui/icons/render/Linkedin.js.map +0 -1
- package/dist/ui/icons/render/LongArrowRight.d.ts +0 -2
- package/dist/ui/icons/render/LongArrowRight.js +0 -11
- package/dist/ui/icons/render/LongArrowRight.js.map +0 -1
- package/dist/ui/icons/render/Lupa.js +0 -10
- package/dist/ui/icons/render/Lupa.js.map +0 -1
- package/dist/ui/icons/render/Map.d.ts +0 -2
- package/dist/ui/icons/render/Map.js.map +0 -1
- package/dist/ui/icons/render/Microphone.js.map +0 -1
- package/dist/ui/icons/render/Minus.d.ts +0 -2
- package/dist/ui/icons/render/Minus.js.map +0 -1
- package/dist/ui/icons/render/NavDown.d.ts +0 -3
- package/dist/ui/icons/render/NavDown.js +0 -15
- package/dist/ui/icons/render/NavDown.js.map +0 -1
- package/dist/ui/icons/render/NavLeft.js +0 -10
- package/dist/ui/icons/render/NavLeft.js.map +0 -1
- package/dist/ui/icons/render/NavRight.js +0 -10
- package/dist/ui/icons/render/NavRight.js.map +0 -1
- package/dist/ui/icons/render/NavUp.d.ts +0 -2
- package/dist/ui/icons/render/NavUp.js +0 -10
- package/dist/ui/icons/render/NavUp.js.map +0 -1
- package/dist/ui/icons/render/Phone.d.ts +0 -3
- package/dist/ui/icons/render/Phone.js +0 -15
- package/dist/ui/icons/render/Phone.js.map +0 -1
- package/dist/ui/icons/render/Pin.d.ts +0 -4
- package/dist/ui/icons/render/Pin.js.map +0 -1
- package/dist/ui/icons/render/Play.d.ts +0 -2
- package/dist/ui/icons/render/Play.js +0 -10
- package/dist/ui/icons/render/Play.js.map +0 -1
- package/dist/ui/icons/render/Plus.d.ts +0 -2
- package/dist/ui/icons/render/Plus.js +0 -10
- package/dist/ui/icons/render/Plus.js.map +0 -1
- package/dist/ui/icons/render/Share.d.ts +0 -2
- package/dist/ui/icons/render/Share.js +0 -10
- package/dist/ui/icons/render/Share.js.map +0 -1
- package/dist/ui/icons/render/TikTok.js +0 -10
- package/dist/ui/icons/render/TikTok.js.map +0 -1
- package/dist/ui/icons/render/Twitter.d.ts +0 -3
- package/dist/ui/icons/render/Twitter.js +0 -15
- package/dist/ui/icons/render/Twitter.js.map +0 -1
- package/dist/ui/icons/render/YouTube.js +0 -10
- package/dist/ui/icons/render/YouTube.js.map +0 -1
- package/dist/ui/icons/render/arrow-bottom.js +0 -10
- package/dist/ui/icons/render/arrow-bottom.js.map +0 -1
- package/dist/ui/icons/render/arrow-forward.d.ts +0 -2
- package/dist/ui/icons/render/arrow-forward.js.map +0 -1
- package/dist/ui/icons/render/arrow-foward-left.js.map +0 -1
- package/dist/ui/icons/render/arrow-foward-right.js.map +0 -1
- package/dist/ui/icons/render/arrow-to-right.js +0 -10
- package/dist/ui/icons/render/arrow-to-right.js.map +0 -1
- package/dist/ui/icons/render/arrow-top.js +0 -10
- package/dist/ui/icons/render/arrow-top.js.map +0 -1
- package/dist/ui/icons/render/basic-bottom-arrow.js +0 -10
- package/dist/ui/icons/render/basic-bottom-arrow.js.map +0 -1
- package/dist/ui/icons/render/basic-left-arrow.js +0 -10
- package/dist/ui/icons/render/basic-left-arrow.js.map +0 -1
- package/dist/ui/icons/render/basic-right-arrow.js +0 -10
- package/dist/ui/icons/render/basic-right-arrow.js.map +0 -1
- package/dist/ui/icons/render/block.d.ts +0 -2
- package/dist/ui/icons/render/block.js.map +0 -1
- package/dist/ui/icons/render/box.d.ts +0 -2
- package/dist/ui/icons/render/box.js.map +0 -1
- package/dist/ui/icons/render/calculator.js.map +0 -1
- package/dist/ui/icons/render/calendar-browse.js.map +0 -1
- package/dist/ui/icons/render/calendar-time.js +0 -10
- package/dist/ui/icons/render/calendar-time.js.map +0 -1
- package/dist/ui/icons/render/calendar.js +0 -10
- package/dist/ui/icons/render/calendar.js.map +0 -1
- package/dist/ui/icons/render/cam.d.ts +0 -2
- package/dist/ui/icons/render/cam.js +0 -10
- package/dist/ui/icons/render/cam.js.map +0 -1
- package/dist/ui/icons/render/chalet.js.map +0 -1
- package/dist/ui/icons/render/chat.d.ts +0 -2
- package/dist/ui/icons/render/chat.js.map +0 -1
- package/dist/ui/icons/render/clip.d.ts +0 -2
- package/dist/ui/icons/render/clip.js.map +0 -1
- package/dist/ui/icons/render/computer.js.map +0 -1
- package/dist/ui/icons/render/danger.js.map +0 -1
- package/dist/ui/icons/render/death.d.ts +0 -2
- package/dist/ui/icons/render/death.js +0 -10
- package/dist/ui/icons/render/death.js.map +0 -1
- package/dist/ui/icons/render/delete.d.ts +0 -2
- package/dist/ui/icons/render/delete.js.map +0 -1
- package/dist/ui/icons/render/diabets.js +0 -10
- package/dist/ui/icons/render/diabets.js.map +0 -1
- package/dist/ui/icons/render/door.d.ts +0 -2
- package/dist/ui/icons/render/door.js.map +0 -1
- package/dist/ui/icons/render/drop-file.d.ts +0 -2
- package/dist/ui/icons/render/drop-file.js.map +0 -1
- package/dist/ui/icons/render/edit-image.js +0 -10
- package/dist/ui/icons/render/edit-image.js.map +0 -1
- package/dist/ui/icons/render/empty-chat.js +0 -10
- package/dist/ui/icons/render/empty-chat.js.map +0 -1
- package/dist/ui/icons/render/equalizer.d.ts +0 -3
- package/dist/ui/icons/render/equalizer.js +0 -15
- package/dist/ui/icons/render/equalizer.js.map +0 -1
- package/dist/ui/icons/render/excel.d.ts +0 -1
- package/dist/ui/icons/render/excel.js +0 -9
- package/dist/ui/icons/render/excel.js.map +0 -1
- package/dist/ui/icons/render/exclamation.d.ts +0 -2
- package/dist/ui/icons/render/exclamation.js.map +0 -1
- package/dist/ui/icons/render/eye-off.d.ts +0 -2
- package/dist/ui/icons/render/eye-off.js +0 -10
- package/dist/ui/icons/render/eye-off.js.map +0 -1
- package/dist/ui/icons/render/fullfield-bell.js.map +0 -1
- package/dist/ui/icons/render/fullfield-chat.js.map +0 -1
- package/dist/ui/icons/render/gender.d.ts +0 -2
- package/dist/ui/icons/render/gender.js.map +0 -1
- package/dist/ui/icons/render/heart.d.ts +0 -2
- package/dist/ui/icons/render/heart.js.map +0 -1
- package/dist/ui/icons/render/hospitalization.d.ts +0 -2
- package/dist/ui/icons/render/hospitalization.js.map +0 -1
- package/dist/ui/icons/render/hut.d.ts +0 -2
- package/dist/ui/icons/render/hut.js +0 -10
- package/dist/ui/icons/render/hut.js.map +0 -1
- package/dist/ui/icons/render/hypertension.js.map +0 -1
- package/dist/ui/icons/render/info.d.ts +0 -2
- package/dist/ui/icons/render/info.js.map +0 -1
- package/dist/ui/icons/render/interrogation-circle.js.map +0 -1
- package/dist/ui/icons/render/keyboard-left-arrow.js +0 -10
- package/dist/ui/icons/render/keyboard-left-arrow.js.map +0 -1
- package/dist/ui/icons/render/keyboard-right-arrow.js +0 -10
- package/dist/ui/icons/render/keyboard-right-arrow.js.map +0 -1
- package/dist/ui/icons/render/language.d.ts +0 -2
- package/dist/ui/icons/render/language.js +0 -10
- package/dist/ui/icons/render/language.js.map +0 -1
- package/dist/ui/icons/render/like.d.ts +0 -2
- package/dist/ui/icons/render/like.js.map +0 -1
- package/dist/ui/icons/render/loading.js.map +0 -1
- package/dist/ui/icons/render/map-floor.d.ts +0 -2
- package/dist/ui/icons/render/map-floor.js +0 -10
- package/dist/ui/icons/render/map-floor.js.map +0 -1
- package/dist/ui/icons/render/message-balloon.js.map +0 -1
- package/dist/ui/icons/render/mobile.d.ts +0 -2
- package/dist/ui/icons/render/mobile.js +0 -10
- package/dist/ui/icons/render/mobile.js.map +0 -1
- package/dist/ui/icons/render/money-value-symbol.d.ts +0 -2
- package/dist/ui/icons/render/money-value-symbol.js.map +0 -1
- package/dist/ui/icons/render/next.d.ts +0 -2
- package/dist/ui/icons/render/next.js +0 -10
- package/dist/ui/icons/render/next.js.map +0 -1
- package/dist/ui/icons/render/not-found.d.ts +0 -2
- package/dist/ui/icons/render/not-found.js +0 -10
- package/dist/ui/icons/render/not-found.js.map +0 -1
- package/dist/ui/icons/render/not-like.d.ts +0 -2
- package/dist/ui/icons/render/not-like.js.map +0 -1
- package/dist/ui/icons/render/padlock.d.ts +0 -2
- package/dist/ui/icons/render/padlock.js.map +0 -1
- package/dist/ui/icons/render/pdf.d.ts +0 -2
- package/dist/ui/icons/render/pdf.js +0 -10
- package/dist/ui/icons/render/pdf.js.map +0 -1
- package/dist/ui/icons/render/person.d.ts +0 -3
- package/dist/ui/icons/render/person.js.map +0 -1
- package/dist/ui/icons/render/pet.d.ts +0 -2
- package/dist/ui/icons/render/pet.js +0 -10
- package/dist/ui/icons/render/pet.js.map +0 -1
- package/dist/ui/icons/render/phone-message.d.ts +0 -2
- package/dist/ui/icons/render/phone-message.js +0 -10
- package/dist/ui/icons/render/phone-message.js.map +0 -1
- package/dist/ui/icons/render/play-rounded.d.ts +0 -2
- package/dist/ui/icons/render/play-rounded.js.map +0 -1
- package/dist/ui/icons/render/plus-sharp.d.ts +0 -2
- package/dist/ui/icons/render/plus-sharp.js.map +0 -1
- package/dist/ui/icons/render/prev.d.ts +0 -2
- package/dist/ui/icons/render/prev.js.map +0 -1
- package/dist/ui/icons/render/print.js.map +0 -1
- package/dist/ui/icons/render/send-icon.d.ts +0 -2
- package/dist/ui/icons/render/send-icon.js +0 -10
- package/dist/ui/icons/render/send-icon.js.map +0 -1
- package/dist/ui/icons/render/send-message.js.map +0 -1
- package/dist/ui/icons/render/seo.d.ts +0 -2
- package/dist/ui/icons/render/seo.js +0 -10
- package/dist/ui/icons/render/seo.js.map +0 -1
- package/dist/ui/icons/render/share-v2.d.ts +0 -2
- package/dist/ui/icons/render/share-v2.js.map +0 -1
- package/dist/ui/icons/render/shopping.d.ts +0 -3
- package/dist/ui/icons/render/shopping.js.map +0 -1
- package/dist/ui/icons/render/star.d.ts +0 -2
- package/dist/ui/icons/render/star.js.map +0 -1
- package/dist/ui/icons/render/starBg.d.ts +0 -2
- package/dist/ui/icons/render/starBg.js.map +0 -1
- package/dist/ui/icons/render/three-dots.d.ts +0 -2
- package/dist/ui/icons/render/three-dots.js +0 -10
- package/dist/ui/icons/render/three-dots.js.map +0 -1
- package/dist/ui/icons/render/transparent-mail.js.map +0 -1
- package/dist/ui/icons/render/transparent-phone.d.ts +0 -2
- package/dist/ui/icons/render/transparent-phone.js +0 -10
- package/dist/ui/icons/render/transparent-phone.js.map +0 -1
- package/dist/ui/icons/render/upload.d.ts +0 -2
- package/dist/ui/icons/render/upload.js.map +0 -1
- package/dist/ui/icons/render/user.d.ts +0 -3
- package/dist/ui/icons/render/user.js.map +0 -1
- package/dist/ui/icons/render/weight.d.ts +0 -2
- package/dist/ui/icons/render/weight.js +0 -10
- package/dist/ui/icons/render/weight.js.map +0 -1
- package/dist/ui/icons/render/whats.d.ts +0 -3
- package/dist/ui/icons/render/whats.js +0 -15
- package/dist/ui/icons/render/whats.js.map +0 -1
- package/dist/ui/icons/render/word.js.map +0 -1
- /package/dist/ui/icons/render/{Exit.d.ts → icon-exit.d.ts} +0 -0
- /package/dist/ui/icons/render/{Gear.d.ts → icon-gear.d.ts} +0 -0
- /package/dist/ui/icons/render/{message-balloon.d.ts → icon-message-balloon.d.ts} +0 -0
- /package/dist/ui/icons/render/{print.d.ts → icon-print.d.ts} +0 -0
- /package/dist/ui/icons/render/{word.d.ts → icon-word.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormikErrors } from 'formik';
|
|
3
|
-
import { ButtonProps } from '../../../../ui/index.js';
|
|
4
3
|
import { Language } from '../../../../system/index.js';
|
|
4
|
+
import { ButtonProps, MessageProviderProps } from '../../../../ui/index.js';
|
|
5
5
|
import { ICustomSubmitProps } from './custom-submit/index.js';
|
|
6
6
|
import { IDefaultSchemas } from './form-handler/generate-schemas.js';
|
|
7
7
|
export type StateFormFormHandler = {
|
|
@@ -12,10 +12,7 @@ export interface IFormHandler {
|
|
|
12
12
|
ref?: any;
|
|
13
13
|
recaptcha?: boolean | string;
|
|
14
14
|
decimalFields?: string[];
|
|
15
|
-
messageProvider?:
|
|
16
|
-
enabled: boolean;
|
|
17
|
-
messageProviderKey?: string;
|
|
18
|
-
};
|
|
15
|
+
messageProvider?: MessageProviderProps;
|
|
19
16
|
onFinish?: (data: any, initialValues: any) => void;
|
|
20
17
|
fileFields?: {
|
|
21
18
|
ref: string;
|
|
@@ -9,12 +9,15 @@ export * from './input-cep/index.js';
|
|
|
9
9
|
export * from './input-seo/index.js';
|
|
10
10
|
export * from './input-mask/index.js';
|
|
11
11
|
export * from './input-file/index.js';
|
|
12
|
+
export * from './input-color/index.js';
|
|
12
13
|
export * from './text-editor/index.js';
|
|
13
14
|
export * from './select-icon/index.js';
|
|
15
|
+
export * from './date-picker/index.js';
|
|
14
16
|
export * from './input-switch/index.js';
|
|
15
17
|
export * from './input-control/index.js';
|
|
16
18
|
export * from './input-youtube/index.js';
|
|
17
19
|
export * from './input-manager/index.js';
|
|
20
|
+
export * from './range-date-picker/index.js';
|
|
18
21
|
export * from './input-password/index.js';
|
|
19
22
|
export * from './input-cpf-cnpj/index.js';
|
|
20
23
|
export * from './input-currency/index.js';
|
|
@@ -25,12 +25,15 @@ __exportStar(require("./input-cep/index.js"), exports);
|
|
|
25
25
|
__exportStar(require("./input-seo/index.js"), exports);
|
|
26
26
|
__exportStar(require("./input-mask/index.js"), exports);
|
|
27
27
|
__exportStar(require("./input-file/index.js"), exports);
|
|
28
|
+
__exportStar(require("./input-color/index.js"), exports);
|
|
28
29
|
__exportStar(require("./text-editor/index.js"), exports);
|
|
29
30
|
__exportStar(require("./select-icon/index.js"), exports);
|
|
31
|
+
__exportStar(require("./date-picker/index.js"), exports);
|
|
30
32
|
__exportStar(require("./input-switch/index.js"), exports);
|
|
31
33
|
__exportStar(require("./input-control/index.js"), exports);
|
|
32
34
|
__exportStar(require("./input-youtube/index.js"), exports);
|
|
33
35
|
__exportStar(require("./input-manager/index.js"), exports);
|
|
36
|
+
__exportStar(require("./range-date-picker/index.js"), exports);
|
|
34
37
|
__exportStar(require("./input-password/index.js"), exports);
|
|
35
38
|
__exportStar(require("./input-cpf-cnpj/index.js"), exports);
|
|
36
39
|
__exportStar(require("./input-currency/index.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB;AACvB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B;AAC3B,8CAA2B;AAC3B,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,gDAA6B;AAC7B,iDAA8B;AAC9B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC;AAChC,mDAAgC;AAChC,sDAAmC;AACnC,+DAA4C;AAE5C,+CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB;AACvB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B;AAC3B,8CAA2B;AAC3B,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,gDAA6B;AAC7B,gDAA6B;AAC7B,gDAA6B;AAC7B,iDAA8B;AAC9B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,sDAAmC;AACnC,mDAAgC;AAChC,mDAAgC;AAChC,mDAAgC;AAChC,sDAAmC;AACnC,+DAA4C;AAE5C,+CAA4B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.InputColor = void 0;
|
|
18
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
var react_1 = require("react");
|
|
20
|
+
var formik_1 = require("formik");
|
|
21
|
+
var input_control_1 = require("../input-control/index.js");
|
|
22
|
+
var react_input_color_lib_1 = __importDefault(require("./react-input-color-lib/index.js"));
|
|
23
|
+
function InputColor(props) {
|
|
24
|
+
var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
|
|
25
|
+
(0, react_1.useEffect)(function () {
|
|
26
|
+
if (field.value === undefined) {
|
|
27
|
+
helpers.setValue('');
|
|
28
|
+
}
|
|
29
|
+
}, [field.value]);
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(react_input_color_lib_1.default, { color: field.value, onChange: function (ev) {
|
|
31
|
+
helpers.setValue(ev === null || ev === void 0 ? void 0 : ev.hex);
|
|
32
|
+
} }) })));
|
|
33
|
+
}
|
|
34
|
+
exports.InputColor = InputColor;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-color/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAAiC;AAEjC,iCAAiC;AACjC,kDAA+C;AAE/C,kFAAmD;AAInD,SAAgB,UAAU,CAAC,KAAiB;IACpC,IAAA,KAAsB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAAnD,KAAK,QAAA,EAAE,CAAC,QAAA,EAAE,OAAO,QAAkC,CAAA;IAE1D,IAAA,iBAAS,EAAC;QACR,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;QACtB,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;IAGjB,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,cACrB,uBAAC,+BAAa,IACZ,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,QAAQ,EAAE,UAAC,EAAE;gBACX,OAAO,CAAC,QAAQ,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,GAAG,CAAC,CAAA;YAC3B,CAAC,GACD,IACW,CAChB,CAAA;AACH,CAAC;AApBD,gCAoBC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
var react_1 = __importStar(require("react"));
|
|
31
|
+
var styles = __importStar(require("./Alpha.style.js"));
|
|
32
|
+
var usePosition_1 = __importDefault(require("../../hooks/usePosition.js"));
|
|
33
|
+
var Alpha = function (_a) {
|
|
34
|
+
var onChange = _a.onChange;
|
|
35
|
+
var handleMove = (0, react_1.useCallback)(function (_a) {
|
|
36
|
+
var left = _a.left;
|
|
37
|
+
return onChange && onChange(parseFloat(left.toFixed(2)));
|
|
38
|
+
}, [onChange]);
|
|
39
|
+
var _b = (0, usePosition_1.default)({
|
|
40
|
+
onMove: handleMove
|
|
41
|
+
}), ref = _b.ref, handleStart = _b.handleStart;
|
|
42
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: styles.container, ref: ref, onTouchStart: handleStart, onMouseDown: handleStart, children: [(0, jsx_runtime_1.jsx)("div", { style: styles.alpha }), (0, jsx_runtime_1.jsx)("div", { style: styles.checkboard }), (0, jsx_runtime_1.jsx)("div", { style: styles.pointer, children: (0, jsx_runtime_1.jsx)("div", { style: styles.slider }) })] }));
|
|
43
|
+
};
|
|
44
|
+
exports.default = react_1.default.memo(Alpha);
|
|
45
|
+
//# sourceMappingURL=Alpha.js.map
|
package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alpha.js","sourceRoot":"","sources":["../../../../../../../../src/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA2C;AAE3C,oDAAwC;AACxC,wEAAgE;AAMhE,IAAM,KAAK,GAAG,UAAC,EAAwB;QAAtB,QAAQ,cAAA;IACvB,IAAM,UAAU,GAAG,IAAA,mBAAW,EAC5B,UAAC,EAAkB;YAAhB,IAAI,UAAA;QAAiB,OAAA,QAAQ,IAAI,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAAjD,CAAiD,EACzE,CAAC,QAAQ,CAAC,CACX,CAAC;IAEI,IAAA,KAAuB,IAAA,qBAAW,EAAC;QACvC,MAAM,EAAE,UAAU;KACnB,CAAC,EAFM,GAAG,SAAA,EAAE,WAAW,iBAEtB,CAAC;IAEH,OAAO,CACL,iCAAK,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,aACzF,gCAAK,KAAK,EAAE,MAAM,CAAC,KAAK,GAAI,EAC5B,gCAAK,KAAK,EAAE,MAAM,CAAC,UAAU,GAAI,EACjC,gCAAK,KAAK,EAAE,MAAM,CAAC,OAAO,YACxB,gCAAK,KAAK,EAAE,MAAM,CAAC,MAAM,GAAI,GACzB,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAK,CAAC,IAAI,CAAC,KAAK,CAAiB,CAAC"}
|
package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const container: React.CSSProperties;
|
|
3
|
+
export declare const alpha: React.CSSProperties;
|
|
4
|
+
export declare const pointer: React.CSSProperties;
|
|
5
|
+
export declare const slider: React.CSSProperties;
|
|
6
|
+
export declare const checkboard: React.CSSProperties;
|
package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.checkboard = exports.slider = exports.pointer = exports.alpha = exports.container = void 0;
|
|
4
|
+
exports.container = {
|
|
5
|
+
margin: '5px 0 0',
|
|
6
|
+
width: '100%',
|
|
7
|
+
height: '8px',
|
|
8
|
+
boxShadow: 'inset 0 0 1px rgba(0, 0, 0, .2)',
|
|
9
|
+
position: 'relative',
|
|
10
|
+
zIndex: 1,
|
|
11
|
+
borderRadius: '4px',
|
|
12
|
+
background: 'var(--rpc-input-background)'
|
|
13
|
+
};
|
|
14
|
+
exports.alpha = {
|
|
15
|
+
position: 'absolute',
|
|
16
|
+
top: 0,
|
|
17
|
+
left: 0,
|
|
18
|
+
right: 0,
|
|
19
|
+
bottom: 0,
|
|
20
|
+
background: "linear-gradient(to right, rgba(var(--rpc-red), var(--rpc-green), var(--rpc-blue), 0) 0%, rgba(var(--rpc-red), var(--rpc-green), var(--rpc-blue), 1) 100%)",
|
|
21
|
+
borderRadius: '4px'
|
|
22
|
+
};
|
|
23
|
+
exports.pointer = {
|
|
24
|
+
width: 'calc(100% - 8px)',
|
|
25
|
+
height: '100%',
|
|
26
|
+
position: 'relative',
|
|
27
|
+
marginLeft: '8px'
|
|
28
|
+
};
|
|
29
|
+
exports.slider = {
|
|
30
|
+
width: '12px',
|
|
31
|
+
borderRadius: '12px',
|
|
32
|
+
height: '12px',
|
|
33
|
+
boxShadow: '0 0 1px rgba(0, 0, 0, .9)',
|
|
34
|
+
border: '2px solid #fff',
|
|
35
|
+
position: 'absolute',
|
|
36
|
+
transform: 'translate(-2px, -2px)',
|
|
37
|
+
cursor: 'pointer',
|
|
38
|
+
left: 'calc(var(--rpc-alpha-pointer) - 8px)',
|
|
39
|
+
boxSizing: 'border-box'
|
|
40
|
+
};
|
|
41
|
+
exports.checkboard = {
|
|
42
|
+
position: 'absolute',
|
|
43
|
+
top: '0px',
|
|
44
|
+
right: '0px',
|
|
45
|
+
bottom: '0px',
|
|
46
|
+
left: '0px',
|
|
47
|
+
backgroundImage: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAC9JREFUOBFjZGBgEAFifOANPkkmfJLEyI0awMAw8GHASERU4U0nA++FURdQISEBAFeUATP+HuV8AAAAAElFTkSuQmCC")',
|
|
48
|
+
backgroundPosition: 'left center',
|
|
49
|
+
zIndex: -1,
|
|
50
|
+
borderRadius: 'calc(var(--rpc-border-radius) / 2)'
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=Alpha.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alpha.style.js","sourceRoot":"","sources":["../../../../../../../../src/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAwB;IAC5C,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,iCAAiC;IAC5C,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,CAAC;IACT,YAAY,EAAE,KAAK;IACnB,UAAU,EAAE,6BAA6B;CAC1C,CAAC;AAEW,QAAA,KAAK,GAAwB;IACxC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,UAAU,EAAE,2JAA2J;IACvK,YAAY,EAAE,KAAK;CACpB,CAAC;AAEW,QAAA,OAAO,GAAwB;IAC1C,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEW,QAAA,MAAM,GAAwB;IACzC,KAAK,EAAE,MAAM;IACb,YAAY,EAAE,MAAM;IACpB,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,2BAA2B;IACtC,MAAM,EAAE,gBAAgB;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,uBAAuB;IAClC,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,sCAAsC;IAC5C,SAAS,EAAE,YAAY;CACxB,CAAC;AAEW,QAAA,UAAU,GAAwB;IAC7C,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;IACX,eAAe,EACb,2LAA2L;IAC7L,kBAAkB,EAAE,aAAa;IACjC,MAAM,EAAE,CAAC,CAAC;IACV,YAAY,EAAE,oCAAoC;CACnD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RgbColor, Color } from '../../types.js';
|
|
3
|
+
type ColorListProps = {
|
|
4
|
+
colors: Color[];
|
|
5
|
+
additionalStyles?: React.CSSProperties;
|
|
6
|
+
onClick: (color: RgbColor) => void;
|
|
7
|
+
onAdd?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: ({ colors, onClick, onAdd }: ColorListProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default _default;
|
package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
var react_1 = __importDefault(require("react"));
|
|
31
|
+
var tinycolor2_1 = __importDefault(require("tinycolor2"));
|
|
32
|
+
var styles = __importStar(require("./ColorList.style.js"));
|
|
33
|
+
var ColorList = function (_a) {
|
|
34
|
+
var colors = _a.colors, onClick = _a.onClick, onAdd = _a.onAdd;
|
|
35
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: styles.container, children: [colors.map(function (color, index) {
|
|
36
|
+
var col = (0, tinycolor2_1.default)(color);
|
|
37
|
+
if (!col.isValid()) {
|
|
38
|
+
throw Error("".concat(color, " is not a valid color."));
|
|
39
|
+
}
|
|
40
|
+
var rgb = col.toRgb();
|
|
41
|
+
return ((0, jsx_runtime_1.jsxs)("button", { style: styles.button, onClick: function () { return onClick(rgb); }, type: "button", children: [(0, jsx_runtime_1.jsx)("div", { style: styles.value(rgb) }), (0, jsx_runtime_1.jsx)("div", { style: styles.checkboard })] }, index));
|
|
42
|
+
}), onAdd && ((0, jsx_runtime_1.jsx)("button", { style: styles.addButton, onClick: onAdd, type: "button", children: (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "50", height: "50", viewBox: "0 0 50 50", style: styles.svg, children: (0, jsx_runtime_1.jsx)("path", { d: "M27.5 50h-5V27.5H0v-5h22.5V0h5v22.5H50v5H27.5z" }) }) }))] }));
|
|
43
|
+
};
|
|
44
|
+
exports.default = react_1.default.memo(ColorList);
|
|
45
|
+
//# sourceMappingURL=ColorList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorList.js","sourceRoot":"","sources":["../../../../../../../../src/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,0DAAmC;AAEnC,wDAA4C;AAW5C,IAAM,SAAS,GAAG,UAAC,EAA0C;QAAxC,MAAM,YAAA,EAAE,OAAO,aAAA,EAAE,KAAK,WAAA;IAAuB,OAAA,CAChE,iCAAK,KAAK,EAAE,MAAM,CAAC,SAAS,aACzB,MAAM,CAAC,GAAG,CAAC,UAAC,KAAK,EAAE,KAAK;gBACvB,IAAM,GAAG,GAAG,IAAA,oBAAS,EAAC,KAAK,CAAC,CAAC;gBAE7B,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC;oBACnB,MAAM,KAAK,CAAC,UAAG,KAAK,2BAAwB,CAAC,CAAC;gBAChD,CAAC;gBAED,IAAM,GAAG,GAAG,GAAG,CAAC,KAAK,EAAE,CAAC;gBAExB,OAAO,CACL,oCAAoB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,GAAG,CAAC,EAAZ,CAAY,EAAE,IAAI,EAAC,QAAQ,aAClF,gCAAK,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,GAAI,EACjC,gCAAK,KAAK,EAAE,MAAM,CAAC,UAAU,GAAI,KAFtB,KAAK,CAGT,CACV,CAAC;YACJ,CAAC,CAAC,EAED,KAAK,IAAI,CACR,mCAAQ,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,QAAQ,YAC5D,gCACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,MAAM,CAAC,GAAG,YAEjB,iCAAM,CAAC,EAAC,gDAAgD,GAAG,GACvD,GACC,CACV,IACG,CACP;AAjCiE,CAiCjE,CAAC;AAEF,kBAAe,eAAK,CAAC,IAAI,CAAC,SAAS,CAAqB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RgbColor } from '../../types.js';
|
|
3
|
+
export declare const container: React.CSSProperties;
|
|
4
|
+
export declare const button: React.CSSProperties;
|
|
5
|
+
export declare const addButton: React.CSSProperties;
|
|
6
|
+
export declare const svg: React.CSSProperties;
|
|
7
|
+
export declare const value: (color: RgbColor) => React.CSSProperties;
|
|
8
|
+
export declare const checkboard: React.CSSProperties;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.checkboard = exports.value = exports.svg = exports.addButton = exports.button = exports.container = void 0;
|
|
4
|
+
exports.container = {
|
|
5
|
+
padding: '0.4rem',
|
|
6
|
+
borderTop: '1px solid var(--rpc-border-color)',
|
|
7
|
+
display: 'grid',
|
|
8
|
+
gridTemplateColumns: 'repeat(10, 1fr)',
|
|
9
|
+
gridGap: '0.4rem'
|
|
10
|
+
};
|
|
11
|
+
exports.button = {
|
|
12
|
+
height: '20px',
|
|
13
|
+
margin: '0',
|
|
14
|
+
outline: 'none',
|
|
15
|
+
appearance: 'none',
|
|
16
|
+
cursor: 'pointer',
|
|
17
|
+
padding: '0',
|
|
18
|
+
borderRadius: 'var(--rpc-border-radius)',
|
|
19
|
+
border: '1px solid var(--rpc-border-color)',
|
|
20
|
+
overflow: 'hidden',
|
|
21
|
+
position: 'relative',
|
|
22
|
+
background: 'none',
|
|
23
|
+
gridColumnEnd: 'span 1'
|
|
24
|
+
};
|
|
25
|
+
exports.addButton = {
|
|
26
|
+
height: '20px',
|
|
27
|
+
margin: '0',
|
|
28
|
+
padding: '0',
|
|
29
|
+
outline: 'none',
|
|
30
|
+
background: 'none',
|
|
31
|
+
display: 'flex',
|
|
32
|
+
alignItems: 'center',
|
|
33
|
+
justifyContent: 'center',
|
|
34
|
+
cursor: 'pointer',
|
|
35
|
+
border: 'none',
|
|
36
|
+
borderRadius: 'var(--rpc-border-radius)',
|
|
37
|
+
gridColumnEnd: 'span 1'
|
|
38
|
+
};
|
|
39
|
+
exports.svg = {
|
|
40
|
+
height: '9px',
|
|
41
|
+
width: '9px',
|
|
42
|
+
fill: 'var(--rpc-color)'
|
|
43
|
+
};
|
|
44
|
+
var value = function (color) { return ({
|
|
45
|
+
position: 'absolute',
|
|
46
|
+
background: "rgba(".concat(color.r, ", ").concat(color.g, ", ").concat(color.b, ", ").concat(color.a, ")"),
|
|
47
|
+
top: '0px',
|
|
48
|
+
right: '0px',
|
|
49
|
+
bottom: '0px',
|
|
50
|
+
left: '0px',
|
|
51
|
+
zIndex: 2
|
|
52
|
+
}); };
|
|
53
|
+
exports.value = value;
|
|
54
|
+
exports.checkboard = {
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
top: '0px',
|
|
57
|
+
right: '0px',
|
|
58
|
+
bottom: '0px',
|
|
59
|
+
left: '0px',
|
|
60
|
+
backgroundImage: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAC9JREFUOBFjZGBgEAFifOANPkkmfJLEyI0awMAw8GHASERU4U0nA++FURdQISEBAFeUATP+HuV8AAAAAElFTkSuQmCC")',
|
|
61
|
+
backgroundPosition: 'left center',
|
|
62
|
+
zIndex: 1
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=ColorList.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorList.style.js","sourceRoot":"","sources":["../../../../../../../../src/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.ts"],"names":[],"mappings":";;;AAIa,QAAA,SAAS,GAAwB;IAC5C,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,mCAAmC;IAC9C,OAAO,EAAE,MAAM;IACf,mBAAmB,EAAE,iBAAiB;IACtC,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,MAAM,GAAwB;IACzC,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,GAAG;IACZ,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,mCAAmC;IAC3C,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,QAAQ;CACxB,CAAC;AAEW,QAAA,SAAS,GAAwB;IAC5C,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,GAAG;IACZ,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,0BAA0B;IACxC,aAAa,EAAE,QAAQ;CACxB,CAAC;AAEW,QAAA,GAAG,GAAwB;IACtC,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,kBAAkB;CACzB,CAAC;AAEK,IAAM,KAAK,GAAG,UAAC,KAAe,IAA0B,OAAA,CAAC;IAC9D,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,eAAQ,KAAK,CAAC,CAAC,eAAK,KAAK,CAAC,CAAC,eAAK,KAAK,CAAC,CAAC,eAAK,KAAK,CAAC,CAAC,MAAG;IAClE,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,CAAC;CACV,CAAC,EAR6D,CAQ7D,CAAC;AARU,QAAA,KAAK,SAQf;AAEU,QAAA,UAAU,GAAwB;IAC7C,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;IACX,eAAe,EACb,2LAA2L;IAC7L,kBAAkB,EAAE,aAAa;IACjC,MAAM,EAAE,CAAC;CACV,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Color, ColorObject, ColorCombination, Theme } from '../../types.js';
|
|
2
|
+
export type ColorPickerProps = {
|
|
3
|
+
theme?: Partial<Theme>;
|
|
4
|
+
color?: Color;
|
|
5
|
+
presets?: Color[];
|
|
6
|
+
onChange?: (color: ColorObject) => void;
|
|
7
|
+
hideAlpha?: boolean;
|
|
8
|
+
hideInputs?: boolean;
|
|
9
|
+
combinations?: ColorCombination | ColorCombination[];
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: ({ theme, color, presets, onChange, hideAlpha, hideInputs, className, combinations }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
|
+
var react_1 = __importStar(require("react"));
|
|
42
|
+
var tinycolor2_1 = __importDefault(require("tinycolor2"));
|
|
43
|
+
var helper_1 = require("./helper.js");
|
|
44
|
+
var themes_1 = __importDefault(require("../../themes.js"));
|
|
45
|
+
var Hue_1 = __importDefault(require("../Hue/Hue.js"));
|
|
46
|
+
var Alpha_1 = __importDefault(require("../Alpha/Alpha.js"));
|
|
47
|
+
var ColorList_1 = __importDefault(require("../ColorList/ColorList.js"));
|
|
48
|
+
var Saturation_1 = __importDefault(require("../Saturation/Saturation.js"));
|
|
49
|
+
var PresetList_1 = __importDefault(require("../PresetList/PresetList.js"));
|
|
50
|
+
var styles = __importStar(require("./ColorPicker.style.js"));
|
|
51
|
+
var Input_1 = __importDefault(require("../Input/Input.js"));
|
|
52
|
+
var ColorPicker = function (_a) {
|
|
53
|
+
var theme = _a.theme, color = _a.color, presets = _a.presets, onChange = _a.onChange, hideAlpha = _a.hideAlpha, hideInputs = _a.hideInputs, className = _a.className, combinations = _a.combinations;
|
|
54
|
+
var _b = (0, react_1.useState)((0, helper_1.initColor)(color)), col = _b[0], setCol = _b[1];
|
|
55
|
+
(0, react_1.useEffect)(function () {
|
|
56
|
+
setCol((0, helper_1.initColor)(color));
|
|
57
|
+
}, [color]);
|
|
58
|
+
var updateColor = (0, react_1.useCallback)(function (updatedColor) {
|
|
59
|
+
var newColor = (0, helper_1.initColor)(updatedColor);
|
|
60
|
+
setCol(newColor);
|
|
61
|
+
onChange && onChange(newColor);
|
|
62
|
+
}, [col]);
|
|
63
|
+
var updateAlpha = (0, react_1.useCallback)(function (alpha) { return updateColor(__assign(__assign({}, col.rgb), { a: alpha })); }, [col]);
|
|
64
|
+
var rgb = col.rgb, hsl = col.hsl, hsv = col.hsv, hex = col.hex, alpha = col.alpha;
|
|
65
|
+
var variables = {
|
|
66
|
+
'--rpc-background': (theme === null || theme === void 0 ? void 0 : theme.background) || themes_1.default.light.background,
|
|
67
|
+
'--rpc-input-background': (theme === null || theme === void 0 ? void 0 : theme.inputBackground) || themes_1.default.light.inputBackground,
|
|
68
|
+
'--rpc-color': (theme === null || theme === void 0 ? void 0 : theme.color) || themes_1.default.light.color,
|
|
69
|
+
'--rpc-border-color': (theme === null || theme === void 0 ? void 0 : theme.borderColor) || themes_1.default.light.borderColor,
|
|
70
|
+
'--rpc-border-radius': (theme === null || theme === void 0 ? void 0 : theme.borderRadius) || themes_1.default.light.borderRadius,
|
|
71
|
+
'--rpc-box-shadow': (theme === null || theme === void 0 ? void 0 : theme.boxShadow) || themes_1.default.light.boxShadow,
|
|
72
|
+
'--rpc-width': (theme === null || theme === void 0 ? void 0 : theme.width) || themes_1.default.light.width
|
|
73
|
+
};
|
|
74
|
+
var colorVariables = {
|
|
75
|
+
'--rpc-hue': hsl.h,
|
|
76
|
+
'--rpc-red': rgb.r,
|
|
77
|
+
'--rpc-green': rgb.g,
|
|
78
|
+
'--rpc-blue': rgb.b,
|
|
79
|
+
'--rpc-hex': hex,
|
|
80
|
+
'--rpc-alpha': alpha,
|
|
81
|
+
'--rpc-rgba': "rgba(".concat(rgb.r, ", ").concat(rgb.g, ", ").concat(rgb.b, ", ").concat(alpha, ")"),
|
|
82
|
+
'--rpc-hue-pointer': "".concat((hsl.h * 100) / 360, "%"),
|
|
83
|
+
'--rpc-alpha-pointer': "".concat(alpha * 100, "%"),
|
|
84
|
+
'--rpc-saturation-pointer-top': "calc(".concat(-(hsv.v * 100) + 100, "% - 6px)"),
|
|
85
|
+
'--rpc-saturation-pointer-left': "calc(".concat(hsv.s * 100, "% - 6px)")
|
|
86
|
+
};
|
|
87
|
+
var handleHexChange = function (val) {
|
|
88
|
+
if (!/^[0-9A-Fa-f]+$/.test(val))
|
|
89
|
+
return;
|
|
90
|
+
var hex = (0, tinycolor2_1.default)("#".concat(val));
|
|
91
|
+
setCol({
|
|
92
|
+
hex: "#".concat(val),
|
|
93
|
+
rgb: hex.toRgb(),
|
|
94
|
+
hsl: hex.toHsl(),
|
|
95
|
+
hsv: hex.toHsv(),
|
|
96
|
+
alpha: hex.getAlpha()
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
var handleRgbaInput = function (key, val) {
|
|
100
|
+
var _a;
|
|
101
|
+
if (val === '' || val.length > 3)
|
|
102
|
+
return;
|
|
103
|
+
var newValue = key === 'a' ? parseInt(val) / 100 : parseInt(val);
|
|
104
|
+
updateColor(__assign(__assign({}, rgb), (_a = {}, _a[key] = newValue, _a)));
|
|
105
|
+
};
|
|
106
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: __assign(__assign(__assign({}, variables), styles.container), colorVariables), className: className, children: [(0, jsx_runtime_1.jsx)(Saturation_1.default, { hsl: hsl, onChange: updateColor }), (0, jsx_runtime_1.jsxs)("div", { style: styles.flex, children: [(0, jsx_runtime_1.jsx)("div", { style: styles.valueWrapper, children: (0, jsx_runtime_1.jsx)("div", { style: styles.checkboard, children: (0, jsx_runtime_1.jsx)("div", { style: styles.value }) }) }), (0, jsx_runtime_1.jsxs)("div", { style: styles.ranges, children: [(0, jsx_runtime_1.jsx)(Hue_1.default, { hsl: hsl, onChange: updateColor }), !hideAlpha && (0, jsx_runtime_1.jsx)(Alpha_1.default, { onChange: updateAlpha })] })] }), !hideInputs && ((0, jsx_runtime_1.jsxs)("div", { style: styles.inputs, children: [(0, jsx_runtime_1.jsx)(Input_1.default, { type: "text", name: "hex", label: "Hex", size: "large", prefix: "#", onChange: handleHexChange, onBlur: updateColor, maxLength: 6, value: hex.replace('#', '') }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsx)(Input_1.default, { value: rgb.r, label: "R", name: "red", type: "number", min: 0, max: 255, step: 1, onChange: function (val) { return handleRgbaInput('r', val); } }), (0, jsx_runtime_1.jsx)(Input_1.default, { value: rgb.g, label: "G", name: "green", type: "number", min: 0, max: 255, step: 1, onChange: function (val) { return handleRgbaInput('g', val); } }), (0, jsx_runtime_1.jsx)(Input_1.default, { value: rgb.b, label: "B", name: "blue", type: "number", min: 0, max: 255, step: 1, onChange: function (val) { return handleRgbaInput('b', val); } }), !hideAlpha && ((0, jsx_runtime_1.jsx)(Input_1.default, { value: rgb.a * 100, label: "Alpha", name: "alpha", type: "number", min: 0, max: 100, step: 1, onChange: function (val) { return handleRgbaInput('a', val); } }))] })] })), presets && (0, jsx_runtime_1.jsx)(PresetList_1.default, { colors: presets, onClick: updateColor, currentColor: col.rgb }), combinations && ((0, jsx_runtime_1.jsx)(ColorList_1.default, { colors: (0, helper_1.getColorCombination)(col, combinations), onClick: updateColor }))] }));
|
|
107
|
+
};
|
|
108
|
+
exports.default = react_1.default.memo(ColorPicker);
|
|
109
|
+
//# sourceMappingURL=ColorPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.js","sourceRoot":"","sources":["../../../../../../../../src/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const container: React.CSSProperties;
|
|
3
|
+
export declare const checkboard: React.CSSProperties;
|
|
4
|
+
export declare const valueWrapper: React.CSSProperties;
|
|
5
|
+
export declare const value: React.CSSProperties;
|
|
6
|
+
export declare const flex: React.CSSProperties;
|
|
7
|
+
export declare const ranges: React.CSSProperties;
|
|
8
|
+
export declare const colors: React.CSSProperties;
|
|
9
|
+
export declare const inputs: React.CSSProperties;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.inputs = exports.colors = exports.ranges = exports.flex = exports.value = exports.valueWrapper = exports.checkboard = exports.container = void 0;
|
|
4
|
+
exports.container = {
|
|
5
|
+
background: 'var(--rpc-background)',
|
|
6
|
+
boxShadow: 'var(--rpc-box-shadow)',
|
|
7
|
+
borderRadius: 'var(--rpc-border-radius)',
|
|
8
|
+
width: 'var(--rpc-width)',
|
|
9
|
+
minWidth: '280px',
|
|
10
|
+
border: '1px solid var(--rpc-border-color)'
|
|
11
|
+
};
|
|
12
|
+
exports.checkboard = {
|
|
13
|
+
position: 'relative',
|
|
14
|
+
width: '25px',
|
|
15
|
+
height: '25px',
|
|
16
|
+
borderRadius: 'var(--rpc-border-radius)',
|
|
17
|
+
overflow: 'hidden',
|
|
18
|
+
boxShadow: 'inset 0 0 2px 0px rgba(0, 0, 0, .2)',
|
|
19
|
+
backgroundImage: 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAC9JREFUOBFjZGBgEAFifOANPkkmfJLEyI0awMAw8GHASERU4U0nA++FURdQISEBAFeUATP+HuV8AAAAAElFTkSuQmCC")',
|
|
20
|
+
backgroundPosition: 'left center'
|
|
21
|
+
};
|
|
22
|
+
exports.valueWrapper = {
|
|
23
|
+
background: 'var(--rpc-input-background)',
|
|
24
|
+
borderRadius: 'var(--rpc-border-radius)'
|
|
25
|
+
};
|
|
26
|
+
exports.value = {
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
top: '0px',
|
|
29
|
+
right: '0px',
|
|
30
|
+
bottom: '0px',
|
|
31
|
+
left: '0px',
|
|
32
|
+
background: 'var(--rpc-rgba)',
|
|
33
|
+
zIndex: 1,
|
|
34
|
+
border: '1px solid var(--rpc-border-color)',
|
|
35
|
+
borderRadius: 'var(--rpc-border-radius)'
|
|
36
|
+
};
|
|
37
|
+
exports.flex = {
|
|
38
|
+
margin: '0.4rem 0.4rem',
|
|
39
|
+
width: 'calc(100% - 0.8rem)',
|
|
40
|
+
display: 'flex',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
flexWrap: 'wrap'
|
|
44
|
+
};
|
|
45
|
+
exports.ranges = {
|
|
46
|
+
flexGrow: 2,
|
|
47
|
+
marginLeft: '0.4rem'
|
|
48
|
+
};
|
|
49
|
+
exports.colors = {
|
|
50
|
+
margin: '0 0.5rem 0 0'
|
|
51
|
+
};
|
|
52
|
+
exports.inputs = {
|
|
53
|
+
margin: '0 0.3rem 0.3rem',
|
|
54
|
+
display: 'flex',
|
|
55
|
+
alignItems: 'center',
|
|
56
|
+
justifyContent: 'space-between'
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=ColorPicker.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.style.js","sourceRoot":"","sources":["../../../../../../../../src/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAwB;IAC5C,UAAU,EAAE,uBAAuB;IACnC,SAAS,EAAE,uBAAuB;IAClC,YAAY,EAAE,0BAA0B;IACxC,KAAK,EAAE,kBAAkB;IACzB,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,mCAAmC;CAC5C,CAAC;AAEW,QAAA,UAAU,GAAwB;IAC7C,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,0BAA0B;IACxC,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,qCAAqC;IAChD,eAAe,EACb,2LAA2L;IAC7L,kBAAkB,EAAE,aAAa;CAClC,CAAC;AAEW,QAAA,YAAY,GAAwB;IAC/C,UAAU,EAAE,6BAA6B;IACzC,YAAY,EAAE,0BAA0B;CACzC,CAAC;AACW,QAAA,KAAK,GAAwB;IACxC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;IACX,UAAU,EAAE,iBAAiB;IAC7B,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,mCAAmC;IAC3C,YAAY,EAAE,0BAA0B;CACzC,CAAC;AAEW,QAAA,IAAI,GAAwB;IACvC,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,qBAAqB;IAC5B,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,QAAQ,EAAE,MAAM;CACjB,CAAC;AAEW,QAAA,MAAM,GAAwB;IACzC,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,QAAQ;CACrB,CAAC;AAEW,QAAA,MAAM,GAAwB;IACzC,MAAM,EAAE,cAAc;CACvB,CAAC;AAEW,QAAA,MAAM,GAAwB;IACzC,MAAM,EAAE,iBAAiB;IACzB,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,eAAe;CAChC,CAAC"}
|