diginet-core-ui 1.4.38 → 1.4.39-beta.1
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/assets/images/menu/dhr/MHRM38N0001.svg +16 -0
- package/assets/images/menu/dhr/MHRM38N0002.svg +17 -0
- package/assets/images/menu/dhr/MHRM38N0003.svg +7 -0
- package/assets/images/menu/dhr/MHRP15N0002.svg +17 -0
- package/assets/images/menu/dhr/MHRP15N0003.svg +26 -0
- package/components/accordion/details.js +1 -1
- package/components/accordion/group.js +1 -1
- package/components/accordion/index.js +1 -1
- package/components/accordion/summary.js +1 -1
- package/components/alert/index.js +1 -1
- package/components/alert/notify.js +1 -1
- package/components/avatar/index.js +2 -2
- package/components/badge/index.js +1 -1
- package/components/breadcrumb/index.js +1 -1
- package/components/button/icon.js +1 -1
- package/components/button/index.js +1 -1
- package/components/button/more.js +2 -2
- package/components/button/ripple-effect.js +1 -1
- package/components/card/body.js +1 -1
- package/components/card/extra.js +1 -1
- package/components/card/footer.js +1 -1
- package/components/card/header.js +1 -1
- package/components/card/index.js +1 -1
- package/components/chart/Pie/Circle.js +1 -1
- package/components/chart/Pie/Sector.js +1 -1
- package/components/chart/Pie/index.js +1 -1
- package/components/chart/Pie-v2/Circle.js +1 -1
- package/components/chart/Pie-v2/Sector.js +1 -1
- package/components/chart/Pie-v2/index.js +1 -1
- package/components/chart/bar/Bar.js +1 -1
- package/components/chart/bar/index.js +1 -1
- package/components/chart/bar-v2/Bar.js +1 -1
- package/components/chart/bar-v2/index.js +1 -1
- package/components/chart/line/index.js +1 -1
- package/components/chart/line-v2/index.js +1 -1
- package/components/check-text/index.js +1 -1
- package/components/check-text/interview-confirmation.js +1 -1
- package/components/check-text/interview-status.js +1 -1
- package/components/chip/index.js +1 -1
- package/components/collapse/index.js +1 -1
- package/components/divider/index.js +1 -1
- package/components/form-control/attachment/index.js +1 -1
- package/components/form-control/calendar/function.js +1 -1
- package/components/form-control/calendar/index.js +2 -2
- package/components/form-control/calendar/range.js +1 -1
- package/components/form-control/checkbox/index.js +1 -1
- package/components/form-control/control/index.js +1 -1
- package/components/form-control/date-input/index.js +1 -1
- package/components/form-control/date-picker/index.js +1 -1
- package/components/form-control/date-range-picker/index.js +1 -1
- package/components/form-control/dropdown/index.js +4 -2
- package/components/form-control/dropdown-box/index.js +64 -22
- package/components/form-control/form-group/index.js +1 -1
- package/components/form-control/helper-text/index.js +1 -1
- package/components/form-control/input-base/UncontrolledInputBase.js +1 -1
- package/components/form-control/input-base/index.js +1 -1
- package/components/form-control/label/index.js +1 -1
- package/components/form-control/money-input/index.js +1 -1
- package/components/form-control/number-input/index2.js +4 -1
- package/components/form-control/password-input/index.js +1 -1
- package/components/form-control/phone-input/index.js +1 -1
- package/components/form-control/radio/index.js +1 -1
- package/components/form-control/text-input/index.js +1 -1
- package/components/form-control/time-picker/index.js +1 -1
- package/components/form-control/time-picker/v2/index.js +1 -1
- package/components/form-control/toggle/index.js +1 -1
- package/components/form-view/input.js +1 -1
- package/components/grid/index.js +1 -1
- package/components/image/index.js +1 -1
- package/components/list/list-item-action.js +1 -1
- package/components/list/list-item-icon.js +1 -1
- package/components/list/list-item-text.js +1 -1
- package/components/list/list-item.js +1 -1
- package/components/list/list.js +1 -1
- package/components/list/sub-header.js +1 -1
- package/components/modal/body.js +1 -1
- package/components/modal/footer.js +1 -1
- package/components/modal/header.js +1 -1
- package/components/modal/index.js +1 -1
- package/components/modal/modal.js +1 -1
- package/components/others/option-wrapper/index.js +1 -1
- package/components/paging/page-info.js +1 -1
- package/components/paging/page-selector.js +1 -1
- package/components/paper/index.js +1 -1
- package/components/popover/body.js +1 -1
- package/components/popover/footer.js +1 -1
- package/components/popover/header.js +1 -1
- package/components/popover/index.js +1 -1
- package/components/popup/index.js +1 -1
- package/components/popup/v2/index.js +1 -1
- package/components/progress/circular.js +1 -1
- package/components/progress/linear.js +1 -1
- package/components/rating/index.js +1 -1
- package/components/skeleton/index.js +1 -1
- package/components/slider/slider-container.js +1 -1
- package/components/slider/slider-item.js +1 -1
- package/components/status/index.js +1 -1
- package/components/tab/tab-container.js +1 -1
- package/components/tab/tab-header.js +1 -1
- package/components/tab/tab-panel.js +1 -1
- package/components/tab/tab.js +1 -1
- package/components/tooltip/index.js +1 -1
- package/components/transfer/index.js +1 -1
- package/components/tree-view/index.js +1 -1
- package/components/typography/index.js +1 -1
- package/icons/basic.js +28 -0
- package/icons/effect.js +1 -1
- package/icons/menu/v2/index.js +1 -1
- package/package.json +67 -33
- package/readme.md +8 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_1903_45)">
|
|
3
|
+
<path d="M36.5 35C36.5 35.8 35.9 36.5 35 36.5V39C37.2 39 39 37.2 39 35V30.5L36.5 33.3V35ZM36.5 6.7L21 0.3C20.5 0.1 20 0 19.5 0C19 0 18.5 0.1 18 0.3L2.5 6.7C1 7.3 0 8.7 0 10.4V35C0 37.2 1.8 39 4 39H23.3V36.5H4C3.2 36.5 2.5 35.8 2.5 35V10.4C2.5 9.8 2.9 9.3 3.4 9L18.9 2.6C19.1 2.5 19.3 2.5 19.5 2.5C19.7 2.5 19.9 2.5 20.1 2.6L35.6 9C36.2 9.2 36.5 9.8 36.5 10.4V23.5L39 25.8V10.4C39 8.7 38 7.3 36.5 6.7Z" fill="#FF8C00"/>
|
|
4
|
+
<path d="M23.6 14.7C23.6 14.8 23.6 14.9 23.6 15H9.3C8.6 15 8 14.4 8 13.8C8 13.2 8.6 12.5 9.3 12.5H24C23.7 13.2 23.6 13.9 23.6 14.7Z" fill="#FF8C00"/>
|
|
5
|
+
<path d="M26.2 19.5C25.6 19.8 25.1 20.1 24.6 20.6C24.4 20.8 24.2 21.1 24 21.4L23.3 22H18.9L18.7 21.7C18.2 21.1 17.5 20.8 16.7 20.7C16.6 20.7 16.5 20.7 16.4 20.7C15.9 20.7 15.5 20.8 15.1 21L11 19.5H26.2Z" fill="#FF8C00"/>
|
|
6
|
+
<path d="M16.9 29H9.3C8.6 29 8 28.4 8 27.8C8 27.2 8.6 26.5 9.3 26.5H14.7L14.9 26.6L16.9 29Z" fill="#FF8C00"/>
|
|
7
|
+
<path d="M17.9002 22.3999C17.6002 21.9999 17.1002 21.7999 16.6002 21.7999C16.1002 21.7999 15.6002 21.8999 15.2002 22.1999L6.20017 18.9999C6.00017 18.8999 5.60017 19.0999 5.50017 19.3999C5.40017 19.5999 5.50017 19.9999 5.70017 19.9999L12.9002 24.1999L15.6002 25.7999L19.0002 29.6999C19.2002 29.8999 19.4002 30.0999 19.6002 30.1999C19.8002 30.2999 20.1002 30.3999 20.3002 30.3999C20.6002 30.3999 20.8002 30.3999 21.1002 30.2999C21.3002 30.1999 21.6002 30.0999 21.8002 29.8999L23.3002 28.6999V23.4999L20.7002 25.6999L17.9002 22.3999Z" fill="#2680EB"/>
|
|
8
|
+
<path d="M39.0002 27.9999C39.0002 28.2999 39.0002 28.4999 38.9002 28.7999C38.8002 29.0999 38.7002 29.2999 38.5002 29.4999L34.2002 34.2999C34.0002 34.4999 33.8002 34.6999 33.6002 34.7999C33.4002 34.8999 33.1002 34.9999 32.8002 34.9999C32.5002 34.9999 32.3002 34.9999 32.0002 34.8999C31.7002 34.7999 31.5002 34.6999 31.3002 34.4999C31.1002 34.2999 31.0002 34.0999 30.8002 33.8999C30.7002 33.6999 30.6002 33.3999 30.6002 33.0999C30.6002 32.7999 30.6002 32.5999 30.7002 32.2999C30.8002 31.9999 30.9002 31.7999 31.1002 31.5999L34.0002 28.2999L30.0002 24.4999L32.4002 27.7999L30.1002 30.4999C29.8002 30.7999 29.5002 31.2999 29.4002 31.6999C29.3002 32.0999 29.2002 32.5999 29.2002 33.0999C29.2002 33.5999 29.3002 33.9999 29.5002 34.4999C29.7002 34.8999 30.0002 35.2999 30.3002 35.5999C30.8002 35.9999 31.4002 36.2999 32.0002 36.3999C32.6002 36.4999 33.3002 36.4999 33.9002 36.2999V38.9999H24.4002V24.1999C24.4002 23.6999 24.4002 23.1999 24.6002 22.6999C24.8002 22.1999 25.0002 21.7999 25.4002 21.3999C25.8002 20.9999 26.2002 20.6999 26.7002 20.4999C27.2002 20.2999 27.7002 20.1999 28.2002 20.1999H29.9002C30.5002 20.1999 31.1002 20.2999 31.7002 20.5999C32.3002 20.8999 32.7002 21.2999 33.1002 21.7999L38.3002 26.5999C38.5002 26.7999 38.7002 26.9999 38.8002 27.1999C38.9002 27.4999 39.0002 27.6999 39.0002 27.9999Z" fill="#2680EB"/>
|
|
9
|
+
<path d="M27.1002 18.6999C27.8002 18.9999 28.5002 19.1999 29.2002 19.1999C29.9002 19.1999 30.6002 19.0999 31.3002 18.6999C32.0002 18.2999 32.7002 17.6999 33.1002 16.9999C33.6002 16.2999 33.9002 15.4999 34.0002 14.5999C34.0002 13.3999 33.5002 12.1999 32.6002 11.2999C31.7002 10.3999 30.6002 9.8999 29.3002 9.8999C28.1002 9.8999 26.9002 10.3999 26.0002 11.2999C25.1002 12.1999 24.6002 13.3999 24.6002 14.5999C24.6002 15.3999 24.8002 16.2999 25.3002 16.9999C25.8002 17.7999 26.4002 18.3999 27.1002 18.6999Z" fill="#2680EB"/>
|
|
10
|
+
</g>
|
|
11
|
+
<defs>
|
|
12
|
+
<clipPath id="clip0_1903_45">
|
|
13
|
+
<rect width="39" height="39" fill="white"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
</defs>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_1941_38)">
|
|
3
|
+
<path d="M37 0H2C0.9 0 0 0.9 0 2V25C0 26.1 0.9 27 2 27H3.6C3.5 26.6 3.4 26.1 3.4 25.7C3.4 25.4 3.4 25.2 3.5 24.9H2.1V2.1H36.9V24.9H35.4C35.4 25.2 35.5 25.4 35.5 25.7C35.5 26.1 35.4 26.6 35.3 27H37C38.1 27 39 26.1 39 25V2C39 0.9 38.1 0 37 0Z" fill="#FF8C00"/>
|
|
4
|
+
<path d="M32 9.2L29.7 8.4L19.7 5.1C19.4 5 19.2 5 18.9 5.1L8.4 8.8L6.4 9.5C5.4 9.8 5.4 11.2 6.4 11.5L9.5 12.6L10.2 12.9V17.8C10.2 18.3 10.5 18.7 11 18.9C12.4 19.4 13.6 19.9 14.5 20.3C14.9 19.5 15.5 18.9 16.3 18.4L12.6 17V13.7C19.1 16 19 16 19.3 16C19.6 16 19.5 16 26 13.8V17L22.5 18.3C22.9 18.5 23.2 18.8 23.6 19.1C23.9 19.4 24.2 19.8 24.4 20.1C25.3 19.7 26.4 19.3 27.6 18.8C28.1 18.6 28.4 18.2 28.4 17.7V12.9L30.8 12.1V19C30.8 19.7 31.3 20.2 32 20.2C32.7 20.2 33.2 19.7 33.2 19V11C33.3 10.2 32.8 9.4 32 9.2ZM19.3 13.4L10.8 10.4L19.3 7.4L28.2 10.4L19.3 13.4Z" fill="#FF8C00"/>
|
|
5
|
+
<path d="M13.0002 37.2C12.0002 37.9 10.9002 38.5 9.7002 38.9C8.7002 39.2 7.7002 39 6.7002 38.6C5.6002 38.2 4.6002 37.6 3.7002 36.9C3.2002 36.5 3.0002 36 3.1002 35.3C3.3002 34.2 3.5002 33.1 3.7002 32C3.8002 31.4 4.3002 31 5.0002 31C6.2002 31 7.4002 31 8.6002 31C9.8002 31 10.9002 31 12.1002 31C12.4002 31 12.7002 31.1 12.9002 31.2C12.8002 31.3 12.8002 31.4 12.7002 31.6V31.7L12.4002 33.1L12.3002 33.5C12.2002 33.8 12.2002 34.1 12.1002 34.4C11.8002 35.5 12.2002 36.5 13.0002 37.2Z" fill="#2680EB"/>
|
|
6
|
+
<path d="M8.5002 29.8C6.3002 29.8 4.5002 28 4.5002 25.7C4.5002 23.4 6.3002 21.6 8.5002 21.6C10.7002 21.6 12.5002 23.5 12.5002 25.7C12.5002 28 10.7002 29.8 8.5002 29.8Z" fill="#2680EB"/>
|
|
7
|
+
<path d="M35.4002 36.8C34.3002 37.7 33.0002 38.4 31.6002 38.8C30.6002 39.1 29.6002 38.9 28.6002 38.5C27.7002 38.1 26.8002 37.6 26.0002 37.1C26.8002 36.4 27.2002 35.4 27.0002 34.3C27.0002 34.1 26.9002 33.9 26.9002 33.7L26.8002 33.4L26.5002 32C26.4002 31.7 26.3002 31.3 26.2002 31.1C26.4002 31 26.7002 30.9 27.0002 30.9C28.2002 30.9 29.4002 30.9 30.6002 30.9C31.8002 30.9 32.9002 30.9 34.1002 30.9C34.9002 30.9 35.3002 31.3 35.5002 32C35.7002 33 35.9002 34.1 36.1002 35.1C36.1002 35.9 35.9002 36.4 35.4002 36.8Z" fill="#2680EB"/>
|
|
8
|
+
<path d="M30.5002 29.8C28.3002 29.8 26.5002 28 26.5002 25.7C26.5002 23.4 28.3002 21.6 30.5002 21.6C32.7002 21.6 34.5002 23.5 34.5002 25.7C34.5002 28 32.7002 29.8 30.5002 29.8Z" fill="#2680EB"/>
|
|
9
|
+
<path d="M19.5002 28.1C16.9002 28.1 14.7002 25.9 14.7002 23.2C14.7002 20.5 16.9002 18.3 19.5002 18.4C22.1002 18.4 24.3002 20.6 24.3002 23.3C24.3002 25.9 22.1002 28.1 19.5002 28.1Z" fill="#2680EB"/>
|
|
10
|
+
<path d="M25.8002 33.7L25.5002 32.3C25.3002 31.5 25.0002 30.9 24.1002 30.6C22.6002 30 21.7002 29.4 21.7002 29.4L20.5002 33.1L20.3002 33.6L19.8002 32.1C21.0002 30.4 19.7002 30.3 19.5002 30.3C19.3002 30.3 18.0002 30.4 19.2002 32.1L18.7002 33.6L18.5002 33.1L17.3002 29.4C17.3002 29.4 16.4002 30 14.9002 30.6C14.2002 30.9 13.8002 31.3 13.6002 31.9L13.3002 33.3C13.2002 33.7 13.1002 34.1 13.1002 34.5C13.0002 35.2 13.2002 35.9 13.8002 36.4C14.9002 37.2 16.1002 37.9 17.4002 38.4C18.6002 38.9 19.7002 39.1 21.0002 38.7C22.7002 38.2 24.1002 37.4 25.5002 36.3C26.1002 35.9 26.3002 35.2 26.1002 34.5C25.9002 34.3 25.9002 34 25.8002 33.7Z" fill="#2680EB"/>
|
|
11
|
+
</g>
|
|
12
|
+
<defs>
|
|
13
|
+
<clipPath id="clip0_1941_38">
|
|
14
|
+
<rect width="39" height="39" fill="white"/>
|
|
15
|
+
</clipPath>
|
|
16
|
+
</defs>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.3 7.10005L10.2 8.10005L10.9 8.30005V13C10.9 13.5 11.2 13.9 11.6 14.1C19.2 17 19.2 17 19.5 17C19.8 17 19.7 17 27.4 14.1C27.8 13.9 28.1 13.5 28.1 13V8.50005L30.4 7.70005V14.1C30.4 14.7 30.9 15.2 31.5 15.2C32.1 15.2 32.6 14.7 32.6 14.1V6.60005C32.6 5.90005 32.1 5.20005 31.4 4.90005L29.2 4.20005L19.7 1.00005C19.5 0.900049 19.2 0.900049 19 1.00005L9.2 4.50005L7.3 5.20005C6.4 5.50005 6.4 6.80005 7.3 7.10005ZM25.8 12.3L19.5 14.7L13.2 12.3V9.20005C19.3 11.3 19.2 11.3 19.5 11.3C19.8 11.3 19.7 11.3 25.8 9.30005V12.3ZM19.5 3.40005L27.9 6.20005L19.5 9.00005L11.5 6.20005L19.5 3.40005Z" fill="#FF8C00"/>
|
|
3
|
+
<path d="M37.9 5H33.2C33.5 5.5 33.7 6 33.7 6.6V7.3H36.7V30.8H2.3V7.3H6C5.8 7 5.7 6.6 5.7 6.2C5.7 5.7 5.8 5.3 6 5H1.1C0.5 5 0 5.5 0 6.2V32C0 32.6 0.5 33.2 1.1 33.2H11.4V35.5H8C7.4 35.5 6.8 36 6.8 36.6C6.8 37.2 7.3 37.7 8 37.7H31C31.6 37.7 32.1 37.2 32.1 36.6C32.1 36 31.6 35.5 31 35.5H27.6V33.2H37.9C38.5 33.2 39 32.7 39 32V6.2C39 5.5 38.5 5 37.9 5ZM13.8 35.4V33.1H25.3V35.4H13.8Z" fill="#2680EB"/>
|
|
4
|
+
<path d="M10.3 20.5H5.7C5.1 20.5 4.6 21 4.6 21.6V26.2C4.6 26.8 5.1 27.3 5.7 27.3H10.3C10.9 27.3 11.4 26.8 11.4 26.2V21.6C11.5 21 11 20.5 10.3 20.5ZM9.2 25.1H6.9V22.8H9.2V25.1Z" fill="#2680EB"/>
|
|
5
|
+
<path d="M13.8 21.6C13.8 22.2 14.3 22.7 14.9 22.7H33.3C33.9 22.7 34.4 22.2 34.4 21.6C34.4 21 33.9 20.5 33.3 20.5H14.9C14.3 20.5 13.8 21 13.8 21.6Z" fill="#2680EB"/>
|
|
6
|
+
<path d="M33.3 25.1H14.9C14.3 25.1 13.8 25.6 13.8 26.2C13.8 26.8 14.3 27.3 14.9 27.3H33.3C33.9 27.3 34.4 26.8 34.4 26.2C34.4 25.6 33.9 25.1 33.3 25.1Z" fill="#2680EB"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_1959_74)">
|
|
3
|
+
<path d="M17.1 21.4C16.5 20.8 15.7 20.5 14.7 20.5C13.8 20.5 13 20.8 12.4 21.3C12.2 21.9 12.1 22.4 12.1 23.1C12 24.3 12.2 25.4 12.6 26.5C13.1 26.9 13.8 27.1 14.7 27.1C15.7 27.1 16.5 26.8 17.1 26.2C17.7 25.6 18 24.8 18 23.8C18 22.8 17.7 22 17.1 21.4ZM16.2 24.7C16.1 25 16 25.2 15.9 25.4C15.8 25.6 15.6 25.7 15.4 25.8C15.2 25.9 15 25.9 14.8 25.9C14.6 25.9 14.4 25.9 14.2 25.8C14 25.7 13.8 25.6 13.7 25.4C13.6 25.2 13.4 25 13.4 24.8C13.3 24.5 13.3 24.2 13.3 23.9C13.3 23.5 13.4 23.2 13.4 22.9C13.5 22.6 13.6 22.4 13.7 22.2C13.8 22 14 21.9 14.2 21.8C14.4 21.7 14.6 21.7 14.8 21.7C15 21.7 15.2 21.7 15.4 21.8C15.6 21.9 15.7 22 15.9 22.2C16 22.4 16.2 22.6 16.2 22.9C16.3 23.2 16.3 23.5 16.3 23.9C16.3 24.1 16.3 24.4 16.2 24.7Z" fill="#FF4444"/>
|
|
4
|
+
<path d="M23.1 21.8V20.6H18.6V26.9H20.2V24.2H22.9V23H20.2V21.8H23.1Z" fill="#FF4444"/>
|
|
5
|
+
<path d="M27.4 23H25.1V21.8H27.2C27.1 21.4 27 21 26.8 20.6H23.5V26.9H25.1V24.2H27.4C27.4 23.8 27.4 23.4 27.4 23Z" fill="#FF4444"/>
|
|
6
|
+
<path d="M34.9 2.4V4.4C34.9 6.4 33.2 8 31.2 8H31C29 8 27.3 6.4 27.3 4.4V2.2H23.3V4.4C23.3 6.4 21.6 8 19.6 8H19.4C17.4 8 15.7 6.4 15.7 4.4V2.2H11.6V4.4C11.6 6.4 10 8 8 8H7.7C5.7 7.9 4 6.3 4 4.4V2.4C1.6 3.2 0 5.4 0 7.9V33.3C0 33.9 0.1 34.6 0.3 35.1L3 32.9C3 32.8 3 32.7 3 32.6V13.4C3 12.1 4 11 5.3 11H33.8C35.1 11 36.1 12 36.1 13.4V32.6C36.1 34.5 34.6 36.1 32.7 36.1H11.1C10.9 36.5 10.6 36.8 10.3 37.1L8.1 39H33.1C36.3 39 39 36.5 39 33.3V7.9C39 5.4 37.3 3.2 34.9 2.4Z" fill="#FF4949"/>
|
|
7
|
+
<path d="M7.7 6.2H7.9C8.5 6.2 9 6 9.4 5.6C9.7 5.3 9.9 4.8 9.9 4.4V1.8C9.9 1.3 9.7 0.8 9.4 0.5C8.9 0.2 8.4 0 7.9 0H7.7C7.2 0 6.7 0.2 6.3 0.5C6 0.9 5.8 1.3 5.8 1.8V4.3C5.8 4.7 6 5.2 6.3 5.5C6.6 6 7.2 6.2 7.7 6.2Z" fill="#F79B91"/>
|
|
8
|
+
<path d="M18.3 5.9C18.7 6.1 19 6.2 19.4 6.2H19.6C19.9 6.2 20.2 6.1 20.5 6C21.1 5.7 21.5 5 21.5 4.4V1.8C21.5 1.2 21.2 0.7 20.7 0.3C20.4 0.1 20 0 19.6 0H19.4C18.9 0 18.5 0.2 18.1 0.5C17.7 0.8 17.5 1.3 17.5 1.9V4.4C17.4 5 17.7 5.6 18.3 5.9Z" fill="#F79B91"/>
|
|
9
|
+
<path d="M31 6.2H31.2C31.8 6.2 32.3 6 32.7 5.6C33 5.3 33.2 4.8 33.2 4.4V1.8C33.2 1.1 32.8 0.5 32.2 0.2C32.2 0.2 32.1 0.2 32.1 0.1H32C32 0.1 32 0.1 31.9 0.1C31.6 0 31.4 0 31.2 0H31C30.9 0 30.8 0 30.7 0C29.8 0.1 29.1 0.9 29.1 1.8V4.3C29.1 5.4 29.9 6.2 31 6.2Z" fill="#F79B91"/>
|
|
10
|
+
<path d="M28.1 16.3C24.1 11.7 17.1 11.2 12.5 15.2C8.3 18.8 7.5 25 10.5 29.5L8.5 31.3C7.6 31 6.6 31.2 5.9 31.9L0 37V39H6.4L9.5 36.3C10.3 35.6 10.6 34.7 10.5 33.8L12.5 32C16.6 35.5 22.8 35.6 27 32C31.6 27.9 32.1 20.9 28.1 16.3ZM25.5 30.2C21.8 33.4 16.2 33 13.1 29.3C9.9 25.6 10.3 20 14 16.9C17.7 13.7 23.3 14.1 26.4 17.8C29.6 21.5 29.2 27.1 25.5 30.2Z" fill="#FF8C00"/>
|
|
11
|
+
</g>
|
|
12
|
+
<defs>
|
|
13
|
+
<clipPath id="clip0_1959_74">
|
|
14
|
+
<rect width="39" height="39" fill="white"/>
|
|
15
|
+
</clipPath>
|
|
16
|
+
</defs>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_1959_76)">
|
|
3
|
+
<path d="M39 7.1V22.5L38.9 22.3L37 20.5V10.6C37 7.8 34.9 5.5 32.2 5.1C32.2 5 32.2 4.9 32.2 4.8V2.6H34.4C37 2.6 39 4.6 39 7.1Z" fill="#FDE4DA"/>
|
|
4
|
+
<path d="M37 28.1L39 26.1V28.4C39 30 38.2 31.4 37 32.2C37 32.1 37 32 37 31.9V28.1Z" fill="#FDE4DA"/>
|
|
5
|
+
<path d="M25.9 2.6H17.9V4.8C17.9 4.9 17.9 4.9 17.9 5H24C24.1 3.9 24.8 2.9 25.9 2.6Z" fill="#FDE4DA"/>
|
|
6
|
+
<path d="M9.6 5C9.6 3.9 10.4 2.9 11.4 2.6H10.5C8.7 2.6 7.2 3.6 6.4 5.1C6.8 5.1 7.2 5 7.5 5H9.6Z" fill="#FDE4DA"/>
|
|
7
|
+
<path d="M15.3 0C14.4 0 13.6 0.8 13.6 1.7V2.8C14.4 3.2 14.9 4.1 15 5H17C17 4.9 17 4.9 17 4.8V1.7C17 0.8 16.2 0 15.3 0ZM29.7 0C28.8 0 28 0.8 28 1.7V2.8C28.8 3.2 29.3 4.1 29.4 5H31.4C31.4 4.9 31.4 4.9 31.4 4.8V1.7C31.4 0.8 30.7 0 29.7 0Z" fill="#FDE4DA"/>
|
|
8
|
+
<path d="M4.1 7.6C4.2 7.6 4.4 7.6 4.5 7.6H6.6C6.6 7.5 6.6 7.3 6.6 7.2C6.6 7.1 6.6 7.1 6.7 7C6.7 6.9 6.8 6.8 6.8 6.7C6.8 6.6 6.9 6.5 6.9 6.4C7 6.3 7.1 6.1 7.2 6.1C5.9 6.1 4.9 6.7 4.1 7.6Z" fill="#F79B91"/>
|
|
9
|
+
<path d="M14.8 6V7.6H21C21 7.5 21 7.3 21 7.2C21 7.1 21 7 21.1 6.9C21.1 6.8 21.1 6.8 21.2 6.8C21.2 6.7 21.3 6.6 21.3 6.5C21.4 6.4 21.5 6.3 21.5 6.2H14.8V6Z" fill="#F79B91"/>
|
|
10
|
+
<path d="M31.5 6H29.3V7.6H29.4C29.5 7.6 29.6 7.6 29.7 7.7C29.8 7.7 29.9 7.8 30.1 7.8H30.2C30.4 7.8 30.5 7.9 30.7 8C30.9 8.1 31 8.1 31.2 8.2C31.5 8.4 31.8 8.6 32.1 8.8C32.2 8.9 32.4 9.1 32.5 9.2C32.6 9.3 32.7 9.4 32.8 9.5C32.8 9.5 32.8 9.6 32.9 9.6C32.9 9.8 33 9.9 33 10C33 10 33 10 33 10.1C33.1 10.2 33.2 10.4 33.2 10.5C33.2 10.5 33.2 10.5 33.2 10.6C33.3 10.7 33.3 10.9 33.4 11C33.5 11.1 33.5 11.3 33.6 11.4C33.7 11.8 33.8 12.2 33.9 12.6C33.9 12.8 33.9 13 33.9 13.2V18.3C34.4 18.3 34.9 18.5 35.2 18.9L35.9 19.6V10.7C36 8.1 34 6 31.5 6Z" fill="#F79B91"/>
|
|
11
|
+
<path d="M34 31.1V34.4C34 34.6 34 34.8 34 34.9C34 35.1 34 35.2 33.9 35.4C33.9 35.5 33.9 35.6 33.8 35.7C35.1 34.9 36 33.5 36 31.8V29L34 31.1Z" fill="#F79B91"/>
|
|
12
|
+
<path d="M12.3 3.4C11.4 3.4 10.6 4.2 10.6 5.1V5.3C11.4 5.7 11.9 6.6 12 7.5H14V5.1C14 4.2 13.2 3.4 12.3 3.4ZM26.7 3.4C25.8 3.4 25 4.2 25 5.1V5.3C25.8 5.7 26.3 6.6 26.4 7.5H28.4V5.1C28.4 4.2 27.7 3.4 26.7 3.4Z" fill="#F79B91"/>
|
|
13
|
+
<path d="M30.5 34.6C30.2 35.5 29.5 36.2 28.6 36.5L26.5 38.6C26.3 38.8 26.2 38.9 26 39H28.5C31 39 33 37 33 34.4V32.1L30.5 34.6Z" fill="#FF4444"/>
|
|
14
|
+
<path d="M28.5 8.6H26.3V10.8C26.3 12.2 25.2 13.3 23.8 13.3C22.4 13.3 21.3 12.2 21.3 10.8V8.6H11.9V10.8C11.9 12.2 10.8 13.3 9.4 13.3C8 13.3 6.9 12.2 6.9 10.8V8.6H4.5C2 8.6 0 10.6 0 13.1V34.4C0 37 2 39 4.5 39H18.4C18.2 38.6 18.1 38.2 18.2 37.7V37.4L18.3 36.6H5.2C3.7 36.6 2.4 35.4 2.4 33.8V17.9H30.6V20.8L32.6 18.8C32.7 18.7 32.9 18.6 33 18.5V13.1C33 10.6 31 8.6 28.5 8.6Z" fill="#FF4444"/>
|
|
15
|
+
<path d="M23.7 6C22.8 6 22 6.8 22 7.7V10.8C22 11.7 22.8 12.5 23.7 12.5C24.6 12.5 25.4 11.7 25.4 10.8V7.7C25.4 6.8 24.7 6 23.7 6ZM9.3 6C8.4 6 7.6 6.8 7.6 7.7V10.8C7.6 11.7 8.4 12.5 9.3 12.5C10.2 12.5 11 11.7 11 10.8V7.7C11 6.8 10.2 6 9.3 6Z" fill="#FF4444"/>
|
|
16
|
+
<path d="M12.8 24C12.1 23.2 11.1 22.8 9.9 22.8C8.7 22.8 7.7 23.2 7 24C6.3 24.8 5.9 25.9 5.9 27.2C5.9 28.6 6.3 29.6 7 30.4C7.7 31.2 8.7 31.6 9.9 31.6C11.1 31.6 12.1 31.2 12.8 30.4C13.5 29.6 13.9 28.5 13.9 27.2C13.9 25.9 13.5 24.8 12.8 24ZM11.5 29.3C11.1 29.8 10.6 30.1 9.9 30.1C9.2 30.1 8.7 29.8 8.3 29.3C7.9 28.8 7.7 28.1 7.7 27.2C7.7 26.3 7.9 25.6 8.3 25.1C8.7 24.6 9.2 24.3 9.9 24.3C10.6 24.3 11.1 24.6 11.5 25.1C11.9 25.6 12.1 26.3 12.1 27.2C12.1 28.1 11.9 28.8 11.5 29.3Z" fill="#FF4444"/>
|
|
17
|
+
<path d="M20.5 24.6V23.1H15V31.5H16.8V28.2H20.2V26.8H16.8V24.6H20.5Z" fill="#FF4444"/>
|
|
18
|
+
<path d="M21.7 23.1V29.8L24.7 26.8H23.5V24.6H27.2V23.1H21.7Z" fill="#FF4444"/>
|
|
19
|
+
<path d="M38.7 23.6L34.6 19.5C34.4 19.3 34.2 19.2 33.9 19.2C33.8 19.2 33.7 19.2 33.6 19.2C33.5 19.2 33.3 19.3 33.2 19.4L20.3 32.3C20.2 32.4 20.1 32.6 20 32.8L19.8 34.2L19.6 35.5L19.3 37.4L19.2 37.7C19.1 38 19.2 38.3 19.5 38.5C19.6 38.6 19.8 38.7 20 38.8C20.1 38.8 20.1 38.8 20.2 38.8C20.2 38.8 20.3 38.8 20.4 38.8L25.3 38C25.5 38 25.7 37.9 25.8 37.7L38.8 24.8C39 24.6 39.1 24.4 39.1 24.1C39 24.1 38.9 23.8 38.7 23.6ZM34 22.2L36.1 24.3L34.4 26L32.3 23.9L34 22.2ZM24.4 35.9L22.5 36.2L21.9 36.3L22.3 33.8L30.3 25.8L32.4 27.9L24.4 35.9Z" fill="#FF8C00"/>
|
|
20
|
+
</g>
|
|
21
|
+
<defs>
|
|
22
|
+
<clipPath id="clip0_1959_76">
|
|
23
|
+
<rect width="39" height="39" fill="white"/>
|
|
24
|
+
</clipPath>
|
|
25
|
+
</defs>
|
|
26
|
+
</svg>
|
|
@@ -7,7 +7,7 @@ import { boxBorder, overflowHidden, parseHeight, pointerEventsNone, positionRela
|
|
|
7
7
|
import { useTheme } from "../../theme";
|
|
8
8
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
9
9
|
import { classNames, getProp } from "../../utils";
|
|
10
|
-
const AccordionDetails = /*#__PURE__*/memo(
|
|
10
|
+
const AccordionDetails = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
11
11
|
if (!reference) reference = useRef(null);
|
|
12
12
|
const theme = useTheme();
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import { borderRadius, borderRadius4px } from "../../styles/general";
|
|
|
7
7
|
import { useTheme } from "../../theme";
|
|
8
8
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
9
9
|
import { classNames } from "../../utils";
|
|
10
|
-
const AccordionGroup = /*#__PURE__*/memo(
|
|
10
|
+
const AccordionGroup = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
11
11
|
if (!reference) reference = useRef(null);
|
|
12
12
|
const theme = useTheme();
|
|
13
13
|
|
|
@@ -45,7 +45,7 @@ const handleTransition = (timer, el, beginHeight, endHeight = null) => {
|
|
|
45
45
|
el.style.height = endHeight;
|
|
46
46
|
}, duration);
|
|
47
47
|
};
|
|
48
|
-
const Accordion = /*#__PURE__*/memo(
|
|
48
|
+
const Accordion = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
49
49
|
var _ref$current;
|
|
50
50
|
if (!reference) reference = useRef(null);
|
|
51
51
|
const theme = useTheme();
|
|
@@ -9,7 +9,7 @@ import { useTheme } from "../../theme";
|
|
|
9
9
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
10
10
|
import { classNames, getProp } from "../../utils";
|
|
11
11
|
import AccordionContext from "./context";
|
|
12
|
-
const AccordionSummary = /*#__PURE__*/memo(
|
|
12
|
+
const AccordionSummary = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
13
13
|
if (!reference) reference = useRef(null);
|
|
14
14
|
const theme = useTheme();
|
|
15
15
|
const {
|
|
@@ -15,7 +15,7 @@ const primaryTypoMap = new Map([['tiny', 'typography.heading5'], ['small', 'typo
|
|
|
15
15
|
const iconSizeMap = new Map([['tiny', 16], ['small', 20], ['medium', 24]]);
|
|
16
16
|
const linearProgressSizeMap = new Map([['tiny', 2], ['small', 3], ['medium', 4]]);
|
|
17
17
|
const transitionTime = 300;
|
|
18
|
-
const Alert = /*#__PURE__*/memo(
|
|
18
|
+
const Alert = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
19
19
|
if (!reference) reference = useRef(null);
|
|
20
20
|
const theme = useTheme();
|
|
21
21
|
const {
|
|
@@ -27,7 +27,7 @@ const positionHorizontalMap = new Map([['left', css`
|
|
|
27
27
|
`], ['right', css`
|
|
28
28
|
right: 15px;
|
|
29
29
|
`]]);
|
|
30
|
-
const Notify = /*#__PURE__*/memo(
|
|
30
|
+
const Notify = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
31
31
|
if (!reference) reference = useRef(null);
|
|
32
32
|
const theme = useTheme();
|
|
33
33
|
|
|
@@ -22,7 +22,7 @@ const checkFileType = (type, matchType) => {
|
|
|
22
22
|
return new RegExp(matchType).test(type);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const Avatar = /*#__PURE__*/memo(
|
|
25
|
+
const Avatar = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
26
26
|
if (!reference) reference = useRef(null);
|
|
27
27
|
const theme = useTheme();
|
|
28
28
|
|
|
@@ -108,7 +108,7 @@ const Avatar = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) =
|
|
|
108
108
|
!!onRemove && onRemove();
|
|
109
109
|
};
|
|
110
110
|
const renderData = () => {
|
|
111
|
-
if (
|
|
111
|
+
if (/*#__PURE__*/isValidElement(data)) return data;
|
|
112
112
|
const info = Object.keys(data || {});
|
|
113
113
|
if (info !== null && info !== void 0 && info.length) {
|
|
114
114
|
return info.map((key, index) => {
|
|
@@ -57,7 +57,7 @@ const calDotPos = (anchorOrigin, contentDirection, dotSize, hasContent, size) =>
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
const Badge = /*#__PURE__*/memo(
|
|
60
|
+
const Badge = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
61
61
|
if (!reference) reference = useRef(null);
|
|
62
62
|
const theme = useTheme();
|
|
63
63
|
const {
|
|
@@ -14,7 +14,7 @@ import { classNames, getProp } from "../../utils";
|
|
|
14
14
|
const sizeIconMap = new Map([['tiny', 16], ['small', 18], ['medium', 20]]);
|
|
15
15
|
const sizeTypographyPMap = new Map([['tiny', 'p3'], ['small', 'p2'], ['medium', 'p1']]);
|
|
16
16
|
const sizeTypographyHMap = new Map([['tiny', 'h5'], ['small', 'h4'], ['medium', 'h3']]);
|
|
17
|
-
const Breadcrumb = /*#__PURE__*/memo(
|
|
17
|
+
const Breadcrumb = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
18
18
|
if (!reference) reference = useRef(null);
|
|
19
19
|
const theme = useTheme();
|
|
20
20
|
const {
|
|
@@ -48,7 +48,7 @@ const IconLoadingView = iconSize => {
|
|
|
48
48
|
width: parseInt(iconSize)
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
const ButtonIcon = /*#__PURE__*/memo(
|
|
51
|
+
const ButtonIcon = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
52
52
|
var _sizeMap$get, _sizeMap$get2;
|
|
53
53
|
if (!reference) reference = useRef(null);
|
|
54
54
|
const theme = useTheme();
|
|
@@ -55,7 +55,7 @@ const typographySizeMap = new Map([['tiny', 'h5'], ['small', 'h5'], ['medium', '
|
|
|
55
55
|
const minHeightSizeMap = new Map([['tiny', '24px'], ['small', '32px'], ['medium', '40px'], ['large', '48px'], ['giant', '56px']]);
|
|
56
56
|
const minHeightSizeLinkMap = new Map([['tiny', '16px'], ['small', '20px'], ['medium', '24px'], ['large', '32px'], ['giant', '40px']]);
|
|
57
57
|
const alphaLoading = 0.2;
|
|
58
|
-
const Button = /*#__PURE__*/memo(
|
|
58
|
+
const Button = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
59
59
|
var _iconSizeMap;
|
|
60
60
|
if (!reference) reference = useRef(null);
|
|
61
61
|
const theme = useTheme();
|
|
@@ -9,7 +9,7 @@ import { bgColor, borderNone, cursorPointer, displayFlex, flexCol, flexRow, item
|
|
|
9
9
|
import { useTheme } from "../../theme";
|
|
10
10
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
11
11
|
import { classNames, getProp } from "../../utils";
|
|
12
|
-
const ButtonMore = /*#__PURE__*/memo(
|
|
12
|
+
const ButtonMore = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
13
13
|
if (!reference) reference = useRef(null);
|
|
14
14
|
const theme = useTheme();
|
|
15
15
|
|
|
@@ -56,7 +56,7 @@ const ButtonMore = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, referenc
|
|
|
56
56
|
});
|
|
57
57
|
const renderOptions = () => {
|
|
58
58
|
return options.map((item, idx) => {
|
|
59
|
-
if (item !== null && item !== void 0 && item.hidden) return null;else if (
|
|
59
|
+
if (item !== null && item !== void 0 && item.hidden) return null;else if (/*#__PURE__*/isValidElement(item)) return item;else {
|
|
60
60
|
const icon = item === null || item === void 0 ? void 0 : item.icon;
|
|
61
61
|
const label = item === null || item === void 0 ? void 0 : item.label;
|
|
62
62
|
const action = () => {
|
|
@@ -13,7 +13,7 @@ const useDebouncedRippleCleanUp = (rippleCount, duration, cleanUpFunction) => {
|
|
|
13
13
|
return undefined;
|
|
14
14
|
}, [rippleCount, duration, cleanUpFunction]);
|
|
15
15
|
};
|
|
16
|
-
const Ripple = /*#__PURE__*/memo(
|
|
16
|
+
const Ripple = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
17
17
|
duration = 850,
|
|
18
18
|
color = 'system/standard',
|
|
19
19
|
circular = false,
|
package/components/card/body.js
CHANGED
|
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
|
|
7
7
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
8
8
|
import { classNames, refType as ref } from "../../utils";
|
|
9
|
-
const CardBody = /*#__PURE__*/memo(
|
|
9
|
+
const CardBody = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
10
10
|
if (!reference) reference = useRef(null);
|
|
11
11
|
|
|
12
12
|
// props priority: `inProps` > `themeDefaultProps`
|
package/components/card/extra.js
CHANGED
|
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
|
|
7
7
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
8
8
|
import { classNames, refType as ref } from "../../utils";
|
|
9
|
-
const CardExtra = /*#__PURE__*/memo(
|
|
9
|
+
const CardExtra = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
10
10
|
if (!reference) reference = useRef(null);
|
|
11
11
|
|
|
12
12
|
// props priority: `inProps` > `themeDefaultProps`
|
|
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
|
|
7
7
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
8
8
|
import { classNames, refType as ref } from "../../utils";
|
|
9
|
-
const CardFooter = /*#__PURE__*/memo(
|
|
9
|
+
const CardFooter = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
10
10
|
if (!reference) reference = useRef(null);
|
|
11
11
|
|
|
12
12
|
// props priority: `inProps` > `themeDefaultProps`
|
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
|
|
8
8
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
9
9
|
import { classNames, refType as ref } from "../../utils";
|
|
10
|
-
const CardHeader = /*#__PURE__*/memo(
|
|
10
|
+
const CardHeader = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
11
11
|
if (!reference) reference = useRef(null);
|
|
12
12
|
|
|
13
13
|
// props priority: `inProps` > `themeDefaultProps`
|
package/components/card/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { CardBody } from "./body";
|
|
|
12
12
|
import { CardFooter } from "./footer";
|
|
13
13
|
import CardHeader from "./header";
|
|
14
14
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
15
|
-
const Card = /*#__PURE__*/memo(
|
|
15
|
+
const Card = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
16
16
|
if (!reference) reference = useRef(null);
|
|
17
17
|
const theme = useTheme();
|
|
18
18
|
const {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { memo, forwardRef } from 'react';
|
|
5
5
|
import { jsx } from '@emotion/core';
|
|
6
|
-
const Circle = /*#__PURE__*/memo(
|
|
6
|
+
const Circle = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
7
7
|
center,
|
|
8
8
|
color,
|
|
9
9
|
onMouseEnter,
|
|
@@ -4,7 +4,7 @@ import { useRef, memo, forwardRef } from 'react';
|
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
import { jsx, css } from '@emotion/core';
|
|
7
|
-
const Sector = /*#__PURE__*/memo(
|
|
7
|
+
const Sector = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
8
8
|
fill,
|
|
9
9
|
strokeColor,
|
|
10
10
|
strokeLinejoin,
|
|
@@ -7,7 +7,7 @@ import { jsx, css } from '@emotion/core';
|
|
|
7
7
|
import Circle from "./Circle";
|
|
8
8
|
import Sectors from "./Sectors";
|
|
9
9
|
import Sector from "./Sector";
|
|
10
|
-
const PieChart = /*#__PURE__*/memo(
|
|
10
|
+
const PieChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
11
11
|
expandOnHover,
|
|
12
12
|
renderSelectedItem,
|
|
13
13
|
type,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { memo, forwardRef } from 'react';
|
|
5
5
|
import { jsx } from '@emotion/core';
|
|
6
|
-
const Circle = /*#__PURE__*/memo(
|
|
6
|
+
const Circle = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
7
7
|
center,
|
|
8
8
|
color,
|
|
9
9
|
onMouseEnter,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { useRef, memo, forwardRef } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { jsx, css } from '@emotion/core';
|
|
6
|
-
const Sector = /*#__PURE__*/memo(
|
|
6
|
+
const Sector = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
7
7
|
fill,
|
|
8
8
|
strokeColor,
|
|
9
9
|
strokeLinejoin,
|
|
@@ -9,7 +9,7 @@ import { typography } from "../../../styles/typography";
|
|
|
9
9
|
import Circle from "./Circle";
|
|
10
10
|
import Sectors from "./Sectors";
|
|
11
11
|
import Sector from "./Sector";
|
|
12
|
-
const PieChart = /*#__PURE__*/memo(
|
|
12
|
+
const PieChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
13
13
|
expandOnHover,
|
|
14
14
|
renderSelectedItem,
|
|
15
15
|
// type,
|
|
@@ -5,7 +5,7 @@ import { css, jsx } from '@emotion/core';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import Labels from "./Labels";
|
|
7
7
|
import { typography } from "../../../styles/typography";
|
|
8
|
-
const Bars = /*#__PURE__*/memo(
|
|
8
|
+
const Bars = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
9
9
|
// barsOpacity,
|
|
10
10
|
barsMargin,
|
|
11
11
|
barsColor,
|
|
@@ -9,7 +9,7 @@ import Labels from "./Labels";
|
|
|
9
9
|
import Grid from "./Grid";
|
|
10
10
|
import Bars from "./Bar";
|
|
11
11
|
import { randomString } from "../../../utils";
|
|
12
|
-
const BarChart = /*#__PURE__*/memo(
|
|
12
|
+
const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
13
13
|
labelsVisible,
|
|
14
14
|
labelsCharacterWidth,
|
|
15
15
|
labelsCountY,
|
|
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import Labels from "./Labels";
|
|
7
7
|
import { randomString } from "../../../utils";
|
|
8
8
|
import { typography } from "../../../styles/typography";
|
|
9
|
-
const Bars = /*#__PURE__*/memo(
|
|
9
|
+
const Bars = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
10
10
|
// barsOpacity,
|
|
11
11
|
barsMargin,
|
|
12
12
|
barsColor,
|
|
@@ -9,7 +9,7 @@ import Labels from "./Labels";
|
|
|
9
9
|
import Grid from "./Grid";
|
|
10
10
|
import Bars from "./Bar";
|
|
11
11
|
import { randomString } from "../../../utils";
|
|
12
|
-
const BarChart = /*#__PURE__*/memo(
|
|
12
|
+
const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
13
13
|
labelsVisible,
|
|
14
14
|
labelsCharacterWidth,
|
|
15
15
|
labelsCountY,
|
|
@@ -10,7 +10,7 @@ import Points from "./Point";
|
|
|
10
10
|
// import Title from './Title';
|
|
11
11
|
import Path from "./Path";
|
|
12
12
|
import { randomString } from "../../../utils";
|
|
13
|
-
const LineChart = /*#__PURE__*/memo(
|
|
13
|
+
const LineChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
14
14
|
labelsVisible,
|
|
15
15
|
labelsCharacterWidth,
|
|
16
16
|
labelsCountY,
|
|
@@ -10,7 +10,7 @@ import Points from "./Point";
|
|
|
10
10
|
// import Title from './Title';
|
|
11
11
|
import Path from "./Path";
|
|
12
12
|
import { randomString } from "../../../utils";
|
|
13
|
-
const BarChart = /*#__PURE__*/memo(
|
|
13
|
+
const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
14
14
|
labelsVisible,
|
|
15
15
|
labelsCharacterWidth,
|
|
16
16
|
labelsCountY,
|
package/components/chip/index.js
CHANGED
|
@@ -15,7 +15,7 @@ const iconSizeMap = new Map([['small', `16px`], ['medium', `20px`], ['large', `2
|
|
|
15
15
|
const typographySizeMap = new Map([['small', 'p3'], ['medium', 'p2'], ['large', 'p1']]);
|
|
16
16
|
const paddingSizeMap = new Map([['small', `0px 6px`], ['medium', `0px 8px`], ['large', `0px 10px`]]);
|
|
17
17
|
const minHeightSizeMap = new Map([['small', `20px`], ['medium', `24px`], ['large', `28px`]]);
|
|
18
|
-
const Chip = /*#__PURE__*/memo(
|
|
18
|
+
const Chip = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
19
19
|
if (!reference) reference = useRef(null);
|
|
20
20
|
const theme = useTheme();
|
|
21
21
|
const {
|
|
@@ -4,7 +4,7 @@ import { css, jsx } from '@emotion/core';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { forwardRef, memo, useEffect, useImperativeHandle, useMemo, useRef } from 'react';
|
|
6
6
|
import { displayBlock, parseWidthHeight, positionRelative } from "../../styles/general";
|
|
7
|
-
const Collapse = /*#__PURE__*/memo(
|
|
7
|
+
const Collapse = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
8
8
|
children,
|
|
9
9
|
className,
|
|
10
10
|
id,
|
|
@@ -8,7 +8,7 @@ import { bgColor, borderNone, flexShrink0, parseWidthHeight } from "../../styles
|
|
|
8
8
|
import { useTheme } from "../../theme";
|
|
9
9
|
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
10
10
|
import { classNames, getProp } from "../../utils";
|
|
11
|
-
const Divider = /*#__PURE__*/memo(
|
|
11
|
+
const Divider = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
12
12
|
if (!reference) reference = useRef(null);
|
|
13
13
|
const theme = useTheme();
|
|
14
14
|
const {
|
|
@@ -127,7 +127,7 @@ const handleDownload = (url, name, onDownload) => {
|
|
|
127
127
|
const divideSizeMap = new Map([['B', 1], ['KB', 1024], ['MB', 1024 ** 2], ['GB', 1024 ** 3], ['TB', 1024 ** 4]]);
|
|
128
128
|
const viewTypeIconMap = new Map([['detail', 'ListView'], ['icon', 'IconView'], ['picture', 'ModuleView']]);
|
|
129
129
|
const viewTypeSwitchMap = new Map([['detail', 'icon'], ['icon', 'picture'], ['picture', 'detail']]);
|
|
130
|
-
const Attachment = /*#__PURE__*/memo(
|
|
130
|
+
const Attachment = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
131
131
|
if (!reference) reference = useRef(null);
|
|
132
132
|
const theme = useTheme();
|
|
133
133
|
const {
|
|
@@ -652,7 +652,7 @@ const renderNavigator = (className, refs, dbLeftFn, leftFn, rightFn, dbRightFn,
|
|
|
652
652
|
color: 'primary',
|
|
653
653
|
type: 'h3',
|
|
654
654
|
ref: refs.content,
|
|
655
|
-
format: ['
|
|
655
|
+
format: ['sentence']
|
|
656
656
|
}))), jsx("div", {
|
|
657
657
|
className: className.navigator.around
|
|
658
658
|
}, jsx(ButtonIcon, {
|
|
@@ -7,7 +7,7 @@ import { useTheme } from "../../../theme";
|
|
|
7
7
|
import useThemeProps from "../../../theme/utils/useThemeProps";
|
|
8
8
|
import { classNames, date as moment } from "../../../utils";
|
|
9
9
|
import { generateCalendarCSS, isAfterLimit, isBeforeLimit, isValidDate, onUpdateCalendar, renderHeader, renderNavigator } from "./function";
|
|
10
|
-
const Calendar = /*#__PURE__*/memo(
|
|
10
|
+
const Calendar = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
11
11
|
var _zoomLevel$get, _zoomLevel$get2;
|
|
12
12
|
if (!reference) reference = useRef(null);
|
|
13
13
|
const theme = useTheme();
|
|
@@ -226,7 +226,7 @@ const Calendar = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference)
|
|
|
226
226
|
* START EFFECT
|
|
227
227
|
*/
|
|
228
228
|
useEffect(() => {
|
|
229
|
-
if (defaultValue && defaultValue !== '' && isValidDate(defaultValue)) {
|
|
229
|
+
if (defaultValue && defaultValue !== '' && isValidDate(defaultValue) && !value) {
|
|
230
230
|
if (isBeforeLimit(min, defaultValue)) {
|
|
231
231
|
onUpdate(min);
|
|
232
232
|
} else if (isAfterLimit(max, defaultValue)) {
|
|
@@ -9,7 +9,7 @@ import { useTheme } from "../../../theme";
|
|
|
9
9
|
import useThemeProps from "../../../theme/utils/useThemeProps";
|
|
10
10
|
import { getProp } from "../../../utils";
|
|
11
11
|
import { generateCalendarCSS, isValidDate, onUpdateCalendar, renderHeader, renderNavigator } from "./function";
|
|
12
|
-
const CalendarRange = /*#__PURE__*/memo(
|
|
12
|
+
const CalendarRange = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
13
13
|
if (!reference) reference = useRef(null);
|
|
14
14
|
const theme = useTheme();
|
|
15
15
|
const {
|
|
@@ -9,7 +9,7 @@ import { useTheme } from "../../../theme";
|
|
|
9
9
|
import useThemeProps from "../../../theme/utils/useThemeProps";
|
|
10
10
|
import { classNames, getProp, randomString, refType as ref } from "../../../utils";
|
|
11
11
|
const padding = 0.75;
|
|
12
|
-
const Checkbox = /*#__PURE__*/memo(
|
|
12
|
+
const Checkbox = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
13
13
|
if (!reference) reference = useRef(null);
|
|
14
14
|
|
|
15
15
|
// props priority: `inProps` > `themeDefaultProps`
|
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import { displayBlock, pointerEventsNone, positionRelative, textColor, userSelectNone } from "../../../styles/general";
|
|
8
8
|
import { getProp } from "../../../utils";
|
|
9
9
|
import { useTheme } from "../../../theme";
|
|
10
|
-
const Control = /*#__PURE__*/memo(
|
|
10
|
+
const Control = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
11
11
|
children,
|
|
12
12
|
className,
|
|
13
13
|
disabled,
|
|
@@ -14,7 +14,7 @@ import useDateInputState from "./useDateInputState";
|
|
|
14
14
|
import useIsFocused from "./useIsFocused";
|
|
15
15
|
import useKeyboardInputEvent from "./useKeyboardInputEvent";
|
|
16
16
|
import { getInputSelectedState, isFieldFullValue, useEventCallback, useInputSelection, validateDateTime } from "./utils";
|
|
17
|
-
const DateInput = /*#__PURE__*/memo(
|
|
17
|
+
const DateInput = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
18
18
|
if (!reference) reference = useRef(null);
|
|
19
19
|
|
|
20
20
|
// props priority: `inProps` > `themeDefaultProps`
|
|
@@ -28,7 +28,7 @@ const parseValueToDate = valueProp => {
|
|
|
28
28
|
if (valueProp === '') return null;
|
|
29
29
|
return isValidDate(valueProp) ? new Date(valueProp) : valueProp;
|
|
30
30
|
};
|
|
31
|
-
const DatePicker = /*#__PURE__*/memo(
|
|
31
|
+
const DatePicker = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
32
32
|
var _ref, _pickerReturnFormat$g, _ipRef$current, _ipRef$current2;
|
|
33
33
|
if (!reference) reference = useRef(null);
|
|
34
34
|
const theme = useTheme();
|
|
@@ -65,7 +65,7 @@ const isAfter = (max, time) => {
|
|
|
65
65
|
const parseDate = day => {
|
|
66
66
|
return Date.parse(new Date(day));
|
|
67
67
|
};
|
|
68
|
-
const DateRangePicker = /*#__PURE__*/memo(
|
|
68
|
+
const DateRangePicker = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
69
69
|
// props priority: `inProps` > `themeDefaultProps`
|
|
70
70
|
const props = useThemeProps({
|
|
71
71
|
props: inProps,
|